CN109174693B - Synchronization method of line scanning image acquisition system and rejection device - Google Patents

Synchronization method of line scanning image acquisition system and rejection device Download PDF

Info

Publication number
CN109174693B
CN109174693B CN201811236152.6A CN201811236152A CN109174693B CN 109174693 B CN109174693 B CN 109174693B CN 201811236152 A CN201811236152 A CN 201811236152A CN 109174693 B CN109174693 B CN 109174693B
Authority
CN
China
Prior art keywords
point
plc
encoder
ray scanning
scanning detector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811236152.6A
Other languages
Chinese (zh)
Other versions
CN109174693A (en
Inventor
周宏建
邓卫平
段忠福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Jiaocheng Ultrasonic Technology Co.,Ltd.
Original Assignee
SBT Engineering Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SBT Engineering Systems Co Ltd filed Critical SBT Engineering Systems Co Ltd
Priority to CN201811236152.6A priority Critical patent/CN109174693B/en
Publication of CN109174693A publication Critical patent/CN109174693A/en
Application granted granted Critical
Publication of CN109174693B publication Critical patent/CN109174693B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B07SEPARATING SOLIDS FROM SOLIDS; SORTING
    • B07CPOSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
    • B07C5/00Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
    • B07C5/34Sorting according to other particular properties
    • B07C5/3416Sorting according to other particular properties according to radiation transmissivity, e.g. for light, x-rays, particle radiation

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Analysing Materials By The Use Of Radiation (AREA)

Abstract

The invention discloses a synchronization method of a line scanning image acquisition system and a rejection device, which comprises a transmission belt, an X-ray scanning detector, an industrial computer, a PLC and a rejector, wherein the transmission belt is provided with a transmission motor, four position points are arranged right above the transmission belt and are respectively a point P1, a point P2, a point P3 and a point P4, and the distance between two adjacent position points is consistent, the X-ray scanning detector is arranged at a point P1, the X-ray scanner is connected with an industrial computer through a high-speed communication interface, a rejector is arranged at a point P4, the industrial computer is connected with a PLC through a serial communication interface, the PLC is respectively connected with the rejector and an encoder, the encoder is in signal connection with a transmission motor and the X-ray scanning detector, the invention has simple structure principle and high intelligent degree, the foreign matters can be accurately positioned and automatically removed under the working condition that the production line runs at a variable speed and even has frequent start and stop, and the working efficiency is improved.

Description

Synchronization method of line scanning image acquisition system and rejection device
Technical Field
The invention relates to the technical field of removing devices, in particular to a line scanning image acquisition system and a method for synchronizing the removing devices.
Background
In the production lines of factories such as food production, tire production and the like, X-ray equipment is required to automatically detect foreign matters (metal particles and the like) on the production lines, accurately position the foreign matters and then automatically remove the foreign matters, and the detection equipment and the remover are required to be closely matched and work synchronously. At present, most detection equipment on the market is relatively simple to match with the action of the rejector, and the action of the rejector is triggered according to the preset delay time after the detection equipment detects the foreign matters. Such a simple action matching mode can only be used for removing rough and large areas of the production line under the condition of constant speed (when products are conveyed in the production line side by side, defective products near the defective products can be removed while defective products are removed), and cannot be used for removing precise and small areas of the production line with variable speed.
Disclosure of Invention
The invention aims to provide a synchronization method of a line scanning image acquisition system and a rejection device, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: a synchronization method of a line scanning image acquisition system and a rejection device comprises a transmission belt, an X-ray scanning detector, an industrial computer, a PLC and a rejector, wherein a transmission motor is installed on the transmission belt, four position points are arranged right above the transmission belt and are respectively a P1 point, a P2 point, a P3 point and a P4 point, the distances between every two adjacent position points are consistent, the X-ray scanning detector is installed at the P1 point, an area A is further arranged at the front end of the P1 point, and the length of the area A is consistent with the lengths between the P1 point and the P2 point; the X-ray scanner is connected with an industrial computer through a high-speed communication interface, a rejector is installed at a P4 point, the industrial computer is connected with a PLC through a serial communication interface, the PLC is respectively connected with the rejector and an encoder, and the encoder is in signal connection with a transmission motor and an X-ray scanning detector;
a synchronization method of a line scanning image acquisition system and a rejection device comprises the following steps:
A. taking the time of the position of the P1 point as the time t1, at the time t1, the X-ray scanning detector starts scanning according to the trigger signal of the encoder, and the front end of the area A starts to pass right below the X-ray scanning detector;
B. at time t2, when the end of the region A leaves the point P1, the X-ray scanning detector scans Q times to complete scanning of one image, and at this time, a pulse signal is sent to the PLC, and the PLC starts counting the encoder pulse signals from 0, and the value is represented by symbol C;
C. the conveyer belt continues to convey, the system ensures that before the front end of the area A enters the position P3, the image recognition of the area A is completed, and the foreign body coordinate sending is completed, otherwise, the system cannot normally operate; the foreign matter coordinate is expressed by (xn, yn), wherein xn represents that the distance from the front end of the area A to the center of the foreign matter in the area A is T pulses, yn represents the left-right relative position of the foreign matter on the transmission line in the area A, and yn is used for enabling the remover to move above the belt in the direction perpendicular to the X direction;
D. when the pulse count value C of the PLC is equal to (K-L) × Q/L + xn, the foreign matters move to the position right below the remover, and the remover can remove the foreign matters by correspondingly moving according to yn.
Preferably, the PLC work flow is as follows:
A. powering on the PLC for starting up;
B. assuming that 10 encoder pulse count values are used at most under the actual condition, 10 memory spaces with the numbers of 1-10 are opened in PLC software for storing 10 independent encoder pulse count values, the encoder pulse count values are initialized to-1, and a PLC encoder counter is set to be 0;
C. if the X-ray scanning detector is detected to have the synchronous pulse, searching a value with a first counting value smaller than 0 from the number 1, and setting the value as 0;
D. if not, reading a PLC encoder register, and setting the value as M;
E. adding M to all count values which are greater than or equal to 0, and setting a PLC encoder register to be 0;
F. checking whether the count value of all the count values is equal to (K-L) × Q/L + xn, if yes, executing the elimination operation; if not, all the counting values which are larger than K × Q/L are set to be-1, and then the step C is returned to.
Compared with the prior art, the invention has the beneficial effects that: the invention has simple structure principle and high intelligent degree, can accurately position and automatically remove foreign matters under the working conditions of variable-speed operation of a production line and even frequent start and stop, and improves the working efficiency.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is a schematic view of the present invention after region A has advanced;
FIG. 3 is a flow chart of the present invention;
FIG. 4 is a PLC flowchart of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1-4, the present invention provides a technical solution: a synchronization method of a line scanning image acquisition system and a rejection device comprises a transmission belt 1, an X-ray scanning detector 2, an industrial computer 3, a PLC4 and a rejector 5, wherein a transmission motor 6 is installed on the transmission belt 1, four position points are arranged right above the transmission belt 1 and are respectively a P1 point, a P2 point, a P3 point and a P4 point, the distance between every two adjacent position points is consistent and is length L, and the length between the P1 point and the P4 point is K; the X-ray scanning detector 2 is arranged at a point P1, a region A is further arranged at the front end of the point P1, and the length of the region A is consistent with the length between the point P1 and the point P2; the X-ray scanning detector 2 is connected with an industrial computer 3 through a high-speed communication interface 7, a rejector 5 is installed at a P4 point, the industrial computer 3 is connected with a PLC4 through a serial communication interface 8, the PLC4 is respectively connected with the rejector 5 and an encoder 9, and the encoder 9 is in signal connection with a transmission motor 6 and the X-ray scanning detector 2.
Wherein, the length L is selected as follows: influenced by the size of the image, the complexity of the image, the real-time memory of the computer and the CPU occupancy rate, the time length for the computer to identify the image is an inconstant value; if the value of L is too short, although the image becomes smaller, the computer recognition speed is higher, but the distance between two adjacent pulses sent by the detector is correspondingly shortened, so that the computer possibly goes out of the line and cannot finish image recognition and coordinate sending before the corresponding image enters the position P4; if L is too long, the time for the rejector to prepare in advance is shorter. The L needs to be selected in consideration of the change of the duration and also needs to be selected in consideration of the length of the K, and a proper length value is selected comprehensively, otherwise, the PLC cannot distinguish which figure the received foreign body coordinate belongs to; selecting the length K: if K is too short, the time for the rejector to prepare in advance is shorter, and the value range of L is also limited.
The invention discloses a method for synchronizing a line scanning image acquisition system and a rejection device, which comprises the following steps:
A. taking the time of the position of the P1 point as the time t1, at the time t1, the X-ray scanning detector starts scanning according to the trigger signal of the encoder, and the front end of the area A starts to pass right below the X-ray scanning detector;
B. at time t2, when the end of the region A leaves the point P1, the X-ray scanning detector scans Q times to complete scanning of one image, and at this time, a pulse signal is sent to the PLC, and the PLC starts counting the encoder pulse signals from 0, and the value is represented by symbol C;
C. the conveyer belt continues to convey, the system ensures that before the front end of the area A enters the position P3, the image recognition of the area A is completed, and the foreign body coordinate sending is completed, otherwise, the system cannot normally operate; the foreign matter coordinate is expressed by (xn, yn), wherein xn represents that the distance from the front end of the area A to the center of the foreign matter in the area A is T pulses, yn represents the left-right relative position of the foreign matter on the transmission line in the area A, and yn is used for enabling the remover to move above the belt in the direction perpendicular to the X direction;
D. when the pulse count value C of the PLC is equal to (K-L) × Q/L + xn, the foreign matters move to the position right below the remover, and the remover can remove the foreign matters by correspondingly moving according to yn.
In the invention, a pulse value counting queue of a PLC encoder: the software of the PLC needs to record the position values of multiple pictures at the same time, so that the software needs to implement the function of clearing zero according to the synchronization pulse of the detector and record and process multiple pulse counter values. The PLC working process is as follows:
A. powering on the PLC for starting up;
B. assuming that 10 encoder pulse count values are used at most under the actual condition, 10 memory spaces with the numbers of 1-10 are opened in PLC software for storing 10 independent encoder pulse count values, the encoder pulse count values are initialized to-1, and a PLC encoder counter is set to be 0;
C. if the X-ray scanning detector is detected to have the synchronous pulse, searching a value with a first counting value smaller than 0 from the number 1, and setting the value as 0;
D. if not, reading a PLC encoder register, and setting the value as M;
E. adding M to all count values which are greater than or equal to 0, and setting a PLC encoder register to be 0;
F. checking whether the count value of all the count values is equal to (K-L) × Q/L + xn, if yes, executing the elimination operation; if not, all the counting values which are larger than K × Q/L are set to be-1, and then the step C is returned to.
In conclusion, the automatic foreign matter removing device is simple in structural principle and high in intelligence degree, can accurately position foreign matters and automatically remove the foreign matters under the working condition that a production line runs at a variable speed and even has frequent starting and stopping, and improves the working efficiency.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (2)

1. A synchronization method of a line scanning image acquisition system and a rejection device is characterized in that: the X-ray scanning detector is characterized by comprising a conveying belt (1), an X-ray scanning detector (2), an industrial computer (3), a PLC (4) and a remover (5), wherein a conveying motor (6) is installed on the conveying belt (1), four position points are arranged right above the conveying belt (1), namely a P1 point, a P2 point, a P3 point and a P4 point, the distances between every two adjacent position points are consistent, the X-ray scanning detector (2) is installed at the P1 point, an area A is further arranged at the front end of the P1 point, and the length of the area A is consistent with the length between the P1 point and the P2 point; the X-ray scanning detector (2) is connected with an industrial computer (3) through a high-speed communication interface (7), a rejector (5) is installed at a P4 point, the industrial computer (3) is connected with a PLC (4) through a serial communication interface (8), the PLC (4) is respectively connected with the rejector (5) and an encoder (9), and the encoder (9) is in signal connection with a transmission motor (6) and the X-ray scanning detector (2);
the method comprises the following steps:
A. taking the time of the position of the P1 point as the time t1, at the time t1, the X-ray scanning detector starts scanning according to the trigger signal of the encoder, and the front end of the area A starts to pass right below the X-ray scanning detector;
B. at time t2, when the end of the region A leaves the point P1, the X-ray scanning detector scans Q times to complete scanning of one image, and at this time, a pulse signal is sent to the PLC, and the PLC starts counting the encoder pulse signals from 0, and the value is represented by symbol C;
C. the conveyer belt continues to convey, the system ensures that before the front end of the area A enters the position P3, the image recognition of the area A is completed, and the foreign body coordinate sending is completed, otherwise, the system cannot normally operate; the foreign matter coordinate is expressed by (xn, yn), wherein xn represents that the distance from the front end of the area A to the center of the foreign matter in the area A is T pulses, yn represents the left-right relative position of the foreign matter on the transmission line in the area A, and yn is used for enabling the remover to move above the belt in the direction perpendicular to the X direction;
D. when the pulse count value C of the PLC is equal to (K-L) × Q/L + xn, the foreign matters move to the position right below the remover, and the remover can remove the foreign matters by correspondingly moving according to yn.
2. The method for synchronizing the line scan image acquisition system and the rejection device according to claim 1, wherein the method comprises the following steps: the PLC working process is as follows:
A. powering on the PLC for starting up;
B. assuming that 10 encoder pulse count values are used at most under the actual condition, 10 memory spaces with the numbers of 1-10 are opened in PLC software for storing 10 independent encoder pulse count values, the encoder pulse count values are initialized to-1, and a PLC encoder counter is set to be 0;
C. if the X-ray scanning detector is detected to have the synchronous pulse, searching a value with a first counting value smaller than 0 from the number 1, and setting the value as 0;
D. if not, reading a PLC encoder register, and setting the value as M;
E. adding M to all count values which are greater than or equal to 0, and setting a PLC encoder register to be 0;
F. checking whether the count value of all the count values is equal to (K-L) × Q/L + xn, if yes, executing the elimination operation; if not, all the counting values which are larger than K × Q/L are set to be-1, and then the step C is returned to.
CN201811236152.6A 2018-10-23 2018-10-23 Synchronization method of line scanning image acquisition system and rejection device Active CN109174693B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811236152.6A CN109174693B (en) 2018-10-23 2018-10-23 Synchronization method of line scanning image acquisition system and rejection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811236152.6A CN109174693B (en) 2018-10-23 2018-10-23 Synchronization method of line scanning image acquisition system and rejection device

Publications (2)

Publication Number Publication Date
CN109174693A CN109174693A (en) 2019-01-11
CN109174693B true CN109174693B (en) 2021-04-06

Family

ID=64942824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811236152.6A Active CN109174693B (en) 2018-10-23 2018-10-23 Synchronization method of line scanning image acquisition system and rejection device

Country Status (1)

Country Link
CN (1) CN109174693B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111169936B (en) * 2019-12-30 2022-02-18 无锡信捷电气股份有限公司 Method for realizing PLC multi-station control
CN111570331B (en) * 2020-04-30 2022-04-12 北京智通云联科技有限公司 Unqualified product removing device and method under variable-speed assembly line environment
CN112607311B (en) * 2020-12-22 2022-08-09 上海骄成超声波技术股份有限公司 Method for continuously eliminating foreign matter points by automatic eliminating machine and automatic eliminating machine
CN113671891A (en) * 2021-08-03 2021-11-19 合肥友高物联网标识设备有限公司 Online detection rejection control method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4147930A (en) * 1975-03-20 1979-04-03 U.S. Philips Corporation Object location detector
JPH09314071A (en) * 1996-05-24 1997-12-09 Mutual Corp Visual inspection supporting system
CN202256178U (en) * 2011-09-09 2012-05-30 杭州品目科技有限公司 Bottle cover lining imperfection detection device based on machine vision
CN102500560A (en) * 2011-09-24 2012-06-20 山东明佳包装检测科技有限公司 Multi-sectional rejecting device and control method thereof
CN104267041B (en) * 2014-09-12 2017-02-15 北京慧眼智行科技有限公司 High-speed online detection system and method of presswork
CN105115972A (en) * 2015-08-24 2015-12-02 北京慧眼智行科技有限公司 Printing detection system and method
CN106269560B (en) * 2016-08-05 2018-08-21 上海骄成机电设备有限公司 A kind of adhesive tape foreign matter synchronization device for eliminating

Also Published As

Publication number Publication date
CN109174693A (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN109174693B (en) Synchronization method of line scanning image acquisition system and rejection device
US4158435A (en) Method and apparatus for reading label bar codes
CN205138431U (en) Material recognition device and transfer chain of transfer chain
CN110793587B (en) Efficient and safe operation monitoring method for coal mine working surface belt conveyor
JPH0375545A (en) Method for detecting opaque foreign material in transparent body
CN111307044B (en) Method for measuring and calculating length, width and approximate volume of introduced material and program product
CN114372991A (en) Method and device for collecting and matching X-ray images of articles in security inspection process
CN205022961U (en) Anti - cigarette detecting system of indiscriminate cigarette based on PLC and vision sensing
CN103241521B (en) Belt operation control system and control method thereof
CN202700832U (en) Dynamic identification device of inferior products in production
CN114527141A (en) Shaving board surface defect collection system
CN109877061A (en) A kind of product testing sorting control system and method
CN112224788B (en) Control method for automatically positioning intelligent logistics conveying line
CN111137644B (en) Recording method of workpiece queue, robot conveyor belt tracking system and storage medium
CN110369322B (en) Control system and method for magnetic shoe online detection equipment
CN203972336U (en) A kind of printed matter on-line detecting system
US4782500A (en) Method and an apparatus for counting uniform objects on a conveyor
CN112607311B (en) Method for continuously eliminating foreign matter points by automatic eliminating machine and automatic eliminating machine
CN105425825A (en) Dynamic plasterboard tracking device and dynamic plasterboard tracking method
CN102981520B (en) Control the method that multiple stage camera synchronization gathers
CN213255750U (en) Continuous strip removing device of appearance detection system of cigarette carton sealing machine
CN114260207B (en) Product flow direction determining device and method
CN111854637A (en) Laser dot matrix light curtain scanning device
CN203246829U (en) Belt operation control system
CN104378543B (en) Over-sampling picture synchronization collection suppresses frame losing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 48, 4916 Lane, Hongmei South Road, Minhang District, Shanghai, 200241

Applicant after: SBT ENGINEERING SYSTEMS Co.,Ltd.

Address before: No. 48, 4916 Lane, Meinan Road, Minhang District, Shanghai, 200241

Applicant before: SBT ENGINEERING SYSTEMS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 200240 floor 3, building 2, No. 1488, Cangyuan Road, Minhang District, Shanghai

Patentee after: Shanghai Jiaocheng Ultrasonic Technology Co.,Ltd.

Address before: 200241 1st floor, building 3, 48 Lane 4916, Hongmei South Road, Minhang District, Shanghai

Patentee before: SBT ENGINEERING SYSTEMS Co.,Ltd.

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A synchronization method of a line scan image acquisition system and a rejecting device

Effective date of registration: 20220825

Granted publication date: 20210406

Pledgee: Industrial Bank Co.,Ltd. Shanghai Changning sub branch

Pledgor: Shanghai Jiaocheng Ultrasonic Technology Co.,Ltd.

Registration number: Y2022310000180

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220921

Granted publication date: 20210406

Pledgee: Industrial Bank Co.,Ltd. Shanghai Changning sub branch

Pledgor: Shanghai Jiaocheng Ultrasonic Technology Co.,Ltd.

Registration number: Y2022310000180