Beverage preparation machine and material detection method and device thereof
By installing vibration sensors in the beverage preparation machine to acquire and process the sensor signal sequence, the problem of inaccurate material detection is solved, enabling more accurate material status judgment, reducing costs, and timely reminding users to add materials.
Patent Information
- Application Number
- CN202310591691.6
- 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
In existing beverage preparation machines, the accuracy of material detection is not high. In particular, when judging the lack of coffee beans by detecting the current of the grinding motor and the lack of water in the liquid tank by the water level sensor, there are problems of misjudgment and high cost.
A vibration sensor is installed at the material preparation device of the beverage preparation machine. By acquiring the sensing signal sequence of the vibration sensor, processing and comparing it with preset reference information, the capacity status of the material preparation device is determined, thereby accurately determining whether materials need to be added.
It improves the accuracy of material detection, reduces costs, and has only minor structural improvements that do not affect the product's appearance. It can also promptly remind users to add materials.
Smart Images

Figure CN119014713A_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 material detection method and device thereof. Background Art
[0002] Beverage preparation machines with grinding functions, such as coffee machines with grinding functions, have bean bins and grinders. They can determine whether there is a lack of coffee beans in the bean bin by detecting the current of the grinding motor. However, the accuracy of detecting whether there is a lack of coffee beans in the bean bin by detecting the current of the grinding motor is not high, and there is a possibility of misjudgment. Beverage preparation machines with water level detection and relying on water pumps can rely on water level sensors to determine whether there is a lack of water in the liquid tank. However, water level sensors are relatively expensive and will drift over time, resulting in inaccurate detection. It can be seen that the current method of detecting whether there is a lack of material in various preparation devices of beverage preparation machines is not very accurate. Summary of the invention
[0003] The embodiment of the present invention provides a beverage preparation machine and a material detection method and device thereof, which can more accurately detect the storage status of a material preparation device by simply adding a vibration sensing component, and then determine whether it is necessary to add materials to the material preparation device according to the storage status of the material preparation device, thereby at least to a certain extent solving the technical problem of low accuracy in detecting the storage status of the material preparation device, and facilitating more timely reminders for users to add materials.
[0004] In a first aspect, an embodiment of the present invention provides a detection method for a beverage preparation machine, wherein the beverage preparation machine includes a material preparation device, and a vibration sensing component is arranged at the material preparation device, the method comprising: during the process of the beverage preparation machine preparing beverages, obtaining a sensing signal sequence fed back by the vibration sensing component, the sensing signal sequence characterizing the change in vibration state of the material preparation device during operation; processing the sensing signal sequence to obtain state characterization information, the state characterization information characterizing a current vibration state of the material preparation device; comparing the state characterization information with preset reference information, determining a current accommodation state of the material preparation device according to the comparison result, and determining whether it is necessary to add material to the material preparation device according to the current accommodation state, the preset reference information being used to distinguish the vibration state of the material preparation device under different accommodation states.
[0005] In combination with the first aspect, in some embodiments, the vibration sensing component includes a vibration sensor arranged in contact with the material preparation device, and the method also includes: in a state where the capacity of the material in the material preparation device is greater than a preset lower limit of the capacity, controlling the beverage preparation machine to start running, and obtaining a first vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine; in a state where there is a lack of material in the material preparation device, controlling the beverage preparation machine to start running, and obtaining a second vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine; and constructing the preset reference information based on the first vibration signal sequence and the second vibration signal sequence.
[0006] In combination with the first aspect, in some implementations, constructing the preset reference information according to the first vibration signal sequence and the second vibration signal sequence includes: performing mean calculation on the first vibration signal sequence to obtain a first amplitude reference value corresponding to a first accommodation state, wherein the first accommodation state indicates that no material needs to be added to the material preparation device;
[0007] Perform mean calculation on the second vibration signal sequence to obtain a second amplitude reference value corresponding to a second containment state, wherein the second containment state indicates that material needs to be added to the material preparation device, and the containment capacity in the first containment state is greater than the containment capacity in the second containment state; take values based on the first amplitude reference value and the second amplitude reference value to obtain a target amplitude reference value between the first amplitude reference value and the second amplitude reference value, and use the target amplitude reference value as the preset reference information.
[0008] In combination with the first aspect, in some embodiments, the state characterization information includes the current average amplitude of the vibration sensor, and the comparing the state characterization information with the preset reference information, and determining the current accommodation state of the material preparation device according to the comparison result, includes: comparing the size relationship between the current average amplitude and the target amplitude reference value; determining the current accommodation state of the material preparation device according to the size relationship, the current accommodation state being the first accommodation state or the second accommodation state.
[0009] In combination with the first aspect, in some embodiments, if the material preparation device is a first material preparation device, the first material preparation device includes a liquid storage tank and a pump for pumping water from the liquid storage tank; determining the current containing state of the material preparation device based on the size relationship includes: if the current average amplitude is greater than the target amplitude reference value, determining that the liquid storage tank is in a first containing state, indicating that there is no need to add water to the liquid storage tank; if the current average amplitude is less than the target amplitude reference value, determining that the liquid storage tank is in a second containing state, indicating that there is a need to add water to the liquid storage tank; wherein the current average amplitude represents the current vibration state of the pump.
[0010] In combination with the first aspect, in some embodiments, if the material preparation device is a second material preparation device, the second material preparation device includes a solid material bin for containing solid materials required for preparing beverages and a grinder for grinding the solid materials; determining the current containing state of the material preparation device based on the size relationship includes: if the current average amplitude is greater than the target amplitude reference value, determining that the solid material bin is in the first containing state, indicating that there is no need to add solid material to the solid material bin; if the current average amplitude is less than the target amplitude reference value, determining that the solid material bin is in the second containing state, indicating that there is a need to add solid material to the solid material bin; wherein, the current average amplitude represents the current vibration state of the grinder or the solid material bin.
[0011] In combination with the first aspect, in some embodiments, the preset reference information is constructed based on the first vibration signal sequence and the second vibration signal sequence, including: constructing a first amplitude reference interval corresponding to a first containment state based on the first vibration signal sequence, the first containment state indicating that there is no need to add material to the material preparation device; constructing a second amplitude reference interval corresponding to a second containment state based on the second vibration signal sequence, the second containment state indicating that there is a need to add material to the material preparation device, and the containment volume in the first containment state is greater than the containment volume in the second containment state; wherein the second amplitude reference interval has no intersection with the first amplitude reference interval, and the preset reference information includes the first amplitude reference interval and the second amplitude reference interval.
[0012] In combination with the first aspect, in some embodiments, the state characterization information includes the current average amplitude of the vibration sensor, and the comparing of the state characterization information with the preset reference information, and determining the current accommodation state of the material preparation device according to the comparison result, includes: comparing the current average amplitude with the first amplitude reference interval and the second amplitude reference interval respectively; if the current average amplitude is within the first amplitude reference interval, it is determined that the material preparation device is in the first accommodation state, indicating that there is no need to add material to the material preparation device; if the current average amplitude is within the second amplitude reference interval, it is determined that the material preparation device is in the second accommodation state, indicating that there is a need to add material to the material preparation device.
[0013] In combination with the first aspect, in some embodiments, the vibration sensing component includes a sensing switch arranged at an interval from the material preparation device, and the processing of the sensing signal sequence to obtain state characterization information includes: obtaining a switch signal sequence generated by the sensing switch within a detection time window from the sensing signal sequence, wherein the sensing switch is used to sense vibration and output a switch signal; comparing the state characterization information with preset reference information and determining a current accommodation state of the material preparation device based on the comparison result includes: comparing the switch signal sequence with a single off signal sequence and a switch alternating signal sequence, respectively, to determine the current accommodation state of the material preparation device.
[0014] In the second aspect, an embodiment of the present invention provides a beverage preparation machine, comprising: at least one material preparation device, each of which is provided with a vibration sensing component; a controller, electrically connected to each of the material preparation devices and each of the vibration sensing components, wherein the controller comprises: one or more processors and one or more memories, at least one program code is stored in the one or more memories, and the at least one program code is loaded and executed by the one or more processors to implement the detection method described in any embodiment of the first aspect.
[0015] In combination with the second aspect, in some embodiments, the at least one material preparation device includes a first material preparation device, the first material preparation device includes a liquid storage tank and a pump for pumping water from the liquid storage tank; the vibration sensor arranged at the first material preparation device is a first vibration sensor, and the first vibration sensor is arranged at the pump to sense the vibration generated by the pump during operation, so that the first vibration sensor can feed back to the controller a sequence of sensing signals representing the changes in the vibration state of the pump during operation.
[0016] In combination with the second aspect, in some embodiments, the at least one material preparation device also includes a second material preparation device, the second material preparation device including a solid material bin for accommodating solid materials required for preparing beverages, and a grinder connected to the solid material bin, the grinder being used to grind the solid materials; the vibration sensing element arranged at the second material preparation device is a second vibration sensing element, the second vibration sensing element is arranged in the solid material bin, and is used to sense the vibration transmitted to the solid material bin by the grinder during operation, so that the second vibration sensing element feeds back to the controller a sequence of sensing signals representing the changes in the vibration state of the solid material bin during the operation of the grinder.
[0017] In conjunction with the second aspect, in some embodiments, the beverage preparation machine is a coffee machine.
[0018] In a third aspect, an embodiment of the present invention provides a material detection device for a beverage preparation machine, wherein the beverage preparation machine includes a material preparation device, wherein a vibration sensing component is arranged at the material preparation device, and the material detection device includes: a signal acquisition unit, for acquiring an induction signal sequence fed back by the vibration sensing component during the process of preparing beverages by the beverage preparation machine, wherein the induction signal sequence represents the change in vibration state of the material preparation device during operation; a signal processing unit, for processing the induction signal sequence to obtain state representation information, wherein the state representation information represents a current vibration state of the material preparation device; a state determination unit, for comparing the state representation information with preset reference information, determining a current accommodation state of the material preparation device according to the comparison result, and determining whether it is necessary to add material to the material preparation device according to the current accommodation state, wherein the preset reference information is used to distinguish the vibration state of the material preparation device under different accommodation states.
[0019] One or more technical solutions provided by the embodiments of the present invention have at least the following technical effects or advantages:
[0020] A vibration sensor is added to the material preparation device to obtain a sequence of induction signals fed back by the vibration sensor during the process of preparing beverages by the beverage preparation machine, and the sequence of induction signals represents the vibration state of the material preparation device during the working process; the sequence of induction signals is processed to obtain state representation information; the state representation information is compared with preset reference information used to distinguish different accommodation states of the material preparation device to determine the current accommodation state of the material preparation device, and then, whether it is necessary to add materials to the material preparation device according to the current accommodation state of the material preparation device. Therefore, only a vibration sensor is added, and the induction signal fed back by the vibration sensor is used to determine the vibration state of the material preparation device, and the vibration state of the material preparation device is used to identify whether the material preparation device needs to add materials to the material preparation device, thereby improving the accuracy of detecting the accommodation state in the material preparation device, and being able to facilitate timely reminders for users to add materials to the material preparation device.
[0021] Moreover, compared with relying on detecting float to detect whether the liquid tank is short of water, it does not affect the appearance of the product; compared with infrared detection of whether there is a lack of solid material in the solid material bin, the implementation logic and structure are simpler, the structural improvement of the machine is small, and the cost is reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] Figure 1 shows a partial structure of a beverage preparation machine in an embodiment of the present invention;
[0024] Figure 2A Shows Figure 1 When the medium material preparation device includes a liquid storage tank and a pump, the setting position of the vibration sensing element;
[0025] Figure 2B Shows Figure 1 When the intermediate material preparation device includes a solid material bin and a grinder, the location of the vibration sensor;
[0026] Figure 3 The flow chart of the material detection method of the beverage preparation machine in the embodiment of the present invention is shown;
[0027] Figure 4A The figure shows the induction signal sequence fed back by the vibration sensor when the liquid storage tank is in different containing states;
[0028] Figure 4B The induction signal sequence fed back by the vibration sensor under different containing states of the solid material silo is shown;
[0029] Figure 4C It shows the induction signal sequence fed back by the induction element when the solid material bin or liquid storage tank is in different containing states;
[0030] Figure 5 A functional module diagram of a material detection device of a beverage preparation machine according to an embodiment of the present invention is shown;
[0031] Figure 6 Shows Figure 1 Schematic diagram of the controller structure. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiment of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] It should be noted that all directional indications in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between various components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.
[0034] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0035] 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.
[0036] refer to Figure 1 As shown, an embodiment of the present invention provides a beverage preparation machine, including: a controller 10 and at least one material preparation device 30, each material preparation device 30 is provided with a vibration sensor 20, the vibration sensor 20 is used to sense the vibration generated by the corresponding material preparation device 30 during operation, and feed back the sensed sensing signal sequence to the controller 10. The controller 10 determines the current accommodation state of the corresponding material preparation device 30 according to the sensing signal sequence fed back by the vibration sensor 20.
[0037] It can be understood that, in the case where the beverage preparation machine includes only one preparation device 30, the preparation device 30 is specifically a first preparation device 301 for providing liquid required for preparing beverages. Figure 2AAs shown, the first material preparation device 301 includes a liquid storage tank 301a and a pump 301b for pumping water out of the liquid storage tank 301a, and the pump 302b is directly or indirectly connected to the liquid storage tank 301a. The vibration sensing member 20 arranged at the first material preparation device 301 is the first vibration sensing member 201. It can be understood that the first vibration sensing member 201 can contact the pump 301b, and is used to sense the vibration generated by the pump 301b during the working process, generate a sensing signal sequence representing the change of the vibration state of the pump 301b during the working process, and feed the sensing signal sequence obtained by the sensing to the controller 10.
[0038] refer to Figure 2B As shown, in the case where a plurality of material preparation devices 30 are included, in addition to the first material preparation device 301, a second material preparation device 302 different from the first material preparation device 301 may also be included. Figure 2B As shown, the second material preparation device 302 includes a solid material bin 302a and a grinder 302b connected to the solid material bin 302a, the solid material bin 302a is used to contain the solid material required for preparing the beverage, and the grinder 302b is used to grind the solid material. The vibration sensing element 20 provided in the second material preparation device 302 is the second vibration sensing element 202. It is understandable that the second vibration sensing element 202 can be provided in the solid material bin 302a, and is used to sense the vibration transmitted to the solid material bin 302a by the grinder 302b during the working process, and the sensing signal sequence obtained by sensing and characterizing the change of the vibration state of the solid material bin 302a is fed back to the controller 10.
[0039] It is understandable that the first vibration sensing member 201 can be a vibration sensor, and the second vibration sensing member 202 can be a vibration sensor or an induction switch. If the first vibration sensing member 201 is a vibration sensor, it needs to be set in contact with the pump 301b, or fixedly connected to the pump 301b through other rigid connectors, so that the vibration of the water pump 301b during operation is detected by the vibration sensor. If the first vibration sensing member 20 is an induction switch, it needs to be set at a distance from the pump 301b, that is, the induction switch is located near the pump 301b and does not contact the pump 301b.
[0040] If the second vibration sensing member 20 is a vibration sensor, it needs to be placed in contact with the solid material bin 302a, or fixedly connected to the solid material bin 302a through other rigid connectors, and the vibration of the grinder 302b will drive the vibration generated by the solid material bin 302a to be detected by the vibration sensor. If the second vibration sensing member 20 is an induction switch, it needs to be spaced apart from the solid material bin 302a and the grinder 302b, that is, the induction switch is located near the solid material bin 302a and the grinder 302b and is not connected to the solid material bin 302a and the grinder 302b.
[0041] Based on the same inventive concept, an embodiment of the present invention provides a material detection method for a beverage preparation machine. The beverage preparation machine applying the material detection method can refer to the above description, and the material detection method for the beverage preparation machine provided by the embodiment of the present invention can be executed by the controller 10.
[0042] refer to Figure 3 As shown, the material detection method of the beverage preparation machine provided in the embodiment of the present invention includes the following steps:
[0043] S101. During the process of preparing a beverage by the beverage preparation machine, a sensing signal sequence fed back by the vibration sensing element 20 is obtained, where the sensing signal sequence represents the change of the vibration state of the material preparation device 30 during the working process.
[0044] It is understandable that the vibration sensing element 20 in S101 may refer to the first vibration sensing element 201 or the second vibration sensing element 202. If the vibration sensing element 20 is a vibration sensor, the induction signal sequence fed back by the vibration sensor is the amplitude change of the vibration generated by the material preparation device 30 during operation. If the vibration sensing element 20 is a sensing switch, the sensing switch is used to sense vibration to output a switch signal. The vibration generated by the material preparation device 30 during operation will trigger the sensing switch, so that the sensing switch signal state switches between 0 and 1. If the material preparation device 30 has no vibration or generates a small vibration during operation, the sensing switch will not be triggered, and the signal state of the sensing switch will continue to be 0. Therefore, the sensing signal sequence fed back by the sensing switch is the signal state change of the sensing switch during the operation of the material preparation device 30.
[0045] S102 , processing the induction signal sequence to obtain state representation information, where the state representation information represents the current vibration state of the material preparation device 30 .
[0046] It is understandable that if the vibration sensing member 20 is a vibration sensor that is arranged in contact with the material preparation device 30, the state characterization information includes the current average amplitude of the vibration sensor, and step S102 specifically includes: determining the vibration signal that has been fed back by the vibration sensor for the last N consecutive times from the sensing signal sequence, where N is an integer greater than 1; and determining the current average amplitude of the vibration sensor based on the vibration signal that has been fed back by the vibration sensor for the last N consecutive times. Specifically, continuously record the vibration signal fed back by the vibration sensor for N consecutive times, calculate the mean of the amplitude values of the recorded N vibration signals, and obtain the current average amplitude that characterizes the current vibration state of the material preparation device 30.
[0047] If the vibration sensing member 20 is an induction switch spaced apart from the material preparation device 30, the state characterization information includes a switch signal sequence generated by the induction switch within a detection time window, wherein the detection time window is a historical period reversed from the current moment, such as a shorter time period of 1 minute, 30 seconds, etc. It can be understood that step S102 specifically includes: obtaining a switch signal sequence generated by the induction switch within the detection time window from the induction signal sequence.
[0048] S103. Compare the state characterization information with the preset reference information, determine the current accommodation state of the material preparation device 30 according to the comparison result, and determine whether it is necessary to add materials to the material preparation device 30 according to the current accommodation state of the material preparation device 30. The preset reference information is used to distinguish the vibration state of the material preparation device 30 under different accommodation states.
[0049] It should be noted that the current accommodation state of the material preparation device 30 indicates whether there is a shortage of materials in the material preparation device 30. If the current accommodation state is the first accommodation state, it indicates that there is no shortage of materials in the material preparation device 30, and there is no need to add materials to the material preparation device 30. If the current accommodation state is the second accommodation state, it indicates that there is a shortage of materials in the material preparation device 30, and there is a need to add materials to the material preparation device 30.
[0050] If the vibration sensing element 20 is a vibration sensor, the specific value of the preset reference information may be different due to the different models and types of the beverage preparation machine. Therefore, the preset reference information may be measured before the beverage preparation machine leaves the factory:
[0051] When the capacity of the material preparation device 30 is greater than the preset capacity lower limit, the beverage preparation machine is controlled to start running, and a first vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine is obtained; when there is a lack of material in the material preparation device 30 (lack of material means that the material preparation device 30 has no material or only a small amount of material not greater than the preset capacity lower limit), the beverage preparation machine is controlled to start running, and a second vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine is obtained; preset reference information is constructed based on the first vibration signal sequence and the second vibration signal sequence. It should be noted that the preset capacity lower limit refers to the capacity that can make the vibration amplitude generated by the vibration sensor significantly different from the vibration amplitude generated when there is no material, and it is not a specific value here.
[0052] Combination Figure 2AAs shown, the material preparation device 30 is the first material preparation device 301: when there is no shortage of water in the liquid storage tank 301a (no shortage of water means that the water level in the liquid storage tank 301a is higher than the preset water level lower limit), the pump 301b connected to the liquid storage tank 301a is controlled to start running, and the vibration signal fed back by the vibration sensor is continuously recorded N times to obtain a first vibration signal sequence; when there is a shortage of water in the liquid storage tank 301a (lack of water means that there is no water in the liquid storage tank 301a or there is only a low water level not higher than the preset water level lower limit), the pump 301b connected to the liquid storage tank 301a is controlled to start running, and the vibration signal fed back by the vibration sensor is continuously recorded N times to obtain a second vibration signal sequence.
[0053] Combination Figure 2B As shown, for the material preparation device 30, which is the second material preparation device 302, when there is no shortage of solid material in the solid material bin 302a (no shortage of solid material means that the weight of the solid material in the bin 302a is greater than the preset weight lower limit), the control and grinder 302b are started and run, and the vibration signal fed back by the vibration sensor is continuously recorded N times to obtain a first vibration signal sequence; when there is a shortage of solid material in the solid material bin 302a (lack of solid material means that there is no solid material in the solid material bin 302a or only a small amount of solid material not greater than the preset weight lower limit), the control grinder 302b is started and run, and the vibration signal fed back by the vibration sensor is continuously recorded N times to obtain a second vibration signal sequence.
[0054] It is understandable that if the vibration sensing member 20 uses a vibration sensor, the preset reference information can be a target amplitude reference value for distinguishing whether it is necessary to add material to the material preparation device 30. In order to obtain the target amplitude reference value, the step of constructing the preset reference information according to the first vibration signal sequence and the second vibration signal sequence includes: performing mean calculation on the first vibration signal sequence to obtain a first amplitude reference value corresponding to the first accommodation state, the first accommodation state indicates that there is no shortage of material in the material preparation device 30, and it is not necessary to add material to the material preparation device 30; performing mean calculation on the second vibration signal sequence to obtain a second amplitude reference value corresponding to the second accommodation state, the second accommodation state indicates that there is a shortage of solid material in the material preparation device 30, and it is necessary to add material to the material preparation device 30, and the accommodation volume in the first accommodation state is greater than the accommodation volume in the second accommodation state; taking values according to the first amplitude reference value and the second amplitude reference value, obtaining a target amplitude reference value between the first amplitude reference value and the second amplitude reference value, and using the target amplitude reference value as the preset reference information.
[0055] In the specific implementation process, the average of the first amplitude reference value and the second amplitude reference value can be taken as the target amplitude reference value. For example, the first amplitude reference value is A, the second amplitude reference value is B, and the target amplitude reference value is (A+B) / 2.
[0056] Specifically, refer to Figure 4A, Figure 4B As shown, the mean calculation is performed on the first vibration signal sequence and the second vibration signal sequence respectively, which can be: determining the first amplitude range M4~M3 where the first vibration signal sequence is located; taking the median of the first amplitude range M4~M3 as the first amplitude reference value (M4+M3) / 2; determining the second amplitude range M2~M1 where the second vibration signal sequence is located, and taking the median of the second amplitude range M2~M1 as the second amplitude reference value (M2+M1) / 2.
[0057] Specifically, the mean calculation is performed on the first vibration signal sequence and the second vibration signal sequence respectively, or the mean value of the amplitudes of all vibration signals in the first vibration signal sequence is calculated to obtain a first amplitude reference value; the mean value of the amplitudes of all vibration signals in the second vibration signal sequence is calculated to obtain a second amplitude reference value.
[0058] It can be understood that if the state characterization information is the current average amplitude of the vibration sensor, and the preset reference information is the target amplitude reference value, then step S103 specifically includes: comparing the size relationship between the current average amplitude and the target amplitude reference value, and determining the current accommodation state of the material preparation device 30 according to the size relationship, and the current accommodation state is the first accommodation state or the second accommodation state.
[0059] Different from the above-mentioned embodiment, after obtaining the first amplitude reference value and the second amplitude reference value, the target amplitude reference value may not be calculated. Then step S103 specifically includes: determining the difference between the current average amplitude and the first amplitude reference value to obtain a first difference value; determining the difference between the current average amplitude and the second amplitude reference value to obtain a second difference value, and determining the current accommodation state of the material preparation device 30 according to the size relationship between the first difference value and the second difference value. Among them, if the first difference value is greater than the second difference value, it indicates that the current accommodation state of the material preparation device 30 is the second accommodation state, indicating that materials need to be added to the material preparation device 30; if the first difference value is less than the second difference value, it indicates that the current accommodation state of the material preparation device 30 is the first accommodation state, indicating that materials do not need to be added to the material preparation device 30.
[0060] If the material preparation device 30 is the first material preparation device 301 including a liquid storage tank 301a and a pump 301b, the first amplitude reference value is less than the second amplitude reference value; the current holding state of the material preparation device 30 is determined according to the size relationship, including: if the current average amplitude is less than the target amplitude reference value, it is determined that the liquid storage tank 301a is in the first holding state, indicating that there is no need to add water to the liquid storage tank 301a; if the current average amplitude is greater than the target amplitude reference value, it is determined that the liquid storage tank 301a is in the second holding state, indicating that water needs to be added to the liquid storage tank 301a.
[0061] If the material preparation device 30 is a second material preparation device 302 including a solid material bin 302a and a grinder 302b, the first amplitude reference value is greater than the second amplitude reference value; the current accommodation state of the material preparation device 30 is judged according to the size relationship, including: if the current average amplitude is greater than the target amplitude reference value, it is determined that the solid material bin 302a is in the first accommodation state, indicating that there is no need to add solid material to the solid material bin 302a; if the current average amplitude is less than the target amplitude reference value, it is determined that the solid material bin 302a is in the second accommodation state, indicating that solid material needs to be added to the solid material bin 302a.
[0062] It is understandable that if the vibration sensing member 20 uses a vibration sensor, the preset reference information may not use the target amplitude reference value, but may use two different amplitude reference intervals: one amplitude reference interval corresponds to the amplitude change trend when the amount of material contained in the material preparation device 30 is greater than the preset lower limit of the amount, and the other amplitude reference interval corresponds to the amplitude change trend when the amount of material contained in the material preparation device 30 is not greater than the preset lower limit of the amount. Figure 4A , Figure 4B As shown, in order to obtain these two different amplitude reference intervals, the step of constructing preset reference information according to the first vibration signal sequence and the second vibration signal sequence includes: constructing a first amplitude reference interval corresponding to the first accommodation state according to the first vibration signal sequence, and the first accommodation state indicates that no material needs to be added to the material preparation device 30; constructing a second amplitude reference interval corresponding to the second accommodation state according to the second vibration signal sequence; wherein the second amplitude reference interval has no intersection with the first amplitude reference interval, and the preset reference information includes the first amplitude reference interval and the second amplitude reference interval. The amplitude range of the first vibration signal sequence can be used as the first amplitude reference interval; the amplitude range of the second vibration signal sequence can be used as the second amplitude reference interval.
[0063] It can be understood that if the state characterization information is the current average amplitude of the vibration sensor, and the preset reference information includes a first amplitude reference interval and a second amplitude reference interval, then step S103 specifically includes: comparing the current average amplitude of the vibration sensor with the first amplitude reference interval and the second amplitude reference interval respectively; if the current average amplitude is within the first amplitude reference interval, it is determined that the material preparation device 30 is in the first accommodation state, indicating that no material needs to be added to the material preparation device 30; if the current average amplitude of the vibration sensor is within the second amplitude reference interval, it is determined that the material preparation device 30 is in the second accommodation state, indicating that material needs to be added to the material preparation device 30.
[0064] If the material preparation device 30 is the first material preparation device 301, the upper limit value of the first amplitude reference interval is less than the lower limit value of the second amplitude reference interval; if the material preparation device 30 is the second material preparation device 302, the lower limit value of the first amplitude reference interval is greater than the upper limit value of the second amplitude reference interval.
[0065] It is understandable that, if the vibration sensing element 20 is an induction switch, the preset reference information does not need to be determined in advance. Figure 4C As shown, the preset reference information is a single off signal sequence and a switch alternating signal sequence. Based on this, step S103 specifically includes: comparing the switch signal sequence generated by the induction switch within the detection time window with the single off signal sequence and the switch alternating signal sequence, respectively, to determine the current accommodation state of the material preparation device 30.
[0066] If the material preparation device 30 is the first material preparation device 301 including a liquid storage tank 301a and a pump 301b, and the switch signal sequence generated by the induction switch within the detection time window is a single off signal sequence, the current accommodation state of the liquid storage tank 301a is determined to be the first accommodation state; if the switch signal sequence generated by the induction switch within the detection time window is a switch alternating signal sequence, the current accommodation state of the liquid storage tank 301a is determined to be the second accommodation state.
[0067] If the material preparation device 30 is a second material preparation device 302 including a solid material bin 302a and a grinder 302b, and the switch signal sequence generated by the induction switch within the detection time window is a single off signal sequence, the current accommodation state of the solid material bin 302a is determined to be the second accommodation state; if the switch signal sequence generated by the induction switch within the detection time window is a switch alternating signal sequence, the current accommodation state of the solid material bin 302a is determined to be the first accommodation state.
[0068] Furthermore, after determining that materials need to be added to the material preparation device 30 according to the current accommodation state of the material preparation device 30 , a prompt message may be output to prompt the user that materials are missing from the material preparation device 30 and that materials need to be added to the material preparation device 30 .
[0069] Through the test operation of the coffee machine, it is found that when there is a lack of water in the liquid storage tank 301a, the pump 301b will vibrate greatly during operation, and when there is water in the liquid storage tank 301a, the pump 301b will vibrate with a small amplitude or no vibration during operation. When there is a lack of coffee beans in the solid material bin 302a, the grinder 302b will vibrate with no vibration or a small amplitude, and when there is no lack of coffee beans in the solid material bin 302a, the grinder 302b will vibrate with a large amplitude. Therefore, the embodiment of the present invention can improve the accuracy of detecting whether there is a lack of coffee beans in the solid material bin 302a of the coffee machine and detecting whether there is a lack of water in the liquid storage tank 301a, and then timely remind the user to add coffee beans to the solid material bin 302a and add water to the liquid storage tank 301a.
[0070] In order to facilitate those skilled in the art to understand the technical solution provided by the embodiment of the present invention, taking the beverage preparation device as a coffee machine as an example, the solid material bin 301b is a bean bin for accommodating coffee beans, the liquid storage tank 301a is a water tank for storing water for brewing coffee, and the coffee machine includes a first vibration sensor and a second vibration sensor, the first vibration sensor is fixedly arranged on the pump 301b; the second vibration sensor is fixedly arranged on the bean bin, and the bean bin is fixedly arranged on the grinder 302b. The first vibration sensor and the second vibration sensor are both electrically connected to the controller 10 of the coffee machine.
[0071] Below, the execution subject is the controller 10, and the process of detecting whether there is a lack of water in the water tank of the coffee machine is described by way of example:
[0072] When there is no water in the water tank of the coffee machine, the pump 301b for pumping water is started. During this operation, the vibration signal fed back by the first vibration sensor is continuously recorded N times, and the amplitude average value A is calculated based on the N vibration signals.
[0073] When there is no shortage of water in the water tank of the coffee machine, the pump 301b for pumping water is started. During this operation, the vibration signal fed back by the first vibration sensor is continuously recorded N times, and the amplitude average value B is calculated based on the N vibration signals.
[0074] Next, the median value C of A and B is taken as the judgment value for judging whether the water tank is short of water, that is, an amplitude reference value, and written into the program of the coffee machine.
[0075] When the user uses the coffee machine, the vibration signal fed back by the first vibration sensor is recorded continuously N times, and the amplitude average value X is calculated based on the N vibration signals. X is compared with C. When X is greater than C, it is determined that the water tank is short of water, and a prompt is issued to remind the user to add water to the water tank; when X is less than C, it is determined that the water tank is not short of water.
[0076] Below, the execution subject is the controller 10, and an example is given to illustrate the process of detecting whether there are coffee beans in the bean bin for storing coffee beans of the coffee machine:
[0077] When there is no shortage of coffee beans in the bean bin of the coffee machine, the grinder 302b is started. During this operation, the vibration signal fed back by the second vibration sensor is continuously recorded n times, and an average value E is calculated based on the amplitude of the N vibration signals.
[0078] When the coffee bean bin of the coffee machine is short of coffee beans, the grinder 302b is started. During this operation, the vibration signal fed back by the second vibration sensor is continuously recorded n times, and an average value F is calculated based on the amplitude of the N vibration signals.
[0079] The median value G of E and F is taken as the judgment value for judging whether there is a lack of coffee beans in the bean bin, that is, another amplitude reference value, and is written into the program of the coffee machine.
[0080] When the user uses the coffee machine, the vibration signal fed back by the second vibration sensor is recorded continuously N times, and the amplitude average value Y is calculated based on the N vibration signals. Y is compared with G. When Y is greater than G, it is determined that there is no shortage of coffee beans in the bean bin. When Y is less than G, it is determined that there is a shortage of coffee beans in the bean bin, and a prompt is issued to remind the user to add coffee beans to the bean bin.
[0081] Based on the same inventive concept, an embodiment of the present invention provides a material detection device for a beverage preparation machine, referring to Figure 1 As shown, the beverage preparation machine includes a material preparation device 30, and a vibration sensor 20 is arranged at the material preparation device 30. Figure 5 As shown, the material detection device includes: a signal acquisition unit 501, used to acquire a sensing signal sequence fed back by the vibration sensing component 20 during the process of preparing beverages by the beverage preparation machine, wherein the sensing signal sequence represents the change of the vibration state of the material preparation device 30 during the working process; a signal processing unit 502, used to process the sensing signal sequence to obtain state representation information, wherein the state representation information represents the current vibration state of the material preparation device 30; a state determination unit 503, used to compare the state representation information with preset reference information, determine the current accommodation state of the material preparation device 30 according to the comparison result, and determine whether it is necessary to add material to the material preparation device according to the current accommodation state, wherein the preset reference information is used to distinguish the vibration state of the material preparation device 30 under different accommodation states.
[0082] It can be understood that the vibration sensing component 20 includes a vibration sensor arranged in contact with the material preparation device 30, and the material detection device also includes: a first test unit, which is used to control the beverage preparation machine to start running when the material capacity of the material preparation device 30 is greater than the preset lower limit of the capacity, and obtain the first vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine; a second test unit, which is used to control the beverage preparation machine to start running when there is a lack of material in the material preparation device 30, and obtain the second vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine; a reference information construction unit, which is used to construct the preset reference information according to the first vibration signal sequence and the second vibration signal sequence.
[0083] It can be understood that the reference information construction unit is specifically used to: perform mean calculation on the first vibration signal sequence to obtain a first amplitude reference value corresponding to a first containment state, wherein the first containment state indicates that there is no need to add material to the material preparation device; perform mean calculation on the second vibration signal sequence to obtain a second amplitude reference value corresponding to a second containment state, wherein the second containment state indicates that there is a need to add material to the material preparation device, and the containment volume in the first containment state is greater than the containment volume in the second containment state; and perform value determination based on the first amplitude reference value and the second amplitude reference value to obtain a target amplitude reference value between the first amplitude reference value and the second amplitude reference value, and use the target amplitude reference value as the preset reference information.
[0084] It can be understood that the state characterization information includes the current average amplitude of the vibration sensor, and the state determination unit 503 is specifically used to: compare the size relationship between the current average amplitude and the target amplitude reference value; determine the current accommodation state of the material preparation device based on the size relationship, and the current accommodation state is the first accommodation state or the second accommodation state.
[0085] It can be understood that if the material preparation device 30 is a first material preparation device, the first material preparation device includes a liquid storage tank 301a and a pump 301b for pumping water from the liquid storage tank 301a; the state determination unit 503 is specifically used for: if the current average amplitude is greater than the target amplitude reference value, it is determined that the liquid storage tank is in a first containing state, indicating that there is no need to add water to the liquid storage tank; if the current average amplitude is less than the target amplitude reference value, it is determined that the liquid storage tank is in a second containing state, indicating that there is a need to add water to the liquid storage tank; wherein the current average amplitude represents the current vibration state of the pump.
[0086] It can be understood that if the material preparation device 30 is a second material preparation device, the second material preparation device includes a solid material bin 302a for containing solid materials required for preparing beverages and a grinder 302b for grinding the solid materials; the state determination unit 503 is specifically used to: if the current average amplitude is greater than the target amplitude reference value, it is determined that the solid material bin is in the first containing state, indicating that there is no need to add solid materials to the solid material bin; if the current average amplitude is less than the target amplitude reference value, it is determined that the solid material bin is in the second containing state, indicating that there is a need to add solid materials to the solid material bin; wherein, the current average amplitude represents the current vibration state of the grinder 302b or the solid material bin 302a.
[0087] It can be understood that the reference information construction unit is specifically used to: construct a first amplitude reference interval corresponding to a first containment state according to the first vibration signal sequence, and the first containment state indicates that there is no need to add material to the material preparation device; construct a second amplitude reference interval corresponding to a second containment state according to the second vibration signal sequence, and the second containment state indicates that there is a need to add material to the material preparation device, and the capacity under the first containment state is greater than the capacity under the second containment state; wherein the second amplitude reference interval has no intersection with the first amplitude reference interval, and the preset reference information includes the first amplitude reference interval and the second amplitude reference interval.
[0088] It can be understood that the state characterization information includes the current average amplitude of the vibration sensor, and the state determination unit 503 is specifically used to: compare the current average amplitude with the first amplitude reference interval and the second amplitude reference interval respectively; if the current average amplitude is within the first amplitude reference interval, it is determined that the material preparation device is in the first accommodation state, indicating that there is no need to add material to the material preparation device; if the current average amplitude is within the second amplitude reference interval, it is determined that the material preparation device is in the second accommodation state, indicating that there is a need to add material to the material preparation device.
[0089] It can be understood that the vibration sensing member 20 includes a sensing switch spaced apart from the material preparation device 30, and the signal processing unit 502 is specifically used to: obtain a switch signal sequence generated by the sensing switch within a detection time window from the sensing signal sequence, wherein the sensing switch is used to sense vibration and output a switch signal; the state determination unit 503 is specifically used to: compare the switch signal sequence with a single off signal sequence and a switch alternating signal sequence, respectively, to determine the current accommodation state of the material preparation device.
[0090] It should be noted that the material detection device in this article is used to implement the aforementioned material detection method. For more implementation details, please refer to the aforementioned material detection method embodiment. For the sake of brevity of the specification, they will not be repeated here.
[0091] The beverage preparation device provided by the embodiment of the present invention is as follows: Figure 6 As shown, the controller 10 of the beverage preparation device includes one or more processors 602 and one or more memories 604, and at least one program code is stored in the one or more memories 604. The at least one program code is loaded and executed by the one or more processors 602 to implement the material detection method for the beverage preparation device described in any embodiment of the first aspect.
[0092] Among them, Figure 6In the embodiment of the present invention, a bus architecture (represented by bus 600) is shown, which may include any number of interconnected buses and bridges, and bus 600 links various circuits including one or more processors represented by processor 602 and memory represented by memory 604. Bus 600 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 605 provides an interface between bus 600 and receiver 601 and transmitter 603. Receiver 601 and transmitter 603 may be the same element, namely a transceiver, providing a unit for communicating with various other devices over a transmission medium. Processor 602 is responsible for managing bus 600 and general processing, while memory 604 may be used to store data used by processor 602 when performing operations.
[0093] The functions described herein may be implemented in hardware, software executed by a processor, firmware, or any combination thereof. If implemented in software executed by a processor, the functions may be stored as one or more instructions or codes on a computer-readable medium or transmitted via a computer-readable medium. Other examples and implementations are within the scope and spirit of the present invention and the appended claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard wiring, or a combination of any of these. In addition, each functional unit may be integrated into a processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit.
[0094] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0095] The units described as separate components may or may not be physically separated, and the components of the control device may or may not be physical units, that is, they may be located in one place or distributed in multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0096] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0097] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.
Claims
1. A material detection method for a beverage preparation machine, characterized in that: The beverage preparation machine comprises a material preparation device, a vibration sensing element is arranged at the material preparation device, and the method comprises: During the process of the beverage preparation machine preparing a beverage, a sensing signal sequence fed back by the vibration sensing element is obtained, wherein the sensing signal sequence represents a change in the vibration state of the material preparation device during the working process; Processing the induction signal sequence to obtain state representation information, wherein the state representation information represents a current vibration state of the material preparation device; Compare the state characterization information with the preset reference information, determine the current accommodation state of the material preparation device according to the comparison result, and determine whether it is necessary to add materials to the material preparation device according to the current accommodation state. The preset reference information is used to distinguish the vibration state of the material preparation device under different accommodation states.
2. The method according to claim 1, characterized in that The vibration sensing member includes a vibration sensor arranged in contact with the material preparation device, and the method further includes: When the amount of material contained in the material preparation device is greater than a preset lower limit of the amount, the beverage preparation machine is controlled to start operation, and a first vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine is obtained; When there is a lack of material in the material preparation device, controlling the beverage preparation machine to start running, and obtaining a second vibration signal sequence fed back by the vibration sensor during the operation of the beverage preparation machine; The preset reference information is constructed according to the first vibration signal sequence and the second vibration signal sequence.
3. The method according to claim 2, characterized in that The constructing the preset reference information according to the first vibration signal sequence and the second vibration signal sequence includes: Performing mean calculation on the first vibration signal sequence to obtain a first amplitude reference value corresponding to a first accommodation state, wherein the first accommodation state indicates that no material needs to be added to the material preparation device; Performing mean calculation on the second vibration signal sequence to obtain a second amplitude reference value corresponding to a second containing state, wherein the second containing state indicates that material needs to be added to the material preparation device, and the containing volume in the first containing state is greater than the containing volume in the second containing state; A target amplitude reference value between the first amplitude reference value and the second amplitude reference value is obtained according to the first amplitude reference value and the second amplitude reference value, and the target amplitude reference value is used as the preset reference information.
4. The method according to claim 3, characterized in that The state characterization information includes the current average amplitude of the vibration sensor, and the comparing the state characterization information with the preset reference information and determining the current accommodation state of the material preparation device according to the comparison result includes: Comparing the magnitude relationship between the current average amplitude and the target amplitude reference value; According to the size relationship, a current accommodation state of the material preparation device is determined, and the current accommodation state is the first accommodation state or the second accommodation state.
5. The method according to claim 4, characterized in that If the material preparation device is a first material preparation device, the first material preparation device comprises a liquid storage tank and a pump for pumping water from the liquid storage tank; Determining the current accommodation state of the material preparation device according to the size relationship includes: If the current average amplitude is greater than the target amplitude reference value, it is determined that the liquid storage tank is in the first containing state, indicating that it is not necessary to add water to the liquid storage tank; If the current average amplitude is less than the target amplitude reference value, it is determined that the liquid storage tank is in the second containing state, indicating that water needs to be added to the liquid storage tank; The current average amplitude represents the current vibration state of the pump.
6. The method according to claim 4, characterized in that If the material preparation device is a second material preparation device, the second material preparation device comprises a solid material bin for containing solid materials required for preparing beverages and a grinder for grinding the solid materials; Determining the current accommodation state of the material preparation device according to the size relationship includes: If the current average amplitude is greater than the target amplitude reference value, it is determined that the solid material bin is in the first containing state, indicating that there is no need to add solid material to the solid material bin; If the current average amplitude is less than the target amplitude reference value, it is determined that the solid material bin is in the second containing state, indicating that solid material needs to be added to the solid material bin; The current average amplitude represents the current vibration state of the grinder or the solid material bin.
7. The method according to claim 2, characterized in that The constructing the preset reference information according to the first vibration signal sequence and the second vibration signal sequence includes: constructing a first amplitude reference interval corresponding to a first accommodation state according to the first vibration signal sequence, wherein the first accommodation state indicates that no material needs to be added to the material preparation device; According to the second vibration signal sequence, a second amplitude reference interval corresponding to a second accommodation state is constructed, wherein the second accommodation state indicates that material needs to be added to the material preparation device, and the accommodation volume in the first accommodation state is greater than the accommodation volume in the second accommodation state; The second amplitude reference interval has no intersection with the first amplitude reference interval, and the preset reference information includes the first amplitude reference interval and the second amplitude reference interval.
8. The method according to claim 7, characterized in that The state characterization information includes the current average amplitude of the vibration sensor, and the comparing the state characterization information with the preset reference information and determining the current accommodation state of the material preparation device according to the comparison result includes: Comparing the current average amplitude with the first amplitude reference interval and the second amplitude reference interval respectively; If the current average amplitude is within the first amplitude reference interval, it is determined that the material preparation device is in the first containing state, indicating that it is not necessary to add material to the material preparation device; If the current average amplitude is within the second amplitude reference interval, it is determined that the material preparation device is in the second containing state, indicating that material needs to be added to the material preparation device.
9. The method according to claim 1, characterized in that The vibration sensing element includes a sensing switch spaced apart from the material preparation device, and the processing of the sensing signal sequence to obtain state representation information includes: Acquire a switch signal sequence generated by the induction switch within a detection time window from the induction signal sequence, wherein the induction switch is used to sense vibration and output a switch signal; The comparing the state representation information with the preset reference information and determining the current accommodation state of the material preparation device according to the comparison result includes: The switch signal sequence is compared with the single off signal sequence and the switch alternating signal sequence respectively to determine the current accommodation state of the material preparation device.
10. A beverage preparation machine, characterized in that: include: At least one material preparation device, each of which is provided with a vibration sensing element; A controller is electrically connected to each of the material preparation devices and each of the vibration sensing components, wherein the controller includes: one or more processors and one or more memories, the one or more memories storing at least one program code, and the at least one program code is loaded and executed by the one or more processors to implement the detection method described in any one of claims 1-9.
11. The beverage preparation machine according to claim 10, characterized in that The at least one material preparation device comprises a first material preparation device, wherein the first material preparation device comprises a liquid storage tank and a pump for pumping water from the liquid storage tank; The vibration sensing element arranged at the first material preparation device is a first vibration sensing element, which is arranged at the pump and is used to sense the vibration generated by the pump during operation, so that the first vibration sensing element can feed back to the controller a sensing signal sequence representing the change in the vibration state of the pump during operation.
12. The beverage preparation machine according to claim 11, characterized in that The at least one material preparation device further comprises a second material preparation device, wherein the second material preparation device comprises a solid material bin for containing solid material required for preparing the beverage, and a grinder connected to the solid material bin, wherein the grinder is used to grind the solid material; The vibration sensing element arranged at the second material preparation device is a second vibration sensing element, which is arranged in the solid material bin and is used to sense the vibration transmitted to the solid material bin by the grinder during operation, so that the second vibration sensing element can feed back to the controller a sensing signal sequence representing the change in the vibration state of the solid material bin during the operation of the grinder.
13. A beverage preparation machine according to any one of claims 11-12, characterized in that The beverage preparation machine is a coffee machine.
14. A material detection device for a beverage preparation machine, characterized in that: The beverage preparation machine comprises a material preparation device, a vibration sensing element is arranged at the material preparation device, and the material detection device comprises: A signal acquisition unit, used for acquiring a sensing signal sequence fed back by the vibration sensing element during the process of preparing a beverage by the beverage preparation machine, wherein the sensing signal sequence represents a change in the vibration state of the material preparation device during the working process; A signal processing unit, used for processing the sensing signal sequence to obtain state representation information, wherein the state representation information represents a current vibration state of the material preparation device; A state determination unit is used to compare the state characterization information with preset reference information, determine the current accommodation state of the material preparation device according to the comparison result, and determine whether it is necessary to add materials to the material preparation device according to the current accommodation state. The preset reference information is used to distinguish the vibration state of the material preparation device under different accommodation states.
