Control method and device of checking and sorting system and electronic equipment
By installing photoelectric sensors on the conveyor belt of the inspection and sorting system to detect the order and location of the packages, the problems of high cost and low fault tolerance in the existing technology are solved, and low-cost and high-fault tolerance package information detection is achieved.
Patent Information
- Application Number
- CN202411960735.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2044-12-30
AI Technical Summary
The existing inspection and sorting system requires additional installation of a scanning mechanism for scanning codes, resulting in high cost and low fault tolerance.
By installing photoelectric sensors at key locations on the conveyor belt, the order and position of the packages are detected, and additional installation of code scanning mechanisms are avoided.
It realizes the advantages of low cost and high fault tolerance, and can effectively detect packaged information without additional equipment.
Smart Images

Figure CN119747254A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inspection and sorting, and in particular to a control method, device and electronic equipment of an inspection and sorting system. Background Art
[0002] At present, in the inspection and sorting system, the parcel needs to enter the sorting line after the parcel is scanned by the code scanning module to obtain the parcel information. After the parcel is weighed by the weighing module to obtain the weight information, the inspection and sorting system needs to automatically associate the weight information with the corresponding parcel. The parcel then enters the X-ray machine. When the X-ray machine scans and generates an X-ray image, the inspection and sorting system needs to automatically associate the X-ray image with the corresponding parcel and conduct an intelligent review of the X-ray image. If the intelligent review finds that the parcel contains prohibited items, the inspection and sorting system will automatically move the parcel to the inspection area.
[0003] However, the prior art requires that the package be labeled in advance by a labeling mechanism, and a code scanning mechanism be installed at the weighing module, X-ray machine, etc. When the package arrives at the weighing module, X-ray machine, the package is identified by scanning the code and the associated data is obtained, so that the package information arriving at the weighing module, X-ray machine can be determined. Therefore, the prior art requires the installation of an additional code scanning mechanism for code scanning, which is costly and has a low fault tolerance rate. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a control method, device and electronic equipment for an inspection and sorting system, which can detect the order of packages on the conveyor belt and the position of the packages on the conveyor belt through photoelectric sensors, without the need to install an additional scanning mechanism for scanning, and has the advantages of low cost and high fault tolerance.
[0005] In a first aspect, an embodiment of the present invention provides a control method for an inspection and sorting system, wherein the inspection and sorting system is provided with a plurality of modules, and corresponding photoelectric sensors are provided in the plurality of modules of the conveyor belt of the inspection and sorting system; the method comprises: after the package passes through each photoelectric sensor on the conveyor belt of the inspection and sorting system, the package is written into a queue corresponding to each photoelectric sensor; wherein each photoelectric sensor is provided with a corresponding queue; information of the package is determined based on the queue corresponding to each photoelectric sensor; wherein the information of the package includes: the order of the packages on the conveyor belt and the position of the package on the conveyor belt.
[0006] In an optional embodiment of the present application, the above-mentioned conveyor belt is sequentially provided with a code scanning module, a weighing module, an X-ray machine module and a transplanting module; a first photoelectric sensor is provided in the weighing module, a second photoelectric sensor is provided behind the X-ray machine module, and a third photoelectric sensor is provided in front of the transplanting module.
[0007] In an optional embodiment of the present application, the step of writing the above-mentioned parcel into the queues corresponding to the respective photoelectric sensors after the conveyor belt of the inspection and sorting system passes through the respective photoelectric sensors includes: after the parcel passes through the code scanning module on the conveyor belt of the inspection and sorting system, associating the scanning result of the code scanning module with the parcel, and writing the parcel into the first queue; after the parcel passes through the first photoelectric sensor on the conveyor belt of the inspection and sorting system, associating the weighing result of the weighing module with the parcel, and writing the parcel into the second queue corresponding to the first photoelectric sensor; after the parcel passes through the second photoelectric sensor on the conveyor belt of the inspection and sorting system, associating the X-ray image of the X-ray machine module with the parcel, and writing the parcel into the third queue corresponding to the second photoelectric sensor; after the parcel passes through the third photoelectric sensor on the conveyor belt of the inspection and sorting system, judging whether the parcel is abnormal based on the X-ray image of the parcel, and writing the parcel into the fourth queue corresponding to the third photoelectric sensor.
[0008] In an optional embodiment of the present application, the above-mentioned step of determining the location of the package information based on the queues corresponding to each photoelectric sensor includes: determining that the last queue where the package exists is the first target queue, and the position of the package on the conveyor belt is behind the photoelectric sensor corresponding to the first target queue.
[0009] In an optional embodiment of the present application, the above-mentioned step of determining the location of the package information based on the queues corresponding to each photoelectric sensor includes: determining a second target queue where the package exists from multiple queues, and determining the order of the packages on the conveyor belt based on the order of the packages in the second target queue.
[0010] In an optional embodiment of the present application, the above method also includes: obtaining the running speed of the conveyor belt; determining the time it takes for the package to pass through each photoelectric sensor on the conveyor belt; and determining whether there is any abnormality with the package based on the running speed and time.
[0011] In an optional embodiment of the present application, the above-mentioned step of determining whether there is an abnormality in the package based on the running speed and time includes: when the package passes through the current photoelectric sensor, determining the estimated time for the package to pass through the next photoelectric sensor based on the running speed and the time for the package to pass through the current photoelectric sensor; when the package passes through the next photoelectric sensor, determining the target time for the package to pass through the next photoelectric sensor; if the target time is greater than the sum of the estimated time and the preset redundant time, determining that there is an abnormality of taking the package midway; controlling the inspection and sorting system to perform alarm processing; if the target time is less than the difference between the estimated time and the redundant time, determining that there is an abnormality of putting the package in; controlling the inspection and sorting system to perform alarm processing; if the target time is less than or equal to the sum of the estimated time and the redundant time, and the target time is greater than or equal to the difference between the estimated time and the redundant time, determining that there is no abnormality of taking or putting the package in midway.
[0012] In an optional embodiment of the present application, the above-mentioned step of determining whether there is an abnormality in the package based on the running speed and time includes: if the difference in the time for adjacent packages to pass through the photoelectric sensor; if the difference is less than a preset threshold, determining that there is an abnormality of package adhesion; controlling the inspection and sorting system to perform package pulling processing; if the difference is greater than or equal to the threshold, determining that there is no abnormality of package adhesion.
[0013] In a second aspect, an embodiment of the present invention further provides a control device for an inspection and sorting system, wherein the inspection and sorting system is provided with a plurality of modules, and corresponding photoelectric sensors are provided on the plurality of modules of the conveyor belt of the inspection and sorting system; the device comprises: a package writing queue module, for writing the package into the queue corresponding to each photoelectric sensor after the package passes through each photoelectric sensor on the conveyor belt of the inspection and sorting system; wherein each photoelectric sensor is provided with a corresponding queue; and a package information determination module, for determining the information of the package based on the queue corresponding to each photoelectric sensor; wherein the information of the package comprises: the order of the packages on the conveyor belt and the position of the package on the conveyor belt.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising a processor and a memory, the memory storing computer executable instructions that can be executed by the processor, and the processor executing the computer executable instructions to implement the above-mentioned control method of the inspection and sorting system.
[0015] The embodiments of the present invention bring the following beneficial effects:
[0016] The embodiment of the present invention provides a control method, device and electronic device for an inspection and sorting system. After a package passes through each photoelectric sensor on a conveyor belt of the inspection and sorting system, the package is written into a queue corresponding to each photoelectric sensor; wherein each photoelectric sensor is provided with a corresponding queue; the information of the package is determined based on the queue corresponding to each photoelectric sensor; wherein the information of the package includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt. In this method, the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt can be detected by photoelectric sensors, and there is no need to install an additional code scanning mechanism for code scanning, which has the advantages of low cost and high fault tolerance.
[0017] Other features and advantages of the present disclosure will be set forth in the following description, or some features and advantages may be inferred or unambiguously determined from the description, or may be learned by implementing the above-mentioned technology of the present disclosure.
[0018] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A flow chart of a control method for an inspection and sorting system provided by an embodiment of the present invention;
[0021] Figure 2 A schematic diagram of an inspection and sorting system provided by an embodiment of the present invention;
[0022] Figure 3 A flow chart of another control method for an inspection and sorting system provided by an embodiment of the present invention;
[0023] Figure 4 A schematic diagram of the structure of a control device for an inspection and sorting system provided by an embodiment of the present invention;
[0024] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] At present, in the inspection and sorting system, the parcel needs to enter the sorting line after the parcel is scanned by the code scanning module to obtain the parcel information. After the parcel is weighed by the weighing module to obtain the weight information, the inspection and sorting system needs to automatically associate the weight information with the corresponding parcel. The parcel then enters the X-ray machine. When the X-ray machine scans and generates an X-ray image, the inspection and sorting system needs to automatically associate the X-ray image with the corresponding parcel and conduct an intelligent review of the X-ray image. If the intelligent review finds that the parcel contains prohibited items, the inspection and sorting system will automatically move the parcel to the inspection area.
[0027] However, the prior art requires that the package be labeled in advance by a labeling mechanism, and a code scanning mechanism be installed at the weighing module, X-ray machine, etc. When the package arrives at the weighing module, X-ray machine, the package is identified by scanning the code and the associated data is obtained, so that the package information arriving at the weighing module, X-ray machine can be determined. Therefore, the prior art requires the installation of an additional code scanning mechanism for code scanning, which is costly and has a low fault tolerance rate.
[0028] Based on this, a control method, device and electronic device for an inspection and sorting system provided by an embodiment of the present invention specifically provides a method for determining package information by inferring based on package order, position, and speed information. It only requires the installation of photoelectric sensors at key positions. The photoelectric sensors can detect the sequence of packages on the conveyor belt and the position of packages on the conveyor belt. There is no need to install an additional scanning mechanism for scanning, which has the advantages of low cost and high fault tolerance.
[0029] To facilitate understanding of this embodiment, a control method for an inspection and sorting system disclosed in an embodiment of the present invention is first introduced in detail.
[0030] Embodiment 1:
[0031] An embodiment of the present invention provides a control method for an inspection and sorting system. The inspection and sorting system is provided with a plurality of modules, and corresponding photoelectric sensors are provided on the plurality of modules of a conveyor belt of the inspection and sorting system.
[0032] The inspection and sorting system in this embodiment can be provided with multiple modules, and corresponding photoelectric sensors can be provided in multiple modules of the conveyor belt of the inspection and sorting system in this embodiment. It should be noted here that in this embodiment, photoelectric sensors can be provided before, after or in the module as needed, and corresponding photoelectric sensors are not necessarily provided in all modules in this embodiment. In this embodiment, corresponding photoelectric sensors can be provided in appropriate positions of appropriate modules as needed.
[0033] Based on the above description, see Figure 1 The flowchart of a control method of an inspection and sorting system is shown, and the control method of the inspection and sorting system comprises the following steps:
[0034] Step S102, after the parcel passes through each photoelectric sensor on the conveyor belt of the inspection and sorting system, the parcel is written into the queue corresponding to each photoelectric sensor; wherein each photoelectric sensor is provided with a corresponding queue.
[0035] In this embodiment, it is not necessary to install an additional code scanning mechanism in each module for code scanning, and only photoelectric sensors need to be installed at key positions. Each photoelectric sensor can write the packages passing through the photoelectric sensor into the queue of the photoelectric sensor in turn.
[0036] For example, if packages 1, 2, 3, ... n pass through photoelectric sensor 1 in sequence, the queue of photoelectric sensor 1 can be recorded as 1, 2, 3, ... n[1]. If packages 1, 2, 3, ... m pass through photoelectric sensor 3 in sequence, the queue of photoelectric sensor 1 can be recorded as 1, 2, 3, ... m[3]. The numbers in brackets "[]" represent the number of the photoelectric sensor or queue, which is used to distinguish the queues of different photoelectric sensors.
[0037] Step S104, determining the information of the package based on the queues corresponding to the various photoelectric sensors; wherein the information of the package includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt.
[0038] In this embodiment, based on the queues corresponding to the various photoelectric sensors, the order of the packages on the conveyor belt and the positions of the packages on the conveyor belt and other information can be determined.
[0039] In some embodiments, the last queue in which a package exists can be determined to be the first target queue, and the position of the package on the conveyor belt is behind the photoelectric sensor corresponding to the first target queue.
[0040] For package X, if you want to determine the position of package X on the conveyor belt, you can first determine that the last queue with package X is the first target queue. For example, the queues with package X are the queues corresponding to photoelectric sensors 1, 2, and 3. Then, the last queue with package X is the queue corresponding to photoelectric sensor 3, that is, the first target queue is the queue corresponding to photoelectric sensor 3.
[0041] After determining that there is the last queue for package X, it can be determined that the position of the package on the conveyor belt is behind the photoelectric sensor corresponding to the first target queue. That is, if the last queue for package X is the queue corresponding to photoelectric sensor 3, the position of package X on the conveyor belt is behind photoelectric sensor 3.
[0042] In some embodiments, a second target queue in which packages exist can be determined from multiple queues, and the order of the packages on the conveyor belt can be determined based on the order of the packages in the second target queue.
[0043] For package Y, if you want to determine the order of package Y on the conveyor belt, you can first determine the second target queue where package Y exists. It should be noted here that generally the order of packages on the conveyor belt is fixed. Therefore, in this embodiment, it is not necessary to determine the last queue where package Y exists. It is only necessary to determine any queue where package Y exists as the second target queue.
[0044] For example, the queues containing package Y are queues corresponding to photoelectric sensors 1, 2, 3, and 4. Then, the second target queue containing package Y can be a queue corresponding to any one of photoelectric sensors 1, 2, 3, and 4.
[0045] For example, if the second target queue where package Y exists is the queue corresponding to photoelectric sensor 2, the order of package Y on the conveyor belt can be determined according to the order of packages in the queue corresponding to photoelectric sensor 2. For example, if the queues corresponding to photoelectric sensor 2 are 1, 2, 3...X, Y, Z...[2], then the order of package Y on the conveyor belt is between X and Z.
[0046] Therefore, in this embodiment, the order of the packages on the conveyor belt and the position of the packages on the conveyor belt can be detected by a photoelectric sensor, and there is no need to install an additional scanning mechanism for scanning the code, which has the advantages of low cost and high fault tolerance.
[0047] The embodiment of the present invention provides a control method for an inspection and sorting system, wherein after a package passes through each photoelectric sensor on a conveyor belt of the inspection and sorting system, the package is written into a queue corresponding to each photoelectric sensor; wherein each photoelectric sensor is provided with a corresponding queue; and information about the package is determined based on the queue corresponding to each photoelectric sensor; wherein the information about the package includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt. In this method, the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt can be detected by photoelectric sensors, and there is no need to install an additional code scanning mechanism for code scanning, which has the advantages of low cost and high fault tolerance.
[0048] Embodiment 2:
[0049] This embodiment provides another control method for the inspection and sorting system, which is implemented on the basis of the above embodiment. Figure 2 A schematic diagram of an inspection and sorting system is shown, in which a conveyor belt is provided with a code scanning module, a weighing module, an X-ray machine module and a transplanting module in sequence; a first photoelectric sensor is provided in the weighing module, a second photoelectric sensor is provided behind the X-ray machine module, and a third photoelectric sensor is provided in front of the transplanting module.
[0050] like Figure 2 As shown, in this embodiment, photoelectric sensors can be installed at key positions of each conveyor belt, and the photoelectric sensors can detect package arrival and departure signals.
[0051] Based on the above description, see Figure 3 A flow chart of another control method of an inspection and sorting system is shown, and the control method of the inspection and sorting system comprises the following steps:
[0052] Step S302: After the parcel passes through the barcode scanning module on the conveyor belt of the inspection and sorting system, the scanning result of the barcode scanning module is associated with the parcel, and the parcel is written into the first queue.
[0053] like Figure 2 As shown, after multiple packages a, b...n pass through the barcode scanning module, they can be written into the first queue in sequence: a, b...n[1]. The numbers in the brackets "[]" in this embodiment represent the queue numbers, which will not be described in detail later.
[0054] Step S304, after the package passes through the first photoelectric sensor on the conveyor belt of the inspection and sorting system, the weighing result of the weighing module is associated with the package, and the package is written into the second queue corresponding to the first photoelectric sensor.
[0055] like Figure 2 As shown, when the first photoelectric sensor detects the arrival of a package, the package can be taken out from the head of the first photoelectric sensor queue, and the weighing result of the weighing module is obtained and associated with the package, and then put into the second queue. When packages a, b...n pass through the first photoelectric sensor in sequence, the algorithm can ensure that the second queue is: a, b...n[2].
[0056] Step S306, after the parcel passes through the second photoelectric sensor on the conveyor belt of the inspection and sorting system, the X-ray image of the X-ray machine module is associated with the parcel, and the parcel is written into the third queue corresponding to the second photoelectric sensor.
[0057] like Figure 2 As shown, when the second photoelectric sensor detects the arrival of a package, the package can be taken out from the head of the second photoelectric sensor queue, and the X-ray image of the X-ray machine module is obtained and associated with the package, and then put into the third queue. When packages a, b...n pass through the second photoelectric sensor in sequence, the algorithm can ensure that the third queue is: a, b...n[3].
[0058] Step S308, after the package passes through the third photoelectric sensor on the conveyor belt of the inspection and sorting system, it is determined whether the package is abnormal based on the X-ray image of the package, and the package is written into the fourth queue corresponding to the third photoelectric sensor.
[0059] like Figure 2 As shown, when the third photoelectric sensor detects the arrival of a package, it determines whether the X-ray image contains prohibited items based on the X-ray image information associated with the package. If the X-ray image contains prohibited items, the inspection and sorting system can control the transfer module to transfer the package to the inspection area. If the X-ray image does not contain prohibited items, the inspection and sorting system can release the package. When packages a, b...n pass through the third photoelectric sensor in sequence, the algorithm can ensure that the fourth queue is: a, b...n[4].
[0060] Step S310: Determine the information of the package based on the queues corresponding to the respective optoelectronic sensors; wherein, the information of the package includes: the order of the packages on the conveyor belt and the positions of the packages on the conveyor belt.
[0061] In this embodiment, the specific manner of determining the information of the package based on the queues corresponding to the respective optoelectronic sensors can refer to the relevant description of step S104 in the foregoing embodiment, and this embodiment will not elaborate further. Additionally, it should be noted that fault tolerance processing can also be performed in this embodiment.
[0062] In some embodiments, the running speed of the conveyor belt can also be obtained; determine the time when the package passes through each optoelectronic sensor on the conveyor belt; and determine whether there is an abnormality of the package based on the running speed and the time.
[0063] In this embodiment, the running speed v of the conveyor belt can be obtained through a PLC (Programmable Logic Controller), and each optoelectronic sensor can record the time when each package passes through this optoelectronic sensor; determine whether there is an abnormality of the package based on the running speed v and the above time.
[0064] In some embodiments, after the package passes through the current optoelectronic sensor, determine the predicted time for the package to pass through the next optoelectronic sensor based on the running speed and the time when the package passes through the current optoelectronic sensor; after the package passes through the next optoelectronic sensor, determine the target time for the package to pass through the next optoelectronic sensor; if the target time is greater than the sum of the predicted time and the preset redundancy time, determine that there is an abnormality of taking away in the middle; control the inspection and sorting system to perform an alarm process; if the target time is less than the difference between the predicted time and the redundancy time, determine that there is an abnormality of putting in a package; control the inspection and sorting system to perform an alarm process; if the target time is less than or equal to the sum of the predicted time and the redundancy time, and the target time is greater than or equal to the difference between the predicted time and the redundancy time, determine that there is no abnormality of taking away or putting in a package in the middle.
[0065] For example, when package a passes through the No. 1 optoelectronic sensor, based on the running speed v of the conveyor belt, calculate the predicted time t1 for reaching the No. 2 optoelectronic sensor after the No. 1 optoelectronic sensor. Determine the time (i.e., the target time) for the package to pass through the No. 2 optoelectronic sensor as t2, and the redundancy time as s.
[0066] If t1 - s < t2 < t1 + s, then determine that there is no abnormality of taking away or putting in a package in the middle. If t1 - s ≥ t2, then determine that there is an abnormality of putting in a package, indicating that the package is taken away in the middle, and the line body needs to be paused for an alarm prompt. If t2 ≥ t1 + s, then determine that there is an abnormality of taking away in the middle, indicating that a new package is put in the middle, and the line body needs to be paused for an alarm prompt.
[0067] In some embodiments, if the difference in time between adjacent packages passing through the photoelectric sensor is smaller than a preset threshold, it is determined that there is an abnormality of package adhesion; the inspection and sorting system is controlled to perform package pulling processing; if the difference is greater than or equal to the threshold, it is determined that there is no abnormality of package adhesion.
[0068] Determine the difference △t between the time when two adjacent packages trigger a photoelectric sensor. If △t < the preset threshold f (threshold f can be set to 1s), it is determined that there is an abnormality of package adhesion, indicating that the two packages are too close to each other and need to be stopped in the next section of the conveyor belt to pull the package. If △t ≥ threshold f, it is determined that there is no abnormality of package adhesion.
[0069] The existing technology requires labeling the package through a labeling mechanism and installing a code scanning mechanism at a key position to determine the package information arriving at the X-ray machine.
[0070] Compared with the above-mentioned prior art, the above-mentioned method provided by the embodiment of the present invention can determine the information of the packages passing through the key module by calculating the order in which the packages are placed, the location where the packages arrive, and the running speed information of the conveyor belt. The time when the package arrives at the next photoelectric sensor is calculated by the running speed of the conveyor belt. If the time is abnormal, it means that the package is taken away or placed in the middle, and an alarm is processed. When it is found that the time t when adjacent packages trigger the same photoelectric sensor successively is less than the preset threshold f, it can be determined that the two packages are too close to each other and stick together, and it is necessary to pause the next section of the conveyor belt to pull the package.
[0071] In summary, the above method provided by the embodiment of the present invention can determine the parcel information by calculating the order in which the parcels are put in, the parcel arrival position, and the running speed information of the conveyor belt. The fault-tolerant processing method can handle the situations of taking away or putting in midway, and the parcel sticking. Compared with the prior art, it has the characteristics of low cost and high fault tolerance.
[0072] Embodiment three:
[0073] Corresponding to the above method embodiment, the embodiment of the present invention provides a control device for an inspection and sorting system, wherein the inspection and sorting system is provided with multiple modules, and corresponding photoelectric sensors are provided on multiple modules of the conveyor belt of the inspection and sorting system. Figure 4 The schematic diagram of the structure of a control device of an inspection and sorting system is shown, and the control device of the inspection and sorting system comprises:
[0074] The parcel writing queue module 41 is used to write the parcel into the queue corresponding to each photoelectric sensor after the parcel passes through each photoelectric sensor on the conveyor belt of the inspection and sorting system; wherein each photoelectric sensor is provided with a corresponding queue;
[0075] The package information determination module 42 is used to determine the package information based on the queues corresponding to the photoelectric sensors; wherein the package information includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt.
[0076] The embodiment of the present invention provides a control device for an inspection and sorting system. After a package passes through each photoelectric sensor on a conveyor belt of the inspection and sorting system, the package is written into a queue corresponding to each photoelectric sensor; wherein each photoelectric sensor is provided with a corresponding queue; and information about the package is determined based on the queue corresponding to each photoelectric sensor; wherein the information about the package includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt. In this method, the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt can be detected by photoelectric sensors, and there is no need to install an additional code scanning mechanism for code scanning, which has the advantages of low cost and high fault tolerance.
[0077] The conveyor belt is sequentially provided with a code scanning module, a weighing module, an X-ray machine module and a transplanting module; a first photoelectric sensor is provided in the weighing module, a second photoelectric sensor is provided behind the X-ray machine module, and a third photoelectric sensor is provided in front of the transplanting module.
[0078] The above-mentioned parcel writing queue module is used to associate the scanning result of the code scanning module with the parcel after the parcel passes through the code scanning module on the conveyor belt of the inspection and sorting system, and write the parcel into the first queue; after the parcel passes through the first photoelectric sensor on the conveyor belt of the inspection and sorting system, associate the weighing result of the weighing module with the parcel, and write the parcel into the second queue corresponding to the first photoelectric sensor; after the parcel passes through the second photoelectric sensor on the conveyor belt of the inspection and sorting system, associate the X-ray image of the X-ray machine module with the parcel, and write the parcel into the third queue corresponding to the second photoelectric sensor; after the parcel passes through the third photoelectric sensor on the conveyor belt of the inspection and sorting system, determine whether the parcel is abnormal based on the X-ray image of the parcel, and write the parcel into the fourth queue corresponding to the third photoelectric sensor.
[0079] The above-mentioned package information determination module is used to determine that the last queue with a package is the first target queue, and the position of the package on the conveyor belt is behind the photoelectric sensor corresponding to the first target queue.
[0080] The package information determination module is used to determine a second target queue where packages exist from multiple queues, and determine the order of the packages on the conveyor belt based on the order of the packages in the second target queue.
[0081] The above-mentioned device also includes: a fault-tolerant processing module, which is used to obtain the running speed of the conveyor belt; determine the time when the package passes through each photoelectric sensor on the conveyor belt; and determine whether there is an abnormality in the package based on the running speed and time.
[0082] The above-mentioned fault-tolerant processing module is used to determine the estimated time for the package to pass through the next photoelectric sensor based on the running speed and the time for the package to pass through the current photoelectric sensor after the package passes through the current photoelectric sensor; when the package passes through the next photoelectric sensor, determine the target time for the package to pass through the next photoelectric sensor; if the target time is greater than the sum of the estimated time and the preset redundant time, determine that there is an abnormality of taking the package midway; control the inspection and sorting system to perform alarm processing; if the target time is less than the difference between the estimated time and the redundant time, determine that there is an abnormality of putting the package in; control the inspection and sorting system to perform alarm processing; if the target time is less than or equal to the sum of the estimated time and the redundant time, and the target time is greater than or equal to the difference between the estimated time and the redundant time, determine that there is no abnormality of taking or putting the package in midway.
[0083] The above-mentioned fault-tolerant processing module is used to determine if there is a difference in the time when adjacent packages pass through the photoelectric sensor; if the difference is less than a preset threshold, determine that there is an abnormality of package adhesion; control the inspection and sorting system to perform package pulling processing; if the difference is greater than or equal to the threshold, determine that there is no abnormality of package adhesion.
[0084] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the control device of the inspection and sorting system described above can refer to the corresponding process in the embodiment of the control method of the inspection and sorting system described above, and will not be repeated here.
[0085] Embodiment 4:
[0086] The embodiment of the present invention also provides an electronic device for running the control method of the inspection and sorting system; see Figure 5 A structural schematic diagram of an electronic device is shown, the electronic device includes a memory 100 and a processor 101, wherein the memory 100 is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor 101 to implement the control method of the above-mentioned inspection and sorting system.
[0087] Further, Figure 5 The electronic device shown further includes a bus 102 and a communication interface 103 , and the processor 101 , the communication interface 103 and the memory 100 are connected via the bus 102 .
[0088] The memory 100 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used. The bus 102 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0089] The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 101. The above processor 101 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention can be directly embodied as a hardware decoding processor for execution, or a combination of hardware and software modules in the decoding processor for execution. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100 and completes the steps of the method of the above embodiment in combination with its hardware.
[0090] An embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the control method of the inspection and sorting system. The specific implementation can be found in the method embodiment, which will not be repeated here.
[0091] The computer program product of the control method, device and electronic device of the inspection and sorting system provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method in the previous method embodiment. The specific implementation can be referred to the method embodiment, which will not be repeated here.
[0092] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and / or device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0093] In addition, in the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0094] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0095] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention 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 therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0096] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A control method for an inspection and sorting system, characterized in that: The inspection and sorting system is provided with a plurality of modules, and corresponding photoelectric sensors are provided on the plurality of modules of the conveyor belt of the inspection and sorting system; the method comprises: After the parcel passes through each of the photoelectric sensors on the conveyor belt of the inspection and sorting system, the parcel is written into the queue corresponding to each of the photoelectric sensors; wherein each of the photoelectric sensors is provided with a corresponding queue; The information of the package is determined based on the queues corresponding to the photoelectric sensors; wherein the information of the package includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt.
2. The method according to claim 1, characterized in that The conveyor belt is sequentially provided with a code scanning module, a weighing module, an X-ray machine module and a transplanting module; a first photoelectric sensor is provided in the weighing module, a second photoelectric sensor is provided behind the X-ray machine module, and a third photoelectric sensor is provided in front of the transplanting module.
3. The method according to claim 2, characterized in that After the parcel passes through each of the photoelectric sensors on the conveyor belt of the inspection and sorting system, the step of writing the parcel into the queue corresponding to each of the photoelectric sensors comprises: After the parcel passes through the code scanning module on the conveyor belt of the inspection and sorting system, the scanning result of the code scanning module is associated with the parcel, and the parcel is written into the first queue; After the parcel passes through the first photoelectric sensor on the conveyor belt of the inspection and sorting system, the weighing result of the weighing module is associated with the parcel, and the parcel is written into the second queue corresponding to the first photoelectric sensor; After the package passes through the second photoelectric sensor on the conveyor belt of the inspection and sorting system, the X-ray image of the X-ray machine module is associated with the package, and the package is written into the third queue corresponding to the second photoelectric sensor; After the package passes through the third photoelectric sensor on the conveyor belt of the inspection and sorting system, it is determined whether the package is abnormal based on the X-ray image of the package, and the package is written into the fourth queue corresponding to the third photoelectric sensor.
4. The method according to claim 1, characterized in that The step of determining the location of the information of the package based on the queues corresponding to the photoelectric sensors comprises: The last queue in which the package exists is determined to be the first target queue, and the position of the package on the conveyor belt is behind the photoelectric sensor corresponding to the first target queue.
5. The method according to claim 1, characterized in that The step of determining the location of the information of the package based on the queues corresponding to the photoelectric sensors comprises: A second target queue in which the package exists is determined from a plurality of queues, and a sequence of the packages on the conveyor belt is determined based on the sequence of the packages in the second target queue.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Obtaining the running speed of the conveyor belt; Determine the time when the package passes through each of the photoelectric sensors on the conveyor belt; It is determined whether there is any abnormality with the package based on the running speed and the time.
7. The method according to claim 6, characterized in that The step of determining whether the package is abnormal based on the running speed and the time includes: After the package passes through the current photoelectric sensor, determine the estimated time for the package to pass through the next photoelectric sensor based on the running speed and the time for the package to pass through the current photoelectric sensor; After the package passes through the next photoelectric sensor, determining a target time for the package to pass through the next photoelectric sensor; If the target time is greater than the sum of the estimated time and the preset redundant time, it is determined that there is an abnormality of taking away in the middle; the inspection and sorting system is controlled to perform alarm processing; If the target time is less than the difference between the estimated time and the redundant time, it is determined that there is an abnormality in placing the package; and the inspection and sorting system is controlled to perform alarm processing; If the target time is less than or equal to the sum of the estimated time and the redundant time, and the target time is greater than or equal to the difference between the estimated time and the redundant time, it is determined that there is no abnormality of taking or putting in the package midway.
8. The method according to claim 6, characterized in that The step of determining whether the package is abnormal based on the running speed and the time includes: If the difference in time between adjacent packages passing through the photoelectric sensor; If the difference is less than a preset threshold, it is determined that there is an abnormality of package adhesion; the inspection and sorting system is controlled to perform package pulling processing; If the difference is greater than or equal to the threshold, it is determined that there is no abnormality of package adhesion.
9. A control device for an inspection and sorting system, characterized in that: The inspection and sorting system is provided with a plurality of modules, and corresponding photoelectric sensors are provided on the plurality of modules of the conveyor belt of the inspection and sorting system; the device comprises: A parcel writing queue module is used to write the parcel into the queue corresponding to each photoelectric sensor after the parcel passes through each photoelectric sensor on the conveyor belt of the inspection and sorting system; wherein each photoelectric sensor is provided with a corresponding queue; The package information determination module is used to determine the information of the package based on the queues corresponding to the photoelectric sensors; wherein the package information includes: the sequence of the packages on the conveyor belt and the position of the packages on the conveyor belt.
10. An electronic device, characterized in that: The electronic device includes a processor and a memory, the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the control method of the inspection and sorting system according to any one of claims 1 to 8.
Citation Information
Patent Citations
Cargo automatic sorting method and system
CN109433628A
Parcel sorting method, device and equipment as well as readable storage medium
CN110802030A
Luggage supervision system and method
CN113420851A
Data tracking control method
CN116273917A
Automatic express parcel sorting method and device, storage medium and electronic equipment
CN118513252A
Cited By
PET plastic bottle recovery system and method
CN122024141A