CN109556687A - Weight measurements, device, equipment and computer readable storage medium - Google Patents
Weight measurements, device, equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN109556687A CN109556687A CN201811567324.8A CN201811567324A CN109556687A CN 109556687 A CN109556687 A CN 109556687A CN 201811567324 A CN201811567324 A CN 201811567324A CN 109556687 A CN109556687 A CN 109556687A
- Authority
- CN
- China
- Prior art keywords
- weight
- change value
- weight change
- measurement
- threshold
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01G—WEIGHING
- G01G3/00—Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances
- G01G3/12—Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances wherein the weighing element is in the form of a solid body stressed by pressure or tension during weighing
- G01G3/14—Weighing apparatus characterised by the use of elastically-deformable members, e.g. spring balances wherein the weighing element is in the form of a solid body stressed by pressure or tension during weighing measuring variations of electrical resistance
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
The present invention discloses a kind of weight measurements, device, equipment and computer readable storage medium, is related to metrical instrument technical field, which comprises the weight signal of weighing sensor output is detected according to preset detection cycle;In response to detecting that the weight signal of the weighing sensor output changes, weight change value and weight change direction are determined;Judge whether the weight change value is greater than preset weight threshold;When determining that the weight change value is greater than the weight threshold, according to the weight measurement of the weight change value, the weight change direction and last time, this weight measurement is calculated;When determining that the weight change value is less than or equal to the weight threshold, last weight measurement is determined as to this weight measurement.The accuracy of weight measurement can be improved by adopting the above technical scheme, reduce hardware cost.
Description
Technical field
The present invention relates to metrical instrument technical fields, can more particularly to weight measurements, device, equipment and computer
Read storage medium.
Background technique
Weighing sensor is a kind of device that quality signal is changed into measurable electric signal output, in engineering survey
It plays an important role with testing in the applications such as measurement.Currently, common weighing sensor is mainly strain weighing
Sensor.However, the weight that weighing sensor measures can be by many extraneous factor shadows such as temperature, humidity, foil gauge Fatigue Deformation
It rings and generates drift.If measuring for a long time without calibration, the deviation of weight of output can reach a considerable degree.It is existing
There is technology that the temperature sensors such as thermistor is mainly used to compensate measured value.
The present inventor has found that the prior art at least has following technical problem in the practice of the invention:
Existing temperature sensor compensation method only accounts for this factor of temperature, without considering other factors to measurement
Therefore the influence of value, especially foil gauge Fatigue Deformation bring long term drift are obtained by temperature sensor compensation method
Measurement result accuracy is not high.In addition, also increasing the difficulty of manufacture craft using additional compensation sensor, improving hardware
Cost.
Summary of the invention
Based on this, it is necessary to provide a kind of weight measurements, device, equipment and computer readable storage medium, can mention
The accuracy of high weight measurement reduces hardware cost.
On the one hand, the present invention provides a kind of weight measurements comprising:
The weight signal of weighing sensor output is detected according to preset detection cycle;
In response to detecting that the weight signal of the weighing sensor output changes, weight change value and weight are determined
Change direction;
Judge whether the weight change value is greater than preset weight threshold;
When determining that the weight change value is greater than the weight threshold, become according to the weight change value, the weight
The weight measurement for changing direction and last time, calculates this weight measurement;
When determining that the weight change value is less than or equal to the weight threshold, last weight measurement is determined
For this weight measurement.
It is described to judge whether the weight change value is greater than preset weight threshold in a kind of optional embodiment,
Include:
In the corresponding weight change value that pre-stored preceding n times weight signal is changed and described in this
The smallest weight change value of the absolute value of the difference of weight change value, is determined as immediate weight change value;
This weight change value is updated to the immediate weight change value;
Judge whether the updated weight change value is greater than preset weight threshold;
It is then described when determining that the weight change value is greater than the weight threshold, according to the weight change value, described
The weight measurement of weight change direction and last time, calculate this weight measurement, comprising:
When determining that the updated weight change value is greater than the weight threshold, become according to the updated weight
The weight measurement of change value, the weight change direction and last time, calculates this weight measurement;
It is described when determining that the weight change value is less than or equal to the weight threshold, by last weight measurement
It is determined as this weight measurement, comprising:
When determining that the updated weight change value is less than or equal to the weight threshold, last weight is surveyed
Magnitude is determined as this weight measurement.
In a kind of optional embodiment, the method also includes:
In response to detecting the power-off signal of power-fail detection circuit output, the weight measurement that the last time is calculated is carried out
It saves.
In a kind of optional embodiment, the method also includes:
The weight signal that the weighing sensor output is detected after power down starting, determines absolute weight;
According to the difference of surveyed absolute weight and the weight measurement saved in response to the power-off signal, it is determined whether
The weight measurement saved is updated to the absolute weight.
In a kind of optional embodiment, the range of the detection cycle is 0.1~1 second.
In a kind of optional embodiment, the weight threshold is the 0.1% of the maximum range of the weighing sensor
~1%.
Another aspect, the present invention also provides a kind of Weight-measuring devices comprising:
Detection module, for detecting the weight signal of weighing sensor output according to preset detection cycle;
Weight change determining module, in response to detecting that the weight signal of the weighing sensor output becomes
Change, determines weight change value and weight change direction;
Threshold value judgment module, for judging whether the weight change value is greater than preset weight threshold;
First determination module is used for when determining that the weight change value is greater than the weight threshold, according to the weight
The weight measurement of changing value, the weight change direction and last time, calculates this weight measurement;
Second determination module is used for when determining that the weight change value is less than or equal to the weight threshold, by upper one
Secondary weight measurement is determined as this weight measurement.
In a kind of optional embodiment, the threshold value judgment module includes:
Difference comparsion unit, the weight change for changing pre-stored preceding n times weight signal corresponding
With the smallest weight change value of absolute value of the difference of this weight change value in change value, it is determined as immediate weight
Changing value;
Updating unit, for this weight change value to be updated to the immediate weight change value;
Judging unit, for judging whether the updated weight change value is greater than preset weight threshold;
Then first determination module includes:
Computing unit is used for when determining that the updated weight change value is greater than the weight threshold, according to described
The weight measurement of updated weight change value, the weight change direction and last time, calculates this weight measurement
Value;
Second determination module includes:
Determination unit is used for when determining that the updated weight change value is less than or equal to the weight threshold, will
Last weight measurement is determined as this weight measurement.
Another aspect, the present invention also provides a kind of weight measuring equipments comprising: weighing sensor, processor, memory
And the computer program executed by the processor is stored in the memory and is configured as, the processor executes institute
The weight measurements as described in above-mentioned any embodiment are realized when stating computer program.
Another aspect, the present invention also provides a kind of computer readable storage mediums, which is characterized in that the calculating including storage
Machine program, the computer program control computer readable storage medium institute's Coupling device and realize as any of the above-described when running
Weight measurements described in embodiment.
Compared with the prior art, the present invention have it is following outstanding the utility model has the advantages that the present invention provides weight measurements,
Device, equipment and computer readable storage medium, relative to directly reading for absolute weight, the present invention is examined according to detection cycle
Measured weight signal intensity, convenient for carrying out primary filtration to slowly varying drift by the length of setting detection cycle;By sentencing
The weight change value of disconnected weighing sensor and the size of preset weight threshold are tested articles judge to cause weight change
Loading or unloading movement or system influenced by extraneous factor and generate weight drift.When judgement weight change value is greater than
When weight threshold, then it is assumed that the weight change is as caused by the loading or unloading movement of tested article, to be become according to weight
The weight measurement of change value, weight change direction and last time calculates this weight measurement.When judgement weight change value
When less than or equal to the weight threshold, then it is assumed that the weight change be drifted about as weight caused by, therefore keep last weight
Measured value, to realize the further filtering drifted about to weight.Using technical solution provided by the invention, it can be achieved that by environment because
It drifts about and is filtered caused by the factors weighing result such as element, Fatigue Deformation, effectively improve the accuracy of weight measurement;In addition,
Due to not needing additional temperature sensor, the present invention can realize the filtering to weight drift under conditions of not changing hardware,
To save the cost and upgrade cost of hardware.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of the Weight-measuring device in an embodiment of the present invention;
Fig. 2 is the flow diagram of the weight measurements in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the weight measuring equipment in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention
The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.
Referring to Fig. 1, it is the structural schematic diagram of the Weight-measuring device in an embodiment of the present invention.The present embodiment mentions
The Weight-measuring device 1 of confession comprising detection module 10, weight change determining module 20, threshold value judgment module 30, first determine
Module 40 and the second determination module 50.
Detection module 10 is used to detect the weight signal of weighing sensor output according to preset detection cycle.Weight change
Determining module 20 is used to determine weight change value and again in response to detecting that the weight signal of weighing sensor output changes
Measure change direction.Threshold value judgment module 30 is for judging whether weight change value is greater than preset weight threshold;First determines mould
Block 40 is used for when determining that weight change value is greater than weight threshold, according to weight change value, weight change direction and last time
Weight measurement calculates this weight measurement;Second determination module 50 is used to be less than or equal to when judgement weight change value
When weight threshold, last weight measurement is determined as to this weight measurement.
In the present embodiment, weighing sensor is strain gauge load cell, and the strain gauge load cell is by answering
Become piece sense weight, when there is weight to be pressed in thereon, it may appear that certain bending, and then cause the change of voltage to measure weight
Amount.In other embodiments, also can be used photo-electric, fluid pressure type, electromagnetic type, condenser type, magnetic pole deformation type, oscillatory type,
The other kinds of weighing sensor such as gyro ceremony, resistance-strain type.
It should be noted that weight change direction includes that weight increases additive weight reduction.Weight change value, it is also referred to as poor
It is worth weight, relative weight is poor.For absolute weight, the drift of weight change value is smaller.Detection cycle is empirical value, inspection
The survey period is longer, then the error of measurement result is bigger;Detection cycle is shorter, then better to the filter effect of noise, and to processing
The requirement of device is also higher.
Further, the range of detection cycle is 0.1~1 second.Preferably, detection cycle is 0.2 second.Inventor passes through a large amount of
Experimental observation arrive, compared with the slow drift of weight, the 0.2 second weight that measures of front and back can consider it is constant, therefore, in reality
In, according to article detected by the detection cycle of 0.1~1 second detection cycle, especially 0.2 second unloading with load
The error very little of weight change value is conducive to the accuracy for improving weight measurement.
For the detection cycle for realizing 0.2 second, the sample rate of the present embodiment is 40Hz, and storage depth is 8 sampled points, is passed through
8 sampled points of acquisition carry out average filter every time, can be further reduced data noise.It should be noted that above-mentioned sample rate with
Storage depth is merely illustrative, and which is not limited by the present invention.
Preset weight threshold is empirical value.Further, weight threshold be weighing sensor maximum range 0.1%~
1%.Preferably, weight threshold is the 1% of the maximum range of weighing sensor.If the maximum range of weighing sensor is 5 kilograms,
Then weight threshold is 5~50 grams.Assuming that weight threshold is 20 grams, if weight change value is 30 grams, and weight change direction is attached most importance to
It measures and increases, Gravity changer value is greater than weight threshold at this time, then this gravimetric measurements are equal to weight change value and last time
The sum of weight measurement.
Illustratively, it is assumed that the last time is measured as the unloading situation of last part article, and last weight measurement is 0
Gram, then this weight measurement is (30+0) gram.Assuming that the last loading condition for being measured as article, if last weight
Measured value is 100 grams, then this weight measurement is (30+100) gram.
I.e. relative to directly reading for absolute weight, the present invention is convenient for according to detection cycle sense weight signal intensity
Length by the way that detection cycle is arranged carries out primary filtration to slowly varying drift;By judging that the weight of weighing sensor becomes
The size of change value and preset weight threshold, to judge that cause weight change is the loading or unloading movement of tested article, also
It is that the weight that system is influenced by extraneous factor and generated is drifted about.When determining that weight change value is greater than weight threshold, then it is assumed that should
Weight change be as tested article loading or unloading movement caused by, thus according to weight change value, weight change direction and
Last weight measurement calculates this weight measurement.When judgement weight change value is less than or equal to the weight threshold
When, then it is assumed that the weight change be drifted about as weight caused by, therefore last weight measurement is kept, to realize to weight
The further filtering of drift.
The present embodiment will drift about caused by the factors weighing result such as environmental factor, Fatigue Deformation and be filtered, and effectively mention
The accuracy of high weight measurement;In addition, due to not needing additional temperature sensor, the present embodiment can be in the item for not changing hardware
The filtering drifted about to weight is realized under part, to save the cost and upgrade cost of hardware.
Since the weight change value measured every time has certain error (being less than ± 5g), article is put down when constantly picking up
When, the accumulation of error still can make weight measurement relatively large deviation occur, and the weight change value for especially loading and unloading is different
The case where cause, can even more make system just have tens grams of drift after article is picked up and put down tens times.In this regard, the present embodiment into
One step defines that threshold value judgment module 30 includes difference comparsion unit 301, updating unit 302 and judging unit 303.
Difference comparsion unit 301 is used for the corresponding weight that pre-stored preceding n times weight signal changes
With the smallest weight change value of absolute value of the difference of this weight change value in changing value, it is determined as immediate heavy
Measure changing value.Updating unit 302 is used to this weight change value being updated to the immediate weight change value.Sentence
Disconnected unit 303 is for judging whether the updated weight change value is greater than preset weight threshold.
Then the first determination module 40 includes computing unit 401, is used for when the judgement updated weight change value is big
When the weight threshold, surveyed according to the weight of the updated weight change value, the weight change direction and last time
Magnitude calculates this weight measurement;
Second determination module 50 includes determination unit 501, is used to be less than when the judgement updated weight change value
Or when being equal to the weight threshold, last weight measurement is determined as to this weight measurement.
N is the natural number greater than 1.In the present embodiment, N is equal to 10.This weight change value is 30 grams, first 10 times
Weight change value is respectively as follows: 24 grams, 33 grams, 34 grams, 39 grams, 31 grams, 26 grams, 28 grams, 40 grams, 42 grams, 18 grams, wherein with 30
Gram the smallest weight change value of absolute value of difference be 31 grams, then be determined as immediate weight change value for 31 grams, incite somebody to action this
Secondary weight change value is updated to 31 grams.In other embodiments, it can be set according to actual conditions such as the type of article and quantity
Set N.
It is worth immediate weight change value with this weight change by taking out in the weight change value of preceding n times, comes
This weight change value is updated, preferentially using lesser weight change value of drifting about, is conducive to eliminate what article was loaded and unloaded
Weight change, which is worth inconsistent bring, to be influenced.
Further, the Weight detecting device further includes power down preserving module 60, is used in response to detecting that power down is examined
The power-off signal of slowdown monitoring circuit output, the weight measurement that the last time calculates is saved.
I.e. by the power-off signal of detection power-fail detection circuit, to the weight measurement that the last time calculates before realization power down
It is saved, is conducive to the weighing work of bulk articles, especially for checking for warehouse article, if weighing after power-down rebooting
Article in equipment does not change, then can continue to be weighed using the weight measurement before power down, by effectively save manpower,
It improves efficiency.
Further, the Weight detecting device further includes absolute weight determining module 70 and update determining module 80.
Absolute weight determining module 70 is used for the weight signal of the detection weighing sensor output after power down starting, determines exhausted
To weight.Determining module 80 is updated to be used for according to surveyed absolute weight and the weight measurement saved in response to the power-off signal
Difference Q, it is determined whether the weight measurement saved is updated to absolute weight.
Wherein, absolute weight is the absolute total weight detected by weighing sensor.According to being protected after power down starting
The difference of the weight measurement and actual measurement absolute weight deposited determines whether the saved weight measurement of update, can be to a certain degree
On avoid after power down article from changing bring influencing.
Further, updating determining module 80 includes dif ference judgment unit 801, holding unit 802, updating unit 803.Difference
Judging unit 801 is for judging whether difference Q is less than preset difference threshold.Holding unit 802 is used to be less than as judgement difference Q
When preset difference threshold, the saved weight measurement is kept.Updating unit 803 be used for when determine difference Q be greater than or
When equal to difference threshold, the weight measurement saved is updated to absolute weight.
Difference Q is greater than or equal to difference threshold, then it is assumed that article changes, to be protected by absolute weight to update
The weight measurement deposited;Difference Q is less than difference threshold, then it is assumed that there is no changing, which is drawn article by weight drift
It rises, to filter weight drift by keeping saved weight measurement, further increases the accuracy of weight measurement.
Referring to Fig. 2, it is the flow diagram of the weight measurements in an embodiment of the present invention.The weight measurement
Method is executed by Weight-measuring device 1 comprising:
Step S100, the weight signal of weighing sensor output is detected according to preset detection cycle;
Step S110, in response to detecting that the weight signal of the weighing sensor output changes, determine that weight becomes
Change value and weight change direction;
Step S120, judge whether the weight change value is greater than preset weight threshold;
Step S130, when determining that the weight change value is greater than the weight threshold, according to the weight change value, institute
The weight measurement for stating weight change direction and last time, calculates this weight measurement;
Step S140, when determining that the weight change value is less than or equal to the weight threshold, by last weight
Measured value is determined as this weight measurement.
The present embodiment will drift about caused by the factors weighing result such as environmental factor, Fatigue Deformation and be filtered, and effectively mention
The accuracy of high weight measurement;In addition, due to not needing additional temperature sensor, the present embodiment can be in the item for not changing hardware
The filtering drifted about to weight is realized under part, to save the cost and upgrade cost of hardware.
Further, step S120 includes:
Step S1201, in the corresponding weight change value that pre-stored preceding n times weight signal changes with
The smallest weight change value of absolute value of the difference of this weight change value, is determined as immediate weight change value;
Step S1202, this weight change value is updated to the immediate weight change value;
Step S1203, judge whether the updated weight change value is greater than preset weight threshold;
Then step S130 includes:
Step S1301, when determining that the updated weight change value is greater than the weight threshold, according to the update
Weight change value, the weight change direction and the weight measurement of last time afterwards, calculate this weight measurement;
Step S140 includes:
Step S1401, when determining that the updated weight change value is less than or equal to the weight threshold, by upper one
Secondary weight measurement is determined as this weight measurement.
Optionally, the gravimetric analysis sensing method further include:
Step S150, the power-off signal exported in response to detecting power-fail detection circuit, the weight that the last time is calculated
Measured value is saved.
Further, the gravimetric analysis sensing method further include:
Step S160, the weight signal of the weighing sensor output is detected, after power down starting to determine that actual measurement is absolute
Weight;
Step S170, according to the weight measurement surveying actual measurement absolute weight and being saved in response to the power-off signal
Difference, it is determined whether the weight measurement saved is updated to the actual measurement absolute weight.
Further, the range of detection cycle is 0.1~1 second.Preferably, detection cycle is 0.2 second.Inventor passes through a large amount of
Experimental observation arrive, compared with the slow drift of weight, the 0.2 second weight that measures of front and back can consider it is constant, therefore, in reality
In, according to article detected by the detection cycle of 0.1~1 second detection cycle, especially 0.2 second unloading with load
The error very little of weight change value is conducive to the accuracy for improving weight measurement.
For the detection cycle for realizing 0.2 second, the sample rate of the present embodiment is 40Hz, and storage depth is 8 sampled points, is passed through
8 sampled points of acquisition carry out average filter every time, can be further reduced data noise.It should be noted that above-mentioned sample rate with
Storage depth is merely illustrative, and which is not limited by the present invention.
Preset weight threshold is empirical value.Further, weight threshold be weighing sensor maximum range 0.1%~
1%.Preferably, weight threshold is the 1% of the maximum range of weighing sensor.If the maximum range of weighing sensor is 5 kilograms,
Then weight threshold is 5~50 grams.Assuming that weight threshold is 20 grams, if weight change value is 30 grams, and weight change direction is attached most importance to
It measures and increases, Gravity changer value is greater than weight threshold at this time, then this gravimetric measurements are equal to weight change value and last time
The sum of weight measurement.
Present invention correspondence provides a kind of preferred embodiment of weight measuring equipment, referring to Fig. 3, it is that the present invention one is real
Apply the structural schematic diagram of the weight measuring equipment in mode.The weight measuring equipment includes processor 301, weighing sensor
302, memory 303 and storage in the memory and is configured as the computer program 304 executed by the processor,
The processor 301 realizes the weight measurements as described in above-mentioned any embodiment when executing the computer program 304.Or
Person, the processor 301 realize the function of each module in each embodiment of above system, example when executing the computer program 304
Such as detection module 10, weight change determining module 20, threshold value judgment module 30, the first determination module 40 and the second determination module
50。
Illustratively, the computer program can be divided into one or more modules, one or more of moulds
Block is stored in the memory, and is executed by the processor, to complete the present invention.One or more of modules can be with
It is the series of computation machine program instruction section that can complete specific function, the instruction segment is for describing the computer program in institute
State the implementation procedure in weight measuring equipment.For example, the computer program can be divided into detection module 10, it to be used for basis
The weight signal of preset detection cycle detection weighing sensor output.Weight change determining module 20, in response to detection
The weight signal exported to weighing sensor changes, and determines weight change value and weight change direction.Threshold value judgment module
30, for judging whether weight change value is greater than preset weight threshold;First determination module 40, for when judgement weight change
When value is greater than weight threshold, according to the weight measurement of weight change value, weight change direction and last time, this is calculated
Weight measurement;Second determination module 50 is used for when determining that weight change value is less than or equal to weight threshold, by the last time
Weight measurement is determined as this weight measurement.
The weight measuring equipment can be the equipment for weight measurement such as electronic scale, digital weighing sensor.Ability
Field technique personnel are appreciated that the schematic diagram is only the example of weight measuring equipment, do not constitute to weight measuring equipment
Restriction, may include perhaps combine certain components or different components than illustrating more or fewer components, for example,
In some embodiments, the weight measuring equipment can also be set including power-down protection circuit, input-output equipment, network insertion
Standby, bus etc..
Alleged processor can be central processing unit (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng the processor is the control centre of the weight measuring equipment, utilizes various interfaces and the entire weight measurement of connection
The various pieces of equipment.
The memory can be used for storing the computer program and/or module, and the processor is by operation or executes
Computer program in the memory and/or module are stored, and calls the data being stored in memory, described in realization
The various functions of weight measuring equipment., memory may include high-speed random access memory, can also include non-volatile deposit
Reservoir, such as hard disk, memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital
(Secure Digital, SD) card, flash card (Flash Card), at least one disk memory, flush memory device or other
Volatile solid-state part.
Wherein, if the module that the weight measuring equipment integrates is realized in the form of SFU software functional unit and as independence
Product when selling or using, can store in a computer readable storage medium.Based on this understanding, of the invention
It realizes all or part of the process in above-described embodiment method, can also instruct relevant hardware come complete by computer program
At the computer program can be stored in a computer readable storage medium, when which runs described in control
Equipment realizes the weight measurements as described in above-mentioned any embodiment where computer readable storage medium.Wherein, the meter
Calculation machine program includes computer program code, the computer program code can for source code form, object identification code form, can
Execute file or certain intermediate forms etc..The computer-readable medium may include: that can carry the computer program generation
Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory of code
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, electricity
Believe signal and software distribution medium etc..It should be noted that the content that the computer-readable medium includes can be according to department
Make laws in method administrative area and the requirement of patent practice carry out increase and decrease appropriate, such as in certain jurisdictions, according to legislation and
Patent practice, computer-readable medium do not include electric carrier signal and telecommunication signal.
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention
Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (10)
1. a kind of weight measurements characterized by comprising
The weight signal of weighing sensor output is detected according to preset detection cycle;
In response to detecting that the weight signal of the weighing sensor output changes, weight change value and weight change are determined
Direction;
Judge whether the weight change value is greater than preset weight threshold;
When determining that the weight change value is greater than the weight threshold, according to the weight change value, the weight change side
To and last weight measurement, calculate this weight measurement;
When determining that the weight change value is less than or equal to the weight threshold, last weight measurement is determined as this
Secondary weight measurement.
2. weight measurements according to claim 1, which is characterized in that described to judge whether the weight change value is big
In preset weight threshold, comprising:
The weight in the corresponding weight change value that pre-stored preceding n times weight signal is changed with this
The smallest weight change value of the absolute value of the difference of changing value, is determined as immediate weight change value;
This weight change value is updated to the immediate weight change value;
Judge whether the updated weight change value is greater than preset weight threshold;
It is then described when determining that the weight change value is greater than the weight threshold, according to the weight change value, the weight
Change direction and the weight measurement of last time, calculate this weight measurement, comprising:
When determining that the updated weight change value is greater than the weight threshold, according to the updated weight change
The weight measurement of value, the weight change direction and last time, calculates this weight measurement;
It is described when determining that the weight change value is less than or equal to the weight threshold, last weight measurement is determined
For this weight measurement, comprising:
When determining that the updated weight change value is less than or equal to the weight threshold, by last weight measurement
It is determined as this weight measurement.
3. weight measurements according to claim 1, which is characterized in that further include:
In response to detecting the power-off signal of power-fail detection circuit output, the weight measurement that the last time calculates is protected
It deposits.
4. weight measurements according to claim 3, which is characterized in that further include:
The weight signal that the weighing sensor output is detected after power down starting, determines absolute weight;
According to the difference of surveyed absolute weight and the weight measurement saved in response to the power-off signal, it is determined whether by institute
The weight measurement of preservation is updated to the absolute weight.
5. weight measurements according to claim 1, which is characterized in that the range of the detection cycle is 0.1~1
Second.
6. weight measurements according to claim 1 or 2, which is characterized in that the weight threshold is weighing biography
The 0.1%~1% of the maximum range of sensor.
7. a kind of Weight-measuring device characterized by comprising
Detection module, for detecting the weight signal of weighing sensor output according to preset detection cycle;
Weight change determining module, for changing in response to the weight signal for detecting that the weighing sensor exports, really
Determine weight change value and weight change direction;
Threshold value judgment module, for judging whether the weight change value is greater than preset weight threshold;
First determination module is used for when determining that the weight change value is greater than the weight threshold, according to the weight change
The weight measurement of value, the weight change direction and last time, calculates this weight measurement;
Second determination module is used for when determining that the weight change value is less than or equal to the weight threshold, by the last time
Weight measurement is determined as this weight measurement.
8. Weight-measuring device according to claim 7, which is characterized in that the threshold value judgment module includes:
Difference comparsion unit, for the corresponding weight change value that pre-stored preceding n times weight signal changes
In the smallest weight change value of absolute value with the difference of this weight change value, be determined as immediate weight change
Value;
Updating unit, for this weight change value to be updated to the immediate weight change value;
Judging unit, for judging whether the updated weight change value is greater than preset weight threshold;
Then first determination module includes:
Computing unit is used for when determining that the updated weight change value is greater than the weight threshold, according to the update
Weight change value, the weight change direction and the weight measurement of last time afterwards, calculate this weight measurement;
Second determination module includes:
Determination unit is used for when determining that the updated weight change value is less than or equal to the weight threshold, by upper one
Secondary weight measurement is determined as this weight measurement.
9. a kind of weight measuring equipment characterized by comprising weighing sensor, processor, memory and be stored in described
In memory and it is configured as the computer program executed by the processor, when the processor executes the computer program
Realize weight measurements as claimed in any one of claims 1 to 6.
10. a kind of computer readable storage medium, which is characterized in that the computer program including storage, the computer program
Computer readable storage medium institute's Coupling device is controlled when operation realizes that weight as described in any one in claim 1-5 is surveyed
Amount method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811567324.8A CN109556687B (en) | 2018-12-20 | 2018-12-20 | Weight measurement method, apparatus, device, and computer-readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811567324.8A CN109556687B (en) | 2018-12-20 | 2018-12-20 | Weight measurement method, apparatus, device, and computer-readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109556687A true CN109556687A (en) | 2019-04-02 |
| CN109556687B CN109556687B (en) | 2021-07-23 |
Family
ID=65870754
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811567324.8A Active CN109556687B (en) | 2018-12-20 | 2018-12-20 | Weight measurement method, apparatus, device, and computer-readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109556687B (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110031077A (en) * | 2019-05-14 | 2019-07-19 | 深圳市绿春翔农业科技有限公司 | It is a kind of intelligently to cross title method and its system |
| CN110440893A (en) * | 2019-08-07 | 2019-11-12 | 中山乐心电子有限公司 | Weight calibration method, device and weighing equipment |
| CN111109947A (en) * | 2019-11-28 | 2020-05-08 | 上海追月科技有限公司 | Goods shelf, goods identification method and electronic equipment |
| CN111780846A (en) * | 2020-07-06 | 2020-10-16 | Oppo(重庆)智能科技有限公司 | Object weighing method, mobile terminal and computer readable storage medium |
| CN113093632A (en) * | 2021-05-06 | 2021-07-09 | 无锡灵鸽机械科技股份有限公司 | Novel weightless balance control system |
| CN113654722A (en) * | 2021-09-15 | 2021-11-16 | 深圳诺博医疗科技有限公司 | Batch calibration method and system of pressure sensors and weighing cabinet |
| CN113701859A (en) * | 2021-08-26 | 2021-11-26 | 深圳诺博医疗科技有限公司 | Weighing counting method, device, system, computer equipment and readable storage medium |
| CN114608693A (en) * | 2022-03-09 | 2022-06-10 | 上海华兴数字科技有限公司 | Weighing platform calibration method and device and aerial work platform |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105527009A (en) * | 2014-09-29 | 2016-04-27 | 徐工集团工程机械股份有限公司 | Weighing system and weighing method having self-calibration function |
| CN107560706A (en) * | 2017-07-13 | 2018-01-09 | 铜陵凯特尔科技有限责任公司 | A kind of intelligent weighing method based on environmental factor calibration |
| CN108225516A (en) * | 2017-12-29 | 2018-06-29 | 北京三快在线科技有限公司 | Article weighing method, device and electronic equipment |
| CN108489589A (en) * | 2018-03-15 | 2018-09-04 | 天津光电丰泰科技有限公司 | A kind of drift correction method based on weighing sensor |
| CN108801407A (en) * | 2018-08-02 | 2018-11-13 | 梅特勒-托利多(常州)测量技术有限公司 | Weighing device, weighing method, weighing sensor and storage medium |
-
2018
- 2018-12-20 CN CN201811567324.8A patent/CN109556687B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105527009A (en) * | 2014-09-29 | 2016-04-27 | 徐工集团工程机械股份有限公司 | Weighing system and weighing method having self-calibration function |
| CN107560706A (en) * | 2017-07-13 | 2018-01-09 | 铜陵凯特尔科技有限责任公司 | A kind of intelligent weighing method based on environmental factor calibration |
| CN108225516A (en) * | 2017-12-29 | 2018-06-29 | 北京三快在线科技有限公司 | Article weighing method, device and electronic equipment |
| CN108489589A (en) * | 2018-03-15 | 2018-09-04 | 天津光电丰泰科技有限公司 | A kind of drift correction method based on weighing sensor |
| CN108801407A (en) * | 2018-08-02 | 2018-11-13 | 梅特勒-托利多(常州)测量技术有限公司 | Weighing device, weighing method, weighing sensor and storage medium |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110031077A (en) * | 2019-05-14 | 2019-07-19 | 深圳市绿春翔农业科技有限公司 | It is a kind of intelligently to cross title method and its system |
| CN110440893A (en) * | 2019-08-07 | 2019-11-12 | 中山乐心电子有限公司 | Weight calibration method, device and weighing equipment |
| CN111109947A (en) * | 2019-11-28 | 2020-05-08 | 上海追月科技有限公司 | Goods shelf, goods identification method and electronic equipment |
| CN111780846A (en) * | 2020-07-06 | 2020-10-16 | Oppo(重庆)智能科技有限公司 | Object weighing method, mobile terminal and computer readable storage medium |
| CN113093632A (en) * | 2021-05-06 | 2021-07-09 | 无锡灵鸽机械科技股份有限公司 | Novel weightless balance control system |
| CN113701859A (en) * | 2021-08-26 | 2021-11-26 | 深圳诺博医疗科技有限公司 | Weighing counting method, device, system, computer equipment and readable storage medium |
| CN113701859B (en) * | 2021-08-26 | 2023-12-12 | 深圳诺博医疗科技有限公司 | Weighing counting method, device, system, computer equipment and readable storage medium |
| CN113654722A (en) * | 2021-09-15 | 2021-11-16 | 深圳诺博医疗科技有限公司 | Batch calibration method and system of pressure sensors and weighing cabinet |
| CN114608693A (en) * | 2022-03-09 | 2022-06-10 | 上海华兴数字科技有限公司 | Weighing platform calibration method and device and aerial work platform |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109556687B (en) | 2021-07-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109556687A (en) | Weight measurements, device, equipment and computer readable storage medium | |
| CN204044878U (en) | Contactless cargo data acquisition system | |
| CN106441537A (en) | Weighing method for weighing shelves and shelf using method | |
| CN102265123A (en) | Weight measuring device | |
| US12281953B2 (en) | Systems and methods for sensing impacts applied to an article during production | |
| CN103292888A (en) | Calibration protecting mechanism of electronic scale | |
| CN105928600A (en) | Weight measurement method and device | |
| CN110902313A (en) | Belt pulley contour detection method, device, equipment and storage medium, and conveyor belt flow detection method, device and equipment | |
| CN114229385A (en) | Method and device for outputting rotating speed of coal feeder of thermal power plant based on double rotating speed sensors | |
| CN104215309A (en) | Intelligent tobacco box weigher | |
| US20100282520A1 (en) | System and Methods for Monitoring Multiple Storage Units | |
| CN110440888A (en) | Automatic judgment method and device for stable state of truck scale | |
| CN114199359A (en) | Offset load error adjusting method and device | |
| CN119688038A (en) | Oil level data verification method and device, electronic equipment and storage medium | |
| CN107885113A (en) | A kind of logistics tray detection method based on sensor technology | |
| CN109738047A (en) | A kind of counting weighing calibration equipment and method | |
| CN111551483A (en) | Apparatus for monitoring metal corrosion and method for monitoring metal corrosion | |
| CN2599543Y (en) | Movable electronic scale | |
| CN104880242A (en) | Calibration device and method of double-loader electronic belt scale | |
| CN204346951U (en) | For the measuring equipment of the parameter detection device and material ash content that calculate material ash content | |
| CN108791722A (en) | A kind of measurement method and device of marine hydraulic hold useful load | |
| CN103196528A (en) | Electronic hoist scale period compensation type weighing method | |
| KR102695708B1 (en) | Method for guiding export packaging | |
| CN112082633A (en) | Weight measuring method for stabilizing weight value under human body shaking condition | |
| CN109238428A (en) | A kind of weighing method based on intelligent terminal, storage medium and intelligent terminal |
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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CP03 | Change of name, title or address |
Address after: 310000 Zhejiang Province Hangzhou City Yuhang District Cangqian Street Cangxing Road 669.NO Building 11 Room 1401 Patentee after: Hangzhou Weizhuo Future Technology Co.,Ltd. Country or region after: China Address before: 311100 Zhejiang Province Hangzhou City Yuhang District Cangqian Street Jingxing Road 999 Building 2 Room 102-75 Patentee before: Curtain Craftsmanship Technology (Hangzhou) Co.,Ltd. Country or region before: China |
|
| CP03 | Change of name, title or address |