Beer cabinet and liquid supplementing method thereof

文档序号:1735061 发布日期:2019-12-20 浏览:25次 中文

阅读说明:本技术 一种啤酒柜以及啤酒柜的补液方法 (Beer cabinet and liquid supplementing method thereof ) 是由 曹代华 李昱兵 张德春 李光辉 于 2019-09-19 设计创作,主要内容包括:本发明提供了一种啤酒柜以及啤酒柜的补液方法,该啤酒柜包括:啤酒柜本体、设置于啤酒柜本体底部的底座本体、嵌在底座本体上的至少一个重力感应器和通讯模块、设置于啤酒柜本体内的控制器以及嵌入啤酒柜本体侧壁上的显示器,其中,通讯模块用于将每一个重力感应器的检测值传输给控制器;控制器用于接收外部输入的总容量以及检测值,根据检测值以及外部输入的取液量,确定容量系数,根据容量系数,计算啤酒柜本体的当前存储啤酒量、每一次取出啤酒量以及待补充量;显示器,用于显示当前存储啤酒量、每一次取出啤酒量以及待补充量。本发明提供的方案实现了精确监测啤酒柜中液体的变化情况。(The invention provides a beer cabinet and a liquid supplementing method thereof, wherein the beer cabinet comprises the following components: the beer cabinet comprises a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein the communication module is used for transmitting a detection value of each gravity sensor to the controller; the controller is used for receiving the total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, and calculating the current stored beer quantity of the beer cabinet body, the beer taking quantity each time and the to-be-supplemented amount according to the capacity coefficient; and the display is used for displaying the currently stored beer quantity, the quantity of the beer taken out each time and the quantity to be replenished. The scheme provided by the invention realizes the accurate monitoring of the change condition of the liquid in the beer cabinet.)

1. A beer cabinet, comprising: a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein,

the communication module is used for transmitting the detection value of each gravity sensor to the controller;

the controller is used for receiving total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, calculating the current stored beer quantity of the beer cabinet body, the quantity of the beer taken out each time and the quantity to be replenished according to the capacity coefficient, and outputting the total capacity, the current stored beer quantity, the quantity of the beer taken out each time and the quantity to be replenished to the display;

the display is used for displaying the current stored beer quantity, the quantity of the beer taken out each time and the quantity to be replenished.

2. The beer cabinet of claim 1, wherein the controller is configured to:

aiming at the situation that the number of the gravity sensors is one,

counting the liquid taking amount for N times continuously and the detection value corresponding to each liquid taking amount, wherein N is a positive integer not less than 5, and each liquid taking amount in the liquid taking amount for N times continuously is not less than a preset liquid taking threshold value;

and calculating the capacity coefficient by using the liquid taking amount for the continuous N times and the detection value corresponding to the liquid taking amount for each time.

3. The beer cabinet of claim 2, wherein the controller is configured to:

calculating the capacity coefficient by using a first calculation formula;

wherein K characterizes the capacity coefficient; m is1Characterizing a detection value corresponding to the first liquid taking amount in the continuous N liquid taking amounts; m is2Characterizing a detection value corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m is3Characterizing a detection value corresponding to the liquid taking amount for the third time in the continuous N liquid taking amounts; m isN-1Characterizing a detection value corresponding to the liquid taking quantity of the (N-1) th time in the continuous liquid taking quantities of the N times; m isNCharacterizing a detection value corresponding to the Nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNAnd characterizing the Nth liquid taking amount in the continuous N liquid taking amounts.

4. The beer cabinet of claim 1, wherein the controller is configured to:

the number of the gravity sensors is at least two,

counting the liquid taking amount for N times continuously and the detection value corresponding to each liquid taking amount, wherein N is a positive integer not less than 5, and each liquid taking amount in the liquid taking amount for N times continuously is not less than a preset liquid taking threshold value;

calculating the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount;

when the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount is not larger than a preset difference value threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount as a target detection value;

when the difference value between the detection values of any two gravity sensors corresponding to the same liquid taking amount is larger than a preset difference threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount to be 0;

and calculating the capacity coefficient by using the target detection value corresponding to the same liquid taking amount and the liquid taking times corresponding to the target detection value.

5. The beer cabinet of claim 4, wherein the controller is configured to:

calculating the capacity coefficient by using a second calculation formula;

wherein K characterizes the capacity coefficient; m isi1Representing a target detection value of the ith gravity sensor corresponding to the first liquid taking amount in the continuous N liquid taking amounts; m isi2Representing a target detection value of an ith gravity sensor corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m isi3Representing a target detection value of an ith gravity sensor corresponding to the liquid taking amount for the third time in the continuous N times of liquid taking amounts; m isi(N-1)Characterizing a target detection value of an ith gravity sensor corresponding to the liquid taking amount of the (N-1) th time in the continuous N times of liquid taking amounts; m isiNCharacterizing a target detection value of an ith gravity sensor corresponding to the Nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNCharacterizing the Nth liquid taking amount in the continuous N liquid taking amounts; f represents the total number of the gravity sensors; i represents the ith gravity sensor; and G represents the liquid taking times corresponding to the target detection value.

6. The beer cabinet of claim 1, wherein the controller is configured to:

calculating the current storage beer quantity by using the following third calculation formula;

wherein, VDCharacterizing the current stored beer quantity; m isDRepresenting a current detection value currently detected by the gravity sensor; m is0Characterizing the mass of the beer cabinet body detected by the gravity sensor; k represents the capacity coefficient;

and/or the presence of a gas in the gas,

calculating the amount of beer taken out each time by using the following fourth calculation formula;

wherein, the VQCharacterizing said each quantity of beer withdrawn; m isDRepresenting a current detection value currently detected by the gravity sensor; m isD-1Representing the last detection value corresponding to the current detection value; k represents the capacity coefficient;

and/or the presence of a gas in the gas,

calculating the charge to be compensated by using the following fifth calculation formula;

wherein, VCCharacterizing the charge to be replenished; vZCharacterizing the total capacity; vDCharacterizing the current stored beer quantity; vjQCharacterizing the quantity of beer taken out of each j time; y represents the total number of beer withdrawals.

7. The beer cabinet according to any one of claims 2 to 5,

the liquid taking amount of each time in the continuous N times of liquid taking amounts is not less than 500 ml.

8. The beer cabinet according to any one of claims 1 to 6,

the beer cabinet body can be detachably placed on the base body.

9. The method for replenishing a beer cabinet according to any one of claims 1 to 8, comprising:

according to the amount to be supplemented displayed by the display, beer not larger than the amount to be supplemented is supplemented into the beer cabinet body.

10. The method of claim 9, further comprising:

and when the current stored beer amount is not greater than the preset minimum storage amount, the controller and the display are used for early warning the current stored beer amount so as to remind of liquid supplementation.

Technical Field

The invention relates to the technical field of intelligent equipment, in particular to a beer cabinet and a liquid supplementing method of the beer cabinet.

Background

In bars, restaurants and shops, beer cabinets are often used to store beer in bulk for self-service use by customers. But at present, the industry is still difficult to measure beer quantity accurately according to the capacity change of the beer cabinet and supplement beer in time. Generally, people are required to pay attention to the loss of liquid in the beer cabinet at any time, and once the attention is not paid timely, the loss of liquid in the beer cabinet is caused and the liquid cannot be supplemented timely.

Disclosure of Invention

The embodiment of the invention provides a beer cabinet and a liquid supplementing method of the beer cabinet, which can be used for accurately monitoring the change condition of liquid in the beer cabinet.

In a first aspect, an embodiment of the present invention provides a beer cabinet, including: a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein,

the communication module is used for transmitting the detection value of each gravity sensor to the controller;

the controller is used for receiving total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, calculating the current stored beer quantity of the beer cabinet body, the quantity of the beer taken out each time and the quantity to be replenished according to the capacity coefficient, and outputting the total capacity, the current stored beer quantity, the quantity of the beer taken out each time and the quantity to be replenished to the display;

the display is used for displaying the current stored beer quantity, the quantity of the beer taken out each time and the quantity to be replenished.

Preferably, the controller is configured to:

aiming at the situation that the number of the gravity sensors is one,

counting the liquid taking amount for N times continuously and the detection value corresponding to each liquid taking amount, wherein N is a positive integer not less than 5, and each liquid taking amount in the liquid taking amount for N times continuously is not less than a preset liquid taking threshold value;

and calculating the capacity coefficient by using the liquid taking amount for the continuous N times and the detection value corresponding to the liquid taking amount for each time.

Preferably, the controller is configured to:

calculating the capacity coefficient by using a first calculation formula;

wherein K characterizes the capacity coefficient; m is1Characterizing a detection value corresponding to the first liquid taking amount in the continuous N liquid taking amounts; m is2Characterizing a detection value corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m is3Characterizing a detection value corresponding to the liquid taking amount for the third time in the continuous N liquid taking amounts; m isN-1Characterizing a detection value corresponding to the liquid taking quantity of the (N-1) th time in the continuous liquid taking quantities of the N times; m isNCharacterizing a detection value corresponding to the Nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNAnd characterizing the Nth liquid taking amount in the continuous N liquid taking amounts.

Preferably, the controller is configured to:

the number of the gravity sensors is at least two,

counting the liquid taking amount for N times continuously and the detection value corresponding to each liquid taking amount, wherein N is a positive integer not less than 5, and each liquid taking amount in the liquid taking amount for N times continuously is not less than a preset liquid taking threshold value;

calculating the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount;

when the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount is not larger than a preset difference value threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount as a target detection value;

when the difference value between the detection values of any two gravity sensors corresponding to the same liquid taking amount is larger than a preset difference threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount to be 0;

and calculating the capacity coefficient by using the target detection value corresponding to the same liquid taking amount and the liquid taking times corresponding to the target detection value.

Preferably, the controller is configured to:

calculating the capacity coefficient by using a second calculation formula;

wherein K characterizes the capacity coefficient; m isi1Representing a target detection value of the ith gravity sensor corresponding to the first liquid taking amount in the continuous N liquid taking amounts; m isi2Representing a target detection value of an ith gravity sensor corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m isi3Representing a target detection value of an ith gravity sensor corresponding to the liquid taking amount for the third time in the continuous N times of liquid taking amounts; m isi(N-1)Characterizing a target detection value of an ith gravity sensor corresponding to the liquid taking amount of the (N-1) th time in the continuous N times of liquid taking amounts; m isiNCharacterizing a target detection value of an ith gravity sensor corresponding to the Nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNCharacterizing the Nth liquid taking amount in the continuous N liquid taking amounts; f represents the total number of the gravity sensors; i represents the ith gravity sensor; and G represents the liquid taking times corresponding to the target detection value.

Preferably, the controller is configured to calculate a current amount of stored beer by using a third calculation formula;

wherein, VDCharacterizing the current stored beer quantity; m isDRepresenting a current detection value currently detected by the gravity sensor; m is0Characterizing the mass of the beer cabinet body detected by the gravity sensor; k characterizes the capacity coefficient.

Preferably, the first and second electrodes are formed of a metal,

the controller is used for calculating the beer quantity taken out every time by using the following fourth calculation formula;

wherein, the VQCharacterizing said each quantity of beer withdrawn; m isDRepresenting a current detection value currently detected by the gravity sensor; m isD-1Representing the last detection value corresponding to the current detection value; k characterizes the capacity coefficient.

Preferably, the controller is configured to calculate a charge to be compensated by using a fifth calculation formula;

wherein, VCCharacterizing the charge to be replenished; vZCharacterizing the total capacity; vDCharacterizing the current stored beer quantity; vjQCharacterizing the quantity of beer taken out of each j time; y represents the total number of beer withdrawals.

Preferably, the first and second electrodes are formed of a metal,

the liquid taking amount of each time in the continuous N times of liquid taking amounts is not less than 500 ml.

Preferably, the first and second electrodes are formed of a metal,

the beer cabinet body can be detachably placed on the base body.

The liquid supplementing method of the beer cabinet comprises the following steps:

according to the amount to be supplemented displayed by the display, beer not larger than the amount to be supplemented is supplemented into the beer cabinet body.

Preferably, the method for replenishing beer in a beer cabinet further comprises:

and when the current stored beer amount is not greater than the preset minimum storage amount, the controller and the display are used for early warning the current stored beer amount so as to remind of liquid supplementation.

The embodiment of the invention provides a beer cabinet and a liquid supplementing method thereof, wherein the beer cabinet comprises the following components: the beer cabinet comprises a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein the communication module is used for transmitting a detection value of each gravity sensor to the controller; the controller is used for receiving the total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, calculating the current stored beer quantity of the beer cabinet body, the beer taking quantity and the to-be-supplemented charge each time according to the capacity coefficient, and outputting the total capacity, the current stored beer quantity, the beer taking quantity each time and the to-be-supplemented charge to the display; the display is used for displaying the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air, namely the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air in the beer cabinet body are monitored through the change of the mass of the beer cabinet body, and therefore the change condition of liquid in the beer cabinet is accurately monitored.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.

Fig. 1 is a schematic structural diagram of a beer cabinet according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.

As shown in fig. 1, an embodiment of the present invention provides a beer cabinet, which may specifically include: a beer cabinet body 101, a base body 102 arranged at the bottom of the beer cabinet body, at least one gravity sensor 103 and a communication module 104 embedded on the base body, a controller 105 arranged in the beer cabinet body and a display 106 embedded on the side wall of the beer cabinet body, wherein,

a communication module 104, configured to transmit the detected value of each gravity sensor 103 to a controller 105;

a controller 105 for receiving the total volume and the detection value inputted from the outside, determining a volume coefficient according to the detection value and the liquid taking amount inputted from the outside, calculating the current stored beer amount, the beer taking amount and the to-be-replenished charge of the beer cabinet body 101 according to the volume coefficient, and outputting the total volume, the current stored beer amount, the beer taking amount and the to-be-replenished charge to a display 106;

and a display 106 for displaying the currently stored amount of beer, each amount of beer taken out, and the amount to be replenished.

It can be understood that when the number of the gravity sensors is 1, the gravity sensors are arranged in the middle area of the base body, and when the number of the gravity sensors is at least 2, the gravity sensors are uniformly distributed in the middle area of the base body.

In addition, the process of determining the capacity coefficient by the controller according to the detection value and the externally input liquid taking amount can be determined in the stage of beer cabinet delivery test.

The communication module can be a Bluetooth module.

In the embodiment shown in fig. 1, the beer cabinet comprises: the beer cabinet comprises a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein the communication module is used for transmitting a detection value of each gravity sensor to the controller; the controller is used for receiving the total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, calculating the current stored beer quantity of the beer cabinet body, the beer taking quantity and the to-be-supplemented charge each time according to the capacity coefficient, and outputting the total capacity, the current stored beer quantity, the beer taking quantity each time and the to-be-supplemented charge to the display; the display is used for displaying the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air, namely the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air in the beer cabinet body are monitored through the change of the mass of the beer cabinet body, and therefore the change condition of liquid in the beer cabinet is accurately monitored.

In another embodiment of the present invention, in order to ensure that the determined capacity coefficients are relatively accurate, the capacity coefficients are determined for 1 gravity sensor and at least two gravity sensors, respectively. Wherein the content of the first and second substances,

the controller 105 is configured to count the liquid taking amount for N consecutive times and a detection value corresponding to each liquid taking amount, where N is a positive integer not less than 5, and each liquid taking amount in the N consecutive liquid taking amounts is not less than a preset liquid taking threshold; and calculating the capacity coefficient by using the liquid taking amount for N times and the detection value corresponding to the liquid taking amount each time.

For the number of gravity sensors 103 being one, the controller 105 is configured to calculate the capacity coefficient as follows: the controller 105 is configured to calculate a capacity coefficient using a first calculation formula;

wherein K represents a capacity coefficient; m is1Characterization linkDetecting values corresponding to the first liquid taking amount in the liquid taking amounts for N times; m is2Characterizing a detection value corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m is3Characterizing a detection value corresponding to the liquid taking amount for the third time in the continuous N liquid taking amounts; m isN-1Characterizing a detection value corresponding to the liquid taking quantity of the (N-1) th time in the continuous liquid taking quantities of the N times; m isNCharacterizing a detection value corresponding to the Nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNAnd characterizing the Nth liquid taking amount in the continuous N liquid taking amounts.

For at least two gravity sensors, the controller 105 is configured to count the liquid taking amount for N consecutive times and the detection value corresponding to the liquid taking amount each time, where N is a positive integer not less than 5, and the liquid taking amount each time in the liquid taking amount for N consecutive times is not less than a preset liquid taking threshold;

calculating the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount;

when the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount is not larger than the preset difference value threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount as a target detection value;

when the difference value between the detection values of any two gravity sensors corresponding to the same liquid taking amount is larger than a preset difference threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount to be 0;

and calculating the capacity coefficient by using the target detection value corresponding to the same liquid taking amount and the liquid taking times corresponding to the target detection value.

For at least two gravity sensors, the specific implementation of the controller 105 for calculating the capacity coefficient may be:

a controller for calculating a capacity coefficient using a second calculation formula;

wherein K represents a capacity coefficient; m isi1Representing a target detection value of the ith gravity sensor corresponding to the first liquid taking amount in the continuous N liquid taking amounts; m isi2Representing a target detection value of an ith gravity sensor corresponding to the second liquid taking amount in the continuous N liquid taking amounts; m isi3Representing a target detection value of the ith gravity sensor corresponding to the liquid taking amount for the third time in the continuous N times of liquid taking amounts; m isi(N-1)Representing a target detection value of an ith gravity sensor corresponding to the liquid taking amount of the (N-1) th time in the continuous liquid taking amount of N times; m isiNRepresenting a target detection value of an ith gravity sensor corresponding to the nth liquid taking amount in the continuous N liquid taking amounts; v2Characterizing the second liquid taking amount in the continuous N liquid taking amounts; v3Characterizing the third liquid taking amount in the continuous N liquid taking amounts; vNCharacterizing the Nth liquid taking amount in the continuous N liquid taking amounts; f represents the total number of the gravity sensors; i represents the ith gravity sensor; and G represents the liquid taking times corresponding to the target detection value.

In the process of calculating the capacity coefficient, the liquid taking amount is artificially determined by the measuring cup.

The number to gravity inductor is at least two, on gravity inductor equipartition and the base body to make the beer cabinet body place back on the base body, the sensor can the equipartition in beer cabinet body bottom.

In another embodiment of the present invention, the controller 105 is configured to calculate the current amount of stored beer by using the following third calculation formula;

wherein, VDCharacterizing the amount of beer currently stored; m isDRepresenting a current detection value currently detected by the gravity sensor; m is0Representing the mass of the beer cabinet body detected by the gravity sensor; k represents the capacity coefficient.

The mass of the beer cabinet body is detected by a gravity sensor when the beer cabinet is empty or is input by an external user.

Wherein, the number of the gravity sensors is 1, mDThe current detection value detected by the gravity sensor is obtained; m is0The detection value detected by the gravity sensor is detected when the beer cabinet body is empty.

The number of the gravity sensors is at least two, mDThe average value of the current detection values detected by the at least two gravity sensors can be obtained; m is0The average value of the detection values detected by the at least two gravity sensors is the average value when the beer cabinet body is empty. If the difference value between the current detection values detected by the at least two gravity sensors is greater than a preset threshold value, the gravity sensors may be damaged to cause detection errors, and whether the gravity sensors work normally needs to be artificially detected.

In another embodiment of the present invention, the following fourth calculation formula is used to calculate the amount of beer taken out each time;

wherein, VQCharacterizing the quantity of beer removed for each time; m isDRepresenting a current detection value currently detected by the gravity sensor; m isD-1Representing the last detection value corresponding to the current detection value; k represents the capacity coefficient.

For example, if the amount of beer taken out per time is 1000ml for guest 1 and 2000ml for guest 2, and these 1000ml and 2000ml need to be taken out separately, the amount of beer taken out per time is about 1000ml for guest 1 and about 2000ml for guest 2.

Wherein, the number of the gravity sensors is 1, mDNamely the current detection value detected by the gravity sensor.

The number of the gravity sensors is at least two, mDThe average value of the current detection values detected by the at least two gravity sensors can be obtained;mD-1the average value of the detection values detected by the at least two gravity sensors at the last time corresponding to the current detection value is obtained. If the difference value between the detection values detected by the at least two gravity sensors is greater than a preset threshold value, the gravity sensors may be damaged to cause detection errors, and whether the gravity sensors work normally needs to be artificially detected.

In another embodiment of the invention, in order to remind the user to replenish beer for the beer cabinet in time, the controller is used for calculating the amount of the beer to be replenished by utilizing the following fifth calculation formula;

wherein, VCCharacterizing the charge to be replenished; vZCharacterizing the total capacity; vDCharacterizing the current stored beer quantity; vjQCharacterizing the quantity of beer taken out of each j time; y represents the total number of beer withdrawals.

The amount to be replenished obtained by the fifth calculation formula can avoid beer overflow caused by excessive beer addition.

In another embodiment of the present invention, in order to ensure the accuracy of the capacity coefficient as much as possible, the liquid amount taken in each of the N successive liquid amounts is not less than 500 ml.

In another embodiment of the invention, in order to facilitate the replacement of the beer cabinet body, the beer cabinet body is detachably arranged on the base body.

The liquid supplementing method realized based on any beer cabinet can specifically comprise the following steps: according to the amount to be replenished displayed by the display, beer not larger than the amount to be replenished is replenished into the beer cabinet body.

In another embodiment of the present invention, in order to remind a user of replenishing beer to the beer cabinet in time, the solution replenishing method may further include: when the amount of the beer stored currently is not larger than the preset minimum storage amount, the controller and the display are used for early warning the amount of the beer stored currently so as to remind of liquid replenishment. Such as: when the current stored beer amount is not larger than the preset minimum storage amount, the controller sends the current stored beer amount displayed by the current stored beer amount to the display to be red font, and when the current stored beer amount is larger than the preset minimum storage amount, the current stored beer amount displayed by the display is green font and the like.

The embodiments of the invention have at least the following beneficial effects:

1. in an embodiment of the present invention, a beer cabinet includes: the beer cabinet comprises a beer cabinet body, a base body arranged at the bottom of the beer cabinet body, at least one gravity sensor and a communication module embedded on the base body, a controller arranged in the beer cabinet body and a display embedded on the side wall of the beer cabinet body, wherein the communication module is used for transmitting a detection value of each gravity sensor to the controller; the controller is used for receiving the total capacity and the detection value input from the outside, determining a capacity coefficient according to the detection value and the liquid taking quantity input from the outside, calculating the current stored beer quantity of the beer cabinet body, the beer taking quantity and the to-be-supplemented charge each time according to the capacity coefficient, and outputting the total capacity, the current stored beer quantity, the beer taking quantity each time and the to-be-supplemented charge to the display; the display is used for displaying the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air, namely the current stored beer quantity, the quantity of the beer taken out every time and the quantity of the to-be-supplemented air in the beer cabinet body are monitored through the change of the mass of the beer cabinet body, and therefore the change condition of liquid in the beer cabinet is accurately monitored.

2. In the embodiment of the invention, the controller is used for counting the liquid taking quantity for N times and the detection value corresponding to each liquid taking quantity, wherein N is a positive integer not less than 5, and each liquid taking quantity in the liquid taking quantities for N times is not less than a preset liquid taking threshold value; calculating a capacity coefficient by using the liquid taking amount for N times and the detection value corresponding to the liquid taking amount each time; aiming at least two gravity sensors, the controller is used for counting the liquid taking quantity for N times continuously and the detection value corresponding to the liquid taking quantity each time, wherein N is a positive integer not less than 5, and the liquid taking quantity each time in the liquid taking quantities for N times continuously is not less than a preset liquid taking threshold value; calculating the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount; when the difference value between the detection values of every two gravity sensors corresponding to the same liquid taking amount is not larger than the preset difference value threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount as a target detection value; when the difference value between the detection values of any two gravity sensors corresponding to the same liquid taking amount is larger than a preset difference threshold value, determining the detection value of each gravity sensor corresponding to the same liquid taking amount to be 0; the capacity coefficient is calculated by using the target detection value corresponding to the same liquid taking amount and the liquid taking times corresponding to the target detection value, and the controller can obtain the more accurate capacity coefficient by the mode.

3. In the embodiment of the invention, the user, the beer buyer and the like can intuitively know the beer storage condition by displaying the amount to be replenished, the liquid taking amount, the total volume and the like.

It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.

Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.

Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:汽车衡自动识别称重系统

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!