A cupping control method, device, apparatus and storage medium

By obtaining the relationship between the actual operating voltage of the heating element and the preset rated voltage, the compensation amount is determined, and the output of the heating element is controlled to control the output cup quantity. This solves the problem of high cup quantity control cost in the existing technology and realizes accurate and low-cost cup quantity control.

CN117084558BActive Publication Date: 2025-11-11GUANGDONG XINBAO ELECTRICAL APPLIANCES HLDG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311135313.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-04
Publication Date
2025-11-11
Estimated Expiration
2043-09-04

AI Technical Summary

Technical Problem

Existing drip coffee machines rely on water pumps and flow meters to control the cup volume, which makes it difficult and costly to control the quality of the production process.

Method used

By obtaining the relationship between the actual operating voltage of the heating element and the preset rated voltage, the compensation amount is determined, and the output of the heating element is controlled to avoid the need to set up an additional water pump or flow meter.

Benefits of technology

It enables precise cup volume control and reduces production costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117084558B_ABST
    Figure CN117084558B_ABST
Patent Text Reader

Abstract

This invention discloses a cup volume control method, apparatus, device, and storage medium. The cup volume control method includes acquiring the desired output cup volume and the actual operating voltage of the heating element; comparing the actual operating voltage with a preset rated voltage to determine their magnitude relationship; determining a compensation amount based on the desired output cup volume and the magnitude relationship; and controlling the heating element to output the desired cup volume based on the actual operating voltage and the compensation amount. By controlling the heating element based on the magnitude relationship between the actual operating voltage and the preset rated voltage to achieve cup volume control, no additional water pump or flow meter is required, thus reducing costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of coffee machines, and more particularly to a cup volume control method, apparatus, device, and storage medium. Background Technology

[0002] Currently, drip coffee machines on the market have one or more output cup sizes, such as 2 cups or 4 cups of coffee (or simply water output). The cup size control usually relies on water pumps and flow meters, which makes it difficult and costly to control the quality of the manufacturing process in factories.

[0003] Chinese invention patent application CN116255744A discloses a quantitative water dispensing method. This method determines the water volume compensation value and target dispensing volume by checking residual water return information. Based on the target dispensing volume, a water pump is controlled to continuously pump water until the total pumped water reaches the target dispensing volume. Dispensing continues based on the target dispensing volume and stops when the cumulative dispensing volume reaches the target. This quantitative water dispensing method relies on pump control and compensates for residual water levels to achieve accurate dispensing. However, because it requires setting up and controlling a water pump, it is costly. Summary of the Invention

[0004] In order to overcome the shortcomings and deficiencies of the existing technology, the present invention provides a cup volume control method, device, equipment and storage medium.

[0005] This invention is achieved through the following technical solution:

[0006] Firstly, a method for controlling cup volume includes:

[0007] Obtain the volume of the cup to be output and the actual operating voltage of the heating element;

[0008] The actual operating voltage is compared with the preset rated voltage to determine the magnitude relationship between the actual operating voltage and the preset rated voltage.

[0009] The compensation amount is determined based on the quantity of cups to be output and the size relationship.

[0010] Based on the actual operating voltage and the compensation amount, the heating element is controlled to output the desired cup volume.

[0011] The cup volume control method of the present invention obtains the cup volume to be output and the actual operating voltage of the heating element, determines the relationship between the actual operating voltage and the preset rated voltage by comparison, and then determines the compensation amount based on the cup volume to be output and the relationship. Based on the actual operating voltage and the compensation amount, the heating element is controlled to output the cup volume to be output. The cup volume control is achieved by determining the compensation amount based on the relationship between the actual operating voltage and the preset rated voltage. This eliminates the need for an additional water pump or flow meter, which helps to reduce costs.

[0012] In one embodiment of the above technical solution, determining the compensation amount based on the quantity of the cup to be output and the size relationship includes:

[0013] Determine the first target working time corresponding to the volume of cups to be output;

[0014] When the size relationship is the same, the first target working time is determined as the compensation amount;

[0015] or,

[0016] When the magnitude relationships are not identical, the actual operating voltage is calibrated to determine the compensation amount.

[0017] By determining the first target working time corresponding to the output cup quantity, when the magnitude relationship is the same, the first target working time is determined as the compensation amount, so that subsequent cup quantity control can be achieved when the magnitude relationship is the same; when the magnitude relationship is different, the actual working voltage is calibrated to determine the compensation amount, so that subsequent cup quantity control can be achieved when the magnitude relationship is the same.

[0018] In one embodiment of the above technical solution, the step of calibrating the actual operating voltage when the magnitude relationships are not identical, and determining the compensation amount, includes:

[0019] When the magnitude relationships are not the same, the absolute value of the difference between the actual operating voltage and the preset rated voltage is determined to obtain the compensation amount;

[0020] Wherein, if the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, when the heating tube is controlled to work at the difference between the actual working voltage and the compensation amount for the first target working time, the cup volume to be output is output;

[0021] If the magnitude relationship indicates that the actual working voltage is less than the preset rated voltage, when the heating element is controlled to work at the sum of the actual working voltage and the compensation amount for the first target working time, the cup volume to be output is output.

[0022] The compensation amount is determined by calculating the difference between the actual working voltage and the preset rated voltage. When the actual working voltage is greater than the preset rated voltage, accurate cup volume control can be achieved when the magnitudes are different, based on the difference between the actual working voltage and the compensation amount combined with the first target working time, or based on the sum of the actual working voltage and the compensation amount combined with the first target working time.

[0023] In one embodiment of the above technical solution, determining the compensation amount based on the quantity of the cup to be output and the size relationship includes:

[0024] Obtain the first temperature value at the water inlet of the heating element;

[0025] Based on the quantity of cups to be output, the first temperature value, and the magnitude relationship, a second target working time is determined, and the second target working time is used as the compensation amount.

[0026] By determining the first temperature value at the water inlet of the heating element, and based on the volume of the cup to be output, the first temperature value, and their relative magnitudes, a second target working time is determined as a compensation amount, enabling accurate cup volume control to be achieved subsequently based on the introduced temperature factor.

[0027] In one embodiment of the above technical solution, determining the second target working time based on the quantity of the cup to be output, the first temperature value, and the size relationship includes:

[0028] Determine the output cup volume and the preset time value corresponding to the first temperature value;

[0029] When the size relationship is the same, the preset time value is determined to be the second target working time;

[0030] or,

[0031] When the size relationship is not represented differently, the preset time value is compensated to obtain the second target working time.

[0032] By determining the output cup volume and the preset time value corresponding to the first temperature value, when the magnitude relationship is the same, the preset time value is determined as the second target working time; or when the magnitude relationship is different, the preset time value is compensated to obtain the second target working time, so that the second target working time for accurately controlling the cup volume can be determined whether the magnitude relationship is the same or different.

[0033] In one embodiment of the above technical solution, the step of compensating the preset time value when the size relationship is not the same to obtain the second target working time includes:

[0034] When the magnitude relationships are not the same, determine the absolute value of the difference between the actual operating voltage and the preset rated voltage to obtain the voltage difference;

[0035] The corresponding compensation time value is determined based on the voltage difference and the first temperature value;

[0036] When the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, the difference between the preset time value and the compensation time value is determined as the second target working time;

[0037] or,

[0038] When the magnitude relationship indicates that the actual operating voltage is less than the preset rated voltage, the sum of the preset time value and the compensation time value is determined to be the second target operating time.

[0039] By determining the voltage difference between the actual working voltage and the preset rated voltage, and based on the voltage difference and the first temperature value, the corresponding compensation time value is determined. When the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, the difference between the preset time value and the compensation time value is determined as the second target working time. Alternatively, when the magnitude relationship indicates that the actual working voltage is less than the preset rated voltage, the sum of the preset time value and the compensation time value is determined as the second target working time. When the magnitude relationship is not the same, time compensation can also be performed based on the compensation time value to determine the second target working time for accurately controlling the cup volume.

[0040] In one embodiment of the above technical solution, controlling the heating element to output the desired cup volume based on the actual operating voltage and the compensation amount includes:

[0041] The heating element is controlled to operate at the actual working voltage.

[0042] The second temperature value of the water outlet of the heating element is obtained. When the second temperature value reaches the preset temperature value, a timer is started until the timer reaches the compensation amount, so as to output the cup volume to be output.

[0043] By acquiring the second temperature value at the water outlet of the heating element, the timing starts when the second temperature value reaches the preset temperature value, and continues until the timing reaches the compensation amount, thereby outputting the cup quantity to be output, further improving the accuracy of cup quantity control.

[0044] Secondly, a cup-measurement control device includes:

[0045] The acquisition module is used to acquire the volume of the cup to be output and the actual operating voltage of the heating element.

[0046] The determining module is used to compare the actual operating voltage with the preset rated voltage and determine the magnitude relationship between the actual operating voltage and the preset rated voltage.

[0047] The compensation module is used to determine the compensation amount based on the quantity of the cup to be output and the size relationship;

[0048] The control module is used to control the heating element to output the desired cup volume based on the actual operating voltage and the compensation amount.

[0049] Thirdly, an electronic device includes: a processor and a memory, the memory storing instructions which are loaded and executed by the processor to implement the method of the first aspect.

[0050] Fourthly, a computer-readable storage medium storing a computer program that, when executed, implements the method described in the first aspect.

[0051] The cup volume control device, electronic device, and computer-readable storage medium of the present invention acquire the cup volume to be output and the actual operating voltage of the heating element, determine the relationship between the actual operating voltage and the preset rated voltage by comparison, and then determine a compensation amount based on the cup volume to be output and the relationship. Based on the actual operating voltage and the compensation amount, the heating element is controlled to output the cup volume to be output. The cup volume control is achieved by determining the compensation amount based on the relationship between the actual operating voltage and the preset rated voltage. This eliminates the need for an additional water pump or flow meter, which helps to reduce costs. Attached Figure Description

[0052] Figure 1 This is a schematic diagram of the steps of the cup volume control method of the present invention.

[0053] Figure 2 This is a schematic diagram of the structure of a drip coffee machine according to one implementation method.

[0054] Figure 3 This is a schematic diagram of another implementation of a drip coffee machine.

[0055] Figure 4 This is a structural block diagram of the cup volume control device of the present invention.

[0056] Figure 5 This is a structural block diagram of the electronic device of the present invention. Detailed Implementation

[0057] The directional terms such as up, down, left, right, front, back, front, back, top, and bottom mentioned or possibly used in this specification are defined relative to the structures shown in the accompanying drawings. They are relative concepts and therefore may vary depending on their location and usage. Therefore, these or other directional terms should not be interpreted as restrictive.

[0058] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of this application. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.

[0059] Please see Figures 1-5 , Figure 1 This is a flowchart illustrating the steps of the cup volume control method of the present invention. Figure 2 This is a schematic diagram of the structure of a drip coffee machine according to one implementation method. Figure 3 This is a schematic diagram of another implementation of a drip coffee maker. Figure 4 This is a structural block diagram of the cup measuring control device of the present invention. Figure 5 This is a structural block diagram of the electronic device of the present invention.

[0060] In a first aspect, the present invention provides a cup volume control method that can be applied to drip coffee machines.

[0061] In one embodiment, the drip coffee machine may include a heating element 1, a water inlet 2, a water outlet 3, a water inlet pipe 4, a water outlet pipe 5, and a processing module (not shown). The water inlet 11 of the heating element 1 is connected to the water inlet 2 through the water inlet pipe 4. The heating element 1 can heat the water from the water inlet 2. The water outlet 12 of the heating element 1 is connected to the water outlet 3 through the water outlet pipe 5. The water heated by the heating element 1 flows through the water outlet pipe 5 to the water outlet 3 and is then output to the cup 6.

[0062] In one embodiment, the drip coffee maker may further include a water tank 7, a water outlet 8, and a one-way valve 9. The water tank 7 is connected to the water inlet 2, allowing water in the tank to enter the water inlet pipe 4. The water outlet 8 is connected to the water outlet 3 and includes, but is not limited to, a shower head, capable of controlling the water flow rate for easy reception in the user's cup 6. The one-way valve 9 is located in the water inlet pipe 4, ensuring one-way communication between the water inlet 2 and the heating element 1, preventing water in the heating element 1 from flowing back into the water tank 7. It should be noted that in some embodiments, the water tank 7 and water outlet 8 may be omitted; the water inlet 2 can be connected to an external water source, and water can be directly output to the user's cup 6 through the water outlet 3.

[0063] In another embodiment, the drip coffee maker may further include a first temperature acquisition unit A and a second temperature acquisition unit B. The first temperature acquisition unit A is installed at the water inlet 11 to acquire a first temperature value, which is the temperature of the water before heating when it enters the heating element 1. The second temperature acquisition unit B is installed at the water outlet 12 to acquire a second temperature value, which is the temperature of the water after it has been heated by the heating element 1. Optionally, the first temperature acquisition unit A and the second temperature acquisition unit B can be temperature sensors or thermistors (NTCs). In this embodiment, a thermistor is used, which reduces costs by replacing the high-cost water pump and flow meter with a low-cost thermistor.

[0064] In one embodiment, the control module can be a circuit board (PCB) equipped with a processing unit (such as a processor or chip) that has data processing capabilities. The circuit board can acquire the temperature values ​​acquired by the first temperature acquisition unit A and the second temperature acquisition unit B, the current actual operating voltage of the heating element 1, and the current cup quantity to be output input by the user. The processor stores a water boiling process program that can process the acquired data accordingly and execute the cup quantity control method of the first aspect.

[0065] In one embodiment, the cup volume control method of the present invention includes steps S100-S400:

[0066] S100: Obtain the volume of the cup to be output and the actual operating voltage of heating element 1.

[0067] S200. Compare the actual operating voltage with the preset rated voltage to determine the relationship between the actual operating voltage and the preset rated voltage.

[0068] S300. Determine the compensation amount based on the quantity and size relationship of the cups to be output.

[0069] S400: Based on the quantity and size of the cup to be output, control the heating element 1 to output the quantity of the cup to be output from the outlet 3.

[0070] The technical solution of this invention obtains the cup volume to be output and the actual operating voltage of the heating element. By comparing and determining the relationship between the actual operating voltage and the preset rated voltage, a compensation amount is determined based on the cup volume to be output and the relationship. Based on the actual operating voltage and the compensation amount, the heating element is controlled to output the cup volume to be output. The cup volume control is achieved by determining the compensation amount based on the relationship between the actual operating voltage and the preset rated voltage. This eliminates the need for an additional water pump or flow meter, which helps reduce costs.

[0071] It should be noted that the compensation amount can be either voltage or time.

[0072] In one implementation, step S100 can obtain the quantity of cups to be output and the actual operating voltage of the heating element 1 through the control module. For example, when the user inputs the quantity of cups as 2 or 4 cups via buttons or a touch screen, the corresponding quantity of cups to be output is 2 or 4 cups.

[0073] In one embodiment, the preset rated voltage is 220V. In S200, the control module can compare the preset rated voltage with the actual operating voltage to determine the magnitude relationship between the actual operating voltage and the preset rated voltage. Optionally, the magnitude relationship can be one of the following: they are the same, the actual operating voltage is greater than the preset rated voltage, or the actual operating voltage is less than the preset rated voltage.

[0074] In one embodiment, step S300 includes step S301, and also includes S302 or S303:

[0075] S301. Determine the first target working time corresponding to the amount of cups to be output.

[0076] In one embodiment, the processing unit pre-stores the operating time of heating element 1 corresponding to a number of cup sizes. For example, the operating time of heating element 1 is T2 for 2 cups, T4 for 4 cups, and T5 for N cups. N The working time is obtained through prior testing. For example, if the heating element 1 is operating at a preset rated voltage, it can output 2 cups through outlet 3 (T2), 4 cups through outlet 3 (T4), and so on. Therefore, if the desired output cup quantity is 2 cups, the corresponding first target working time is T2.

[0077] S302. When the size relationship is the same, the first target working time is determined as the compensation amount.

[0078] In one implementation, when the magnitude relationship is the same, that is, the actual working voltage is the same as the preset rated voltage, for example, both are 220V, the amount of cup to be output can be accurately output according to the first target working time as the compensation amount. Therefore, step S400 can be corresponding to: controlling the heating tube 1 to work at the actual working voltage to compensate for the amount, and the water outlet 3 outputs the amount of cup to be output.

[0079] S303. When the magnitude relationship is not represented by the same value, the actual working voltage is calibrated to determine the compensation amount.

[0080] In one embodiment, due to the difference in magnitude, i.e., the actual operating voltage differs from the preset rated voltage, this deviation means that if the heating element 1 is directly controlled to operate for the first target time, the actual cup volume output from the outlet 3 will deviate from the intended cup volume, failing to meet user needs and reducing user experience. Therefore, this invention calibrates the actual operating voltage and determines a compensation amount to achieve accurate cup volume control even when voltage deviations exist.

[0081] In one implementation, when the magnitude relationship is not represented differently, the actual operating voltage is calibrated in step S303 to determine the compensation amount, including steps S3031, and S3032 or S3033:

[0082] S3031. When the magnitude relationship is not the same, determine the absolute value of the difference between the actual working voltage and the preset rated voltage to obtain the voltage difference, which is used as the compensation amount.

[0083] For example, if the preset rated voltage is 220V and the actual operating voltage is 223V, the calculated difference is 223-220V=3V, and the absolute value is also 3V. At this time, the voltage difference is 3V, and the compensation amount is 3V. If the actual operating voltage is 219V, the calculated difference is 219-220V=-1V, and the absolute value is 1V. At this time, the voltage difference is 1V, and the compensation amount is 1V.

[0084] It should be noted that if the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, the corresponding step S400 can be: control the heating tube 1 to work for the first target working time under the difference between the actual working voltage and the compensation amount, and output the cup quantity to be output.

[0085] or,

[0086] If the magnitude relationship indicates that the actual working voltage is less than the preset rated voltage, the corresponding step S400 can be: control the heating tube 1 to work for the first target working time under the sum of the actual working voltage and the compensation amount, and output the cup quantity to be output.

[0087] In the above embodiments of the present invention, there is no need to introduce a water pump and flow meter, nor is it necessary to use a thermistor or temperature sensor, which enables lower cost cup volume control.

[0088] It should be noted that, in addition to providing a solution for cup volume control using voltage compensation, the present invention also provides another implementation: a cup volume control solution based on temperature compensation. Correspondingly, in this implementation, step S300 may include steps S311-S313:

[0089] S311. Obtain the first temperature value of the water inlet end 11 of the heating element 1.

[0090] Specifically, the first temperature value of the water inlet 11 of the heating tube 1 is obtained by the first temperature acquisition unit A. The first temperature value is the temperature value of the water before heating when it enters the heating tube 1.

[0091] S312. Based on the quantity of cups to be output, the first temperature value, and their relative values, determine the second target working time and use the second target working time as a compensation amount.

[0092] In one implementation, step S312 may include steps S3121, and S3122 or S3123:

[0093] S3121. Determine the output cup volume and the preset time value corresponding to the first temperature value.

[0094] In this invention, the control module pre-stores various cup sizes and corresponding preset time values ​​at different temperatures for each cup size. These preset time values ​​refer to the operating time of the heating element at the corresponding cup size and temperature. When the heating element operates for the preset time value, the outlet 3 can output the corresponding cup size. For example, as shown in Table 1, taking a first temperature value of 1-50 degrees Celsius as an example, other embodiments can use other temperature values, without specific limitations. If the current output cup size is 2 cups and the first temperature value is 3 degrees Celsius, then the preset time value at this time is T. 2-3 It is understandable that T N-1 To T N-4 Gradually decrease.

[0095] Table 1

[0096]

[0097] S3122. When the size relationship is the same, the preset time value is determined to be the second target working time.

[0098] Specifically, when the magnitude relationship is the same, that is, the actual working voltage (Vactual) and the preset rated voltage (Vrated) are equal, Vactual = Vrated, since there is no voltage deviation, the preset time value is directly determined as the second target working time as the compensation amount. For example, T is directly determined. 2-3 The second target operating time is T, during which the heating element 1 operates at the actual operating voltage. 2-3 This yields the output quantity of 2 cups. Therefore, step S400 at this point corresponds to: controlling the heating tube 1 to operate at the actual operating voltage for the second target operating time (compensation amount), and outputting the output quantity of the cups.

[0099] S3123. When the size relationship is not represented by the same value, the preset time value is compensated to obtain the second target working time.

[0100] Specifically, when the magnitude relationship is not the same, that is, the actual working voltage (Vactual) is not equal to the preset rated voltage (Vrated), if the heating tube is directly controlled by the preset time value, there will be a significant output deviation. Therefore, it is necessary to compensate the preset time value and determine the second target working time as the compensation amount, so as to control the heating tube by using the second target working time (compensation amount).

[0101] Optionally, S3123 includes steps S31231, S31232, and S31233 or S31234:

[0102] S31231. When the magnitude relationship is not the same, determine the absolute value of the difference between the actual working voltage and the preset rated voltage to obtain the voltage difference.

[0103] For example, if the preset rated voltage (Vrated) is 220V and the actual operating voltage (Vactual) is 223V, the calculated difference is 223-220V=3V, and the absolute value is also 3V. At this time, the voltage difference is 3V. If the actual operating voltage is 219V, the calculated difference is 219-220V=-1V, and the absolute value is 1V. At this time, the voltage difference is 1V.

[0104] S31232. Determine the corresponding compensation time value based on the voltage difference and the first temperature value.

[0105] In this invention, various cup sizes are pre-stored, along with compensation time values ​​for different voltage differences and temperatures corresponding to each cup size. For example, as shown in Table 2, if the current output cup size is 4 cups, the voltage difference is 1V, and the first temperature is 3 degrees, then the corresponding compensation time value is T. 4-3-1-补 .

[0106] Table 2

[0107]

[0108]

[0109] S31233. When the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, the difference between the preset time value and the compensation time value is determined as the second target working time.

[0110] Specifically, when the magnitude relationship indicates that the actual operating voltage is greater than the preset rated voltage, the difference between the preset time value and the compensation time value is calculated as the second target operating time, i.e., the compensation amount. For example, the currently determined preset time value is T. 4-3 The compensation time value is T 4-3-1-补At this point, the working time for the second objective is T. 4-3 -T 4-3-1-补 .

[0111] S31234. When the magnitude relationship indicates that the actual working voltage is less than the preset rated voltage, the sum of the preset time value and the compensation time value is determined as the second target working time.

[0112] Specifically, when the magnitude relationship indicates that the actual operating voltage is less than the preset rated voltage, the sum of the preset time value and the compensation time value is calculated as the second target operating time, i.e., the compensation amount. For example, the currently determined preset time value is T. 4-3 The compensation time value is T 4-3-1-补 At this point, the working time for the second objective is T. 4-3 +T 4-3-1-补 .

[0113] At this time, step S400 corresponds to: controlling the heating tube 1 to work under the actual working voltage for the second target working time (compensation amount), outputting the cup quantity to be output, and realizing precise control of the cup quantity to be output.

[0114] It should be noted that in some implementations, the final time under different conditions can be determined in advance based on the compensation time value. This final time is directly used as the compensation amount. As shown in Table 2, the compensation time value does not need to be stored, and the final time value can be determined directly based on the cup volume, voltage difference, and cup volume.

[0115] In some implementations, to further improve the accuracy of cup volume control, step S400 may include S411-S412:

[0116] S411, Control the heating element 1 to operate at the actual working voltage.

[0117] S412. Obtain the second temperature value of the water outlet 12 of the heating tube 1. When the second temperature value reaches the preset temperature value, start timing until the timing time reaches the compensation amount, so as to output the cup volume to be output.

[0118] Specifically, the control module controls the heating element 1 to operate at the actual working voltage to heat the water entering the heating element 1. During the heating process, the second temperature value at the outlet 12 of the heating element 1 is acquired by the second temperature acquisition unit B, which is the water temperature after the heating element 1 heats the water. When the second temperature value reaches the preset temperature value in the control module, timing begins as the starting point for the time compensation. The heating element 1 operates at the actual working voltage, and the timing continues from the starting point until the compensation value is reached, thus ensuring that the output outlet 3 accurately measures the amount of cups to be output, which helps to further improve the accuracy of cup quantity control. For example, assuming the amount of cups to be output is 2 cups, the actual working voltage is 222V, the preset temperature value is 80 degrees Celsius, and the corresponding compensation value is 10 seconds, the control module controls the heating element 1 to operate at 222V. When the second temperature value reaches 80 degrees Celsius, timing begins, and the control module continues to control the heating element 1 to operate at 222V for 10 seconds, thus ensuring that the output outlet 3 accurately measures the amount of 2 cups.

[0119] The above-described embodiments of the present invention, by introducing a first temperature acquisition unit A and a second temperature acquisition unit B, perform cup volume control based on temperature, which can improve the accuracy of cup volume control compared to the first embodiment.

[0120] Reference Figure 4 Secondly, a cup-volume control device is provided, which may include:

[0121] The acquisition module is used to acquire the volume of the cup to be output and the actual operating voltage of the heating element.

[0122] The determination module is used to compare the actual operating voltage with the preset rated voltage and determine the magnitude relationship between the actual operating voltage and the preset rated voltage.

[0123] The compensation module is used to determine the compensation amount based on the quantity of the cups to be output and their size relationship;

[0124] The control module is used to control the heating element to output the desired cup volume based on the actual operating voltage and compensation amount.

[0125] The functions of each module in each device in the embodiments of this application can be found in the corresponding descriptions in the above methods, and will not be repeated here.

[0126] Reference Figure 5 The diagram illustrates a structural block diagram of an electronic device according to an embodiment of this application. The electronic device includes a memory 310 and a processor 320. The memory 310 stores instructions that can be executed on the processor 320. The processor 320 loads and executes these instructions to implement the cup-measuring control method described in the above embodiment. The number of memories 310 and processors 320 can be one or more.

[0127] In one embodiment, the electronic device further includes a communication interface 330 for communicating with external devices and exchanging data. If the memory 310, processor 320, and communication interface 330 are implemented independently, they can be interconnected via a bus to communicate with each other. This bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0128] Optionally, in a specific implementation, if the memory 310, processor 320 and communication interface 330 are integrated on a single chip, the memory 310, processor 320 and communication interface 330 can communicate with each other through an internal interface.

[0129] This application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the cup-volume control method provided in the above embodiments.

[0130] The cup volume control device, electronic device, and computer-readable storage medium of the present invention acquire the cup volume to be output and the actual operating voltage of the heating element, determine the relationship between the actual operating voltage and the preset rated voltage by comparison, and then determine a compensation amount based on the cup volume to be output and the relationship. Based on the actual operating voltage and the compensation amount, the heating element is controlled to output the cup volume to be output. The cup volume control is achieved by determining the compensation amount based on the relationship between the actual operating voltage and the preset rated voltage. This eliminates the need for an additional water pump or flow meter, which helps to reduce costs.

[0131] This application also provides a chip, which includes a processor for calling and executing instructions stored in a memory, causing a communication device equipped with the chip to execute the cup-volume control method provided in this application.

[0132] This application also provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, output interface, processor, and memory are connected through an internal connection path. The processor is used to execute code in the memory. When the code is executed, the processor is used to execute the method provided in the application embodiment.

[0133] It should be understood that the aforementioned processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. General-purpose processors can be microprocessors or any conventional processor. It is worth noting that the processor can be a processor supporting Advanced Reduced Instruction Set Computing (RISC) machines (ARM) architecture.

[0134] Further, optionally, the aforementioned memory may include read-only memory and random access memory, and may also include non-volatile random access memory. The memory may be volatile or non-volatile, or may include both. Non-volatile memory may include read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which serves as an external cache. Many forms of RAM are available by way of example, but not limitation. Examples include static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0135] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the flow or function according to this application is generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transferred from one computer-readable storage medium to another.

[0136] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of those different embodiments or examples.

[0137] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified.

[0138] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process. Furthermore, the scope of the preferred embodiments of this application includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functionality involved.

[0139] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus or device (such as a computer-based system, a processor-included system or other system that can fetch and execute instructions from, an instruction execution system, apparatus or device).

[0140] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. All or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware, the program being stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiments.

[0141] Furthermore, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. This storage medium can be a read-only memory, a disk, or an optical disk, etc.

[0142] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in this application, and these should all be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for controlling cup volume, characterized in that, include: Obtain the volume of the cup to be output and the actual operating voltage of the heating element (1); The actual operating voltage is compared with the preset rated voltage to determine the magnitude relationship between the actual operating voltage and the preset rated voltage. The compensation amount is determined based on the quantity of cups to be output and the size relationship. Based on the actual operating voltage and the compensation amount, the heating tube (1) is controlled to output the amount of the cup to be output; The step of determining the compensation amount based on the quantity of cups to be output and the size relationship includes: obtaining the first temperature value of the water inlet (11) of the heating element (1); determining the second target working time based on the quantity of cups to be output, the first temperature value and the size relationship, and using the second target working time as the compensation amount; The determination of the second target working time based on the quantity of cups to be output, the first temperature value, and the size relationship includes: determining a preset time value corresponding to the quantity of cups to be output and the first temperature value; when the size relationship is the same, determining the preset time value as the second target working time; or, when the size relationship is different, compensating the preset time value to obtain the second target working time.

2. The cup volume control method according to claim 1, characterized in that: The step of determining the compensation amount based on the quantity of the cup to be output and the size relationship includes: Determine the first target working time corresponding to the volume of cups to be output; When the size relationship is the same, the first target working time is determined as the compensation amount, wherein when the heating tube (1) is controlled to work at the compensation amount under the actual working voltage, the cup quantity to be output is output; or, When the magnitude relationships are not identical, the actual operating voltage is calibrated to determine the compensation amount.

3. The cup volume control method according to claim 2, characterized in that: When the magnitude relationships are not identical, the actual operating voltage is calibrated to determine the compensation amount, including: When the magnitude relationships are not the same, the absolute value of the difference between the actual operating voltage and the preset rated voltage is determined to obtain the compensation amount; Wherein, if the size relationship indicates that the actual working voltage is greater than the preset rated voltage, when the heating tube (1) is controlled to work at the difference between the actual working voltage and the compensation amount for the first target working time, the cup quantity to be output is output; If the magnitude relationship indicates that the actual working voltage is less than the preset rated voltage, when the heating tube (1) is controlled to work at the sum of the actual working voltage and the compensation amount for the first target working time, the cup quantity to be output is output.

4. The cup volume control method according to claim 1, characterized in that: When the magnitude relationships are not identical, the preset time value is compensated to obtain the second target working time, including: When the magnitude relationships are not the same, determine the absolute value of the difference between the actual operating voltage and the preset rated voltage to obtain the voltage difference; The corresponding compensation time value is determined based on the voltage difference and the first temperature value; When the magnitude relationship indicates that the actual working voltage is greater than the preset rated voltage, the difference between the preset time value and the compensation time value is determined as the second target working time; or, When the magnitude relationship indicates that the actual operating voltage is less than the preset rated voltage, the sum of the preset time value and the compensation time value is determined to be the second target operating time.

5. The cup volume control method according to claim 1 or 4, characterized in that: The step of controlling the heating element (1) to output the desired cup volume based on the actual operating voltage and the compensation amount includes: The heating element (1) is controlled to operate at the actual operating voltage; The second temperature value of the water outlet (12) of the heating tube (1) is obtained. When the second temperature value reaches the preset temperature value, the timing is started until the timing time reaches the compensation amount, so as to output the cup volume to be output.

6. A cup measuring control device, characterized in that, include: The acquisition module is used to acquire the volume of the cup to be output and the actual operating voltage of the heating element. The determining module is used to compare the actual operating voltage with the preset rated voltage and determine the magnitude relationship between the actual operating voltage and the preset rated voltage. The compensation module is used to determine the compensation amount based on the quantity of the cup to be output and the size relationship; The control module is used to control the heating element to output the cup quantity to be output based on the actual operating voltage and the compensation amount. The step of determining the compensation amount based on the quantity of cups to be output and the size relationship includes: obtaining a first temperature value at the water inlet of the heating element; determining a second target working time based on the quantity of cups to be output, the first temperature value, and the size relationship, and using the second target working time as the compensation amount; The determination of the second target working time based on the quantity of cups to be output, the first temperature value, and the size relationship includes: determining a preset time value corresponding to the quantity of cups to be output and the first temperature value; when the size relationship is the same, determining the preset time value as the second target working time; or, when the size relationship is different, compensating the preset time value to obtain the second target working time.

7. An electronic device, characterized in that, include: A processor and a memory, wherein instructions are stored in the memory and loaded and executed by the processor to implement the method as claimed in any one of claims 1 to 5.

8. A computer-readable storage medium storing a computer program therein, which, when executed, implements the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Quantitative water outlet method and water outlet machine

    CN116255744A

  • Soybean milk making circuit with voltage detecting function for soybean milk maker

    CN202234833U