Beverage preparation machine and control method thereof
By acquiring the motor's operating current and rotation direction, and combining this with a current threshold within a preset time interval, the position of the moving part of the brewing chamber in the beverage preparation machine is determined. This solves the problem of complex structure in existing technologies and achieves accurate detection and reliable control of the brewing chamber.
Patent Information
- Application Number
- CN202310591387.1
- 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 brewing chamber of existing beverage preparation machines with grinding functions needs to rely on microswitches to detect its position during movement, which increases the complexity of the structure.
By acquiring the motor's operating current and rotation direction, and combining this with a current threshold within a preset time interval, it can be determined whether the moving part of the brewing chamber has reached the target position, thereby controlling the motor to stop rotating and simplifying structural inspection.
This technology enables accurate judgment of whether the moving parts of the brewing chamber are in place without increasing structural complexity, and timely control of the motor to stop, thereby improving the accuracy of judgment and the reliability of the beverage preparation machine.
Smart Images

Figure CN119014710A_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] Beverage preparation machines with a grinding function, such as fully automatic coffee machines with a grinding function, need to grind coffee beans into powder through a grinder and then drop them into a brewing chamber, and then add water to the brewing chamber to brew coffee in the brewing chamber. Currently, the brewing chamber of a fully automatic coffee machine has a starting position and a brewing position. When the movable part of the brewing chamber moves to the starting position or to the brewing position, a micro switch is needed to detect whether the movable part of the brewing chamber is in place, which increases the complexity of the structure. Summary of the invention
[0003] The embodiment of the present invention provides a beverage preparation machine and a control method thereof, which reduces the structural complexity of the beverage preparation machine without losing the function of detecting whether the movable part of the brewing chamber is in place.
[0004] 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 relative to the fixed part, obtaining the working current of the motor and the rotation direction of the motor; under the current rotation direction of the motor, if the working current of the motor increases to be greater than a stall current threshold within a preset time interval, determining that the movable part has reached a target position corresponding to the current rotation direction; and controlling the motor to stop rotating in the current rotation direction.
[0005] In combination with the first aspect, in some embodiments, determining that the movable part has reached the target position corresponding to the current rotation direction includes: if the current rotation direction of the motor is a first direction, determining that the movable part has reached the starting position, and the motor rotates in the first direction to drive the movable part to move away from the fixed part; if the current rotation direction of the motor is a second direction, determining that the movable part has reached the brewing position, and the motor rotates in the second direction to drive the movable part to move toward the fixed part, and the starting position is farther away from the fixed part relative to the brewing position.
[0006] In combination with the first aspect, in some embodiments, the method further includes: in response to a power-on start signal of the beverage preparation machine, obtaining recorded information in the beverage preparation machine, the recorded information including position information of the movable part; if the position information indicates that the movable part is not in the starting position, before adding powder for the current beverage brewing into the brewing chamber, controlling the motor to rotate in a first direction to drive the movable part to reset to the starting position; and adding powder for the current beverage brewing into the brewing chamber.
[0007] In combination with the first aspect, in some embodiments, obtaining the working current of the motor and the rotation direction of the motor includes: detecting the working current of the motor through a current detection circuit connected to the motor; obtaining a drive signal output by a motor drive circuit for driving the motor, and determining the rotation direction of the motor according to the drive signal.
[0008] In combination with the first aspect, in some embodiments, after obtaining the working current of the motor and the rotation direction of the motor, it also includes: under the current rotation direction of the motor, if the working current of the motor does not increase to be greater than the stall current threshold within a preset time interval, outputting fault prompt information for indicating that a fault has occurred in the brewing device.
[0009] In combination with the first aspect, in some embodiments, the output is used to indicate fault prompt information of a fault in the brewing device, including: if the time taken for the working current of the motor to increase to be greater than the stall current threshold is less than the lower limit of the preset time interval, outputting a first fault prompt information; if the working current of the motor is still not greater than the stall current threshold after exceeding the upper limit of the preset time interval, outputting a second fault prompt information, which is different from the first fault prompt information.
[0010] In a second aspect, an embodiment of the present invention provides a beverage preparation machine, comprising a brewing device and a control device, wherein the control device is used to control at least the brewing device, and the brewing device is used to brew beverages under the control of the control device; the brewing device comprises a motor and a brewing chamber, 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 is used to: obtain the working current of the motor and the rotation direction of the motor during the process of the motor driving the movable part to move relative to the fixed part; under the current rotation direction of the motor, if the working current of the motor increases to be greater than the stall current threshold within a preset time interval, determine that the movable part has reached the target position corresponding to the current rotation direction; control the motor to stop rotating in the current rotation direction.
[0011] In combination with the second aspect, in some embodiments, the brewing device also includes: a first limiting structure, which is arranged at the starting position of the movable part, and the first limiting structure is used to limit the movable part when the movable part moves to the starting position; a second limiting structure, which is arranged at the brewing position of the movable part, and the first limiting structure is used to limit the movable part when the movable part moves to the brewing position.
[0012] In combination with the second aspect, in some embodiments, the movable part has a accommodating cavity with an opening toward the fixed part, and an elastic pressure plate is provided in the accommodating cavity, and the elastic pressure plate is used to interact with the fixed part when the movable part moves to the brewing position to compress the powder in the accommodating cavity.
[0013] In combination with the second aspect, in some embodiments, the control device includes: a controller; a current detection circuit connected between the motor and the controller, the current detection circuit is used to detect the working current of the motor and provide it to the controller; a motor drive circuit connected between the motor and the controller, the motor drive circuit is used to drive the motor according to the drive signal provided by the controller; the controller is used to: determine whether the working current of the motor increases to a level greater than a stall current threshold within a preset time interval, and if so, determine that the movable part has reached the target position according to the current rotation direction of the motor, and stop outputting the drive signal to the motor drive circuit to stop the motor from rotating in the current rotation direction.
[0014] One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
[0015] The beverage preparation machine control method provided by the embodiment of the present invention obtains the working current of the motor and the rotation direction of the motor in the process of the motor driving the movable part to move relative to the fixed part; under the current rotation direction of the motor, if the working current of the motor increases to be greater than the stall current threshold within a preset time interval, it is determined that the movable part has reached the target position corresponding to the current rotation direction; and the motor is controlled to stop rotating in the current rotation direction. The position of the movable part of the brewing chamber is judged by combining the working current and the rotation direction of the motor, which saves the setting of position detection elements such as micro switches, thereby simplifying the structure of the brewing device of the beverage preparation machine, but it is still possible to accurately judge whether the movable part is in place and control the motor to stop in time, and the function of the beverage preparation machine will not be lost.
[0016] And because the time interval is combined, the possibility that the working current of the motor is greater than the stall current threshold due to a malfunction of the brewing device is eliminated, which can improve the accuracy of judging whether the movable part of the brewing chamber is in place. 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 The brewing position is fixed, the structure of the movable part and the position between the starting position and the brewing position are shown;
[0020] Figure 3 The brewing position is not fixed, the structure of the movable part and the position between the starting position and the brewing position are shown;
[0021] Figure 4 The flow chart of the beverage preparation machine control method in the embodiment of the present invention is shown;
[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 beverage preparation machine, which may be a coffee machine, a soybean milk machine, etc. Figure 1 As shown, the beverage preparation machine includes: a control device 100 and a brewing device 200, the control device 100 is used to at least control the brewing device 200, and the brewing device 200 is used to brew beverages 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. The motor 220 is used to drive the movable portion 212 to move relative to the fixed portion 211 .
[0027] refer to Figure 2 , Figure 3 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 brewing position (the brewing position is at point A shown in FIG. Figure 2 The movable portion 212 is at point B as shown). The starting position of the movable portion 212 is farther away from the fixed portion 211 relative to the brewing position. After adding the powder for the current beverage brewing into the brewing chamber 210, the movable portion 212 will move from the starting position toward the fixed portion 211 to squeeze the powder in the brewing chamber 210 until the movable portion 212 moves to the brewing position and compresses the powder in the brewing chamber 210 into a powder cake. After the movable portion 212 reaches the brewing position, water for the current beverage brewing is added to the brewing chamber 210 to brew the beverage. After the current beverage brewing is completed, the movable portion 212 will move away from the fixed portion 211 from the brewing position until the movable portion 212 is reset to the starting position.
[0028] It should be noted that the movable portion 212 has a receiving cavity 212a opening toward the fixed portion 211, which is used to receive the powder and water added into the brewing chamber 210 for brewing the beverage for the current time.
[0029] It is understandable that the brewing position where the movable portion 212 is located may be fixed or not.
[0030] If the brewing position of the movable part 212 is fixed, the movable range of the movable part 212 is fixed. Figure 2As shown, an elastic pressing plate 212b facing the fixed part 211 is required to be provided in the accommodating chamber 212a. The elastic pressing plate 212b is used to interact with the fixed part 211 when the movable part 212 moves to the brewing position to compress the powder in the accommodating chamber 212a. The fixed part 211 is adapted to the shape and size of the accommodating chamber 212a. As the movable part 212 moves toward the fixed part 211, the mutual compression of the elastic pressing plate 212b and the fixed part 211 will cause the powder in the accommodating chamber 212a between the elastic pressing plate 212b and the fixed part 211 to be compressed into a powder cake. If the brewing position where the movable part 212 is located is fixed, a first limiting structure 213 can be provided at the starting position, and a second limiting structure 214 can be provided at the brewing position. The travel range of the movable part 212 is the distance M between the first limiting structure 213 and the second limiting structure 214. The first limiting structure 213 is used to limit the movable part 212 when the movable part 21 moves to the starting position, and the second limiting structure 214 is used to limit the movable part 212 when the movable part 212 moves to the brewing position.
[0031] like Figure 2 As shown, the elastic pressure plate 212b may include a spring member 212b-1 and a pressure plate 212b-2, one end of the spring member 212b-1 is fixed to the inner bottom wall of the accommodating cavity 212a of the movable part 212, and the other end of the spring member 212b-1 is connected to the pressure plate 212b-2. The more powder materials used for brewing the current beverage in the accommodating cavity 212a, the greater the compression amount of the spring member 212b-1 when the movable part 212 reaches the brewing position, and vice versa, the smaller the compression amount of the spring member 212b-1 when the movable part 212 reaches the brewing position. 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 far away from the fixed part 211 to the fixed part 211. When reaching the brewing position close to the fixed part 211, the amount of powder used for the current beverage brewing in the brewing chamber 210 will affect the compression amount of the spring part 212b-1, but will not affect the stroke of the movable part 212. Therefore, each time a beverage is brewed, the brewing position reached by the movable part 212 is fixed, and is at the position limited by the second limiting structure 214.
[0032] like Figure 3As shown, if it is necessary to meet the requirement that the brewing position reached by the movable part 212 is not fixed, it is not necessary to set the elastic pressing plate 212b in the accommodating chamber 212a. Then, the movable travel range of the movable part 212 is related to the amount of powder used for the current beverage brewing in the brewing chamber 210. The more powder used for the current beverage brewing in the accommodating chamber 212a, the shorter the movable travel of the movable part 212 from the starting position to the fixed part, and the closer the brewing position reached by the movable part 212 is to the starting position. Conversely, the farther the brewing position reached by the movable part 212 is from the starting position. In this case, when the movable part 212 reaches the brewing position, the motor 220 will be blocked due to the compression of the powder cake into a powder cake, and the movable part 212 will be unable to move forward. Therefore, the first limiting structure 213 can be set only at the starting position of the movable part 212 to limit the movable part 212 when the movable part 212 moves to the starting position.
[0033] refer to 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.
[0034] It can be understood that the control of the brewing device 200 by the control device 100 includes: in the process of the motor 220 driving the movable part 212 to move relative to the fixed part 211, obtaining the working current of the motor 220 and the rotation direction of the motor 220; under the current rotation direction of the motor 220, if the working current of the motor 220 increases to be greater than the stall current threshold within a preset time interval, it is determined that the movable part 212 has reached the target position corresponding to the current rotation direction, and the motor 220 is controlled to stop rotating in the current rotation direction.
[0035] Among them, reference Figure 1 As shown, the control device 100 may include a controller 110, a motor drive circuit 120 and a current detection circuit 130, wherein the motor drive circuit 120 is connected between the controller 110 and the motor 220, and the current detection circuit 130 is connected between the motor 220 and the controller 110. The controller 110 may be a microcontroller unit (MCU for short; Microcontroller Unit for short).
[0036] The motor driving circuit 120 is used to drive the motor 220 to operate according to the driving signal output by the controller 110. The current detection circuit 130 is used to detect the operating current of the motor 220 during operation and provide the current to the controller 110.
[0037] It can be understood that the controller 110 is used to: determine whether the operating current of the motor 220 increases to a level greater than the stall current threshold within a preset time interval; if so, determine that the movable part 212 has reached the target position, and stop outputting the drive signal to the motor drive circuit 120 to stop the motor 220 from rotating in the current rotation direction.
[0038] It is understandable that the controller 110 is also used to: determine whether the target position reached by the movable part 212 is the starting position or the brewing position according to the current rotation direction of the motor 220: if the current rotation direction of the motor 220 is the first direction, it is determined that the movable part 212 has reached the starting position, and the motor 220 rotates in the first direction to drive the movable part 212 to move away from the fixed part 211; if the current rotation direction of the motor 220 is the second direction, it is determined that the movable part 212 has reached the brewing position, and the motor 220 rotates in the second direction to drive the movable part 212 to move toward the fixed part 211, wherein the starting position is farther away from the fixed part 211 relative to the brewing position.
[0039] It is understandable that the controller 110 can be used to obtain the driving signal output by itself to the motor driving circuit 120, and determine whether the rotation direction of the motor 220 is the first direction or the second direction according to the driving signal.
[0040] It is understandable that the controller 110 can also be used to: respond to the power-on start signal of the beverage preparation machine, obtain the recorded information in the beverage preparation machine, the recorded information includes the position information of the movable part 212; if the position information indicates that the movable part 212 is not in the starting position, before the powder for the current beverage brewing falls into the brewing chamber 210, the motor 220 is controlled to rotate in the first direction to drive the movable part 212 to reset to the starting position; the powder for the current beverage brewing is added to the brewing chamber 210 only after it is reset to the starting position.
[0041] It is understandable that the beverage preparation machine in the embodiment of the present invention 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 beverages. 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.
[0042] Based on the same inventive concept, the embodiment of the present invention provides a beverage preparation machine control method, referring to Figure 4 As shown, the method comprises the following steps:
[0043] S401 . When the motor 220 drives the movable part 212 to move relative to the fixed part 211 , obtain the working current of the motor 220 and the rotation direction of the motor 220 .
[0044] It should be noted that the process of the motor 220 driving the movable part 212 to move relative to the fixed part 211 includes the following two sub-processes:
[0045] 1. The process in which the motor 220 rotates in the second direction and drives the movable part 212 to move toward the fixed part 211: After each time the powder for the current beverage brewing is added into the brewing chamber 210, the motor 220 drives the movable part 212 to move from the starting position toward the fixed part 211 to compress the powder in the brewing chamber 210 until the movable part 212 reaches the brewing position. When the movable part 212 reaches the brewing position, the powder in the brewing chamber 210 will be compressed into a powder cake due to the interaction with the fixed part 211. After the movable part 212 reaches the brewing position, water will be added into the brewing chamber 210 to brew the beverage, and the brewed beverage will be discharged from the brewing chamber 210.
[0046] 2. The motor 220 rotates in the first direction to drive the movable part 212 to move away from the fixed part 211: After each beverage brewing is completed, the motor 220 drives the movable part 212 to move away from the fixed part 211 from the brewing position to discharge the residue after the beverage brewing from the brewing chamber 210 until the movable part 212 is reset to the starting position. Specifically, the movement of the movable part 212 away from the fixed part 211 will cause the elastic pressure plate 212b to recover and push the residue out of the brewing chamber 210 and / or trigger other auxiliary mechanisms (not shown) to discharge the residue from the brewing chamber 210.
[0047] It is understandable that the current detection circuit 130 connected between the motor 220 and the controller 110 collects the working current of the motor 220 and provides it to the controller 110, so that the controller 110 can obtain the working current of the motor 220. The controller 110 obtains the drive signal output by itself to the motor drive circuit 120, and determines whether the rotation direction of the motor 220 is the first direction or the second direction according to the drive signal.
[0048] S402: If, under the current rotation direction of the motor 220, the operating current of the motor 220 increases to be greater than the stall current threshold within a preset time interval, it is determined that the movable part 212 reaches the target position corresponding to the current rotation direction.
[0049] The controller 110 receives the working current of the motor 220 and determines whether the working current of the motor 220 increases to a value greater than the stall current threshold within a preset time interval; if yes, it indicates that the movable part 212 reaches the target position and causes the motor 220 to stall. In order to further determine whether the target position reached by the movable part 212 is the starting position or the brewing position, it is necessary to determine according to the current rotation direction of the motor 220: if the current rotation direction of the motor 220 is the first direction when the motor 220 stalls, it is determined that the target position reached by the movable part 212 is the starting position, and the motor 220 rotates in the first direction to drive the movable part 212 to move away from the fixed part 211; if the current rotation direction of the motor 220 is the second direction when the motor 220 stalls, it is determined that the target position reached by the movable part 212 is the brewing position, and the motor 220 rotates in the second direction to drive the movable part 212 to move toward the fixed part 211. The starting position is farther away from the fixed part 211 than the brewing position. It should be noted that, any one of the first direction and the second direction is the forward rotation direction of the motor 220 , and the other is the reverse rotation direction of the motor 220 .
[0050] It should be noted that when the movable portion 212 reaches the starting position, Figure 2 or Figure 3 As shown, due to the limiting effect of the first limiting structure 213 on the movable part 212, the movable part 212 cannot continue to move forward, so that the motor 220 is stalled, and then the working current of the motor 220 is greater than the stall current threshold.
[0051] It should be noted that when the movable part 212 reaches the brewing position, Figure 2 As shown, due to the limiting effect of the second limiting structure 214 on the movable part 212, the movable part 212 cannot continue to move forward, so that the motor 220 is blocked and the working current of the motor 220 is greater than the blocking current threshold. Figure 3 As shown, the powder in the brewing chamber 210 is compressed into powder cakes, causing the motor 220 to be stalled, thereby causing the working current of the motor 220 to be greater than the stall current threshold.
[0052] After determining that the movable part 212 reaches the target position, step S403 is executed: controlling the motor 220 to stop rotating in the current rotation direction, thereby avoiding continuous stalling of the motor 220 and triggering the brewing device 200 to execute the next step of beverage preparation.
[0053] It is understandable that if the brewing device 200 fails or loses power suddenly during operation, the movable part 212 will stay at a position other than the starting position, and further, the residue after brewing or the powdered material that has not been brewed will be retained in the brewing chamber 210, and the next beverage brewing cannot be performed. In order to improve the operating reliability of the beverage preparation machine, the position information of the movable part 212 will be recorded when the motor 220 drives the movable part 212 to move relative to the fixed part 211. It also includes: when the beverage preparation machine is powered on, in response to the power-on start signal of the beverage preparation machine, obtaining record information, the record information includes position information of the active part 212, wherein the position information indicates that the active part 212 is in one of the starting position, the brewing position, and the intermediate position (a position other than the starting position and the brewing position); if the position information indicates that the active part 212 is not in the starting position, before adding the powder for the current beverage brewing into the brewing chamber 210, the motor 220 is controlled to rotate in the first direction to drive the active part 212 to reset to the starting position, and after the active part 212 is reset to the starting position, the powder for the current beverage brewing is added into the brewing chamber 210; if the position information indicates that the active part 212 is in the starting position, there is no need to reset the active part 212.
[0054] It is understandable that in order to avoid waste of powder by the beverage preparation machine, unlike the above-mentioned embodiment, in the process of the motor 220 driving the movable part 212 to move relative to the fixed part 211, in addition to recording the position information of the movable part 212, the time information of the last beverage brewing and the rotation direction of the motor 220 can also be recorded. When the beverage preparation machine is powered on, in response to the power-on start signal of the beverage preparation machine, the recorded position information of the movable part 212, the rotation direction of the motor 220 and the time information of the last beverage brewing are obtained; if the position information indicates that the movable part 212 is not in the starting position and the rotation direction of the motor 220 is the second direction, the time difference between the time information of the last beverage brewing and the current time is determined, and if the time difference is less than the time difference threshold, the motor 220 is controlled to continue to rotate in the second direction to drive the movable part 212 to move toward the fixed part 210. When the working current of the motor 220 is greater than the stall current threshold, it indicates that the movable part 212 has reached the brewing position, the motor 220 is controlled to stop and water is added to the brewing chamber 210 for beverage brewing, so that the powder material that has not been brewed can continue to be used for brewing. If the time difference is not less than the time difference threshold, the motor 220 is controlled to rotate in the first direction to drive the movable part 212 to reset to the starting position and then the motor 220 is controlled to stop, so that the unbrewed powder material in the brewing chamber 210 is discharged. If the position information indicates that the movable part 212 is not in the starting position and the rotation direction of the motor 220 is the first direction, the motor 220 is controlled to rotate in the first direction to drive the movable part 212 to reset to the starting position and then the motor 220 is controlled to stop so that the residue after brewing in the brewing chamber 210 is discharged.
[0055] It is understandable that different position marks can be used to record the position of the active part 212. For example, if the active part 212 is located at the starting position, it will be recorded as "1", if it is located at the brewing position, it will be recorded as "2", and if it is located at any position other than the starting position and the brewing position, it will be recorded as "0". This makes it easy to determine whether the active part 212 is in the starting position based on the recorded information when responding to the power-on start signal of the beverage preparation machine.
[0056] In order to determine whether the movable part 212 has been reset to the starting position, the working current of the motor 220 collected by the current detection circuit 130 is obtained. When the working current of the motor 220 is greater than the stall current threshold, it indicates that the movable part 212 has been reset to the starting position, and the motor 220 is controlled to stop rotating in the first direction.
[0057] In order to improve the operational reliability of the brewing device 200, after obtaining the working current of the motor 220 and the rotation direction of the motor 220, under the current rotation direction of the motor 220, if the working current of the motor 220 does not increase to be greater than the stall current threshold within a preset time interval, a fault prompt information is output to indicate that a fault has occurred in the brewing device 200.
[0058] It can be understood that the preset time interval K is positively correlated with the distance between the starting position and the brewing position:
[0059] For a fixed brewing position, it can be determined by the distance M between the first limiting structure 213 and the second limiting structure 214 and the unit moving stroke h of the movable part 212 (the distance the movable part 212 moves when the motor 220 rotates one circle): the time required for a one-way movement between the starting position and the brewing position is obtained: K0=M / h, and a preset time interval (K0-△K, K0+△K) is formed based on the time K0 and the time error coefficient △K.
[0060] For a non-fixed brewing position, the time required for a one-way movement between the starting position and the brewing position can be measured when the brewing chamber 210 is in an empty state and in a set maximum position state, respectively: K1, K2; a preset time interval (K1, K2) is formed based on the time K1, K2.
[0061] If the working current of the motor 220 does not increase to a value greater than the stall current threshold within a preset time interval, there are two situations in the specific implementation process:
[0062] Case 1: If the time taken for the working current of the motor 220 to rise to a value greater than the stall current threshold is less than the lower limit of the preset time interval, a first fault prompt message is output, and the first fault prompt message is used to prompt that a fault such as an internal fault occurs in the motor 220 of the brewing device 200.
[0063] Case 2: If the working current of the motor 220 is still not greater than the stall current threshold after exceeding the upper limit of the preset time interval, a second fault prompt information is output. The second fault prompt information is different from the first fault prompt information. The second fault prompt information is used to prompt faults such as slippage between the rotating shaft of the motor 220 and the screw 230.
[0064] It should be noted that the stall current threshold is pre-determined and written into the controller 110 , and the value of the stall current threshold will vary depending on the model of the motor 220 , and therefore, the specific value is not limited herein.
[0065] In order to facilitate understanding of the technical solution provided by the embodiment of the present invention, the operation process of the beverage preparation machine is described below by taking a coffee machine as an example:
[0066] A1. In response to a power-on start signal of the coffee machine, the position information of the movable part 212 is read from the recorded information of the controller 110 .
[0067] A2. Determine whether the movable portion 212 is at the starting position according to the position information of the movable portion 212. If the movable portion 212 is at the starting position, jump to step A5; if the movable portion is not at the starting position, go to step A4.
[0068] A4, outputting a first drive signal to the motor drive circuit 120, driving the motor 220 to rotate in the first direction, so as to drive the movable part 212 to reset. In the process of driving the movable part 212 to reset, the working current of the motor 220 is detected by the current detection circuit 130 and provided to the controller 110, and the controller 110 determines whether the working current of the motor 220 is greater than the stall current threshold. When the working current of the motor 220 is greater than the stall current threshold, it indicates that the movable part 212 has been reset to the starting position, and the controller 110 stops outputting the first drive signal to the motor drive circuit 120 to stop the motor 220, and enters step A5.
[0069] A5: In response to the user's triggering operation for triggering a coffee brewing, coffee powder for the current coffee brewing is added into the brewing chamber 210. After the coffee powder is added, the process proceeds to step A6.
[0070] A6. Output a second drive signal to the motor drive circuit 120 to drive the motor 220 to rotate in the second direction, drive the movable part 212 to move from the starting position to the fixed part 211, and compress the coffee powder in the brewing chamber 210 for the current coffee brewing. In this process, the working current of the motor 220 is detected by the current detection circuit 130 and provided to the controller 110, and the controller 110 determines whether the working current of the motor 220 increases to be greater than the stall current threshold within a preset time interval. If so, it indicates that the movable part 212 has reached the brewing position, so that the coffee powder has been compressed into a powder cake, and the controller 110 stops outputting the second drive signal to the motor drive circuit 120 to stop the motor 220 and enter step A7.
[0071] A7. Add water into the brewing chamber 210 to brew the current coffee. The brewed coffee flows out of the brewing chamber 210. After the coffee brewing is completed, enter step A8.
[0072] A8. Output a first drive signal to the motor drive circuit 120 to drive the motor 220 to rotate in a first direction, thereby driving the movable part 212 to move away from the fixed part 211 from the brewing position. During this process, the working current of the motor 220 is detected by the current detection circuit 130 and provided to the controller 110. The controller 110 determines whether the working current of the motor 220 increases to a value greater than the stall current threshold within a preset time interval. If so, it indicates that the movable part 212 has reached the starting position and the residue has been discharged from the brewing chamber 210. The controller 110 stops outputting the second drive signal to the motor drive circuit 120 to shut down the motor 220.
[0073] In the above steps A1 to A8, the position of the movable part of the brewing chamber is determined by combining the working current and the rotation direction of the motor, which simplifies the structure of the brewing device of the beverage preparation machine, but can still accurately determine whether the movable part is in place and can control the motor to stop in time, without losing the function of the beverage preparation machine. In addition, since the judgment is made in combination with the time interval, the working current of the motor caused by the failure of the brewing device 200 is excluded, and the accuracy of judging whether the movable part 212 of the brewing chamber 210 is in place can be improved.
[0074] refer to Figure 5 As shown, in the beverage preparation machine provided in the embodiment of the present invention, the controller 110 includes: a memory 1104, a processor 1402, and a computer program stored in the memory 1104 and executable on the processor 1102. When the processor 1102 executes the program, the beverage preparation machine control method provided in the embodiment of the present invention is implemented.
[0075] Among them, Figure 5 In the embodiment of the present invention, a bus architecture (represented by bus 1100) is shown, and bus 1100 may include any number of interconnected buses and bridges, and bus 1100 links various circuits including one or more processors represented by processor 1102 and memory represented by memory 1104. Bus 1100 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 1105 provides an interface between bus 1100 and receiver 1101 and transmitter 1103. Receiver 1101 and transmitter 1103 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 1102 is responsible for managing bus 1100 and general processing, while memory 1104 may be used to store data used by processor 1102 when performing operations.
[0076] 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.
[0077] 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, It is 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 relative to the fixed part, obtaining the working current of the motor and the rotation direction of the motor; Under the current rotation direction of the motor, if the working current of the motor increases to be greater than the stall current threshold within a preset time interval, it is determined that the movable part reaches the target position corresponding to the current rotation direction; The motor is controlled to stop rotating in the current rotation direction.
2. The method according to claim 1, It is characterized in that The determining that the movable part reaches a target position corresponding to the current rotation direction includes: If the current rotation direction of the motor is the first direction, it is determined that the movable part has reached the starting position, and the motor rotates in the first direction to drive the movable part to move away from the fixed part; If the current rotation direction of the motor is the second direction, it is determined that the movable part reaches the brewing position, and the motor rotates in the second direction to drive the movable part to move toward the fixed part, and the starting position is farther away from the fixed part relative to the brewing position.
3. The method according to claim 2, It is characterized in that Also includes: In response to a power-on start signal of the beverage preparation machine, obtaining recorded information in the beverage preparation machine, wherein the recorded information includes position information of the movable part; If the position information indicates that the movable part is not at the starting position, before adding powder for brewing the current beverage into the brewing chamber, the motor is controlled to rotate in a first direction to drive the movable part to reset to the starting position; Add powder for current beverage brewing into the brewing chamber.
4. The method according to claim 2, wherein the obtaining the working current of the motor and the rotation direction of the motor, include: Detecting the operating current of the motor by a current detection circuit connected to the motor; A driving signal output by a motor driving circuit for driving the motor is obtained, and a rotation direction of the motor is determined according to the driving signal.
5. The method according to claim 2, It is characterized in that After obtaining the working current of the motor and the rotation direction of the motor, the method further includes: In the current rotation direction of the motor, if the working current of the motor does not increase to be greater than the stall current threshold within a preset time interval, fault prompt information for prompting that a fault occurs in the brewing device is output.
6. The method according to claim 5, It is characterized in that The output is used to indicate the fault prompt information of the brewing device, including: If the time taken for the working current of the motor to increase to a value greater than the stall current threshold is less than the lower limit of the preset time interval, outputting a first fault prompt message; If the working current of the motor is still not greater than the stall current threshold value after exceeding the upper limit of the preset time interval, a second fault prompt information is output, and the second fault prompt information is different from the first fault prompt information.
7. A beverage preparation machine, It is characterized in that The invention comprises a brewing device and a control device, wherein the control device is used to at least control the brewing device, and the brewing device is used to brew a beverage under the control of the control device; 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 is used for: In the process of the motor driving the movable part to move relative to the fixed part, the working current of the motor and the rotation direction of the motor are obtained; under the current rotation direction of the motor, if the working current of the motor increases to be greater than the stall current threshold within a preset time interval, it is determined that the movable part has reached the target position corresponding to the current rotation direction; and the motor is controlled to stop rotating in the current rotation direction.
8. A beverage preparation machine according to claim 7, It is characterized in that The brewing device also includes: a first limiting structure, disposed at a starting position of the movable portion, the first limiting structure being used to limit the movable portion when the movable portion moves to the starting position; The second limiting structure is arranged at the brewing position of the movable part, and the first limiting structure is used for limiting the movable part when the movable part moves to the brewing position.
9. A beverage preparation machine according to claim 8, It is characterized in that The movable part has a receiving cavity with an opening toward the fixed part. An elastic pressure plate is arranged in the receiving cavity. The elastic pressure plate is used to interact with the fixed part when the movable part moves to the brewing position to compress the powder in the receiving cavity.
10. The beverage preparation machine according to claim 8, It is characterized in that The control device comprises: Controller; A current detection circuit is connected between the motor and the controller, and is used to detect the working current of the motor and provide the current to the controller; A motor driving circuit connected between the motor and the controller, the motor driving circuit being used to drive the motor according to a driving signal provided by the controller; The controller is used to determine whether the working current of the motor increases to a level greater than a stall current threshold within a preset time interval; if so, determine that the movable part has reached a target position based on the current rotation direction of the motor, and stop outputting a drive signal to the motor drive circuit to stop the motor from rotating in the current rotation direction.
Citation Information
Patent Citations
Method for controlling electric curtain
CN109184536A
Control method of food processor
CN113273905A
Method and system for detecting abrasion of brake pad of electronic mechanical braking system of railway vehicle
CN115009250A
Coffee machine powder pressing method and brewing unit
CN115956807A
Extracting device for beverage
JP2001101517A
Cited By
Powder pressing motor control method and beverage machine
CN119523298A
