Brewing method and device, computer equipment and storage medium

文档序号:767391 发布日期:2021-04-09 浏览:13次 中文

阅读说明:本技术 冲泡方法、装置、计算机设备及存储介质 (Brewing method and device, computer equipment and storage medium ) 是由 程晓飞 吴田 胡平波 柴斌 钟俊峰 于 2020-12-10 设计创作,主要内容包括:本发明公开了冲泡方法、装置、计算机设备及存储介质,其中方法包括:系统上电,进行故障扫描检测;判断是否存在故障;若不存在故障,则判断是否接收到恒温预热功能指令;若接收到恒温预热功能指令,则控制开启恒温锅炉预热;判断是否接收到即热预热功能指令;若接收到即热预热功能指令,则控制开启即热锅炉预热;判断是否接收到出热水功能指令;若接收到出热水功能指令,则控制开启厚膜加热出水;判断是否接收到冲泡功能指令;若接收到冲泡功能指令,则控制进行冲泡处理。本发明可灵活进行冲泡过程的参数配置,能够满足不同饮品配方的冲泡过程需求,灵活度更高,更能满足用户的多种需求。(The invention discloses a brewing method, a brewing device, computer equipment and a storage medium, wherein the method comprises the following steps: powering on a system, and carrying out fault scanning detection; judging whether a fault exists; if the fault does not exist, judging whether a constant temperature preheating function instruction is received or not; if a constant temperature preheating function instruction is received, controlling to start a constant temperature boiler for preheating; judging whether an instant heating preheating function instruction is received or not; if an instant heating preheating function instruction is received, controlling to start an instant heating boiler for preheating; judging whether a hot water outlet function instruction is received or not; if a hot water outlet function instruction is received, controlling to start the thick film to heat water; judging whether a brewing function instruction is received or not; and if the brewing function instruction is received, controlling to brew. The invention can flexibly configure parameters in the brewing process, can meet the brewing process requirements of different beverage formulas, has higher flexibility and can better meet various requirements of users.)

1. A method of brewing, the method comprising:

powering on a system, and carrying out fault scanning detection;

judging whether a fault exists;

if the fault does not exist, judging whether a constant temperature preheating function instruction is received or not;

if a constant temperature preheating function instruction is received, controlling to start a constant temperature boiler for preheating;

judging whether an instant heating preheating function instruction is received or not;

if an instant heating preheating function instruction is received, controlling to start an instant heating boiler for preheating;

judging whether a hot water outlet function instruction is received or not;

if a hot water outlet function instruction is received, controlling to start the thick film to heat water;

judging whether a brewing function instruction is received or not;

and if the brewing function instruction is received, controlling to brew.

2. The brewing method according to claim 1, characterized in that the step of controlling the brewing process comprises in particular:

detecting a flow meter;

judging whether the accumulated flow of the flowmeter reaches a set water amount or not;

if the accumulated flow of the flowmeter does not reach the set water amount, detecting whether the accumulated brewing time reaches the set time;

if the accumulated brewing time does not reach the set time, controlling to start a water pump to pump water and start an electromagnetic valve to discharge water;

calculating the difference value between the current boiler temperature and the set temperature;

calculating the temperature rising or falling slope;

a PID controller is called, and the power required by the current heating is calculated through proportional regulation, integral regulation and differential regulation;

judging whether the current heating power needs to be reduced or not;

if the current heating power needs to be reduced, controlling to reduce the duty ratio of the conduction time of the controllable silicon;

if the current heating power does not need to be reduced, judging whether the current heating power needs to be increased;

and if the current heating power needs to be increased, controlling to increase the duty ratio of the conduction time of the controllable silicon.

3. The brewing method of claim 1, wherein the step of controlling the brewing process is followed by further comprising:

judging whether an ice outlet function instruction is received or not;

and if the ice outlet function instruction is received, controlling to carry out ice outlet weighing processing.

4. A brewing method according to claim 3, characterized in that said step of controlling the ice discharge weighing process comprises in particular:

controlling to start the ice discharging motor, and distributing the action time of the motor according to the difference value of the target ice discharging gram and the current weighing weight;

judging whether the working time of the ice making motor reaches the set time or not;

if the working time of the ice discharging motor reaches the set time, controlling the ice discharging motor to stop working;

judging whether a gram number difference exists between the current ice output and the target ice output;

if the current ice output amount and the target ice output amount have a gram difference value, judging whether the current ice output amount is lower than the target ice output amount;

if the current ice output amount is lower than the target ice output amount, controlling and supplementing the corresponding brewing water amount;

and if the current ice output amount is not less than the target ice output amount, controlling to reduce the corresponding brewing water amount.

5. The brewing device is characterized by comprising a detection unit, a first judgment unit, a second judgment unit, a first control unit, a third judgment unit, a second control unit, a fourth judgment unit, a third control unit, a fifth judgment unit and a fourth control unit;

the detection unit is used for carrying out fault scanning detection when the system is powered on;

the first judging unit is used for judging whether a fault exists or not;

the second judging unit is used for judging whether a constant-temperature preheating function instruction is received or not;

the first control unit is used for controlling the start of preheating of the constant temperature boiler;

the third judging unit is used for judging whether an instant heating preheating function instruction is received or not;

the second control unit is used for controlling the preheating of the starting instant heating boiler;

the fourth judging unit is used for judging whether a hot water outlet function instruction is received or not;

the third control unit is used for controlling the opening of the thick film to heat the effluent;

the fifth judging unit is used for judging whether a brewing function instruction is received or not;

and the fourth control unit is used for controlling the brewing treatment.

6. A brewing device according to claim 5, characterized in that said fourth control unit comprises a first detection module, a first judgment module, a second judgment module, a first control module, a first calculation module, a second calculation module, a calling module, a third judgment module, a second control module, a fourth judgment module and a third control module;

the first detection module is used for detecting the flowmeter;

the first judgment module is used for judging whether the accumulated flow of the flowmeter reaches a set water amount or not;

the second judgment module is used for detecting whether the accumulated brewing time reaches the set time;

the first control module is used for controlling the water pump to be started for pumping water and the electromagnetic valve to be started for discharging water;

the first calculation module is used for calculating the difference value between the current boiler temperature and the set temperature;

the second calculation module is used for calculating the temperature rising or falling slope;

the calling module is used for calling the PID controller and calculating the current power required by heating through proportional regulation, integral regulation and differential regulation;

the third judging module is used for judging whether the current heating power needs to be reduced or not;

the second control module is used for controlling and reducing the duty ratio of the conduction time of the controllable silicon;

the fourth judging module is used for judging whether the current heating power needs to be increased or not;

and the third control module is used for controlling and increasing the duty ratio of the conduction time of the controllable silicon.

7. A brewing device as claimed in claim 5, characterized in that the device further comprises a sixth judging unit and a fifth control unit;

the sixth judging module is used for judging whether an ice outlet function instruction is received or not;

and the fifth control unit is used for controlling the ice discharging weighing processing.

8. The brewing device of claim 7, wherein the fifth control unit comprises a fourth control module, a fifth judging module, a fifth control module, a sixth judging module, a seventh judging module, a sixth control module, and a seventh control module;

the fourth control module is used for controlling the ice discharging motor to be started and distributing the action time of the motor according to the difference value between the target ice discharging gram and the current weighing weight;

the fifth judgment module is used for judging whether the working time of the ice making motor reaches the set time or not;

the fifth control module is used for controlling the ice discharging motor to stop working;

the sixth judging module is used for judging whether a gram number difference exists between the current ice output and the target ice output;

the seventh judging module is used for judging whether the current ice output amount is lower than the target ice output amount;

the sixth control module is used for controlling and supplementing the corresponding brewing water amount;

and the seventh control module is used for controlling and reducing the corresponding brewing water amount.

9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor when executing the computer program implementing the brewing method steps as claimed in any one of claims 1 to 4.

10. A storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the brewing method steps according to any one of claims 1 to 4.

Technical Field

The invention relates to a brewing machine, in particular to a brewing method, a brewing device, computer equipment and a storage medium.

Background

The existing brewing module in the market has the problems of single brewing mode, large fluctuation of water outlet temperature and water quantity, and incapability of meeting the requirements of customers on flexibly configuring different water outlet temperatures and water outlet flow rates and realizing quick switching when brewing different beverages.

Disclosure of Invention

The invention aims to overcome the defects of the prior art and provides a brewing method, a brewing device, computer equipment and a storage medium.

In order to achieve the purpose, the invention adopts the following technical scheme:

in a first aspect, a method of brewing, the method comprising:

powering on a system, and carrying out fault scanning detection;

judging whether a fault exists;

if the fault does not exist, judging whether a constant temperature preheating function instruction is received or not;

if a constant temperature preheating function instruction is received, controlling to start a constant temperature boiler for preheating;

judging whether an instant heating preheating function instruction is received or not;

if an instant heating preheating function instruction is received, controlling to start an instant heating boiler for preheating;

judging whether a hot water outlet function instruction is received or not;

if a hot water outlet function instruction is received, controlling to start the thick film to heat water;

judging whether a brewing function instruction is received or not;

and if the brewing function instruction is received, controlling to brew.

The further technical scheme is as follows: the step of controlling the brewing process specifically comprises the following steps:

detecting a flow meter;

judging whether the accumulated flow of the flowmeter reaches a set water amount or not;

if the accumulated flow of the flowmeter does not reach the set water amount, detecting whether the accumulated brewing time reaches the set time;

if the accumulated brewing time does not reach the set time, controlling to start a water pump to pump water and start an electromagnetic valve to discharge water;

calculating the difference value between the current boiler temperature and the set temperature;

calculating the temperature rising or falling slope;

a PID controller is called, and the power required by the current heating is calculated through proportional regulation, integral regulation and differential regulation;

judging whether the current heating power needs to be reduced or not;

if the current heating power needs to be reduced, controlling to reduce the duty ratio of the conduction time of the controllable silicon;

if the current heating power does not need to be reduced, judging whether the current heating power needs to be increased;

and if the current heating power needs to be increased, controlling to increase the duty ratio of the conduction time of the controllable silicon.

The further technical scheme is as follows: after the step of controlling the brewing process, the method further comprises the following steps:

judging whether an ice outlet function instruction is received or not;

and if the ice outlet function instruction is received, controlling to carry out ice outlet weighing processing.

The further technical scheme is as follows: the step of controlling the ice discharging weighing treatment specifically comprises the following steps:

controlling to start the ice discharging motor, and distributing the action time of the motor according to the difference value of the target ice discharging gram and the current weighing weight;

judging whether the working time of the ice making motor reaches the set time or not;

if the working time of the ice discharging motor reaches the set time, controlling the ice discharging motor to stop working;

judging whether a gram number difference exists between the current ice output and the target ice output;

if the current ice output amount and the target ice output amount have a gram difference value, judging whether the current ice output amount is lower than the target ice output amount;

if the current ice output amount is lower than the target ice output amount, controlling and supplementing the corresponding brewing water amount;

and if the current ice output amount is not less than the target ice output amount, controlling to reduce the corresponding brewing water amount.

In a second aspect, a brewing device, the device comprising a detection unit, a first determination unit, a second determination unit, a first control unit, a third determination unit, a second control unit, a fourth determination unit, a third control unit, a fifth determination unit, and a fourth control unit;

the detection unit is used for carrying out fault scanning detection when the system is powered on;

the first judging unit is used for judging whether a fault exists or not;

the second judging unit is used for judging whether a constant-temperature preheating function instruction is received or not;

the first control unit is used for controlling the start of preheating of the constant temperature boiler;

the third judging unit is used for judging whether an instant heating preheating function instruction is received or not;

the second control unit is used for controlling the preheating of the starting instant heating boiler;

the fourth judging unit is used for judging whether a hot water outlet function instruction is received or not;

the third control unit is used for controlling the opening of the thick film to heat the effluent;

the fifth judging unit is used for judging whether a brewing function instruction is received or not;

and the fourth control unit is used for controlling the brewing treatment.

The further technical scheme is as follows: the fourth control unit comprises a first detection module, a first judgment module, a second judgment module, a first control module, a first calculation module, a second calculation module, a calling module, a third judgment module, a second control module, a fourth judgment module and a third control module;

the first detection module is used for detecting the flowmeter;

the first judgment module is used for judging whether the accumulated flow of the flowmeter reaches a set water amount or not;

the second judgment module is used for detecting whether the accumulated brewing time reaches the set time;

the first control module is used for controlling the water pump to be started for pumping water and the electromagnetic valve to be started for discharging water;

the first calculation module is used for calculating the difference value between the current boiler temperature and the set temperature;

the second calculation module is used for calculating the temperature rising or falling slope;

the calling module is used for calling the PID controller and calculating the current power required by heating through proportional regulation, integral regulation and differential regulation;

the third judging module is used for judging whether the current heating power needs to be reduced or not;

the second control module is used for controlling and reducing the duty ratio of the conduction time of the controllable silicon;

the fourth judging module is used for judging whether the current heating power needs to be increased or not;

and the third control module is used for controlling and increasing the duty ratio of the conduction time of the controllable silicon.

The further technical scheme is as follows: the device also comprises a sixth judging unit and a fifth control unit;

the sixth judging module is used for judging whether an ice outlet function instruction is received or not;

and the fifth control unit is used for controlling the ice discharging weighing processing.

The further technical scheme is as follows: the fifth control unit comprises a fourth control module, a fifth judging module, a fifth control module, a sixth judging module, a seventh judging module, a sixth control module and a seventh control module;

the fourth control module is used for controlling the ice discharging motor to be started and distributing the action time of the motor according to the difference value between the target ice discharging gram and the current weighing weight;

the fifth judgment module is used for judging whether the working time of the ice making motor reaches the set time or not;

the fifth control module is used for controlling the ice discharging motor to stop working;

the sixth judging module is used for judging whether a gram number difference exists between the current ice output and the target ice output;

the seventh judging module is used for judging whether the current ice output amount is lower than the target ice output amount;

the sixth control module is used for controlling and supplementing the corresponding brewing water amount;

and the seventh control module is used for controlling and reducing the corresponding brewing water amount.

In a third aspect, a computer device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the brewing method steps as described above when executing the computer program.

In a fourth aspect, a storage medium stores a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the brewing method steps as described above.

Compared with the prior art, the invention has the beneficial effects that: the invention can flexibly configure parameters in the brewing process, can meet the brewing process requirements of different beverage formulas, has higher flexibility and can better meet various requirements of users.

The foregoing description is only an overview of the technical solutions of the present invention, and in order to make the technical means of the present invention more clearly understood, the present invention may be implemented according to the content of the description, and in order to make the above and other objects, features, and advantages of the present invention more apparent, the following detailed description will be given of preferred embodiments.

Drawings

FIG. 1 is a first flowchart of an embodiment of the brewing method of the present invention;

FIG. 2 is a second flowchart of an embodiment of the brewing method of the present invention;

FIG. 3 is a flow chart III of an embodiment of the brewing method of the present invention;

FIG. 4 is a first schematic block diagram of an embodiment of the brewing device of the present invention;

FIG. 5 is a second schematic block diagram of an embodiment of the brewing device of the present invention;

FIG. 6 is a third schematic block diagram of an embodiment of the brewing device of the present invention;

FIG. 7 is a schematic block diagram of a computer device of the present invention.

Detailed Description

In order to more fully understand the technical content of the present invention, the technical solution of the present invention will be further described and illustrated with reference to the following specific embodiments, but not limited thereto.

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.

It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

The invention is suitable for brewing equipment such as coffee machines with brewing function, and the invention is described by the following specific embodiments:

referring to fig. 1, a brewing method includes the following steps:

s1, powering on the system, carrying out fault scanning detection, and executing the step S2;

s2, judging whether there is fault, if yes, informing fault and processing fault, if no, executing step S3;

s3, judging whether a constant temperature preheating function instruction is received, if so, executing a step S4, otherwise, executing a step S5;

s4, controlling to start the constant temperature boiler for preheating, and executing the step S5;

s5, judging whether an instant heating preheating function command is received, if yes, executing a step S6, and if not, executing a step S7;

s6, controlling the start-up of the instant heating boiler for preheating, and executing the step S7;

s7, judging whether a hot water function command is received, if so, executing a step S8, otherwise, executing a step S9;

s8, controlling to start the thick film to heat water, and executing the step S9;

s9, judging whether a brewing function command is received, if so, executing a step S10, otherwise, executing a step S11;

s10, controlling to brew;

and S11, judging whether the ice outlet function command is received, if so, executing a step S12, otherwise, returning to the step S1.

And S12, controlling to perform ice discharging and weighing processing.

For steps S1 and S2, after the system is powered on, the program is initialized, fault detection is required, such as serial port communication detection, thick film heating communication detection, weighing module weight detection, and the like, if there is a fault, a fault is indicated, which is convenient for a worker to handle the fault, and after there is no fault, the subsequent brewing operation can be started.

For the steps S3-S12, in the brewing process, the parameter configuration of the brewing process can be flexibly carried out according to the requirements of the user, the brewing process requirements of different beverage formulas can be met, the flexibility is higher, and various requirements of the user can be met.

Further, referring to fig. 2, step S10 specifically includes the following steps:

s101, detecting a flowmeter, and executing a step S102;

s102, judging whether the accumulated flow of the flowmeter reaches a set water amount, if so, finishing brewing, and if not, executing a step S103;

s103, detecting whether the accumulated brewing time reaches the set time, if so, finishing brewing, and if not, executing the step S104;

s104, controlling to start a water pump to pump water and starting an electromagnetic valve to discharge water, and executing the step S105;

s105, calculating the difference value between the current boiler temperature and the set temperature, and executing the step S106;

s106, calculating the rising or falling slope of the temperature, and executing the step S107;

s107, calling a PID controller, calculating the current heating required power through proportional regulation, integral regulation and differential regulation, and executing the step S108;

judging whether the current heating power needs to be reduced, if so, executing the step S1081, and if not, executing the step S109;

s1081, controlling and reducing the duty ratio of conduction time of the silicon controlled rectifier;

s109, judging whether the current heating power needs to be increased, if so, executing a step S1091, otherwise, returning to the step S101,

and S1091, controlling and increasing the duty ratio of the conduction time of the controllable silicon.

Specifically, in the brewing process, the heating function of the boiler can be adjusted according to the difference value between the current boiler temperature and the set temperature, and the heating is accurate and intelligent.

Further, referring to fig. 3, step S12 specifically includes the following steps:

s121, controlling to start an ice discharging motor, distributing the motor action time according to the difference value between the target ice discharging gram and the current weighing weight, and executing the step S122;

s122, judging whether the working time of the ice motor reaches the set time, if so, executing a step S123, otherwise, returning to the step S121;

s123, controlling the ice discharging motor to stop working, and executing a step S124;

s124, judging whether a difference value of gram numbers exists between the current ice output amount and the target ice output amount, if so, executing a step S125, otherwise, returning to the step S121;

s125, judging whether the current ice amount is lower than the target ice amount, if so, executing a step S126, otherwise, executing a step S127;

s126, controlling and supplementing corresponding brewing water amount;

and S127, controlling to reduce the corresponding brewing water amount.

In the case where there is a difference in the number of grams between the current ice output and the target ice output in steps S124 to S127, it is possible that the current ice output is lower than the target ice output or the current ice output is higher than the target ice output. In this embodiment, when the current ice output amount is lower than the target ice output amount by 40 g, the surface has an ice shortage fault, and when the current ice output amount is lower than the target ice output amount by 25 g and is not lower than 40 g, the surface does not have the ice shortage fault, and the corresponding brewing water amount can be controlled and supplemented. When the current ice output amount exceeds the target ice output amount by 40 g, the ice on the surface overflows, the ice amount exceeds the fault, and when the current ice output amount is 25 g higher than the target ice output amount and is higher than 40 g, the ice amount does not exceed the fault on the surface, so that the corresponding brewing water amount can be controlled to be reduced.

It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.

Corresponding to the above brewing method, an embodiment of the present invention further provides a brewing apparatus, and referring to fig. 4, the brewing apparatus includes a detecting unit 1, a first judging unit 2, a second judging unit 3, a first control unit 4, a third judging unit 5, a second control unit 6, a fourth judging unit 7, a third control unit 8, a fifth judging unit 9, a fourth control unit 10, a sixth judging unit 11, and a fifth control unit 12;

the detection unit 1 is used for powering on a system and carrying out fault scanning detection;

a first judgment unit 2 for judging whether there is a failure;

the second judging unit 3 is used for judging whether a constant-temperature preheating function instruction is received or not;

the first control unit 4 is used for controlling the start of preheating the constant temperature boiler;

a third judging unit 5, configured to judge whether an instant heating preheating function instruction is received;

the second control unit 6 is used for controlling the preheating of the starting instant heating boiler;

a fourth judging unit 7, configured to judge whether a hot water output function instruction is received;

the third control unit 8 is used for controlling the opening of the thick film to heat the effluent;

a fifth judging unit 9, configured to judge whether a brewing function instruction is received;

a fourth control unit 10 for controlling the brewing process;

a sixth judging module 11, configured to judge whether an ice discharging function instruction is received;

and a fifth control unit 12 for controlling the ice discharge weighing process.

Further, referring to fig. 5, the fourth control unit 10 includes a first detecting module 101, a first determining module 102, a second determining module 103, a first control module 104, a first calculating module 105, a second calculating module 106, a calling module 107, a third determining module 108, a second control module 109, a fourth determining module 110, and a third control module 111;

a first detection module 101 for detecting a flow meter;

the first judging module 102 is configured to judge whether the accumulated flow of the flowmeter reaches a set water amount;

a second judging module 103, configured to detect whether the accumulated brewing time reaches a set time;

the first control module 104 is used for controlling the water pump to be started for pumping water and the electromagnetic valve to be started for discharging water;

the first calculation module 105 is used for calculating the difference value between the current boiler temperature and the set temperature;

a second calculation module 106 for calculating a temperature rising or falling slope;

the calling module 107 is used for calling a PID controller and calculating the current power required by heating through proportional regulation, integral regulation and differential regulation;

a third judging module 108, configured to judge whether the current heating power needs to be reduced;

the second control module 109 is used for controlling and reducing the duty ratio of the conduction time of the controllable silicon;

a fourth determining module 110, configured to determine whether the current heating power needs to be increased;

and the third control module 111 is used for controlling and increasing the duty ratio of the conduction time of the controllable silicon.

Further, referring to fig. 6, the fifth control unit 12 includes a fourth control module 121, a fifth judging module 122, a fifth control module 123, a sixth judging module 124, a seventh judging module 125, a sixth control module 126 and a seventh control module 127;

the fourth control module 121 is configured to control to start the ice discharging motor, and distribute motor action time according to a difference between a target ice discharging gram and a current weighing weight;

a fifth judging module 122, configured to judge whether the working time of the ice making motor reaches a set time;

the fifth control module 123 is used for controlling the ice discharging motor to stop working;

a sixth determining module 124, configured to determine whether a difference in gram number exists between the current ice output amount and the target ice output amount;

a seventh determining module 125, configured to determine whether the current ice output amount is lower than the target ice output amount;

a sixth control module 126 for controlling the amount of the supplementary brewing water;

a seventh control module 127 for controlling the reduction of the corresponding amount of brewing water.

As shown in fig. 7, the embodiment of the present invention further provides a computer device, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the computer program to implement the brewing method steps as described above.

The computer device 700 may be a terminal or a server. The computer device 700 includes a processor 720, memory, and a network interface 750, which are connected by a system bus 710, where the memory may include non-volatile storage media 730 and internal memory 740.

The non-volatile storage medium 730 may store an operating system 731 and computer programs 732. The computer program 732, when executed, may cause the processor 720 to perform any of a variety of brewing methods.

The processor 720 is used to provide computing and control capabilities, supporting the operation of the overall computer device 700.

The internal memory 740 provides an environment for the execution of the computer program 732 in the non-volatile storage medium 730, and when executed by the processor 720, the computer program 732 may cause the processor 720 to perform any one of the brewing methods.

The network interface 750 is used for network communication such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 7 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing device 700 to which the disclosed aspects apply, as a particular computing device 700 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components. Wherein the processor 720 is configured to execute the program code stored in the memory to perform the following steps:

powering on a system, and carrying out fault scanning detection;

judging whether a fault exists;

if the fault does not exist, judging whether a constant temperature preheating function instruction is received or not;

if a constant temperature preheating function instruction is received, controlling to start a constant temperature boiler for preheating;

judging whether an instant heating preheating function instruction is received or not;

if an instant heating preheating function instruction is received, controlling to start an instant heating boiler for preheating;

judging whether a hot water outlet function instruction is received or not;

if a hot water outlet function instruction is received, controlling to start the thick film to heat water;

judging whether a brewing function instruction is received or not;

and if the brewing function instruction is received, controlling to brew.

The further technical scheme is as follows: the step of controlling the brewing process specifically comprises the following steps:

detecting a flow meter;

judging whether the accumulated flow of the flowmeter reaches a set water amount or not;

if the accumulated flow of the flowmeter does not reach the set water amount, detecting whether the accumulated brewing time reaches the set time;

if the accumulated brewing time does not reach the set time, controlling to start a water pump to pump water and start an electromagnetic valve to discharge water;

calculating the difference value between the current boiler temperature and the set temperature;

calculating the temperature rising or falling slope;

a PID controller is called, and the power required by the current heating is calculated through proportional regulation, integral regulation and differential regulation;

judging whether the current heating power needs to be reduced or not;

if the current heating power needs to be reduced, controlling to reduce the duty ratio of the conduction time of the controllable silicon;

if the current heating power does not need to be reduced, judging whether the current heating power needs to be increased;

and if the current heating power needs to be increased, controlling to increase the duty ratio of the conduction time of the controllable silicon.

The further technical scheme is as follows: after the step of controlling the brewing process, the method further comprises the following steps:

judging whether an ice outlet function instruction is received or not;

and if the ice outlet function instruction is received, controlling to carry out ice outlet weighing processing.

The further technical scheme is as follows: the step of controlling the ice discharging weighing treatment specifically comprises the following steps:

controlling to start the ice discharging motor, and distributing the action time of the motor according to the difference value of the target ice discharging gram and the current weighing weight;

judging whether the working time of the ice making motor reaches the set time or not;

if the working time of the ice discharging motor reaches the set time, controlling the ice discharging motor to stop working;

judging whether a gram number difference exists between the current ice output and the target ice output;

if the current ice output amount and the target ice output amount have a gram difference value, judging whether the current ice output amount is lower than the target ice output amount;

if the current ice output amount is lower than the target ice output amount, controlling and supplementing the corresponding brewing water amount;

if the current ice output is not less than the target ice output, the corresponding brewing water amount is controlled to be reduced

It should be understood that, in the embodiment of the present Application, the Processor 720 may be a Central Processing Unit (CPU), and the Processor 720 may also be 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, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

Those skilled in the art will appreciate that the configuration of computer device 700 depicted in FIG. 7 is not intended to be limiting of computer device 700 and may include more or less components than those shown, or some components in combination, or a different arrangement of components.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

The technical contents of the present invention are further illustrated by the examples only for the convenience of the reader, but the embodiments of the present invention are not limited thereto, and any technical extension or re-creation based on the present invention is protected by the present invention. The protection scope of the invention is subject to the claims.

18页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:米饭烹饪效果检测方法、装置、设备和介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类