Temperature compensation method, temperature compensation device, heating equipment and storage medium

By determining the target temperature rise parameter for the type of water cup and calculating the temperature compensation value, the problem of inaccurate water temperature in instant water dispensers was solved, enabling precise water temperature adjustment and improving the user experience.

CN119138757APending Publication Date: 2024-12-17FOSHAN SHUNDE MIDEA WATER DISPENSER MFG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310716328.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Existing instant hot water dispensers cannot precisely adjust the water temperature, causing the water in the user's cup to fail to reach the set temperature, thus affecting the user experience.

Method used

By determining the target temperature rise parameter for the type of water cup, and considering the heat loss and heat absorption of the water cup, the temperature compensation value is calculated, and the water temperature is adjusted to reach the set temperature.

Benefits of technology

Ensure that the water temperature for users reaches the set temperature accurately, thereby improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119138757A_ABST
    Figure CN119138757A_ABST
Patent Text Reader

Abstract

The invention discloses a temperature compensation method, a temperature compensation device, heating equipment and a nonvolatile computer readable storage medium. The temperature compensation method comprises the steps that according to the type of a current water cup, a target temperature rise parameter matched with the type of the current water cup in a plurality of preset temperature rise parameters is determined, and the target temperature rise parameter is used for representing heat needed by the current water cup every time the current water cup rises by one degree; determining a temperature compensation value according to a set outlet water temperature and the target temperature rise parameter; according to the temperature compensation value and the set water outlet temperature, the actual water outlet temperature is determined, and water is discharged according to the actual water outlet temperature. According to the method, the temperature compensation value of the actual water outlet temperature can be pre-compensated, so that after the current water cup absorbs heat, the actual water outlet temperature in the current water cup just reaches the set water outlet temperature, the temperature of water drunk by a user meets the user requirement, and the user experience is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of heating equipment, and more specifically, to a temperature compensation method, a temperature compensation device, a heating equipment and a non-volatile computer-readable storage medium. Background Art

[0002] Instant hot water dispensers can dispense water according to the target temperature set by the user. However, after the water dispensed at the target temperature reaches the user's cup, due to heat transfer between the cup and the water, the water in the user's cup does not reach the target temperature. As a result, the temperature of the water the user drinks does not meet the user's needs, affecting the user experience. Summary of the invention

[0003] Embodiments of the present application provide a temperature compensation method, a temperature compensation device, a heating device, and a non-volatile computer-readable storage medium.

[0004] The temperature compensation method of the embodiment of the present application includes determining, according to the type of the current water cup, a target temperature rise parameter that matches the type of the current water cup among a plurality of preset temperature rise parameters, the target temperature rise parameter being used to characterize the amount of heat required for the current water cup to rise by one degree; determining a temperature compensation value according to a set water outlet temperature and the target temperature rise parameter; determining an actual water outlet temperature according to the temperature compensation value and the set water outlet temperature, and discharging water at the actual water outlet temperature.

[0005] In some embodiments, the temperature compensation method further includes acquiring an image of the water cup; and identifying the type of the water cup through the image of the water cup.

[0006] In certain embodiments, the temperature compensation method further includes obtaining a first temperature difference between the actual water temperature of each type of water cup when it receives water of a preset mass and the set water outlet temperature, and a second temperature difference between the actual temperature of the water cup and the ambient temperature; determining a first heat loss based on the first temperature difference, a preset specific heat capacity of water, and the preset mass; and determining a temperature rise parameter of each type of water cup based on the first heat loss and the second temperature difference.

[0007] In some embodiments, determining the temperature compensation value based on the set water outlet temperature and the target temperature rise parameter includes determining a preset mapping function corresponding to the type of the current water cup according to the type of the current water cup; determining the temperature rise of the current water cup according to the set water outlet temperature and the preset mapping function; and determining the temperature compensation value according to the temperature rise of the current water cup and the target temperature rise parameter.

[0008] In some embodiments, the temperature compensation method also includes obtaining a target type of water cup, a third temperature difference between the actual temperature of the water cup and the ambient temperature when the water cup receives water of a preset mass at different set water outlet temperatures, and the target type is any one of a plurality of different water cup types; taking the set water outlet temperature and the corresponding third temperature difference as a set of data, and fitting multiple sets of data to obtain a preset mapping function corresponding to the target type of water cup, wherein the preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup.

[0009] In some embodiments, determining the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter includes determining the temperature compensation value according to the set water outlet temperature, the current ambient temperature, and the target temperature rise parameter.

[0010] In certain embodiments, determining the temperature compensation value based on the set water outlet temperature, the current ambient temperature and the target temperature rise parameter includes determining a target mapping function that matches the current ambient temperature and the type of the current water cup among a plurality of preset mapping functions based on the current ambient temperature and the type of the current water cup; determining the temperature rise of the current water cup based on the set water outlet temperature and the target mapping function; and determining the temperature compensation value based on the temperature rise of the current water cup and the target temperature rise parameter.

[0011] In some embodiments, determining the temperature compensation value based on the current temperature rise of the water cup and the target temperature rise parameter includes determining a second heat loss based on the current temperature rise of the water cup and the target temperature rise parameter; and determining the temperature compensation value based on the second heat loss, a preset specific heat capacity of water, and a preset mass.

[0012] In some embodiments, the temperature compensation method also includes obtaining the target ambient temperature and the target type of water cup, and a fourth temperature difference between the actual temperature of the water cup when receiving water of a preset mass at different set water outlet temperatures and the target ambient temperature, the target ambient temperature is any one of a plurality of different ambient temperatures, and the target type is any one of a plurality of different water cup types; taking the set water outlet temperature and the corresponding fourth temperature difference as a set of data, fitting multiple sets of data to obtain a mapping function corresponding to the target type of water cup at the target ambient temperature, wherein the mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup.

[0013] In some embodiments, the current ambient temperature is an inlet water temperature.

[0014] The temperature compensation device of the embodiment of the present application includes a first determination module, a second determination module and a compensation module. The first determination module is used to determine, according to the type of the current water cup, a target temperature rise parameter that matches the type of the current water cup among multiple preset temperature rise parameters, and the target temperature rise parameter is used to characterize the heat required for the current water cup to rise by one degree; the second determination module is used to determine the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter; the compensation module is used to determine the actual water outlet temperature according to the temperature compensation value and the set water outlet temperature, and discharge water at the actual water outlet temperature.

[0015] The heating device of the embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the above-mentioned temperature compensation methods are implemented.

[0016] In some embodiments, the heating device includes a water mixing valve, and the opening degree of the water mixing valve is determined according to the actual outlet water temperature.

[0017] The non-volatile computer-readable storage medium containing a computer program according to an embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, any of the temperature compensation methods described above is implemented.

[0018] A temperature compensation method, a temperature compensation device, a heating device, and a non-volatile computer-readable storage medium according to an embodiment of the present application can obtain the temperature rise parameter of a water cup of this type (i.e., the amount of heat required for the water cup of this type to rise by one degree) through experiments according to the type of water cup, thereby obtaining the temperature rise parameters corresponding to different types of water cups. After determining the type of the current water cup, the target temperature rise parameter of the current water cup can be obtained. For the current water cup, after receiving water with different set water outlet temperatures, the temperature rise of the current water cup is also different. By calibrating in advance, the temperature rise of the current water cup after receiving water with different set water outlet temperatures can be obtained. Therefore, according to the target temperature rise parameter and the temperature rise of the current water cup corresponding to the set water outlet temperature, the heat absorbed by the current water cup can be determined, and then the heat lost by the water in the current water cup can be inferred based on the heat absorbed by the current water cup, so as to obtain the temperature change value of the water in the current water cup, that is, the temperature compensation value. According to the temperature compensation value and the set water outlet temperature, the actual water outlet temperature can be obtained. At this time, after the water is discharged according to the actual water outlet temperature, due to the pre-compensation of the temperature compensation value, the actual water temperature in the current water cup just reaches the set water outlet temperature after the current water cup absorbs heat, so that the temperature of the water the user drinks meets the user's needs, ensuring the user experience.

[0019] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0021] Figure 1 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0022] Figure 2 is a schematic plan view of a heating device according to certain embodiments of the present application;

[0023] Figure 3 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0024] Figure 4 is a schematic diagram of a temperature compensation method according to some embodiments of the present application;

[0025] Figure 5 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0026] Figure 6 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0027] Figure 7 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0028] Figure 8 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0029] Fig. 9 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0030] Fig.10 is a schematic flow chart of a temperature compensation method of certain embodiments of the present application;

[0031] Fig.11 is a schematic diagram of a module of a temperature compensation device in certain embodiments of the present application;

[0032] Fig.12 It is a schematic diagram of the connection status of a non-volatile computer-readable storage medium and a processor in certain embodiments of the present application. DETAILED DESCRIPTION

[0033] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are optional and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0034] See also Figure 1 and Figure 2 , the embodiment of the present application provides a temperature compensation method, comprising:

[0035] Step 011: according to the type of the current water cup 300, determine a target temperature rise parameter that matches the type of the current water cup 300 among a plurality of preset temperature rise parameters, where the target temperature rise parameter is used to characterize the amount of heat required for the current water cup 300 to rise by one degree;

[0036] Specifically, the heating device 100 (e.g., the heating device 100 may be an instant hot water dispenser, a coffee machine, etc.) can determine the target temperature rise parameter that matches the type of the current water cup 300 from among the preset multiple temperature rise parameters according to the type of the current water cup 300 (e.g., the type of the water cup 300 may be a ceramic water cup, a glass water cup, a plastic water cup, etc.); by presetting multiple temperature rise parameters (e.g., temperature rise parameters K1, K2, and K3, etc.) in the memory 10 of the heating device 100, the temperature rise parameters of the water cup 300 may be different depending on the type of the water cup 300. For example, the temperature rise parameter corresponding to a ceramic water cup may be K1, the temperature rise parameter corresponding to a glass water cup may be K2, the temperature rise parameter corresponding to a plastic water cup may be K3, etc. The value of the target temperature rise parameter can be expressed by the formula: K=Q 损失 / ΔT calculation, where K is the target temperature rise parameter, Q 损失 is the heat dissipated by the outlet water temperature, ΔT is the temperature rise of the water cup 300, and the target temperature rise parameter is used to represent the heat required for the current water cup 300 to rise in temperature by one degree; the target temperature rise parameter matching the type of each water cup 300 can be determined through experiments, and multiple temperature rise parameters are preset in the memory 10 of the heating device 100; the processor 20 of the heating device 100 obtains the type of the current water cup 300 (such as a ceramic water cup), thereby being able to determine the target temperature rise parameter matching the current water cup 300 among the multiple temperature rise parameters preset in the memory 10 (such as the target temperature rise parameter of the ceramic water cup is K1).

[0037] Step 012: Determine the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter;

[0038] Specifically, when the current ambient temperature is constant, when the current type of water cup 300 receives water of a preset mass at different set water outlet temperatures, the temperature rise of the current water cup 300 will change with the different set water outlet temperatures. Through preliminary experiments, the temperature rise of the current water cup 300 corresponding to the current water cup 300 at different set water outlet temperatures can be obtained. For example, when the current ambient temperature is 20 degrees and the current water cup is a 200 ml ceramic water cup, when the 200 ml ceramic water cup receives water of a preset mass (such as 200 grams) at a set water outlet temperature of 80 degrees, the temperature rise C1 of the 200 ml ceramic water cup can be obtained, wherein the preset mass is determined according to the type of the water cup 300 (such as a 200 ml ceramic water cup with a preset mass of 200 grams, a 300 ml ceramic water cup with a preset mass of 300 grams, etc.); when the current ambient temperature is 20 In the case of a current ambient temperature of 20 degrees, when a 200 ml ceramic water cup is set to receive a preset mass (such as 200 grams) of water at a water outlet temperature of 90 degrees, a temperature rise C2 of the ceramic water cup can be obtained; in the case of a current ambient temperature of 20 degrees, when a 200 ml ceramic water cup is set to receive a preset mass (such as 200 grams) of water at a water outlet temperature of 95 degrees, a temperature rise C3 of the ceramic water cup can be obtained, and the values ​​of the temperature rises C1, C2 and C3 are different. Therefore, according to the temperature rise (such as C1) of the current water cup 300 (such as a 200 ml ceramic water cup) and the temperature rise parameter (such as K1) corresponding to the current water cup 300, the heat absorbed by the current water cup 300 can be determined, and then the heat lost by the water in the current water cup 300 can be inferred according to the heat absorbed by the current water cup 300, so as to obtain the difference between the set water outlet temperature and the actual water temperature when the current water cup 300 receives the preset mass of water, that is, the temperature compensation value.

[0039] Step 013: Determine the actual outlet water temperature according to the temperature compensation value and the set outlet water temperature, and discharge water according to the actual outlet water temperature.

[0040] Specifically, after determining the temperature compensation value of the current water cup 300 and the set water outlet temperature, the processor 20 can determine the actual water outlet temperature of the heating device 100, such as the actual water outlet temperature = temperature compensation value + set water outlet temperature. And the processor 20 controls the opening of the mixing valve 30 in the heating device 100 according to the actual water outlet temperature (such as controlling the opening of the mixing valve 30 to increase or decrease), wherein the mixing valve 30 can divide the liquid flowing into the mixing valve 30, for example, the mixing valve 30 can be a three-way valve, a four-way valve, etc., taking the mixing valve 30 as a three-way valve as an example, the mixing valve 30 includes a first water outlet and a second water outlet, and the liquid flowing out of the first water outlet of the mixing valve 30 and the heating device 100 The liquid flowing into the water inlet of 0 exchanges heat in the heat exchanger of the heating device 100, and then merges with the liquid flowing out of the second water outlet of the mixing valve 30 and flows out. By controlling the opening of the mixing valve 30, the ratio of the liquid flowing out of the first water outlet of the mixing valve 30 and the second water outlet of the mixing valve 30 can be controlled. Therefore, the processor 20 can control the actual water outlet temperature by controlling the opening of the mixing valve 30, thereby allowing the heating device 100 to discharge water to the current water cup 300 according to the actual water outlet temperature.

[0041] In this way, according to the type of the water cup 300, the temperature rise parameter of the water cup 300 of this type (that is, the amount of heat required for the water cup 300 of this type to rise by one degree) can be obtained through experiments, thereby obtaining the temperature rise parameters corresponding to different types of water cups 300. After determining the type of the current water cup 300, the target temperature rise parameter of the current water cup 300 can be obtained; for the current water cup 300, after receiving water with different set water outlet temperatures, the temperature rise of the current water cup 300 is also different. By calibrating in advance, the temperature rise of the current water cup 300 after receiving water with different set water outlet temperatures can be obtained. Therefore, according to the target temperature rise parameter and the set water outlet temperature, The temperature rise of the current water cup 300 corresponding to the temperature of the current water cup 300 can be used to determine the heat absorbed by the current water cup 300, and then the heat lost by the water in the current water cup 300 is inferred based on the heat absorbed by the current water cup 300, thereby obtaining the temperature change value of the water in the current water cup 300, that is, the temperature compensation value. According to the temperature compensation value and the set water outlet temperature, the actual water outlet temperature can be obtained. At this time, after the water is discharged according to the actual water outlet temperature, due to the pre-compensation of the temperature compensation value, after the current water cup 300 absorbs heat, the actual water temperature in the current water cup 300 just reaches the set water outlet temperature, so that the temperature of the water the user drinks meets the user's needs, thereby ensuring the user experience.

[0042] See also Figure 2 and Figure 3 In some embodiments, the temperature compensation method further comprises:

[0043] Step 014: Acquire the image of the water cup 300;

[0044] Step 015: Identify the type of the water cup 300 through the image of the water cup 300.

[0045] Specifically, the heating device 100 can obtain an image of the current water cup 300 , and the type of the current water cup 300 can be identified through the processor 20 in the heating device 100 . For example, an image of the type of the water cup 300 is preset in the memory 10. By installing a camera or other photographing component on the heating device 100, taking a photo of the current water cup 300 and uploading the image of the current water cup 300 obtained by photographing to the processor 20 for processing, the processor 20 obtains an image matching the image of the current water cup 300 from the memory 10, thereby being able to identify the type of the current water cup 300; or, the type data of the water cup 300 is pre-stored in the memory 10 of the heating device 100 (such as the data of the type of the water cup 300 may be the material of the water cup 300, such as a ceramic water cup, a glass water cup, and a plastic water cup, etc., and also includes the capacity of the water cup 300, such as 200 ml, 300 ml, and 500 ml, etc.), and by selecting a type that matches the current water cup 300 on the display screen of the heating device 100 (such as selecting a 300 ml ceramic water cup), the type of the current water cup 300 can be identified.

[0046] See 4 and Figure 5 In some embodiments, the temperature compensation method further comprises:

[0047] Step 016: Obtain a first temperature difference between the actual water temperature of each type of water cup 300 when receiving water of a preset quality and the set water outlet temperature, and a second temperature difference between the actual temperature of the water cup 300 and the ambient temperature;

[0048] Step 017: Determine a first heat loss according to the first temperature difference, a preset specific heat capacity of water, and a preset mass; and

[0049] Step 018: Determine the temperature rise parameter of each type of water cup 300 according to the first heat loss and the second temperature difference.

[0050] Specifically, in order to obtain the temperature rise parameters of each type of water cup 300, the temperature rise parameters of each type of water cup 300 can be calibrated in advance. For example, the types of water cups 300 include 200 ml ceramic water cups, 300 ml ceramic water cups, 500 ml ceramic water cups, 200 ml glass water cups, 300 ml glass water cups, 500 ml glass water cups, 200 ml plastic water cups, 300 ml plastic water cups, 500 ml plastic water cups, etc. The following is an example of calibrating the temperature rise parameters of a 200 ml ceramic water cup.

[0051] Calibration method 1: collect 200 grams of water in a 200 ml ceramic water cup, and detect the actual water temperature of the 200 ml ceramic water cup, and then obtain the first temperature difference between the actual water temperature and the set water outlet temperature. The first temperature difference can be calculated by the formula: △T1=T 设定 -T 实际水温 Calculated, where △T1 is the first temperature difference, T 设定 To set the outlet water temperature, T 实际水温 The actual water temperature of the 200 ml ceramic water cup is measured, and the second temperature difference between the actual temperature of the water cup and the ambient temperature (it can be understood that the temperature of the water cup in the environment is basically the same as the ambient temperature) is detected. The second temperature difference can be calculated by the formula: △T2 = T 实际水杯 -T 环境 Calculated, where △T2 is the second temperature difference, T 实际水杯 is the actual water temperature of the inner wall of a 200 ml ceramic water cup, T 环境 is the current ambient temperature, and the second temperature difference is the temperature rise of the water cup; then the first heat loss can be determined according to the first temperature difference, the preset specific heat capacity of water and the preset mass. The first heat loss can be calculated by the formula: Q 损失1 =c*m*△T1, where Q 损失1 is the first heat loss, c is the preset specific heat capacity of water, m is the preset mass of the water cup 300, △T1 is the first temperature difference, such as the first temperature difference of the 200 ml ceramic water cup is 5 degrees Celsius, the preset specific heat capacity of water is 4200 joules per kilogram Celsius, and the preset mass is 0.2 kilograms, then the first heat loss = first temperature difference * preset specific heat capacity of water * preset mass = 5*4200*0.2 = 4200 joules; finally, according to the first heat loss and the second temperature difference, the temperature rise parameter of the 200 ml ceramic water cup can be determined, and the temperature rise parameter can be obtained by the formula: K = Q 损失1 / △T2 is calculated, where K is the temperature rise parameter, Q 损失1 is the first loss heat, △T2 is the second temperature difference. For example, the second temperature difference is the difference (such as 25 degrees) between the temperature of the inner wall of a 200 ml ceramic water cup when it is filled with 200 grams of water (such as 50 degrees) and the current ambient temperature (such as 25 degrees). The temperature rise parameter of the 200 ml ceramic water cup = first loss heat / second temperature difference = 4200 / 25 = 168 joules per degree Celsius.

[0052] Calibration method 2: Although the user can set the set water outlet temperature, due to machine errors, mixing valve 30 opening control errors, etc., there is an error between the actual water outlet temperature and the set water outlet temperature. For example, the set water outlet temperature is 80 degrees, but the actual water outlet temperature is 79.5 degrees, 81 degrees, etc. Therefore, a paper cup with very little heat transfer can be used as an ideal water cup to first obtain the actual water outlet temperature of the heating device 100 to improve the accuracy of the subsequent calculation of the first temperature difference. For example, after collecting water through a paper cup, the actual water temperature in the paper cup is detected as the set water outlet temperature for subsequent calibration; then, 200 grams of water is collected through a 200 ml ceramic water cup, and the actual water temperature of the 200 ml ceramic water cup is detected, and then the first temperature difference between the actual water temperature and the set water outlet temperature is obtained, and the actual temperature of the water cup and the ambient temperature are detected (it can be understood that the temperature of the water cup in the environment is basically the same as the ambient temperature). The second temperature difference, the second temperature difference is the temperature rise of the water cup, and then the first loss heat can be determined according to the first temperature difference, the preset specific heat capacity of water and the preset mass. For example, the first temperature difference of a 200 ml ceramic water cup is 5 degrees Celsius, the preset specific heat capacity of water is 4200 joules per kilogram Celsius, and the preset mass is 0.2 kilograms. Then the first loss heat = first temperature difference * preset specific heat capacity of water * preset mass = 5*4200*0.2 = 4200 joules; finally, according to the first loss heat and the second temperature difference, the temperature rise parameter of the 200 ml ceramic water cup can be determined. For example, when the second temperature difference is the difference (such as 25 degrees) between the temperature of the inner wall of the 200 ml ceramic water cup when it is filled with 200 grams of water (such as 50 degrees) and the current ambient temperature (such as 25 degrees), the temperature rise parameter of the 200 ml ceramic water cup = first loss heat / second temperature difference=4200 / 25=168 joules per degree Celsius.

[0053] Example 3: After a 200 ml ceramic water cup receives water at multiple set water outlet temperatures, multiple temperature rise parameters of the 200 ml ceramic water cup can be obtained. The average of the multiple temperature rise parameters is the temperature rise parameter of the 200 ml ceramic water cup. For example, when a 200 ml ceramic water cup receives water at set water outlet temperatures of 80 degrees Celsius, 85 degrees Celsius, 90 degrees Celsius and 95 degrees Celsius, the temperature rise parameter K1 corresponding to the set water outlet temperature of 80 degrees Celsius, the temperature rise parameter K2 corresponding to 85 degrees Celsius, the temperature rise parameter K3 corresponding to 90 degrees Celsius and the temperature rise parameter K4 corresponding to 95 degrees Celsius can be obtained. The temperature rise parameter K of the 200 ml ceramic water cup = (K1+K2+K3+K4) / 4.

[0054] See also Figure 6 In some embodiments, step 012: determining a temperature compensation value according to a set water outlet temperature and a target temperature rise parameter includes:

[0055] Step 0121: according to the type of the current water cup 300, determine a preset mapping function corresponding to the type of the current water cup 300;

[0056] Step 0122: Determine the current temperature rise of the water cup 300 according to the set water outlet temperature and the preset mapping function; and

[0057] Step 0123: Determine the temperature compensation value according to the current temperature rise of the water cup 300 and the target temperature rise parameters.

[0058] Specifically, preset mapping functions corresponding to different types of water cups 300 are preset in the memory 10. Different types of water cups 300 include water cups 300 of different materials and water cups 300 of different capacities. The processor 20 can determine the preset mapping function corresponding to the current water cup 300 from the memory 10 according to the type of the current water cup 300. The preset mapping function is used to characterize the mapping relationship between the set water outlet temperature T and the temperature rise H of the water cup, such as H=f(T). For example, the processor 20 can determine the preset mapping function corresponding to a 200 ml ceramic water cup, the preset mapping function corresponding to a 300 ml ceramic water cup, and the preset mapping function corresponding to a 200 ml glass water cup, etc.; the processor 20 can then determine the temperature rise of the current water cup 300 according to the preset water outlet temperature and the preset mapping function corresponding to the current water cup 300, such as the processor 20 can determine the temperature rise of a 200 ml ceramic water cup when it is filled with a preset mass (such as 200 grams) of water when the water outlet temperature is set to 90 degrees; the processor 20 can then determine the temperature compensation value of the current water cup 300 according to the acquired temperature rise of the current water cup 300 and the temperature rise parameter of the current water cup 300. Specifically, the second heat loss can be determined according to the temperature rise of the current water cup and the target temperature rise parameter. The second heat loss can be calculated by the formula: Q 损失2 =H*K, where Q 损失2 is the second heat loss, H is the temperature rise of the current water cup 300, K is the target temperature rise parameter of the current water cup 300, and then the temperature compensation value is determined according to the second heat loss, the preset specific heat capacity of water and the preset mass. The temperature compensation value can be calculated by the formula: Q 补偿 =Q 损失2 / (c*m) is calculated, where Q 补偿 is the current temperature compensation value of the water cup 300, Q 损失2 is the second heat loss, c is the preset specific heat capacity of water, and m is the preset mass of the current water cup 300. For example, after obtaining the temperature rise of the 200 ml ceramic water cup, the processor 20 determines the heat absorbed by the 200 ml ceramic water cup according to the temperature rise and the target temperature rise parameter corresponding to the 200 ml ceramic water cup. The heat absorbed by the 200 ml ceramic water cup is the heat lost by the water in the 200 ml ceramic water cup (i.e., the second heat loss), and then according to the second heat loss, the preset specific heat capacity of water and the preset mass (i.e., 200 grams), the water temperature reduction value of the water in the 200 ml ceramic water cup, i.e., the temperature compensation value, can be calculated.

[0059] See also Figure 7 In some embodiments, the temperature compensation method further comprises:

[0060] Step 019: obtaining a target type of water cup 300, a third temperature difference between the actual temperature of the water cup 300 and the ambient temperature when receiving water of a preset mass at different set water outlet temperatures, wherein the target type is any one of a plurality of different types of water cups 300;

[0061] Step 020: The set water outlet temperature and the corresponding third temperature difference are taken as a set of data, and multiple sets of data are fitted to obtain a preset mapping function corresponding to the target type of water cup 300. The preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup 300.

[0062] Specifically, different types of water cups 300 correspond to different preset mapping functions, and the preset mapping functions corresponding to each type of water cup 300 can be calibrated in advance. For example, the types of water cups 300 can be 200 ml ceramic water cups, 300 ml ceramic water cups and 500 ml ceramic water cups, 200 ml glass water cups, 300 ml glass water cups and 500 ml glass water cups, etc.; taking a 200 ml glass water cup as the target type of water cup 300 as an example, the 200 ml glass water cup receives a preset mass (such as a preset mass of 200 grams) at different set water outlet temperatures (such as 50 degrees, 55 degrees, 60 degrees, 65 degrees, 70 degrees, 75 degrees, 80 degrees, etc.) When water is poured into the 200 ml glass water cup, the actual temperature of the 200 ml glass water cup (such as the temperature of the inner wall of the glass water cup or the average of the inner wall temperature and the bottom wall temperature of the glass water cup) is measured by a temperature detector, and the difference between the actual temperature of the 200 ml glass water cup and the ambient temperature at each set water outlet temperature can be obtained, and the difference is taken as the third temperature difference, and the third temperature difference is the temperature rise of the 200 ml glass water cup; the third temperature difference of the 200 ml glass water cup and the set water outlet temperature corresponding to the third temperature difference are taken as a group of data, thereby obtaining multiple groups of data. For example, the third temperature difference is x, the set water outlet temperature is y, and each set water outlet temperature corresponds to a set of data, such as a set of data corresponding to a set water outlet temperature of 50 degrees is (x1, y1), a set of data corresponding to a set water outlet temperature of 55 degrees is (x2, y2), a set of data corresponding to a set water outlet temperature of 60 degrees is (x3, y3), a set of data corresponding to a set water outlet temperature of 65 degrees is (x4, y4), and so on. After fitting multiple sets of data, the preset mapping function of a 200 ml glass water cup can be obtained, that is, y=f(x). The preset mapping function can be used to represent the temperature rise of a 200 ml glass water cup at the set water outlet temperature.

[0063] See also Figure 8In some embodiments, step 012: determining a temperature compensation value according to a set water outlet temperature and a target temperature rise parameter includes:

[0064] Step 0124: Determine the temperature compensation value according to the set water outlet temperature, the current ambient temperature and the target temperature rise parameter.

[0065] Specifically, under different ambient temperatures, after the water cup 300 receives water with the same set water outlet temperature, the temperature rise of the water cup 300 may also be different, resulting in different temperature compensation values ​​finally obtained.

[0066] Therefore, when calibrating the mapping relationship between the set water outlet temperature and the temperature rise of the water cup, the current ambient temperature needs to be considered, so as to calibrate the target mapping function between the set water outlet temperature and the temperature rise of the water cup under different ambient temperatures, and finally obtain the corresponding temperature compensation value for each type of water cup at different ambient temperatures.

[0067] For example, when the ambient temperature is 20 degrees, the processor 20 can determine the temperature compensation value C1 of the 200 ml ceramic water cup based on the temperature rise parameter K1 of the 200 ml ceramic water cup and the set water outlet temperature (such as 90 degrees); when the ambient temperature is 30 degrees, the processor 20 can determine the temperature compensation value C2 of the 200 ml ceramic water cup based on the temperature rise parameter K1 of the 200 ml ceramic water cup and the set water outlet temperature (such as 90 degrees), and C1 and C2 may be different.

[0068] See also Fig. 9 In some embodiments, step 0124: determining a temperature compensation value according to the set outlet water temperature, the current ambient temperature and the target temperature rise parameter includes:

[0069] Step 01241: According to the current ambient temperature and the type of the current water cup 300, a target mapping function matching both the current ambient temperature and the type of the current water cup 300 is determined from among a plurality of preset mapping functions;

[0070] Step 01242: determining the current temperature rise of the water cup 300 according to the set water outlet temperature and the target mapping function;

[0071] Step 01243: Determine the temperature compensation value according to the current temperature rise of the water cup 300 and the target temperature rise parameters.

[0072] Specifically, under different ambient temperatures and different types of water cups 300, the multiple mapping functions preset in the memory 10 are calibrated with target mapping functions corresponding to the current ambient temperature and the current type of the water cup 300. The processor 20 can determine the target mapping function that matches the current ambient temperature and the current type of the water cup 300 based on the current ambient temperature and the current type of the water cup 300.

[0073] For example, the current ambient temperature is 20 degrees, and the current water cup 300 is a 200 ml ceramic water cup. The processor 20 can find the target mapping function y1 from the memory 10 that corresponds to the current ambient temperature of 20 degrees and the current water cup 300 is a ceramic water cup. Alternatively, the current ambient temperature is 25 degrees, and the current water cup 300 is a 200 ml glass water cup. The processor 20 can find the target mapping function y2 from the memory 10 that corresponds to the current ambient temperature of 25 degrees and the current water cup 300 is a glass water cup.

[0074] Then, the processor 20 determines the temperature rise of the current water cup based on the input set water outlet temperature and the target mapping function. For example, the processor 20 determines the temperature rise of the current water cup 300 as a 200 ml ceramic water cup when the current ambient temperature is 20 degrees and the type of the current water cup 300 is 200 ml based on the input set water outlet temperature of 80 degrees and the target mapping function y1; the processor 20 determines the temperature rise of the current ambient temperature of 25 degrees and the type of the current water cup 300 is 200 ml glass water cup based on the input set water outlet temperature of 90 degrees and the target mapping function y2.

[0075] Finally, the second heat loss can be determined based on the temperature rise of the current water cup and the target temperature rise parameter, and then the temperature compensation value can be determined based on the second heat loss, the preset specific heat capacity of water and the preset mass. For example, after obtaining the temperature rise of a 200 ml ceramic water cup, the processor 20 determines the heat absorbed by the 200 ml ceramic water cup based on the temperature rise and the target temperature rise parameter corresponding to the 200 ml ceramic water cup. The heat absorbed by the 200 ml ceramic water cup is the heat lost by the water in the 200 ml ceramic water cup (i.e., the second heat loss). Then, based on the second heat loss, the preset specific heat capacity of water and the preset mass (i.e., 200 grams), the water temperature reduction value of the water in the 200 ml ceramic water cup, i.e., the temperature compensation value, can be calculated.

[0076] See also Fig.10 In some embodiments, the temperature compensation method further comprises:

[0077] Step 021: obtaining a water cup 300 of a target ambient temperature and a target type, and a fourth temperature difference between the actual temperature of the water cup 300 when receiving water of a preset mass at different set water outlet temperatures and the target ambient temperature, wherein the target ambient temperature is any one of a plurality of different ambient temperatures, and the target type is any one of a plurality of different types of water cups 300;

[0078] Step 022: The set water outlet temperature and the corresponding fourth temperature difference are taken as a set of data, and multiple sets of data are fitted to obtain a preset mapping function corresponding to the target type of water cup 300 at the target ambient temperature. The preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup 300.

[0079] Specifically, different ambient temperatures and different types of water cups 300 correspond to different preset mapping functions, for example, the ambient temperature may be 15 degrees, 20 degrees, 25 degrees, etc., and the types of water cups 300 may be 200 ml ceramic water cups, 300 ml ceramic water cups, 500 ml ceramic water cups, 200 ml glass water cups, 300 ml glass water cups, 500 ml glass water cups, etc.; taking the target ambient temperature of 20 degrees and a 200 ml glass water cup as the target type of water cup 300 as an example, when the 200 ml glass water cup receives water of a preset mass (such as a preset mass of 150 grams) at different set water outlet temperatures (such as 50 degrees, 55 degrees, 60 degrees, 65 degrees, 70 degrees, 75 degrees, 80 degrees, etc.), the actual temperature of the 200 ml glass water cup (such as the temperature of the inner wall of the glass water cup or the average of the inner wall temperature and the bottom wall temperature of the glass water cup) is measured by a temperature detector to obtain the actual temperature of the 200 ml glass water cup. The difference between the temperature at 200°C and the ambient temperature is taken as the fourth temperature difference, which is the temperature rise of the 200 ml glass water cup; the fourth temperature difference of the 200 ml glass water cup and the set water outlet temperature corresponding to the fourth temperature difference are respectively taken as a group of data, for example, the fourth temperature difference is z, the set water outlet temperature is y, and each set water outlet temperature corresponds to a group of data, such as the data corresponding to the set water outlet temperature of 50 degrees is (z1, y1), the group of data corresponding to the set water outlet temperature of 55 degrees is (z2, y2), the group of data corresponding to the set water outlet temperature of 60 degrees is (z3, y3), and the group of data corresponding to the set water outlet temperature of 65 degrees is (z4, y4). Multiple groups of data are fitted to obtain the mapping function corresponding to the 200 ml glass water cup at an ambient temperature of 20 degrees, that is, y=f(z). The preset mapping function is used to characterize the temperature rise of the 200 ml glass water cup at the set water outlet temperature when the ambient temperature is 20 degrees.

[0080] See also Fig.11In order to better implement the temperature compensation method of the embodiment of the present application, the embodiment of the present application also provides a temperature compensation device 10. The temperature compensation device 10 includes a first determination module 11, a second determination module 12 and a compensation module 13. The first determination module 11 is used to determine the target temperature rise parameter that matches the type of the current water cup 300 among the preset multiple temperature rise parameters according to the type of the current water cup 300, and the target temperature rise parameter is used to characterize the heat required for the current water cup 300 to rise by one degree; the second determination module 12 is used to determine the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter; and the compensation module is used to determine the actual water outlet temperature according to the temperature compensation value and the set water outlet temperature, and discharge water according to the actual water outlet temperature.

[0081] The temperature compensation device 10 further includes a first acquisition module 14 and a recognition module 15 . The first acquisition module 14 is used to acquire an image of the water cup 300 ; the recognition module 15 is used to recognize the type of the water cup 300 through the image of the water cup 300 .

[0082] The temperature compensation device 10 also includes a second acquisition module 16, a third determination module 17 and a fourth determination module 18. The second acquisition module 16 is used to obtain a first temperature difference between the actual water temperature of each type of water cup 300 when receiving water of a preset mass and the set water outlet temperature, and a second temperature difference between the actual temperature of the water cup 300 and the ambient temperature; the third determination module 17 is used to determine the first loss heat according to the first temperature difference, the preset specific heat capacity of water and the preset mass; the fourth determination module 18 is used to determine the temperature rise parameter of each type of water cup 300 according to the first loss heat and the second temperature difference.

[0083] The second determination module 12 is specifically used to determine a preset mapping function corresponding to the type of the current water cup 300 according to the type of the current water cup 300; determine the temperature rise of the current water cup 300 according to the set water outlet temperature and the preset mapping function; and determine the temperature compensation value according to the temperature rise of the current water cup 300 and the target temperature rise parameter.

[0084] The temperature compensation device 10 also includes a third acquisition module 19 and a fourth acquisition module 20. The third acquisition module 19 is used to obtain a target type of water cup 300, a third temperature difference between the actual temperature of the water cup 300 and the ambient temperature when the water cup 300 receives water of a preset mass at different set water outlet temperatures, and the target type is any one of a plurality of different types of water cups 300; the fourth acquisition module 20 is used to take the set water outlet temperature and the corresponding third temperature difference as a set of data, and fit multiple sets of data to obtain a preset mapping function corresponding to the target type of water cup 300, and the preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup 300.

[0085] The second determination module 12 is specifically used to determine the temperature compensation value according to the set water outlet temperature, the current ambient temperature and the target temperature rise parameter; determine the target mapping function that matches the current ambient temperature and the type of the current water cup 300 among the preset multiple mapping functions according to the current ambient temperature and the current type of the water cup 300; determine the temperature rise of the current water cup 300 according to the set water outlet temperature and the target mapping function; determine the temperature compensation value according to the temperature rise of the current water cup 300 and the target temperature rise parameter. Determine the second heat loss according to the temperature rise of the current water cup 300 and the target temperature rise parameter; determine the temperature compensation value according to the second heat loss, the preset specific heat capacity of water and the preset mass.

[0086] The temperature compensation device 10 also includes a fifth acquisition module 21 and a sixth acquisition module 22. The fifth acquisition module 21 is used to obtain the target ambient temperature and the target type of the water cup 300, and the fourth temperature difference between the actual temperature of the water cup 300 when receiving water of a preset mass at different set water outlet temperatures and the target ambient temperature. The target ambient temperature is any one of a plurality of different ambient temperatures, and the target type is any one of a plurality of different types of water cups 300. The sixth acquisition module 22 is used to take the set water outlet temperature and the corresponding fourth temperature difference as a set of data, and fit multiple sets of data to obtain a preset mapping function corresponding to the target type of water cup 300 at the target ambient temperature. The preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup 300.

[0087] Please refer again Figure 2 The embodiment of the present application further provides a heating device 100, which includes a memory 10 and a processor 20. The memory 10 stores a computer program, and when the processor 20 executes the computer program, it can determine a target temperature rise parameter that matches the type of the current water cup among a plurality of preset temperature rise parameters according to the type of the current water cup, and the target temperature rise parameter is used to characterize the amount of heat required for the current water cup to rise by one degree; determine a temperature compensation value according to the set water outlet temperature and the target temperature rise parameter; determine an actual water outlet temperature according to the temperature compensation value and the set water outlet temperature, and discharge water according to the actual water outlet temperature.

[0088] The heating device 100 may be a water dispenser, a coffee machine, or the like.

[0089] Specifically, the heating device 100 also includes a mixing valve 30, which can divert the liquid flowing into the mixing valve 30. For example, the mixing valve 30 can be a three-way valve, a four-way valve, etc. Taking the mixing valve 30 as a three-way valve as an example, the mixing valve 30 includes a first water outlet and a second water outlet. The liquid flowing out of the first water outlet of the mixing valve 30 and the liquid flowing into the water inlet of the heating device 100 are heat exchanged in the heat exchanger of the heating device 100, and then merge with the liquid flowing out of the second water outlet of the mixing valve 30 and flow out. By controlling the opening of the mixing valve 30, the ratio of the liquid flowing out of the first water outlet of the mixing valve 30 and the second water outlet of the mixing valve 30 can be controlled, so that the processor 20 can control the actual water outlet temperature by controlling the opening of the mixing valve 30, so that the heating device 100 discharges water to the current water cup 30 according to the actual water outlet temperature.

[0090] See also Fig.12 The embodiment of the present application further provides a computer-readable storage medium 200 on which a computer program 210 is stored. When the computer program 210 is executed by the processor 220, the target temperature rise parameter that matches the type of the current water cup among the preset multiple temperature rise parameters is determined according to the type of the current water cup, and the target temperature rise parameter is used to characterize the amount of heat required for the current water cup to rise by one degree; a temperature compensation value is determined according to the set water outlet temperature and the target temperature rise parameter; an actual water outlet temperature is determined according to the temperature compensation value and the set water outlet temperature, and water is discharged according to the actual water outlet temperature.

[0091] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0092] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0093] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are optional and cannot be understood as limitations to the present application. A person skilled in the art can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A temperature compensation method, characterized in that: include: According to the type of the current water cup, determine a target temperature rise parameter that matches the type of the current water cup among a plurality of preset temperature rise parameters, wherein the target temperature rise parameter is used to characterize the amount of heat required for the current water cup to rise by one degree; Determining a temperature compensation value according to the set water outlet temperature and the target temperature rise parameter; The actual outlet water temperature is determined according to the temperature compensation value and the set outlet water temperature, and water is discharged according to the actual outlet water temperature.

2. The temperature compensation method according to claim 1, characterized in that: Also includes: Acquire an image of the water cup; The type of the water cup is identified through the image of the water cup.

3. The temperature compensation method according to claim 1, characterized in that: Also includes: Obtaining a first temperature difference between the actual water temperature of each type of water cup when receiving water of a preset mass and the set water outlet temperature, and a second temperature difference between the actual temperature of the water cup and the ambient temperature; determining a first heat loss according to the first temperature difference, a preset specific heat capacity of water and the preset mass; and The temperature rise parameter of each type of water cup is determined according to the first heat loss and the second temperature difference.

4. The temperature compensation method according to claim 1, characterized in that: The step of determining the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter comprises: According to the type of the current water cup, determining a preset mapping function corresponding to the type of the current water cup; Determining the temperature rise of the current water cup according to the set water outlet temperature and the preset mapping function; and The temperature compensation value is determined according to the current temperature rise of the water cup and the target temperature rise parameter.

5. The temperature compensation method according to claim 4, characterized in that: Also includes: Obtain a target type of water cup, a third temperature difference between the actual temperature of the water cup and the ambient temperature when the water cup receives water of preset mass at different set water outlet temperatures, the target type being any one of a plurality of different water cup types; The set water outlet temperature and the corresponding third temperature difference are taken as a set of data, and multiple sets of data are fitted to obtain a preset mapping function corresponding to the target type of water cup, and the preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup.

6. The temperature compensation method according to claim 1, characterized in that: The step of determining the temperature compensation value according to the set water outlet temperature and the target temperature rise parameter comprises: The temperature compensation value is determined according to the set water outlet temperature, the current ambient temperature and the target temperature rise parameter.

7. The temperature compensation method according to claim 6, characterized in that: The step of determining the temperature compensation value according to the set water outlet temperature, the current ambient temperature and the target temperature rise parameter includes: According to the current ambient temperature and the current type of the water cup, determining a target mapping function that matches both the current ambient temperature and the current type of the water cup among a plurality of preset mapping functions; Determining the temperature rise of the current water cup according to the set water outlet temperature and the target mapping function; The temperature compensation value is determined according to the current temperature rise of the water cup and the target temperature rise parameter.

8. The temperature compensation method according to claim 4 or 7, characterized in that: The determining the temperature compensation value according to the current temperature rise of the water cup and the target temperature rise parameter includes: Determining a second heat loss according to the current temperature rise of the water cup and the target temperature rise parameter; The temperature compensation value is determined according to the second heat loss, a preset specific heat capacity and a preset mass of water.

9. The temperature compensation method according to claim 7, characterized in that: Also includes: Obtaining a water cup with a target ambient temperature and a target type, and a fourth temperature difference between an actual temperature of the water cup when receiving water of a preset mass at different set water outlet temperatures and the target ambient temperature, wherein the target ambient temperature is any one of a plurality of different ambient temperatures, and the target type is any one of a plurality of different water cup types; The set water outlet temperature and the corresponding fourth temperature difference are taken as a set of data, and multiple sets of data are fitted to obtain a preset mapping function corresponding to the target type of water cup at the target ambient temperature, and the preset mapping function is used to characterize the mapping relationship between the set water outlet temperature and the temperature rise of the water cup.

10. The temperature compensation method according to claim 6, characterized in that: The current ambient temperature is the water inlet temperature.

11. A temperature compensation device, characterized in that: include: A first determination module is used to determine, according to the type of the current water cup, a target temperature rise parameter that matches the type of the current water cup among a plurality of preset temperature rise parameters, wherein the target temperature rise parameter is used to characterize the amount of heat required for the current water cup to rise by one degree; A second determination module is used to determine a temperature compensation value according to a set water outlet temperature and the target temperature rise parameter; The compensation module is used to determine the actual outlet water temperature according to the temperature compensation value and the set outlet water temperature, and to discharge water according to the actual outlet water temperature.

12. A heating device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the temperature compensation method according to any one of claims 1 to 10 is implemented.

13. The heating device according to claim 12, characterized in that: The heating device comprises a water mixing valve, and the opening degree of the water mixing valve is determined according to the actual outlet water temperature.

14. A non-volatile computer-readable storage medium containing a computer program, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the temperature compensation method according to any one of claims 1 to 10 is implemented.