Target liquid temperature determination method, liquid supply regulating valve control method and beverage machine
By judging the temperature difference value of the target liquid and choosing an appropriate temperature measurement method, the problem of lag of the temperature sensor during rapid changes is solved, and more accurate temperature detection and control is achieved.
Patent Information
- Application Number
- CN202411959548.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-12-27
AI Technical Summary
The existing temperature sensors have a hysteresis when the temperature changes rapidly, resulting in inaccurate temperature detection and affecting the temperature control effect of the beverage machine.
By judging the temperature difference value of the target liquid within a period of time before the current time, select the appropriate temperature measurement method for temperature correction. Specific methods include determining the temperature correction value based on the current and historical temperature detection values and sensor parameters, or directly using the temperature sensor to detect the temperature value.
Effectively correct the hysteresis of temperature detection values and improve the accuracy of temperature detection, especially when the temperature changes rapidly, ensuring the temperature control effect of the beverage machine.
Smart Images

Figure CN119632414A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of beverage preparation equipment, and in particular to a method for determining the temperature of a target liquid, a method for controlling a liquid supply regulating valve, and a beverage machine. Background Art
[0002] Currently, temperature sensors are mostly used in beverage machines to detect temperature.
[0003] Existing temperature sensors may have a certain hysteresis when performing temperature detection. That is, when the actual temperature changes rapidly, the measured value of the temperature sensor will lag behind the actual temperature and cannot reflect the actual temperature change, thus affecting the accuracy of temperature detection. Summary of the invention
[0004] The present application provides a method for determining the temperature of a target liquid, a method for controlling a liquid supply regulating valve, and a beverage machine, aiming to solve at least one of the above technical defects. The technical solution adopted in the present application is as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for determining the temperature of a target liquid, the method comprising:
[0006] Determine, based on the temperature sensor, a target temperature difference between the target liquid at a current moment and the target liquid within a first preset time period before the current moment;
[0007] When the target temperature difference value is greater than the preset temperature difference value, the target temperature value of the target liquid at the current moment is determined based on the first temperature measurement method, the first temperature measurement method is: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time and the sensor parameter of the temperature sensor, the temperature correction value is determined and the temperature correction value is determined as the target temperature value, and the target historical moment is the moment before the second preset time of the current moment;
[0008] When the target temperature difference is less than or equal to the preset temperature difference, the target temperature of the target liquid at the current moment is determined based on the first temperature measurement method or the second temperature measurement method. The second temperature measurement method is: the temperature detection value of the target liquid detected by the temperature sensor at the current moment is determined as the target temperature value.
[0009] In a second aspect, an embodiment of the present application provides another method for determining the temperature of a target liquid, the method comprising:
[0010] Obtaining a change in the amount of a target liquid stored in a liquid storage tank of a beverage machine;
[0011] Determine the temperature measurement scenario in the liquid storage tank based on the change in storage volume;
[0012] The temperature measurement scenarios include a fluid replenishment scenario and a non-fluid replenishment scenario. The fluid replenishment scenario corresponds to the first temperature measurement method, and the non-fluid replenishment scenario corresponds to the first temperature measurement method or the second temperature measurement method.
[0013] Adopting a temperature measurement method corresponding to the temperature measurement scenario to determine the target temperature value of the target liquid at the current moment;
[0014] The first temperature measurement method is: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time and the sensor parameters of the temperature sensor, determine the temperature correction value and determine the temperature correction value as the target temperature value, and the target historical moment is the moment before the second preset time at the current moment;
[0015] The second temperature measurement method is: determining the temperature detection value of the target liquid detected by the temperature sensor at the current moment as the target temperature value.
[0016] In a third aspect, an embodiment of the present application provides a liquid supply regulating valve control method, which is applied to a beverage machine, wherein the beverage machine includes a liquid supply pipeline, the liquid supply pipeline is used to transport a target liquid to prepare a beverage, and a liquid supply regulating valve is arranged on the liquid supply pipeline, the method comprising:
[0017] Obtaining a target temperature value of the target liquid at the current moment, the target temperature value being determined based on the above temperature determination method;
[0018] The valve opening of the liquid supply regulating valve is controlled based on the target temperature value.
[0019] In a fourth aspect, an embodiment of the present application provides a beverage machine, including a liquid storage tank, the liquid storage tank is used to store a target liquid, the target liquid is used for the beverage machine to make beverages, and the beverage machine also includes:
[0020] A temperature sensor is arranged in the liquid storage tank and is used to detect the temperature detection value of the target liquid;
[0021] The controller is connected to the temperature sensor for communication, and the controller is configured to execute the above-mentioned temperature determination method.
[0022] The beneficial effects of the technical solution provided by the embodiment of the present application are:
[0023] In the present application, by judging the target temperature difference value within a period of time before the current moment and selecting an appropriate temperature measurement method according to the target temperature difference value, it is possible to effectively correct the temperature detection value when the temperature changes rapidly, effectively respond to rapid temperature changes, and provide more accurate temperature detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0025] Figure 1 A schematic flow chart of a method for determining the temperature of a target liquid provided in an embodiment of the present application;
[0026] Figure 2 A schematic flow chart of another method for determining the temperature of a target liquid provided in an embodiment of the present application;
[0027] Figure 3 A flow chart of a liquid supply regulating valve control method provided in an embodiment of the present application;
[0028] Figure 4 A cross-sectional view of a liquid supply regulating valve is provided for an embodiment of the present application;
[0029] Figure 5 This is a schematic diagram of the structure of a beverage machine provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0031] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0032] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0033] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0034] Existing temperature sensors may have a certain hysteresis when performing temperature detection, that is, when the actual temperature changes rapidly, the temperature measurement value of the temperature sensor will lag behind the actual temperature and cannot reflect the actual temperature change, affecting the accuracy of temperature detection. Especially when the temperature difference before and after the measured target changes greatly, the hysteresis of the temperature sensor is more obvious, seriously affecting the accuracy of temperature detection.
[0035] Currently, most temperature sensors used in beverage machines are temperature sensors based on thermistors (Negative Temperature Coefficient, NTC).
[0036] Thermistor-based temperature sensors generally determine temperature measurement values in the following two ways. One is to use a table lookup method, which determines the resistance value of the thermistor at different temperatures by pre-calculating to build a thermistor resistance value and temperature comparison table, and quickly obtain the temperature measurement value by looking up the table during measurement; the other is to calculate using the B value formula, which uses the reference temperature, the resistance value of the thermistor at the current temperature, the resistance value at the reference temperature, and the B value constant to calculate and determine the temperature measurement value.
[0037] When a thermistor-based temperature sensor is used to measure temperature, the resistance value change of the thermistor has a certain hysteresis. When the temperature changes rapidly, the resistance value change of the thermistor will lag behind the actual temperature change, and it will not be able to reflect the real temperature change, causing the temperature measurement value to lag behind the actual temperature, resulting in inaccurate temperature measurement. The hysteresis of the resistance value of the thermistor is related to the time constant of the thermistor. The larger the time constant, the slower the thermistor responds to temperature changes, and the smaller the time constant, the faster the thermistor responds to temperature changes. Therefore, using a thermistor with a smaller time constant can improve the accuracy of temperature measurement, but thermistors with smaller time constants are more expensive.
[0038] Figure 1 FIG. 2 is a flow chart showing a method for determining the temperature of a target liquid provided in an embodiment of the present application. Figure 1 As shown, the method may mainly include:
[0039] Step S110: determining a target temperature difference between the target liquid at the current moment and the target liquid within a first preset time period before the current moment based on the temperature sensor 520;
[0040] Step S120: when the target temperature difference value is greater than the preset temperature difference value, the target temperature value of the target liquid at the current moment is determined based on the first temperature measurement method, the first temperature measurement method is: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time and the sensor parameter of the temperature sensor 520, the temperature correction value is determined and the temperature correction value is determined as the target temperature value, and the target historical moment is the moment before the second preset time of the current moment;
[0041] Step S130: When the target temperature difference is less than or equal to the preset temperature difference, the target temperature of the target liquid at the current moment is determined based on the first temperature measurement method or the second temperature measurement method. The second temperature measurement method is: the temperature detection value of the target liquid detected by the temperature sensor 520 at the current moment is determined as the target temperature value.
[0042] It can be seen from the above process that in this application, by judging the target temperature difference value within a period of time before the current moment, and selecting a suitable temperature measurement method according to the target temperature difference value, it is possible to achieve effective correction of the temperature detection value when the temperature changes rapidly, effectively cope with the rapid temperature change situation, and provide a more accurate temperature detection result. The following is a detailed description of each step in the above process and the effects that can be further produced in conjunction with the embodiments. It should be noted that the "first", "second" and other limitations involved in the present disclosure do not have restrictions on size, order and quantity, and are only used to distinguish in name, such as "first temperature measurement method" and "second temperature measurement method" are used to distinguish between two temperature measurement methods. First, the above step S110, i.e. "determining the target temperature difference value of the target liquid at the current moment and the target liquid within the first preset time before the current moment based on the temperature sensor 520", is described in detail in conjunction with the embodiments.
[0043] The target liquid is used to prepare beverages in a beverage machine. The temperature sensor 520 is used to detect the temperature of the target liquid in the beverage machine.
[0044] As an example, the beverage machine may be provided with a liquid storage tank 510, and the target liquid may be stored in the liquid storage tank 510. When preparing a beverage, the target liquid may be drawn out of the liquid storage tank 510. In this example, a temperature sensor 520 may be provided in the liquid storage tank 510 to detect the temperature of the target liquid in the liquid storage tank 510, thereby providing a basis for controlling the temperature of the prepared beverage based on the temperature of the target liquid in the liquid storage tank 510.
[0045] As an example, the target liquid may be milk, which is stored in a liquid storage tank 510 in a beverage machine. The beverage machine may also be provided with a refrigerating chamber 550, and the liquid storage tank 510 is placed in the refrigerating chamber 550, so that the milk in the liquid storage tank 510 can be kept at a relatively low temperature, thereby achieving the preservation of the milk. In this case, when the liquid storage tank 510 is replenished with milk, since the replenished milk is mostly at room temperature, that is, the temperature difference between the replenished milk and the milk in the liquid storage tank 510 is relatively large, the temperature of the milk in the liquid storage tank 510 may change rapidly. Of course, the liquid storage tank 510 is not limited to being arranged in a refrigerated environment, and may also be arranged in a normal temperature environment. In this case, when the refrigerated milk is replenished in the liquid storage tank 510, the temperature of the milk in the liquid storage tank 510 may also change rapidly.
[0046] The first preset time period may be a short time period before the current moment, and the target temperature difference between the target liquid at the current moment and the target liquid within the first preset time period can reflect the temperature change of the target liquid in a short time.
[0047] As an example, the first preset time length may be 1 second, the temperature of the target liquid may be detected every 1 second, and the target temperature difference value before and after 1 second may be calculated.
[0048] The above step S120, namely "when the target temperature difference value is greater than the preset temperature difference value, determining the target temperature value of the target liquid at the current moment based on the first temperature measurement method" is described in detail below in conjunction with the embodiments.
[0049] The target temperature value represents the temperature value determined by the temperature determination method in the embodiment of the present application, which can be used as the final output temperature value of the temperature sensor.
[0050] The target temperature difference value can reflect the temperature change of the target liquid in a short period of time. When the target temperature difference value is greater than the preset temperature difference value, it means that the temperature change of the target liquid in the first preset time before the current moment is large, that is, there is a situation of rapid temperature change. At this time, the first temperature measurement method can be used to measure the temperature. The first temperature measurement method can effectively adapt to the situation of rapid temperature change and improve the accuracy of temperature detection.
[0051] The first temperature measurement method is specifically: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time length and the sensor parameters of the temperature sensor 520, determine the temperature correction value, and determine the temperature correction value as the target temperature value.
[0052] The target historical moment is the moment before the second preset time period. The sensor parameter of the temperature sensor 520 can reflect the temperature change characteristics of the temperature sensor 520. As an example, the temperature sensor 520 is a thermistor temperature sensor 520, and the sensor parameter of the temperature sensor 520 can be specifically the time constant of the thermistor in the temperature sensor 520.
[0053] In a thermal inertia system, the temperature of an object will transition to an equilibrium state under the influence of the external ambient temperature. In the temperature transition process of the temperature sensor 520 in this case, the influencing factors mainly include the initial temperature of the sensor and the inherent characteristics of the thermistor in the sensor. Among them, the temperature of the sensor at the target historical moment can be used as the initial temperature, and the inherent characteristics of the thermistor are mainly reflected by the sensor parameters of the temperature sensor 520.
[0054] As an example, the algorithm corresponding to the first temperature measurement method can be reflected by the following formula:
[0055]
[0056] Wherein, T represents the temperature correction value, T1 represents the temperature detection value at the target historical moment, T2 represents the temperature detection value at the current moment, t represents the second preset time length, and coeff represents the time constant of the thermistor in the temperature sensor 520 .
[0057] Through the first temperature measurement method, it is possible to effectively correct the temperature detection value when the temperature changes rapidly, thereby providing a more accurate temperature detection result.
[0058] The following is a detailed description of step S130, i.e., "when the target temperature difference value is less than or equal to the preset temperature difference value, determining the target temperature value of the target liquid at the current moment based on the first temperature measurement method or the second temperature measurement method, the first temperature measurement method being: determining the temperature detection value of the target liquid detected by the temperature sensor 520 at the current moment as the target temperature value" in conjunction with an embodiment.
[0059] Among them, when the target temperature difference value is not greater than the preset temperature difference value, it means that the temperature change of the target liquid within the first preset time period before the current moment is small, that is, there is no rapid temperature change. At this time, the difference between the target temperature values obtained by the first temperature measurement method (that is, directly using the temperature detection value as the target temperature value) and the second temperature measurement method is small. Choosing to use the first temperature measurement method or the second temperature measurement method can obtain a more accurate target temperature value.
[0060] In an optional manner of the embodiment of the present application, the target temperature difference value is any one of the following:
[0061] a difference between a temperature correction value of the target liquid at the current moment and a temperature detection value of the target liquid within a first preset time period before the current moment;
[0062] The difference between the temperature correction value of the target liquid at the current moment and the temperature correction value of the target liquid within a first preset time period before the current moment.
[0063] In an embodiment of the present application, when determining the target temperature difference value, the temperature correction value at the current moment can be compared with the temperature detection value within the first preset time period, or the temperature correction value at the current moment can be compared with the temperature correction value within the first preset time period, both of which can determine the temperature change within the first preset time period.
[0064] As an example, the target temperature value at the current moment may be compared with the temperature correction value within the first preset time period to determine the target temperature difference.
[0065] In an optional manner of an embodiment of the present application, the first preset time length is 1 second to 2.5 seconds, and the preset temperature difference value is not less than 5°.
[0066] As an example, the first preset time length may be 1 second, and the preset temperature difference may be 5°.
[0067] As another example, the first preset time length may be 2.5 seconds, and the preset temperature difference may be 5°.
[0068] Figure 2 FIG. 2 is a flow chart showing another method for determining the temperature of a target liquid provided in an embodiment of the present application. Figure 2 As shown, the method may mainly include:
[0069] Step S210: obtaining the storage change of the target liquid stored in the liquid storage tank 510 of the beverage machine;
[0070] Step S220: based on the change in the storage amount, determining the temperature measurement scenario in the liquid storage tank 510, the temperature measurement scenario including a liquid replenishment scenario and a non-liquid replenishment scenario, the liquid replenishment scenario corresponds to the first temperature measurement method, and the non-liquid replenishment scenario corresponds to the first temperature measurement method or the second temperature measurement method;
[0071] Step S230: Adopt a temperature measurement method corresponding to the temperature measurement scenario to determine the target temperature value of the target liquid at the current moment, wherein the first temperature measurement method is: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time length and the sensor parameters of the temperature sensor 520, determine the temperature correction value and determine the temperature correction value as the target temperature value, the target historical moment is the moment before the second preset time length at the current moment; the second temperature measurement method is: determine the temperature detection value of the target liquid detected by the temperature sensor 520 at the current moment as the target temperature value.
[0072] It can be seen from the above process that in the present application, the change in the reserve of the target liquid in the liquid storage tank 510 can be used to determine whether the liquid storage tank 510 is in a liquid replenishment scenario or a non-liquid replenishment scenario, and a suitable temperature measurement method can be selected according to the scenario, which can effectively cope with rapid temperature changes and improve the accuracy of temperature detection.
[0073] The following describes in detail each step in the above process and the effects that can be further produced in conjunction with the embodiments.
[0074] First, the above step S210, namely "obtaining the storage amount change of the target liquid stored in the liquid storage tank 510 of the beverage machine", is described in detail in conjunction with the embodiment.
[0075] The liquid storage tank 510 is a component in the beverage machine for storing the target liquid. When a beverage is needed, the target liquid can be guided out of the liquid storage tank 510 .
[0076] The amount of target liquid stored in the liquid storage tank 510 will decrease with use. When the target liquid is replenished into the liquid storage tank 510 (ie, in the liquid replenishment scenario), the temperature of the target liquid in the liquid storage tank 510 may change rapidly.
[0077] As an example, if the target liquid is milk, the beverage machine can also be provided with a refrigerator 550, and the liquid storage tank 510 is placed in the refrigerator 550, so that the milk in the liquid storage tank 510 can be kept at a relatively low temperature, thereby preserving the milk. In this case, when the liquid storage tank 510 is replenished with milk, since the replenished milk is mostly at room temperature, that is, the temperature difference between the replenished milk and the milk in the liquid storage tank 510 is relatively large, the temperature of the milk in the liquid storage tank 510 may change rapidly.
[0078] The above step S220, namely "determining the temperature measurement scenario in the liquid storage tank 510 based on the change in the storage amount", is described in detail below in conjunction with the embodiments.
[0079] When milk is added to the liquid storage tank 510, the storage capacity of the liquid storage tank 510 will inevitably change. Therefore, it is possible to determine whether the liquid storage tank 510 is in a liquid replenishment scenario or a non-liquid replenishment scenario based on the change in the storage capacity.
[0080] As an example, when the change in the target liquid storage amount in the liquid storage tank 510 meets the preset change condition, it can be determined that the liquid storage tank 510 is in a liquid replenishment scenario; when the change in the target liquid storage amount in the liquid storage tank 510 does not meet the preset change condition, it can be determined that the liquid storage tank 510 is in a non-liquid replenishment scenario.
[0081] In this example, the preset change is: the reserve of the target liquid is first less than the first designated reserve, and then the reserve of the target liquid increases to be greater than the second designated reserve within a fourth preset time period.
[0082] The first designated reserve may be a smaller reserve value, the second designated reserve may be a reserve value not less than the first designated reserve value, and the fourth preset duration may be the duration required for the fluid replenishment action, such as 30 seconds. If the target liquid reserve is less than the first designated reserve value, it indicates that the target liquid reserve in the fluid storage tank 510 is already smaller, and then within the fourth preset duration, the target liquid reserve increases to be greater than the second designated reserve value, indicating that the target liquid reserve in the fluid storage tank 510 increases rapidly. At this time, it can be determined that the fluid replenishment scene is in progress.
[0083] In this example, the specific description of the first temperature measurement method and the second temperature measurement method can refer to the above example.
[0084] The above step S230, namely "adopting a temperature measurement method corresponding to the temperature measurement scenario to determine the target temperature value of the target liquid at the current moment", is described in detail below in conjunction with an embodiment.
[0085] In the embodiment of the present application, the first temperature measurement method can effectively correct the temperature detection value when the temperature changes rapidly, provide a more accurate temperature detection result, and can be effectively adapted to the fluid infusion scene. Therefore, a corresponding relationship can be established between the first temperature measurement method and the fluid infusion scene, so that in the case of the fluid infusion scene, the first temperature measurement method is used to measure the target temperature value of the target liquid.
[0086] In the non-fluid refilling scenario, the temperature of the target liquid will not change rapidly. At this time, the difference between the target temperature values obtained by the first temperature measurement method and the second temperature measurement method is small, and the first temperature measurement method or the second temperature measurement method can be used to obtain a relatively accurate target temperature value. Therefore, a corresponding relationship can be established between the first temperature measurement method or the second temperature measurement method and the non-fluid refilling scenario, so that in the non-fluid refilling scenario, the first temperature measurement method or the second temperature measurement method can be used to measure the target temperature value of the target liquid.
[0087] By establishing corresponding relationships between the fluid replenishment scenario and the non-fluid replenishment scenario and the temperature measurement method respectively, the temperature measurement method suitable for the scenario can be selected during temperature measurement to improve the accuracy of temperature detection.
[0088] In an optional manner of the embodiment of the present application, the reserve change is determined by at least one of the following methods:
[0089] Determine the change in storage volume based on the change in weight of the target liquid in the liquid storage tank 510;
[0090] Based on the change in the liquid level of the target liquid in the liquid storage tank 510, the change in the storage amount is determined.
[0091] In the embodiment of the present application, the change in storage capacity can be specifically reflected by the change in weight or the change in liquid level of the target liquid in the liquid storage tank 510.
[0092] The weight change and liquid level change of the target liquid can be detected by corresponding detection devices.
[0093] In an optional manner of an embodiment of the present application, a change in the liquid level of the target liquid is detected by an internal liquid level sensor or a corresponding beam sensor, and / or a change in the weight of the target liquid is detected by a weighing sensor.
[0094] A liquid level sensor or a through-beam sensor may be provided to monitor the liquid level of the target liquid, and a weighing sensor may be provided to monitor the weight of the target liquid.
[0095] As an example, the liquid level sensor may be a liquid level probe, the head of which may be disposed near the bottom of the liquid storage tank 510. When the liquid level probe cannot detect the target liquid, a liquid replenishment prompt message may be issued to prompt the user to replenish the target liquid. After the user replenishes the target liquid, the liquid level probe may detect the target liquid again.
[0096] As an example, the target liquid is milk, the liquid storage tank 510 can be made of a nearly transparent material, and the through-beam sensor can be set near the bottom of the liquid storage tank 510. When the liquid level in the liquid storage tank 510 is lower than the detection position of the through-beam sensor, the optical signal sent by the transmitting end of the through-beam sensor can pass through the liquid storage tank 510 and be received by the receiving end of the through-beam sensor. When the liquid level in the liquid storage tank 510 is higher than the detection position of the through-beam sensor, the optical signal sent by the transmitting end of the through-beam sensor cannot pass through the liquid storage tank 510 and the milk in the liquid storage tank 510, and cannot be received by the receiving end of the through-beam sensor. Therefore, the liquid level change can be monitored based on whether the receiving end of the through-beam sensor can receive the optical signal sent by the transmitting end of the through-beam sensor.
[0097] As an example, the liquid storage tank 510 is placed in the refrigerating chamber 550, and a weighing sensor is arranged below the liquid storage tank in the refrigerating chamber 550 to monitor the weight change of the target liquid.
[0098] In an optional manner of the embodiment of the present application, in response to the liquid storage tank 510 being in a liquid replenishment scenario, the method further includes:
[0099] Within the third specified time period at the current moment, the first temperature measurement method is used to determine the target temperature value of the target liquid at the current moment.
[0100] In the embodiment of the present application, when it is determined that the liquid storage tank 510 is in a liquid replenishment scenario, the rapid change in temperature of the target liquid in the liquid replenishment scenario generally lasts for a period of time, and the first temperature measurement method can be used to measure the temperature during this period of continuous rapid temperature change.
[0101] The third designated time duration is the duration of the rapid change in the target liquid temperature. The third designated time duration may be set according to actual conditions, for example, set to 5 seconds.
[0102] In an optional manner of an embodiment of the present application, the beverage machine also includes a refrigeration chamber 550, and the liquid storage tank 510 is placed in the refrigeration chamber 550. The temperature of the target liquid used to replenish the liquid storage tank 510 to achieve the replenishment operation has a temperature difference with the refrigeration set temperature of the target liquid in the liquid storage tank 510 that is greater than a preset value.
[0103] In the embodiment of the present application, the beverage machine can also be provided with a refrigerating chamber 550, and the liquid storage tank 510 is placed in the refrigerating chamber 550, so that the target liquid in the liquid storage tank 510 can maintain a relatively low temperature. As an example, the target liquid is milk, and by providing the refrigerating chamber 550, the milk can be refrigerated and kept fresh.
[0104] The refrigeration setting temperature is the ideal refrigeration temperature of the target liquid, that is, the temperature that the target liquid itself needs to maintain. At this temperature, the target liquid has a better preservation effect. By placing the liquid storage tank 510 in the refrigeration chamber 550 for refrigeration, the target liquid can be stored at the refrigeration setting temperature.
[0105] The temperature of the target liquid used to replenish the liquid storage tank 510 is mostly room temperature, and the temperature difference between the temperature of the target liquid in the liquid storage tank 510 is generally greater than the preset value, that is, the temperature difference between the two is large. The newly replenished target liquid will cause a rapid temperature change of the target liquid in the liquid storage tank 510. By configuring the first temperature measurement method, effective correction of the temperature detection value can be achieved when the temperature changes rapidly, thereby providing a more accurate temperature detection result.
[0106] Figure 3 The flow chart of a liquid supply regulating valve control method provided in an embodiment of the present application is shown. The method is applied to a beverage machine, which includes a liquid supply pipeline 540, the liquid supply pipeline 540 is used to transport the target liquid to prepare the beverage, and the liquid supply regulating valve 400 is arranged on the liquid supply pipeline 540, such as Figure 3 As shown, the method may mainly include:
[0107] Step 310: obtaining a target temperature value of the target liquid at the current moment, where the target temperature value is determined based on the temperature determination method described above;
[0108] Step 320: Control the valve opening of the liquid supply regulating valve 400 based on the target temperature value.
[0109] It can be seen from the above process that the target liquid temperature determination method in the present application can provide a more accurate target temperature value as a detection result, so that the valve opening of the liquid supply regulating valve 400 is controlled based on the target temperature value, which can more accurately control the beverage temperature.
[0110] The following describes in detail each step in the above process and the effects that can be further produced in conjunction with the embodiments.
[0111] First, the above step S310, namely "obtaining the target temperature value of the target liquid at the current moment, where the target temperature value is determined based on the above temperature determination method", is described in detail in conjunction with the embodiment.
[0112] Among them, the target temperature value of the target liquid in the beverage machine directly affects the temperature of the final output beverage. Therefore, accurately detecting the temperature of the target liquid is of great significance to accurately controlling the temperature of the output beverage.
[0113] In the embodiment of the present application, the target liquid temperature can be effectively determined by the above-mentioned target liquid temperature determination method, thereby improving the accuracy of temperature control of the output beverage.
[0114] The above step S320, namely "controlling the valve opening of the liquid supply regulating valve 400 based on the target temperature value", is described in detail below in conjunction with an embodiment.
[0115] The liquid supply regulating valve 400 is provided on the liquid supply pipeline 540. By controlling the valve opening of the liquid supply regulating valve 400, the flow cross-sectional area of the liquid supply pipeline 540 can be controlled, thereby realizing flow control of the liquid supply pipeline 540. By controlling the flow of the liquid supply pipeline 540, the temperature of the output beverage can be controlled.
[0116] As an example, the target liquid is milk, and the prepared beverage is hot milk. In this scenario, hot milk is prepared by injecting milk and steam into a mixing container. When the amount of steam is fixed, the temperature of the hot milk can be controlled by adjusting the flow of the target liquid. For example, when the temperature of the milk in the liquid storage tank 510 is low, the flow of the milk in the liquid supply pipeline 540 can be reduced so that the milk is more fully heated; correspondingly, when the temperature of the milk in the liquid storage tank 510 is high, the flow of the milk in the liquid supply pipeline 540 can be increased to avoid the milk temperature being too high.
[0117] In an optional manner of the embodiment of the present application, the beverage machine further includes a valve motor 440, which is used to adjust the opening of the liquid supply regulating valve 400. The valve opening of the liquid supply regulating valve 400 is controlled based on the target temperature value, including:
[0118] Get the set temperature of the beverage;
[0119] Determine the temperature difference between the target temperature value and the set temperature;
[0120] Based on a preset correspondence between the temperature difference and the number of rotation steps, and based on the temperature difference between the target temperature value and the set temperature, determining a target number of rotation steps;
[0121] The number of rotation steps of the regulating valve motor 440 reaches the target number of rotation steps to adjust the valve opening of the system and supply liquid regulating valve 400.
[0122] The valve motor 440 is used to adjust the opening of the liquid supply regulating valve 400. As an example, the number of steps of the valve motor 440 is positively correlated with the valve opening, and the smaller the number of steps of the valve motor 440, the smaller the valve opening, and the larger the number of steps of the valve motor 440, the larger the valve opening.
[0123] The liquid supply regulating valve 400 may include, but is not limited to, various types of solenoid valves.
[0124] The set temperature is the expected temperature of the beverage output by the beverage machine, wherein the beverage is hot milk or hot milk foam. Taking the beverage as hot milk as an example, the temperature difference between the target temperature value and the set temperature represents the temperature value raised by the steam to heat the milk.
[0125] It is understandable that when the temperature difference is large, the valve opening of the liquid supply regulating valve 400 can be small so that the target liquid can be fully heated. When the temperature difference is small, the valve opening of the liquid supply regulating valve 400 can be large to avoid the target liquid from being too hot.
[0126] In the embodiment of the present application, a preset correspondence between the temperature difference and the number of rotation steps can be set, and the number of steps of the valve motor 440 can be quickly determined based on the preset correspondence, thereby achieving adjustment of the valve opening.
[0127] As an example, the temperature difference is 0-10°, and the corresponding number of rotation steps is 51. The temperature difference is 15-20°, and the corresponding number of rotation steps is 75.
[0128] As an example, Figure 4 It is a cross-sectional view of a liquid supply regulating valve 400 provided in an embodiment of the present application.
[0129] like Figure 4 As shown in FIG. 4 , the liquid supply regulating valve 400 includes a regulating valve inlet 410 , a regulating valve outlet 420 , a valve core 430 and a valve motor 440 .
[0130] The regulating valve inlet 410 and the regulating valve outlet 420 are respectively connected to the liquid supply pipeline 540 , so that the liquid supply regulating valve 400 is connected to the liquid supply pipeline 540 .
[0131] In this example, the output shaft of the valve motor 440 can drive the valve core 430 to move in the valve cavity. By controlling the motor steps of the valve motor 440, the position of the valve core 430 in the valve cavity can be controlled, thereby controlling the opening of the liquid supply regulating valve 400. The larger the opening of the liquid supply regulating valve 400, the larger the flow cross-sectional area between the regulating valve inlet 410 and the regulating valve outlet 420; the smaller the opening of the liquid supply regulating valve 400, the smaller the flow cross-sectional area between the regulating valve inlet 410 and the regulating valve outlet 420.
[0132] Figure 5 The schematic diagram of the structure of a beverage machine provided by an embodiment of the present application is shown. The beverage machine includes a liquid storage tank 510, the liquid storage tank 510 is used to store a target liquid, and the target liquid is used for the beverage machine to make beverages. The beverage machine also includes:
[0133] The temperature sensor 520 is disposed in the liquid storage tank 510 and is used to detect the temperature value of the target liquid;
[0134] The controller 530 is in communication with the temperature sensor 520 , and the controller 530 is configured to execute the above-mentioned temperature determination method.
[0135] The temperature sensor can detect the temperature of the target liquid in the liquid storage tank.
[0136] The controller 530 can detect the temperature value and the above Figure 1-Figure 2 The temperature determination method in the example shown determines a target temperature value.
[0137] In an optional manner of the embodiment of the present application, the beverage machine also includes at least one of a liquid level sensor, a beam sensor detection sensor and a weighing sensor, which is used to obtain the storage change of the target liquid stored in the liquid storage tank 510.
[0138] Among them, the liquid level sensor and the through-beam sensor are used to detect the change of the liquid level in the liquid storage tank, and the weighing sensor is used to detect the change of the weight in the liquid storage tank. The change of the storage amount of the target liquid can be determined by the change of the liquid level or weight.
[0139] As an example, the liquid level sensor and the through-beam sensor may be disposed near the bottom of the liquid storage tank 510 .
[0140] As an example, the liquid storage tank 510 is placed in the refrigerating chamber 550 , and the weighing sensor is arranged below the liquid storage tank in the refrigerating chamber 550 .
[0141] In an optional manner of the embodiment of the present application, the beverage machine further includes a liquid supply pipeline 540, and the liquid supply pipeline 540 is used to transport the target liquid to make beverages. The beverage machine also includes:
[0142] The liquid supply regulating valve 400 is arranged on the liquid supply pipeline 540;
[0143] The valve motor 440 is connected to the controller 530 for adjusting the opening of the liquid supply regulating valve 400;
[0144] The controller 530 is further configured to execute the above-mentioned liquid supply regulating valve control method.
[0145] The controller 530 can be based on the above Figure 3 The liquid supply regulating valve control method in the example shown controls the number of rotation steps of the valve motor 440 to control the opening of the liquid supply regulating valve 400, and then adjusts the area of the flow cross-section of the liquid supply pipeline 540, thereby controlling the output temperature of the beverage by controlling the flow rate of the target liquid.
[0146] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, in which the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.
[0147] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0148] The above descriptions are only some embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for determining the temperature of a target liquid, wherein the target liquid is used for making beverages in a beverage machine, characterized in that: include: Determine, based on a temperature sensor, a target temperature difference between the target liquid at a current moment and the target liquid within a first preset time period before the current moment; When the target temperature difference value is greater than the preset temperature difference value, determining the target temperature value of the target liquid at the current moment based on a first temperature measurement method, wherein the first temperature measurement method is: determining a temperature correction value based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, a second preset time, and a sensor parameter of the temperature sensor, and determining the temperature correction value as the target temperature value, wherein the target historical moment is a moment before the second preset time of the current moment; When the target temperature difference value is less than or equal to the preset temperature difference value, the target temperature value of the target liquid at the current moment is determined based on the first temperature measurement method or the second temperature measurement method. The second temperature measurement method is: the temperature detection value of the target liquid detected by the temperature sensor at the current moment is determined as the target temperature value.
2. The method according to claim 1, characterized in that The target temperature difference is any of the following: a difference between a temperature correction value of the target liquid at a current moment and a temperature detection value of the target liquid within a first preset time period before the current moment; The difference between the temperature correction value of the target liquid at the current moment and the temperature correction value of the target liquid within a first preset time period before the current moment.
3. The method according to claim 1, characterized in that The temperature sensor is a thermistor temperature sensor, and a sensor parameter of the temperature sensor is a time constant of the thermistor.
4. The method according to any one of claims 1 to 3, characterized in that The first preset time length is 1 second to 2.5 seconds, and the preset temperature difference value is not less than 5°.
5. A method for determining the temperature of a target liquid, wherein the target liquid is used for making beverages in a beverage machine, characterized in that: include: Obtaining a change in the amount of the target liquid stored in the liquid storage tank of the beverage machine; Based on the change in the storage amount, determining a temperature measurement scenario in the liquid storage tank; The temperature measurement scenario includes a fluid replenishment scenario and a non-fluid replenishment scenario, the fluid replenishment scenario corresponds to the first temperature measurement method, and the non-fluid replenishment scenario corresponds to the first temperature measurement method or the second temperature measurement method; Using a temperature measurement method corresponding to the temperature measurement scenario, determining a target temperature value of the target liquid at the current moment; The first temperature measurement method is: based on the temperature detection value at the current moment, the temperature detection value at the target historical moment, the second preset time and the sensor parameter of the temperature sensor, determine the temperature correction value and determine the temperature correction value as the target temperature value, and the target historical moment is the moment before the second preset time of the current moment; The second temperature measurement method is: determining the temperature detection value of the target liquid detected by the temperature sensor at the current moment as the target temperature value.
6. The method according to claim 5, characterized in that The reserve change is determined by at least one of the following methods: Determining the change in the storage amount based on the change in the weight of the target liquid in the liquid storage tank; The reserve change is determined based on the change in the liquid level of the target liquid in the liquid storage tank.
7. The method according to claim 6, characterized in that The change in the liquid level of the target liquid is detected by a liquid level sensor or a through-beam sensor, and / or the change in the weight of the target liquid is detected by a weighing sensor.
8. The method according to any one of claims 5 to 7, characterized in that: In response to the fluid storage tank being in a fluid replenishment scenario, the method further includes: Within the third specified time period before the current moment, the first temperature measurement method is used to determine the target temperature value of the target liquid at the current moment.
9. The method according to any one of claims 5 to 7, characterized in that: The beverage machine also includes a refrigerating chamber, the liquid storage tank is placed in the refrigerating chamber, and the temperature difference between the temperature of the target liquid replenished into the liquid storage tank to implement the replenishing operation and the refrigeration setting temperature of the target liquid in the liquid storage tank is greater than a preset value.
10. A method for controlling a liquid supply regulating valve, applied to a beverage machine, wherein the beverage machine comprises a liquid supply pipeline, wherein the liquid supply pipeline is used to transport a target liquid to prepare a beverage, wherein: The liquid supply pipeline is provided with a liquid supply regulating valve, and the method comprises: Obtaining a target temperature value of the target liquid at a current moment, wherein the target temperature value is determined based on the temperature determination method according to any one of claims 1 to 9; The valve opening of the liquid supply regulating valve is controlled based on the target temperature value.
11. The method according to claim 10, characterized in that The beverage machine further includes a valve motor, and the valve motor is used to adjust the opening of the liquid supply regulating valve. The control of the valve opening of the liquid supply regulating valve based on the target temperature value includes: obtaining a set temperature of the beverage; determining a temperature difference between the target temperature value and the set temperature; Based on a preset correspondence between the temperature difference and the number of rotation steps, and based on the temperature difference between the target temperature value and the set temperature, determining a target number of rotation steps; The number of rotation steps of the valve motor is adjusted to reach the target number of rotation steps, so as to adjust the valve opening of the liquid supply regulating valve.
12. A beverage machine, comprising a liquid storage tank, the liquid storage tank is used to store a target liquid, the target liquid is used for the beverage machine to make beverages, characterized in that: The beverage machine also includes: A temperature sensor, disposed in the liquid storage tank, for detecting a temperature detection value of the target liquid; A controller is communicatively connected to the temperature sensor, and the controller is configured to execute the temperature determination method according to any one of claims 1-9.
13. The beverage machine according to claim 12, characterized in that: The beverage machine also includes at least one of a liquid level sensor, a through-beam sensor detection and a weighing sensor, which is used to obtain the storage change of the target liquid stored in the liquid storage tank.
14. The beverage machine according to claim 13, characterized in that: The beverage machine further comprises a liquid supply pipeline, and the liquid supply pipeline is used to transport the target liquid to make beverages. The beverage machine is characterized in that it also comprises: A liquid supply regulating valve, arranged on the liquid supply pipeline; A valve motor, connected to the controller for adjusting the opening of the liquid supply regulating valve; The controller is also configured to execute the liquid supply regulating valve control method according to claim 10 or 11.
Citation Information
Patent Citations
Control method, water treatment device, server and storage medium
CN111685604A
Device and method for water dispenser, water dispenser and machine readable storage medium
CN112315325A
Temperature correction method of temperature controller, electronic equipment and computer storage medium
CN114354016A
Environment temperature acquisition method, device and equipment and storage medium
CN114878027A
Temperature correction method and device for air conditioner, air conditioner and storage medium
CN114963462A