CN113654723A - Batch calibration method and system of pressure sensors and weighing cabinet - Google Patents

Batch calibration method and system of pressure sensors and weighing cabinet Download PDF

Info

Publication number
CN113654723A
CN113654723A CN202111082990.4A CN202111082990A CN113654723A CN 113654723 A CN113654723 A CN 113654723A CN 202111082990 A CN202111082990 A CN 202111082990A CN 113654723 A CN113654723 A CN 113654723A
Authority
CN
China
Prior art keywords
pressure sensors
voltage value
value
calibration
pressure sensor
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
Application number
CN202111082990.4A
Other languages
Chinese (zh)
Inventor
张能军
张佳旋
刘成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nubomed Technology Co Ltd
Original Assignee
Shenzhen Nubomed Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Nubomed Technology Co Ltd filed Critical Shenzhen Nubomed Technology Co Ltd
Priority to CN202111082990.4A priority Critical patent/CN113654723A/en
Publication of CN113654723A publication Critical patent/CN113654723A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01LMEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
    • G01L25/00Testing or calibrating of apparatus for measuring force, torque, work, mechanical power, or mechanical efficiency
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/01Testing or calibrating of weighing apparatus
    • G01G23/012Testing or calibrating of weighing apparatus with load cells comprising in-build calibration weights

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The invention provides a batch calibration method, a system and a weighing cabinet of pressure sensors, which are characterized in that real-time voltage values of a plurality of pressure sensors are detected, whether the real-time voltage values meet the preset magnitude relation between a first threshold value and a second threshold value is judged, so that the first voltage value and the second voltage value are triggered and obtained, calibration parameters are obtained, data of the pressure sensors are triggered and collected through whether the real-time voltage values of the pressure sensors meet the preset value, then the calibration parameters are obtained through calculation, a user only needs to manually send a calibration instruction once, calibration parameters of the plurality of pressure sensors can be automatically obtained through calibration weights, the calibration efficiency of the batch pressure sensors is improved, and the rapid calibration of the batch pressure sensors is realized.

Description

Batch calibration method and system of pressure sensors and weighing cabinet
Technical Field
The invention relates to the technical field of sensor detection, in particular to a batch calibration method and system of pressure sensors and a weighing cabinet.
Background
The pressure sensor is a sensor capable of converting pressure signals into electric signals, and is widely applied to various industries, such as hospital medicine cabinets, many medicine cabinets have a weighing and counting function, and are used for managing and tracking the taking and placing processes of different medicines, and weighing and counting are mainly realized through the pressure sensor, so that the medicine cabinet comprises a plurality of pressure sensors, if the precision of the pressure sensors is insufficient, a false alarm condition can be caused, and therefore calibration is needed, the pressure sensor with higher precision is often higher in price, and the pressure sensor with lower price is selected to measure each parameter of the pressure sensor so as to determine whether the pressure sensor meets the requirement, namely the pressure sensor needs to be calibrated again before the medicine cabinet with the lower cost pressure sensor is delivered out of a factory or used so as to obtain the attribute parameters of the pressure sensor for detection of the pressure sensor, and subsequent weight count calculation and correction processes.
In the traditional calibration method, a user needs to manually trigger calibration instructions for a plurality of pressure sensors one by one, and each time one calibration instruction is triggered, one calibration parameter is obtained, so that the efficiency is low.
Disclosure of Invention
Based on this, it is necessary to provide a batch calibration method, system and weighing cabinet for efficient and fast pressure sensors.
A method for batch calibration of pressure sensors, comprising a plurality of pressure sensors and at least one standard calibration, the method comprising:
detecting real-time voltage values of the pressure sensors;
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring the current stable voltage value of each pressure sensor to obtain the first voltage value of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring the current stable voltage value of each pressure sensor to obtain the second voltage value of each pressure sensor;
and obtaining calibration parameters of the plurality of pressure sensors according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object.
Preferably, the obtaining of the calibration parameters of the plurality of pressure sensors according to the first voltage value, the second voltage value, and the standard weight value of the standard calibration object includes:
obtaining the first parameter according to the first voltage value, the second voltage value and a standard weight value of the standard calibration object;
and obtaining the second parameter according to the first parameter and the second voltage value.
Preferably, the step of obtaining the current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are greater than a first threshold value to obtain the first voltage value of each of the pressure sensors, and the step of obtaining the current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are smaller than a second threshold value to obtain the second voltage value of each of the pressure sensors includes:
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a first voltage value V1, V2.. Vn of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a second voltage value U1, U2... Un of each pressure sensor;
correspondingly, the obtaining the first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
calculating the first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un and a standard weight value G of the standard calibration object.
Correspondingly, the obtaining the second parameter according to the first parameter and the second voltage value includes:
calculating the second parameter b1, b2... bn according to the first parameter k1, k2... kn and the second voltage value U1, U2... Un;
correspondingly, the method further comprises the following steps:
and packaging and uploading the first parameter k1, k2... kn and the second parameter b1, b2... bn to an external testing device.
Preferably, the method further comprises:
acquiring identification information of a corresponding pressure sensor after acquiring the first parameter k1, k2... kn and the second parameter b1, b2... bn;
establishing association of the first parameter, the second parameter and the corresponding pressure sensor through the identification information;
correspondingly, the packaging and uploading the first parameter k1, k2... kn and the second parameter b1, b2... bn to an external testing device further comprises:
the first parameter k1, k2... kn and the second parameter b1, b2... bn are packaged and uploaded to the external test device together with identification information of the corresponding pressure sensor.
Preferably, the step of obtaining the current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are greater than a first threshold value to obtain the first voltage value of each of the pressure sensors, and the step of obtaining the current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are smaller than a second threshold value to obtain the second voltage value of each of the pressure sensors includes:
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a first voltage value V1, V2.. Vn of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a second voltage value U1, U2... Un of each pressure sensor;
uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un in a package to an external test device;
correspondingly, the obtaining the first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
and controlling the external testing device to calculate the first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn, the second voltage value U1, U2... Un and the standard weight value G of the standard calibration object.
Correspondingly, the obtaining the second parameter according to the first parameter and the second voltage value includes:
and controlling the external testing device to calculate the second parameters b1, b2... bn according to the first parameters k1, k2... kn and the second voltage values U1, U2... Un.
Preferably, the method further comprises:
acquiring identification information of a corresponding pressure sensor after acquiring the first voltage value V1, V2.. Vn, and acquiring identification information of a corresponding pressure sensor after acquiring the second voltage value U1, U2... Un;
correspondingly, the packaging and uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un to an external test device further includes:
uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un to the external test device in a package with identification information of the corresponding pressure sensor;
correspondingly, the method further comprises the following steps:
and controlling the external testing device to establish the association of the first parameter, the second parameter and the corresponding pressure sensor through the identification information.
Preferably, the method further comprises:
presetting and storing the first threshold value, the second threshold value and a standard weight value preset value of the standard calibration object, wherein the first threshold value is larger than one half of a voltage value generated by each of the plurality of pressure sensors through the gravity of the standard calibration object, and the second threshold value is smaller than one half of the voltage value generated by each of the plurality of pressure sensors through the gravity of the standard calibration object.
Preferably, the weighing system further comprises a weighing cabinet, and the plurality of pressure sensors are arranged in the weighing cabinet.
The embodiment of the invention also provides a batch calibration system of the pressure sensor, which comprises:
at least one standard calibrator;
the external testing device is used for sending a calibration instruction;
the pressure sensors are used for generating a plurality of corresponding voltage signals according to the pressure information;
a control device comprising a computing module and a storage medium:
the calculation module is used for executing the batch calibration method of the pressure sensors according to the voltage signals, the preset first threshold value, the preset second threshold value and the preset standard weight value of the standard calibration object so as to obtain calibration parameters corresponding to the pressure sensors;
the storage medium is used for storing a preset standard weight value of the standard calibration object, a preset first threshold value, a preset second threshold value and calibration parameters corresponding to the plurality of pressure sensors obtained after the batch calibration method of the pressure sensors is executed;
wherein a portion of the number of voltage signals is generated by gravity of the standard calibration object.
The embodiment of the invention also provides a weighing cabinet, which comprises:
a cabinet body including at least one layer of mounting space;
the plurality of pressure sensors are arranged in at least one layer of installation space of the cabinet body and used for generating a plurality of corresponding voltage signals according to the pressure information and sending the voltage signals to the control device;
a control device comprising a computing module and a storage medium:
the calculation module is used for executing the batch calibration method of the pressure sensors according to the voltage signals, the preset first threshold value, the preset second threshold value and the preset standard weight value of the standard calibration object so as to obtain calibration parameters corresponding to the pressure sensors;
the storage medium is used for storing a preset standard weight value of the standard calibration object, a preset first threshold value, a preset second threshold value and calibration parameters corresponding to the plurality of pressure sensors obtained after the batch calibration method of the pressure sensors is executed;
at least one display device;
when any one of the pressure sensors generates a voltage signal, the control device is further configured to control the calculation module to obtain the calibration parameter of the corresponding pressure sensor from the storage device to generate a corresponding real-time weight value, and control the at least one display device to display the real-time weight value.
According to the batch calibration method, the system and the weighing cabinet for the pressure sensors, disclosed by the embodiment of the invention, the real-time voltage values of the pressure sensors are detected, and the first voltage value and the second voltage value are triggered and obtained by judging whether the real-time voltage values meet the preset size relationship between the first threshold value and the second threshold value, so that the calibration parameters are obtained.
Drawings
FIG. 1 is a schematic flowchart illustrating a batch calibration method for pressure sensors according to an embodiment;
FIG. 2 is a schematic circuit diagram of a pressure sensor according to an embodiment;
FIG. 3 is a schematic flow chart illustrating a process of obtaining calibration parameters in a batch calibration method for pressure sensors according to an embodiment;
FIG. 4 is a schematic flow chart illustrating calibration by a calibration object in a batch calibration method for pressure sensors according to an embodiment;
FIG. 5 is a schematic flow chart illustrating calibration by at least two calibrators in a batch calibration method for pressure sensors according to another embodiment;
FIG. 6 is a schematic partial flowchart illustrating a process of passing a preset value and then obtaining a real-time voltage value in the batch calibration method for pressure sensors according to the first embodiment;
FIG. 7 is a schematic flow chart illustrating a process of obtaining a stable voltage value in a batch calibration method for pressure sensors according to an embodiment;
FIG. 8 is a schematic diagram of a batch calibration system for pressure sensors according to a second embodiment;
FIG. 9 is a schematic diagram of a control module of the batch calibration system for pressure sensors shown in FIG. 8;
FIG. 10 is a perspective view of the weighing cabinet according to the third embodiment;
FIG. 11 is a perspective view of the weighing cabinet in another embodiment corresponding to the third embodiment;
fig. 12 is a schematic installation diagram of the pressure sensor in one of the installation spaces of the weighing cabinet shown in fig. 11.
Reference numerals: the device comprises a pressure sensor 10, a control device 20, an external testing device 30, a cabinet 40, a drawer 50, a display device 60 and a standard calibration object 70.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The invention provides a batch calibration method of pressure sensors, which is applied to a batch calibration system of the pressure sensors to realize calibration of a plurality of pressure sensors 10.
Example one
As shown in fig. 1, fig. 1 is a schematic flow chart of a batch calibration method for pressure sensors according to an embodiment, including a plurality of pressure sensors 10 and at least one standard calibration object, including the following steps:
step S100: the real-time voltage values of the pressure sensors 10 are detected.
Wherein, pressure sensor 10 produces decurrent pressure according to the gravity of the object that awaits measuring, and pressure sensor 10 produces voltage signal according to pressure, then obtains corresponding weight value through the voltage value of measurement, in the normal use, because pressure sensor 10's physical characteristics.
The sensor converts pressure into linear corresponding quantity of voltage through a bridge circuit of the strain gauge, then converts an analog signal output by the sensor into a digital signal, and finally acquires the signal so as to acquire the weight of the current measurement object.
If the linearity of the sensor is good, the pressure applied to the sensor (i.e. the weight of the measured object) is in a linear relationship with the AD value acquired by the single chip microcomputer, and can be expressed as the weight G of the measured object k D measured + b, at this time, the values of k and b can be determined through the zero point (D0, 0) of no load and the value of a certain point (D measured, G), and the values of k and b are the calibration parameters to be acquired.
Specifically, the pressure sensor 10 used in this embodiment is a pressure sensor 10 with a simple structure, low cost and limited accuracy, and includes a sensing element, a converting element, a measuring element and an auxiliary power supply, where the sensing element is used to directly sense the weight of the object to be measured and output other quantities related to its mass, such as an elastic body in a resistance strain type pressure sensor, and the mass is expressed by deformation; the transformation element is used for transforming the output quantity of the sensitive element into a certain easily-detected signal, such as a resistance strain gauge in the resistance strain type pressure sensor, and transforming the deformation into the resistance quantity; the measuring element is used for converting an easily-measured signal output by the conversion element into an electric signal, such as a bridge circuit in the resistance strain type pressure sensor, and converting a resistance quantity into the electric signal; the auxiliary power supply is used for providing an energy source for the electric signal output by the measuring element.
The pressure sensor 10 converts the pressure into a linear corresponding quantity of voltage through a bridge circuit of the strain gauge, then converts an analog signal output by the pressure sensor 10 into a digital signal, and finally acquires the current weight of the object to be measured by acquiring the signal.
The strain is a deformation amount of a material that is elongated or shortened by an external force, and a sensor element for detecting the strain by an electric signal is a strain gauge, and the resistance changes with the change in the shape, and the strain gauge utilizes the change in the resistance.
When the metal resistance material is subjected to strain epsilon, the resistance R is changed by the influence of the strain epsilon, and delta R/R is epsilon Ks. The strain rate Ks is a coefficient indicating the sensitivity of the strain gauge, and the strain gauge is generally made of a copper-nickel alloy or a nickel-chromium alloy, and the strain rate Ks is about 2. When the strain gauge is used alone, since the change in resistance generated by the strain gauge is extremely small, measurement is performed by converting the change in resistance into a change in voltage.
As shown in fig. 2, in the bridge circuit shown in the figure, the resistance value R1 of the strain gauge is bridged with a plurality of resistors, the resistance value change due to the stretching or compression is Δ R (Ω), and the resistance value change Δ R (Ω) due to the stretching or compression of the voltage E applied to the bridge circuit is output as the voltage E, and E ≈ 1/4 ≈ Δ R/R ═ E1/4 ∈ Ks ∈ E.
And obtaining an output voltage e proportional to the resistance change delta R and an output voltage e proportional to the strain gauge, amplifying the tiny voltage e by an amplifier to obtain an analog output, and displaying the analog output as weighing data. The bridge circuit shown in fig. 2 has a simple structure, consists of only a few resistors and a strain gauge, and has low cost, certain accuracy and sensitivity.
In the formula E-1/4 ∈ Ks ∈ E, the voltage E is a fixed value, and the strain rate Ks is a fixed constant, so that the output voltage E of the pressure sensor 10 and the strain ∈ of the strain gauge are linearly related in the strain range of the strain gauge, and the output voltage value E can be obtained by measuring the strain ∈ of the strain gauge. The strain epsilon and the stress sigma of the strain gauge satisfy sigma-epsilon-K, K is the elastic coefficient of the strain gauge, and the stress and the strain are in proportional relation in an elastic domain and accord with Hooke's law, so that the strain can be measured through the strain gauge to further obtain the stress.
Particularly, when an object to be measured is placed on the pressure sensor 10 to be measured in the using process, the stress sigma of the strain gauge of the pressure sensor 10 has the combined action of a plurality of variables.
Before a user holds an object to be measured and places the object to be measured on the pressure sensor 10, the object to be measured, such as a calibration weight, has an acceleration G, the acceleration G is generated by the weight G of the object to be measured and the force F applied by a human hand, a certain degree of collision effect can be generated at the moment when the object to be measured contacts the pressure sensor 10, a large strain epsilon 1 is generated on a strain gage of the pressure sensor 10, and at the moment, data jitter generated by output voltage e depends on the acceleration G when the human places the object to be measured on the pressure sensor 10.
When the user leaves the object to be measured, F disappears, the strain gauge of the pressure sensor 10 recovers to some extent after being deformed greatly, and thereafter, deformation continues to occur under the action of the weight G of the object to be measured itself, because the weight G of the object to be measured itself is fixed at this time, a strain epsilon 2 that changes linearly is generated.
When the strain gauge of the pressure sensor 10 is not deformed any more, a stable strain epsilon corresponding to the strain gauge is obtained, and thus a stable initial value is obtained.
The process that the user removes the object to be measured from pressure sensor 10 is similar, and when the person contacts the object to be measured and picks up the object to be measured, force F is generated firstly, and the jump is generated under the combined action of F and G, and then F and G are reduced and disappear, strain epsilon of the strain gauge is reduced and recovered, and the corresponding output voltage value e is reduced.
Therefore, the pressure sensor 10 during calibration may suddenly generate a large signal jitter, which may affect the calibration result, for example, when the number of the objects to be measured changes, i.e. when 1 or more objects are taken or placed, the pressure sensor 10 may generate a large signal jitter, which may affect the accuracy of data acquisition.
Because the collision effect of the object to be measured and the pressure sensor 10 just begins to be weighed, a large data bounce can be generated at the moment, the process generally occurs at the front end of the sampling process, the sampling can be carried out in the process by adjusting the corresponding preset acquisition frequency at the moment, or the upper limit value is set, when the collision effect is overlarge, the real-time weighing value and the sampling value exceed the upper limit value at the moment, the sampling record is not carried out, or after the weighing value is stabilized in the calibration process, or when the data fluctuation is judged to meet the preset range in specific time, the current voltage values of the pressure sensors 10 are obtained by adopting the record.
The calibration method comprises a plurality of pressure sensors 10 and at least one standard calibration object, wherein the standard calibration object is a calibration weight or other objects with known standard weight, the calibration weight is placed on the pressure sensors 10, and calibration parameters are calculated and obtained by recording voltage values of the pressure sensors 10.
Step S200: when the real-time voltage values of the plurality of pressure sensors 10 are greater than the first threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain the first voltage value of each pressure sensor 10, and when the real-time voltage values of the plurality of pressure sensors 10 are detected to be less than the second threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain the second voltage value of each pressure sensor 10.
Specifically, when the real-time voltage values of the plurality of pressure sensors 10 are greater than a first threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain the first voltage value of each pressure sensor 10, where the first threshold value is a preset value, and the preset value is related to a standard calibration object, for example, a calibration weight is set according to a known standard weight G, and when the standard calibration object is placed on any one of the pressure sensors 10, the pressure sensor 10 generates a voltage value X due to the gravity of the standard calibration object1The voltage value X corresponds to the weight G of the calibration weight, and when the calibration weight is removed from any one of the pressure sensors 10 without placing the calibration weight or the standard calibration object, the pressure sensor 10 will generate a voltage value X due to the disappearance of the gravity of the standard calibration object2The voltage value X2Corresponding to the zero voltage value of the pressure sensor 10 when no weight is placed.
Specifically, the first threshold value is preset to be smaller than a voltage value X corresponding to a calibration weight with a known weight G1And is greater than X1A first threshold value may be preset to [ X ]1/2,X1]Due to the error of the pressure sensor 10 itself and the environmental interference, for example, after the pressure sensor 10 is placed with the calibration weight with the weight G, in the absence of the error, theoretically, the sensor will generate the voltage value X1In the presence of weighing errors, environmental disturbances and creep of the pressure sensor 10 itself, the sensor actually generates a voltage value X1Error value Y1Error value Y2When the calibration weight is not placed, X may be generated due to environmental disturbance and creep of the pressure sensor 10 itself2Error value Y2
Presetting the first threshold value to be more than X1And/2, smaller error voltage values of the sensor due to environmental disturbances and creep of the pressure sensor 10 itself can be substantially excluded, wherein,error value X2Error value Y2Should be much less than 2/X1To ensure error value X2Error value Y2Should be much less than 2/X1When the calibration weight is selected, according to the zero voltage value of the pressure sensor 10, the calibration weight with too light weight should not be selected, and the weight G of the selected calibration weight is determined to be larger than the minimum weight G determined by the test data by acquiring the test data of the pressure sensor 10 and the calibration environment0
When the voltage value of the pressure sensor 10 is acquired to be larger than X1At time t2, it can be confirmed that a calibration object is placed on the pressure sensor 10, and in consideration of the error and environmental influence of the pressure sensor 10, the voltage value generated by the pressure sensor 10 is a fluctuating unstable voltage value, after time t1, the voltage value of the pressure sensor 10 tends to be stable, the final stable voltage value corresponds to the actual weight of the calibration weight, and the stable voltage value at this time is X1Error value Y1Therefore, the preset value of the first threshold should be smaller than X1Otherwise, after the voltage value of the pressure sensor 10 is stabilized after the calibration weight is placed, the real-time voltage value of the pressure sensor 10 is still not greater than the first threshold value, and thus data is not collected to obtain the current stabilized voltage value of the pressure sensor 10.
Considering the existence of error or environmental disturbance in the pressure sensor 10 itself and the creep of the pressure sensor 10 itself, the voltage value generated by the pressure sensor 10 after the calibration weight is placed may be X after being stabilized1-an error value Y1Or X1-an error value Y2I.e. less than X1In this embodiment, the first threshold is preset to be 3 ×1/4, when the real-time voltage value of the pressure sensor 10 is detected to be larger than 3X1And/4, namely when a preset first threshold value is reached, starting to collect and record the real-time voltage value of the pressure sensor 10, wherein the real-time voltage value indicates that the calibration weight is placed on the pressure sensor 10 but the weighing process is not finished, when the change of the real-time voltage value tends to be stable, finishing the weighing process, confirming and recording the last stable voltage value of the pressure sensor 10, and taking the current stable voltage value as a first voltage value V.
Specifically, when it is detected that the real-time voltage values of the pressure sensors 10 are smaller than a second threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain the second voltage value of each pressure sensor 10, where the second threshold value is a preset value, the preset value is set according to a standard calibration object, for example, a calibration weight is set according to a known standard weight G, and when the standard calibration object is placed on any one of the pressure sensors 10, the pressure sensor 10 generates a voltage value X due to the gravity of the standard calibration object1The voltage value X corresponds to the weight G of the calibration weight, and when the calibration weight is removed from any one of the pressure sensors 10 without placing the calibration weight or the standard calibration object, the pressure sensor 10 will generate a voltage value X due to the disappearance of the gravity of the standard calibration object2The voltage value X2Corresponding to the zero voltage value of the pressure sensor 10 when no weight is placed.
Wherein the second threshold value should be less than one-half of the voltage value of any one of the pressure sensors 10 generated by the gravity of the standard calibration object, i.e. the second threshold value should be less than 2/X1And is greater than X2The second threshold value may be preset to [ X ]2,X1/2]For example, after the pressure sensor 10 removes the calibration weight with the weight G, in the absence of an error, the pressure sensor 10 theoretically generates the voltage value X2When the calibration weight is not placed, the voltage value X actually generated by the sensor is generated under the conditions of error and interference due to environmental disturbance and creep of the pressure sensor 10 per se2Error value Y2The voltage signal of (2).
Presetting the first threshold value to be less than X12, the small error voltage value of the sensor caused by environmental disturbance and creep of the pressure sensor 10 can be basically eliminated when the calibration weight is not taken after the calibration weight is placed, wherein the error value Y2Should be much less than 2/X1To ensure the error value Y2Should be much less than 2/X1When the calibration weight is selected, thenThe calibration weight with too light weight should not be selected, and the weight G of the selected calibration weight should be determined to be larger than the minimum weight value G determined by the test data by acquiring the test data of the sensor and the calibration environment0
When the voltage value of the pressure sensor 10 is less than X1When the voltage value of the pressure sensor 10 is a fluctuating unstable voltage value, the voltage value of the pressure sensor 10 tends to be stable after time t2, the final stable voltage value corresponds to the zero voltage value of the pressure sensor 10, and the stable voltage value is X at the moment2Error value Y2Therefore, the preset value of the second threshold value should be greater than X2Otherwise, after the voltage value of the pressure sensor 10 is stabilized after the calibration weight is removed, the real-time voltage value of the pressure sensor 10 is still not smaller than the second threshold value, so that data is not collected to obtain the current stable voltage value of the pressure sensor 10.
Considering that the pressure sensor 10 has an error, the voltage value generated by the pressure sensor 10 after the calibration weight is removed may be X after being stabilized2+ error value Y2I.e. greater than X2In the present embodiment, the second threshold value is preset to X1/4, when the real-time voltage value of the pressure sensor 10 is detected to be less than X1And/4, namely when the preset second threshold value is reached, starting to collect and record the real-time voltage value of the pressure sensor 10, wherein the real-time voltage value indicates that the pressure sensor 10 has taken off the calibration weight but the weighing process is not finished yet, when the change of the real-time voltage value tends to be stable, finishing the weighing process, confirming and recording the last stable voltage value of the pressure sensor 10, and taking the current stable voltage value as a second voltage value U.
The detected real-time voltage value should not only be smaller than the second threshold value, but also be larger than the initial maximum voltage value of any one of the pressure sensors 10, i.e., the zero-point voltage value. The initial maximum voltage value is preset by a user, the user tests and records the floating range of the initial voltage values of all the pressure sensors 10, and the initial maximum voltage values of all the pressure sensors 10 are collected. Specifically, when the real-time voltage values of the pressure sensors 10 are smaller than the second threshold value and larger than any one of the initial maximum voltage values, it indicates that the calibration weight on the pressure sensor 10 is removed, collects the current stable voltage value of the pressure sensor 10, and takes the current stable voltage value as the second voltage value U.
Step S300: and obtaining the calibration parameter of each pressure sensor 10 according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object.
Specifically, according to the acquired first voltage value V, the acquired second voltage value U, and the standard weight value G, a calibration parameter of the pressure sensor 10 is calculated by the K value calculator.
Referring to fig. 3, step 300: the obtaining of the calibration parameters of the plurality of pressure sensors 10 according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object specifically includes:
step S320: and obtaining a first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object.
Step S340: and obtaining a second parameter according to the second voltage value.
Specifically, if the linearity of the sensor is good, the pressure applied to the pressure sensor 10 (i.e., the weight of the measurement object) and the AD value acquired by the single chip microcomputer are in a linear relationship, and can be expressed as the weight G ═ k × D measurement + b of the measurement object, at this time, the zero point voltage value of no load (D0, 0) can be used, that is, the zero point voltage value of the weight value 0 when the weight is removed, that is, the second voltage value U and the (D measurement, G) voltage value of a certain point, that is, the stable voltage value when the known weight G is placed, that is, the first voltage value V, to determine the values of k and b, the values of k and b are the first parameter and the second parameter in the calibration parameters to be acquired, wherein the first parameter k represents the AD value of the pressure sensor 10, that is, the proportionality coefficient of the conversion between the weighing voltage value of the pressure sensor 10 and the weight value, and the second parameter b represents the voltage value generated when the pressure sensor 10 is not deformed, namely, the corresponding weighing value when the voltage value is 0, the drift value corresponding to the pressure sensor 10 itself, belong to the important calibration parameters that the pressure sensor 10 needs to obtain, but because the pressure sensor 10 itself has a weight, it is difficult to realize that the pressure sensor 10 is completely unloaded in the actual test, so as to directly obtain the corresponding b value, and the first parameter k and the second parameter b are both the calibration parameters that the pressure sensor 10 relates to the important attributes of itself, and therefore need to be calculated and obtained by the method.
And obtaining a first parameter k ═ G/| V-U |, according to the difference value of the first voltage value and the second voltage value and a standard weight value G of the standard calibration object, obtaining a second parameter b ═ k ═ U, namely-G |/U/| V-U |, according to the first parameter and the second voltage value, or obtaining a second parameter b ═ G-k | V-U |, or G-G |/V-U |, according to the first parameter, the second voltage value and the standard weight value G of the standard calibration object.
Specifically, the plurality of pressure sensors 10 specifically include n pressure sensors 10, where n is greater than or equal to 2, the at least one standard calibration object specifically includes 1 standard calibration object, in this embodiment, the number of calibration weights is 1, calibration is performed by repeatedly using 1 calibration weight between the n pressure sensors 10 to take and place sequentially or randomly during calibration, in other embodiments, the number of standard calibration objects is also multiple, the weight values of the multiple standard calibration objects are the same and are all G, calibration is performed by simultaneously using multiple calibration weights to take and place sequentially or randomly between the n pressure sensors 10 during calibration, the calibration process can be accelerated by using multiple calibration weights, because when using 1 calibration weight to calibrate, the pressure sensors 10 take and place each time to complete the weighing process, and each time of calibration, need wait for every pressure sensor 10 to mark and just can carry out the demarcation of next pressure sensor 10 after accomplishing, when using a plurality of demarcation weights, place a plurality of weights in order at every turn after, take off the weight in order again, in the time of placing other weights, the pressure sensor 10 pressure data of having placed the weight have accomplished and have become steady, have obtained stable first voltage value, and the process of taking off the weight is similar, consequently can accelerate the demarcation process greatly.
When the real-time voltage values of the N pressure sensors 10 are judged to be greater than the first threshold value, it may occur that the real-time voltage values of the plurality of pressure sensors 10 are all greater than the first threshold value, for example, the real-time voltage values of the 5 pressure sensors 10 are all greater than the first threshold value, which indicates that weights are placed in the 5 pressure sensors 10, then the current stable voltage values of the 5 pressure sensors 10 are respectively collected and recorded as the first voltage value, the real-time voltage values of the N pressure sensors 10 are continuously detected, when one of the real-time voltage values is less than the second threshold value, which indicates that the calibration weight of the pressure sensor 10 is removed, then the current stable voltage value of the pressure sensor 10 is collected and recorded as the second voltage value U, and the calibration parameter of the pressure sensor 10 is calculated by extracting the first voltage value V corresponding to the pressure sensor 10. In this way, calibration of all pressure sensors 10 is completed.
According to the batch calibration method, the real-time voltage values of the pressure sensors 10 are continuously detected, the relation between the real-time voltage values and the first threshold value and the relation between the real-time voltage values and the second threshold value are judged, so that the first voltage value and the second voltage value are obtained, the time difference of data acquisition is shortened due to continuous polling judgment, meanwhile, the calibration parameters are calculated according to the first voltage value and the second voltage value, a user can obtain the calibration parameters of the pressure sensors 10 only by manually clicking the calibration instruction once, the time for calculating the calibration parameters is effectively prolonged, and the batch calculation efficiency of the pressure sensors 10 is ensured.
In this embodiment, the plurality of pressure sensors 10 specifically include n pressure sensors, where n is greater than or equal to 2, and the at least one standard calibration object specifically includes 1 standard calibration object.
As shown in fig. 4, wherein step S200: when the real-time voltage values of the plurality of pressure sensors 10 are greater than the first threshold value, obtaining the current stable voltage value of each pressure sensor 10 to obtain the first voltage value of each pressure sensor 10, and when it is detected that the real-time voltage values of the plurality of pressure sensors 10 are less than the second threshold value, obtaining the current stable voltage value of each pressure sensor 10 to obtain the second voltage value of each pressure sensor 10 includes:
step S220: when the real-time voltage values of the pressure sensors 10 are greater than a first threshold value, acquiring a current stable voltage value of each pressure sensor 10 to obtain a first voltage value V1, V2.. Vn of each pressure sensor 10, and when the real-time voltage values of the pressure sensors 10 are detected to be less than a second threshold value, acquiring a current stable voltage value of each pressure sensor 10 to obtain a second voltage value U1, U2... Un of each pressure sensor 10;
correspondingly, step S320: obtaining a first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
and calculating a first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un and the standard weight value G of the standard calibration object.
Correspondingly, step S340: obtaining a second parameter from the first parameter and the second voltage value includes:
calculating a second parameter b1, b2... bn according to the first parameter k1, k2... kn and the second voltage value U1, U2... Un;
correspondingly, the method further comprises the following steps:
step S400: the first parameter k1, k2... kn and the second parameter b1, b2... bn are packaged and uploaded to an external testing device.
Specifically, in this embodiment, after step S340, the method further includes:
step S360: the identification information of the corresponding pressure sensor 10 is acquired after the first parameter k1, k2... kn and the second parameter b1, b2... bn are acquired.
Step S380: the association of the first parameter, the second parameter and the corresponding pressure sensor 10 is established by the identification information.
In this embodiment, the calibration parameters include a first parameter k and a second parameter b, the first parameter k is obtained according to the first voltage value V, the second voltage value U and the standard weight value G of the standard calibration object, and then the second parameter b is obtained according to the second voltage value U, since different pressure sensors 10 may have different calibration parameters, it is necessary to establish a correlation between the calibration parameters and the corresponding pressure sensors 10, that is, the calibration parameters corresponding to each pressure sensor 10 include the corresponding first parameter and the corresponding second parameter, and an association table between each pressure sensor 10 and the corresponding first parameter and second parameter is established, so as to ensure that the calibration of any one pressure sensor 10 is accurate.
Specifically, the output signal of each pressure sensor 10 may be transmitted through a different path (for example, by designing a different interface, and a different circuit branch), so that each pressure sensor 10 corresponds to one signal transmission path, and each pressure sensor 10 may be identified as 1#, 2#, 3# and so on according to the signal source, and the association between the first parameter and the second parameter with the pressure sensor 10 may be established through the identification information n #.
Correspondingly, step S400: uploading the first parameter k1, k2... kn and the second parameter b1, b2... bn to the external testing device in a package further comprises:
the first parameter k1, k2... kn and the second parameter b1, b2... bn are packaged and uploaded to an external test device together with identification information of the corresponding pressure sensor 10.
Specifically, each time calibration of one pressure sensor 10 is completed, a calibration parameter is obtained, and the identification information n # of the pressure sensor 10 is obtained at the same time, and immediately after the calibration parameter is obtained, association between the calibration parameter and the identification information n # is established, and the calibration parameter and the identification information n # are packaged and uploaded to the external test device 30. For example, when the calibration parameters k1, b1 of the pressure sensor 10 at the 1 st position are acquired, and simultaneously, the identification information 1# at the 1 st position is acquired, and the calibration parameters k1, b1 and 1# are correlated and packed and uploaded to the external test device 30, and the pressure sensor 10 at the 2 nd position is polled, the calibration parameters k2, b2 and 2# are acquired, and the correlation between k2, b2 and 2# is established and uploaded.
In this embodiment, since 1 calibration weight is used for calibration, after the weight is taken and placed each time, the first voltage value V and the second voltage value U corresponding to each pressure sensor 10 are obtained, and according to the weight of the standard weight, the first parameter k and the second parameter b can be obtained by calculation, so that after the weight is taken and placed, the first voltage value V and the second voltage value U are obtained, the identification information corresponding to the pressure sensors 10 is obtained in time and associated, and then the first parameter, the second parameter and the corresponding identification associated information are sent to an external testing device for storage, the calculation process is realized by an independent operation board or an operation chip integrated in the pressure sensors 10, the external testing device is not required to have operation capability, a common networking storage device can be used, cost reduction of effective equipment can be realized, and data are uploaded after calculation, the uploaded calibration result data is small in data volume and low in network transmission requirement.
As shown in fig. 5, in another embodiment corresponding to the embodiment, the plurality of pressure sensors 10 specifically includes n pressure sensors 10, where n is greater than or equal to 2, and the at least one standard calibration object specifically includes at least 2 standard calibration objects.
Wherein, the step S200: when the real-time voltage values of the plurality of pressure sensors 10 are greater than the first threshold value, obtaining the current stable voltage value of each pressure sensor 10 to obtain the first voltage value of each pressure sensor 10, and when it is detected that the real-time voltage values of the plurality of pressure sensors 10 are less than the second threshold value, obtaining the current stable voltage value of each pressure sensor 10 to obtain the second voltage value of each pressure sensor 10 includes:
step S220: when the real-time voltage values of the pressure sensors 10 are greater than the first threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain a first voltage value V1, V2.. Vn of each pressure sensor 10, and when the real-time voltage values of the pressure sensors 10 are detected to be less than the second threshold value, the current stable voltage value of each pressure sensor 10 is obtained to obtain a second voltage value U1, U2... Un of each pressure sensor 10.
Step S240: the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un are packed and uploaded to an external test device.
Correspondingly, step S320: obtaining a first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
and controlling an external testing device to calculate a first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un and the standard weight value G of the standard calibration object.
Correspondingly, step S340: obtaining a second parameter from the first parameter and the second voltage value includes:
and controlling an external testing device to calculate second parameters b1, b2... bn according to the first parameters k1, k2... kn and the second voltage values U1, U2... Un.
Correspondingly, step S220 is followed by:
step S230: acquiring identification information of the corresponding pressure sensor 10 after acquiring the first voltage value V1, V2.. Vn, and acquiring identification information of the corresponding pressure sensor 10 after acquiring the second voltage value U1, U2... Un;
correspondingly, step S240: uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un to the external test device in a package further includes:
step S242: the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un are packaged and uploaded to an external test device together with identification information of the corresponding pressure sensor 10;
correspondingly, step S242 is followed by:
step S260: and controlling the external testing device to establish the association of the first parameter, the second parameter and the corresponding pressure sensor 10 through the identification information.
In this embodiment, since at least 2 calibration weights are used for calibration, for example, 10 weights are used, in the calibration, after 10 weights are placed each time, the 10 weights are sequentially removed, the first voltage value V and the second voltage value U of the plurality of pressure sensors 10 are separately obtained, the stable voltage values are obtained and then packaged and uploaded to an external testing device, identification information corresponding to the pressure sensors 10 is carried in each packaging and uploading of the voltage values, the external testing device calculates the first parameter k and the second parameter b according to the first voltage value V and the second voltage value U, then the external testing device establishes association between the first parameter, the second parameter and the corresponding pressure sensor 10 through the identification information, the calculation process is realized through the external testing device, and the external testing device needs to have calculation capability, for example, a computer with a processor, however, a corresponding operation chip does not need to be integrated into the control board of the pressure sensor 10 independently, and data transmitted through the network is raw data which is not calculated, so that the data volume is large, and the calibration process can be greatly accelerated.
As shown in fig. 6, in the present embodiment, before step S100, the method further includes:
s108: presetting and storing a first threshold value, a second threshold value and a standard weight value preset value of the standard calibration object, wherein the first threshold value is larger than a voltage value generated by each of the plurality of pressure sensors 10 through the gravity of the standard calibration object, and the second threshold value is smaller than a voltage value generated by each of the plurality of pressure sensors 10 through the gravity of the standard calibration object.
Since the present embodiment includes a plurality of pressure sensors 10 and performs batch calibration on the plurality of pressure sensors 10, each pressure sensor 10 has a certain difference, if the first threshold value and the second threshold value are only set according to the test data of 1 pressure sensor 10, it is possible that the first threshold value and the second threshold value set according to the test data of the pressure sensor 10 are not suitable for other pressure sensors 10, and therefore calibration data obtained by other pressure sensors 10 according to the first threshold value and the second threshold value set according to the test data of the pressure sensor 10 may be erroneous or may not be effectively obtained, therefore, the first threshold value is set to be greater than one half of a voltage value generated by each of the plurality of pressure sensors 10 through the gravity of the standard calibration object, and the second threshold value is set to be less than one half of a voltage value generated by each of the plurality of pressure sensors 10 through the gravity of the standard calibration object, thereby preventing the first threshold value and the second threshold value from being set unreasonably due to the difference in the pressure sensors 10. Specifically, in this embodiment, the plurality of pressure sensors 10 includes n pressure sensors 10, where n is greater than or equal to 2, that is, at least two pressure sensors 10 that need to be calibrated, and at least one standard calibration object specifically includes 1 standard calibration object, and the weight value of the standard calibration object is G. Specifically, the real-time voltage values of the 10 pressure sensors 10 are detected, and when the real-time voltage values are judged to be greater than the first threshold value, the current voltage values of the 10 pressure sensors 10 are obtained to obtain first voltage values, and the collected first voltage values are V1, V2.. Vn. Continuously detecting the real-time voltage values of the 10 pressure sensors 10, and when the real-time voltage value is judged to be smaller than the second threshold value, acquiring current voltage values of the 10 pressure sensors 10 to obtain second voltage values, wherein the acquired second voltage values are U1, U2... U10, and packing and uploading the first parameters k1, k2... k10, the second parameters b1, b2... b10 and the identification information of the pressure sensors 10, which are obtained by calculation according to the first voltage values V1, V2.. V10 and the second voltage values U1, U2... U10, to the external testing device 30. It is understood that the external test device 30 is a terminal having a calculation storage function, such as a computer in fig. 10.
As shown in fig. 7, in the present embodiment, the step of acquiring the current stable voltage value of each pressure sensor 10 includes:
s210: obtaining M current voltage values of each pressure sensor 10, where the maximum difference value of the M current voltage values is smaller than a preset value, and then the average value of the M current voltage values is a current stable voltage value.
Specifically, the preset value C, C is a range, which is preset according to the test data of the pressure sensor 10, and is generally set as a range in which the voltage value in the test data of the pressure sensor 10 fluctuates normally after being stabilized. For example, when the user determines that the normal fluctuation range of one voltage value is within 10, preset-10 < C <10, and C is not equal to 0, obtain continuous M real-time voltage values of the same sensor, and determine whether the maximum difference between two voltage values of the M real-time voltage values is within a preset value C, if so, calculate the average value of the M real-time voltage values, where the average value is a stable first voltage value Vn, and store Vn. Taking the example of obtaining the stable first voltage value Vn of the pressure sensor 10 at the 1 st position as an example, the user may set to obtain 6 consecutive real-time voltage values, calculate and determine a difference value between the maximum voltage value and the minimum voltage value in the 6 voltage values, and if the difference value is within C, calculate an average value V1 of the 6 voltage values. It can be understood that the collected second voltage value Un is also not a voltage value collected at will, the collected Un should be a stable voltage value of the pressure sensor 10, and the specific step of obtaining the stable second voltage value Un is similar to the step of obtaining the stable first voltage value, and is not described herein again.
It can also be understood that, M continuous real-time voltage values of the same pressure sensor 10 are obtained, and the maximum difference value of two voltage values of the M real-time voltage values is determined to be within the preset value C, and when the difference value of any two voltage values is 0, the result is uploaded to the external testing device 30, the external testing device 30 determines that the result is wrong, the pressure sensor 10 does not normally work, the result is marked as a wrong route and a prompt tone is started, and a user can clearly know that the pressure sensor 10 is damaged according to the prompt tone, so that the pressure sensor can be replaced or maintained in time.
In the present embodiment, after the stable first voltage value Vn, the stable second voltage value Un, and the standard weight value G of the standard calibration object are collected, the first parameter kn can be calculated by the K value calculator, wherein kn is G/(Vn-Bn). Namely, polling judgment is performed, and the calculated first parameter k and second parameter b and the identification information of the pressure sensors 10 are packaged and uploaded to the external testing device 30 and stored in time until the calibration of the N pressure sensors 10 is completed.
In this embodiment, the external testing device 30 records the calibration parameters to generate calibration records corresponding to the sensors and a display interface with a human-computer interaction function, so that a calibration person can conveniently check and monitor the calibration records, for example, a display table is displayed, the external testing device 30 has a display screen, the calibration records and the table are displayed on the display screen, and when the calibration of one pressure sensor 10 is finished, the calibration state of the table and the corresponding sensor has display changes, for example, color changes, or display changes that can be clearly known by a calibration user, such as a "successful" prompt, and the like, so as to determine whether the calibration of the N pressure sensors 10 is finished. In another embodiment, each pressure sensor 10 is provided with a signal lamp, and when the calibration of any one of the pressure sensors 10 is completed, the signal lamp of the pressure sensor 10 which completes the calibration generates a display change, which may be a color change of the signal lamp, and may also be a lighting or a light-off. The user can intuitively know the calibration progress of a plurality of pressure sensors 10 from the display screen of the external testing device 30 or the pressure sensors 10, can avoid repeated calibration of the same pressure sensor 10, and can realize random calibration of the pressure sensors 10 without expression according to a certain sequence, thereby accelerating the calibration speed.
Example two
Referring to fig. 8 and 9, a second embodiment of the present invention further provides a batch calibration system for pressure sensors, and the batch calibration system for pressure sensors in the second embodiment implements the batch calibration method for pressure sensors in the first embodiment to implement batch, fast and efficient calibration of a plurality of pressure sensors 10.
In this embodiment, the calibration system includes at least one standard calibrator 70, an external testing device 30, a plurality of pressure sensors 10, and a control device 20, where the control device 20 includes a calculating module 21 and a storage medium 22, and the calculating module 21 is configured to execute the batch calibration method for the plurality of pressure sensors in the first embodiment according to the plurality of voltage signals, a preset first threshold, a preset second threshold, and a preset standard weight value of the standard calibrator 70, so as to obtain calibration parameters corresponding to the plurality of pressure sensors 10; the storage medium 22 is configured to store a preset standard weight value of the standard calibration object 70, a preset first threshold value, a preset second threshold value, and calibration parameters corresponding to the plurality of pressure sensors 10 obtained by the batch calibration method of the pressure sensors 10.
Specifically, the plurality of pressure sensors 10 may generate a plurality of corresponding voltage signals according to the pressure information, the external testing device 30 starts a calibration instruction, the control device 20 receives the calibration instruction, and by detecting the real-time voltage values of the plurality of pressure sensors 10, the calculating module 21 determines whether the real-time voltage values satisfy the relationship with the first threshold value and the second threshold value to obtain the first voltage value and the second voltage value and calculate the calibration parameter, wherein when the real-time voltage values of the plurality of pressure sensors are greater than the first threshold value, the current stable voltage value of each pressure sensor is obtained to obtain the first voltage value of each pressure sensor, and when the real-time voltage values of the plurality of pressure sensors are less than the second threshold value, the current stable voltage value of each pressure sensor is obtained to obtain the second voltage value of each pressure sensor, and then obtaining calibration parameters of the plurality of pressure sensors according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object.
The external testing device 30 may be a computer, the control device 20 may be a main control board, and the pressure information refers to the pressure applied by the external to the pressure sensor 10, and it can be understood that the pressure applied by the external is generated by the gravity of the standard calibration object 70.
When the external testing device 30 starts the calibration command, the control device 20 continuously detects the real-time voltage values of the plurality of pressure sensors 10, and determines the relationship between the real-time voltage values and the first threshold value and the second threshold value, i.e. determines the voltage value X1Obtaining the current stable voltage value of each pressure sensor 10 as a first voltage value V according to the relation with the first threshold value, and judging the voltage value X2The relationship with the second threshold value, the current stable voltage value of each pressure sensor 10 is obtained as a second voltage value U, the control device 20 can store a standard weight value G of a preset standard calibration object, a preset first threshold value and a preset second threshold value, calibration parameters of each pressure sensor 10 are obtained according to the first voltage value V, the second voltage value U and the standard weight value G, and identification information of the corresponding pressure sensor 10 is uploaded to the external testing device 30, the external testing device 30 has a display interface with a man-machine interaction function, the external testing device 30 generates calibration records of the corresponding pressure sensor 10 on a display interface with a man-machine interaction function so as to facilitate calibration personnel to check and monitor, for example, display tables and corresponding state identifications, display different states for table columns corresponding to calibrated and unfinished calibrated pressure sensors, to avoid repeated calibration of the same pressure sensor.
Specifically, the control device 20 includes a calculating module 21 and a storage medium 22, where the storage medium 22 is used to store each identification information n # corresponding to a plurality of pressure sensors 10, a standard weight value X of a preset standard calibration object, a preset threshold value, and a voltage value corresponding to a voltage signal. The calculation module 21 obtains calibration parameters by the calibration method according to the first embodiment according to the voltage values, the standard weight value X and the preset threshold value corresponding to the plurality of voltage signals, the calibration parameters of the pressure sensor 10 are stored in the storage medium 22, and the control device 20 establishes the association between the identification information n # and the calibration parameters. In another embodiment corresponding to the first embodiment, the calculating module 21 is integrated into the external testing device 30, and the process of calculating the calibration parameters is performed by other processing modules of the external testing device 30, and the calibration process is the same as the calibration method of the first embodiment.
EXAMPLE III
Referring to fig. 10, fig. 11 and fig. 12, a weighing cabinet is further provided in a third embodiment of the present invention, in this embodiment, the weighing cabinet is a medicine cabinet and is used for storing and managing medicines, and in other embodiments, the plurality of pressure sensors 10 may also be disposed in some products that need to be weighed intelligently, such as a weighing material cabinet, a fruit and vegetable retail cabinet, and the like. The weighing cabinet of the third embodiment implements the batch calibration method of the pressure sensors of the first embodiment to realize batch, rapid and efficient calibration of a plurality of pressure sensors 10.
In this embodiment, the weighing cabinet includes a cabinet body 40, a plurality of pressure sensors 10, a control device 20, and a display device 60, the cabinet body 40 includes at least one layer of installation space, the plurality of pressure sensors 10 are disposed in the at least one layer of installation space, the pressure sensors 10, the control device 20, and the display device 60 are in communication connection, and can generate a plurality of corresponding voltage signals according to pressure information, the control device 20 includes a calculation module 20 and a storage medium 21, the calculation module 20 is configured to execute the batch calibration method for the plurality of pressure sensors in the first embodiment according to the plurality of voltage signals, a preset first threshold, a preset second threshold, and a preset standard weight value of the standard calibrator 70, so as to obtain calibration parameters corresponding to the plurality of pressure sensors 10; the storage medium 22 is configured to store a preset standard weight value of the standard calibration object 70, a preset first threshold value, a preset second threshold value, and calibration parameters corresponding to the plurality of pressure sensors 10 obtained by the batch calibration method of the pressure sensors 10.
The control device 20 is further configured to, when any one of the plurality of pressure sensors 10 generates a voltage signal, control the calculation module to obtain the calibration parameter of the corresponding pressure sensor 10 from the storage device to generate a corresponding real-time weight value, and control a corresponding one of the display devices 60 to display the real-time weight value.
Specifically, the control device 20 is a main control board, the standard calibration object 70 is specifically a calibration weight, or other object with a known standard weight, and the pressure information refers to the pressure applied externally to the pressure sensor 10, and it can be understood that the externally applied pressure is generated by the gravity of the standard calibration object 70. When the external testing device 30 starts a calibration instruction, the control device 20 receives the calibration instruction, and by detecting the real-time voltage values of the plurality of pressure sensors 10, the calculation module 21 determines whether the real-time voltage values satisfy the relationship with the first threshold value and the second threshold value to obtain the first voltage value and the second voltage value and calculate the calibration parameter, wherein when the real-time voltage values of the plurality of pressure sensors are greater than the first threshold value, the current stable voltage value of each pressure sensor is obtained to obtain the first voltage value of each pressure sensor, and when the real-time voltage values of the plurality of pressure sensors are detected to be less than the second threshold value, the current stable voltage value of each pressure sensor is obtained to obtain the second voltage value of each pressure sensor, and then the plurality of pressure sensors are obtained according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object The calibration parameters of (1).
In this embodiment, the weighing cabinet further includes an external testing device 30, and the calculating module 21 is integrated in the external testing device 30 to calculate the calibration parameters, or the calculation of the calibration parameters is performed by other processing modules of the external testing device 30, and the calibration process is the same as the calibration method of the first embodiment.
In this embodiment, the external testing device 30 has a display interface with a human-computer interaction function, and the external testing device 30 generates the calibration record corresponding to the pressure sensor 10 on the display interface with the human-computer interaction function, so as to facilitate the calibration personnel to view and monitor, for example, the display table and the corresponding status identifier, and display different statuses for the table columns corresponding to the pressure sensors with completed calibration and incomplete calibration, so as to avoid repeated calibration of the same pressure sensor.
Referring to fig. 10, in the third embodiment, the weighing cabinet includes a plurality of display devices 60, each pressure sensor 10 corresponds to one display device 60, and the display devices 60 display the actual weight value of the medicine measured by the pressure sensor 10.
Referring to fig. 11, in another embodiment corresponding to the third embodiment, the weighing cabinet has only one display device 60, the display device 60 is in communication connection with all the pressure sensors 10, each pressure sensor 10 has a position mark on the display device 60, and the actual weight value generated by the corresponding pressure sensor 10 is displayed in the corresponding position mark. Specifically, the weighing cabinet further comprises a plurality of layers of installation spaces, each layer of installation space is correspondingly provided with one drawer 50, and the plurality of pressure sensors 10 are arranged in the drawers 50.
In this embodiment, before the weighing cabinet is used, the pressure sensors 10 inside the weighing cabinet need to be calibrated, a user clicks a calibration starting instruction of the external testing device 30, the control device 20 receives the calibration instruction, when the real-time voltage values of the plurality of pressure sensors are greater than a first threshold value, obtains a current stable voltage value of each pressure sensor to obtain a first voltage value of each pressure sensor, when the real-time voltage values of the plurality of pressure sensors are detected to be less than a second threshold value, obtains a current stable voltage value of each pressure sensor to obtain a second voltage value of each pressure sensor, then obtains calibration parameters of the plurality of pressure sensors according to the first voltage value, the second voltage value and a standard weight value of the standard calibration object, and each time the calibration of one pressure sensor 10 is completed, the external test device 30 generates calibration records and tables until calibration of all pressure sensors 10 is completed. At this time, the user can weigh the medicine, when the medicine is placed on any one of the pressure sensors 10, the corresponding pressure sensor 10 generates a voltage signal, the control device 20 extracts the calibration parameter of the pressure sensor 10, and the real-time weight value of the medicine is calculated according to the voltage signal and the calibration parameter, and is displayed on the display device 60.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for batch calibration of pressure sensors, comprising a plurality of pressure sensors and at least one standard calibration object, the method comprising:
detecting real-time voltage values of the pressure sensors;
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring the current stable voltage value of each pressure sensor to obtain the first voltage value of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring the current stable voltage value of each pressure sensor to obtain the second voltage value of each pressure sensor;
and obtaining calibration parameters of the plurality of pressure sensors according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object.
2. The batch calibration method for pressure sensors according to claim 1, wherein the calibration parameters include a first parameter and a second parameter, and the obtaining the calibration parameters of the pressure sensors according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object specifically includes:
obtaining the first parameter according to the first voltage value, the second voltage value and a standard weight value of the standard calibration object;
and obtaining the second parameter according to the first parameter and the second voltage value.
3. The batch calibration method of pressure sensors according to claim 2, wherein the plurality of pressure sensors specifically includes n pressure sensors, where n is greater than or equal to 2, and the at least one standard calibration object specifically includes 1 standard calibration object, wherein, when the real-time voltage values of the plurality of pressure sensors are greater than a first threshold value, obtaining the current stable voltage value of each of the pressure sensors to obtain the first voltage value of each of the pressure sensors, and when the real-time voltage values of the plurality of pressure sensors are detected to be less than a second threshold value, obtaining the current stable voltage value of each of the pressure sensors to obtain the second voltage value of each of the pressure sensors includes:
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a first voltage value V1, V2.. Vn of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a second voltage value U1, U2... Un of each pressure sensor;
correspondingly, the obtaining the first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
calculating the first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un and a standard weight value G of the standard calibration object.
Correspondingly, the obtaining the second parameter according to the first parameter and the second voltage value includes:
calculating the second parameter b1, b2... bn according to the first parameter k1, k2... kn and the second voltage value U1, U2... Un;
correspondingly, the method further comprises the following steps:
and packaging and uploading the first parameter k1, k2... kn and the second parameter b1, b2... bn to an external testing device.
4. The method for batch calibration of pressure sensors according to claim 3, further comprising:
acquiring identification information of a corresponding pressure sensor after acquiring the first parameter k1, k2... kn and the second parameter b1, b2... bn;
establishing association of the first parameter, the second parameter and the corresponding pressure sensor through the identification information;
correspondingly, the packaging and uploading the first parameter k1, k2... kn and the second parameter b1, b2... bn to an external testing device further comprises:
the first parameter k1, k2... kn and the second parameter b1, b2... bn are packaged and uploaded to the external test device together with identification information of the corresponding pressure sensor.
5. The batch calibration method of pressure sensors according to claim 2, wherein the plurality of pressure sensors specifically includes n pressure sensors, where n is greater than or equal to 2, and the at least one standard calibration object specifically includes at least 2 standard calibration objects, wherein the obtaining a current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are greater than a first threshold value to obtain a first voltage value of each of the pressure sensors, and the obtaining a current stable voltage value of each of the pressure sensors when the real-time voltage values of the plurality of pressure sensors are detected to be less than a second threshold value to obtain a second voltage value of each of the pressure sensors includes:
when the real-time voltage values of the pressure sensors are larger than a first threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a first voltage value V1, V2.. Vn of each pressure sensor, and when the real-time voltage values of the pressure sensors are detected to be smaller than a second threshold value, acquiring a current stable voltage value of each pressure sensor to obtain a second voltage value U1, U2... Un of each pressure sensor;
uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un in a package to an external test device;
correspondingly, the obtaining the first parameter according to the first voltage value, the second voltage value and the standard weight value of the standard calibration object comprises:
and controlling the external testing device to calculate the first parameter k1, k2... kn according to the first voltage value V1, V2.. Vn, the second voltage value U1, U2... Un and the standard weight value G of the standard calibration object.
Correspondingly, the obtaining the second parameter according to the first parameter and the second voltage value includes:
and controlling the external testing device to calculate the second parameters b1, b2... bn according to the first parameters k1, k2... kn and the second voltage values U1, U2... Un.
6. The method for batch calibration of pressure sensors of claim 5, further comprising:
acquiring identification information of a corresponding pressure sensor after acquiring the first voltage value V1, V2.. Vn, and acquiring identification information of a corresponding pressure sensor after acquiring the second voltage value U1, U2... Un;
correspondingly, the packaging and uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un to an external test device further includes:
uploading the first voltage value V1, V2.. Vn and the second voltage value U1, U2... Un to the external test device in a package with identification information of the corresponding pressure sensor;
correspondingly, the method further comprises the following steps:
and controlling the external testing device to establish the association of the first parameter, the second parameter and the corresponding pressure sensor through the identification information.
7. Method for batch calibration of pressure sensors according to claims 1-6, wherein the method further comprises:
presetting and storing the first threshold value, the second threshold value and a standard weight value preset value of the standard calibration object, wherein the first threshold value is larger than one half of a voltage value generated by each of the plurality of pressure sensors through the gravity of the standard calibration object, and the second threshold value is smaller than one half of the voltage value generated by each of the plurality of pressure sensors through the gravity of the standard calibration object.
8. The method for batch calibration of pressure sensors according to claim 1, further comprising a weighing cabinet, wherein the plurality of pressure sensors are disposed in the weighing cabinet.
9. A system for batch calibration of pressure sensors, comprising:
at least one standard calibrator;
the external testing device is used for sending a calibration instruction;
the pressure sensors are used for generating a plurality of corresponding voltage signals according to the pressure information;
a control device comprising a computing module and a storage medium:
the calculation module is used for executing the batch calibration method of the pressure sensors according to the plurality of voltage signals, a preset first threshold value, a preset second threshold value, a preset standard weight value of the standard calibration object and the plurality of pressure sensors to obtain calibration parameters corresponding to the plurality of pressure sensors;
the storage medium is used for storing a preset standard weight value of the standard calibration object, a preset first threshold value, a preset second threshold value and calibration parameters corresponding to the plurality of pressure sensors obtained after the batch calibration method of the pressure sensors in claims 1-8 is executed;
wherein a portion of the number of voltage signals is generated by gravity of the standard calibration object.
10. A weighing cabinet, comprising:
a cabinet body including at least one layer of mounting space;
the plurality of pressure sensors are arranged in at least one layer of installation space of the cabinet body and used for generating a plurality of corresponding voltage signals according to pressure information;
a control device comprising a computing module and a storage medium:
the calculation module is used for executing the batch calibration method of the pressure sensors according to the plurality of voltage signals, the preset first threshold value, the preset second threshold value, the preset standard weight value of the standard calibration object and the steps of claims 1 to 8 to obtain calibration parameters corresponding to the plurality of pressure sensors;
the storage medium is used for storing a preset standard weight value of the standard calibration object, a preset first threshold value, a preset second threshold value and calibration parameters corresponding to the plurality of pressure sensors obtained after the batch calibration method of the pressure sensors in claims 1-8 is executed;
at least one display device;
when any one of the pressure sensors generates a voltage signal, the control device is further configured to control the calculation module to obtain the calibration parameter of the corresponding pressure sensor from the storage device to generate a corresponding real-time weight value, and control the at least one display device to display the real-time weight value.
CN202111082990.4A 2021-09-15 2021-09-15 Batch calibration method and system of pressure sensors and weighing cabinet Pending CN113654723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082990.4A CN113654723A (en) 2021-09-15 2021-09-15 Batch calibration method and system of pressure sensors and weighing cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082990.4A CN113654723A (en) 2021-09-15 2021-09-15 Batch calibration method and system of pressure sensors and weighing cabinet

Publications (1)

Publication Number Publication Date
CN113654723A true CN113654723A (en) 2021-11-16

Family

ID=78493995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082990.4A Pending CN113654723A (en) 2021-09-15 2021-09-15 Batch calibration method and system of pressure sensors and weighing cabinet

Country Status (1)

Country Link
CN (1) CN113654723A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114608693A (en) * 2022-03-09 2022-06-10 上海华兴数字科技有限公司 Weighing platform calibration method and device and aerial work platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642293A (en) * 1996-06-03 1997-06-24 Camsys, Inc. Method and apparatus for determining surface profile and/or surface strain
CN102809463A (en) * 2011-06-03 2012-12-05 上海保隆汽车科技股份有限公司 Method and device for calibrating pressure sensors in batches
CN111256802A (en) * 2020-03-24 2020-06-09 深圳市润农科技有限公司 Calibration method of weighing device and weighing device
CN112816051A (en) * 2020-12-28 2021-05-18 北京迈格威科技有限公司 Sensor calibration method, weighing method and device and carrying equipment
CN112985570A (en) * 2021-02-04 2021-06-18 支付宝(杭州)信息技术有限公司 Calibration method and system for sensor of weighing shelf

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5642293A (en) * 1996-06-03 1997-06-24 Camsys, Inc. Method and apparatus for determining surface profile and/or surface strain
CN102809463A (en) * 2011-06-03 2012-12-05 上海保隆汽车科技股份有限公司 Method and device for calibrating pressure sensors in batches
CN111256802A (en) * 2020-03-24 2020-06-09 深圳市润农科技有限公司 Calibration method of weighing device and weighing device
CN112816051A (en) * 2020-12-28 2021-05-18 北京迈格威科技有限公司 Sensor calibration method, weighing method and device and carrying equipment
CN112985570A (en) * 2021-02-04 2021-06-18 支付宝(杭州)信息技术有限公司 Calibration method and system for sensor of weighing shelf

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114608693A (en) * 2022-03-09 2022-06-10 上海华兴数字科技有限公司 Weighing platform calibration method and device and aerial work platform

Similar Documents

Publication Publication Date Title
CN105258779B (en) Electronic scale automatic calibrating method
CN113701859B (en) Weighing counting method, device, system, computer equipment and readable storage medium
CN102959375B (en) Algorithm for detecting activation of a push button
US5056050A (en) Method for determining the necessity of adjusting a high-resolution electronic balance
US10317355B2 (en) Environmental sensor and method for measuring and predicting environmental parameters
JPH11511849A (en) Temperature compensation method for pressure sensor
CN113654723A (en) Batch calibration method and system of pressure sensors and weighing cabinet
CN113654722A (en) Batch calibration method and system of pressure sensors and weighing cabinet
CN113607248A (en) Hydraulic weighing method and hydraulic weighing apparatus
JPH10274555A (en) Electronic weighing instrument
US5327210A (en) Light measurement device
CN106918354B (en) Sensing system and applicable sensing information determination method
JPH03138554A (en) Humidity measuring instrument
US20210333134A1 (en) Method and computer program product for determining the measurement uncertainty of a measuring system
KR102363172B1 (en) Measurement variable sensor having internal data memory
JP2562876B2 (en) Weighing device
CN111096751A (en) Method and device for measuring vital capacity
CN117516688B (en) Real-time anti-cheating method and device for electronic scale, electronic scale and storage medium
KR102538936B1 (en) Electronic scales with imporved precision
CN215865460U (en) Electronic scale with calibration function
CN108125681A (en) A kind of Human fat balance and its detection method with non-equilibrium attitude detection
JP2588391B2 (en) Initial calibration method of gain in digital indicator
CN211365407U (en) Weight management device
CN210466361U (en) Off-hook screen-lighting control system
JPH11211587A (en) Strain gauge type converter and measurement module therefor

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