X-ray detection system and X-ray detection method
By acquiring the location and identification information of used mobile phones through vision cameras and barcode scanners, and combining them with a high-precision motion platform and X-ray imaging equipment, automated positioning and efficient detection of used mobile phones via X-ray inspection have been achieved. This solves the problems of low efficiency and unstable accuracy caused by manual adjustment, and ensures the consistency and reliability of the inspection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 转转一零二四(北京)科技有限公司
- Filing Date
- 2025-12-30
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, X-ray inspection of used mobile phones relies on manual adjustments, resulting in low efficiency, unstable accuracy, inability to adapt to different mobile phone sizes, poor compatibility, and impact on inspection efficiency and consistency.
The system employs a visual camera and a barcode scanner to work together to acquire images of the actual location and marking information of the equipment. The controller drives the motion platform to adjust the equipment to a preset center, and a high-precision ball screw transmission mechanism and motor are combined to achieve precise alignment. The system then automatically triggers an X-ray imaging device for detection.
It achieves full automation from positioning to detection, significantly improving the accuracy and efficiency of equipment placement, reducing human error, and ensuring the consistency and reliability of detection.
Smart Images

Figure CN121994831A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and in particular to an X-ray detection system and an X-ray detection method. Background Technology
[0002] In the quality inspection process before the recycling, refurbishment or sale of used mobile phones, X-ray inspection is a key step, which requires high-precision imaging technology to identify whether there are physical damage, welding defects or illegal modifications to internal components.
[0003] Currently, positioning relies on manual adjustments, which involves using a fixed-size clamp and manually adjusting the phone's position to fit different phone sizes.
[0004] However, problems such as low efficiency and unstable accuracy of manual adjustment, inconsistent sizes of different mobile phones and poor compatibility affect the efficiency and consistency of detection. Summary of the Invention
[0005] This application provides an X-ray detection system and an X-ray detection method to improve the accuracy and efficiency of X-ray detection equipment.
[0006] In a first aspect, embodiments of this application provide an X-ray detection system, including: a visual camera, a barcode scanner, an X-ray imaging device, a motion platform, and a controller;
[0007] The vision camera is used to capture images of the device to be tested placed on the motion platform, thereby obtaining an image of the actual position of the device to be tested.
[0008] The barcode scanner is used to acquire the device identification information of the device to be tested.
[0009] The controller is used to control the motion platform to adjust the device to be detected to a preset center position based on the actual position image and the device identification information;
[0010] The controller is also used to control the X-ray imaging device to perform X-ray detection on the device under test after adjusting the device to be tested to the preset center.
[0011] In one or more embodiments, the system further includes: a positioning carrier disposed on the motion platform;
[0012] The positioning carrier is equipped with an adjustable limit block, which is used to limit the device to be tested to be positioned on the positioning carrier.
[0013] In one or more embodiments, the motion platform is an XY-axis motion platform, which includes: a high-precision ball screw transmission mechanism and a motor;
[0014] The motor is used to receive adjustment commands from the controller and control the high-precision ball screw transmission mechanism to adjust the device to be tested to the preset center.
[0015] In one or more embodiments, the X-ray imaging device includes: an X-ray imaging flat panel and an X-ray source;
[0016] The X-ray source is used to emit X-rays that penetrate the device to be inspected;
[0017] The X-ray imaging is used to receive X-rays that penetrate the device under test and generate X-ray images.
[0018] In one or more embodiments, the preset center is the projection point on the plane of the motion platform based on the axis determined by the imaging center of the X-ray imaging plate and the beam exit center of the X-ray source.
[0019] In a second aspect, embodiments of this application provide an X-ray detection method applied to a controller in the X-ray detection system described in the first aspect, the method comprising:
[0020] Acquire the actual location image of the device under test and the device identification information of the device under test;
[0021] Based on the actual location image and the device identification information, the motion platform is controlled to adjust the device to be detected to a preset center.
[0022] After adjusting the device to be inspected to the preset center, the X-ray imaging device is controlled to perform X-ray inspection on the device to be inspected.
[0023] In one or more embodiments, controlling the motion platform to adjust the device to be detected to a preset center based on the actual position image and the device identification information includes:
[0024] Based on the device identification information, determine the physical dimensions of the device to be tested;
[0025] Based on the physical size information and the actual position image, determine the positional deviation between the device to be tested and the preset center;
[0026] Based on the positional deviation, an adjustment command is generated and sent to the motion platform, which is used to adjust the device to be tested to the preset center according to the adjustment command.
[0027] In one or more embodiments, determining the positional deviation between the device to be detected and the preset center based on the physical size information and the actual position image includes:
[0028] Based on the contour in the actual location image and the physical size information, determine the actual center position of the device to be detected in the image coordinate system;
[0029] The positional deviation is determined based on the actual center position and the preset center.
[0030] Thirdly, embodiments of this application provide an X-ray detection device, applied to a controller in the X-ray detection system described in the first aspect, the device comprising:
[0031] The acquisition module is used to acquire the actual location image of the device under test and the device identification information of the device under test;
[0032] The control module is used for:
[0033] Based on the actual location image and the device identification information, the motion platform is controlled to adjust the device to be detected to a preset center.
[0034] After adjusting the device to be inspected to the preset center, the X-ray imaging device is controlled to perform X-ray inspection on the device to be inspected.
[0035] In one or more embodiments, the control module, based on the actual position image and the device identification information, controls the motion platform to adjust the device to be detected to a preset center, specifically for:
[0036] Based on the device identification information, determine the physical dimensions of the device to be tested;
[0037] Based on the physical size information and the actual position image, determine the positional deviation between the device to be tested and the preset center;
[0038] Based on the positional deviation, an adjustment command is generated and sent to the motion platform, which is used to adjust the device to be tested to the preset center according to the adjustment command.
[0039] In one or more embodiments, the control module determines the positional deviation between the device to be detected and the preset center based on the physical size information and the actual position image, specifically for:
[0040] Based on the contour in the actual location image and the physical size information, determine the actual center position of the device to be detected in the image coordinate system;
[0041] The positional deviation is determined based on the actual center position and the preset center.
[0042] Fourthly, embodiments of this application provide a controller, including: a memory and a processor;
[0043] The memory stores computer-executed instructions;
[0044] The processor executes computer execution instructions stored in the memory, causing the processor to perform the second aspect and / or various possible implementations of the second aspect as described above.
[0045] Fifthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the second aspect and / or various possible implementations of the second aspect as described above.
[0046] Sixthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the second aspect and / or various possible implementations of the second aspect as described above.
[0047] The X-ray inspection system and method provided in this application include: a vision camera, a barcode scanner, an X-ray imaging device, a motion platform, and a controller. The vision camera is used to capture images of the device to be inspected placed on the motion platform, acquiring an image of the device's actual position. The barcode scanner is used to acquire the device identification information of the device. The controller is used to control the motion platform to adjust the device to a preset center position based on the actual position image and the device identification information. After adjusting the device to the preset center position, the controller also controls the X-ray imaging device to perform X-ray inspection on the device. In this solution, the vision camera and barcode scanner work together to acquire the actual position image and device identification information of the device to be inspected. The controller accurately drives the motion platform to adjust the device to the preset center position based on this data, and then automatically triggers the X-ray imaging device to perform inspection. This achieves full automation from positioning and alignment to inspection, which not only significantly improves the accuracy and efficiency of device placement and reduces errors that may be caused by manual intervention, but also ensures the consistency and reliability of X-ray inspection through standardized positioning. Attached Figure Description
[0048] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0049] Figure 1 Schematic diagram of the X-ray inspection system provided in this application Figure 1 ;
[0050] Figure 2 Schematic diagram of the X-ray inspection system provided in this application Figure 2 ;
[0051] Figure 3 A schematic diagram of the X-ray detection method provided in this application;
[0052] Figure 4 This is a schematic diagram of the structure of the X-ray detection device provided in this application;
[0053] Figure 5 A schematic diagram of the controller provided in this application.
[0054] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0055] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0056] In the quality inspection process before the recycling, refurbishment or sale of used mobile phones, X-ray inspection is a key step, which requires high-precision imaging technology to identify whether there are physical damage, welding defects or illegal modifications to internal components.
[0057] In existing technologies, the physical location of used mobile phones for X-ray inspection mainly relies on the following two methods:
[0058] (1) Manual adjustment of the fixing fixture: A fixture of fixed size is used, and the position of the mobile phone is manually adjusted to adapt to different sizes of models.
[0059] Specifically: the operator manually changes the clamp or adjusts the limit block according to the size of the mobile phone, and then acquires the image through the X-ray imaging tablet.
[0060] (2) Software adjustment based on image registration algorithm: The mobile phone image is captured by a visual positioning camera, the mobile phone position deviation is calculated by the image registration algorithm, and the image position is corrected by software.
[0061] Specifically: the camera captures images of the phone and identifies edge features; the algorithm calculates the offset between the phone and the imaging center; and the software adjusts the image display position to compensate for the deviation.
[0062] (3) Use fixed fixtures in conjunction with visual positioning: adjust parameters manually or rely on complex image registration algorithms for post-image correction.
[0063] Based on the aforementioned existing technology, the following technical problems exist:
[0064] 1) The fixing fixture cannot adapt to mobile phones of different sizes, requiring frequent replacement or manual adjustment, resulting in cumbersome operation and low efficiency;
[0065] 2) When adjusting the image position using image registration algorithms, the processing time is relatively long (usually 0.5-2 seconds per image), affecting the overall detection speed.
[0066] 3) Image registration algorithms are greatly affected by lighting, workpiece posture, and surface features, resulting in a failure rate of 3-5%, which leads to poor system stability;
[0067] 4) Software adjustments can only achieve positional compensation at the image level and cannot solve imaging quality problems (such as edge distortion) caused by physical positioning deviations.
[0068] To address the technical problems existing in the prior art, the inventors of this application propose the following concept: If industrial vision positioning and automated motion control technology can be combined, intelligent correction and precise alignment of the equipment to be inspected can be achieved. First, a vision camera is used to simulate the human eye to obtain positional deviations, and a barcode scanner is used to obtain identity information to achieve data binding. Then, the controller calculates the adjustment instructions of the motion platform based on visual feedback, replacing manual adjustment. Finally, after the equipment is automatically and precisely positioned at the inspection center, an X-ray scan is automatically triggered, thereby systematically improving the accuracy, speed, and automation level of the inspection.
[0069] Based on the above technical concept, the technical solution of this application and how the technical solution of this application solves the above technical problems will be described in detail below with specific embodiments.
[0070] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.
[0071] Figure 1 Schematic diagram of the X-ray inspection system provided in this application Figure 1 ,like Figure 1 As shown, the system includes: a vision camera 11, a barcode scanner 12, an X-ray imaging device 13, a motion platform 14, and a controller 15;
[0072] The vision camera 11 is used to capture images of the device to be inspected, which is placed on the motion platform 14, to obtain an image of the actual position of the device to be inspected.
[0073] In this implementation, the vision camera 11 can be mounted on a gantry-type fixed bracket to capture images of the actual position of the device under test in physical space by photographing the device placed on the motion platform 14.
[0074] The actual position image may include pixel difference information between the four sides of the device to be detected and the center of the motion platform 14.
[0075] The barcode scanner 12 is used to acquire the device identification information of the device to be inspected;
[0076] In this implementation, the barcode scanner 12 is used to read the barcode (such as serial number, model label and other device identification information) attached to the device to be tested, so that the controller 15 can obtain key parameters such as the model and physical size of the device to be tested based on this.
[0077] The controller 15 is used to control the motion platform 14 to adjust the device to be tested to a preset center position based on the actual position image and device identification information;
[0078] In this implementation, the controller 15 calculates the positional deviation between the current position of the device under test and a preset center (e.g., the center point of the motion platform 14) based on the physical size information corresponding to the device identification information and the actual position image captured by the vision camera 11. Subsequently, the controller 15 converts the positional deviation into a motor drive signal, controlling the motion platform 14 to move the device under test, so that the device under test is accurately positioned at the center of the X-ray imaging.
[0079] The controller 15 is also used to control the X-ray imaging device 13 to perform X-ray inspection on the device under inspection after the device under inspection is adjusted to a preset center.
[0080] In this implementation, after the automatic centering adjustment of the device under test is completed, that is, the controller 15 confirms that the device under test is accurately located at the preset center. At this time, the controller 15 triggers the X-ray imaging device 13 to start and perform X-ray inspection on the device under test.
[0081] The X-ray inspection system provided in this application includes: a vision camera, a barcode scanner, an X-ray imaging device, a motion platform, and a controller. The vision camera is used to photograph the device to be inspected placed on the motion platform to obtain an image of the actual position of the device. The barcode scanner is used to obtain the device identification information of the device. The controller is used to control the motion platform to adjust the device to be inspected to a preset center position based on the actual position image and the device identification information. The controller is also used to control the X-ray imaging device to perform X-ray inspection on the device after it has been adjusted to the preset center position. In this solution, the vision camera and barcode scanner work together to collect the actual position image and device identification information of the device to be inspected. The controller accurately drives the motion platform to adjust the device to the preset center position based on this data, and then automatically triggers the X-ray imaging device to perform inspection. This achieves full automation from positioning and alignment to inspection, which not only significantly improves the accuracy and efficiency of device placement and reduces errors that may be caused by manual intervention, but also ensures the consistency and reliability of X-ray inspection through standardized positioning.
[0082] Based on the above embodiments, Figure 2 Schematic diagram of the X-ray inspection system provided in this application Figure 2 ,like Figure 2 As shown, the system also includes: a positioning carrier 21, which is mounted on the motion platform 14; the positioning carrier 21 is provided with an adjustable limit block, which is used to limit the device to be tested to be positioned on the positioning carrier 21.
[0083] In this implementation, the positioning carrier 21 is mounted on the motion platform 14 and is equipped with adjustable limit blocks. These limit blocks can be flexibly adjusted according to the size of the device to be tested (e.g., a mobile phone stand in the range of 150-170mm).
[0084] When the device to be tested is placed on the positioning carrier 21, the limiting block can physically constrain the device to be tested from the side or end, ensuring that the initial position of the device to be tested on the positioning carrier 21 is relatively fixed and will not shift.
[0085] Optionally, the motion platform 14 is an XY-axis motion platform, which includes a high-precision ball screw transmission mechanism and a motor. The motor is used to receive adjustment commands issued by the controller 15 and control the high-precision ball screw transmission mechanism to adjust the device to be tested to the preset center.
[0086] In this implementation, the motion platform 14 is preferably an XY-axis motion platform, including a high-precision ball screw transmission mechanism and a matching motor (e.g., a servo motor). This allows the device under test to move accurately and smoothly in two vertical directions (X-axis and Y-axis) within a plane.
[0087] Once the controller 15 calculates the positional deviation between the current position of the device to be tested and the preset center based on the actual position image captured by the vision camera 11 and the device identification information obtained by the barcode scanner 12, it will generate a corresponding adjustment command and send it to the motor.
[0088] After receiving the command, the motor drives the high-precision ball screw transmission mechanism to move, causing the positioning carrier 21 and the device to be tested placed on it to move slightly until the device to be tested is accurately adjusted to the preset center.
[0089] Optionally, the X-ray imaging device 13 includes: an X-ray imaging panel 131 and an X-ray source 132; the X-ray source 132 is used to emit X-rays to penetrate the device under test; the X-ray imaging device is used to receive the X-rays that have penetrated the device under test and generate an X-ray image.
[0090] In this implementation, the X-ray source 132 emits one or more X-ray beams that penetrate the device under test, which is placed on the precisely positioned positioning carrier 21. Because different materials and structures within the device absorb X-rays to varying degrees, the penetrating X-rays carry information about its internal structure. The X-ray imaging panel 131, acting as a highly sensitive digital detector, receives these penetrating X-ray signals, converts them into electrical signals, and then processes them internally to generate a clear digital X-ray image, referred to as X-ray imaging.
[0091] Optionally, the preset center is the projection point on the plane of the motion platform 14, which is determined by the imaging center of the X-ray imaging plate 131 and the beam exit center of the X-ray source 132.
[0092] In this implementation, the preset center is an ideal axis jointly determined by the imaging center of the X-ray imaging plate 131 (i.e., the geometric and photosensitive center of the plate detection surface) and the beam emission center of the X-ray source 132 (i.e., the theoretical emission core axis of the beam). The vertical projection point of this axis on the plane of the motion platform 14 (i.e., the horizontal plane carrying the device to be tested) is the preset center.
[0093] This preset center represents the theoretically optimal imaging position in X-ray inspection, ensuring that the device under inspection is positioned at this point, so that X-rays can penetrate the device with the straightest and least distorted path and be uniformly received by the flat panel, thereby obtaining the highest quality and most consistent imaging effect.
[0094] It should be understood that: Figure 2 Controller 15 is not specified in the text. In fact, controller 15 can be placed in any of the aforementioned components and connected to the components with which it has a logical execution relationship; it can also be placed in... Figure 2 The gantry-type fixed bracket shown.
[0095] The X-ray inspection system provided in this application embodiment further includes: a positioning carrier, which is mounted on a motion platform; the positioning carrier is equipped with an adjustable limiting block, which is used to limit the device to be inspected on the positioning carrier. In this solution, firstly, the adjustable limiting block can adapt to devices to be inspected of different sizes and shapes, significantly improving the system's versatility and applicability; secondly, the initial mechanical limiting reduces the initial positional deviation of the device to be inspected on the motion platform, narrowing the search and calculation range for subsequent precise positioning of the visual camera, thereby improving the efficiency and speed of the entire alignment adjustment process; furthermore, stable physical limiting helps prevent the device from sliding or shifting during platform movement, ensuring the safety and reliability of the movement and inspection process.
[0096] Based on the above system embodiments, Figure 3 This is a flowchart illustrating the X-ray detection method provided in this application, as shown below. Figure 3 As shown, this method is applied to the controller of an X-ray detection system, including:
[0097] Step 31: Obtain the actual location image of the device under test and the device identification information of the device under test;
[0098] In this step, the vision camera is triggered to take a picture of the device to be inspected, which has been placed on the motion platform, to obtain a clear image containing the outline and position of the device to be inspected, so as to determine its current actual placement coordinates; at the same time, the barcode scanner 12 is driven to read the information code attached to the device to be inspected and parse out the device identification information from it.
[0099] Step 32: Based on the actual location image and device identification information, control the motion platform to adjust the device to be tested to the preset center;
[0100] In this step, based on the acquired actual location image and device identification information, the positional deviation between the device to be inspected and the preset center can be determined. In order for the X-ray imaging device to inspect the device to be inspected more accurately, it is necessary to control the motion platform to adjust the device to be inspected to the preset center based on the positional deviation.
[0101] Optionally, one possible implementation of step 32 could be:
[0102] Step 1: Determine the physical dimensions of the equipment to be tested based on the equipment identification information;
[0103] In this implementation, the precise physical dimension parameters of the device under test, including length and width, are retrieved or calculated from the built-in database or external system based on the device identification information.
[0104] Step 2: Determine the positional deviation between the device to be tested and the preset center based on the physical dimension information and the actual position image;
[0105] In this implementation, based on the physical size data of the device under test and the currently captured actual position image, the offset of the actual position of the device under test from the preset center in the planar direction is calculated and recorded as the position deviation (x1, y1, x2, y2).
[0106] For example, step 2 can be implemented as follows: determine the actual center position of the device to be detected in the image coordinate system based on the contour and physical size information in the actual position image; determine the position deviation based on the actual center position and the preset center.
[0107] In this implementation, based on the actual position image captured by the vision camera, the complete outline of the device to be detected in the image is first extracted using image recognition algorithms (such as edge detection, contour extraction, etc.). Combined with the acquired physical size information (such as length and width) and calibration parameters (such as the conversion relationship between image pixels and actual physical size), the actual center position of the device to be detected in the current image coordinate system can be accurately calculated.
[0108] Subsequently, the actual center position is compared with the preset center (i.e., the projection position of the axis jointly determined by the X-ray imaging plate 131 and the X-ray source 132 on the motion platform plane), and the positional deviation of the device relative to the preset center in the X and Y directions is calculated respectively.
[0109] Step 3: Based on the positional deviation, generate adjustment instructions and send them to the motion platform. The motion platform is used to adjust the device to be tested to the preset center according to the adjustment instructions.
[0110] In this implementation, the calculated position deviation is converted into adjustment commands (such as pulse signals of servo motors or analog drive signals) that are adapted to the drive structure of the XY motion platform.
[0111] The adjustment command can include information on the adjustment direction and movement distance. After receiving the adjustment command, the motion platform drives the device under test to make fine adjustments through a high-precision ball screw transmission mechanism until the device under test is precisely moved to the preset center position.
[0112] Step 33: After adjusting the device to be inspected to the preset center, control the X-ray imaging device to perform X-ray inspection on the device to be inspected.
[0113] In this step, once the device to be inspected is successfully aligned to the preset center, a start command is sent to the X-ray imaging device: the X-ray source is controlled to emit X-rays, which penetrate the aligned device to be inspected; at the same time, the X-ray imaging panel is controlled to receive the transmitted X-ray signal and convert it into a digital image, thereby completing the X-ray inspection.
[0114] The X-ray inspection method provided in this application acquires the actual position image of the device under inspection and the device identification information of the device under inspection; based on the actual position image and the device identification information, it controls a motion platform to adjust the device under inspection to a preset center; after adjusting the device under inspection to the preset center, it controls an X-ray imaging device to perform X-ray inspection on the device under inspection. Firstly, by combining the actual position image and the device identification information, different devices can be intelligently identified and their precise positional deviation from the preset center can be calculated, thereby driving the motion platform to make adaptive adjustments, fundamentally solving the problems of random errors and poor consistency caused by manual placement; secondly, the continuous execution of automated adjustment and inspection significantly shortens the inspection cycle of a single device, significantly improving overall work efficiency; thirdly, the closed-loop control based on image feedback ensures that the device is at the optimal geometric center of the image during each inspection, which directly improves the quality, stability, and comparability of the X-ray image, providing a reliable foundation for subsequent image analysis and defect judgment.
[0115] Based on the above embodiments, Figure 4 This is a schematic diagram of the structure of the X-ray detection device provided in this application, as shown below. Figure 4 As shown, this device is used in the controller of an X-ray inspection system and includes:
[0116] The acquisition module 41 is used to acquire the actual location image of the device under test and the device identification information of the device under test;
[0117] Control module 42 is used for:
[0118] Based on the actual location image and equipment identification information, the control motion platform adjusts the equipment to be tested to the preset center.
[0119] After adjusting the device to be inspected to the preset center, the X-ray imaging device is controlled to perform X-ray inspection on the device.
[0120] In one or more embodiments, the control module 42, based on the actual position image and device identification information, controls the motion platform to adjust the device to be detected to a preset center, specifically for:
[0121] Based on the equipment identification information, determine the physical dimensions of the equipment to be tested;
[0122] Based on the physical dimensions and actual position images, determine the positional deviation between the device to be tested and the preset center;
[0123] Based on the positional deviation, an adjustment command is generated and sent to the motion platform, which is used to adjust the device under test to the preset center according to the adjustment command.
[0124] In one or more embodiments, the control module 42 determines the positional deviation between the device to be detected and a preset center based on physical size information and an actual position image, specifically for:
[0125] Based on the contour and physical size information in the actual location image, determine the actual center position of the device to be detected in the image coordinate system;
[0126] Determine the positional deviation based on the actual center position and the preset center.
[0127] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical element, or they can be physically separated. Furthermore, these modules can be implemented entirely in software through processing element calls, or entirely in hardware. Alternatively, some modules can be implemented through processing element calls in software, while others can be implemented in hardware. Moreover, these modules can be integrated together or implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. During implementation, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0128] As can be seen from the above, the X-ray detection device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be described in detail here.
[0129] Figure 5 This is a schematic diagram of the controller provided in this application. Figure 5 As shown, the controller provided in this embodiment includes at least one processor 51 and a memory 52.
[0130] Optionally, the controller also includes a communication component 53.
[0131] The processor 51, memory 52 and communication component 53 are connected via bus 54.
[0132] In a specific implementation, at least one processor 51 executes computer execution instructions stored in memory 52, causing at least one processor 51 to perform the above-described method.
[0133] The specific implementation process of processor 51 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0134] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0135] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0136] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0137] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0138] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0139] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0140] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0141] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0142] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0143] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0144] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0145] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0146] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. An X-ray detection system, characterized in that, The system includes: a vision camera, a barcode scanner, an X-ray imaging device, a motion platform, and a controller; The vision camera is used to capture images of the device to be tested placed on the motion platform, thereby obtaining an image of the actual position of the device to be tested. The barcode scanner is used to acquire the device identification information of the device to be tested. The controller is used to control the motion platform to adjust the device to be detected to a preset center position based on the actual position image and the device identification information; The controller is also used to control the X-ray imaging device to perform X-ray detection on the device under test after adjusting the device to be tested to the preset center.
2. The system according to claim 1, characterized in that, The system further includes: a positioning carrier, which is mounted on the motion platform; The positioning carrier is equipped with an adjustable limit block, which is used to limit the device to be tested to be positioned on the positioning carrier.
3. The system according to claim 1, characterized in that, The motion platform is an XY-axis motion platform, which includes: a high-precision ball screw transmission mechanism and a motor; The motor is used to receive adjustment commands from the controller and control the high-precision ball screw transmission mechanism to adjust the device to be tested to the preset center.
4. The system according to any one of claims 1-3, characterized in that, The X-ray imaging device includes: an X-ray imaging panel and an X-ray source; The X-ray source is used to emit X-rays that penetrate the device to be inspected; The X-ray imaging is used to receive X-rays that penetrate the device under test and generate X-ray images.
5. The system according to claim 4, characterized in that, The preset center is the projection point on the plane of the motion platform, which is determined by the axis jointly determined by the imaging center of the X-ray imaging plate and the beam exit center of the X-ray source.
6. An X-ray detection method, characterized in that, The method, applied to the controller in the X-ray detection system according to any one of claims 1-5, comprises: Acquire the actual location image of the device under test and the device identification information of the device under test; Based on the actual location image and the device identification information, the motion platform is controlled to adjust the device to be detected to a preset center. After adjusting the device to be inspected to the preset center, the X-ray imaging device is controlled to perform X-ray inspection on the device to be inspected.
7. The method according to claim 6, characterized in that, The step of controlling the motion platform to adjust the device to be detected to a preset center position based on the actual position image and the device identification information includes: Based on the device identification information, determine the physical dimensions of the device to be tested; Based on the physical size information and the actual position image, determine the positional deviation between the device to be tested and the preset center; Based on the positional deviation, an adjustment command is generated and sent to the motion platform, which is used to adjust the device to be tested to the preset center according to the adjustment command.
8. The method according to claim 7, characterized in that, The step of determining the positional deviation between the device to be detected and the preset center based on the physical size information and the actual position image includes: Based on the contour in the actual location image and the physical size information, determine the actual center position of the device to be detected in the image coordinate system; The positional deviation is determined based on the actual center position and the preset center.
9. A controller, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 6-8.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 6-8.