CN117804670A - Error correction method and device for plate-type pressure sensor - Google Patents

Error correction method and device for plate-type pressure sensor Download PDF

Info

Publication number
CN117804670A
CN117804670A CN202410221419.3A CN202410221419A CN117804670A CN 117804670 A CN117804670 A CN 117804670A CN 202410221419 A CN202410221419 A CN 202410221419A CN 117804670 A CN117804670 A CN 117804670A
Authority
CN
China
Prior art keywords
pressure
area
value
surface area
plate
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
CN202410221419.3A
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 Woosens Technology Co ltd
Original Assignee
Shenzhen Woosens 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 Woosens Technology Co ltd filed Critical Shenzhen Woosens Technology Co ltd
Priority to CN202410221419.3A priority Critical patent/CN117804670A/en
Publication of CN117804670A publication Critical patent/CN117804670A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measuring Fluid Pressure (AREA)

Abstract

The invention discloses an error correction method and device of a plate-type pressure sensor, and the technical scheme is characterized by comprising the steps of adopting the plate-type sensor to measure in an electronic scale and correcting errors of measured pressure data, wherein the error correction method comprises the following steps of: s1, when the pressure value is detected to be changed into a non-zero value, starting to collect pressure data, and when the pressure value is detected to be changed into a zero value again, packaging the collected pressure data to form a pressure data set; s2, collecting pressure data for multiple times and forming a plurality of groups of pressure data sets; s3, initializing weights for the pressure data sets; s4, training the classifier by using the pressure data set with the weight value to obtain the error of the classifier; s5, calculating the weight occupied in the final classifier according to the error of the classifier; s6, updating weight value distribution of the training pressure data set; and S7, carrying out weighted combination on the iterated classifier to obtain a prediction weight value of the combined classifier.

Description

Error correction method and device for plate-type pressure sensor
Technical Field
The invention relates to the technical field of sensors, in particular to an error correction method and device for a plate-type pressure sensor.
Background
The plate sensor is a sensor for measuring physical quantities such as force, pressure, weight and the like, is composed of a thin plate made of metal or alloy, and can generate tiny deformation when being acted by force, so that the resistance value change can be detected through a bridge circuit.
At present, chinese patent with publication number CN217179806U discloses a high-precision long plate type sensor, which comprises an elastic frame, the middle part of the elastic frame is provided with a stress body, two ends of the stress body in the length direction are end parts, two sides of the stress body in the width direction are side parts, gaps are reserved between the periphery of the stress body and the elastic frame, and the stress body is connected with the elastic frame through at least two shearing beams. The application has the following effects: the shearing beam can offset a part of excessive stretching, so that when the stress on the vertical projection surface is in contact with detection elements such as piezoresistors and the like at the lower side, the corresponding coincidence degree is improved, and the whole stability degree can be adjusted by adjusting the cross section area of the shearing beam at the end part or the side part, so that the detection precision is improved.
The foregoing prior art discloses a long plate sensor for performing pressure detection, and improves the detection accuracy through structural arrangement, but the sensor still has detection errors along with use, when generally applied to low-accuracy detection, small error variation can be ignored, but when high-accuracy requirements are met, the errors need to be accurately controlled and corrected, especially when the treatment of the present pets is met, the weight needs to be measured, so as to allocate the dosage suitable for the weight of the pets, and because the pets can jump or move, the weighing error is caused, if the errors are too large, bad reflection after the dosage of the pets is easily caused, the error correction adjustment is needed to be solved for the plate sensor with high requirement accuracy, so that the measurement requirement of high accuracy is provided.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide an error correction method and device for a plate-type pressure sensor, which have the effect of error correction and adjustment so as to improve metering precision.
In order to achieve the above purpose, the present invention provides the following technical solutions:
an error correction method of a plate-type pressure sensor is applied to the measurement of an electronic scale:
the electronic scale comprises a base, a stress body, a weighing flat plate and a plate-type sensor, wherein the stress body is arranged in the base, the plate-type sensor is arranged between the stress body and the base, and the weighing flat plate is arranged on the base and is in contact with the stress body;
the electronic scale further comprises a processor, wherein an acquisition module is configured in the processor and used for acquiring measured pressure values, a model strategy is configured in the acquisition module, the model strategy comprises statistical logic and model logic, the statistical logic comprises pressure values during the period of identifying that the pressure values change from zero to non-zero values and recovering the zero values again, the measured pressure values form a pressure data set, the pressure data set comprises measured pressure values and calculated pressure values, and the model logic is used for identifying whether a stress surface appears or not and acquiring the read measured pressure values or the calculated pressure values when the stress surface is detected;
the step of correcting errors by the measured pressure data includes:
s1, when the pressure value is detected to be changed into a non-zero value, starting to collect pressure data, and when the pressure value is detected to be changed into a zero value again, packaging the collected pressure data to form a pressure data set;
s2, collecting pressure data for multiple times and forming a plurality of groups of pressure data sets;
s3, initializing weights for the pressure data sets;
s4, training the classifier by using the pressure data set with the weight value to obtain the error of the classifier;
s5, calculating the weight occupied in the final classifier according to the error of the classifier;
s6, updating weight value distribution of the training pressure data set;
and S7, carrying out weighted combination on the iterated classifier to obtain a prediction weight value of the combined classifier.
As a further improvement of the present invention, the same weight value is assigned to each pressure dataset in the step S3:
the initial weight distribution of the pressure dataset is:
as a further improvement of the present invention, the number of iterations of training in step S4, t=1.
Selecting a data set H with the largest number of times of approaching the pressure surface area to the surface area threshold in the surface area model as a t-th classifier H t And calculates a classifier h of the dataset t The data set is distributed in weight value D t The error is as follows: e, e t,
Where H is the basic classifier and e is the error rate.
As a further improvement of the invention, the weight is usedThe representation is:
the weight value distribution updated in step S6 is:
wherein,for normalizing constant, ++>
As a further improvement of the invention, the combination of the classifiers according to the weights of the final classifier occupied by the classifier is expressed as:
and the final enhanced classifier is obtained through the action of a sign function signAnd expressed as:
updating the weight value of true or false of the pressure value in the pressure data set by calculating the error of the pressure data set, setting the metering pressure value as true, calculating the pressure value as false, and expressing the updated formula as follows:
when the pressure value is false, the weight value is updated as follows:
when the pressure value is true, the weight value is updated as follows:
the final pressure value is obtained by carrying out weighted calculation on the measured pressure value and the calculated pressure value, and the expression of the weighted calculation is as follows:
wherein F represents the final pressure value, F β Represents the measured pressure value, F θ Representing the calculated pressure value.
As a further improvement of the invention, a surface area model and a surface area threshold are configured in the model logic, the surface area threshold represents the minimum stress area when a stress surface appears on a weighing flat plate, when the stress surface appears on the weighing flat plate is detected, the pressure surface area of the stress surface is obtained and is fitted in the surface area model to form a surface area graph, the surface area graph when a single set of pressure data set metered by the weighing flat plate changes along with time is recorded, the area of the pressure surface area in the surface area graph is obtained, if the area of the pressure surface area is recognized to be larger than the surface area threshold, the surface area threshold is utilized to carry out gridding splitting on the pressure surface area, the calculated pressure value of the pressure surface area is calculated, and if the area of the pressure surface area is recognized to be smaller than or equal to the surface area threshold, the metered pressure value is calculated as the metering pressure value of the pressure surface area.
As a further improvement of the present invention, the meshing and splitting of the pressure area specifically includes:
the method comprises the steps of constructing an outer edge of a pressure surface area, determining a center point of the pressure surface area based on the outer edge, fitting a center point of a standard surface area formed by a surface area threshold value with the center point of the pressure surface area, constructing an equal-dividing axis, dividing the pressure surface area into four sub-surface areas by the equal-dividing axis, constructing a dividing surface area for dividing a sub-surface area in any sub-surface area, filling the sub-surface area according to the dividing surface area, configuring a pressure distribution algorithm, and calculating a pressure value in the pressure surface area according to the pressure distribution algorithm, wherein the pressure distribution algorithm specifically comprises the following steps:
wherein K represents the number of selected split areas, lambda represents the selection weight (lambda is a number less than 1), and Q represents the sub-areaThe total number of the segmentation areas, i represents the number of the segmentation areas, S i Representing the total area value of the segmentation area selected in the sub-area, F 0 Representing the pressure value obtained by the pressure area, S representing the total area value of the pressure area, S 0 An area value representing a threshold value of the area F S Representing the calculated true pressure value of the pressure area, a representing the assigned weight.
As a further improvement of the invention, when the splitting area is constructed, a blank threshold is also configured, the blank threshold represents the area value remained when the splitting area is filled with the sub-area, first a first area tangential to the pressure area, the standard area and the bisecting axis respectively is constructed, then a second area tangential to any three of the pressure area, the standard area, the bisecting axis or the first area is constructed, when the second area is constructed, when the difference value between the total area value of the first area and the second area and the total area value of the pressure area is smaller than or equal to the blank threshold, the construction of the second area is stopped, and the sum of the number of the first area and the second area is the total number of the splitting area.
As a further improvement of the invention, a plate adjusting electric cylinder for adjusting a weighing flat plate is arranged in the base, a detection mark is arranged on the weighing flat plate, an identification unit for identifying the detection mark is arranged in the base, the detection mark comprises a mark point and mark lines symmetrically arranged along two sides of the mark point, a checking unit and a buffer unit are also arranged in the processor, and the checking unit is used for controlling the identification unit to identify the detection mark, judging whether the weighing flat plate deflects or not through the identified detection mark, and controlling the plate adjusting electric cylinder to level the weighing flat plate;
the buffer memory unit is used for controlling the identification unit to monitor the weighing flat plate and acquire the position change of the detection mark on the weighing flat plate to form buffer memory data, the verification unit is internally provided with a detection strategy, and the verification strategy comprises:
when physical verification is carried out, the control identification unit identifies the position of the weighing flat plate, the detection unit is identified, and the inclination or the level of the weighing flat plate is judged through the position of the detection unit;
if the existence of the identification unit is identified to detect the marking line, judging that the weighing flat plate deflects;
if the identified point is a mark point, judging that the weighing flat plate is in a horizontal state;
when deflection occurs, retrieving cache data which is detected as a corresponding identification unit of a mark line, acquiring position change of a detection mark in the cache data, wherein the position change is from the lower edge of a detection point to the mark line, then representing that a weighing flat plate deflects upwards, generating a down-regulating signal, and controlling a plate regulating electric cylinder to regulate one side which corresponds to the deflection of the weighing flat plate to regulate downwards until all three identification units detect the mark point;
if the position change of the detection mark is changed from the upper edge of the detection point to the mark line, the downward deflection of the weighing flat plate is represented, an up-regulating signal is generated, and the plate regulating electric cylinder is controlled to regulate the side, corresponding to the deflection of the weighing flat plate, to be upward regulated until all three identification units detect the mark point.
As a further improvement of the present invention, the verification policy is further configured with an adjusting logic, and the adjusting logic is based on the adjusting logic to control the adjusting distance of the adjusting plate cylinder balancing plate, where the adjusting logic specifically includes:
the method comprises the steps of obtaining image data from when deflection occurs at a detection point to when a detection unit detects a mark line in cache data, generating a symbol mark for the position of the detected mark line in an image identified by the detection unit, setting a timestamp, dividing the image data with the timestamp to form a plurality of groups of sub-images, sequentially iterating the sub-images when the sub-images deflect from the detection point, performing difference processing on the images during iteration, obtaining an iteration image to the mark line after iteration, iterating the symbol mark in the iteration image, obtaining the distance between the symbol mark and the mark point, generating an offset distance, and controlling leveling of a balance weight plate based on the offset distance so as to correct errors caused by physical deflection of the balance weight plate.
The invention has the beneficial effects that:
1. whether metering is started or not is identified by detecting the change of the pressure value, a pressure data set is formed according to the pressure value during the period that the pressure value is changed from zero to non-zero and the zero value is restored again, meanwhile, when a stress surface on a weighing flat plate is detected, the pressure surface area of the stress surface is obtained, a surface area pattern is formed in a surface area model in a fitting mode, the pressure value detected by a plate type sensor is obtained according to the surface area pattern, the real pressure value when the large area is stressed is calculated through a pressure distribution algorithm, and therefore accuracy of obtaining the pressure value is improved;
2. the pressure data is subjected to error correction, the weight value is updated by combining with the classifier, the final pressure value is obtained by carrying out weighted calculation on the measured pressure value and the calculated pressure value after error calculation according to the weight value, so that the pressure subjected to error correction is obtained, the measured weight can be obtained through conversion, and the accurate measurement after error correction is achieved.
Drawings
FIG. 1 is a schematic diagram of an electronic scale employing a plate-type pressure sensor;
FIG. 2 is a schematic view of the structure of the inside of the electronic scale;
FIG. 3 is a block diagram showing the detection marks on a weighing plate;
FIG. 4 is a flow chart of an error correction method;
FIG. 5 is a flow chart of a system for obtaining a measured pressure value and calculating a pressure value;
FIG. 6 is a flow chart of a system for calculating a pressure value in a pressure area;
FIG. 7 is a cut-out area diagram;
FIG. 8 is a system flow diagram of building a first domain and a second domain;
FIG. 9 is a flow chart of a system for identifying weigh plate deflection;
fig. 10 is a flow chart of a system for obtaining offset distances.
Reference numerals: 1. a base; 2. a force-receiving body; 3. weighing a flat plate; 4. a plate sensor; 5. a plate adjusting electric cylinder; 6. detecting the label.
Detailed Description
The invention will now be described in further detail with reference to the drawings and examples. Wherein like parts are designated by like reference numerals. It should be noted that the words "front", "back", "left", "right", "upper" and "lower" used in the following description refer to directions in the drawings, and the words "bottom" and "top", "inner" and "outer" refer to directions toward or away from, respectively, the geometric center of a particular component.
Embodiment one:
referring to fig. 1 to 3, in the embodiment of the error correction method for a plate-type pressure sensor according to the present invention, when the electronic scale is used for measuring and weighing, the plate-type pressure sensor is used for detecting and measuring pressure changes, and due to the fact that errors during detection need to be considered, multiple sets of data obtained through multiple times of detection are used for calculating configuration weights in a model, the calculated weight correction data are used for obtaining corrected average data, and the average data are used as final weights obtained through measurement. The electronic scale comprises a base, a stress body, a weighing flat plate and a plate-type sensor, wherein the stress body is arranged in the base, the plate-type sensor is arranged between the stress body and the base, and the weighing flat plate is arranged on the base and is in contact with the stress body, so that when a heavy object is placed on the weighing flat plate, the stress body conducts gravity to the plate-type sensor for metering, and a pressure value is obtained.
Referring to fig. 4 to 8, the electronic scale further includes a processor, an acquisition module is configured in the processor, the acquisition module is used for acquiring a measured pressure value, a model strategy is configured in the acquisition module, the model strategy includes a statistics logic and a model logic, the statistics logic includes identifying the pressure value during the period that the pressure value changes from zero to non-zero and the zero value is restored again, the measured pressure value forms a pressure data set, the model logic is configured with a surface area model and a surface area threshold, the surface area threshold represents the minimum stressed area when the stressed surface appears on the weighing flat plate, when the stressed surface appears on the weighing flat plate is detected, the pressure surface area of the stressed surface is acquired, the surface area graph is formed by fitting in the surface area model, the area of the pressure surface area in the surface area graph is recorded, if the area of the pressure surface area is identified to be greater than the surface area threshold, the calculated pressure value of the pressure surface area is split in a gridding manner, and if the area of the pressure surface area is identified to be less than or equal to the surface area threshold, the measured pressure value of the pressure surface area is calculated.
When the pressure area is meshed and split, the method specifically comprises the following steps:
the method comprises the steps of constructing the outer edge of a pressure surface area, determining the center point of the pressure surface area based on the outer edge, fitting the center of a standard surface area formed by a surface area threshold with the center point of the pressure surface area, constructing an equal-dividing axis, dividing the pressure surface area into four sub-surface areas by the equal-dividing axis, constructing a dividing surface area for dividing the sub-surface area in any sub-surface area, filling the sub-surface area according to the dividing surface area, configuring a pressure distribution algorithm, and calculating the pressure value in the pressure surface area according to the pressure distribution algorithm.
The pressure distribution algorithm is specifically:
wherein K represents the number of selected split areas, lambda represents the selection weight (lambda is a number smaller than 1), Q represents the total number of split areas in the sub-area, i represents the number of split areas, S i Representing the total area value of the segmentation area selected in the sub-area, F 0 Representing the pressure value obtained by the pressure area, S representing the total area value of the pressure area, S 0 An area value representing a threshold value of the area F S Representing the calculated true pressure value of the pressure area, a representing the assigned weight. The method is used for calculating the real pressure value in the pressure surface according to the pressure distribution algorithm, and the influence of other noise on the pressure value is eliminated.
When the splitting area is constructed, a blank threshold is also configured, the blank threshold represents the residual area value when the splitting area fills the sub-area, a first area tangential to the pressure area, the standard area and the bisecting axis is constructed firstly, then a second area tangential to the pressure area, the standard area, the bisecting axis or any three of the first areas is constructed, when the second area is constructed, when the difference value between the total area value of the first area and the second area and the total area value of the pressure area is smaller than or equal to the blank threshold, the construction of the second area is stopped, and the sum of the number of the first area and the second area is the total number of the splitting area. So that a sliced area can be constructed that substantially fills the sub-area.
The step of correcting errors by the measured pressure data includes:
s1, when the pressure value is detected to be changed into a non-zero value, starting to collect pressure data, and when the pressure value is detected to be changed into a zero value again, packing the collected pressure data to form a pressure data set, wherein the pressure data set comprises a calculated pressure value and a metering pressure value;
s2, collecting pressure data for multiple times and forming a plurality of groups of pressure data sets;
s3, initializing weights for the pressure data sets;
wherein, in step S3, the same weight value is given to each pressure dataset:
the initial weight distribution of the pressure dataset is:
s4, training the classifier by using the pressure data set with the weight value to obtain the error of the classifier;
wherein, the number of iterations for training, t=1,;
selecting a data set H with the largest number of times of approaching the pressure surface area to the surface area threshold in the surface area model as a t-th classifier H t And calculates a classifier h of the dataset t The data set is distributed in weight value D t The error is as follows: e, e t,
Wherein H is a basic classifier, and e is an error rate;
s5, calculating the weight occupied in the final classifier according to the error of the classifier;
wherein the occupied weight is usedThe representation is:
s6, updating weight value distribution of the training pressure data set;
wherein the updated weight distribution is:
wherein,for normalizing constant, ++>
S7, carrying out weighted combination on the iterated classifier to obtain a prediction weight value of the combined classifier;
combining all the classifiers according to the weights of the final classifier occupied by the classifier, and expressing as follows:
and the final enhanced classifier is obtained through the action of a sign function signAnd expressed as:
updating the weight value of true or false of the pressure value in the pressure data set by calculating the error of the pressure data set, setting the metering pressure value as true, calculating the pressure value as false, and expressing the updated formula as follows:
when the pressure value is false, the weight value is updated as follows:
when the pressure value is true, the weight value is updated as follows:
the final pressure value is obtained by carrying out weighted calculation on the measured pressure value and the calculated pressure value, and the expression of the weighted calculation is as follows:
wherein F represents the final pressure value, F β Represents the measured pressure value, F θ Representing the calculated pressure value.
And after the error of the weight value is calculated, the final pressure value is obtained by carrying out weighted calculation on the measured pressure value and the calculated pressure value, so that the pressure subjected to error correction is obtained, and the measured weight can be obtained through conversion.
Embodiment two:
referring to fig. 3, 9 and 10, a specific implementation manner of the error correction device of a plate-type pressure sensor according to the present invention is different from the first embodiment in that a plate adjusting cylinder for adjusting a weighing plate is provided in a base, detection marks are provided on the weighing plate, three detection marks are provided along a single side of the weighing plate, the three detection marks are distributed in a triangle shape, an identification unit for identifying the detection marks is provided in the base, the detection marks include mark points and mark lines symmetrically provided along two sides of the mark points, a verification unit and a buffer unit are further provided in the processor, the verification unit is used for controlling the identification unit to identify the detection marks, judging whether the weighing plate is deflected by the identified detection marks, and controlling the plate adjusting cylinder to level the weighing plate, and if the weighing plate is deflected during weighing, the acquired weight is deflected, so that the weighing plate needs to be adjusted to maintain a level, thereby achieving an effect of physically correcting and adjusting the error.
The buffer memory unit is used for controlling the identification unit to monitor the weighing flat plate and acquire the position change of the detection mark on the weighing flat plate to form buffer memory data, the detection strategy is configured in the verification unit, and the verification strategy comprises:
when physical verification is carried out, the control identification unit identifies the position of the weighing flat plate, the detection unit is identified, and the inclination or the level of the weighing flat plate is judged through the position of the detection unit;
if the existence of the identification unit is identified to detect the marking line, judging that the weighing flat plate deflects;
if the identified point is a mark point, judging that the weighing flat plate is in a horizontal state;
when deflection occurs, retrieving cache data which is detected as a corresponding identification unit of a mark line, acquiring position change of a detection mark in the cache data, wherein the position change is from the lower edge of a detection point to the mark line, then representing that a weighing flat plate deflects upwards, generating a down-regulating signal, and controlling a plate regulating electric cylinder to regulate one side which corresponds to the deflection of the weighing flat plate to regulate downwards until all three identification units detect the mark point;
if the position change of the detection mark is changed from the upper edge of the detection point to the mark line, the downward deflection of the weighing flat plate is represented, an up-regulating signal is generated, and the plate regulating electric cylinder is controlled to regulate the side, corresponding to the deflection of the weighing flat plate, to be upward regulated until all three identification units detect the mark point.
The verification strategy is also provided with adjusting logic, the distance of adjusting the plate cylinder balancing plate is controlled based on the adjusting logic, and the adjusting logic specifically comprises:
the method comprises the steps of obtaining image data from when a detection point starts to deflect to when a detection unit detects a marking line in cache data, generating a symbol mark for the position of the marking line detected in an image identified by the detection unit, setting a timestamp, dividing the image data into a plurality of groups of sub-images by the timestamp, sequentially iterating the sub-images when the sub-images deflect from the detection point, performing difference processing on the images during iteration, obtaining an iteration image to the marking line after iteration, iterating the iteration image with a symbol mark, obtaining the distance between the symbol mark and the marking point, generating an offset distance, controlling the leveling of a plate adjusting cylinder symmetrical weight plate based on the offset distance, and correcting errors caused by physical deflection of the weighing plate so as to improve the accuracy of a pressure value detected by the metering of a plate sensor.
The detection marks are arranged into three and form triangular arrangement in sequence, so that multidirectional detection is achieved, whether the weighing flat plate is deflected or not is accurately represented, detection of the plate type sensor is affected, the detection marks are arranged to comprise mark points and mark lines symmetrically arranged along two sides of the mark points, detection of a verification strategy is matched, the direction of the deflection of the weighing flat plate is obtained, the adjustment of the adjustment plate electric cylinder is controlled to be adjusted, the adjustment of the offset distance in the adjustment logic is combined, the adjustment plate electric cylinder is controlled to be capable of adjusting the weighing flat plate, the level of the weighing flat plate is kept, and the pressure value metered by the plate type sensor is corrected from the angle of physical error correction.
The above description is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above examples, and all technical solutions belonging to the concept of the present invention belong to the protection scope of the present invention. It should be noted that modifications and adaptations to the present invention may occur to one skilled in the art without departing from the principles of the present invention and are intended to be within the scope of the present invention.

Claims (10)

1. An error correction method of a plate-type pressure sensor, which is applied to the measurement of an electronic scale, is characterized in that:
the electronic scale comprises a base, a stress body, a weighing flat plate and a plate-type sensor, wherein the stress body is arranged in the base, the plate-type sensor is arranged between the stress body and the base, and the weighing flat plate is arranged on the base and is in contact with the stress body;
the electronic scale further comprises a processor, wherein an acquisition module is configured in the processor and used for acquiring measured pressure values, a model strategy is configured in the acquisition module, the model strategy comprises statistical logic and model logic, the statistical logic comprises pressure values during the period of identifying that the pressure values change from zero to non-zero values and recovering the zero values again, the measured pressure values form a pressure data set, the pressure data set comprises measured pressure values and calculated pressure values, and the model logic is used for identifying whether a stress surface appears or not and acquiring the read measured pressure values or the calculated pressure values when the stress surface is detected;
the step of correcting errors by the measured pressure data includes:
s1, when the pressure value is detected to be changed into a non-zero value, starting to collect pressure data, and when the pressure value is detected to be changed into a zero value again, packaging the collected pressure data to form a pressure data set;
s2, collecting pressure data for multiple times and forming a plurality of groups of pressure data sets;
s3, initializing weights for the pressure data sets;
s4, training the classifier by using the pressure data set with the weight value to obtain the error of the classifier;
s5, calculating the weight occupied in the final classifier according to the error of the classifier;
s6, updating weight value distribution of the training pressure data set;
and S7, carrying out weighted combination on the iterated classifier to obtain a prediction weight value of the combined classifier.
2. The error correction method of a plate-type pressure sensor according to claim 1, wherein: the same weight value is assigned to each pressure dataset in said step S3:
the initial weight distribution of the pressure dataset is:
3. the error correction method of a plate-type pressure sensor according to claim 2, wherein: the number of iterations of training in step S4, t=1,;
selecting a data set H with the largest number of times of approaching the pressure surface area to the surface area threshold in the surface area model as a t-th classifier H t And calculates a classifier h of the dataset t The data set is distributed in weight value D t The error is as follows: e, e t,
Where H is the basic classifier and e is the error rate.
4. A method for error correction of a plate-type pressure sensor according to claim 3, characterized in that: for the weight of the saidThe representation is:
the weight value distribution updated in step S6 is:
wherein,for normalizing constant, ++>
5. The error correction method for a plate-type pressure sensor according to claim 4, wherein: combining all the classifiers according to the weights of the final classifier occupied by the classifier, and expressing as follows:
and the final enhanced classifier is obtained through the action of a sign function signAnd expressed as:
updating the weight value of true or false of the pressure value in the pressure data set by calculating the error of the pressure data set, setting the metering pressure value as true, calculating the pressure value as false, and expressing the updated formula as follows:
when the pressure value is false, the weight value is updated as follows:
when the pressure value is true, the weight value is updated as follows:
the final pressure value is obtained by carrying out weighted calculation on the measured pressure value and the calculated pressure value, and the expression of the weighted calculation is as follows:
wherein F represents the final pressure value, F β Represents the measured pressure value, F θ Representing the calculated pressure value.
6. The error correction method for a plate-type pressure sensor according to claim 5, wherein: the method comprises the steps of configuring a surface area model and a surface area threshold in model logic, wherein the surface area threshold represents the minimum stress area when a stress surface appears on a weighing flat plate, acquiring a pressure surface area of the stress surface when the stress surface appears on the weighing flat plate is detected, fitting the pressure surface area in the surface area model to form a surface area graph, recording the surface area graph when a single group of pressure data set metered by the weighing flat plate changes along with time, acquiring the area of the pressure surface area in the surface area graph, performing gridding splitting on the pressure surface area by utilizing the surface area threshold when the area of the pressure surface area is identified to be larger than the surface area threshold, calculating the calculated pressure value of the pressure surface area, and calculating the metered pressure value of the pressure surface area when the area of the pressure surface area is identified to be smaller than or equal to the surface area threshold.
7. The error correction method of a plate-type pressure sensor according to claim 6, wherein: when the pressure surface area is subjected to gridding disassembly, the method specifically comprises the following steps:
the method comprises the steps of constructing an outer edge of a pressure surface area, determining a center point of the pressure surface area based on the outer edge, fitting a center point of a standard surface area formed by a surface area threshold value with the center point of the pressure surface area, constructing an equal-dividing axis, dividing the pressure surface area into four sub-surface areas by the equal-dividing axis, constructing a dividing surface area for dividing a sub-surface area in any sub-surface area, filling the sub-surface area according to the dividing surface area, configuring a pressure distribution algorithm, and calculating a pressure value in the pressure surface area according to the pressure distribution algorithm, wherein the pressure distribution algorithm specifically comprises the following steps:
wherein K represents the number of selected split areas, lambda represents the selection weight (lambda is a number smaller than 1), Q represents the total number of split areas in the sub-area, i represents the number of split areas, S i Representing the total area value of the segmentation area selected in the sub-area, F 0 Representing the pressure value obtained by the pressure area, S representing the total area value of the pressure area, S 0 An area value representing a threshold value of the area F S Representing the calculated true pressure value of the pressure area, a representing the assigned weight.
8. The error correction method of a plate-type pressure sensor according to claim 7, wherein: when the splitting area is constructed, a blank threshold is also configured, the blank threshold represents the area value remained when the splitting area is filled with the sub-area, a first area tangential to the pressure area, the standard area and the bisecting axis is constructed firstly, then a second area tangential to any three of the pressure area, the standard area, the bisecting axis or the first area is constructed, when the second area is constructed, when the difference value between the total area value of the first area and the second area and the total area value of the pressure area is smaller than or equal to the blank threshold, the construction of the second area is stopped, and the sum of the number of the first area and the second area is the total number of the splitting area.
9. An error correction device for a plate-type pressure sensor, adopting the error correction method for the plate-type pressure sensor as claimed in any one of claims 1 to 8, characterized in that:
the weighing device comprises a plate adjusting electric cylinder, wherein the plate adjusting electric cylinder is arranged in a base and is connected with a weighing flat plate so as to be used for leveling the weighing flat plate, a detection mark is arranged on the weighing flat plate, an identification unit for identifying the detection mark is arranged in the base, the detection mark comprises a mark point and mark lines symmetrically arranged along two sides of the mark point, a verification unit and a buffer unit are also arranged in a processor, and the verification unit is used for controlling the identification unit to identify the detection mark, judging whether the weighing flat plate deflects or not through the identified detection mark and controlling the plate adjusting electric cylinder to level the weighing flat plate;
the buffer memory unit is used for controlling the identification unit to monitor the weighing flat plate and acquire the position change of the detection mark on the weighing flat plate to form buffer memory data, the verification unit is internally provided with a detection strategy, and the verification strategy comprises:
when physical verification is carried out, the control identification unit identifies the position of the weighing flat plate, the detection unit is identified, and the inclination or the level of the weighing flat plate is judged through the position of the detection unit;
if the existence of the identification unit is identified to detect the marking line, judging that the weighing flat plate deflects;
if the identified point is a mark point, judging that the weighing flat plate is in a horizontal state;
when deflection occurs, retrieving cache data which is detected as a corresponding identification unit of a mark line, acquiring position change of a detection mark in the cache data, wherein the position change is from the lower edge of a detection point to the mark line, then representing that a weighing flat plate deflects upwards, generating a down-regulating signal, and controlling a plate regulating electric cylinder to regulate one side which corresponds to the deflection of the weighing flat plate to regulate downwards until all three identification units detect the mark point;
if the position change of the detection mark is changed from the upper edge of the detection point to the mark line, the downward deflection of the weighing flat plate is represented, an up-regulating signal is generated, and the plate regulating electric cylinder is controlled to regulate the side, corresponding to the deflection of the weighing flat plate, to be upward regulated until all three identification units detect the mark point.
10. An apparatus for error correction of a plate-type pressure sensor as claimed in claim 9, wherein: the verification strategy is also provided with adjusting logic, the distance of adjusting the balance weight plate of the adjusting plate electric cylinder is controlled based on the adjusting logic, and the adjusting logic specifically comprises:
the method comprises the steps of obtaining image data from when deflection occurs at a detection point to when a detection unit detects a mark line in cache data, generating a symbol mark for the position of the detected mark line in an image identified by the detection unit, setting a timestamp, dividing the image data with the timestamp to form a plurality of groups of sub-images, sequentially iterating the sub-images when the sub-images deflect from the detection point, performing difference processing on the images during iteration, obtaining an iteration image to the mark line after iteration, iterating the symbol mark in the iteration image, obtaining the distance between the symbol mark and the mark point, generating an offset distance, and controlling leveling of a balance weight plate based on the offset distance so as to correct errors caused by physical deflection of the balance weight plate.
CN202410221419.3A 2024-02-28 2024-02-28 Error correction method and device for plate-type pressure sensor Pending CN117804670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410221419.3A CN117804670A (en) 2024-02-28 2024-02-28 Error correction method and device for plate-type pressure sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410221419.3A CN117804670A (en) 2024-02-28 2024-02-28 Error correction method and device for plate-type pressure sensor

Publications (1)

Publication Number Publication Date
CN117804670A true CN117804670A (en) 2024-04-02

Family

ID=90432284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410221419.3A Pending CN117804670A (en) 2024-02-28 2024-02-28 Error correction method and device for plate-type pressure sensor

Country Status (1)

Country Link
CN (1) CN117804670A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2748882Y (en) * 2004-07-16 2005-12-28 彭小勇 Electronic scale
US20110119210A1 (en) * 2009-11-16 2011-05-19 c/o Microsoft Corporation Multiple Category Learning for Training Classifiers
CN102646198A (en) * 2012-02-21 2012-08-22 温州大学 Mode recognition method of mixed linear SVM (support vector machine) classifier with hierarchical structure
CN108332837A (en) * 2017-12-06 2018-07-27 芯海科技(深圳)股份有限公司 It is a kind of applied to electronic scale based on BP neural network compensation temperature gain method
CN113935440A (en) * 2021-12-15 2022-01-14 武汉格蓝若智能技术有限公司 Iterative evaluation method and system for error state of voltage transformer
CN114691719A (en) * 2020-12-28 2022-07-01 苏州曲率量子智能科技有限公司 Big data processing method, processing device, equipment and medium
DE102021104430A1 (en) * 2021-02-24 2022-08-25 Schenck Process Europe Gmbh Weighing device and weighing method with a central digital measured value correction
US20220405561A1 (en) * 2021-06-25 2022-12-22 Samsung Electronics Co., Ltd. Electronic device and controlling method of electronic device
WO2023134264A1 (en) * 2022-01-17 2023-07-20 腾讯科技(深圳)有限公司 Error model determination method and apparatus, electronic device, computer readable storage medium, and computer program product
CN117490819A (en) * 2023-11-03 2024-02-02 湖南省光宇顺电测科技有限公司 Error compensation system and method for electronic scale

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2748882Y (en) * 2004-07-16 2005-12-28 彭小勇 Electronic scale
US20110119210A1 (en) * 2009-11-16 2011-05-19 c/o Microsoft Corporation Multiple Category Learning for Training Classifiers
CN102646198A (en) * 2012-02-21 2012-08-22 温州大学 Mode recognition method of mixed linear SVM (support vector machine) classifier with hierarchical structure
CN108332837A (en) * 2017-12-06 2018-07-27 芯海科技(深圳)股份有限公司 It is a kind of applied to electronic scale based on BP neural network compensation temperature gain method
CN114691719A (en) * 2020-12-28 2022-07-01 苏州曲率量子智能科技有限公司 Big data processing method, processing device, equipment and medium
DE102021104430A1 (en) * 2021-02-24 2022-08-25 Schenck Process Europe Gmbh Weighing device and weighing method with a central digital measured value correction
WO2022180066A1 (en) * 2021-02-24 2022-09-01 Schenck Process Europe Gmbh Weighing device and weighing method, with central digital measured value correction
US20220405561A1 (en) * 2021-06-25 2022-12-22 Samsung Electronics Co., Ltd. Electronic device and controlling method of electronic device
CN113935440A (en) * 2021-12-15 2022-01-14 武汉格蓝若智能技术有限公司 Iterative evaluation method and system for error state of voltage transformer
WO2023134264A1 (en) * 2022-01-17 2023-07-20 腾讯科技(深圳)有限公司 Error model determination method and apparatus, electronic device, computer readable storage medium, and computer program product
CN117490819A (en) * 2023-11-03 2024-02-02 湖南省光宇顺电测科技有限公司 Error compensation system and method for electronic scale

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
沈晶;杨秋颖;郑家鲲;安若鹏;: "建成环境对中国儿童青少年体力活动与肥胖的影响:系统文献综述", 中国运动医学杂志, no. 04, 25 April 2019 (2019-04-25) *
陈啸;王红英;孔丹丹;岳岩;方鹏;吕芳;: "基于粒子群参数优化和BP神经网络的颗粒饲料质量预测模型", 农业工程学报, no. 14, 23 July 2016 (2016-07-23) *

Similar Documents

Publication Publication Date Title
RU2007145186A (en) MEASUREMENT AND ANALYSIS OF THE FORCES RELATED TO THE STEPS OF FORCES DURING A DESTROY WHEN PLAYING A GOLF
US10198640B2 (en) Measuring device, measuring system, measuring method, and program
US10982951B2 (en) Axle-load measuring apparatus and axle-load measuring method
US5998741A (en) System and methods for accurately weighing and characterizing moving vehicles
CN101673316B (en) Method for identifying supporting cables needing to adjust cable force based on hybrid monitoring
US10062176B2 (en) Displacement detecting apparatus and displacement detecting method
CN114359841B (en) Video water level identification method based on space-time average
EP1641393A1 (en) Method and apparatus for detecting types of exercise
CN102246216A (en) Method and apparatus for calibrating a fall detector
CN106569220A (en) Laser ranging correction method and device applying same
US11971961B2 (en) Device and method for data fusion between heterogeneous sensors
CN109839175B (en) Bridge live load optimizing and recognizing system
CN106706097B (en) Dynamic weighing method and system
KR20090077170A (en) Golf analyzing system
CN109002862B (en) Neural network-based soft measurement method and system for copper ore flotation machine
CN112710250A (en) Three-dimensional measurement method based on line structured light and sensor
CN113804696B (en) Method for determining size and area of defect on surface of bar
CN111868486B (en) Axle load measuring device and axle load measuring method
CN113610786B (en) Rail deformation monitoring method based on vision measurement
KR101348817B1 (en) Method and system for estimation of error or omitted measured values using artificial neural network
CN117804670A (en) Error correction method and device for plate-type pressure sensor
CN109916487A (en) Driving weight intelligent monitor system and method
JP2021148526A (en) Measuring method, measuring device, measuring system, and measuring program
CN112307888A (en) Method and system for identifying dynamic load of bridge based on machine vision positioning
JP6492387B1 (en) GM calculation system, method and program

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