US20220268622A1 - Hysteresis compensation method for a weighing device - Google Patents

Hysteresis compensation method for a weighing device Download PDF

Info

Publication number
US20220268622A1
US20220268622A1 US17/631,000 US202017631000A US2022268622A1 US 20220268622 A1 US20220268622 A1 US 20220268622A1 US 202017631000 A US202017631000 A US 202017631000A US 2022268622 A1 US2022268622 A1 US 2022268622A1
Authority
US
United States
Prior art keywords
hysteresis
compensation
ideal
value
unloading
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
US17/631,000
Inventor
Song Zhang
Shenhui Wang
ShenJian Qian
Qin Sun
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.)
Mettler Toledo Chanzhou Precision Instruments Ltd
Mettler Toledo Changzhou Measurement Technology Ltd
Mettler Toledo International Trading Shanghai Co Ltd
Mettler Toledo Changzhou Precision Instruments Ltd
Original Assignee
Mettler Toledo Chanzhou Precision Instruments Ltd
Mettler Toledo Changzhou Measurement Technology Ltd
Mettler Toledo International Trading Shanghai Co Ltd
Mettler Toledo Changzhou Precision Instruments 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 Mettler Toledo Chanzhou Precision Instruments Ltd, Mettler Toledo Changzhou Measurement Technology Ltd, Mettler Toledo International Trading Shanghai Co Ltd, Mettler Toledo Changzhou Precision Instruments Ltd filed Critical Mettler Toledo Chanzhou Precision Instruments Ltd
Assigned to Mettler-Toledo (Changzhou) Measurement Technology Ltd., METTLER-TOLEDO (CHANGZHOU) PRECISION INSTRUMENTS LTD., Mettler-Toledo International Trading (Shanghai) Co., Ltd. reassignment Mettler-Toledo (Changzhou) Measurement Technology Ltd. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: SUN, QIN, ZHANG, SONG, QIAN, SHENJIAN, Wang, Shenhui
Publication of US20220268622A1 publication Critical patent/US20220268622A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/01Testing or calibrating of weighing apparatus
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G23/00Auxiliary devices for weighing apparatus
    • G01G23/18Indicating devices, e.g. for remote indication; Recording devices; Scales, e.g. graduated
    • G01G23/36Indicating the weight by electrical means, e.g. using photoelectric cells
    • G01G23/37Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting
    • G01G23/3707Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting using a microprocessor
    • G01G23/3714Indicating the weight by electrical means, e.g. using photoelectric cells involving digital counting using a microprocessor with feedback means

Definitions

  • the present invention relates to a hysteresis compensation method for a weighing device.
  • the hysteresis error is one of main causes for weighing errors in a weighing sensor or the weighing system in general. Compensating for or correcting the hysteresis error of the weighing sensor or the weighing system is essential for improving the weighing precision of the weighing sensor or the weighing system, which contributes for accurate weighing data measurement and weighing applications.
  • the existing hysteresis compensation method for a weighing sensor or a weighing system generally have problems of low applicability, unreliable compensation effect, and limited compensation application range.
  • an e-exponential or a similar mathematical method is used for compensating hysteresis errors for a weighting sensor or a weighing system, and the e-exponential or the similar mathematical method and the envelope curve shape for a hysteresis calibration need to satisfy a certain fitting relationship.
  • the technical problem to be solved by the present invention is the limited application ranges and unreliable compensation effects of the prior art hysteresis compensation methods.
  • the technical problems associated with the prior art devices is solved by a new hysteresis compensation method.
  • the method utilizes the system's own hysteresis compensation in conjunction with an ideal hysteresis compensation and achieves an excellent hysteresis compensation effect in a complicated hysteresis situation.
  • the present invention provides a hysteresis compensation method, in which a hysteresis error is calculated for an obtained weighing value by means of an ideal hysteresis error model, and an ideal compensation value is further calculated by means of an ideal hysteresis compensation model.
  • a hysteresis error is calculated for an obtained weighing value by means of an ideal hysteresis error model
  • an ideal compensation value is further calculated by means of an ideal hysteresis compensation model.
  • the present invention leverages the proportional relationship between the ideal hysteresis error and the system hysteresis error obtained by hysteresis calibration in order to simplify the known complicated hysteresis situation.
  • the complicated hysteresis situation can be represented as ideal hysteresis situation, thereby further correcting on ideal hysteresis compensation value, which improves the precision of hysteresis compensation.
  • Good precision can be achieved in spite of the presence of a cross line in the envelop curves of hysteresis calibration.
  • the ideal hysteresis error and the ideal hysteresis compensation both use the calculation model for hysteresis errors and error compensation in the prior art to realize the calculation of ideal hysteresis compensation.
  • the establishment of the system hysteresis error model comprises the steps of:
  • the position information and the loading and unloading hysteresis error corresponding to the position information are taken as parameters of the system hysteresis error model or as the basis for parameter calculation. It is no longer limited to the selection of few fixed test points on the scale platform during the calibration process. In addition, more points can be sampled in calibration, which improves the accuracy of the error calculation, and at the same time, the selection of any test point on the weighing tray also simplifies the operation during calibration.
  • the proportional relationship is a proportional function of the data of the system hysteresis error model and data of the ideal hysteresis error model.
  • the ratio between each data in the system hysteresis error model and each data in the ideal hysteresis error model is used to constitute a proportional function, through which the compensation value is corrected.
  • the final compensation value is a product of the ideal compensation value and the proportional relationship.
  • the system hysteresis error model comprises a quadratic function fitted by combining each group of loading and unloading hysteresis errors with the corresponding position information.
  • the present invention uses the method of fitting a quadratic function to quickly establish a system hysteresis error model and reduce the extent of dependency on the system.
  • each group of loading hysteresis errors (ErrUp) and unloading hysteresis errors (ErrDown) are derived from loading measurement value (Weight1) and unloading measurement value (Weight2) at any test point, such that:
  • establishing the ideal hysteresis error model comprises the steps of:
  • the present invention samples a plurality of points from the no-load to the full-load process to fit the function, thereby improving the precision of the proposed ideal hysteresis error model.
  • the function is a quadratic function, or an exponential function, or a polynomial function.
  • the ideal hysteresis compensation model comprises a loading compensation correction factor and an unloading compensation correction factor, wherein:
  • the unloading compensation correction factor AD+BD*raw_count+CD*raw_count ⁇ 2;
  • AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and the loading compensation correction factor and the unloading compensation correction factor are output compensation values.
  • the ideal hysteresis compensation model comprises following formulas:
  • correction_factor AI+BI*raw_count+CI*raw_count ⁇ 2+AIE*[(RMAX-raw_count)/(RMAX-change_sign_value)];
  • correction_factor AD*raw_count+BD*raw_count+CD*raw_count ⁇ 2+ADE*[raw_count/change_sign_value];
  • AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; correction_factor is an output compensation value; AIE is the difference between an initial value during loading and an ideal curve; ADE is the difference between an initial value during unloading and an ideal curve; RMAX is the range of the scale; and change_sign_value is an initial value.
  • the scale is a platform scale comprising at least three weighing sensors provided therein.
  • the present invention establishes a mapping relationship between the system's own hysteresis compensation and the ideal state hysteresis compensation, and realizes the transformation of a complicated hysteresis error compensation situation into an ideal hysteresis error compensation situation.
  • the present invention not only has a good compensation effect for the hysteresis error compensation under ideal situations, but also can obtain an excellent hysteresis compensation effect under complicated hysteresis situations.
  • FIG. 1 is a flow chart of hysteresis compensation in an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a scale platform.
  • FIG. 3 is schematic diagram of a scale.
  • the present invention uses calibration data to establish a system hysteresis error model, which combines the existing ideal hysteresis model, and uses a mapping relationship between the system hysteresis error model and the ideal hysteresis error model to adjust the hysteresis compensation value, thereby realizing the transformation of a complicated hysteresis error compensation situation into an ideal hysteresis error compensation situation.
  • the scheme not only has a good compensation effect for hysteresis errors under ideal conditions, but also has a good compensation effect under complicated situations and even crossover situations.
  • a standard weight is selected within the range of a platform scale S, and the standard weight is loaded and unloaded on a weighing tray at any position on the weighing tray, and loading and unloading measurement values as well as position information of the standard weight on the weighing tray are recorded.
  • a weighing sensor is provided on each of the four corners of the scale platform P of this embodiment, and coordinates are established on the scale platform P according to the coordinate system shown in FIG. 2 , and the position information of the weighed object on the scale platform P is calculated by using the existing barycenter position calculation algorithm for weighed objects.
  • the standard weight is loaded and unloaded at four different positions A, B, C, and D shown in FIG. 2 , and the measurement values and position information of the four positions as well as the weight values of the standard weight are obtained at this time.
  • the hysteresis errors are calculated, and the calculation formulas are as follows.
  • the barycenter position information of the weighed object on the scale platform P are calculated as Xot and Yot:
  • position information of the four different positions A, B, C and D and loading and unloading hysteresis errors are grouped as a quadratic function, which is taken as a system hysteresis error model.
  • the weighing sensor 1 is omitted, and W 1 is replaced by the standard weighing data W, so that three weighing sensors are implemented to calculate the barycenter position information of the weighted object on the scale platform P.
  • a matrix of 7+7 on the scale platform P is used and the barycenter position of the weighted object is calculated using a neural network algorithm or the like.
  • the full-range value W_max of the platform scale S is determined according to the weight value for the standard weight, and the maximum hysteresis error max_largest is obtained according to the measurement values for loading and unloading operations on the scale platform P, and then the loading process is fitted into a quadratic equation by three points (0, 0), (W_max/2, -max_largest) and (W_max, 0), and the unloading process is fitted into a quadratic equation by three points (0, 0), (W_max/2, max_largest) and (W_max, 0). These two quadratic equations are taken as an ideal hysteresis error model.
  • a quadratic equation is fitted by using six points including no-load and full-load in the process from no-load to full-load, through which the precision of the constructed quantity hysteresis error model is improved.
  • more points can be sampled, and different fittings such as exponential fitting and polynomial fitting can be used to improve the precision or computational efficiency of the ideal hysteresis error model.
  • the hysteresis compensation formula is:
  • AI, BI and CI are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and correction_factor is an output compensation value.
  • an e-exponential function may be further introduced to correct the compensation value.
  • the e-exponential is simplified to a linear function, and at this time, the hysteresis compensation formula during loading is as follows:
  • correction_factor AI + BI * raw_count + CI * raw_count ⁇ 2 + AIE * [ ( RMA ⁇ raw_count ) / ( R ⁇ MAX - change_sign ⁇ _value ) ] ,
  • AIE is the difference between an initial value during loading and an ideal curve
  • RMAX is a system range
  • change_sign_value is a point initial value
  • the hysteresis compensation formula for the unloading process is:
  • AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and correction_factor is an output compensation value.
  • the e-exponential is simplified to a linear function, and at the time, the hysteresis compensation formula during unloading is as follows:
  • correction_factor AD * raw_count + BD * raw_count + CD * raw_count ⁇ 2 + ADE * [ raw_count / change_sign ⁇ _value ) ] ,
  • ADE is the difference between an initial value during unloading and an ideal curve
  • change_sign_value is a point initial value
  • An ideal hysteresis compensation model is constructed by the above compensation formulas for the loading and unloading processes.
  • the ideal hysteresis error model and the ideal hysteresis compensation model are combined to form an ideal hysteresis model.
  • the hysteresis compensation procedure in this embodiment is as follows:
  • parameters such as AIE, ADE, and parameters in the current loading and unloading direction as well as in the previous loading and unloading direction in each model are initialized.
  • the above parameters can be reset to zero.
  • the direction is determined, that is, according to the comparison between the current measurement value as well as the previous measurement value, and the preset thresholds, it is determined whether the direction of this weighing is loading or unloading.
  • the compensation value is calculated.
  • the parameters such as AIE are recalculated by using the ideal hysteresis error model, and the weight value for the current loading is recorded, and then a compensation amount is calculated based on the loading compensation formula described above or the loading compensation formula simplified by using the e-exponential. If they are the same, the parameters such as AIE and the weight value for the current loading are directly used, and the compensation value is calculated based on the loading compensation formula described above or the loading compensation formula simplified by using the e-exponential.
  • the calculation method is similar. It is also determined whether the previous loading and unloading direction is different from the current loading and unloading direction, if so, the parameters such as ADE are recalculated by using the ideal hysteresis error model, and the weight value for the current unloading is recorded, and then a compensation amount is calculated based on the unloading compensation formula described above or the unloading compensation formula simplified by using the e-exponential. If they are the same, the parameters such as ADE and the weight value for the current unloading are directly used, and the compensation amount is calculated based on the unloading compensation formula described above or the unloading compensation formula simplified by using the e-exponential.
  • the compensation value is calculated, and the proportional function between the system hysteresis error model and the ideal hysteresis error model is calculated under the current loading and unloading state.
  • the compensation amount calculated by the ideal hysteresis compensation model is multiplied by the proportional function to obtain a final compensation value for the current output.
  • a 6+6 array of weighing sensors is provided on the platform scale S.
  • a neural network algorithm, a genetic algorithm, and the like are used to calculate state information, such as the barycenter position and the object shape of a weighted object on the scale platform P.
  • the state information is used to correct the hysteresis compensation value and provide the compensation precision; or during the weighing loading or unloading process, the hysteresis error and parameters calculated by means of the system hysteresis error model and the ideal hysteresis error model are corrected so as to provide a high precision for the hysteresis compensation calculation.
  • the present invention can be implemented by means of software and necessary hardware platforms.
  • the technical solutions of the present invention essentially or for a contribution part in the prior art, can be embodied in the form of a software product, wherein the computer software product may be stored in a storage medium, comprising but not limited to a ROM/RAM (Read Only Memory/Random Access Memory), a magnetic disk, an optical disk, etc., and may comprise several instructions for causing one or more computer devices (which may be a personal computer, a server, or a network device, or the like) to perform the manner described in the various embodiments or in certain parts of the embodiments of the present invention.
  • ROM/RAM Read Only Memory/Random Access Memory
  • the hysteresis compensation procedure of the present invention may be described in the general context of the computer-executable instructions to be executed by a computer, such as a program module.
  • the program module includes programs, objects, components, data structures, and so on that execute particular tasks or implement particular abstract data types.
  • the present invention may also be practiced in a distributed computing environment in which the tasks are executed by remote processing devices that are connected via a communications network.
  • the program module may be located in local and remote computer storage media including the storage device.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Indication And Recording Devices For Special Purposes And Tariff Metering Devices (AREA)

Abstract

A hysteresis compensation method, in which a hysteresis error is calculated for an obtained weighing value by means of an ideal hysteresis error model, and an ideal compensation value is further calculated by means of an ideal hysteresis compensation model, wherein by using a proportional relationship between a system hysteresis error model established in hysteresis calibration and the ideal hysteresis error model, the ideal compensation value is corrected to a final compensation value. The method establishes a mapping relationship between the system's own hysteresis compensation and the ideal state hysteresis compensation, and realizes the transformation of a complicated hysteresis error compensation situation into an ideal hysteresis error compensation situation. The method not only has a good compensation effect for the hysteresis error compensation under ideal situations, but also can obtain an excellent hysteresis compensation effect under complicated hysteresis situations.

Description

    BACKGROUND OF THE INVENTION Technical Field
  • The present invention relates to a hysteresis compensation method for a weighing device.
  • Background Art
  • The hysteresis error is one of main causes for weighing errors in a weighing sensor or the weighing system in general. Compensating for or correcting the hysteresis error of the weighing sensor or the weighing system is essential for improving the weighing precision of the weighing sensor or the weighing system, which contributes for accurate weighing data measurement and weighing applications.
  • The existing hysteresis compensation method for a weighing sensor or a weighing system generally have problems of low applicability, unreliable compensation effect, and limited compensation application range. For example, in the document titled “A NEW HYSTERESIS COMPENSATION METHOD FOR LOAD CELLS” Zhu Zijian and Chen Renwen, Jun. 2002: vol. 19, No. 1:89-93, an e-exponential or a similar mathematical method is used for compensating hysteresis errors for a weighting sensor or a weighing system, and the e-exponential or the similar mathematical method and the envelope curve shape for a hysteresis calibration need to satisfy a certain fitting relationship. This fitting relationship cannot be guaranteed in practice due to complicated weighing sensor or weighing system, thereby resulting in a poor hysteresis compensation effect for the weighing sensor or the weighing system. Moreover, when complicated weighing sensor or weighing system is subjected to hysteresis, there is even a crossover in envelope curves for hysteresis calibration, resulting in a situation in which the compensation error is zero at the intersection during hysteresis compensation, and further resulting in an uncertain state for the hysteresis compensation method, which affects the reliability of the compensation effect of the hysteresis compensation method for the weighing sensor or the weighing system, and limits the application range of the hysteresis compensation method.
  • SUMMARY
  • The technical problem to be solved by the present invention is the limited application ranges and unreliable compensation effects of the prior art hysteresis compensation methods. The technical problems associated with the prior art devices is solved by a new hysteresis compensation method. The method utilizes the system's own hysteresis compensation in conjunction with an ideal hysteresis compensation and achieves an excellent hysteresis compensation effect in a complicated hysteresis situation.
  • The present invention provides a hysteresis compensation method, in which a hysteresis error is calculated for an obtained weighing value by means of an ideal hysteresis error model, and an ideal compensation value is further calculated by means of an ideal hysteresis compensation model. By using a proportional relationship between a system hysteresis error model established in hysteresis calibration and the ideal hysteresis error model, the ideal compensation value is corrected to a final compensation value.
  • The present invention leverages the proportional relationship between the ideal hysteresis error and the system hysteresis error obtained by hysteresis calibration in order to simplify the known complicated hysteresis situation. The complicated hysteresis situation can be represented as ideal hysteresis situation, thereby further correcting on ideal hysteresis compensation value, which improves the precision of hysteresis compensation. Good precision can be achieved in spite of the presence of a cross line in the envelop curves of hysteresis calibration.
  • Among them, the ideal hysteresis error and the ideal hysteresis compensation both use the calculation model for hysteresis errors and error compensation in the prior art to realize the calculation of ideal hysteresis compensation.
  • Preferably, the establishment of the system hysteresis error model comprises the steps of:
  • recording weight data output by a scale and position information of a standard weight on a scale platform during the sequential and individual loading and unloading of the standard weight at any position on the scale platform; and
  • calculating, for each group of the weight data, loading and unloading hysteresis errors, respectively, and establishing the system hysteresis error model in conjunction with the corresponding position information.
  • In the present invention, the position information and the loading and unloading hysteresis error corresponding to the position information are taken as parameters of the system hysteresis error model or as the basis for parameter calculation. It is no longer limited to the selection of few fixed test points on the scale platform during the calibration process. In addition, more points can be sampled in calibration, which improves the accuracy of the error calculation, and at the same time, the selection of any test point on the weighing tray also simplifies the operation during calibration.
  • Preferably, the proportional relationship is a proportional function of the data of the system hysteresis error model and data of the ideal hysteresis error model.
  • In the present invention, the ratio between each data in the system hysteresis error model and each data in the ideal hysteresis error model is used to constitute a proportional function, through which the compensation value is corrected.
  • Preferably, the final compensation value is a product of the ideal compensation value and the proportional relationship.
  • Preferably, the system hysteresis error model comprises a quadratic function fitted by combining each group of loading and unloading hysteresis errors with the corresponding position information. The present invention uses the method of fitting a quadratic function to quickly establish a system hysteresis error model and reduce the extent of dependency on the system.
  • Preferably, each group of loading hysteresis errors (ErrUp) and unloading hysteresis errors (ErrDown) are derived from loading measurement value (Weight1) and unloading measurement value (Weight2) at any test point, such that:
  • ErrUp = Weight 1 - ( Weight 1 + Weight 2 ) / 2 ErrDown = Weight 2 - ( Weight 1 + Weight 2 ) / 2.
  • Preferably, establishing the ideal hysteresis error model comprises the steps of:
  • obtaining the maximum hysteresis error of the scale at a full range; and
  • then fitting, during loading and unloading, a function with hysteresis errors at no-load, full-load and several points between no-load and full-load respectively, wherein the function constitutes the ideal hysteresis error model.
  • The present invention samples a plurality of points from the no-load to the full-load process to fit the function, thereby improving the precision of the proposed ideal hysteresis error model.
  • Preferably, the function is a quadratic function, or an exponential function, or a polynomial function.
  • Preferably, the ideal hysteresis compensation model comprises a loading compensation correction factor and an unloading compensation correction factor, wherein:
  • the loading compensation correction factor=AI+BI*raw_count+CI*raw_count^2;and
  • the unloading compensation correction factor=AD+BD*raw_count+CD*raw_count^2;
  • where AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and the loading compensation correction factor and the unloading compensation correction factor are output compensation values.
  • Preferably, the ideal hysteresis compensation model comprises following formulas:
  • a loading compensation formula: correction_factor=AI+BI*raw_count+CI*raw_count^2+AIE*[(RMAX-raw_count)/(RMAX-change_sign_value)];
  • an unloading compensation formula: correction_factor=AD*raw_count+BD*raw_count+CD*raw_count^2+ADE*[raw_count/change_sign_value];
  • where AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; correction_factor is an output compensation value; AIE is the difference between an initial value during loading and an ideal curve; ADE is the difference between an initial value during unloading and an ideal curve; RMAX is the range of the scale; and change_sign_value is an initial value.
  • Preferably, the scale is a platform scale comprising at least three weighing sensors provided therein.
  • The positive and progressive effects of the present invention are as follows:
  • the present invention establishes a mapping relationship between the system's own hysteresis compensation and the ideal state hysteresis compensation, and realizes the transformation of a complicated hysteresis error compensation situation into an ideal hysteresis error compensation situation. The present invention not only has a good compensation effect for the hysteresis error compensation under ideal situations, but also can obtain an excellent hysteresis compensation effect under complicated hysteresis situations.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The hysteresis compensation method for weighing device according to the invention will be described hereinafter through embodiments shown schematically in the drawings, wherein
  • FIG. 1 is a flow chart of hysteresis compensation in an embodiment of the present invention;
  • FIG. 2 is a schematic diagram of a scale platform.
  • FIG. 3 is schematic diagram of a scale.
  • DETAILED DESCRIPTION OF EMBODIMENTS
  • The present invention is further illustrated below by way of embodiments, but is not thus limited within the scope of the embodiments.
  • The present invention uses calibration data to establish a system hysteresis error model, which combines the existing ideal hysteresis model, and uses a mapping relationship between the system hysteresis error model and the ideal hysteresis error model to adjust the hysteresis compensation value, thereby realizing the transformation of a complicated hysteresis error compensation situation into an ideal hysteresis error compensation situation. The scheme not only has a good compensation effect for hysteresis errors under ideal conditions, but also has a good compensation effect under complicated situations and even crossover situations.
  • By way of the embodiments as described below, the implementations of the present invention are illustrated by way of examples.
  • In a platform scale S as shown in FIG. 3, a standard weight is selected within the range of a platform scale S, and the standard weight is loaded and unloaded on a weighing tray at any position on the weighing tray, and loading and unloading measurement values as well as position information of the standard weight on the weighing tray are recorded.
  • In the schematic diagram of a scale platform P as shown in FIG. 2, a weighing sensor is provided on each of the four corners of the scale platform P of this embodiment, and coordinates are established on the scale platform P according to the coordinate system shown in FIG. 2, and the position information of the weighed object on the scale platform P is calculated by using the existing barycenter position calculation algorithm for weighed objects.
  • In this embodiment, the standard weight is loaded and unloaded at four different positions A, B, C, and D shown in FIG. 2, and the measurement values and position information of the four positions as well as the weight values of the standard weight are obtained at this time. The hysteresis errors are calculated, and the calculation formulas are as follows.
  • If Weight1 and Weight2 are loading and unloading measurement values at any test point, hysteresis errors ErrUp and ErrDown for the loading and unloading are respectively as follows:
  • ErrUp = Weight 1 - ( Weight 1 + Weight 2 ) / 2 ErrDown = Weight 2 - ( Weight 1 + Weight 2 ) / 2.
  • The weight data of the four sequentially numbered weighing sensors in the scale S as shown in FIG. 2 are denoted as W1t, W2t, W3t, W4t, respectively. Then the weight of the weighted object is denoted as Wot=W1 t+W2t+W3t+W4t.
  • The barycenter position information of the weighed object on the scale platform P are calculated as Xot and Yot:
  • Xot = ( W 3 t + W 4 t ) / Wot ; Yot = ( W 2 t + W 3 t ) / Wot ;
  • Then, position information of the four different positions A, B, C and D and loading and unloading hysteresis errors are grouped as a quadratic function, which is taken as a system hysteresis error model.
  • In another embodiment, the weighing sensor 1 is omitted, and W1 is replaced by the standard weighing data W, so that three weighing sensors are implemented to calculate the barycenter position information of the weighted object on the scale platform P.
  • In still another embodiment, a matrix of 7+7 on the scale platform P is used and the barycenter position of the weighted object is calculated using a neural network algorithm or the like.
  • In this embodiment, the full-range value W_max of the platform scale S is determined according to the weight value for the standard weight, and the maximum hysteresis error max_largest is obtained according to the measurement values for loading and unloading operations on the scale platform P, and then the loading process is fitted into a quadratic equation by three points (0, 0), (W_max/2, -max_largest) and (W_max, 0), and the unloading process is fitted into a quadratic equation by three points (0, 0), (W_max/2, max_largest) and (W_max, 0). These two quadratic equations are taken as an ideal hysteresis error model.
  • In another embodiment, a quadratic equation is fitted by using six points including no-load and full-load in the process from no-load to full-load, through which the precision of the constructed quantity hysteresis error model is improved. In addition, more points can be sampled, and different fittings such as exponential fitting and polynomial fitting can be used to improve the precision or computational efficiency of the ideal hysteresis error model.
  • In the establishment of the hysteresis compensation model, for the loading process, the hysteresis compensation formula is:
  • loading compensation correction factor = AI + BI * raw_count + CI * raw_cound ^ 2 ,
  • where AI, BI and CI are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and correction_factor is an output compensation value.
  • In another embodiment, considering that there is a case where loading and unloading are not zero-load or full-range, an e-exponential function may be further introduced to correct the compensation value. In this embodiment, the e-exponential is simplified to a linear function, and at this time, the hysteresis compensation formula during loading is as follows:
  • correction_factor = AI + BI * raw_count + CI * raw_count ^ 2 + AIE * [ ( RMA × raw_count ) / ( R MAX - change_sign _value ) ] ,
  • where AIE is the difference between an initial value during loading and an ideal curve, RMAX is a system range, and change_sign_value is a point initial value.
  • In addition to the hysteresis compensation for the loading process, in this embodiment, the hysteresis compensation formula for the unloading process is:
  • unloading compensation correction factor = AD + BD * raw_count + CD * raw_count ^ 2 ,
  • where AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model; raw_count is an uncompensated value; and correction_factor is an output compensation value.
  • In another embodiment, the e-exponential is simplified to a linear function, and at the time, the hysteresis compensation formula during unloading is as follows:
  • correction_factor = AD * raw_count + BD * raw_count + CD * raw_count ^ 2 + ADE * [ raw_count / change_sign _value ) ] ,
  • where ADE is the difference between an initial value during unloading and an ideal curve; and change_sign_value is a point initial value.
  • An ideal hysteresis compensation model is constructed by the above compensation formulas for the loading and unloading processes. In this embodiment, the ideal hysteresis error model and the ideal hysteresis compensation model are combined to form an ideal hysteresis model.
  • After the platform scale records the above system hysteresis error model and the ideal hysteresis model, the hysteresis compensation procedure in this embodiment is as follows:
  • When the scale is unloaded, parameters such as AIE, ADE, and parameters in the current loading and unloading direction as well as in the previous loading and unloading direction in each model are initialized. In this embodiment, when initialized, the above parameters can be reset to zero.
  • Then, the direction is determined, that is, according to the comparison between the current measurement value as well as the previous measurement value, and the preset thresholds, it is determined whether the direction of this weighing is loading or unloading.
  • Then, the compensation value is calculated. For the loading process, it is determined whether the previous loading and unloading direction is different from the current loading and unloading direction, if so, the parameters such as AIE are recalculated by using the ideal hysteresis error model, and the weight value for the current loading is recorded, and then a compensation amount is calculated based on the loading compensation formula described above or the loading compensation formula simplified by using the e-exponential. If they are the same, the parameters such as AIE and the weight value for the current loading are directly used, and the compensation value is calculated based on the loading compensation formula described above or the loading compensation formula simplified by using the e-exponential.
  • For the unloading process, the calculation method is similar. It is also determined whether the previous loading and unloading direction is different from the current loading and unloading direction, if so, the parameters such as ADE are recalculated by using the ideal hysteresis error model, and the weight value for the current unloading is recorded, and then a compensation amount is calculated based on the unloading compensation formula described above or the unloading compensation formula simplified by using the e-exponential. If they are the same, the parameters such as ADE and the weight value for the current unloading are directly used, and the compensation amount is calculated based on the unloading compensation formula described above or the unloading compensation formula simplified by using the e-exponential.
  • Finally, the compensation value is calculated, and the proportional function between the system hysteresis error model and the ideal hysteresis error model is calculated under the current loading and unloading state. The compensation amount calculated by the ideal hysteresis compensation model is multiplied by the proportional function to obtain a final compensation value for the current output.
  • In another embodiment, a 6+6 array of weighing sensors is provided on the platform scale S. And, a neural network algorithm, a genetic algorithm, and the like are used to calculate state information, such as the barycenter position and the object shape of a weighted object on the scale platform P. And further, the state information is used to correct the hysteresis compensation value and provide the compensation precision; or during the weighing loading or unloading process, the hysteresis error and parameters calculated by means of the system hysteresis error model and the ideal hysteresis error model are corrected so as to provide a high precision for the hysteresis compensation calculation.
  • Through the above description of the hysteresis compensation procedure, it can be clearly understood by those skilled in the art that the present invention can be implemented by means of software and necessary hardware platforms. Based on such understanding, the technical solutions of the present invention, essentially or for a contribution part in the prior art, can be embodied in the form of a software product, wherein the computer software product may be stored in a storage medium, comprising but not limited to a ROM/RAM (Read Only Memory/Random Access Memory), a magnetic disk, an optical disk, etc., and may comprise several instructions for causing one or more computer devices (which may be a personal computer, a server, or a network device, or the like) to perform the manner described in the various embodiments or in certain parts of the embodiments of the present invention.
  • The hysteresis compensation procedure of the present invention may be described in the general context of the computer-executable instructions to be executed by a computer, such as a program module. Generally, the program module includes programs, objects, components, data structures, and so on that execute particular tasks or implement particular abstract data types. The present invention may also be practiced in a distributed computing environment in which the tasks are executed by remote processing devices that are connected via a communications network. In the distributed computing environment, the program module may be located in local and remote computer storage media including the storage device.
  • Although the specific implementations of the present invention are described above, a person skilled in the art should understand that these are only exemplary, and the scope of protection of the present invention is defined by the attached claims. A person skilled in the art can make various changes or modifications to these implementations without departing from the principle and spirit of the present invention, but all the changes or modifications fall within the scope of protection of the present invention.
  • LIST OF REFERENCE SYMBOLS
  • 1-4 Weighing sensors
  • S Platform scale
  • P Scale platform

Claims (13)

1. A hysteresis compensation method, comprising the steps of:
calculating a hysteresis error for an obtained weighing value by means of an ideal hysteresis error model;
calculating an ideal compensation value by means of an ideal hysteresis compensation model; and
correcting the ideal compensation value to a final compensation value by using a proportional relationship between a system hysteresis error model established in hysteresis calibration and the ideal hysteresis error model.
2. The hysteresis compensation method of claim 1, wherein the system hysteresis error model is established by a method comprising the steps of:
recording weight data output by a scale and position information of a standard weight on a scale platform during a sequential and individual loading and unloading of the standard weight at any position on the scale platform;
calculating, for each group of the recorded weight data, loading and unloading hysteresis errors, respectively; and
establishing the system hysteresis error model in conjunction with the corresponding position information.
3. The hysteresis compensation method of claim 1, wherein the proportional relationship is a proportional function of data of the system hysteresis error model and data of the ideal hysteresis error model.
4. The hysteresis compensation method of claim 3, wherein the final compensation value is a product of the ideal compensation value and the proportional relationship.
5. The hysteresis compensation method of claim 2, wherein the system hysteresis error model comprises a quadratic function fitted by combining each group of loading and unloading hysteresis errors with the corresponding position information.
6. The hysteresis compensation method of claim 5, wherein each group of loading hysteresis errors (ErrUp) and unloading hysteresis errors (ErrDown) are derived from loading measurement value (Weight1) and unloading measurement value (Weight2) at any test point, using the formulas:
ErrUp = Weight 1 - ( Weight 1 + Weight 2 ) / 2 ErrDown = Weight 2 - ( Weight 1 + Weight 2 ) / 2.
7. The hysteresis compensation method of claim 1, wherein the ideal hysteresis error model is established by a method comprising steps of:
obtaining a maximum hysteresis error of the scale (S) at a full range; and
fitting, during loading and unloading, a function with hysteresis errors at no-load, full-load and several points between no-load and full-load respectively, wherein the function constitutes the ideal hysteresis error model.
8. The hysteresis compensation method of claim 7, wherein the function is a quadratic function.
9. The hysteresis compensation method of claim 1, wherein the ideal hysteresis compensation model comprises a loading compensation correction factor F1 and an unloading compensation correction factor F2, according to the formulas:
F 1 = AI + BI * RC + CI * ( RC ) 2 and F 2 = AD + BD * RC + CD * ( RC ) 2
where:
AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model;
RC (“raw count”) is an uncompensated value; and
F1 and F2 are output compensation values.
10. The hysteresis compensation method of claim 1, wherein the ideal hysteresis compensation model comprises formulas for a loading compensation correction factor F3 and an unloading compensation correction factor F4, as follows:
F 3 = AI + BI * RC + CI * ( RC ) 2 + AIE * [ ( R MAX - RC ) / ( R MAX - CSV ) ] and F 4 = AD + BD * RC + CD * ( RC ) 2 + ADE * [ ( RC ) / ( CSV ) ]
where:
AI, BI and CI, and AD, BD and CD are parameters obtained after calculation by means of the ideal hysteresis error model;
RC (“raw-count”) count is an uncompensated value;
F3 and F4 are output compensation values;
AIE is the difference between an initial value during loading and an ideal curve;
ADE is the difference between an initial value during unloading and an ideal curve;
RMAX is range of the scale (S); and
CSV (“change sign value”) is an initial value.
11. The hysteresis compensation method of claim 2, wherein the scale (S) is a platform scale comprising at least three weighing sensors provided therein.
12. The hysteresis compensation method of claim 7, wherein the function is an exponential function.
13. The hysteresis compensation method of claim 7, wherein the function is a polynomial function.
US17/631,000 2019-07-31 2020-07-29 Hysteresis compensation method for a weighing device Pending US20220268622A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201910699874.3A CN112304412B (en) 2019-07-31 2019-07-31 Method for hysteresis compensation of a weighing device
CN201910699874.3 2019-07-31
PCT/CN2020/105354 WO2021018160A1 (en) 2019-07-31 2020-07-29 Hysteresis compensation method for a weighing device

Publications (1)

Publication Number Publication Date
US20220268622A1 true US20220268622A1 (en) 2022-08-25

Family

ID=74230212

Family Applications (1)

Application Number Title Priority Date Filing Date
US17/631,000 Pending US20220268622A1 (en) 2019-07-31 2020-07-29 Hysteresis compensation method for a weighing device

Country Status (4)

Country Link
US (1) US20220268622A1 (en)
EP (1) EP4004502A4 (en)
CN (1) CN112304412B (en)
WO (1) WO2021018160A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114959144A (en) * 2022-06-16 2022-08-30 山信软件股份有限公司 Weighing compensation method and system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112304412B (en) * 2019-07-31 2022-05-31 梅特勒-托利多(常州)测量技术有限公司 Method for hysteresis compensation of a weighing device
CN115235597A (en) * 2021-10-30 2022-10-25 浙江东鼎电子股份有限公司 Dynamic weighing angular difference compensation method
CN114800049B (en) * 2022-04-12 2024-01-23 大连榕树光学有限公司 Grating ruler processing operation signal error compensation system
CN114894289B (en) * 2022-06-20 2024-02-02 江苏省计量科学研究院(江苏省能源计量数据中心) Large-mass comparator based on data fusion algorithm
CN116481626B (en) * 2023-06-28 2023-08-29 深圳市汉德网络科技有限公司 Vehicle-mounted weighing self-adaptive high-precision calibration method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5308931A (en) * 1990-05-16 1994-05-03 Mettler-Toledo, Inc. Hysteresis-compensated weighing apparatus and method
JPH10148566A (en) * 1996-11-15 1998-06-02 Yamato Scale Co Ltd Method for compensating hysteresis error, and measuring instrument with the function
US6928853B2 (en) * 2000-10-28 2005-08-16 Schenck Process Gmbh Method and device for the hysteresis correction of measured values for sensors with extensometers
JP2014196973A (en) * 2013-03-29 2014-10-16 大和製衡株式会社 Hysteresis error compensator, load sensor, weighing device, and hysteresis error compensation method
WO2021018160A1 (en) * 2019-07-31 2021-02-04 Mettler-Toledo (Changzhou) Measurement Technology Ltd. Hysteresis compensation method for a weighing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7292951B2 (en) * 2004-07-09 2007-11-06 Aust Michael M Systems for compensating for creep and hysteresis in a load cell
CN101650215B (en) * 2008-08-11 2011-11-30 梅特勒-托利多仪器(上海)有限公司 Method for calibrating measuring range of electronic balance
CN104374453B (en) * 2014-12-03 2017-08-15 烟台钧杰衡器有限公司 Multichannel digital intelligent correction weighing sensor for offset load error and weighing method thereof
CN105737962A (en) * 2014-12-09 2016-07-06 安徽柯力电气制造有限公司 Digital module for electronic weighing device
CN108801407A (en) * 2018-08-02 2018-11-13 梅特勒-托利多(常州)测量技术有限公司 Weighing device, weighing method, weighing sensor and storage medium
CN109297579A (en) * 2018-10-22 2019-02-01 深圳市赛高智能有限公司 A kind of scaling method of weighing device, system and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5308931A (en) * 1990-05-16 1994-05-03 Mettler-Toledo, Inc. Hysteresis-compensated weighing apparatus and method
JPH10148566A (en) * 1996-11-15 1998-06-02 Yamato Scale Co Ltd Method for compensating hysteresis error, and measuring instrument with the function
US6928853B2 (en) * 2000-10-28 2005-08-16 Schenck Process Gmbh Method and device for the hysteresis correction of measured values for sensors with extensometers
JP2014196973A (en) * 2013-03-29 2014-10-16 大和製衡株式会社 Hysteresis error compensator, load sensor, weighing device, and hysteresis error compensation method
WO2021018160A1 (en) * 2019-07-31 2021-02-04 Mettler-Toledo (Changzhou) Measurement Technology Ltd. Hysteresis compensation method for a weighing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114959144A (en) * 2022-06-16 2022-08-30 山信软件股份有限公司 Weighing compensation method and system

Also Published As

Publication number Publication date
EP4004502A1 (en) 2022-06-01
WO2021018160A1 (en) 2021-02-04
CN112304412B (en) 2022-05-31
EP4004502A4 (en) 2023-08-02
CN112304412A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
US20220268622A1 (en) Hysteresis compensation method for a weighing device
US9857782B2 (en) Output value correction method for physical quantity sensor apparatus, output correction method for physical quantity sensor, physical quantity sensor apparatus and output value correction apparatus for physical quantity sensor
WO2020024872A1 (en) Weighing-based goods quantity calculation method
CA2038404C (en) Hysteresis-compensated weighing apparatus and method
WO2021037189A1 (en) Calibration method and device, and storage medium
US20190072441A1 (en) Digital creep and drift correction
Lin et al. Zero-drift error compensation method for electronic balance based on adaptive filter with autostep LMS
US20230266158A1 (en) Method and system for eccentric load error correction
JP6093622B2 (en) Hysteresis error compensation device, load sensor, weighing device, and hysteresis error compensation method
CN114136525A (en) Temperature drift compensation method and device for six-dimensional force sensor, electronic equipment and medium
WO2020178984A1 (en) Information processing device and positioning augmentation information transmission method
Salahinejad et al. Uncertainty measurement of weighing results from an electronic analytical balance
CN116907636B (en) Noise monitoring method and device
WO2024083243A1 (en) A method for level correction of a load cell in a weighing system
WO2024138364A1 (en) Method and apparatus for estimating slope on basis of weight distribution change of vehicle, electronic device, computer-readable medium, and vehicle
Lin et al. Zero-Drift Error Compensation Method for Electronic Balance Based on Incremental Broad Learning Network
CN117870841A (en) Weighing correction method and device for scale body, weighing gas stove and storage medium
JPH0797043B2 (en) Linearity correction method for weighing equipment
WO2020178982A1 (en) Information processing device and positioning augmentation information transmission method
Ulbrich Evaluation of the Accuracy of the Load Prediction Equations of Low-Load Balance Calibration Data
CN117131649A (en) Node traffic prediction method, node traffic prediction device, computer readable medium and electronic equipment
CN118134644A (en) Credit evaluation method, apparatus, computer device, storage medium and product
JPS62217122A (en) Electronic balance
CN118050538A (en) Three-dimensional wind direction detection method and system
CN112101739A (en) Automatic calibration method for transmission and storage medium

Legal Events

Date Code Title Description
AS Assignment

Owner name: METTLER-TOLEDO INTERNATIONAL TRADING (SHANGHAI) CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, SONG;WANG, SHENHUI;QIAN, SHENJIAN;AND OTHERS;SIGNING DATES FROM 20220513 TO 20220516;REEL/FRAME:059922/0816

Owner name: METTLER-TOLEDO (CHANGZHOU) PRECISION INSTRUMENTS LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, SONG;WANG, SHENHUI;QIAN, SHENJIAN;AND OTHERS;SIGNING DATES FROM 20220513 TO 20220516;REEL/FRAME:059922/0816

Owner name: METTLER-TOLEDO (CHANGZHOU) MEASUREMENT TECHNOLOGY LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, SONG;WANG, SHENHUI;QIAN, SHENJIAN;AND OTHERS;SIGNING DATES FROM 20220513 TO 20220516;REEL/FRAME:059922/0816

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

ZAAB Notice of allowance mailed

Free format text: ORIGINAL CODE: MN/=.