Water heater and control method and device thereof
By obtaining the total load power on the power supply branch and adjusting the heating power of the water heater using the power-voltage relationship, the problem of excessive power consumption of the power supply branch caused by high-power electric water heaters is solved, and the safety performance of electricity is improved, and the air switch tripping and circuitry is prevented. Damage.
Patent Information
- Application Number
- CN202310713826.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-14
- Publication Date
- 2024-12-17
AI Technical Summary
When heated, high-power electric water heaters may cause excessive power to supply branches, causing air switch trips or lines to burn, posing a high risk of power safety.
By obtaining the total load power on the power supply branch, the heating power of the water heater is adaptively adjusted using the power-voltage relationship to make it less than the preset protection power, and preventing the load of the power supply branch from being too high.
It effectively improves the power safety performance of the water heater, prevents air switches from operating and line damage, and ensures the safe operation of the power supply branch.
Smart Images

Figure CN119146594A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water heaters, and in particular to a water heater and a control method and a control device thereof. Background Art
[0002] With the demand of users for fast heating and large water volume bathing, high-power electric water heaters are becoming more and more popular. However, when working, especially when heating, the working power of high-power electric water heaters is high. If multiple other electrical devices on the same power supply branch are in working state, it may cause the air switch to trip, causing all electrical devices to stop working. If the current air switch is not successfully started, the excessive power consumption on the power supply branch may cause the line to burn out, or even cause fire and other dangerous situations, which has a high potential safety hazard of electricity use. Summary of the invention
[0003] The main purpose of the present invention is to provide a water heater control method, aiming to improve the electrical safety performance of the water heater.
[0004] To achieve the above object, the present invention proposes a water heater control method, the water heater control method comprising:
[0005] The water heater obtains the total load power on the power supply branch electrically connected to itself; and,
[0006] According to the total load power, the heating power of the water heater is controlled so that the total load power on the power supply branch is less than the preset protection power.
[0007] Optionally, the step of the water heater obtaining the total load power on the power supply branch electrically connected to the water heater itself includes:
[0008] Obtain the real-time voltage and reference voltage on the power supply branch;
[0009] The total load power on the current power supply branch is determined according to the real-time voltage, the reference voltage and the power-voltage relationship.
[0010] Optionally, the step of obtaining a reference voltage includes:
[0011] Starting a first timing, and sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages;
[0012] When the first timing duration is less than the preset sampling duration, the plurality of sampled voltages are processed according to a preset first strategy to obtain the reference voltage;
[0013] When the first timing duration reaches the preset sampling duration, the plurality of sampled voltages are processed according to a preset second strategy to obtain the reference voltage.
[0014] Optionally, the step of sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages further includes:
[0015] When the difference between any of the sampled voltages and any of the other sampled voltages is greater than a preset change value;
[0016] The plurality of sampled voltages are subjected to Fourier transformation to determine whether each of the current sampled voltages is an abnormal voltage.
[0017] Optionally, the step of processing the plurality of sampled voltages according to a preset first strategy to obtain the reference voltage includes:
[0018] The maximum value among the plurality of sampled voltages is used as the reference voltage.
[0019] Optionally, the step of confirming the reference voltage according to a preset second strategy based on the plurality of sampled voltages includes:
[0020] The plurality of sampled voltages are grouped according to a preset allocation strategy to obtain a plurality of sampled voltage groups, and corresponding weighting coefficients are configured according to the number of sampled voltages in each sampled voltage group, wherein the preset allocation strategy is: the sampled voltages whose voltage difference between each other is less than the preset voltage difference are grouped as one group, and the sampled voltages whose voltage difference with any other sampled voltage is greater than the preset voltage difference are grouped as one group;
[0021] When the sampling voltage group includes only one sampling voltage, the sampling voltage is determined as the target voltage of the sampling voltage group;
[0022] When the sampling voltage group includes a plurality of the sampling voltages, an average value of the plurality of the sampling voltages is used as the target voltage of the sampling voltage group;
[0023] The reference voltage is calculated by weighting according to weight coefficients of the plurality of sampling voltage groups and a target voltage corresponding to each group.
[0024] Optionally, before the step of obtaining the real-time voltage and the reference voltage on the power supply branch, the step of the water heater obtaining the total load power on the power supply branch electrically connected to the water heater itself further includes:
[0025] Obtain the power supply voltage on the power supply branch;
[0026] When the water heater receives the heating power change signal, the heating power of the water heater is adjusted from the current power to the adjusted power corresponding to the heating power change signal;
[0027] Subtracting the supply voltage when the heating power is the current power from the supply voltage when the heating power is the adjusted power to obtain a voltage change value;
[0028] Subtracting the current power from the adjusted power to obtain a power change value, generating a set of learning parameters from the corresponding voltage change value and the power change value and storing the set of learning parameters;
[0029] The power-voltage relationship is determined based on at least one set of the stored learning parameters.
[0030] Optionally, the power-voltage relationship is specifically: W=k*V; wherein W is the load power, V is the change value corresponding to the voltage on the power supply branch, and k is the power-voltage coefficient;
[0031] The step of determining the power-voltage relationship according to at least one set of the stored learning parameters comprises:
[0032] Dividing the voltage change value in each group of the learning parameters by the power change value to obtain a plurality of first calculated values;
[0033] When the number of the learning parameters is less than a preset number, processing the plurality of the first calculated values according to a preset first calculation strategy to obtain the power-voltage coefficient;
[0034] When the number of the learning parameters reaches a preset number, a plurality of the first calculated values are processed according to a preset second calculation strategy to obtain the power-voltage coefficient.
[0035] Optionally, the step of processing the plurality of first calculated values according to a preset first calculation strategy to obtain the power-voltage coefficient includes:
[0036] An average value is calculated for a plurality of the first calculated values to obtain the power-voltage coefficient.
[0037] Optionally, the step of processing the plurality of first calculated values according to a preset second calculation strategy to obtain the power-voltage coefficient includes:
[0038] Arrange the plurality of first calculated values from largest to smallest, and use the median value thereof as the power-voltage coefficient.
[0039] Optionally, controlling the heating power of the water heater according to the total load power so that the total load power on the power supply branch is less than a preset protection power includes:
[0040] When the total load power is greater than the preset power threshold, the heating power of the water heater is controlled to be the preset first heating power, and the sum of the total load power and the preset first heating power is less than the preset protection power;
[0041] When the total load power is less than or equal to the preset power threshold, the heating power of the water heater is controlled to be the preset second heating power, and the sum of the total load power and the preset second heating power is less than the preset protection power;
[0042] Among them, the preset power consumption threshold is smaller than the preset protection power, and the preset second heating power is larger than the preset first heating power.
[0043] Optionally, when the total load power is less than or equal to the preset power threshold, the step of controlling the heating power of the water heater to be a preset second heating power includes:
[0044] When the duration during which the total load power is less than or equal to the preset power consumption threshold reaches a preset first duration, the heating power of the water heater is controlled to be a preset second heating power.
[0045] Optionally, when the total load power is greater than the preset power threshold, the step of controlling the heating power of the water heater to be a preset first heating power further includes:
[0046] When the water heater receives the power limit cancellation signal, the water heater controls the heating power of the water heater to switch from the preset first heating power to the preset second heating power.
[0047] Optionally, the step of controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power includes:
[0048] Starting a second timing, and controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power;
[0049] When the second timing duration reaches the preset second duration, the heating power of the water heater is controlled to switch from the preset second heating power to the preset first heating power.
[0050] Optionally, the step of controlling the heating power of the water heater according to the total load power and the preset power threshold includes:
[0051] According to the power-voltage relationship and the preset power consumption value, determine the change value of the voltage on the power supply branch when the total load power on the power supply branch is the preset power consumption value;
[0052] Calculate the difference between the reference voltage and the change value to obtain a first voltage difference;
[0053] When the real-time voltage is less than the first voltage difference, controlling the heating power of the water heater to be a preset first heating power;
[0054] When the real-time voltage is greater than or equal to the first voltage difference, controlling the heating power of the water heater to be a preset second heating power;
[0055] Among them, the sum of the total load power and the preset first heating power is less than the preset protection power, the sum of the total load power and the preset second heating power is less than the preset protection power, the preset second heating power is greater than the preset first heating power, and the preset power consumption threshold is less than the preset protection power.
[0056] Optionally, the step of obtaining a preset power consumption threshold includes:
[0057] Obtain the rated current setting value transmitted from the external terminal;
[0058] The preset power consumption threshold is obtained according to the rated current setting value and the preset power threshold calculation formula.
[0059] The present invention also provides a control device, comprising:
[0060] Memory;
[0061] processor; and,
[0062] A water heater control program stored in the memory and executed by the processor, wherein when the water heater control program is executed by the processor, the water heater control program implements any of the water heater control methods described above.
[0063] The present invention also provides a water heater, comprising:
[0064] a voltage sampling circuit, the voltage sampling circuit being used to detect the voltage on a power supply branch electrically connected to the water heater; and
[0065] As described above, the control device is electrically connected to the voltage sampling circuit.
[0066] In the water heater control method of the present invention, the water heater first obtains the total load power and the preset power threshold value on the power supply branch electrically connected to itself, and then controls the heating power of the water heater according to the total load power and the preset power threshold value. In this way, through the above settings, the water heater of the present invention can adaptively adjust the heating power of the water heater according to the existing total load power on the current power supply branch, thereby preventing the air switch from operating or the line from being damaged due to the excessive total load power on the power supply branch, and effectively improving the power safety performance of the water heater. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0068] Figure 1 A schematic diagram of a flow chart of an embodiment of a water heater control method of the present invention;
[0069] Figure 2 A schematic diagram of a flow chart of another embodiment of a water heater control method of the present invention;
[0070] Figure 3 A schematic flow chart of another embodiment of a water heater control method of the present invention;
[0071] Figure 4 A schematic flow chart of another embodiment of a water heater control method of the present invention;
[0072] Figure 5 It is a flow chart of another embodiment of the water heater control method of the present invention;
[0073] Figure 6 It is a flow chart of another embodiment of the water heater control method of the present invention.
[0074] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0075] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0076] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0077] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0078] With the demand of users for fast heating and large water volume bathing, high-power electric water heaters are becoming more and more popular. However, when working, especially when heating, the working power of high-power electric water heaters is high. If multiple other electrical devices on the same power supply branch are in working state, it may cause the air switch to trip, causing all electrical devices to stop working. If the current air switch is not successfully started, the excessive power consumption on the power supply branch may cause the line to burn out, or even cause fire and other dangerous situations, which has a high potential safety hazard of electricity use.
[0079] To this end, the present invention proposes a water heater control method. It is understandable that a control device is provided in the water heater, and a memory for storing the following control method and a processor for executing the following control method are integrated in the control device. Among them, the control device can be implemented by a main controller, such as MCU, DSP (Digital Signal Process, digital signal processing chip), FPGA (Field Programmable Gate Array, programmable logic gate array chip), PLC, SOC (System On Chip, system-level chip), etc.
[0080] refer to Figure 1 In one embodiment of the present invention, the water heater control method includes:
[0081] Step S100: The water heater obtains the total load power on the power supply branch electrically connected to itself;
[0082] In this embodiment, optionally, an intelligent switch, such as an intelligent air switch, can be provided on the power supply branch or the power supply trunk line serving as the power supply line. The intelligent switch can detect the total load power on the power supply branch where it is located, that is, the power sum of all loads on the current power supply branch. The control device can be connected to the intelligent switch on the power supply branch to which the water heater is electrically connected to realize data transmission with the intelligent switch, and then obtain the total load power on the current power supply branch from the intelligent switch; or it can be connected to the intelligent switch on the power supply trunk line to obtain the total load power on the power supply branch to which the water heater is electrically connected from the intelligent switch. Optionally, a sampling component for detecting the voltage and current on the current power supply branch can also be provided in the water heater, and the control device can calculate the total load power on the current power supply branch based on the voltage result and current result obtained by sampling and feedback of the sampling component.
[0083] Step S200: Control the heating power of the water heater according to the total load power so that the total load power on the power supply branch is less than the preset protection power.
[0084] It is understandable that the preset protection power can be the maximum power that can be tolerated on the current power supply branch, or the protection threshold at which the switch on the power supply branch, such as an air switch, is triggered. In other words, when the power on the power supply branch is less than the preset protection power, the electrical equipment connected to the power supply branch will be in normal working condition, and the power supply branch itself will be in a safe state. If the power on the power supply branch reaches the preset protection power, the air switch on the power supply branch will be triggered, causing the electrical equipment connected to the power supply branch to be powered off, or the line on the power supply branch will be at risk of burning due to excessive load power during the current period of time.
[0085] In this embodiment, the preset protection power can be preset in the control device by R&D personnel in advance, or set by the user as required, or the control device communicates with the smart switch on the power supply branch to obtain the preset protection power that can currently trigger the smart switch to perform a tripping protection action.
[0086] Optionally, before the control device needs to control the water heater to start heating, it can calculate the difference between the total load power on the current power supply branch and the preset protection power, and then control the water heater to perform heating with a heating power less than or equal to the difference. For example, the current control device is preset with redundant power set by R&D personnel, and the heating component will be controlled to work according to the power of the difference minus the redundant power, or the control device is preset with multiple heating power gears, and the control device will select the power corresponding to the heating power gear that is less than the difference and closest to the difference according to the current difference as the final heating power, and control the heating component to work according to the heating power.
[0087] Optionally, when the control device is powered on, the control device can start to obtain the total load power on the current power supply branch once every preset time interval, and generate the power consumption of the power supply branch in different time periods by learning the data obtained multiple times. And according to the power consumption of the power supply branch, during the period when the total load power on the power supply branch is low, for example, during the period below a certain set threshold, the heating component can be controlled to start working at a higher power to ensure the rapid increase of the water temperature in the tank, and during the period when the total load power on the power supply branch is high, the heating component can be controlled to work at a lower power, so as to ensure that the current total load power on the power supply branch is less than the preset protection power while achieving the insulation of the water in the tank, thereby preventing the total load power on the entire power supply branch from being too high, causing the air switch to operate, or the line to be damaged.
[0088] In the water heater control method of the present invention, the water heater first obtains the total load power and the preset power threshold value on the power supply branch electrically connected to itself, and then controls the heating power of the water heater according to the total load power and the preset power threshold value. In this way, through the above settings, the water heater of the present invention can adaptively adjust the heating power of the water heater according to the existing total load power on the current power supply branch, thereby preventing the air switch from operating or the line from being damaged due to the excessive total load power on the power supply branch, and effectively improving the power safety performance of the water heater.
[0089] In one embodiment of the present invention, reference Figure 2 The step of obtaining the total load power on the power supply branch electrically connected to the water heater comprises:
[0090] Step S110, obtaining the real-time voltage and reference voltage on the power supply branch;
[0091] Step S120: Determine the total load power on the current power supply branch according to the real-time voltage, the reference voltage and the power-voltage relationship.
[0092] It should be noted that in the actual power usage environment, due to the impedance of the power supply branch itself and the connection impedance at the connection, when any load connected to the power supply branch starts to work, the actual voltage provided by the power supply branch, that is, the voltage provided to the load side, will be pulled down (because part of the voltage drop is distributed to the line impedance and the connection impedance).
[0093] In this embodiment, optionally, a voltage sampling module for sampling the voltage on the current power supply branch may be provided in the water heater. The voltage sampling module may be implemented by a voltage detection circuit composed of a transformer, a rectifier circuit and a voltage divider circuit. The control device may detect the voltage value of the voltage signal output by the voltage divider circuit through an ADC module integrated therein, and calculate the voltage value on the current power supply branch, i.e., the real-time voltage, according to a calculation formula preset by the R&D personnel. In addition, the voltage sampling module may also be implemented directly by a voltage detection chip.
[0094] It is understandable that in the process of sampling the voltage of the power supply branch by the voltage sampling module, the sampling result will be output to the control device once every certain time interval according to a certain sampling frequency. If the control device finds that the voltage on the power supply branch at a certain moment has changed more than the preset change amount (preset by the R&D personnel) within a certain time (preset by the R&D personnel) based on multiple sampling results, then the voltage curve formed by the sampling results in this time period will be Fourier transformed to confirm whether the change in each harmonic voltage is due to external power supply, that is, power grid fluctuations. If so, the changed voltage will not be used as the actual required voltage. In this way, the accuracy of the water heater in obtaining the power supply branch voltage is effectively improved.
[0095] Optionally, the control device in the water heater may also directly communicate with the smart switch on the power supply branch in the above embodiment to obtain the real-time voltage on the current power supply branch from the smart switch.
[0096] It is understandable that, in this embodiment, the reference voltage can be considered as the voltage of the current power supply branch when it is in a no-load state, or the voltage that has been maintained on the current power supply branch for a long time and is higher than a certain voltage value. Optionally, in one embodiment, the control device can directly call the reference voltage set and stored in advance by the user or the R&D personnel, such as 220V, or the control device can communicate with the smart switch in the above embodiment to obtain the reference voltage of the power supply branch currently stored therein.
[0097] Optionally, refer to Figure 3 In another embodiment, the step of obtaining the reference voltage includes:
[0098] Step S111, starting a first timing, and sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages;
[0099] In this embodiment, the control device can start the first timing through the internal integrated timer or the pre-stored timing software when the power is first turned on, and start sampling the voltage on the power supply branch. Optionally, the control device can sample the voltage on the power supply branch once in the manner of the above embodiment at a fixed preset time interval, for example, the voltage on the current power supply branch is sampled once every 20 minutes, and each sampling can continuously obtain multiple data, and the multiple data are subjected to median filtering or averaging calculation to obtain the sampling result of this sampling, and multiple sampling results are obtained after multiple repetitions. Optionally, the control device may first sample the voltage on the power supply branch once at preset intervals according to the above-mentioned embodiment, and then, when the first timing reaches a certain length of time, for example, 24 hours, form a voltage-time distribution diagram corresponding to the power supply branch according to the result of each sampling and the sampling time (which can be provided by an internal clock, or the current time can be obtained from an external terminal). Subsequently, the control device will select the time periods in the distribution diagram where the moments are continuous and the voltage corresponding to each moment is higher than a preset sampling threshold (which can be set in advance by R&D personnel or users), for example, 200V, and the difference between the voltages corresponding to any two moments is less than a preset voltage difference. For example, based on the fact that the sampling voltage corresponding to each moment in the current time period between 9 o'clock and 15 o'clock has reached the preset sampling threshold and the voltage difference between any two sampling voltages is less than the preset voltage difference, for example, 10V, and set the time period as a low-peak time period, and increase the number of sampling times in the low-peak time period in subsequent sampling processes. It is understandable that the environment where the water heater is located is mostly a home environment. When the user is away from home, the total load power on the power supply branch will drop significantly, that is, the voltage on the current power supply branch is closer to the no-load voltage of the power supply branch. Therefore, through the above-mentioned identification of the sampling time period and adjusting the number of sampling times in different time periods according to the identification results, the accuracy of determining the reference voltage can be effectively improved, so that the reference voltage can be more in line with the maximum voltage that the power supply branch can provide under normal conditions, thereby ensuring the accuracy of the subsequent total load power calculation.
[0100] It can be understood that, in combination with the above content, in one embodiment, the step of sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages also includes:
[0101] When the difference between any sampled voltage and any other sampled voltage is greater than a preset change value, the plurality of sampled voltages are subjected to Fourier transformation to determine whether each current sampled voltage is an abnormal voltage.
[0102] In the process of obtaining multiple sampled voltages, each sampled voltage will be compared with at least one sampled voltage sampled before and after it. If the value of a certain sampled voltage is different from the difference of any sampled voltage, that is, the change value is greater than the preset change value. Then, the control device will perform Fourier transform on multiple sampled voltages to confirm whether the large change is due to external power supply, that is, grid fluctuation. If so, the sampled voltage with a large change will be determined as an abnormal voltage and deleted. Among them, the multiple sampled voltages can be all the sampled voltages sampled this time, or they can be multiple sampled voltages within a period of time before and after the current sampled voltage with a large change. In this way, the accuracy of the water heater in obtaining the power supply branch voltage is effectively improved.
[0103] Step S112: when the first timing duration is less than the preset sampling duration, the plurality of sampled voltages are processed according to the preset first strategy to obtain a reference voltage;
[0104] In this embodiment, the preset sampling time can be set by the R&D personnel or the user, for example, to 24 hours.
[0105] Specifically, in one embodiment, the step of processing a plurality of sampled voltages according to a preset first strategy to obtain a reference voltage includes: taking the maximum value of the plurality of sampled voltages as the reference voltage. Among them, the control device can sort the plurality of sampled voltages from large to small, and take the maximum value thereof as the reference voltage. Alternatively, each sampled voltage is compared with other sampled voltages, and a sampled voltage higher than any other sampled voltage is taken as the reference voltage. It can be understood that, from the above content, the reference voltage can be considered as the voltage of the current power supply branch when it is in a no-load state, or the voltage maintained for a long time on the current power supply branch and higher than a certain voltage value, so the total sampling time is short, that is, when the duration of the first timing is less than the preset sampling duration, the maximum value obtained by the current sampling can be taken as the reference voltage required at present. Optionally, in another embodiment, a reference voltage threshold can be preset in advance by the R&D personnel in the control device. After obtaining a plurality of sampled voltages, the sampled voltages higher than the reference voltage threshold among the plurality of sampled voltages will be called out and averaged to obtain the final reference voltage.
[0106] In addition, it should be understood that in the actual environment where water heaters are often installed, such as a home environment, there are often other common electrical appliances, such as refrigerators, freezers, smart mirrors, air conditioners, etc. Therefore, in actual applications, the control device cannot use the occasional maximum voltage sampling result as the reference voltage, which may result in the subsequent calculation of the total load power. The value of the total load power may be calculated too low, which will lead to the risk of setting the heating power too high.
[0107] To this end, in step S113, when the first timing duration reaches the preset sampling duration, the plurality of sampled voltages are processed according to the preset second strategy to obtain a reference voltage.
[0108] When the first timing duration reaches the preset sampling duration, for example, greater than 24 hours, it means that the control device has sampled the voltage on the power supply branch at different time periods throughout the day.
[0109] Optionally, in one embodiment, the control device may calculate the average value of multiple sampled voltage values as the reference voltage, or remove the maximum and minimum values therein and then perform average calculation, and confirm the calculated result as the reference voltage.
[0110] Optionally, in one embodiment, the control device may also sort the multiple sampled voltages from large to small, and use the median as the reference voltage.
[0111] Optionally, in another embodiment, the step of confirming the reference voltage according to a preset second strategy based on the multiple sampled voltages includes:
[0112] The plurality of sampled voltages are grouped according to a preset allocation strategy to obtain a plurality of sampled voltage groups, and corresponding weighting coefficients are configured according to the number of sampled voltages in each sampled voltage group, wherein the preset allocation strategy is: the plurality of sampled voltages whose voltage difference between each other is less than the preset voltage difference are grouped as one group, and the plurality of sampled voltages whose voltage difference with any other sampled voltage is greater than the preset voltage difference are grouped as one group alone;
[0113] When the sampling voltage group contains only one sampling voltage, the sampling voltage is determined as the target voltage of the sampling voltage group;
[0114] When the sampling voltage group includes multiple sampling voltages, the average value of the multiple sampling voltages is used as the target voltage of the sampling voltage group;
[0115] The reference voltage is calculated by weighting according to the weight coefficients of the plurality of sampling voltage groups and the target voltage corresponding to each group.
[0116] In this embodiment, the control device will first arrange multiple sampling results from large to small, and group them according to the above-mentioned preset allocation strategy. Specifically, taking the preset voltage difference of 5V as an example, and the sampling results including 150V, 170V, 210V, 212V, 220V, and 224V as an example, according to the above-mentioned preset allocation strategy, it will be divided into four sampling voltage groups, ABCD, namely, sampling voltage group A including 150V, sampling voltage group B including 170V, sampling voltage group C including 210V and 211V, and sampling voltage group D including 220V and 224. Then the target voltage of group A is 150V, and the weighting coefficient is 1; the target voltage of group B is 170V, and the weighting coefficient is 1; the target voltage of group C is 221V, and the weighting coefficient is 2; the target voltage of group D is 222V, and the weighting coefficient is 2. Then, according to the target voltage and weighting coefficient of each sampling voltage group, the result of weighted calculation is 200.9V, and the control device will finally use 200.9V as the reference voltage. In this way, through the above settings, the set reference voltage can be more in line with the voltage state of the power supply branch in most cases, effectively improving the accuracy of determining the reference voltage, thereby ensuring the accuracy of subsequent total load power calculation and the safety performance of water heater electricity use, thereby improving the accuracy and reliability of controlling the heating power according to the total load power.
[0117] It is understandable that, in combination with the above embodiment, the control device can also calculate the reference voltage according to the voltage-time distribution diagram obtained in the above embodiment only for multiple sampled voltages at the low-peak time in the manner of the above embodiment. In this way, not only can the reference voltage be more closely matched to the voltage state of the power supply branch in most cases, but also the reference voltage obtained in the above embodiment is higher, so that the heating power of the subsequent water heater can be as high as possible, thereby meeting the user's demand for hot water.
[0118] In this embodiment, the power-voltage relationship is characterized by a mapping relationship between the total load power on the power supply branch and the voltage change of the power supply branch under the current total load power. That is, the voltage difference between the real-time voltage and the reference voltage is substituted into the above relationship to determine the total load power on the current power supply branch.
[0119] Optionally, in one embodiment, the power-voltage relationship can be preset in the control device by the R&D personnel, or can be preset in advance by the user. In this way, the control device can subtract the currently acquired real-time voltage from the reference voltage acquired in the above embodiment, and substitute the result of the subtraction into the power-voltage relationship, so as to obtain the total load power on the current power supply branch.
[0120] In addition, it should be understood that in actual applications, the power supply branches electrically connected to different water heaters have certain differences due to the setting location and setting environment. For example, in different setting environments, the line resistance and connection impedance of the line on the power supply branch electrically connected to the water heater are different. Therefore, if the power-voltage relationship is only set in advance by the R&D personnel, it is inevitable that a customized design cannot be made for the power supply branch of the setting environment where each water heater is located. If it is set by the user himself, the process of obtaining the formula requires corresponding data measurement of the power supply branch set in the wall, which requires more professional electrician skills and has certain safety hazards, which is difficult for ordinary users to achieve.
[0121] To this end, in another embodiment, reference Figure 4 Before the step of obtaining the real-time voltage and the reference voltage on the power supply branch, the step of obtaining the total load power on the power supply branch electrically connected to the water heater itself also includes:
[0122] Step S130, obtaining the power supply voltage on the power supply branch;
[0123] Step S140: when the water heater receives the heating power change signal, the heating power of the water heater is adjusted from the current power to the adjusted power corresponding to the heating power change signal;
[0124] Step S150, subtracting the supply voltage when the heating power is the current power from the supply voltage when the heating power is the adjusted power to obtain a voltage change value;
[0125] Step S160, subtract the current power from the adjusted power to obtain a power change value, generate a set of learning parameters from the corresponding voltage change value and power change value and store them;
[0126] Step S170: Determine a power-voltage relationship according to at least one set of stored learning parameters.
[0127] In this embodiment, the control device can obtain the voltage on the power supply branch in the same manner as in the above embodiment. It is understandable that the control device can detect the voltage of the power supply branch in real time and call it when it is needed, or obtain it when the voltage of the power supply branch is needed.
[0128] When the control device in the water heater receives the heating power change signal, it will adjust the current heating power of the water heater according to the heating power change signal. The heating power change signal may be transmitted by a trigger component controlled by the user, for example, the user touches the interactive screen on the water heater to set the current required water temperature, then the interactive screen will output the corresponding heating power change signal to the control device, so that the control device adjusts the current heating power accordingly, or the user operates on an external terminal connected to the water heater so that the external terminal outputs the corresponding heating power change signal to the control device.
[0129] Each time the control device adjusts the power, it will calculate the power change value between the current power and the adjusted power after adjustment. At the same time, the power supply voltage on the power supply branch corresponding to the current power before adjustment and the voltage on the power supply branch corresponding to the adjusted power after adjustment are subtracted to obtain the voltage change value after the power changes from the current domestic power to the adjusted power. After one adjustment is completed, the power change value and voltage change value obtained in this adjustment are packaged to generate a set of learning parameters for storage.
[0130] Optionally, after obtaining at least one set of learning parameters, multiple sets of learning parameters can be fitted according to the fitting function preset by the R&D personnel in advance to form a corresponding power-voltage relationship. And in the subsequent operation of the water heater, the control device will still detect the change of the external voltage when its own power changes, and generate multiple sets of corresponding learning parameters to correct the existing power-voltage relationship, thereby further improving the accuracy of the power-voltage relationship.
[0131] Optionally, in another embodiment, the power-voltage relationship is specifically: W=k*V; wherein W is the load power, V is the corresponding change value of the voltage on the power supply branch, and k is the power-voltage coefficient;
[0132] The step of determining the power-voltage relationship according to at least one set of stored learning parameters comprises:
[0133] Dividing the voltage change value by the power change value in each set of learning parameters to obtain a plurality of first calculated values;
[0134] In this embodiment, the first calculated value is the change in voltage when the power changes by 1KW.
[0135] When the number of learning parameters is less than the preset number, the plurality of first calculation values are processed according to the preset first calculation strategy to obtain a power-voltage coefficient;
[0136] Specifically, the step of processing the plurality of first calculated values according to a preset first calculation strategy to obtain the power-voltage coefficient includes: calculating an average value of the plurality of first calculated values to obtain the power-voltage coefficient.
[0137] When the number of learning parameters reaches a preset number, the plurality of first calculation values are processed according to a preset second calculation strategy to obtain a power-voltage coefficient.
[0138] Specifically, the step of processing the plurality of the first calculated values according to the preset second calculation strategy to obtain the power-voltage coefficient includes: arranging the plurality of the first calculated values from large to small, and taking the median thereof as the power-voltage coefficient. In this way, through the above setting, different calculation methods can be used when the number of learning parameters is small or large, so as to effectively improve the accuracy of the power-voltage coefficient calculation in a targeted manner, thereby ensuring the accuracy of the power-voltage coefficient and the accuracy of the total power of the current load calculated using the power-voltage coefficient.
[0139] Through the above settings, the water heater can learn and generate a power-voltage relationship that fits the current power supply branch under different power usage environments, thereby improving the intelligence of the water heater and the accuracy of subsequent total load power calculation. In this way, the control device can subtract the currently acquired real-time voltage from the reference voltage acquired in the above embodiment, and substitute the result of the subtraction into the power-voltage relationship to obtain the total load power on the current power supply branch.
[0140] It can be understood that when the control device calculates the total load power on the current power supply branch, the total load power can also be uploaded to the cloud or an external terminal via the communication module inside the water heater for data preservation, or the user can monitor it in real time through an external terminal, thereby improving the convenience of users using the water heater.
[0141] In addition, compared with the solution of obtaining the total load power by communicating with the intelligent switch through the control device, the calculation of the total load power on the power supply branch is realized through the above method process, which can make the water heater compatible with more power consumption environments, such as a power supply branch only provided with a mechanical air switch. At the same time, it can be understood that the water heater is generally connected in parallel with multiple other electrical devices on the power supply branch. Therefore, through the above setting, there is no need to modify the power supply branch specifically when installing the water heater so that the power supply branch passes through the current sampling component of the water heater, which improves the convenience of installation and use of the water heater.
[0142] In one embodiment of the present invention, reference Figure 5 , according to the total load power, control the heating power of the water heater so that the total load power on the power supply branch is less than the preset protection power including:
[0143] Step S210: When the total load power is greater than the preset power threshold, the heating power of the water heater is controlled to be the preset first heating power, and the sum of the total load power and the preset first heating power is less than the preset protection power;
[0144] Step S220: When the total load power is less than or equal to the preset power threshold, the heating power of the water heater is controlled to be the preset second heating power, and the sum of the total load power and the preset second heating power is less than the preset protection power;
[0145] Among them, the preset power consumption threshold is less than the preset protection power.
[0146] In this embodiment, the preset power consumption threshold can be set in advance by the R&D personnel or the user. Specifically, in one embodiment, the user can set the current preset power consumption threshold through the external terminal in the above embodiment, such as a mobile phone or a smart home terminal panel, for example, the current user sets the rated current value of the circuit breaker of the power supply branch, and then the control device will calculate the current preset power consumption threshold according to the power calculation formula (1). Wherein, formula (1) is:
[0147] P=I*U*1.4
[0148] P is the preset power consumption threshold, U is the power supply voltage of the power supply branch. For example, if it is AC220V, then U is 220, and I is the rated current value of the circuit breaker set by the user.
[0149] Optionally, in another embodiment, the preset power consumption threshold value can also be set by the water heater itself. Specifically, in combination with the content of the above embodiment, the control device can obtain the preset protection power value of the current power supply branch through the intelligent switch on the power supply branch, and subtract the maximum heating power of the water heater from the preset protection power value to obtain the second power difference. Subsequently, the corresponding preset power consumption threshold value can be set according to the second power difference, for example, the current second power difference is directly set as the power consumption threshold value, or the result of subtracting the preset redundant power (set in advance by the R&D personnel or the user) from the second power difference is set as the power consumption threshold value.
[0150] When the control device confirms that the current total load power is greater than or equal to the preset power threshold, it is judged that the power load on the current power supply branch is too high and is in a peak power state, and then the heating power of the water heater will be controlled to be the preset first heating power, that is, the heating component in the water heater is controlled to perform heating according to the preset first heating power to meet the current basic insulation and heating requirements of the water in the tank. When the control device confirms that the current total load power is less than or equal to the preset power threshold, it is judged that the power load on the current power supply branch is low and is in a low-peak power state, and then the heating power of the water heater will be controlled to be the preset first heating power, that is, the heating component is controlled to perform heating according to the preset second heating power to achieve rapid heating of the water in the tank. Optionally, the preset first heating power and the preset second heating power can be set by the user or R&D personnel, for example, the preset first heating power is 2200W, and the preset second heating power is 3200W. Optionally, the preset first heating power and the preset second heating power can also be two pre-set range powers, wherein the maximum value of the preset first heating power range is less than the minimum value of the preset second heating power range, for example, the preset first heating power range is 2000W-2500W, and the preset second heating power range is 3000W-4000W. When the control device confirms that the current power supply branch is in the peak power consumption period, it will select a heating power as high as possible in the preset first heating power range as the working power of the heating component according to the difference between the total load power and the known preset protection power, so that the water heater can also heat with a higher power as much as possible during the peak power consumption period. Similarly, when the control device confirms that the current power supply branch is in the low power consumption period, it will also select a heating power as high as possible in the preset second heating range as the working power of the heating component through the same process as above, so as to further improve the heating speed of the water heater and meet the user's water demand.
[0151] At the same time, it can be understood that in order to ensure the stability of the current heating power and prevent the water heater from frequently changing the current heating power, in this embodiment, when the total load power is less than or equal to the preset power threshold, the step of controlling the heating power of the water heater to be the preset second heating power includes: when the total load power is less than or equal to the preset power threshold for a preset first duration, the heating power of the water heater is controlled to be the preset second heating power. Among them, the preset first duration can be set by the R&D personnel or the user, for example, 10 minutes, that is, when the control device confirms that the current total load power is less than or equal to the preset power threshold, it will start timing, and when the timing has reached more than 10 minutes, it will confirm that the current power supply branch is indeed currently in the low peak period of electricity consumption, and perform subsequent related actions. Similarly, the control device can also quickly control the heating power of the water heater to be the preset second heating power when it is confirmed that the total load power is greater than the preset power threshold for a preset second duration.
[0152] Thus, through the above settings, the water heater using the above control method can not only adaptively adjust the heating power of the water heater according to the existing total load power on the current power supply branch, so as to prevent the air switch from being actuated or the line from being damaged due to the total load power on the power supply branch being too high. It can also enable the water heater to determine whether the current power supply branch is at its peak power consumption, and use low power to heat the water to maintain the water temperature or heat the water slowly during the peak power consumption, and quickly heat the water during the low power consumption to speed up the increase in the water temperature in the tank. Thus, the water demand of the user is met while ensuring the safety of the water heater's power consumption.
[0153] In addition, in one embodiment of the present invention, when the total load power is less than or equal to the preset power threshold, the step of controlling the heating power of the water heater to be the preset second heating power further includes:
[0154] When the water heater receives the power limit cancellation signal, the water heater controls the heating power of the water heater to switch from the preset first heating power to the preset second heating power.
[0155] In this embodiment, the user can operate the trigger component on the water heater, such as a button, a touch screen, etc., to make the trigger component output a power cancellation signal, or the user can operate the external terminal to make the external terminal output a power cancellation signal. When the control device in the water heater receives the power limit cancellation signal, it will confirm that the current user has an urgent need to use hot water. If the current heating power is the preset first heating power, the heating power of the water heater will be switched to the preset second heating power to meet the user's need for quick water use.
[0156] It should be understood that if the current total load power is higher than the preset power threshold and the current heating power is the preset second heating power, then there is a risk that the power supply branch will be overloaded and trigger the air switch or the line temperature will increase, causing the line to catch fire.
[0157] To this end, in this embodiment, the step of controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power includes:
[0158] Starting a second timing, and controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power;
[0159] When the second timing duration reaches the preset second duration, the heating power of the water heater is controlled to switch from the preset second heating power to the preset first heating power.
[0160] In this embodiment, when the control device controls the current heating power to switch from the preset first heating power to the preset second heating power due to obtaining the power limit cancellation signal, the second timing will be performed by software timing or hardware timing. When the duration of the second timing reaches the preset second duration (set by the user or preset in advance by the R&D personnel), for example, 30 minutes, the control device will switch the current heating power of the water heater back to the preset first heating power, thereby preventing the situation where the total load power has exceeded the preset power consumption threshold and the high power is maintained for a long time for heating, resulting in overload of the power supply branch or over-temperature combustion of the line. While meeting the user's emergency water needs, the power safety performance of the water heater is guaranteed.
[0161] In one embodiment of the present invention, reference Figure 6 The step of controlling the heating power of the water heater according to the total load power and the preset power threshold comprises:
[0162] Step S230, determining, according to the power-voltage relationship and the preset power value, a change value of the voltage on the power supply branch corresponding to when the total load power on the power supply branch is the preset power value;
[0163] Step S240, performing a difference calculation on the reference voltage and the change value to obtain a first voltage difference;
[0164] Step S250: when the real-time voltage is less than the first voltage difference, controlling the heating power of the water heater to be a preset first heating power;
[0165] Step S260: When the real-time voltage is greater than or equal to the first voltage difference, the heating power of the water heater is controlled to be a preset second heating power;
[0166] Among them, the sum of the total load power and the preset first heating power is less than the preset protection power, the sum of the total load power and the preset second heating power is less than the preset protection power, the preset second heating power is greater than the preset first heating power, and the preset power consumption threshold is less than the preset protection power.
[0167] Specifically, after determining the power-voltage relationship, the control device can calculate the corresponding change value of the voltage on the power supply branch when the total load power on the power supply branch is the preset power value based on the power-voltage relationship and the preset power threshold value preset in advance, and subtract the change value from the obtained reference voltage to obtain the first voltage difference.
[0168] When the water heater needs to perform heating work, the control device will directly compare the real-time voltage with the first voltage difference after obtaining it. If the current real-time voltage is less than the first voltage difference, it is confirmed that the current power supply branch is in the peak period of power consumption; if the current real-time voltage is greater than or equal to the first voltage difference, it is confirmed that the current power supply branch is in the low-peak period of power consumption. Subsequently, the control device can control the heating power of the water heater according to the process in the above embodiment based on the judgment result. It can be understood that after the judgment is completed, the actual total load power can also be calculated for uploading to the external terminal. In this way, through the above setting, the water heater can judge the power consumption of the current power supply branch when the real-time voltage on the current power supply branch is obtained, which improves the speed of judgment and the sensitivity of control.
[0169] The present invention also proposes a control device, including a memory and a processor, a water heater control method control program stored in the memory and executed by the processor, and when the water heater control method control program is executed by the processor, it implements any of the water heater control methods described above.
[0170] It is worth noting that, since the control device of the present invention includes all the technical solutions of all the embodiments of the above-mentioned water heater control method, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned water heater control method, which will not be described one by one here.
[0171] The present invention also proposes a water heater, a voltage sampling circuit, the voltage sampling circuit is used to detect the voltage on the power supply branch electrically connected to the water heater; and a control device as described above, the control device is electrically connected to the voltage sampling circuit.
[0172] In this embodiment, the specific implementation of the voltage sampling circuit can refer to the above-mentioned embodiments, which will not be described in detail here.
[0173] It is worth noting that, since the water heater of the present invention includes all technical solutions of all embodiments of the above-mentioned control device, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned control device, which will not be described one by one here.
[0174] The above contents are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A water heater control method, characterized in that: The water heater control method comprises: The water heater obtains the total load power on the power supply branch electrically connected to itself; and, According to the total load power, the heating power of the water heater is controlled so that the total load power on the power supply branch is less than the preset protection power.
2. The water heater control method according to claim 1, characterized in that: The step of the water heater obtaining the total load power on the power supply branch electrically connected to the water heater itself comprises: Obtain the real-time voltage and reference voltage on the power supply branch; The total load power on the current power supply branch is determined according to the real-time voltage, the reference voltage and the power-voltage relationship.
3. The water heater control method according to claim 2, characterized in that: The step of obtaining the reference voltage comprises: Starting a first timing, and sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages; When the first timing duration is less than the preset sampling duration, the plurality of sampled voltages are processed according to a preset first strategy to obtain the reference voltage; When the first timing duration reaches the preset sampling duration, the plurality of sampled voltages are processed according to a preset second strategy to obtain the reference voltage.
4. The water heater control method according to claim 3, characterized in that: The step of sampling the voltage on the power supply branch multiple times to obtain multiple sampled voltages also includes: When the difference between any of the sampled voltages and any of the other sampled voltages is greater than a preset change value; The plurality of sampled voltages are subjected to Fourier transformation to determine whether each of the current sampled voltages is an abnormal voltage.
5. The water heater control method according to claim 3, characterized in that: The step of processing the plurality of sampled voltages according to a preset first strategy to obtain the reference voltage comprises: The maximum value among the plurality of sampled voltages is used as the reference voltage.
6. The water heater control method according to claim 3, characterized in that: The step of confirming the reference voltage according to a preset second strategy based on the plurality of sampled voltages comprises: The plurality of sampled voltages are grouped according to a preset allocation strategy to obtain a plurality of sampled voltage groups, and corresponding weighting coefficients are configured according to the number of sampled voltages in each sampled voltage group, wherein the preset allocation strategy is: the sampled voltages whose voltage difference between each other is less than the preset voltage difference are grouped as one group, and the sampled voltages whose voltage difference with any other sampled voltage is greater than the preset voltage difference are grouped as one group; When the sampling voltage group includes only one sampling voltage, the sampling voltage is determined as the target voltage of the sampling voltage group; When the sampling voltage group includes a plurality of the sampling voltages, an average value of the plurality of the sampling voltages is used as the target voltage of the sampling voltage group; The reference voltage is calculated by weighting according to weight coefficients of the plurality of sampling voltage groups and a target voltage corresponding to each group.
7. The water heater control method according to claim 2, characterized in that: Before the step of obtaining the real-time voltage and the reference voltage on the power supply branch, the step of obtaining the total load power on the power supply branch electrically connected to the water heater itself further includes: Obtain the power supply voltage on the power supply branch; When the water heater receives the heating power change signal, the heating power of the water heater is adjusted from the current power to the adjusted power corresponding to the heating power change signal; Subtracting the supply voltage when the heating power is the current power from the supply voltage when the heating power is the adjusted power to obtain a voltage change value; Subtracting the current power from the adjusted power to obtain a power change value, generating a set of learning parameters from the corresponding voltage change value and the power change value and storing the set of learning parameters; The power-voltage relationship is determined based on at least one set of the stored learning parameters.
8. The water heater control method according to claim 7, characterized in that: The power-voltage relationship is specifically: W=k*V; wherein W is the load power, V is the corresponding change value of the voltage on the power supply branch, and k is the power-voltage coefficient; The step of determining the power-voltage relationship according to at least one set of the stored learning parameters comprises: Dividing the voltage change value in each group of the learning parameters by the power change value to obtain a plurality of first calculated values; When the number of the learning parameters is less than a preset number, processing the plurality of the first calculated values according to a preset first calculation strategy to obtain the power-voltage coefficient; When the number of the learning parameters reaches a preset number, a plurality of the first calculated values are processed according to a preset second calculation strategy to obtain the power-voltage coefficient.
9. The water heater control method according to claim 8, characterized in that: The step of processing the plurality of first calculated values according to a preset first calculation strategy to obtain the power-voltage coefficient includes: An average value is calculated for a plurality of the first calculated values to obtain the power-voltage coefficient.
10. The water heater control method according to claim 8, characterized in that: The step of processing the plurality of first calculated values according to a preset second calculation strategy to obtain the power-voltage coefficient includes: Arrange the plurality of first calculated values from largest to smallest, and use the median value thereof as the power-voltage coefficient.
11. The water heater control method according to claim 1, characterized in that: According to the total load power, controlling the heating power of the water heater so that the total load power on the power supply branch is less than the preset protection power includes: When the total load power is greater than the preset power threshold, the heating power of the water heater is controlled to be the preset first heating power, and the sum of the total load power and the preset first heating power is less than the preset protection power; When the total load power is less than or equal to the preset power threshold, the heating power of the water heater is controlled to be the preset second heating power, and the sum of the total load power and the preset second heating power is less than the preset protection power; Among them, the preset power consumption threshold is smaller than the preset protection power, and the preset second heating power is larger than the preset first heating power.
12. The water heater control method according to claim 11, characterized in that: The step of controlling the heating power of the water heater to be a preset second heating power when the total load power is less than or equal to the preset power threshold comprises: When the duration during which the total load power is less than or equal to the preset power consumption threshold reaches a preset first duration, the heating power of the water heater is controlled to be a preset second heating power.
13. The water heater control method according to claim 11, characterized in that: The step of controlling the heating power of the water heater to be a preset first heating power when the total load power is greater than the preset power threshold value further includes: When the water heater receives the power limit cancellation signal, the water heater controls the heating power of the water heater to switch from the preset first heating power to the preset second heating power.
14. The water heater control method according to claim 13, characterized in that: The step of controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power comprises: Starting a second timing, and controlling the heating power of the water heater to switch from a preset first heating power to a preset second heating power; When the second timing duration reaches the preset second duration, the heating power of the water heater is controlled to switch from the preset second heating power to the preset first heating power.
15. The water heater control method according to claim 2, characterized in that: The step of controlling the heating power of the water heater according to the total load power and the preset power threshold comprises: According to the power-voltage relationship and the preset power consumption value, determine the change value of the voltage on the power supply branch when the total load power on the power supply branch is the preset power consumption value; Calculate the difference between the reference voltage and the change value to obtain a first voltage difference; When the real-time voltage is less than the first voltage difference, controlling the heating power of the water heater to be a preset first heating power; When the real-time voltage is greater than or equal to the first voltage difference, controlling the heating power of the water heater to be a preset second heating power; Among them, the sum of the total load power and the preset first heating power is less than the preset protection power, the sum of the total load power and the preset second heating power is less than the preset protection power, the preset second heating power is greater than the preset first heating power, and the preset power consumption threshold is less than the preset protection power.
16. The water heater control method according to claim 1, characterized in that: The step of obtaining the preset power consumption threshold comprises: Obtain the rated current setting value transmitted from the external terminal; The preset power consumption threshold is obtained according to the rated current setting value and the preset power threshold calculation formula.
17. A control device, characterized in that: include: Memory; processor; as well as, A water heater control program stored in the memory and executed by the processor, wherein when the water heater control program is executed by the processor, the water heater control method according to any one of claims 1 to 16 is implemented.
18. A water heater, characterized in that: include: a voltage sampling circuit, the voltage sampling circuit being used to detect the voltage on a power supply branch electrically connected to the water heater; and The control device as claimed in claim 17, wherein the control device is electrically connected to the voltage sampling circuit.
