CN113819995A - Gravity sensor deformation automatic correction method for gravity vending cabinet - Google Patents
Gravity sensor deformation automatic correction method for gravity vending cabinet Download PDFInfo
- Publication number
- CN113819995A CN113819995A CN202111258991.XA CN202111258991A CN113819995A CN 113819995 A CN113819995 A CN 113819995A CN 202111258991 A CN202111258991 A CN 202111258991A CN 113819995 A CN113819995 A CN 113819995A
- Authority
- CN
- China
- Prior art keywords
- gravity
- weight
- deformation
- change
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005484 gravity Effects 0.000 title claims abstract description 59
- 238000012937 correction Methods 0.000 title claims abstract description 22
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000008859 change Effects 0.000 claims abstract description 24
- 230000035772 mutation Effects 0.000 claims abstract description 7
- 238000005303 weighing Methods 0.000 abstract description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000007886 mutagenicity Effects 0.000 description 1
- 231100000299 mutagenicity Toxicity 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G23/00—Auxiliary devices for weighing apparatus
- G01G23/01—Testing or calibrating of weighing apparatus
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G23/00—Auxiliary devices for weighing apparatus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
Abstract
The invention provides a gravity sensor deformation automatic correction method of a gravity vending cabinet, which comprises the following steps: the current weight of each goods channel in the gravity sales counter is detected at regular time and stored in a Flash medium of the single chip microcomputer; correction of the cargo path gravity sensor: analyzing the continuous records of the latest saved same cargo track, wherein the current weight in the records has no mutation phenomenon and only has slow slight change, but the total change is increased, so that the cargo track can be judged to be deformed; coefficient of deformation = K (after weight change-before weight change)/after weight change; when the current weight is calculated, the measured weight is multiplied by the deformation coefficient K, so that more accurate weight can be obtained; starting from the first lane, straightening to the last lane, all lanes are allowed to straighten. The invention can automatically correct the deformation of the gravity sensor, so that the goods weighing of the gravity vending cabinet is more accurate.
Description
Technical Field
The invention belongs to the technical field of gravity sensors, and particularly relates to an automatic gravity sensor deformation correction method for a gravity vending cabinet.
Background
The gravity sensor mainly comprises an elastic element and a resistance strain gauge, wherein the elastic element can deform to a certain extent when being subjected to deformation of weight for a long time, so that the gravity sensor needs to be calibrated again under the influence of gravity for a long time. However, the gravity vending machine is periodically recalibrated during operation, which costs a lot of manpower and material resources and also causes the operation of the gravity vending machine to be interrupted. And the merchant does not have the standard weights needing to be calibrated, so that the automatic correction deformation of the gravity sales counter needs to be considered.
In the operation of the gravity vending cabinet, except the processes of replenishment and commodity selling, the commodities of each goods channel are fixed in the rest time, and the actual weight cannot be changed. The weighing value may vary, mainly due to temperature and deformation of the elastic element. The deformation of the gravity sensor only increases the test weight, the speed of the change is very slow, no influence is caused in a short time, but the operation of the gravity vending cabinet is long, so the deformation can occur after a long time. A long-term deformation monitoring mechanism needs to be established in a gravity sales counter, and when the deformation reaches a certain deformation degree, the automatic correction and repair function is carried out.
Disclosure of Invention
The invention aims to solve the technical problems and provides an automatic correction method for the deformation of a gravity sensor of a gravity vending cabinet.
In order to achieve the purpose, the invention adopts the following technical scheme:
a gravity sensor deformation automatic correction method of a gravity vending cabinet comprises the following steps:
the current weight of each goods channel in the gravity sales counter is detected at regular time and stored in a Flash medium of the single chip microcomputer;
correction of the cargo path gravity sensor: analyzing the continuous records of the latest saved same cargo track, wherein the current weight in the records has no mutation phenomenon and only has slow slight change, but the total change is increased, so that the cargo track can be judged to be deformed; .
Coefficient of deformation = K (after weight change-before weight change)/after weight change;
when the current weight is calculated, the measured weight is multiplied by the deformation coefficient K, so that more accurate weight can be obtained;
starting from the first lane, straightening to the last lane, all lanes are allowed to straighten.
As a preferred technical solution, the Flash media stored with the parameters are set as follows:
alternately storing the latest records by using 2 blocks according to the characteristics of Flash and the data required to be stored by the gravity sales counter;
the size of each Block is 4K, the length of each record is fixed, and the record is determined according to the number of channels of the gravity sales counter;
when the first Block is full, erasing the other Block, and storing the first record in the newly erased Block, wherein the record storage of each Block is sequentially stored;
when the current record is stored in the Block, searching an empty position behind the position stored last time for storing, and if the space of the empty position is insufficient and the storage cannot be carried out, switching to another Block for storing.
As a preferred embodiment, the absence of mutagenicity is defined as a difference in weight of no more than 10 grams between 2 consecutive entries.
As a preferable technical scheme, the interval time for regularly detecting the current weight of each goods channel in the gravity sales counter is 12 hours.
After the technical scheme is adopted, the invention has the following advantages:
the invention relates to a gravity sensor deformation automatic correction method of a gravity vending cabinet, which detects the measured weight change to judge whether the deformation occurs under the condition that the weight of a goods channel is not changed, thereby realizing the automatic correction process. The invention can automatically correct the deformation of the gravity sensor, so that the goods weighing of the gravity vending cabinet is more accurate.
Drawings
FIG. 1 is an algorithm defining the measured current weight and auto-leveling parameters for each lane;
FIG. 2 is a critical path schedule for all lanes of an entire gravity merchandiser;
FIG. 3 is a critical path schedule for all lanes of an entire gravity vending cabinet of an embodiment.
Detailed Description
The present invention will be described in further detail with reference to the following drawings and specific examples.
A gravity sensor deformation automatic correction method of a gravity vending cabinet comprises the following steps:
setting a configuration format of a Flash medium:
the Flash data reading and storing aim is to open a space in the program storage area of the singlechip specially for storing the parameters and data to be memorized by the system, thereby completely replacing EEROM and achieving the aims of reducing cost and keeping data secret. The implementation method mainly comprises four parts: reading Flash data, setting the Flash data, storing the Flash data and erasing a Flash space. The data reading and storing method needs to be determined according to the configuration format of the data.
Here is defined as follows:
1, alternately storing the latest records by using 2 blocks according to the characteristics of Flash and the data required to be stored by the gravity sales counter;
2, the size of each Block is 4K (4096B), the length of each record is fixed and is determined according to the number of lanes of the gravity sales counter;
3, when the first Block is full, erasing another Block, and storing the newly erased Block from the first record, wherein the record storage of each Block is sequentially stored;
and 4, when the current record is stored in the Block, searching an empty position behind the position stored last time for storing, and if the space of the empty position is insufficient and the storage cannot be carried out, switching to another Block for storing.
The gravity sensor automatically corrects the deformation:
1, monitoring the weight of each goods channel in real time, and then regularly storing the current information in a Block of a Flash medium of a single chip microcomputer of the gravity vending cabinet.
The timed interval cannot be too short or too long, and if the time interval is too short, the total weight information recorded is limited, and it may not be possible to determine the lane deformation, and if the time interval is too long, the detected deformation may be abrupt, thus not distinguishing whether the deformation is caused by an abrupt change in the lane cargo.
In this embodiment, the time interval is controlled to be once in 12 hours, 2 times of detection are performed every day, and 60 lanes are supported by one container, so that one Block (4096B) of Flash can store data amount for 8 days, and 2 blocks are used for switching, thereby reducing the erasing action of Flash and ensuring the lane change condition for at least 8 days. Therefore, the change condition of each goods channel can be effectively detected and then automatically corrected.
And 2, reading all the stored records, extracting the information of the cargo track record needing to be corrected, sequentially comparing whether mutation exists, and if the mutation exists, analyzing data behind the mutation point by taking the mutation point as a boundary. If the records are continuous and have slight changes, automatic correction can be carried out, the difference of deformation is obtained by subtracting the foremost weight from the last recorded weight, and then the difference is divided by the current weight, so that the coefficient of automatic correction is obtained, namely the deformation coefficient of the cargo way = K (after weight change-before weight change)/after weight change;
the correction of the cargo way gravity sensor is to analyze the continuous records of the recently stored same cargo way, the current weight in the records should be no sudden change, only slow and slight change, but the total change is increasing, so that the cargo way can be judged to be deformed.
In this example, the absence of a snap-off phenomenon is defined as a difference in weight of no more than 10g among 2 consecutive records.
3, when calculating the current weight, the measured weight needs to be multiplied by the correction coefficient, so that a more accurate weight can be obtained.
4, in the step 2, the straightening is required to be performed from the first lane to the last lane in sequence, so that all lanes are straightened.
In fig. 1, the measured current weight of each lane, and the parameters for automatic correction, are defined. The measured current weights and the auto-leveling parameters for all lanes of the entire gravity box are then tabulated as a cps table.
In FIG. 2, the parameters detected in FIG. 1 are stored in the flash in order. The monitoring times in fig. 2 are fixed time intervals in order to calculate the change in deformation.
FIG. 3 is a record of actual simulated deformation data, from the data of FIG. 3, it can be seen that lane 1 and lane 2 are both deformed and the detected weight is gradually increased; the cargo way 3 is not deformed, and the detected weight is basically fixed.
Other embodiments of the present invention than the preferred embodiments described above will be apparent to those skilled in the art from the present invention, and various changes and modifications can be made therein without departing from the spirit of the present invention as defined in the appended claims.
Claims (4)
1. A gravity sensor deformation automatic correction method of a gravity vending cabinet is characterized by comprising the following steps:
the current weight of each goods channel in the gravity cabinet is detected at regular time and stored in a Flash medium of the single chip microcomputer;
correction of the cargo path gravity sensor: analyzing the continuous records of the latest saved same cargo track, wherein the current weight in the records has no mutation phenomenon and only has slow slight change, but the total change is increased, so that the cargo track can be judged to be deformed;
coefficient of deformation = K (after weight change-before weight change)/after weight change;
when the current weight is calculated, the measured weight is multiplied by the deformation coefficient K, so that more accurate weight can be obtained;
starting from the first lane, straightening to the last lane, all lanes are allowed to straighten.
2. The gravity sales counter gravity sensor deformation automatic correction method of claim 1,
the Flash medium with parameters stored is set as follows:
alternately storing the latest records by using 2 blocks according to the characteristics of Flash and the data required to be stored by the gravity sales counter;
the size of each Block is 4K, the length of each record is fixed, and the record is determined according to the number of channels of the gravity sales counter;
when the first Block is full, erasing the other Block, and storing the first record in the newly erased Block, wherein the record storage of each Block is sequentially stored;
when the current record is stored in the Block, searching an empty position behind the position stored last time for storing, and if the space of the empty position is insufficient and the storage cannot be carried out, switching to another Block for storing.
3. The method for automatically correcting the deformation of a gravity sensor of a gravity sales container according to claim 1, wherein the absence of the sudden change is defined as a difference in weight of 2 consecutive records of not more than 10 g.
4. The gravity sensor deformation automatic correction method of gravity sales counter according to claim 1, wherein the interval time for regularly detecting the current weight of each lane in the gravity counter is 12 hours.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111258991.XA CN113819995A (en) | 2021-10-28 | 2021-10-28 | Gravity sensor deformation automatic correction method for gravity vending cabinet |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111258991.XA CN113819995A (en) | 2021-10-28 | 2021-10-28 | Gravity sensor deformation automatic correction method for gravity vending cabinet |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113819995A true CN113819995A (en) | 2021-12-21 |
Family
ID=78918881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111258991.XA Pending CN113819995A (en) | 2021-10-28 | 2021-10-28 | Gravity sensor deformation automatic correction method for gravity vending cabinet |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113819995A (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1401975A (en) * | 2002-09-13 | 2003-03-12 | 梅特勒-托利多(常州)称重设备***有限公司 | Creep fuzzy compensation method of weighing sensor |
CN1570879A (en) * | 2003-07-25 | 2005-01-26 | 华为技术有限公司 | A method for storing abnormal information |
CN101142465A (en) * | 2005-06-07 | 2008-03-12 | 株式会社岛津制作所 | Load cell-type electronic balance |
CN101429865A (en) * | 2008-12-05 | 2009-05-13 | 北京六合伟业科技有限公司 | Parameter-embedded analog transducer calibration method |
CN106441537A (en) * | 2016-09-08 | 2017-02-22 | 蝶和科技(中国)有限公司 | Weighing method for weighing shelves and shelf using method |
CN107704200A (en) * | 2017-09-08 | 2018-02-16 | 晶晨半导体(上海)股份有限公司 | A kind of data deposit method |
CN108346221A (en) * | 2018-02-26 | 2018-07-31 | 合肥美的智能科技有限公司 | Self-service equipment and its good selling method and self-service system |
CN109708739A (en) * | 2018-09-07 | 2019-05-03 | 盈奇科技(深圳)有限公司 | A kind of automatic selling counter sensor creep measurement method |
CN109741553A (en) * | 2019-01-09 | 2019-05-10 | 盈奇科技(深圳)有限公司 | A kind of gravity sensing creep calibration system |
CN110346028A (en) * | 2018-04-02 | 2019-10-18 | 浙江星星冷链集成股份有限公司 | A kind of self-service cabinet weight induction system standard weight block bearing calibration |
CN110849459A (en) * | 2019-10-24 | 2020-02-28 | 华帝股份有限公司 | Creep deformation correction method for weighing sensor |
CN112179471A (en) * | 2020-08-27 | 2021-01-05 | 四川素问天码科技有限公司 | Dynamic gravity calibration method for intelligent cabinet |
US20210148751A1 (en) * | 2018-06-28 | 2021-05-20 | Shekel Scales (2008) Ltd. | Systems and methods for weighing products on a shelf |
-
2021
- 2021-10-28 CN CN202111258991.XA patent/CN113819995A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1401975A (en) * | 2002-09-13 | 2003-03-12 | 梅特勒-托利多(常州)称重设备***有限公司 | Creep fuzzy compensation method of weighing sensor |
CN1570879A (en) * | 2003-07-25 | 2005-01-26 | 华为技术有限公司 | A method for storing abnormal information |
CN101142465A (en) * | 2005-06-07 | 2008-03-12 | 株式会社岛津制作所 | Load cell-type electronic balance |
CN101429865A (en) * | 2008-12-05 | 2009-05-13 | 北京六合伟业科技有限公司 | Parameter-embedded analog transducer calibration method |
CN106441537A (en) * | 2016-09-08 | 2017-02-22 | 蝶和科技(中国)有限公司 | Weighing method for weighing shelves and shelf using method |
CN107704200A (en) * | 2017-09-08 | 2018-02-16 | 晶晨半导体(上海)股份有限公司 | A kind of data deposit method |
CN108346221A (en) * | 2018-02-26 | 2018-07-31 | 合肥美的智能科技有限公司 | Self-service equipment and its good selling method and self-service system |
CN110346028A (en) * | 2018-04-02 | 2019-10-18 | 浙江星星冷链集成股份有限公司 | A kind of self-service cabinet weight induction system standard weight block bearing calibration |
US20210148751A1 (en) * | 2018-06-28 | 2021-05-20 | Shekel Scales (2008) Ltd. | Systems and methods for weighing products on a shelf |
CN109708739A (en) * | 2018-09-07 | 2019-05-03 | 盈奇科技(深圳)有限公司 | A kind of automatic selling counter sensor creep measurement method |
CN109741553A (en) * | 2019-01-09 | 2019-05-10 | 盈奇科技(深圳)有限公司 | A kind of gravity sensing creep calibration system |
CN110849459A (en) * | 2019-10-24 | 2020-02-28 | 华帝股份有限公司 | Creep deformation correction method for weighing sensor |
CN112179471A (en) * | 2020-08-27 | 2021-01-05 | 四川素问天码科技有限公司 | Dynamic gravity calibration method for intelligent cabinet |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102667352B (en) | Refrigerant leak detection system and method | |
CN100419894C (en) | Information recording device, information recording method | |
EP2186005B1 (en) | Multi-bit error correction scheme in multi-level memory storage system | |
CN109599143B (en) | Memory system with read threshold mechanism and method of operation thereof | |
CN105556610A (en) | Data storage system with dynamic read threshold mechanism and method of operation thereof | |
WO2006094030A2 (en) | System and method for tracking id tags using a data structure of tag reads | |
CN110007871A (en) | A kind of solid state hard disk data hold time method for inspecting, device and equipment | |
CN104282342A (en) | Flash memory device, memory controller and control method of flash memory | |
CN110631639A (en) | Method for judging grain safety according to grain temperature and humidity | |
CN108831517A (en) | A kind of method and test device judging flash chip reliability based on operating time or electric current | |
US4053751A (en) | Adaptable exerciser for a memory system | |
US20190294336A1 (en) | Optimization of memory refresh rates using estimation of die temperature | |
CN113819995A (en) | Gravity sensor deformation automatic correction method for gravity vending cabinet | |
CN103502951A (en) | Operation administration system, operation administration method, and program | |
CN102564560B (en) | Weighing identification method and system | |
CN108548611A (en) | Multichannel temperature method for inspecting and logging for environmental test chamber detection | |
US7533303B2 (en) | Method and system for performing system-level correction of memory errors | |
JP2010128816A5 (en) | ||
CN117593830A (en) | Article identification system, article identification method, computer-readable recording medium, and article acquisition judgment system | |
CN114120592B (en) | Method and device for fault alarm, electronic equipment and storage medium | |
CN114328282A (en) | Machine learning optimization and application method for SSD flash memory management | |
CN113409861B (en) | Threshold voltage acquisition system, transmission method, device, equipment and storage medium | |
CN114781128A (en) | Chip life prediction system and method using artificial intelligence technology | |
US10783973B1 (en) | Memory device having parameter adjusting mechanism and method of adjusting parameter by memory device | |
KR102297605B1 (en) | Method for compensating electronic scale data for inventory management |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |