Method, system and foreign body detection equipment for avoiding X-ray detector calibration errors
By comparing the full-scale data before X-ray detection and using the visible light imager and human-computer interactive interface to remind and clean up, the image abnormality caused by foreign objects or objects to be detected in the detection channel is solved, and the detection channel is automatically or manually cleared to ensure the accuracy and safety of the detection.
Patent Information
- Application Number
- CN202210259036.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-16
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-03-16
AI Technical Summary
During the X-ray detection process, foreign objects or objects to be detected are present on the collimation slot of the detection channel, resulting in abnormal X-ray image, affecting the correction results.
By collecting the fullness data of the detection channel when the X-ray emitter is turned on and comparing it with the preset standard fullness data, if abnormal, the image will be collected by the visible light imager and reminded and cleaned through the human-computer interactive interface, providing manual or automatic clearing mode to ensure that the detection channel will continue to be detected after it is cleared.
It avoids X-ray image abnormalities, improves detection accuracy and user experience, and prevents damage to objects to be inspected and safety hazards.
Smart Images

Figure CN114740024B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of foreign body detection, and in particular to a method, system and foreign body detection equipment for avoiding calibration errors of an X-ray detector. Background Art
[0002] X-ray technology is currently widely used in the field of online inspection of industrial production lines. X-ray transmission images can clearly reveal the internal structure and condition of products, thereby identifying possible foreign matter or product defects. Most X-ray foreign body detection equipment connected to production lines adopts an online structure with a linear or area array structure. These devices are characterized by an inspection channel and a conveyor. The inspection channel is connected to the industrial production line. The conveyor inside the inspection channel automatically feeds the object to be inspected into the inspection channel, where it is automatically inspected by the equipment and automatically transported out of the inspection channel after inspection.
[0003] However, if there are foreign objects or objects to be inspected on the collimation slits of the detection channel before detection, the calibration imaging during subsequent detection will be affected. In this case, the X-ray image obtained after calibration will be abnormal. For linear array detectors, there will be obvious black horizontal lines, and for area array detectors, there will be regional black spots. Therefore, in order to avoid abnormal X-ray images, a method is needed to avoid X-ray detector calibration errors. Summary of the Invention
[0004] The purpose of the present invention is to provide a method, system and foreign body detection equipment for avoiding X-ray detector calibration errors, so as to avoid abnormal X-ray images caused by situations such as the object to be detected having entered the channel during the X-ray detection process, or objects remaining in the channel during the previous detection, and to avoid calibration errors during the calibration process of the X-ray detector.
[0005] The present invention provides a method, system and foreign body detection device for avoiding calibration errors of X-ray detectors. The specific technical solutions are as follows:
[0006] In some embodiments, the present invention provides a method for avoiding X-ray detector calibration errors, comprising a detection channel, and an X-ray emitter and an X-ray imager disposed within the detection channel for detecting foreign matter in products to be inspected conveyed by a conveyor, comprising the steps of:
[0007] Controlling the X-ray emitter to turn on, and collecting current full-scale data in the detection channel through the X-ray imager;
[0008] Comparing the current full-scale data with the preset standard full-scale data, and if the current full-scale data is abnormal, determining that the detection channel is abnormal;
[0009] Controlling a visible light imager disposed in the detection channel to collect a current image in the detection channel;
[0010] The current image is displayed through the human-computer interaction interface, and a channel cleaning reminder is given.
[0011] The method for avoiding calibration errors of X-ray detectors provided by the present invention can determine whether an abnormality occurs in the detection channel by comparing the current full-scale data with the preset standard full-scale data, thereby avoiding the presence of foreign matter or retained objects to be detected on the collimation slit of the detection channel during the X-ray detection process, which causes abnormalities in the collected X-ray images and affects the calibration results of the X-ray detector; at the same time, when it is determined that an abnormality occurs in the detection channel, the image in the detection channel is collected by the visible light imager and displayed on the human-computer interaction interface, so that a channel cleaning reminder can be issued in time, thereby avoiding errors in subsequent X-ray calibration imaging and affecting the subsequent detection process.
[0012] In some embodiments, after the channel clearing reminder is performed, the method further includes:
[0013] Determining whether a manual intervention instruction input by a user through the human-computer interaction interface is received;
[0014] If the judgment is yes, entering the manual intervention mode, in which the detection channel is manually cleared;
[0015] If the judgment is no, the automatic clearing mode is entered, and in the automatic clearing mode, the detection channel is automatically cleared.
[0016] The method for avoiding X-ray detector calibration errors provided by the present invention has two clearing modes for the detection channel. The user can flexibly choose to manually clear the channel or automatically clear the channel. It is suitable for complex scenarios in the actual detection process and improves the user experience.
[0017] In some embodiments, automatically clearing the detection channel in the automatic clearing mode specifically includes:
[0018] Controlling the conveyor to perform a backward operation;
[0019] During the backward operation of the conveyor, the real-time full-scale data in the detection channel is collected by the X-ray imager in real time, and the real-time full-scale data is compared with the standard full-scale data in real time;
[0020] When the real-time fullness data is equal to the standard fullness data, the backward operation of the conveyor is stopped and the conveyor enters a normal detection state.
[0021] The method for avoiding X-ray detector calibration errors provided by the present invention discloses a control step for automatically clearing a detection channel. By controlling a conveyor to perform a backward operation and comparing real-time full-scale data with standard full-scale data, the detection channel is automatically cleared when an abnormality occurs in the detection channel. During this process, the detection channel can be automatically cleared without user participation. At the same time, after the full-scale recognition is normal, the retreated object to be inspected will continue to move forward along the conveyor through the X-ray collimation slit for inspection, which can prevent the object to be inspected in the channel from falling out of the channel during the continuous retreat process, avoid falling and damaging the object to be inspected or injuring the operator, and avoid missing objects.
[0022] In some embodiments, during the backward operation of the conveyor, the method further includes:
[0023] Collecting real-time images in the detection channel by the visible light imager in real time;
[0024] An interruption instruction input by a user is received through the human-computer interaction interface, and the backward operation of the conveyor is interrupted to enter the manual intervention mode.
[0025] The method for avoiding X-ray detector calibration errors provided by the present invention can interrupt the conveyor's backward operation at any time and enter the manual intervention mode during the automatic clearing of the detection channel, avoiding the difficulty of clearing in the automatic clearing mode and affecting subsequent operations.
[0026] In some embodiments, in the manual intervention mode, specifically including:
[0027] Controlling the conveyor to stop operation;
[0028] Turn off the X-ray emitter and the X-ray imager, and wait for manual cleaning to be completed;
[0029] The waiting for manual cleaning to be completed specifically includes:
[0030] The cleaning completion confirmation instruction or the detection start instruction input by the user is received through the human-computer interaction interface, and the normal detection state is entered.
[0031] The method for preventing X-ray detector calibration errors provided by the present invention stops the operation of the conveyor, X-ray emitter, and X-ray imager in manual intervention mode, thereby preventing safety issues during the X-ray detector inspection process. Furthermore, the system determines whether manual cleaning is complete by receiving a user-inputted cleaning completion confirmation command or inspection initiation command, allowing the system to enter normal inspection mode.
[0032] In some embodiments, before controlling the X-ray emitter to turn on, the method further includes:
[0033] Keep the X-ray emitter turned off and use the X-ray imager to collect background data in the detection channel.
[0034] Specifically, before testing begins, the X-ray emitter is turned off. The X-ray imager collects the error signal value caused by the dark current in each pixel of the X-ray emitter within the detection channel as background data. During X-ray imaging, this background data is used together with the full-scale data for consistency correction. The corrected image is then output as the final X-ray image.
[0035] In some embodiments, after comparing the current full-scale data with the preset standard full-scale data, the method further includes:
[0036] If the current full-scale data is equal to the standard full-scale data, it is determined that the detection channel is normal and enters a normal detection state.
[0037] The method for avoiding calibration errors of an X-ray detector provided by the present invention determines that the detection channel is normal when the current full-scale data is equal to the standard full-scale data, and can enter a normal detection state.
[0038] In some embodiments, entering the normal detection state specifically includes:
[0039] Controlling the conveyor to enter a start-up operation;
[0040] The X-ray emitter and the X-ray imager are turned on to perform foreign body detection on the product to be inspected.
[0041] In addition, the present invention also provides a system for avoiding X-ray detector calibration errors, comprising:
[0042] A main frame, wherein a side of the main frame is provided with a penetrating detection channel;
[0043] A conveyor, arranged in the inspection channel, for conveying products to be inspected;
[0044] an X-ray emitter, disposed in the inspection channel and located on one side of the conveyor, for emitting X-rays toward the product to be inspected;
[0045] an X-ray imager, disposed in the detection channel and located on the other side of the conveyor, for receiving the X-rays;
[0046] a visible light imager, disposed in the detection channel and configured to capture images in the detection channel;
[0047] a control terminal, disposed in the main frame, for controlling the X-ray emitter to turn on during calibration and collecting current full-scale data in the detection channel through the X-ray imager;
[0048] The control end compares the current full-scale data with preset standard full-scale data, determines that an abnormality occurs in the detection channel when the current full-scale data is abnormal, and controls a visible light imager disposed in the detection channel to capture a current image in the detection channel;
[0049] The control terminal displays the current image through a human-computer interaction interface and issues a channel cleaning reminder.
[0050] In addition, the present invention also provides a foreign matter detection device, including the above-mentioned system for avoiding calibration errors of X-ray detectors.
[0051] The method, system, and foreign body detection device for avoiding X-ray detector calibration errors provided by the present invention have at least one of the following technical effects:
[0052] (1) Avoid the presence of foreign matter or objects to be detected on the collimation slit of the detection channel during X-ray detection, which may cause abnormal X-ray images and affect the calibration results of the X-ray detector;
[0053] (2) When an abnormality is detected in the detection channel, the image in the detection channel is collected by the visible light imager and displayed on the human-computer interaction interface, which can promptly remind the user to clean the channel and avoid errors in subsequent X-ray correction imaging, which may affect the subsequent detection process;
[0054] (3) Users can flexibly choose to clear the channel manually or automatically, which is suitable for complex scenarios in the actual detection process and improves user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The preferred implementation scheme will be described below in a clear and understandable manner with reference to the accompanying drawings to further illustrate the above-mentioned characteristics, technical features, advantages and implementation methods of this solution.
[0056] Figure 1 This is a flow chart of a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0057] Figure 2 This is an example diagram of a standard full-scale data curve preset in a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0058] Figure 3 This is an example diagram of an abnormal full-scale data curve in a method for avoiding an error in calibration of an X-ray detector according to the present invention;
[0059] Figure 4 This is a flow chart of a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0060] Figure 5 This is a flow chart of automatically clearing a detection channel in a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0061] Figure 6 This is a flow chart of controlling the conveyor to retreat in a method for avoiding an error in calibration of an X-ray detector according to the present invention;
[0062] Figure 7 is another flow chart of a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0063] Figure 8 is another flow chart of a method for avoiding calibration errors of an X-ray detector according to the present invention;
[0064] Figure 9 This is an example diagram of a system for avoiding X-ray detector calibration errors according to the present invention.
[0065] Reference numerals in the figure: main frame-10, conveyor-20, X-ray emitter-30, X-ray imager-40, visible light imager-50 and control terminal-60. DETAILED DESCRIPTION
[0066] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific embodiments of the present invention will be described below with reference to the accompanying drawings. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings and other embodiments can be obtained based on these drawings without inventive work.
[0067] To simplify the drawings, only the parts relevant to the present invention are schematically shown in each figure. They do not represent the actual structure of the product. Furthermore, to simplify the drawings and facilitate understanding, in some figures, only one of the components with the same structure or function is schematically depicted or labeled. As used herein, "one" not only means "only one" but also "more than one."
[0068] As mentioned in the previous background technology, due to the presence of foreign matter or retained objects to be detected on the collimation slit of the detection channel, there will be obvious black horizontal lines in the corrected X-ray image. The inventor then inquired why when there are foreign matter or retained objects to be detected in the collimation slit, it will cause correction errors, resulting in black horizontal lines in the corrected image.
[0069] X-ray detectors are typically composed of one or more columns of pixel cells. The physical and chemical components within each pixel cell are capable of converting X-rays into a weak current. However, due to the different dark currents and X-ray conversion capabilities of each pixel cell, inconsistencies arise between different pixels, which in turn affects X-ray imaging. In view of this, the inventors adopted a method during the detection and imaging process: first, data from all pixel cells with the X-rays turned off is collected as a background value, and then data from all pixel cells with the X-rays turned on is collected as a full-scale value. During the detection process, the data from each pixel cell is independently normalized and corrected using the corresponding background and full-scale data, thus resolving the inconsistency problem between different pixel cells.
[0070] However, investigations have revealed that the above-mentioned correction method may be error-prone. Through continuous experiments and research, the inventors have finally discovered that when collecting full-scale data, if the object to be inspected has entered the imaging area of the channel (for linear detectors, the imaging area is the collimation slit), or if an object remains in the imaging area of the channel during the last inspection, the full-scale data collected at this time will be erroneous. In subsequent imaging, the X-ray image obtained after normalization correction using this full-scale data will be abnormal. For linear array detectors, there will be obvious black horizontal lines, and for area array detectors, there will be regional black spots.
[0071] After this important discovery, the inventors invented a method to avoid X-ray detector calibration errors in order to avoid abnormal X-ray images. Figure 8 As shown, when the X-ray emitter is turned on, the full-scale data in the detection channel is collected through the X-ray imager; if the full-scale data is the same as the preset standard full-scale data, the conveyor, X-ray emitter and X-ray imager are turned on to perform foreign body detection on the product to be inspected; if the full-scale data is different from the preset standard full-scale data, it is determined that an abnormality has occurred in the detection channel, and the visible light imager set in the detection channel is controlled to collect the visible light image in the detection channel, and the visible light image is fed back to the human-computer interaction interface for display, reminding the user to clean the channel; at the same time, the user decides whether to enter the manual intervention mode or the automatic clearing mode. Preferably, before the X-ray emitter is turned on, that is, when the X-ray emitter is turned off, the signal value in the detection channel can be collected by the X-ray imager as background data; and then the imaging is corrected based on the background data and the full-scale data.
[0072] In one embodiment, Figure 1 、 Figure 2 and Figure 3 As shown, the present invention provides a method for avoiding calibration errors of X-ray detectors, which is applied to a scenario where an X-ray emitter and an X-ray imager are used to detect foreign objects in a product to be inspected being conveyed by a conveyor in an inspection channel, and includes the following steps:
[0073] S200 controls the X-ray emitter to turn on, and collects the current full-scale data in the detection channel through the X-ray imager.
[0074] Specifically, when the X-ray emitter is turned on, all pixel units of the X-ray emitter are turned on, and the current full-scale data in the detection channel is collected by the X-ray imager.
[0075] S300 compares the current full-scale data with the preset standard full-scale data. If the current full-scale data is abnormal, it is determined that the detection channel is abnormal.
[0076] Specifically, when the current full-scale data is compared with the preset standard full-scale data and an anomaly is detected, it is determined that there is a foreign object or an object to be detected trapped in the collimation slit of the detection channel. The collected full-scale data is then erroneous, and subsequent X-ray images obtained after normalization and correction using this full-scale data will exhibit an anomaly. This will appear as a distinct black horizontal line on a linear array detector, and as a regional black spot on an area array detector.
[0077] For example, Figure 2 It is the curve of preset standard full-scale data. Figure 3 This is an exemplary curve of full-scale data with abnormalities.
[0078] S400 controls the visible light imager disposed in the detection channel to collect the current image in the detection channel.
[0079] S500 displays the current image through the human-computer interaction interface and provides channel cleaning reminders.
[0080] Specifically, the visible light image in the detection channel is collected by the visible light imager in the detection channel, and the visible light image is sent to the human-computer interaction interface for display, such as the display screen of the industrial computer, the display screen of the workshop computer, the display device of the detection equipment, etc., and a reminder message will be displayed on the human-computer interaction interface to remind correction errors.
[0081] The method for avoiding errors in the calibration of X-ray detectors provided in this embodiment can determine whether an abnormality occurs in the detection channel by comparing the current full-scale data with the preset standard full-scale data, thereby avoiding the presence of foreign matter or retained objects to be detected on the collimation slit of the detection channel during the X-ray detection process, which may cause abnormalities in the collected X-ray images and affect the calibration results of the X-ray detector; at the same time, when it is determined that an abnormality occurs in the detection channel, the image in the detection channel is collected by the visible light imager and displayed on the human-computer interaction interface, so that a channel cleaning reminder can be issued in time, thereby avoiding errors in subsequent X-ray calibration imaging and affecting the subsequent detection process.
[0082] Preferably, before controlling the X-ray emitter to turn on, the method further includes:
[0083] S100 keeps the X-ray emitter turned off and collects background data in the detection channel through the X-ray imager.
[0084] Specifically, before testing begins, the X-ray emitter is turned off. The X-ray imager collects the error signal value caused by the dark current in each pixel of the X-ray emitter within the detection channel as background data. During X-ray imaging, this background data is used together with the full-scale data for consistency correction. The corrected image is then output as the final X-ray image.
[0085] In one embodiment, Figure 4 As shown, the method for avoiding X-ray detector calibration errors provided by the present invention, after displaying the current image through the human-computer interaction interface and providing a channel cleaning reminder in step S500, further includes the following steps:
[0086] S600 determines whether a manual intervention instruction input by a user through a human-computer interaction interface is received.
[0087] If the judgment in S700 is yes, the system enters the manual intervention mode, in which the detection channel is manually cleared.
[0088] Specifically, in manual intervention mode, the conveyor is controlled to stop, and the X-ray emitter and X-ray imager are turned off, waiting for manual cleaning to complete before entering normal detection mode. The method for determining the completion of manual cleaning can be to receive a cleaning completion confirmation instruction or a detection start instruction input by the user through the human-computer interaction interface; or a completion switch can be set, and after the user presses the completion switch, the switch instruction is received to determine the completion of manual cleaning.
[0089] If the judgment result of S800 is no, the system enters the automatic clearing mode, in which the detection channel is automatically cleared.
[0090] Specifically, if Figure 5 As shown, if the judgment in step S800 is no, the system enters the automatic clearing mode. In the automatic clearing mode, the process of automatically clearing the detection channel specifically includes:
[0091] S810 controls the conveyor to perform backward operation.
[0092] Specifically, the motor on the conveyor drives the belt to move backward, so that the object to be tested on the belt moves out of the detection channel together with the belt.
[0093] During the conveyor's backward operation, S820 uses an X-ray imager to collect real-time full-scale data in the detection channel and compares the real-time full-scale data with the standard full-scale data in real time.
[0094] S830 When the real-time full-scale data is equal to the standard full-scale data, the conveyor stops its backward operation and enters the normal detection state.
[0095] Specifically, by controlling the conveyor to perform a backward operation and comparing the real-time full-scale data with the standard full-scale data, the detection channel can be automatically cleared in the event of an abnormality in the detection channel. During this process, the detection channel can be automatically cleared without user participation. At the same time, after the full-scale recognition is normal, the retreated objects to be inspected will continue to move forward along the conveyor through the X-ray collimation slit for inspection, which can prevent the objects to be inspected in the channel from falling out of the channel during the continuous retreat process, avoid falling and damaging the objects to be inspected or injuring the operators, and avoid missing objects.
[0096] The method for avoiding X-ray detector calibration errors provided in this embodiment has two clearing modes for the detection channel. The user can flexibly choose to manually clear the channel or automatically clear the channel. It is suitable for complex scenarios in the actual detection process and improves the user experience.
[0097] In one embodiment, Figure 6 As shown, step S810 controls the conveyor to perform a backward operation, specifically including:
[0098] S811 uses a visible light imager to collect real-time images in the detection channel.
[0099] S812 receives the interruption command input by the user through the human-computer interaction interface, interrupts the backward operation of the conveyor, and enters the manual intervention mode.
[0100] Specifically, in manual intervention mode, the conveyor is controlled to stop, and the X-ray emitter and X-ray imager are turned off, waiting for manual cleaning to be completed before entering the normal detection state. The method for determining the completion of manual cleaning can be to receive a cleaning completion confirmation instruction or a detection start instruction input by the user through the human-computer interaction interface to enter the normal detection state; or a completion switch can be set, and after the user presses the completion switch, the switch instruction is received to determine that manual cleaning is complete.
[0101] The method for avoiding X-ray detector calibration errors provided by the present invention can interrupt the conveyor's backward operation at any time and enter the manual intervention mode during the automatic clearing of the detection channel, avoiding the difficulty of clearing in the automatic clearing mode and affecting subsequent operations.
[0102] In one embodiment, Figure 7 As shown, after step S200 controls the X-ray emitter to start, and collects the current full-scale data in the detection channel through the X-ray imager, it also includes:
[0103] S311 compares the current full-scale data with the preset standard full-scale data.
[0104] If the current full-scale data is equal to the standard full-scale data in step S312, it is determined that the detection channel is normal and the system enters the normal detection state.
[0105] S313 controls the conveyor to enter the start-up operation.
[0106] S314 turns on the X-ray emitter and the X-ray imager to detect foreign matter on the product to be inspected.
[0107] The method for avoiding calibration errors of an X-ray detector provided by the present invention performs a normal detection state when the current full-scale data is equal to the standard full-scale data, thereby improving the calibration efficiency during the calibration process of the X-ray detector.
[0108] In one embodiment, Figure 2 、 Figure 3 and Figure 9 As shown, the present invention also provides a system for avoiding X-ray detector calibration errors, including a main frame 10, a conveyor 20, an X-ray emitter 30, an X-ray imager 40, a visible light imager 50 and a control terminal 60.
[0109] A through detection channel is provided on the side of the main frame 10, and a conveyor 20 is provided in the detection channel for conveying products to be inspected. An X-ray emitter 30 is provided in the detection channel and is located on one side of the conveyor 20 for emitting X-rays to the products to be inspected. An X-ray imager 40 is provided in the detection channel and is located on the other side of the conveyor 20 for receiving X-rays. A visible light imager 50 is provided in the detection channel for collecting images in the detection channel. A control terminal 60 is provided in the main frame 10 for controlling the X-ray emitter 30 to turn on during calibration and collecting current full-scale data in the detection channel through the X-ray imager 40. The control terminal 60 compares the current full-scale data with the preset standard full-scale data. When the current full-scale data is abnormal, it is determined that an abnormality has occurred in the detection channel, and the visible light imager 50 provided in the detection channel is controlled to collect the current image in the detection channel. The control terminal 60 displays the current image through the human-computer interaction interface and issues a channel cleaning reminder.
[0110] Preferably, before starting pre-test, the X-ray emitter 30 is turned off, and the X-ray imager 40 collects the error signal value caused by the dark current in each pixel unit in the X-ray emitter 30 within the detection channel as background data. This data can then be used to perform calibration imaging based on the background data and the full-scale data. Specifically, when the X-ray emitter 30 is turned on, all pixel units of the X-ray emitter 30 are turned on, and the X-ray imager 40 collects the current full-scale data within the detection channel.
[0111] When the current full-scale data is compared with the preset standard full-scale data, if there is an abnormality in the current full-scale data, it is judged that there is a foreign object or a retained object to be detected on the collimation slit of the detection channel; at this time, the collected full-scale data is wrong, and the X-ray image obtained after normalization correction using this full-scale data in subsequent imaging will be abnormal. In this process, there will be obvious black horizontal lines for the linear array detector and regional black spots for the area array detector.
[0112] For example, Figure 2 It is the curve of preset standard full-scale data. Figure 3 This is an exemplary curve of full-scale data with abnormalities.
[0113] The visible light image in the detection channel is collected by the visible light imager 50 in the detection channel, and the visible light image is sent to the human-computer interaction interface for display, such as the display screen of the industrial computer, the display screen of the workshop computer, the display device of the detection equipment, etc., and a reminder message will be displayed on the human-computer interaction interface to remind channel cleaning.
[0114] The system for avoiding X-ray detector calibration errors provided in this embodiment realizes comparison of current full-scale data with preset standard full-scale data through the control relationship between the main frame 10, the conveyor 20, the X-ray emitter 30, the X-ray imager 40, the visible light imager 50 and the control terminal 60, and can determine whether there is an abnormality in the detection channel, so as to avoid the presence of foreign matter or retained objects to be detected on the collimation slit of the detection channel during the X-ray detection process, resulting in abnormal X-ray images collected, thereby affecting the calibration results of the X-ray detector; at the same time, when it is determined that there is an abnormality in the detection channel, the image in the detection channel is collected by the visible light imager and displayed on the human-computer interaction interface, so that a channel cleaning reminder can be issued in time, thereby avoiding errors in subsequent X-ray calibration imaging and affecting the subsequent detection process.
[0115] In one embodiment, the present invention also provides a foreign body detection device, including all components in the above-mentioned system embodiment for avoiding X-ray detector calibration errors. The operations in the above-mentioned system embodiment for avoiding X-ray detector calibration errors can be performed through the above-mentioned components. The foreign body detection device includes a production detection all-in-one machine and a production detection assembly line, etc.
[0116] It should be noted that the above embodiments can be freely combined as needed. The above description is only a preferred embodiment of the present invention. It should be pointed out that those skilled in the art can make several improvements and modifications without departing from the principles of the present invention, and such improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A method for avoiding calibration errors of an X-ray detector, comprising a detection channel, and an X-ray emitter and an X-ray imager arranged in the detection channel for detecting foreign objects in products to be inspected conveyed by a conveyor, characterized in that: Including steps: Controlling the X-ray emitter to turn on, and collecting current full-scale data in the detection channel through the X-ray imager; Comparing the current full-scale data with the preset standard full-scale data, and if the current full-scale data is abnormal, determining that the detection channel is abnormal; Controlling a visible light imager disposed in the detection channel to collect a current image in the detection channel; Displaying the current image through a human-computer interaction interface and providing a channel cleaning reminder; Determining whether a manual intervention instruction input by a user through the human-computer interaction interface is received; If the judgment is yes, entering the manual intervention mode, in which the detection channel is manually cleared; If the judgment is no, the automatic clearing mode is entered, in which the detection channel is automatically cleared, specifically including: controlling the conveyor to perform a backward operation; During the backward operation of the conveyor, the real-time full-scale data in the detection channel is collected by the X-ray imager in real time, and the real-time full-scale data is compared with the standard full-scale data in real time; when the real-time full-scale data is equal to the standard full-scale data, the backward operation of the conveyor is stopped and the conveyor enters a normal detection state.
2. The method for avoiding X-ray detector calibration errors according to claim 1, characterized in that: The conveyor further comprises: Collecting real-time images in the detection channel by the visible light imager in real time; An interruption instruction input by a user is received through the human-computer interaction interface, and the backward operation of the conveyor is interrupted to enter the manual intervention mode.
3. The method for avoiding X-ray detector calibration errors according to any one of claims 1 or 2, characterized in that: In the manual intervention mode, specifically including: Controlling the conveyor to stop operation; Turn off the X-ray emitter and the X-ray imager, and wait for manual cleaning to be completed; The waiting for manual cleaning to be completed specifically includes: The cleaning completion confirmation instruction or the detection start instruction input by the user is received through the human-computer interaction interface, and the normal detection state is entered.
4. The method for avoiding X-ray detector calibration errors according to claim 1, characterized in that: Before the control of turning on the X-ray emitter, the method further includes: Keep the X-ray emitter turned off and use the X-ray imager to collect background data in the detection channel.
5. The method for avoiding X-ray detector calibration errors according to claim 1, characterized in that: After comparing the current full-scale data with the preset standard full-scale data, the method further includes: If the current full-scale data is equal to the standard full-scale data, it is determined that the detection channel is normal and enters a normal detection state.
6. The method for avoiding X-ray detector calibration errors according to any one of claims 1 or 5, characterized in that: The entering the normal detection state specifically includes: Controlling the conveyor to enter a start-up operation; The X-ray emitter and the X-ray imager are turned on to perform foreign body detection on the product to be inspected.
7. A system for avoiding X-ray detector calibration errors, characterized in that: include: A main frame, wherein a side of the main frame is provided with a penetrating detection channel; A conveyor, arranged in the inspection channel, for conveying products to be inspected; an X-ray emitter, disposed in the inspection channel and located on one side of the conveyor, for emitting X-rays toward the product to be inspected; an X-ray imager, disposed in the detection channel and located on the other side of the conveyor, for receiving the X-rays; a visible light imager, disposed in the detection channel and configured to capture images in the detection channel; a control terminal, disposed in the main frame, for controlling the X-ray emitter to turn on during calibration and collecting current full-scale data in the detection channel through the X-ray imager; The control end compares the current full-scale data with preset standard full-scale data, determines that an abnormality occurs in the detection channel when the current full-scale data is abnormal, and controls a visible light imager disposed in the detection channel to capture a current image in the detection channel; The control terminal displays the current image through the human-computer interaction interface, issues a channel cleaning reminder, and determines whether a manual intervention instruction input by the user through the human-computer interaction interface is received; If the judgment is yes, entering the manual intervention mode, in which the detection channel is manually cleared; If the judgment is no, the automatic clearing mode is entered, in which the detection channel is automatically cleared, specifically including: controlling the conveyor to perform a backward operation; During the backward operation of the conveyor, the real-time full-scale data in the detection channel is collected by the X-ray imager in real time, and the real-time full-scale data is compared with the standard full-scale data in real time; when the real-time full-scale data is equal to the standard full-scale data, the backward operation of the conveyor is stopped and the conveyor enters a normal detection state.
8. A foreign body detection device, characterized in that: The system for avoiding calibration errors of X-ray detectors according to claim 7 is included.
Citation Information
Patent Citations
Dynamic calibration method
CN103487449A