Method for detecting the weight of an object
By setting up a weighing mechanism and conveying mechanism in the dynamic scale, combined with the weight data queue and ID number management, the problem of insufficient weighing efficiency and accuracy of the dynamic scale is solved, and efficient and accurate item weight calculation is achieved.
Patent Information
- Application Number
- CN202210626050.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-02
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2042-06-02
AI Technical Summary
The existing dynamic scales have shortcomings in weighing efficiency and accuracy, with low weighing efficiency and uncontrollable weighing accuracy.
By setting up a weighing mechanism and a conveying mechanism on the weighing table, combining the weight data queue and ID number management, a data set is generated using multiple measured values and item ID numbers, and the item weight value is calculated to achieve accurate weighing.
It improves weighing efficiency and accuracy, and can accurately calculate the weight of the item when it is located on the weighing table at the same time, reducing the time requirement for the item to be located on the weighing table alone.
Smart Images

Figure CN115839754B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of detection technology. Specifically, it relates to a method for detecting the weight of an item. Background Art
[0002] A dynamic scale is used to measure the weight of an item during the transportation process of the item. The related art discloses a dynamic scale applied to a parcel handling system in the express delivery industry. The dynamic scale includes a weighing platform and a weighing sensor disposed below the weighing platform. A belt for conveying parcels in a set direction is disposed on the weighing platform. An in-scale sensor is disposed at the entrance of the weighing platform. A pulling mechanism is disposed upstream of the dynamic scale in the parcel handling system. The pulling mechanism pulls the parcel to sequentially enter the weighing platform of the dynamic scale, and the distance between adjacent parcels is long enough so that the next parcel is sent to the weighing platform only after the previous parcel leaves the weighing platform. The dynamic scale obtains the conveying time of the parcel on the weighing platform according to the length of the weighing platform and the conveying speed of the parcel, and calculates the weight value of the parcel according to a plurality of measurement values output by the weighing sensor during the time period when the parcel is conveyed on the weighing platform.
[0003] The inventors found that the dynamic scale in the related art has the problems of low weighing efficiency and uncontrollable weighing accuracy. Summary of the Invention
[0004] The objectives of this application include providing a method for detecting the weight of an item, which can efficiently and accurately detect the weight of the item.
[0005] The embodiments of this application can be implemented as follows:
[0006] This application provides a method for detecting the weight of an item, which is applied to a dynamic scale. The dynamic scale includes a weighing platform. A conveying mechanism for conveying an item in a set direction is disposed on the weighing platform. The conveying mechanism is used to receive and convey a plurality of items that arrive sequentially. A weighing mechanism is disposed below the weighing platform. The weighing mechanism is used to measure the weight of the item conveyed on the weighing platform and output measurement values at a set time interval. The method for detecting the weight of an item includes:
[0007] When the first item leaves the weighing platform, determine the first data set corresponding to the first item according to the weight data queue, and judge whether the number of first measurement values in the first data set reaches a first set value; wherein, the weight data queue is used to store a plurality of measurement values output by the weighing mechanism, and the first data set includes a plurality of first measurement values continuously output by the weighing mechanism when only the first item is on the weighing platform;
[0008] If the number of the first measurement values in the first data set reaches the first set value, calculate the weight value of the first item according to the first measurement values in the first data set; if the number of the first measurement values in the first data set does not reach the first set value, determine the second data set corresponding to the first item and the second item according to the weight data queue, and judge whether the number of the second measurement values in the second data set reaches the second set value. If the number of the second measurement values in the second data set reaches the second set value, calculate the weight value of the first item according to the second measurement values in the second data set and the weight value of the second item. Wherein, the second data set includes a plurality of second measurement values continuously output by the weighing mechanism when only the first item and the second item are on the weighing platform, and along the item conveying direction, the second item is in front of the first item.
[0009] In an alternative embodiment, the item weight detection method further includes:
[0010] Collect the measurement values output by the weighing mechanism at intervals of a set time;
[0011] Judge whether the weighing platform is in a stable state or an unstable state at the acquisition moment of each measurement value;
[0012] Store the measurement values collected when the weighing platform is in a stable state into the weight data queue;
[0013] Wherein, when there are no items at both the entrance and the exit of the weighing platform, it is determined that the weighing platform is in a stable state, and when there is an item at any one of the entrance and the exit of the weighing platform, it is determined that the weighing platform is in an unstable state.
[0014] In an alternative embodiment, each item has a unique ID number, and the item weight detection method further includes:
[0015] Collect the measurement values output by the weighing mechanism at intervals of a set time;
[0016] Determine the ID numbers of all the items on the weighing platform at the acquisition moment of each measurement value, and generate an ID number group from the determined ID numbers of all the items;
[0017] Store each measurement value and its corresponding ID number group into the weight data queue.
[0018] In an alternative embodiment, the item weight detection method further includes:
[0019] When an item arrives at the weighing platform, determine the ID number of the item and store the ID number of the item into the in-scale item queue; when the item leaves the weighing platform, remove the ID number of the item from the in-scale item queue;
[0020] The step of determining the ID numbers of all the items on the weighing platform at the acquisition moment of each measurement value includes:
[0021] Use the ID number of the item stored in the weighing item queue at the acquisition moment of each measurement value as the ID numbers of all items on the weighing platform at the acquisition moment of the measurement value.
[0022] In an alternative embodiment, the step of determining the first data set corresponding to the first item according to the weight data queue includes: retrieving a first ID number group in the weight data queue, where the first ID number group is composed of the ID numbers of the first item; determining the measurement values corresponding to the retrieved first ID number group as the first measurement values; generating a first data set using the multiple first measurement values;
[0023] The step of determining the second data set corresponding to the first item and the second item according to the weight data queue includes: retrieving a second ID number group in the weight data queue, where the second ID number group is composed of the ID numbers of the first item and the second item; determining the measurement values corresponding to the retrieved second ID number group as the second measurement values; generating a second data set using the multiple second measurement values.
[0024] In an alternative embodiment, the item weight detection method further includes:
[0025] Collect the measurement values output by the weighing mechanism once every set time interval;
[0026] Determine the time stamp of the acquisition moment of each measurement value, and store each measurement value and its corresponding time stamp into the weight data queue.
[0027] In an alternative embodiment, each item has a unique ID number;
[0028] The step of determining the first data set corresponding to the first item according to the weight data queue includes: determining the first time period corresponding to the first ID number group, where the first ID number group is composed of the ID numbers of the first item, and the first time period corresponding to the first ID number group refers to the time period when only the first item is on the weighing platform; retrieving the measurement values in the weight data queue whose time stamps are included in the first time period, and determining the retrieved measurement values as the first measurement values; generating a first data set using the multiple first measurement values;
[0029] The step of determining the second data set corresponding to the first item and the second item according to the weight data queue includes: determining the second time period corresponding to the second ID number group, where the second ID number group is composed of the ID numbers of the first item and the second item, and the second time period corresponding to the second ID number group refers to the time period when only the first item and the second item are on the weighing platform; retrieving the measurement values in the weight data queue whose time stamps are included in the second time period, and determining the retrieved measurement values as the second measurement values; generating a second data set using the multiple second measurement values.
[0030] In an alternative embodiment, the article weight detection method further includes:
[0031] Determining whether an article arrives at the weighing platform and determining whether an article leaves the weighing platform;
[0032] When it is determined that an article arrives at the weighing platform or an article leaves the weighing platform, determining the current moment as the critical event occurrence moment, and updating the article time queue according to the critical event occurrence moment and the ID number of the article on the weighing platform, where the article time queue is used to store the correspondence between time periods and ID number groups, the article time queue includes multiple time periods, the start and end times of each time period are respectively two adjacent critical event occurrence moments, and each time period corresponds to an ID number group composed of the ID numbers of the articles on the weighing platform within the time period;
[0033] The step of determining the first time period corresponding to the first ID number group includes: determining the first time period corresponding to the first ID number group by retrieving the article time queue;
[0034] The step of determining the second time period corresponding to the second ID number group includes: determining the second time period corresponding to the second ID number group by retrieving the article time queue.
[0035] In an alternative embodiment, the step of calculating the weight value of the first article according to the second measurement value in the second data set and the weight value of the second article includes:
[0036] Calculating the sum of the weights of the first article and the second article according to the second measurement value in the second data set;
[0037] Subtracting the weight value of the second article from the sum of the weights of the first article and the second article to obtain the weight value of the first article.
[0038] In an alternative embodiment, the article weight detection method further includes:
[0039] If the number of second measurement values in the second data set does not reach the second set value, determining the third data set corresponding to the first article, the second article, and the third article according to the weight data queue, and determining whether the number of third measurement values in the third data set reaches the third set value. If the number of third measurement values in the third data set reaches the third set value, calculating the weight value of the first article according to the third measurement value in the third data set, the weight value of the second article, and the weight value of the third article; where the third data set includes multiple third measurement values continuously output by the weighing mechanism when only the first article, the second article, and the third article are on the weighing platform, and along the article conveying direction, the third article is in front of the second article.
[0040] The beneficial effects of the embodiments of the present application include, for example:
[0041] In the embodiment of the present application, when the first item leaves the weighing platform, a first data set corresponding to the first item is determined, and it is judged whether the number of first measurement values in the first data set is large enough. When the number of first measurement values in the first data set is large enough, the weight value of the first item is calculated according to the first measurement values in the first data set. When the number of first measurement values in the first data set is insufficient, a second data set corresponding to the first item and the second item is determined, and when the number of second measurement values in the second data set is large enough, the weight value of the first item is calculated according to the second measurement values in the second data set and the weight value of the second item. Through the embodiment of the present application, when the time for the first item to be alone on the weighing platform is long enough, the weight value of the item can be calculated by using multiple first measurement values output by the weighing mechanism when the first item is alone on the weighing platform. When the time for the first item to be alone on the weighing platform is too short but the time for the first item and the second item to be together on the weighing platform is long enough, the weight value of the first item is calculated by using multiple second measurement values output by the weighing mechanism when the first item and the second item are together on the weighing platform and the weight value of the second item. That is, through the embodiment of the present application, the weight value of the latter item can be calculated by using the measurement values output by the weighing mechanism when two items arranged in the front and back along the conveying direction are together on the weighing platform. Therefore, during the item weighing process, it is not necessary to wait for the previous item to leave the weighing platform before sending the next item onto the weighing platform. In this way, the number of items weighed per unit time can be increased, that is, the weighing efficiency of the items can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative efforts.
[0043] Figure 1 Schematic diagram of a dynamic scale in an embodiment of the present application;
[0044] Figure 2 Block diagram of the composition of a dynamic scale in an embodiment of the present application;
[0045] Figure 3 Flowchart of a method for detecting the weight of an item in an embodiment of the present application;
[0046] Figure 4 Flowchart of forming a weight data queue in an embodiment of the present application;
[0047] Figure 5Flow chart of forming a weight data queue in another embodiment of the present application;
[0048] Figure 6 Flow chart of forming a weight data queue in yet another embodiment of the present application;
[0049] Figure 7 Schematic diagram of an article on a weighing platform at different times in an embodiment of the present application.
[0050] Icons: 010 - dynamic scale; 100 - weighing platform; 110 - conveying mechanism; 111 - conveyor belt; 112 - roller; 200 - weighing mechanism; 300 - bracket; 400 - first detection mechanism; 500 - second detection mechanism; 600 - controller. Detailed implementation manners
[0051] To make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Apparently, the described embodiments are some but not all of the embodiments of the present application. Usually, the components of the embodiments of the present application described and illustrated in the accompanying drawings here can be arranged and designed in various different configurations.
[0052] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application claimed, but merely represents selected embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without making creative efforts fall within the scope of protection of the present application.
[0053] It should be noted that: like reference numerals and letters denote like items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0054] In the description of the present application, it should be noted that if terms such as "upper", "lower", "inner", "outer", etc. are used to indicate the orientation or positional relationship, it is based on the orientation or positional relationship shown in the accompanying drawings or the orientation or positional relationship in which the inventive product is usually placed during use. It is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present application.
[0055] In addition, if terms such as "first", "second", "third", etc. are used only for distinguishing descriptions, they cannot be understood as indicating or implying relative importance.
[0056] It should be noted that, without conflict, the features in the embodiments of the present application can be combined with each other.
[0057] In the dynamic scale of the related art, since the next package needs to be sent to the weighing platform after the previous package leaves the weighing platform, and the weight value of the package is calculated based on multiple measurement values output by the weighing sensor during the time period when the package is conveyed on the weighing platform. Therefore, in order to ensure that the weighing platform can adapt to all packages to be weighed by the dynamic scale, the length of the weighing platform needs to be greater than the length of the package with the largest size, and the time for the weighing platform to convey the package with the largest size needs to meet the requirements of weighing accuracy. Since the time for weighing a package is equal to the time for the package to be conveyed on the weighing platform, the number of packages weighed by the dynamic scale of the related art per unit time is small, that is, the weighing efficiency of the package is low. Moreover, when there is a phenomenon that two packages are simultaneously on the weighing platform due to abnormal pulling of the package by the pulling mechanism (for example, the distance between two adjacent packages after pulling is less than the length of the weighing platform due to reasons such as package slipping or failure of package attitude adjustment), for one package, there will be other packages on the weighing platform during its weighing time. When calculating the weight value of the package based on multiple measurement values output by the weighing sensor during the time period when the package is conveyed on the weighing platform, the calculated weight value of the package will be inaccurate due to the interference of another package. And since the occurrence of abnormal pulling is uncertain, the dynamic scale of the related art also has the problem that the weighing accuracy of the package is uncontrollable.
[0058] In order to improve the problems of low weighing efficiency and uncontrollable weighing accuracy of the dynamic scale in the above related art, the embodiment of the present application provides an article weight detection method applicable to the dynamic scale, so that even when there are two articles in front and behind on the weighing platform, the weight of the latter article can be obtained by using the total weight and the weight of the previous article, improving the weighing accuracy; on the other hand, it also reduces the requirement for the duration of the article being alone on the weighing platform, so the weighing efficiency is also improved.
[0059] Figure 1 Schematic diagram of the dynamic scale 010 in an embodiment of the present application; Figure 2 Block diagram of the composition of the dynamic scale 010 in an embodiment of the present application. Please refer to Figure 1 and Figure 2, the dynamic scale 010 provided in this embodiment includes a bracket 300, a weighing platform 100, a weighing mechanism 200, and a controller 600. The weighing platform 100 and the weighing mechanism 200 are arranged on the bracket 300. A conveying mechanism 110 for conveying items in a set direction is arranged on the weighing platform 100. The conveying mechanism 110 is used to receive and convey a plurality of items arriving in sequence. The weighing mechanism 200 is arranged below the weighing platform 100. The weighing mechanism 200 is used to measure the weight of the items conveyed on the weighing platform 100 and output a measurement value at a set time interval. Both the conveying mechanism 110 and the weighing mechanism 200 are electrically connected to the controller 600. The controller 600 can control the conveying mechanism 110 to convey items at a set speed and can receive the measurement value output by the weighing mechanism 200 to determine the weight of each item.
[0060] In this embodiment, four weighing mechanisms 200 are arranged below the weighing platform 100 to support the entire weighing platform 100. Therefore, the sum of the measurement values of the four weighing mechanisms 200 can represent the weight of the items conveyed on the weighing platform 100. It can be understood that since the weighing mechanism 200 supports both the weighing platform 100 and the weight of the items on the weighing platform 100, the weight of the conveyed items can be obtained by using the tare method.
[0061] In this embodiment, the conveying mechanism 110 includes rollers 112, a conveyor belt 111, and a driving member. The conveyor belt 111 is used to carry items. The conveyor belt 111 is in transmission cooperation with the rollers 112. The driving member is used to drive the rollers 112 to rotate to drive the conveyor belt 111 to move in a set direction, so as to convey items in the set direction. The driving member can be selected as a motor. In other optional embodiments, the specific structure of the conveying mechanism 110 can be adjusted as needed. For example, a conveying mechanism 110 for carrying and conveying items can be formed by using a plurality of rollers arranged side by side.
[0062] In this embodiment, a first detection mechanism 400 is arranged at the outlet of the weighing platform 100. The first detection mechanism 400 is used to detect whether there is an item at the outlet of the weighing platform 100. A second detection mechanism 500 is arranged at the inlet of the weighing platform 100. The second detection mechanism 500 is used to detect whether there is an item at the inlet of the weighing platform 100. Both the first detection mechanism 400 and the second detection mechanism 500 are connected to the controller 600, so that the controller 600 can receive the signals output by the first detection mechanism 400 and the second detection mechanism 500. The controller 600 can judge whether there is an item leaving the weighing platform 100 according to the signal of the first detection mechanism 400, and can also judge whether there is an item entering the weighing platform 100 according to the signal of the second detection mechanism 500.
[0063] Optionally, the first detection mechanism 400 and the second detection mechanism 500 are optoelectronic sensors, which can output different signals according to whether the optical path is blocked by an item; and the controller 600 determines whether there is an item at the detection position of the optoelectronic sensor according to the different signals output by the optoelectronic sensor.
[0064] Figure 3 FIG. 4 is a flowchart of a method for detecting the weight of an item in an embodiment of the present application. The method for detecting the weight of an item provided in the embodiment of the present application can be applied to Figure 1 、 Figure 2 the dynamic scale 010 provided in the embodiment. As Figure 3 shown, the method for detecting the weight of an item includes:
[0065] Step S100, when the first item leaves the weighing platform, determine a first data set corresponding to the first item according to the weight data queue, and judge whether the number of first measurement values in the first data set reaches a first set value; wherein, the weight data queue is used to store multiple measurement values output by the weighing mechanism, and the first data set includes multiple first measurement values continuously output by the weighing mechanism when only the first item is on the weighing platform.
[0066] Taking the dynamic scale 010 provided in the embodiment of the present application as an example, it can be determined whether the first item leaves the weighing platform 100 according to the signal output by the first detection mechanism 400. When the first detection mechanism 400 detects that the first item leaves the weighing platform 100, the weighing mechanism 200 has previously output multiple measurement values measured during the period when the first item is on the weighing platform 100 to the controller 600. It can be understood that if the interval between the items entering the weighing platform 100 in sequence is less than the length of the weighing platform 100, then before the first item leaves the weighing platform 100, among the measurement values output by the weighing mechanism 200, some measurement values may be output when only the first item is on the weighing platform 100, and some measurement values are output when the first item and other items are on the weighing platform 100 together. It can be understood that each first measurement value continuously output by the weighing mechanism 200 when only the first item is on the weighing platform 100 can be used to directly represent the weight of the first item. Therefore, a first data set containing the first measurement values can be determined from the weight data queue to determine the weight of the first item. However, considering reducing the detection error and improving the measurement accuracy, the number of first measurement values needs to reach a certain number or more. Therefore, in this embodiment, it is necessary to examine whether the number of first measurement values reaches the first set value.
[0067] Step S200: If the number of first measurement values in the first data set reaches the first set value, calculate the weight value of the first item according to the first measurement values in the first data set; if the number of first measurement values in the first data set does not reach the first set value, determine the second data set corresponding to the first item and the second item according to the weight data queue, and judge whether the number of second measurement values in the second data set reaches the second set value. If the number of second measurement values in the second data set reaches the second set value, calculate the weight value of the first item according to the second measurement values in the second data set and the weight value of the second item; wherein, the second data set includes a plurality of second measurement values continuously output by the weighing mechanism when only the first item and the second item are on the weighing platform, and along the item conveying direction, the second item is in front of the first item.
[0068] Taking the dynamic scale 010 provided in the embodiment of the present application as an example, if the number of first measurement values in the first data set reaches the first set value, the weight value of the first item can be directly calculated using the first measurement values in the first data set, because the number of first measurement values can already meet the requirements of weighing accuracy. However, if the number of first measurement values in the first data set does not reach the first set value, it means that it is difficult to ensure the accuracy of weighing if only these first measurement values are used to determine the weight of the first item. In this case, it is necessary to examine the measurement values output by the weighing mechanism 200 when the first item and other items are on the weighing platform 100 at the same time. In this embodiment, the second measurement values continuously output by the weighing mechanism 200 included in the second data set can represent the sum of the weights of the first item and the second item. Then, the weight of the first item can be calculated from the second measurement values and the weight of the second item. Specifically, in step S200, the step of calculating the weight value of the first item according to the second measurement values in the second data set and the weight value of the second item may specifically include: calculating the sum of the weights of the first item and the second item according to the second measurement values in the second data set; subtracting the weight value of the second item from the sum of the weights of the first item and the second item to obtain the weight value of the first item.
[0069] In the embodiment of the present application, when the first item leaves the weighing platform 100, determine the first data set corresponding to the first item, and judge whether the number of first measurement values in the first data set is sufficient. When the number of first measurement values in the first data set is sufficient, calculate the weight value of the first item according to the first measurement values in the first data set. When the number of first measurement values in the first data set is insufficient, determine the second data set corresponding to the first item and the second item, and when the number of second measurement values in the second data set is sufficient, calculate the weight value of the first item according to the second measurement values in the second data set and the weight value of the second item.
[0070] In an embodiment of the present application, when the number of first measurement values included in the first data set is insufficient and is not conducive to accurately determining the weight value of the first item, the weight value of the first item can be calculated based on the second measurement values in the second data set and the weight value of the second item. Similarly, the number of second measurement values in the second data set needs to be large enough to ensure that the weight value of the first item obtained from the second measurement values and the weight value of the second item is accurate. Therefore, it is required that the number of second measurement values in the second data set reaches a second set value to ensure the weighing accuracy.
[0071] In an embodiment of the present application, the first set value and the second set value are determined according to empirical values or experimental values. The first set value is the number of first measurement values continuously output by the weighing mechanism 200 required to meet the set weighing accuracy requirement, and the second set value is the number of second measurement values continuously output by the weighing mechanism 200 required to meet the set weighing accuracy requirement. Optionally, the first set value and the second set value are equal. Since the weighing mechanism 200 outputs measurement values at a set time interval, the number of first measurement values continuously output by the weighing mechanism 200 included in the first data set can represent the time when the first item is alone on the weighing platform 100, and the number of second measurement values continuously output by the weighing mechanism 200 included in the second data set can represent the time when only the first item and the second item are on the weighing platform 100. By setting an appropriate first set value, when the first measurement values in the first data set reach the first set value, the weight value of the first item calculated using the first measurement values in the first data set can meet the weighing accuracy requirement. By setting an appropriate second set value, when the second measurement values in the second data set reach the second set value, the weight value of the first item calculated using the second measurement values in the second data set and the weight value of the second item can meet the weighing accuracy requirement.
[0072] When the article is just conveyed to the dynamic scale 010 or sent out from the dynamic scale 010, the weighing table 100 may be in an unstable state, that is, the measured value output by the weighing mechanism 200 cannot accurately represent the weight of the article on the weighing table 100 at this time. The reason is that when the article is at the entrance of the weighing table 100, it may be jointly supported by the dynamic scale 010 and the conveying device upstream of the dynamic scale 010. At this time, the measured value output by the weighing mechanism 200 obviously has no reference significance; the same problem also exists when the article is at the exit of the weighing table 100. In addition, even if the article is completely on the weighing table 100, if it is too close to the entrance or the exit, it is also possible that the forces on the multiple weighing mechanisms 200 under the weighing table 100 are not balanced enough, resulting in poor measurement accuracy. In this embodiment, the measured values stored in the weight data queue will be used to calculate the weight of the article later. In order to ensure the accuracy of the calculation, it is necessary to screen out the measured values with little reference significance when storing the measured values output by the weighing mechanism 200 into the weight data queue. Figure 4 It is a flowchart of forming a weight data queue in an embodiment of the present application. The article weight detection method provided by the embodiment of the present application further includes the step of forming a weight data queue, as Figure 4 shown, the steps of forming a weight data queue specifically include:
[0073] Step S410, collecting the measured value output by the weighing mechanism at every set time interval;
[0074] Step S420, judging whether the weighing table is in a stable state or an unstable state at the acquisition moment of each measured value;
[0075] Step S430, storing the measured values collected when the weighing table is in a stable state into the weight data queue.
[0076] Among them, when there is no article at both the entrance and the exit of the weighing table 100, it is determined that the weighing table 100 is in a stable state. When there is an article at any one of the entrance and the exit of the weighing table 100, it is determined that the weighing table 100 is in an unstable state. In this embodiment, the second detection mechanism 500 can be used to detect whether there is an article at the entrance of the weighing table 100, and the first detection mechanism 400 can be used to detect whether there is an article at the exit of the weighing table 100.
[0077] In this embodiment, the measured values collected when the weighing platform 100 is in a stable state are stored in the weight data queue for subsequent calculation of the weight of the item, while the measured values collected when the weighing platform 100 is in an unstable state are not stored in the weight data queue. That is, when detecting the weight of an item, only the measured values output by the weighing mechanism 200 when the weighing platform 100 is in a stable state are used for calculating the weight data of the item, thereby eliminating the problem of inaccurate weight calculation caused by uneven pressure exerted on multiple sensors of the weighing mechanism 200 when the item gets on and off the scale or the item not being fully supported by the weighing platform 100.
[0078] Figure 5 It is a flowchart for forming a weight data queue in another embodiment of the present application. As Figure 5 shown, in an alternative embodiment, each item may have a unique ID number. In the item weight detection method, the steps of forming a weight data queue may specifically include:
[0079] Step S510, collecting the measured values output by the weighing mechanism at intervals of a set time;
[0080] Step S520, determining the ID numbers of all items on the weighing platform at the collection moment of each measured value, and generating a group of ID numbers for all the determined items;
[0081] Step S530, storing each measured value and its corresponding group of ID numbers in the weight data queue.
[0082] In an alternative implementation manner, multiple items arriving at the weighing platform 100 in sequence are sorted, and the serial number of each item is used as the ID number of the item. For example, the ID numbers of the items are 1, 2, 3...; in another alternative implementation manner, when an item arrives at the weighing platform 100, the time stamp at the current moment is obtained and used as the ID number of the item. For example, the ID numbers of the items are 2022042715110101, 2022042715110120... When the dynamic scale 010 is applied to the express delivery industry to weigh parcels during the parcel sorting process, the waybill number of the parcel can also be used as the ID number of the parcel. By storing each measured value and the corresponding group of ID numbers in the weight data queue, it is convenient to call the measured values related to the item according to the ID number of the item and the corresponding relationship between the ID number and the measured value.
[0083] In an alternative implementation manner, the item weight detection method further includes: when an item arrives at the weighing platform 100, determining the ID number of the item and storing the ID number of the item in the queue of items on the scale; when the item leaves the weighing platform 100, removing the ID number of the item from the queue of items on the scale.
[0084] Further, in step S520 of the above embodiment, the step of determining the ID numbers of all items on the weighing platform 100 at the acquisition moment of each measurement value may specifically include: using the ID numbers of the items stored in the weighing item queue at the acquisition moment of each measurement value as the ID numbers of all items on the weighing platform 100 at the acquisition moment of the measurement value.
[0085] Optionally, in the case where the item has a unique ID number, the step of determining the first data set corresponding to the first item according to the weight data queue may specifically include: retrieving the first ID number group in the weight data queue, where the first ID number group is composed of the ID numbers of the first item; determining the measurement values corresponding to the retrieved first ID number group as the first measurement values; and generating the first data set using the multiple first measurement values. Optionally, when generating the first data set, only the first measurement values determined by retrieving the weight data queue may be stored in the first data set, or the determined first measurement values and the first ID number group may be stored in the first data set together.
[0086] Similarly, the step of determining the second data set corresponding to the first item and the second item according to the weight data queue may specifically include: retrieving the second ID number group in the weight data queue, where the second ID number group is composed of the ID numbers of the first item and the second item; determining the measurement values corresponding to the retrieved second ID number group as the second measurement values; and generating the second data set using the multiple second measurement values. Similarly, optionally, when generating the second data set, only the second measurement values determined by retrieving the weight data queue may be stored in the second data set, or the determined second measurement values and the second ID number group may be stored in the second data set together.
[0087] In this embodiment, when a measurement value is acquired, the measurement value and the ID number group corresponding to the measurement value are stored in the weight data queue together. When calculating the weight value of the item, the measurement values corresponding to one or more items are determined according to the correspondence between the measurement values and the ID number groups in the weight data queue.
[0088] Figure 6 This is a flowchart of forming a weight data queue in another embodiment of the present application. In an optional embodiment, the step of forming a weight data queue in the item weight detection method may specifically further include:
[0089] Step S610, acquiring the measurement values output by the weighing mechanism at intervals of a set time;
[0090] Step S620, determining the time stamp at the acquisition moment of each measurement value, and storing each measurement value and the time stamp corresponding to the measurement value in the weight data queue.
[0091] Further, in the case where the article has a unique ID number, the step of determining the first data set corresponding to the first article according to the weight data queue includes: determining the first time period corresponding to the first ID number group, where the first ID number group is composed of the ID numbers of the first article, and the first time period corresponding to the first ID number group refers to the time period when only the first article is on the weighing platform 100; retrieving the measured values in the weight data queue whose timestamps are included in the first time period, and determining the retrieved measured values as the first measured values; generating the first data set by using a plurality of the first measured values. Optionally, when generating the first data set, only the first measured values determined by retrieving the weight data queue may be stored in the first data set, or the determined first measured values and the timestamps corresponding to each first measured value may be stored in the first data set together.
[0092] Similarly, the step of determining the second data set corresponding to the first article and the second article according to the weight data queue includes: determining the second time period corresponding to the second ID number group, where the second ID number group is composed of the ID numbers of the first article and the second article, and the second time period corresponding to the second ID number group refers to the time period when only the first article and the second article are on the weighing platform 100; retrieving the measured values in the weight data queue whose timestamps are included in the second time period, and determining the retrieved measured values as the second measured values; generating the second data set by using a plurality of the second measured values. Optionally, when generating the second data set, only the second measured values determined by retrieving the weight data queue may be stored in the second data set, or the determined second measured values and the timestamps corresponding to each second measured value may be stored in the second data set together.
[0093] Further, the article weight detection method further includes: determining whether an article arrives at the weighing platform 100 and determining whether an article leaves the weighing platform 100; when it is determined that an article arrives at the weighing platform 100 or an article leaves the weighing platform 100, determining the current moment as the critical event occurrence moment, and updating the article time queue according to the critical event occurrence moment and the ID number of the article on the weighing platform 100, where the article time queue is used to store the correspondence between the time period and the ID number group, the article time queue includes a plurality of time periods, the start and end times of each time period are respectively two adjacent critical event occurrence moments, and each time period corresponds to an ID number group composed of the ID numbers of the articles on the weighing platform 100 during the time period.
[0094] On this basis, the step of determining the first time period corresponding to the first ID number group may specifically include: determining the first time period corresponding to the first ID number group by retrieving the article time queue.
[0095] Similarly, the steps for determining the second time period corresponding to the second ID number group may specifically include: determining the second time period corresponding to the second ID number group by retrieving the item time queue.
[0096] Figure 7 This is a schematic diagram of an item on the weighing platform 100 at different times in an embodiment of the present application. As Figure 7 shown, at time t1, item A arrives at the weighing platform 100, at time t2, item B arrives at the weighing platform 100, at time t3, item C arrives at the weighing platform 100, at time t4, item A leaves the weighing platform 100, at time t5, item B leaves the weighing platform 100, and at time t6, item C leaves the weighing platform 100. In this embodiment, the controller 600 determines t1, t2, t3, t4, t5, and t6 as the key event occurrence times respectively according to the detection results of the first detection mechanism 400 and the second detection mechanism 500. The time between t1 and t2 constitutes the T1 time period, and the ID number group corresponding to the T1 time period is composed of the ID number of item A. The time between t2 and t3 constitutes the T2 time period, and the ID number group corresponding to the T2 time period is composed of the ID number of item A and the ID number of item B. The time between t3 and t4 constitutes the T3 time period, and the ID number group corresponding to the T3 time period is composed of the ID numbers of item A, item B, and item C. The time between t4 and t5 constitutes the T4 time period, and the ID number group corresponding to the T4 time period is composed of the ID numbers of item B and item C. The time between t5 and t6 constitutes the T5 time period, and the ID number group corresponding to the T5 time period is composed of the ID number of item C. After establishing the correspondence between the above time periods and the ID number groups, the controller 600 stores the correspondence between the time periods and the ID number groups in the item time queue for subsequent determination of the time period corresponding to the ID number group by retrieving the item time queue.
[0097] In some cases, the number of second measurement values in the second data set may also be insufficient, thus unable to ensure the accuracy of the calculation when calculating the weight value of the first item using the second measurement values in the second data set. Therefore, optionally, the item weight detection method provided in the embodiments of the present application may further include:
[0098] If the number of second measurement values in the second data set does not reach the second set value, determine the third data set corresponding to the first item, the second item, and the third item according to the weight data queue, and determine whether the number of third measurement values in the third data set reaches the third set value. If the number of third measurement values in the third data set reaches the third set value, calculate the weight value of the first item according to the third measurement values in the third data set, the weight value of the second item, and the weight value of the third item; wherein, the third data set includes a plurality of third measurement values continuously output by the weighing mechanism 200 when only the first item, the second item, and the third item are on the weighing platform 100, and along the item conveying direction, the third item is in front of the second item.
[0099] Similarly, the third set value can be determined by an empirical value or an experimental value. The third set value is the number of third measurement values continuously output by the weighing mechanism 200 required to meet the set weighing accuracy requirement. The third set value can be equal to the first set value and the second set value.
[0100] Similarly, the steps of determining the third data set corresponding to the first item, the second item, and the third item according to the weight data queue can refer to the determination methods of the first data set and the second data set. For example, retrieve the third ID number group in the weight data queue, where the third ID number group is composed of the ID number of the first item, the ID number of the second item, and the ID number of the third item; determine the measurement values corresponding to the retrieved third ID number group as the first measurement values; generate the first data set using multiple first measurement values; or determine the third time period corresponding to the third ID number group, where the third time period corresponding to the third ID number group refers to the time period when only the first item, the second item, and the third item are on the weighing platform 100; retrieve the measurement values whose timestamps are included in the third time period in the weight data queue, and determine the retrieved measurement values as the third measurement values; generate the third data set using multiple third measurement values. Similarly, when generating the third data set, only the third measurement values determined by retrieving the weight data queue can be stored in the third data set, or the determined third measurement values and the third ID number group can be stored in the third data set together, or the determined third measurement values and the timestamp corresponding to each third measurement value can be stored in the third data set together.
[0101] In summary, through the article weight detection method of the embodiments of the present application, when the time for the first article to be alone on the weighing platform 100 is long enough, the weight value of the article can be calculated by using multiple first measurement values output by the weighing mechanism 200 when the first article is alone on the weighing platform 100. When the time for the first article to be alone on the weighing platform 100 is too short but the time for the first article and the second article to be together on the weighing platform 100 is long enough, the weight value of the first article can be calculated by using multiple second measurement values output by the weighing mechanism 200 when the first article and the second article are together on the weighing platform 100 and the weight value of the second article. That is, through the article weight detection method of the embodiments of the present application, the weight value of the latter article can be calculated by using the measurement values output by the weighing mechanism 200 when two articles arranged in the front and back along the conveying direction are together on the weighing platform 100. Therefore, during the article weighing process, it is not necessary to wait for the previous article to leave the weighing platform 100 before sending the next article onto the weighing platform 100. In this way, the number of articles weighed per unit time can be increased, that is, the weighing efficiency of the articles can be improved.
[0102] Moreover, through the embodiments of the present application, the multiple measurement values output by the weighing mechanism 200 can be accurately classified according to the corresponding relationship between the measurement values output by the weighing mechanism 200 and the articles on the weighing platform 100. When calculating the weight value of an article, the deviation between the calculated result of the article weight and the actual weight of the article caused by the interference of other articles together on the weighing platform 100 is eliminated. Therefore, the weighing accuracy can be improved. Based on this, when two articles are together on the weighing platform 100, the weight value of the article located behind (i.e., the first article) can be accurately obtained by using the weight value of the previously weighed successful article (i.e., the second article). Therefore, in the case of abnormal bag pulling by the bag pulling mechanism due to uncontrollable factors, each article's weight value can be accurately obtained through the embodiments of the present application, so that the weighing accuracy of the articles weighed by the dynamic scale 010 is controllable.
[0103] In addition, the embodiments of the present application can automatically judge the measurement values output by the weighing mechanism 200 when the article is on the weighing platform 100 by using a control program, and automatically select the corresponding calculation method to calculate the weight value of the article according to the judgment result. The solution does not require further limitation on the structural form of the equipment and the length of the weighing platform 100 during implementation, and has a wider application scenario. For example, the dynamic scale 010 using the article weight detection method of the embodiments of the present application can be applied to the express delivery industry to weigh parcels during the parcel sorting process, or can also be applied to the logistics loading and unloading industry to weigh goods during the process of loading and unloading goods.
[0104] Further, when calculating the weight value of one of the items using the measurement value output by the weighing mechanism 200 when multiple items are co-located on the weighing platform 100 in the embodiments of the present application, the weight of the next item is calculated using the weight value of the previous item obtained. In this way, the weighing result of each item can be obtained when the item leaves the weighing platform 100, ensuring the timeliness of item weighing.
[0105] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. An article weight detection method, applied to a dynamic scale, characterized in that, The dynamic scale includes a weighing platform, on which a conveying mechanism for conveying articles in a set direction is arranged. The conveying mechanism is used to receive and convey a plurality of articles arriving in sequence. A weighing mechanism is arranged below the weighing platform. The weighing mechanism is used to measure the weight of the articles conveyed on the weighing platform and output measurement values at set time intervals. The article weight detection method includes: When the first article leaves the weighing platform, determine a first data set corresponding to the first article according to the weight data queue, and judge whether the number of first measurement values in the first data set reaches a first set value; wherein, the weight data queue is used to store a plurality of measurement values output by the weighing mechanism, and the first data set is a plurality of consecutive first measurement values output by the weighing mechanism when only the first article is on the weighing platform. If the number of first measurement values in the first data set reaches the first set value, calculate the weight value of the first article according to the first measurement values in the first data set; if the number of first measurement values in the first data set does not reach the first set value, determine a second data set corresponding to the first article and the second article according to the weight data queue, and judge whether the number of second measurement values in the second data set reaches a second set value. If the number of second measurement values in the second data set reaches the second set value, calculate the weight value of the first article according to the second measurement values in the second data set and the weight value of the second article; wherein, the second data set is a plurality of consecutive second measurement values output by the weighing mechanism when only the first article and the second article are on the weighing platform, and along the article conveying direction, the second article is in front of the first article. The step of calculating the weight value of the first article according to the second measurement values in the second data set and the weight value of the second article includes: Calculate the weight sum of the first article and the second article according to the second measurement values in the second data set; subtract the weight value of the second article from the weight sum of the first article and the second article to obtain the weight value of the first article.
2. The article weight detection method according to claim 1, characterized in that, The article weight detection method further includes: Collect the measurement values output by the weighing mechanism once every set time interval. Judge whether the weighing platform is in a stable state or an unstable state at the acquisition moment of each measurement value. Store the measurement values collected when the weighing platform is in the stable state into the weight data queue. Wherein, when there are no articles at both the entrance and the exit of the weighing platform, it is determined that the weighing platform is in the stable state, and when there is an article at any one of the entrance and the exit of the weighing platform, it is determined that the weighing platform is in the unstable state.
3. The article weight detection method according to claim 1, characterized in that, Each article has a unique ID number. The article weight detection method further includes: Collect the measurement values output by the weighing mechanism once every set time interval. Determine the ID numbers of all the items on the weighing platform at the acquisition moment of each of the measured values, and generate a group of ID numbers for all the determined items; Store each of the measured values and its corresponding group of ID numbers into the weight data queue.
4. The article weight detection method according to claim 3, characterized in that, The item weight detection method further includes: When an item arrives at the weighing platform, determine the ID number of the item and store the ID number of the item into the in-scale item queue; when the item leaves the weighing platform, remove the ID number of the item from the in-scale item queue; The step of determining the ID numbers of all the items on the weighing platform at the acquisition moment of each of the measured values includes: Taking the ID numbers of the items stored in the in-scale item queue at the acquisition moment of each of the measured values as the ID numbers of all the items on the weighing platform at the acquisition moment of the measured values.
5. The article weight detection method according to claim 3, wherein The step of determining the first data set corresponding to the first item according to the weight data queue includes: retrieving a first group of ID numbers in the weight data queue, where the first group of ID numbers is composed of the ID numbers of the first item; determining the measured values corresponding to the retrieved first group of ID numbers as the first measured values; generating the first data set by using a plurality of the first measured values; The step of determining the second data set corresponding to the first item and the second item according to the weight data queue includes: retrieving a second group of ID numbers in the weight data queue, where the second group of ID numbers is composed of the ID numbers of the first item and the ID numbers of the second item; determining the measured values corresponding to the retrieved second group of ID numbers as the second measured values; generating the second data set by using a plurality of the second measured values.
6. The method for detecting the weight of an article according to claim 1, characterized in that, The item weight detection method further includes: Collecting the measured values output by the weighing mechanism once every set time interval; Determining the time stamp at the acquisition moment of each of the measured values, and storing each of the measured values and its corresponding time stamp into the weight data queue.
7. The article weight detection method according to claim 6, characterized in that, Each of the items has a unique ID number; The step of determining the first data set corresponding to the first item according to the weight data queue includes: determining a first time period corresponding to the first group of ID numbers, where the first group of ID numbers is composed of the ID numbers of the first item, and the first time period corresponding to the first group of ID numbers refers to the time period when only the first item is on the weighing platform; retrieving in the weight data queue the measured values whose time stamps are included in the first time period, and determining the retrieved measured values as the first measured values; generating the first data set by using a plurality of the first measured values; The step of determining the second data set corresponding to the first item and the second item according to the weight data queue includes: determining a second time period corresponding to a second ID number group, where the second ID number group is composed of the ID number of the first item and the ID number of the second item, and the second time period corresponding to the second ID number group refers to the time period when only the first item and the second item are on the weighing platform; retrieving, from the weight data queue, the measurement values whose timestamps are included in the second time period, and determining the retrieved measurement values as the second measurement values; and generating the second data set by using a plurality of the second measurement values.
8. The article weight detection method according to claim 7, characterized in that, The article weight detection method further includes: judging whether an article arrives at the weighing platform and judging whether an article leaves the weighing platform; When it is determined that an article arrives at the weighing platform or an article leaves the weighing platform, determining the current moment as the critical event occurrence moment, and updating the article time queue according to the critical event occurrence moment and the ID number of the article on the weighing platform, where the article time queue is used to store the correspondence between the time period and the ID number group, the article time queue includes a plurality of the time periods, the start and end times of each time period are two adjacent critical event occurrence moments respectively, and each time period corresponds to an ID number group composed of the ID numbers of the articles on the weighing platform during the time period; The step of determining the first time period corresponding to the first ID number group includes: determining the first time period corresponding to the first ID number group by retrieving the article time queue; The step of determining the second time period corresponding to the second ID number group includes: determining the second time period corresponding to the second ID number group by retrieving the article time queue.
9. The article weight detection method according to claim 1, characterized in that, The article weight detection method further includes: If the number of the second measurement values in the second data set does not reach the second set value, determining a third data set corresponding to the first item, the second item and the third item according to the weight data queue, judging whether the number of the third measurement values in the third data set reaches a third set value, and if the number of the third measurement values in the third data set reaches the third set value, calculating the weight value of the first item according to the third measurement values in the third data set, the weight value of the second item and the weight value of the third item; where the third data set is a plurality of the third measurement values continuously output by the weighing mechanism when only the first item, the second item and the third item are on the weighing platform, and along the article conveying direction, the third item is in front of the second item.
Citation Information
Patent Citations
Dynamic weighing method for multiple packages, and weighing device
CN109060085A
Article conveying method and equipment
CN110092159A