Beverage preparation machine and control method thereof
By detecting the number of rotation rings of the motor and the moving stroke of the moving part, the problem that the beverage preparation machine cannot accurately detect the amount of powder in the brewing bin is solved, the matching of powder and water volume is achieved, and the quality and consistency of beverage preparation is improved.
Patent Information
- Application Number
- CN202310591189.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-23
- Publication Date
- 2024-11-26
AI Technical Summary
The existing beverage preparation machine with grinding function cannot accurately detect the amount of powder in the brewing bin, resulting in the inability to guarantee the quality of beverage preparation.
By detecting whether the motor is blocked during operation, the current number of rotations of the motor is obtained, combined with the moving stroke of the moving part, the amount of powder in the brewing bin is determined, and the appropriate amount of water is controlled to control the water supply device to provide according to the amount of powder.
Accurate detection and control of the amount of powder in the brewing bin, ensure the matching of powder and water during the beverage preparation process, and improve the quality and consistency of beverage preparation.
Smart Images

Figure CN119014709A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of small household appliances, and in particular relates to a beverage preparation machine and a control method thereof. Background Art
[0002] A beverage preparation machine with a grinding function, for example, a fully automatic coffee machine with a grinding function, needs to grind coffee beans into powder through a grinder and then drop the powder into a brewing chamber, and then add water into the brewing chamber to brew coffee in the brewing chamber.
[0003] However, the related art is to add water into the brewing chamber for brewing without knowing whether raw materials such as coffee beans fall into the brewing chamber after grinding and how much powder falls into the brewing chamber, which cannot guarantee the quality of the beverage prepared by the beverage preparation machine. Summary of the invention
[0004] The embodiment of the present invention provides a beverage preparation machine and a control method thereof, which are used to detect the amount of powder in the brewing chamber used for the current brewing, solving the technical problem in the related art that the beverage preparation machine prepares beverages without knowing the amount of powder in the brewing chamber.
[0005] In the first aspect, an embodiment of the present invention provides a beverage preparation machine control method, wherein the brewing device of the beverage preparation machine includes a motor and a brewing chamber, the brewing chamber includes a fixed part and a movable part, the motor is used to drive the movable part to move relative to the fixed part, and the method includes: in the process of the motor driving the movable part to move toward the fixed part, detecting whether the motor is blocked during operation, and obtaining the current number of rotations of the motor when the motor is blocked; determining the distance the movable part moves toward the fixed part in the current brewing process according to the current number of rotations; and determining the amount of powder in the brewing chamber used for the current brewing according to the distance the movable part moves toward the fixed part in the current brewing process.
[0006] In combination with the first aspect, in some embodiments, during the process in which the motor drives the movable part to move toward the fixed part, detecting whether the motor is stalled during operation includes: detecting a first working current during the process in which the motor rotates in a first direction, wherein the rotation of the motor in the first direction is used to drive the movable part to move toward the fixed part; if the first working current rises to a value greater than a first preset current threshold within a preset time range, it is determined that the powder in the brewing chamber is compressed into a powder cake, causing the motor to stall, wherein the first preset current threshold is the working current at which the motor stalls during the rotation in the first direction.
[0007] In combination with the first aspect, in some embodiments, during the process of the motor driving the movable part to move toward the fixed part, before detecting whether the motor is stuck during operation, it also includes: controlling the motor to rotate in a second direction to drive the movable part away from the fixed part to move toward a starting position, the second direction being opposite to the first direction; after the movable part is reset to the starting position, controlling the motor to rotate in the first direction to drive the movable part to move from the starting position toward the fixed part.
[0008] In combination with the first aspect, in some embodiments, a mechanical limit is provided at the starting position, and the method further includes: detecting a second operating current during the rotation of the motor in the second direction; if the second operating current is greater than a second preset current threshold, it is determined that the movable part has been reset to the starting position, and the second preset current threshold is the current when the mechanical limit exerts a limiting effect on the movable part and causes the motor to stall.
[0009] In combination with the first aspect, in some embodiments, obtaining the current number of rotations of the motor when the motor is stalled includes: starting to count the number of rotations of the motor at the starting moment when the motor rotates in the first direction at the starting position; when it is detected that the motor is stalled during rotation in the first direction, stopping counting the number of rotations of the motor to obtain a current counting result; and using the current counting result as the current number of rotations of the motor.
[0010] In combination with the first aspect, in some embodiments, determining the distance the movable part moves toward the fixed part in the current brewing process based on the current number of rotations includes: obtaining a unit movement distance of the movable part, the unit movement distance being the distance the movable part moves relative to the fixed part when the motor rotates one circle; and determining the distance the movable part moves toward the fixed part in the current brewing process based on the current number of rotations and the unit movement distance.
[0011] In combination with the first aspect, in some embodiments, the amount of powder in the brewing chamber for the current brewing is determined based on the distance the movable part moves toward the fixed part in the current brewing process, including: comparing the distance the movable part moves toward the fixed part in the current brewing process with the maximum movement distance of the movable part, the maximum movement distance being the distance the movable part moves toward the fixed part when the brewing chamber is in an empty state; if the distance the movable part moves toward the fixed part in the current brewing process is less than the maximum movement distance, it is determined that there is powder in the brewing chamber; otherwise, it is determined that there is no powder in the brewing chamber.
[0012] In combination with the first aspect, in some embodiments, determining the amount of powder in the brewing chamber for the current brewing based on the distance the movable part moves toward the fixed part during the current brewing process includes: determining the stroke difference between the distance the movable part moves toward the fixed part during the current brewing process and the maximum moving stroke, the maximum moving stroke being the distance the movable part moves from the starting position to the fixed part when the brewing chamber is in an empty state; determining the amount of powder in the brewing chamber for the current brewing based on the ratio between the stroke difference and a stroke difference reference amount and a powder reference amount corresponding to the stroke difference reference amount.
[0013] In combination with the first aspect, in some embodiments, the beverage preparation machine also includes a water supply device for supplying water to the brewing chamber, and the method includes: controlling the water supply device according to the amount of powder, so that the amount of water provided by the water supply device to the brewing chamber for the current brewing is positively correlated with the amount of powder in the brewing chamber for the current brewing.
[0014] In a second aspect, an embodiment of the present invention provides a beverage preparation machine, comprising: a brewing device, a water supply device and a control device; the brewing device comprises a motor and a brewing chamber, the brewing chamber comprises a fixed part and a movable part, the motor is used to drive the movable part to move relative to the fixed part; the control device comprises a controller, a motor drive circuit and a current detection circuit, the motor drive circuit is used to drive the motor to operate according to a control signal output by the controller, and the current detection circuit is used to detect the working current of the motor and provide it to the controller; wherein the controller comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any one of the embodiments of the first aspect when executing the program.
[0015] One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
[0016] In the process of the motor driving the movable part to move toward the fixed part, it is detected whether the motor is blocked during operation, and the current number of rotations of the motor when the motor is blocked is obtained; the movement distance of the movable part toward the fixed part in the current brewing process is determined according to the current number of rotations; the amount of powder in the brewing chamber used for the current brewing is determined according to the movement distance of the movable part toward the fixed part in the current brewing process. The travel of the brewing chamber is determined by the number of rotations of the motor. The above technical solution determines the movement distance of the movable part in the brewing chamber toward the fixed part according to the number of rotations of the motor when the motor is blocked, and determines the amount of powder in the brewing chamber according to the movement distance, thereby realizing accurate detection of the amount of powder in the brewing chamber used for the current brewing, so that the beverage preparation machine prepares beverages knowing the amount of powder in the brewing chamber. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 The brewing device and control device of the beverage preparation machine in the embodiment of the present invention are shown;
[0019] Figure 2 for Figure 1 Schematic diagram of the movement of the movable part of the middle brewing chamber from the starting position to the brewing position;
[0020] Figure 3 The flow chart of the beverage preparation machine control method in the embodiment of the present invention is shown;
[0021] Figure 4 Shows Figure 1 Circuit connection relationship when the motor is a DC motor;
[0022] Figure 5 Shows Figure 1 The structure of the controller. DETAILED DESCRIPTION
[0023] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0024] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0025] The embodiment of the present invention provides a control method for a beverage preparation machine, where the beverage preparation machine may be a coffee machine, a soybean milk machine, etc. Figure 1As shown, the beverage preparation machine includes: a control device 100 and a brewing device 200, the control device 100 is used to control at least the brewing device 200, and the brewing device 200 is used to brew beverages using powder and water under the control of the control device 100, such as: brewing coffee using coffee powder and water, and another example: brewing soy milk using soy powder and water.
[0026] The brewing device 200 includes a brewing chamber 210 and a motor 220. The brewing chamber 210 includes a fixed portion 211 and a movable portion 212. The fixed portion 211 is fixed inside the beverage preparation machine and does not move, while the movable portion 212 is driven by the motor 210 to move relative to the fixed portion 211. Figure 2 As shown, the movement of the movable portion 212 relative to the fixed portion 211 has a starting position (the starting position is as shown in Figure 2 The starting position A is the position where the movable part 212 is farthest from the fixed part 211. Each time the brewing device 200 brews a beverage, the movable part 212 needs to move from the starting position A to the fixed part 211 to squeeze the powder falling into the brewing chamber 210 and finally reach the brewing position (the brewing position is as shown in FIG. Figure 2 The amount of powder falling into the brewing chamber 210 will affect the amount of powder arriving at the brewing position B. Figure 1 As shown, the movable part 212 can be fixed to the screw rod 230 by a connecting member, and the screw rod 230 rotates synchronously when the rotating shaft of the motor 220 rotates. Due to the forward and reverse rotation of the screw rod 230, the movable part 212 of the brewing chamber 210 will follow and move toward or away from the fixed part 211.
[0027] refer to Figure 1 As shown, the control device 100 may include a controller 110, a motor drive circuit 120 and a current detection circuit 130. The motor drive circuit 120 is connected between the controller 110 and the motor 220. The motor drive circuit 120 is used to drive the motor 220 to operate according to the control signal output by the controller 110. The current detection circuit 130 is used to detect the working current of the motor 220 during operation and provide it to the controller 110. Among them, the controller 110 may be a microcontroller unit (abbreviated as MCU in English; full name in English: Microcontroller Unit).
[0028] It is understandable that the beverage preparation machine may further include one or more material preparation devices (not shown), and the brewing device 200 may use the materials provided by each material preparation device to brew the beverage. The material preparation device may include a water supply device (not shown) for supplying water to the brewing chamber 210 and a grinder (not shown) for providing powder to the brewing chamber 210.
[0029] refer to Figure 3 As shown, the beverage preparation machine control method provided by the embodiment of the present invention includes the following steps:
[0030] S301 . When the motor 220 drives the movable part 212 to move toward the fixed part 211 , detect whether the motor 220 is stalled during operation, and obtain the current number of rotations of the motor 220 when the motor 220 is stalled.
[0031] It should be noted that in each beverage preparation process of the beverage preparation machine: the grinder grinds the raw materials (such as coffee beans) into powder and drops it into the brewing chamber 210; after the grinder completes the grinding, the brewing device 200 is controlled to start the current brewing action: the motor 220 is controlled to rotate in the first direction to drive the movable part 212 of the brewing chamber 210 to move from the starting position A to the fixed part 211 to squeeze the powder falling into the brewing chamber 210 to form a powder cake, at which time, the movable part 212 has reached the brewing position. After the powder cake is formed, water is added to the brewing chamber 210 to brew the beverage.
[0032] It is understandable that in order to improve the operational reliability of the brewing device 200, the movable part 212 of the brewing chamber 210 needs to move from the starting position A to the fixed part 211 to squeeze the powder falling into the brewing chamber 210. However, during the last brewing process of the brewing device 200, if a power failure occurs, the movable part 212 will stay at a position other than the starting position A. Therefore, in each beverage preparation process, the motor 220 is controlled to rotate in the second direction to drive the movable part 212 to move away from the fixed part 211 to the starting position A, and the second direction is opposite to the first direction; after the movable part 212 is reset to the starting position A, the motor 220 is controlled to rotate in the first direction to drive the movable part 212 to move from the starting position A to the fixed part 211.
[0033] It should be noted that the process of resetting the movable part 212 to the original position A is performed before the grinder grinds the raw materials into powder. By recording the stop position of the movable part 212 in the last brewing process, it is determined whether the movable part 212 is currently in the starting position A based on the stop position of the movable part 212 in the last brewing process. If the movable part 212 is not currently in the starting position A, the motor 220 is controlled to rotate in the second direction to drive the movable part 212 away from the fixed part 211 to move toward the starting position A, so that the movable part 212 is reset to the starting position A. After the movable part 212 is reset to the starting position A, the grinder is started to grind the raw materials into powder to fall into the brewing chamber 210; after the grinder is controlled to stop grinding, the brewing device 200 is controlled to start the current brewing process, including: controlling the motor 220 to rotate in the first direction to drive the movable part 212 to move from the starting position A to the fixed part 211, squeezing the powder used for the current brewing in the brewing chamber 210 into a powder cake.
[0034] During the last beverage preparation process of the beverage preparation machine, it is necessary to distinguish the stop position of the movable part 212 by marking it, for example: the stop position is marked as "1" at the starting position A, and is marked as "0" if it is not at the starting position A. This makes it easier to judge whether the movable part 212 is at the starting position A based on the mark during the current beverage preparation process of the beverage preparation machine.
[0035] In order to determine whether the movable part 212 has been reset to the starting position A, a detection switch (not shown) may be provided at the starting position A, such as a micro switch. When the motor 220 rotates in the second direction to make the movable part 212 reach the starting position A, the detection switch will be triggered to generate an electrical signal. The controller 110 will receive the electrical signal fed back by the detection switch. If the electrical signal fed back by the detection switch is received, it is determined that the movable part 212 has been reset to the starting position A. Otherwise, it indicates that the movable part 212 has not yet been reset to the starting position A.
[0036] In order to determine whether the movable part 212 has been reset to the starting position A, a mechanical limit may be provided at the starting position A. When the movable part 212 moves to the starting position A, it cannot continue to move due to the limiting effect of the mechanical limit, causing the motor 220 used to drive the movable part 212 to be blocked. Therefore, the second working current of the motor 220 rotating in the second direction is detected; if the second working current is greater than the second preset current threshold, it is determined that the movable part 212 has been reset to the starting position A, wherein the second preset current threshold is the current when the mechanical limit has a limiting effect on the movable part 212, causing the motor 220 to be blocked, and the second preset current threshold is pre-determined and written into the controller 110.
[0037] At the starting moment when the motor 220 rotates in the first direction at the starting position A, the number of rotations of the motor 220 begins to be counted, that is, at the starting moment when the motor 220 drives the movable part 212 to move from the starting position A to the fixed part 211, the number of rotations of the motor 220 begins to be counted from zero, and the number of rotations is counted by 1 for each rotation of the motor 220; when it is detected that the motor 220 is stalled during the rotation in the first direction, the number of rotations of the motor 220 is stopped to obtain the current counting result, and the current counting result is used as the current number of rotations of the motor 220.
[0038] It should be understood that the motor 220 herein may be a stepper motor or a DC motor:
[0039] If the motor 220 is a stepper motor, the circuit connection relationship is as follows: Figure 1As shown, at the starting moment when the stepper motor rotates from the starting position A to the first direction, the pulse signal sent by the controller 110 to the motor drive circuit 220 starts to be counted; when it is detected that the motor 220 is stalled, the pulse signal sent by the controller 110 is stopped to obtain the current pulse signal counting result; the current pulse signal counting result is used as the current number of rotations of the motor 220.
[0040] If the motor 220 is a DC motor, refer to the circuit connection relationship. Figure 4 As shown, a speed sensor 140 is also provided at the position where the DC motor is located. At the start time when the DC motor rotates from the starting position A to the first direction, the speed sensor is triggered to detect the number of rotations of the motor 220; when it is detected that the motor 220 is locked during the process of rotating in the first direction, the current detection result of the speed sensor is obtained, and the current number of rotations of the motor 220 is determined according to the current detection result of the speed sensor. The speed sensor can be a photoelectric sensor or a Hall sensor.
[0041] In order to detect whether the motor 220 is stalled during the rotation in the first direction, the first working current of the motor 220 during the rotation in the first direction is detected, wherein the rotation of the motor 220 in the first direction is used to drive the movable part 212 to move toward the fixed part 211; if the first working current rises to be greater than a first preset current threshold within a preset time range, it is determined that the powder in the brewing chamber 210 is compressed into a powder cake, causing the motor 220 to stall, wherein the first preset current threshold is the current when the motor 220 is stalled during the rotation in the first direction.
[0042] Because it is only when the first working current rises to a level greater than the first preset current threshold within the preset time range that it is determined that the motor 220 is stalled because the powder in the brewing chamber 210 is compressed into a powder cake, the stalling of the motor 220 caused by other factors is ruled out, which is beneficial to improving the accuracy of detecting the amount of powder in the brewing chamber 210.
[0043] It can be understood that the timing starts from the starting moment when the motor 220 rotates from the starting position A to the first direction. If the timing duration when the first working current of the motor 220 rises to a value greater than the first preset current threshold is less than the lower limit value of the preset duration range, a first fault prompt message is issued to indicate that a fault has occurred in the beverage preparation machine; if the timing duration is greater than the upper limit value of the preset duration range and the first working current has not yet risen to a value greater than the first preset current threshold, a second fault prompt message is issued to indicate that a fault has occurred in the beverage preparation machine: there is slippage between the rotating shaft of the motor 220 and the screw rod 230, etc.
[0044] It should be noted that the first preset current threshold and the preset time range are both pre-determined and written into the controller 110. When the brewing chamber 210 is in an empty state and a full state, the time taken for the movable part 212 to move from the starting position to the fixed part 211 until the motor 220 is blocked is measured respectively, so as to determine the preset time range.
[0045] It should be noted that the first working current and the second working current in this article are only used to distinguish the working currents detected by the motor 220 in different rotation directions, and can be detected by the same current detection circuit 130.
[0046] Of course, in order to more simply detect whether the motor 220 is stalled due to the powder in the brewing chamber 210 being compressed into a powder cake, when it is detected that the first working current of the motor 220 is greater than the first preset current threshold, it is determined that the powder in the brewing chamber 210 is compressed into a powder cake, causing the motor 220 to stall, and there is no need to add a preset time range limit.
[0047] S302 , determining the travel of the movable part 212 toward the fixed part 211 during the current brewing process according to the current number of rotations of the motor 220 .
[0048] The unit movement stroke of the movable part 212 is obtained, wherein the unit movement stroke is the distance that the movable part 212 moves relative to the fixed part 211 when the motor 220 rotates one circle; based on the current number of rotations of the motor 220 and the unit movement stroke, the movement stroke of the movable part 212 toward the fixed part 211 in the current brewing process is determined.
[0049] It should be noted that the unit movement stroke of the movable part 212 is related to the connection mode between the motor 220 and the screw rod 230: the rotating shaft of the motor 220 can be connected to the screw rod 230 through a reduction gear (not shown), then the unit movement stroke h ’ It needs to be determined based on the travel h of the screw rod 230 for one revolution and the reduction ratio b between the motor 220 and the reduction gear: h ’ =h / b. The rotating shaft of the motor 220 can also be directly connected to the screw rod 230, then the unit moving stroke h ’ The travel h of one screw rotation: h ’ =h.
[0050] The product of the current number of revolutions N of the motor 220 and the unit moving distance can be directly used as the distance H of the movable part 212 moving toward the fixed part 211 during the current brewing process: H = N*h ’ Of course, the moving stroke H can also be obtained by adding a correction parameter to the product result.
[0051] S303, determining the amount of powder in the brewing chamber 210 for the current brewing according to the travel of the movable part 212 toward the fixed part 211 during the current brewing process.
[0052] It is understandable that it is necessary to obtain reference data in advance. In step S303: based on the movement distance of the movable part 212 toward the fixed part 211 during the current brewing process and the pre-determined reference data, determine whether there is powder in the brewing chamber 210 and / or how much powder is used for the current brewing.
[0053] In order to determine whether there is powder in the brewing chamber 210 based on the movement distance of the movable part 212 toward the fixed part 211 in the current brewing process and the pre-determined reference data, the pre-determined reference data includes the maximum movement distance of the movable part 212, and compares the movement distance of the movable part 212 toward the fixed part 211 in the current brewing process with the maximum movement distance of the movable part 212; if the movement distance of the movable part 212 toward the fixed part 211 in the current brewing process is less than the maximum movement distance of the movable part 212, it is determined that there is powder in the brewing chamber 210; if the movement distance of the movable part 212 toward the fixed part 211 in the current brewing process is not less than the maximum movement distance of the movable part 212, it is determined that there is no powder in the brewing chamber 210.
[0054] It is understandable that if it is determined that there is no powder in the brewing chamber 210, it can be further determined that there is no raw material in the grinder or the grinder is malfunctioning.
[0055] The amount of powder in the brewing chamber 210 used for the current brewing can be the weight of the powder in the brewing chamber 210 or the proportion of the powder (the proportion of the occupancy of the brewing chamber 210). In order to determine the amount of powder in the brewing chamber 210 used for the current brewing according to the travel of the movable part 212 moving toward the fixed part 211 during the current brewing process and the pre-determined reference data, the implementation methods for determining the amount of powder in the brewing chamber 210 used for the current brewing are different according to the types of pre-determined reference data. Several implementation methods are given below:
[0056] In some embodiments, the reference data may include the following two: 1. A stroke difference reference amount; 2. A powder reference amount corresponding to the stroke difference reference amount.
[0057] Determine the stroke difference between the stroke of the movable part 212 moving toward the fixed part 211 during the current brewing process and the maximum moving stroke of the movable part 212, and determine the amount of powder in the brewing chamber 210 used for the current brewing based on the ratio between the stroke difference and the stroke difference reference amount and the powder reference amount corresponding to the stroke difference reference amount.
[0058] The amount of powder in the brewing chamber 210 for the current brewing can be calculated by referring to the following formula:
[0059]
[0060] Among them, H max is the maximum moving stroke of the movable part 212, H is the moving stroke of the movable part 212 in the current brewing, △H is the stroke difference reference, m ref is the powder reference amount corresponding to the stroke difference reference amount, and m represents the powder amount in the brewing chamber 210 used for the current brewing.
[0061] It should be noted that the travel difference can be selected between (0, H max ) as the stroke difference reference value △H, and the amount of powder in the brewing bin 210 under the stroke difference reference value is measured as the powder reference amount m ref .
[0062] It should be noted that the maximum movement distance of the brewing chamber 210 is the distance that the movable part 212 moves from the starting position A to the fixed part 211 to the brewing position B when the brewing chamber 210 is in an empty state. Figure 2 As shown, the maximum moving distance M is the distance between point A and point B.
[0063] In some embodiments, the reference data may be a relationship curve between the moving distance and the amount of powder. According to the moving distance of the movable part 212 toward the fixed part 211 during the current brewing process, the amount of powder in the brewing chamber 210 used for the current brewing is obtained by querying the pre-determined relationship curve.
[0064] In some embodiments, the reference data may be a plurality of sets of corresponding data on the amount of powder corresponding to a plurality of different moving strokes: two sets of target data are obtained from the plurality of sets of corresponding data according to the stroke of the movable part 212 moving toward the fixed part 211 during the current brewing process; interpolation calculation is performed based on the two sets of target data and the stroke of the brewing chamber 210 moving toward the fixed part 211 during the current brewing process to obtain the amount of powder in the brewing chamber 210 for the current brewing. It should be noted that the two sets of target data are specifically: the two sets of corresponding data whose moving stroke is closest to the stroke of the movable part 212 moving toward the fixed part 211 during the current brewing process in the plurality of sets of corresponding data.
[0065] For example, the reference data are: (moving stroke x1, powder weight m1), (moving stroke x2, powder weight m2), (moving stroke x3, powder weight m3), (moving stroke x4, powder weight m4), (moving stroke x5, powder weight m5), (moving stroke x6, powder weight m6)... In the current brewing process, the moving stroke toward the fixed part 211 is x, which is between x4 and x5, then two sets of target data (moving stroke x4, powder weight m4), (moving stroke x5, powder weight m5) are obtained for calculating the powder weight m in the brewing chamber 210 for the current brewing, which is used for m=m5+(m4-m5)×(x-x4) / (x5-x4).
[0066] It is understandable that after determining the amount of powder used for the current brewing in the brewing chamber 210, the start and stop of the water supply device is controlled according to the amount of powder, so that the amount of water for the current brewing provided by the water supply device to the brewing chamber 210 is positively correlated with the amount of powder used for the current brewing in the brewing chamber 210. Thus, the more powder used for brewing beverages in the brewing chamber 210, the greater the amount of water added, and vice versa, the smaller the amount of water added, so that the concentration of the brewed beverage stably reaches the target concentration, thereby improving the quality of the brewed beverage.
[0067] Based on the same inventive concept, an embodiment of the present invention provides a beverage preparation machine, referring to Figure 1 and Figure 4 As shown, the beverage preparation machine includes: a brewing device 200, a water supply device and a control device 100; the brewing device 200 includes a motor 220 and a brewing chamber 210, the brewing chamber 210 includes a fixed part 211 and a movable part 212, and the motor 220 is used to drive the movable part 212 to move relative to the fixed part 211; the control device 100 includes a controller 110, a motor drive circuit 120 and a current detection circuit 130, the motor drive circuit 120 is used to drive the motor 220 to operate according to the control signal output by the controller 110, and the current detection circuit 130 is used to detect the working current of the motor 220 and provide it to the controller 110.
[0068] refer to Figure 5 As shown, the controller 110 includes: a memory 1404, a processor 1402, and a computer program stored in the memory 1404 and executable on the processor 1402. When the processor 1402 executes the program, the beverage preparation machine control method provided in the embodiment of the present invention is implemented.
[0069] Among them, Figure 5In the embodiment of the present invention, a bus architecture (represented by bus 1400) is shown, which may include any number of interconnected buses and bridges, and bus 1400 links various circuits including one or more processors represented by processor 1402 and memory represented by memory 1404. Bus 1400 may also link various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. Bus interface 1405 provides an interface between bus 1400 and receiver 1401 and transmitter 1403. Receiver 1401 and transmitter 1403 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 1402 is responsible for managing bus 1400 and general processing, while memory 1404 may be used to store data used by processor 1402 when performing operations.
[0070] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0071] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A beverage preparation machine control method, characterized in that: The brewing device of the beverage preparation machine comprises a motor and a brewing chamber, the brewing chamber comprises a fixed part and a movable part, the motor is used to drive the movable part to move relative to the fixed part, and the method comprises: In the process of the motor driving the movable part to move toward the fixed part, detecting whether the motor is stalled during operation, and obtaining the current number of rotations of the motor when the motor is stalled; Determine the travel distance of the movable part toward the fixed part during the current brewing process according to the current number of rotations; The amount of powder in the brewing chamber used for the current brewing is determined according to the travel of the movable part toward the fixed part during the current brewing process.
2. The method according to claim 1, characterized in that In the process of the motor driving the movable part to move toward the fixed part, detecting whether the motor is stalled during operation includes: detecting a first operating current during the process of the motor rotating in a first direction, wherein the motor rotating in the first direction is used to drive the movable part to move toward the fixed part; If the first working current rises to be greater than a first preset current threshold within a preset time range, it is determined that the powder in the brewing chamber is compressed into a powder cake causing the motor to stall, wherein the first preset current threshold is the working current at which the motor stalls during rotation in the first direction.
3. The method according to claim 2, characterized in that In the process of the motor driving the movable part to move toward the fixed part, before detecting whether the motor is stalled during operation, the method further includes: Controlling the motor to rotate in a second direction to drive the movable part to move away from the fixed part toward the starting position, wherein the second direction is opposite to the first direction; After the movable part is reset to the starting position, the motor is controlled to rotate in the first direction to drive the movable part to move from the starting position toward the fixed part.
4. The method according to claim 3, characterized in that A mechanical limit is provided at the starting position, and the method further comprises: Detecting a second operating current during the process of the motor rotating in the second direction; If the second working current is greater than a second preset current threshold, it is determined that the movable part has been reset to the starting position. The second preset current threshold is the current when the mechanical limit exerts a limiting effect on the movable part to cause the motor to stall.
5. The method according to claim 3, characterized in that The obtaining of the current number of rotations of the motor when the motor is stalled includes: At the start moment when the motor rotates in the first direction at the starting position, start counting the number of rotations of the motor; When it is detected that the motor is stalled during the rotation in the first direction, stop counting the number of rotations of the motor to obtain a current counting result; The current counting result is used as the current number of rotations of the motor.
6. The method according to claim 1, wherein determining the distance of the movable part moving toward the fixed part during the current brewing process according to the current number of rotations comprises: Acquire a unit movement stroke of the movable part, where the unit movement stroke is a distance that the movable part moves relative to the fixed part when the motor rotates one circle; Based on the current number of rotations and the unit movement stroke, the movement stroke of the movable part toward the fixed part during the current brewing process is determined.
7. The method according to claim 1, characterized in that The method of determining the amount of powder in the brewing chamber for the current brewing according to the travel of the movable part moving toward the fixed part during the current brewing process comprises: comparing the travel distance of the movable part toward the fixed part during the current brewing process with the maximum travel distance of the movable part, wherein the maximum travel distance is the travel distance of the movable part toward the fixed part when the brewing chamber is in an empty chamber state; If the movement distance of the movable part toward the fixed part during the current brewing process is less than the maximum movement distance, it is determined that there is powder in the brewing bin; otherwise, it is determined that there is no powder in the brewing bin.
8. The method according to claim 1, characterized in that The method of determining the amount of powder in the brewing chamber for the current brewing according to the travel of the movable part moving toward the fixed part during the current brewing process comprises: Determine a stroke difference between a stroke of the movable part moving toward the fixed part during the current brewing process and a maximum movement stroke, wherein the maximum movement stroke is a stroke of the movable part moving from a starting position toward the fixed part when the brewing chamber is in an empty chamber state; The amount of powder in the brewing chamber for the current brewing is determined according to the ratio between the stroke difference and the stroke difference reference amount and the powder reference amount corresponding to the stroke difference reference amount.
9. The method according to any one of claims 1 to 8, characterized in that: The beverage preparation machine further comprises a water supply device for supplying water to the brewing chamber, and the method comprises: The water supply device is controlled according to the amount of powder so that the amount of water provided by the water supply device to the brewing chamber for the current brewing is positively correlated with the amount of powder in the brewing chamber for the current brewing.
10. A beverage preparation machine, characterized in that: include: Brewing equipment, water supply equipment and control equipment; The brewing device comprises a motor and a brewing chamber, wherein the brewing chamber comprises a fixed part and a movable part, and the motor is used to drive the movable part to move relative to the fixed part; The control device includes a controller, a motor drive circuit and a current detection circuit, wherein the motor drive circuit is used to drive the motor to operate according to a control signal output by the controller, and the current detection circuit is used to detect the working current of the motor and provide it to the controller; The controller comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method according to any one of claims 1 to 9 when executing the program.
Citation Information
Patent Citations
Control method of food processor
CN113273905A
Method and system for detecting abrasion of brake pad of electronic mechanical braking system of railway vehicle
CN115009250A
Pressed powder thickness detection intervention method and coffee grinding machine
CN115844205A
Coffee machine powder pressing method and brewing unit
CN115956807A
Method for the preparation of coffee
US4767632A
