CN109282888A - A kind of temperature drift antidote based on ARM of gravity sensor - Google Patents
A kind of temperature drift antidote based on ARM of gravity sensor Download PDFInfo
- Publication number
- CN109282888A CN109282888A CN201811401756.1A CN201811401756A CN109282888A CN 109282888 A CN109282888 A CN 109282888A CN 201811401756 A CN201811401756 A CN 201811401756A CN 109282888 A CN109282888 A CN 109282888A
- Authority
- CN
- China
- Prior art keywords
- weight
- temperature
- samp
- init
- tc1s
- 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
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
- G01G23/48—Temperature-compensating arrangements
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/21—Pc I-O input output
- G05B2219/21137—Analog to digital conversion, ADC, DAC
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)
Abstract
The present invention provides a kind of temperature drift antidote based on ARM of gravity sensor, and process is as follows: 1, in the case where not putting weight, recording the sampled value and the weight bearing of no-load at this time in the case of room temperature no-load.2, the weight for putting known weight records sampled value at this time.3, by above two groups of parameters, the weight calculation formula of weight in available range.4, temperature change threshold S.5, so that the operating temperature of gravity sensor is increased or reduce S, repeat step 1-3, obtain the numerical value of weight at this time.6, continue temperature according to step 5 and increase or reduce operation, until the limit of working temperature of equipment requirement, obtains the calculation formula of each temperature range weight as unit of the section S.7, the continuous sample temperature of ARM searches temperature range locating for sample temperature, replaces weight calculation formula in time.Temperature drift correction is carried out using this method, has the characteristics that accuracy is high, at low cost.
Description
Technical field
The present invention relates to the temperature drifts based on ARM of gravity sensor detection field more particularly to a kind of gravity sensor
Move antidote.
Background technique
Gravity sensor has many applications, such as scale, kitchen scale etc. on the market at present.Medical dose counter
Equipment is exactly a kind of equipment counted using gravity sensor.Some dose counter equipment due to medicament gravity itself compared with
It is small, it is very high to the required precision of gravity sensor.
Currently, almost all of gravity sensor all has that temperature drift, temperature drift are divided into zero temperature drift
It moves and rated output temperature drift.Wherein zero temperature drift, in most of electronic scales in use, since variation of ambient temperature is slow
Short feature, does not take into account that with the available machine time.But these counting equipments, it needs to run always, and sensor is welded on plate
On son, the temperature that equipment operation generates will lead to temperature locating for sensor and rise much faster.Rated output temperature drift is
Since the elasticity modulus of elastomeric material varies with temperature and change, the output sensitivity so as to cause sensor becomes with temperature
Change.Due to the These characteristics of medical dose counter equipment, rated output temperature drift can also have a direct impact measurement result.
The electronics available machine time currently on the market is short, and above two temperature drift is to gravity measurement result, almost without shadow
It rings.Therefore also fewer about the antidote of temperature drift, and it is most of compensated in structure or in technique or
Correction.The cost is relatively high.Therefore, the temperature drift antidote based on ARM for researching and developing a kind of gravity sensor is urgently
It solves the problems, such as.
Summary of the invention
The invention solves the above technical problems, provide a kind of temperature drift correction side based on ARM of gravity sensor
Method carries out temperature drift correction using this method, has accuracy height, feature at low cost.
In order to solve the above technical problems, the technical solution adopted by the present invention is that:
A kind of temperature drift antidote based on ARM of gravity sensor, process are as follows:
The first step is powered on and initialized gravity sensor and completes in the case where not putting weight, records room temperature no-load feelings
Sampled value weight_samp_init under condition, and the weight bearing weight_real_init (i.e. 0) of no-load at this time.
Second step puts the weight weight_real_stand of known weight, records sampled value weight_ at this time
samp_stand。
Third step, by above two groups of parameters, the weight calculation formula of weight in available range: weight=r*
(weight_samp-weight_samp_init) wherein r=(weight_real_stand-weight_real_init)/
(weight_samp_stand-weight_samp_init)。
Wherein weight_samp is the sampled value that any weight is put on sensor.
Wherein the sampled value weight_samp_init in the case of r and no-load is the function of temperature.
4th step, temperature change threshold S.The range of S determines by the bound of the normal operating temperature of sensor, just
Normal operating temperature, which generally has in product manual, to be referred to.
5th step makes the operating temperature of gravity sensor increase or reduce S, repeats step 1-3, obtain at this time
Weight=r_tc1s* (weight_samp-weight_samp_init_tc1s).Wherein r_tc=(weight_real_
stand_tc1s-weight_real_init_tc1s)/(weight_samp_stand-weight_samp_init_tcls)。
Wherein weight_samp is the sampled value that any weight is put on sensor;Wherein _ tc1s indicates the phase after 1 S of temperature change
Dependent variable.
6th step makes the operating temperature of gravity sensor increase or reduce 2S, repeats step 1-3, obtain at this time
Weight calculation formula.Continue temperature according to this and increase or reduce operation, until the limit of working temperature of equipment requirement.Extremely
This obtains the calculation formula of each temperature range weight as unit of the section S.
7th step, when equipment works normally, the continuous sample temperature of ARM searches temperature range locating for sample temperature (i.e.
Above-mentioned five, the six pacing measure using S as the section of span), and in time replace weight calculation formula.It should be noted that by
It is very high in ARM measurement temperature frequency, it there may come a time when to cause the temperature jitter of sampling larger due to fortuitous event, jitter range is super
S is crossed.Therefore in normal work, need temperature debounce process, i.e., continuous certain time temperature sampling be all it is identical or
When close, just think that temperature is changed.
Further, step 3 carries out at normal temperature.
Further, weight calculation formula is weight=r_tc1s* (weight_samp-weight_ in step 6
samp_init_tc1s).Wherein r_tc=(weight_real_stand_tc1s-weight_real_init_tc1s)/
(weight_samp_stand-weight_samp_init_tc1s).Wherein _ tc1s indicates the mutually strain after 2 S of temperature change
Amount.Wherein weight_samp is the sampled value that any weight is put on sensor.
Further, the ARM is itself to be integrated with the processor of temperature sensor and AD device, such as STM32 system
Column.
The advantages and positive effects of the present invention are: carrying out temperature drift correction using this method, solves counting and set
The problem of standby temperature drift, the accuracy of measurement on the one hand can be improved, on the other hand can reduce the difficulty of hardware design;Tool
Have the characteristics that accuracy is high, at low cost.
Detailed description of the invention
Fig. 1 is determining weight calculation formula flow chart;
Fig. 2 is weight sensor work flow diagram.
Specific embodiment
Specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Many ARM itself are integrated with temperature sensor and AD device, such as STM32 series at present.Therefore we can be with
Using ARM own temperature sensor measures temperature, cost can be not only saved, temperature measurement accuracy also can satisfy demand.
The gravity sensor of each producer can all have zero temperature drift and rated output temperature drift parameter, Wo Mengen
According to these parameters, carrys out real-time measurement temperature and carry out temperature drift correction.
As shown in Figure 1, 2, a kind of temperature drift antidote based on ARM of gravity sensor, process are as follows:
The first step is powered on and initialized gravity sensor and completes in the case where not putting weight, records room temperature no-load feelings
Sampled value weight_samp_init under condition, and the weight bearing weight_real_init (i.e. 0) of no-load at this time.
Second step puts the weight weight_real_stand of known weight, records sampled value weight_ at this time
samp_stand。
Third step, by above two groups of parameters, the weight calculation formula of weight in available range: weight=r*
(weight_samp-weight_samp_init) wherein r=(weight_real_stand-weight_real_init)/
(weight_samp_stand-weight_samp_init)。
Note that above-mentioned formula obtains at normal temperature, the wherein sampled value weight_samp_ in the case of r and no-load
Init is the function of temperature.Wherein weight_samp is the sampled value that any weight is put on sensor.
4th step, temperature change threshold S, if project demand precision is ± 2.0%F.S., be for temperature drift ±
For the device of 2.0%F.S./10 DEG C, S is then 10 DEG C.
5th step makes the operating temperature of gravity sensor increase or reduce S, repeats step 1-3, obtain at this time
Weight=r_tc1s* (weight_samp-weight_samp_init_tc1s).Wherein r_tc=(weight_real_
stand_tc1s-weight_real_init_tc1s)/(weight_samp_stand-weight_samp_init_tcls)。
Wherein _ tc1s indicates the relevant variable after 1 S of temperature change.Wherein weight_samp is that any weight is put on sensor
Sampled value.
6th step makes the operating temperature of gravity sensor increase or reduce 2S, repeats step 1-3, obtain at this time
Weight calculation formula.
Weight calculation formula are as follows:
Weight=r_tc1s* (weight_samp-weight_samp_init_tc1s).Wherein
R_tc=(weight_real_stand_tc1s-weight_real_init_tc1s)/(weight_samp_
stand-weight_samp_init_tc1s).Wherein _ tc1s indicates the relevant variable after 2 S of temperature change.Wherein
Weight_samp is the sampled value that any weight is put on sensor.
Continue temperature according to this and increase or reduce operation, until the limit of working temperature of equipment requirement.So far it obtains
The calculation formula of each temperature range weight as unit of the section S.
7th step, when equipment works normally, the continuous sample temperature of ARM searches temperature range locating for sample temperature (i.e.
Above-mentioned five, the six pacing measure using S as the section of span), and in time replace weight calculation formula.It should be noted that by
It is very high in ARM measurement temperature frequency, it there may come a time when to cause the temperature jitter of sampling larger due to fortuitous event, jitter range is super
S is crossed.Therefore in normal work, need temperature debounce process, i.e., continuous certain time temperature sampling be all it is identical or
When close, just think that temperature is changed.
The ARM is itself to be integrated with the processor of temperature sensor and AD device, such as STM32 series
The temperature drift antidote that this programme proposes, can effectively correct the drifting problem of gravity sensor, while can
Correctly to calculate the quantity of identical weight on counting equipment.
The problem of present method solves counting equipment temperature drifts, on the one hand can be improved the accuracy of measurement, another party
Face can reduce the difficulty of hardware design.Application aspect is not limited solely to counting equipment, is related to working long hours and condition
Meet the equipment of condition described in this programme, this method the method can be used to carry out temperature correction.
The embodiments of the present invention have been described in detail above, but content is only the preferred embodiment of the present invention,
It should not be considered as limiting the scope of the invention.All changes and improvements made in accordance with the scope of the present invention, should all
It still belongs within this patent covering scope.
Claims (5)
1. a kind of temperature drift antidote based on ARM of gravity sensor, which is characterized in that its process is as follows:
The first step is powered on and initialized gravity sensor and completes in the case where not putting weight, in the case of record room temperature no-load
Sampled value weight_samp_init, and the weight bearing weight_real_init of no-load at this time;
Second step puts the weight weight_real_stand of known weight, records sampled value weight_samp_ at this time
stand;
Third step, by above two groups of parameters, the weight calculation formula of weight in available range: weight=r*
(weight_samp-weight_samp_init) wherein r=(weight_real_stand-weight_real_init)/
(weight_samp_stand-weight_samp_init);
Wherein weight_samp is the sampled value that any weight is put on sensor;
Wherein the sampled value weight_samp_init in the case of r and no-load is the function of temperature;
4th step, temperature change threshold S;
5th step makes the operating temperature of gravity sensor increase or reduce S, repeats step 1-3, obtain weight=at this time
r_tcls*(weight_samp-weight_samp_init_tc1s);Wherein r_tc=(weight_real_stand_tc1s-
weight_real_init_tc1s)/(weight_samp_stand-weight_samp_init_tc1s);
Wherein weight_samp is the sampled value that any weight is put on sensor;
Wherein _ tc1s indicates the relevant variable after 1 S of temperature change;
6th step makes the operating temperature of gravity sensor increase or reduce 2S, repeats step 1-3, obtain weight at this time
Calculation formula;Continue temperature according to this and increase or reduce operation, until the limit of working temperature of equipment requirement;So far it obtains
The calculation formula of each temperature range weight as unit of the section S;
7th step, when equipment works normally, the continuous sample temperature of ARM searches temperature range locating for sample temperature, and in time
Replace weight calculation formula.
2. a kind of temperature drift antidote based on ARM of gravity sensor according to claim 1, feature exist
In: the ARM is itself to be integrated with the processor of temperature sensor and AD device.
3. a kind of temperature drift antidote based on ARM of gravity sensor according to claim 1 or 2, feature
Be: step 3 carries out at normal temperature.
4. a kind of temperature drift correction side based on ARM of gravity sensor described in any one of -3 according to claim 1
Method, it is characterised in that: weight calculation formula in step 6 are as follows:
Weight=r_tcls* (weight_samp-weight_samp_init_tc1s);
Wherein
R_tc=(weight_real_stand_tc1s-weight_real_init_tc1s)/(weight_samp_stand-
weight_samp_init_tc1s);
Wherein _ tc1s indicates the relevant variable after 2 S of temperature change;
Weight_samp is the sampled value that any weight is put on sensor.
5. a kind of temperature drift antidote based on ARM of gravity sensor according to claim 1, feature exist
In: in step 7, only when continuous certain time temperature sampling is all same or similar, just think that temperature is become
Change.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811401756.1A CN109282888A (en) | 2018-11-22 | 2018-11-22 | A kind of temperature drift antidote based on ARM of gravity sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811401756.1A CN109282888A (en) | 2018-11-22 | 2018-11-22 | A kind of temperature drift antidote based on ARM of gravity sensor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109282888A true CN109282888A (en) | 2019-01-29 |
Family
ID=65172864
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811401756.1A Pending CN109282888A (en) | 2018-11-22 | 2018-11-22 | A kind of temperature drift antidote based on ARM of gravity sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109282888A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110440893A (en) * | 2019-08-07 | 2019-11-12 | 中山乐心电子有限公司 | Weight-calibration method, apparatus and weighing-appliance |
CN113899438A (en) * | 2021-10-28 | 2022-01-07 | 深圳市道中创新科技有限公司 | Temperature compensation method of gravity sensor |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070063691A1 (en) * | 2004-01-16 | 2007-03-22 | Fieldmetrics Inc. | Temperature Compensated and Self-Calibrated Current Sensor |
CN101241015A (en) * | 2007-02-08 | 2008-08-13 | 亚洲光学股份有限公司 | Temperature drift emendation method and its system |
CN102230806A (en) * | 2011-04-26 | 2011-11-02 | 中国科学院软件研究所 | Temperature drift compensation method for gyroscope |
CN103837300A (en) * | 2014-03-19 | 2014-06-04 | 成都千嘉科技有限公司 | Pressure sensor calibration method with temperature compensation function |
CN104873400A (en) * | 2015-03-13 | 2015-09-02 | 东莞捷荣技术股份有限公司 | Intelligent feeding bottle sleeve with accurate weighing function, and method and system for operating intelligent feeding bottle sleeve |
CN108489589A (en) * | 2018-03-15 | 2018-09-04 | 天津光电丰泰科技有限公司 | A kind of drift correction method based on weighing sensor |
-
2018
- 2018-11-22 CN CN201811401756.1A patent/CN109282888A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070063691A1 (en) * | 2004-01-16 | 2007-03-22 | Fieldmetrics Inc. | Temperature Compensated and Self-Calibrated Current Sensor |
CN101241015A (en) * | 2007-02-08 | 2008-08-13 | 亚洲光学股份有限公司 | Temperature drift emendation method and its system |
CN102230806A (en) * | 2011-04-26 | 2011-11-02 | 中国科学院软件研究所 | Temperature drift compensation method for gyroscope |
CN103837300A (en) * | 2014-03-19 | 2014-06-04 | 成都千嘉科技有限公司 | Pressure sensor calibration method with temperature compensation function |
CN104873400A (en) * | 2015-03-13 | 2015-09-02 | 东莞捷荣技术股份有限公司 | Intelligent feeding bottle sleeve with accurate weighing function, and method and system for operating intelligent feeding bottle sleeve |
CN108489589A (en) * | 2018-03-15 | 2018-09-04 | 天津光电丰泰科技有限公司 | A kind of drift correction method based on weighing sensor |
Non-Patent Citations (1)
Title |
---|
王民慧等: "《智能仪表的零点自动补偿方法》", 《贵州科学》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110440893A (en) * | 2019-08-07 | 2019-11-12 | 中山乐心电子有限公司 | Weight-calibration method, apparatus and weighing-appliance |
CN113899438A (en) * | 2021-10-28 | 2022-01-07 | 深圳市道中创新科技有限公司 | Temperature compensation method of gravity sensor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9989566B2 (en) | Method for detecting power interruption duration of an electronic device | |
CN104697497B (en) | A kind of digital obliquity sensor and its nonlinear temperature compensation method | |
CN109282888A (en) | A kind of temperature drift antidote based on ARM of gravity sensor | |
CN102768060B (en) | Multifunctional high-accuracy electronic balance | |
CN108008152B (en) | Method and device for acquiring parasitic mismatch capacitance of MEMS accelerometer | |
CN108254105A (en) | Pressure detection method and its application | |
CN109141594A (en) | The drug metering method of intelligent medicine-chest, intelligent medicine-chest and storage medium | |
CN103149123A (en) | Novel storage battery electrolyte density comprehensive measuring instrument | |
Behrens et al. | Comparisons of accelerometer and pedometer determined steps in free living samples | |
Aleksandrović et al. | Analysis of belt weigher accuracy limiting factors | |
CN204129201U (en) | A kind of high-voltage electric energy measurement equipment error pick-up unit | |
Aprile et al. | An Extensive Investigation and Analysis of Temperature-to-Digital Converter FoMs | |
CN207067243U (en) | A kind of frequency measuring system with temperature compensation | |
Kumar et al. | Retrospective investigations of force measurement | |
CN105466631B (en) | A kind of calibration method and calibrating installation of piston gage piston effective area | |
CN102661705A (en) | Asynchronous sampling-based adaptive dynamic error compensation method and device | |
Bennett et al. | A sensor to monitor limb depth in transtibial sockets with locking pin suspension: a technical note | |
CN109712579A (en) | A kind of calibration method and device of brightness measurement | |
CN207232678U (en) | A kind of TV-set top box of detectable space environment | |
Cao et al. | A review of the factors influencing the infusion accuracy of medical infusion pumps | |
CN202049196U (en) | Frequency stability measuring device | |
CN110988401A (en) | Photoelectric accelerometer calibration method and system | |
CN205126223U (en) | High stability heart discharge capacity measuring circuit | |
CN104169690B (en) | For the method regulating detector | |
CN208350055U (en) | A kind of cylindrical component detection device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190129 |