Circulating track scanning type digital imaging detection device

The circular orbit scanning digital imaging detection device designed with a circular rotating mechanism solves the problem of unclear imaging caused by the conveyor belt and achieves a more stable imaging process and higher imaging clarity.

CN221725901UActive Publication Date: 2024-09-17XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202322779251.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2024-09-17
Estimated Expiration
2033-10-17

AI Technical Summary

Technical Problem

In conventional digital radiography detection systems, the presence of the conveyor belt results in a long distance between the detector and the object, which affects the imaging quality, and the vibration of the conveyor belt causes unclear imaging.

Method used

A circular orbit scanning digital imaging detection device designed with an annular rotating mechanism. The motor driving mechanism drives the annular rotating mechanism to rotate, pushing the object to be measured on the transparent shelf to move to the detection area, and using the detector and camera to collect X-rays and visible light. image to ensure that there is no obstruction between the detector and the object to be measured to avoid jitter.

Benefits of technology

It achieves a more stable imaging process, ensures imaging clarity to the greatest extent, and solves the problem of unclear imaging caused by conveyor belt jitter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221725901U
    Figure CN221725901U
Patent Text Reader

Abstract

The utility model discloses a circulating track scanning type digital imaging detection device which comprises a control cabinet, a PLC (programmable logic controller) is mounted in the control cabinet, a workbench is mounted on the control cabinet, annular rotating mechanisms are mounted on two sides of the workbench, motor driving mechanisms are mounted at the front ends of the two annular rotating mechanisms, and the motor driving mechanisms are connected with the PLC. The motor driving mechanism is electrically connected with the PLC; a plurality of pairs of pushing mechanisms which are symmetrically distributed are installed on the inner sides of the two annular rotating mechanisms, and when the pushing mechanisms rotate to the upper surface of the workbench along the annular rotating mechanisms, the bottoms of the pushing mechanisms are attached to the side edge of the workbench; a light-transmitting storage plate is installed on the upper surface of the workbench, one end of the light-transmitting storage plate is close to the pushing mechanism, an opening is transversely formed in the middle of the workbench and serves as a detection area, a detector is installed under the opening, and a camera and a light source are installed over the opening. According to the utility model, clear imaging is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of digital imaging detection, in particular to a circulating track scanning type digital imaging detection device. Background Art

[0002] After X-rays pass through an object, they are received by the detector, which converts the analog signal of the image into a digital signal and inputs it into a computer for image processing. The digital image is stored in a computer in a certain format and displayed on a display screen. By observing the test image and applying a computer program, defect assessment can be performed in accordance with relevant standards to achieve the purpose of non-destructive testing. The test image can be stored on a computer or digital storage medium. With the development of X-ray digital imaging technology, X-ray detectors have gone through three stages: image intensifiers, linear array detectors, and flat-panel detectors, forming three technical routes. Therefore, X-ray digital imaging detection technology has formed three technical routes: image intensifier imaging technology route, linear array detector imaging technology route, and flat-panel detector imaging technology route. Different imaging technology routes will have different imaging equipment configurations, forming different X-ray digital imaging detection systems for users to choose and use.

[0003] In conventional DR (digital radiography) detection systems, the detector and the object are separated by devices such as conveyor belts, and the long distance between the detector and the object affects the imaging quality, resulting in unclear images. The vibration of the conveyor belt may also cause unclear images. Utility Model Content

[0004] In view of this, the purpose of the present invention is to provide a cyclic track scanning digital imaging detection device.

[0005] In order to achieve the above technical objectives, the technical solution adopted by the utility model is:

[0006] A circular track scanning digital imaging detection device, comprising: a control cabinet, a PLC controller is installed in the control cabinet, a workbench is installed on the control cabinet, annular rotating mechanisms are installed on both sides of the workbench, motor drive mechanisms are installed at the front ends of the two annular rotating mechanisms, and the motor drive mechanisms are electrically connected to the PLC controller; multiple pairs of symmetrically distributed pushing mechanisms are installed on the inner sides of the two annular rotating mechanisms, when the pushing mechanisms rotate along the annular rotating mechanisms to the upper surface of the workbench, the bottoms of the pushing mechanisms are close to the side edges of the workbench; a light-transmitting placement plate is installed on the upper surface of the workbench, one end of the light-transmitting placement plate is close to the pushing mechanism, an opening is horizontally arranged in the middle of the workbench as a detection area, a detector is installed directly below the opening, and a camera and a light source are installed directly above the opening;

[0007] The PLC controller controls the movement of the motor drive mechanism, and drives the annular rotating mechanism to rotate through the motor drive mechanism, thereby driving the pushing mechanism to push the light-transmitting placement plate on the surface of the workbench along the annular rotating mechanism, so that the object to be measured on the light-transmitting placement plate moves to the opening position, and collects the X-ray image and visible light image of the movement process of the object to be measured in the detection area through the detector and the camera respectively.

[0008] Furthermore, the annular rotating mechanism includes an annular fixing frame, two track brackets, an annular track, a belt, two pulleys, two rotating shafts and a connecting shaft, the two track brackets are respectively mounted on the inner sides of the front and rear arc-shaped portions of the annular fixing frame, the front and rear arc-shaped portions of the annular track are fixedly mounted on the inner sides of the track brackets, the pulleys are rotatably connected to the inner sides of the track brackets and are located in the middle of the arc-shaped portions of the annular track, the two ends of the belt are respectively sleeved on the two pulleys, the rotating shaft is mounted on the outer sides of the track brackets and rotatably connected to the pulleys, and the two ends of the connecting shaft are respectively rotatably connected to the two rotating shafts at the front end; the motor driving mechanism is mounted on the rotating shaft on the corresponding side of the front end; the pushing mechanism is mounted on the annular track and the belt.

[0009] Furthermore, the annular rotating mechanism also includes a plurality of bars and a plurality of limit brackets, wherein the plurality of bars are installed on the inner surface of the belt and protrude from the outer side of the belt, and the plurality of limit brackets are installed on the inner surface of the annular fixing frame and are close to the outer side of the bars.

[0010] Furthermore, the annular rotating mechanism also includes a plurality of vertical frames, the upper ends of the plurality of vertical frames are fixedly mounted on the inner side of the upper horizontal portion of the annular fixing frame, and the lower ends of the vertical frames are passed through the lower horizontal portion of the annular fixing frame and fixed on the control cabinet.

[0011] Furthermore, the annular rotating mechanism also includes a plurality of reinforcing frames, which are against the outer sides of the vertical frame and the lower horizontal parts of the annular fixed frame and are fixed on the control cabinet.

[0012] Furthermore, the motor drive mechanism includes a motor, a coupling and a motor bracket, the motor bracket is fixedly connected to the outer side of any one of the front end track brackets, the coupling and the corresponding rotating shaft are installed in the motor bracket, the motor is fixedly installed on the motor bracket and is rotationally connected to the coupling, and the coupling is rotationally connected to the corresponding rotating shaft.

[0013] Furthermore, the pushing mechanism includes a push rod, a slide and an eccentric wheel, the push rod is in an L-shaped structure, the eccentric wheel is installed on a circular track, the inner side of the eccentric wheel is fixedly connected to the slide, the end of the slide close to the belt is fixed to the belt, the vertical plate of the push rod is fixedly connected to the inner side of the slide, the horizontal plate of the push rod faces inward, and the belt drives the slide to make the eccentric wheel rotate along the circular track. When driving the push rod to rotate to the upper surface of the workbench, the horizontal plate of the push rod moves along the side of the workbench and pushes the translucent storage plate close to the horizontal plate to move.

[0014] Furthermore, the four corners of the bottom of the control cabinet are all equipped with fixing plates, the bottom of the fixing plates are fixedly equipped with moving wheels and an adjusting rod which is telescopically connected via a nut, and the bottom of the adjusting rod is provided with a fixing seat.

[0015] Furthermore, it also includes a light source bracket mounted above the opening, wherein two first connecting rods are arranged in parallel at the upper end of the light source bracket, and two second connecting rods are arranged in parallel below the two first connecting rods, the upper end of the light source is fixed to the first connecting rod by two first limiting rods, and the lower end of the light source is fixed to the second connecting rod by two second limiting rods; at least one first long slot hole is opened on the first connecting rod, at least one first limiting hole is opened on the first limiting rod, and the first limiting hole and the first long slot hole are threadedly matched to complete the connection between the first limiting rod and the first connecting rod; at least one second long slot hole is opened on the second connecting rod, and at least one second limiting hole is opened on the second limiting rod, and the second limiting hole and the second long slot hole are threadedly matched to complete the connection between the second limiting rod and the second connecting rod; the position of the light source is adjusted by adjusting the position of the first limiting hole on the first long slot hole and the position of the second limiting hole on the first long slot hole;

[0016] A third connecting rod is connected between the two second connecting rods, and the third connecting rod is fixed to the camera through a third limiting rod; a third long slot hole is opened on the inner side of the third connecting rod, and a third limiting hole is opened on the third limiting rod. The third limiting hole and the third long slot hole are threadedly matched to complete the connection between the third limiting rod and the third connecting rod, and the position of the camera is adjusted by adjusting the position of the third limiting hole on the third long slot hole.

[0017] Furthermore, the workbench includes a support plate and a support frame, the support plate is fixed on the support frame, an opening is horizontally arranged in the middle of the support plate, and the detector is fixedly connected to the bottom of the support plate through a plurality of connecting plates and is close to the opening.

[0018] By adopting the above technical solution, the utility model has the following beneficial effects compared with the prior art:

[0019] The utility model adopts a circular rotating mechanism (circular track) design to ensure the stability of the structure during operation. An opening is made above the detector to ensure that there is no obstruction between the detector and the object to be tested, ensuring the clarity of the imaging to the greatest extent. The utility model uses a circular track for cyclic operation, and pushes the object to be tested on the workbench for detection. Since the workbench is relatively stable and does not shake, it solves the problem of unclear imaging caused by the shaking of the conveyor belt in other DR systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a structural schematic diagram of a circulating track scanning digital imaging detection device provided by an embodiment of the utility model (excluding the light-transmitting storage plate).

[0022] Figure 2 It is a structural schematic diagram of a circulating track scanning digital imaging detection device (including a light-transmitting storage plate) provided in an embodiment of the utility model.

[0023] Figure 3 It is one of the three-dimensional diagrams of the annular rotating mechanism provided in the embodiment of the utility model.

[0024] Figure 4 This is the second stereoscopic diagram of the annular rotating mechanism provided in the embodiment of the utility model.

[0025] Figure 5 It is one of the three-dimensional diagrams of the transmission connection between the annular rotating mechanism, the motor driving mechanism and the pushing mechanism provided in the embodiment of the utility model.

[0026] Figure 6 This is the second stereoscopic diagram of the transmission connection between the annular rotating mechanism, the motor driving mechanism and the pushing mechanism provided in the embodiment of the utility model.

[0027] Figure 7 It is a structural diagram of the transmission connection between the pulley and the rotating shaft provided in an embodiment of the utility model.

[0028] Figure 8 This is one of the three-dimensional diagrams of the control cabinet provided in the embodiment of the utility model.

[0029] Fig. 9 This is the second stereoscopic diagram of the control cabinet provided by the embodiment of the utility model.

[0030] Fig.10 It is a structural diagram of a workbench provided by an embodiment of the utility model.

[0031] Fig.11 This is one of the three-dimensional views of the light source bracket provided in the embodiment of the utility model.

[0032] Fig.12 This is the second stereoscopic view of the light source bracket provided in the embodiment of the utility model.

[0033] Fig.13 It is a schematic diagram of the connection relationship between the PLC controller, the motor, the coupling and the rotating shaft provided in an embodiment of the utility model.

[0034] Fig.14 It is an execution flow chart of the DR detection method based on Swin-UNet provided in an embodiment of the utility model.

[0035] Fig.15 It is an image registration flow chart provided by an embodiment of the utility model.

[0036] Fig.16 This is a Swin-UNet network architecture diagram provided by an embodiment of the present utility model.

[0037] Fig.17 It is a structural diagram of the Swin-Transformer block provided in an embodiment of the utility model.

[0038] Fig.18 It is a schematic diagram of an electronic device provided by an embodiment of the utility model.

[0039] Fig.19 It is a schematic diagram of a computer-readable storage medium provided in an embodiment of the utility model.

[0040] Description of the numbers in the figure:

[0041] Control cabinet 1, PLC controller 11, fixed plate 12, moving wheel 13, adjusting rod 14, fixed seat 15; workbench 2, opening 21, support plate 22, support frame 23, connecting plate 24; annular rotating mechanism 3, annular fixed frame 31, track bracket 32, annular track 33, belt 34, pulley 35, rotating shaft 36, connecting shaft 37, stop bar 38, limit bracket 39, stand 310, reinforcement frame 311; motor drive mechanism 4, motor 41, coupling 42, electric Machine bracket 43; pushing mechanism 5, push rod 51, slide seat 52, eccentric wheel 53; light-transmitting storage plate 6, detector 7, camera 8, light source 9, light source bracket 10, first connecting rod 101, second connecting rod 102, first limiting rod 103, second limiting rod 104, first long slot hole 105, first limiting hole 106, second long slot hole 107, second limiting hole 108, third connecting rod 109, third limiting rod 110, third long slot hole 111, third limiting hole 112. DETAILED DESCRIPTION

[0042] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It is particularly noted that the following embodiments are only used to illustrate the present invention, but do not limit the scope of the present invention. Similarly, the following embodiments are only partial embodiments of the present invention rather than all embodiments. All other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] See also Figure 1-Figure 13 The utility model is a cyclic track scanning digital imaging detection device, comprising: a control cabinet 1, a PLC controller 11 is installed in the control cabinet 1, a workbench 2 is installed on the control cabinet 1, an annular rotating mechanism 3 is installed on both sides of the workbench 2, a motor driving mechanism 4 is installed at the front end of the two annular rotating mechanisms 3, and the motor driving mechanism 4 is electrically connected to the PLC controller 11; a plurality of pairs of symmetrically distributed pushing mechanisms 5 are installed on the inner sides of the two annular rotating mechanisms 3, and when the pushing mechanism 5 rotates along the annular rotating mechanism 3 to the upper surface of the workbench 2, the bottom of the pushing mechanism 5 is close to On the side of the workbench 2; a light-transmitting plate 6 is installed on the upper surface of the workbench 2, and the light-transmitting plate is a foam board for placing the object to be tested, and can transmit the X-ray emitted by the detector 7 to the object to be tested, so as to smoothly collect the X-ray image of the object to be tested; one end of the light-transmitting plate 6 is close to the pushing mechanism 5, and an opening 21 is horizontally arranged in the middle of the workbench 2 as a detection area, and a detector 7 is installed directly below the opening 21, and the detector 7 is a linear array detector or a flat panel detector, preferably, a linear array detector is used; a camera 8 and a light source 9 are installed directly above the opening 21;

[0044] The PLC controller 11 controls the movement of the motor drive mechanism 4, and drives the annular rotating mechanism 3 to rotate through the motor drive mechanism 4, thereby driving the pushing mechanism 5 to push the light-transmitting plate 6 on the upper surface of the workbench 2 along the annular rotating mechanism 3, so that the object to be tested on the light-transmitting plate 6 moves to the position of the opening 21, and the detector 7 and the camera 8 respectively collect the X-ray image and the visible light image of the object to be tested in the detection area. The utility model adopts the design of the annular rotating mechanism 3 (annular track) to achieve repeated operation and ensure the stability of the structure during operation. In addition, an opening 21 is made above the detector 7 to achieve no obstruction between the detector 7 and the object to be tested, ensuring the clarity of the imaging to the greatest extent.

[0045] In this embodiment, the annular rotating mechanism 3 includes an annular fixing frame 31, two track brackets 32, an annular track 33, a belt 34, two pulleys 35, two rotating shafts 36 and a connecting shaft 37. The two track brackets 32 are respectively mounted on the inner sides of the front and rear arc-shaped portions of the annular fixing frame 31, the front and rear arc-shaped portions of the annular track 33 are fixedly mounted on the inner sides of the track brackets 32, the pulleys 35 are rotatably connected to the inner sides of the track brackets 32 and are located in the middle of the arc-shaped portions of the annular track 33, the two ends of the belt 34 are respectively sleeved on the two pulleys 35, the rotating shaft 36 is mounted on the outer side of the track bracket 22 and is rotatably connected to the pulleys 35, and the two ends of the connecting shaft 37 are respectively rotatably connected to the two rotating shafts 36 at the front end; the motor driving mechanism 4 is mounted on the rotating shaft 36 on the corresponding side of the front end; the pushing mechanism 5 is mounted on the annular track 23 and the belt 34. The motor drive mechanism 4 drives the rotating shaft 36 on the corresponding side of the front end to rotate, thereby driving the pulley 35 on the corresponding side to rotate, and the rotation of the pulley 35 drives the connecting shaft 37 to rotate, and the rotation of the connecting shaft 37 drives the pulley 35 on the other side of the front end to rotate, and the pulleys 35 and the belts on both sides of the front end are driven, so that the pulleys 35 on both sides of the rear end are also rotated, and the driving action of the belt 34 and the sliding action of the annular track 23 can make the pushing mechanism 5 repeatedly run along the annular track 23 under the action of the belt 34, thereby ensuring stability during operation.

[0046] In this embodiment, the annular rotating mechanism 3 further includes a plurality of bars 38 and a plurality of position limiting brackets 39. The plurality of bars 38 are mounted on the inner surface of the belt 34 and protrude from the outer side of the belt 34. The plurality of position limiting brackets 39 are mounted on the inner surface of the annular fixing frame 31 and are close to the outer side of the bars 38. Due to the structural design of the bars 38 and the position limiting brackets 39, the bars 38 rotate along the position limiting brackets 39 during the rotation of the belt 34; the bars 38 can prevent the belt 34 from being worn during operation, and the position limiting brackets 39 can prevent the belt 34 from deviating.

[0047] In this embodiment, the annular rotating mechanism 3 further includes a plurality of vertical frames 310, the upper ends of the vertical frames 310 are fixedly mounted on the inner side of the upper horizontal portion of the annular fixing frame 31, and the lower ends of the vertical frames 310 are passed through the lower horizontal portion of the annular fixing frame 31 and fixed to the control cabinet 1. The vertical frames 310 can strengthen the strength of the annular fixing frame 31, thereby ensuring the fixation of the annular track 33.

[0048] In this embodiment, the annular rotating mechanism 3 further includes a plurality of reinforcing frames 311, which are against the outer sides of the lower horizontal parts of the vertical frame 310 and the annular fixing frame 31 and fixed to the control cabinet 1. The reinforcing frames are used to strengthen the strength of the vertical frame 310.

[0049] In this embodiment, the motor drive mechanism 4 includes a motor 41, a coupling 42 and a motor bracket 43. The motor bracket 43 is fixedly connected to the outer side of any one of the front track brackets 32. The coupling 42 and the corresponding rotating shaft 36 are installed in the motor bracket 43. The motor 41 is fixedly installed on the motor bracket 43 and is rotationally connected to the coupling 42. The coupling 42 is rotationally connected to the corresponding rotating shaft 36. Among them, the motor drive mechanism 4 is to provide power to the annular rotating mechanism 3 and drive the annular rotating mechanism 3 to rotate. When the motor 41 is running, the corresponding rotating shaft 36 is driven to rotate through the coupling 42, and then the rotating shaft 36 drives the belt 34 to move, so that the annular rotating mechanism 3 can run smoothly and ensure stability during operation.

[0050] In this embodiment, the pushing mechanism 5 includes a push rod 51, a slide 52 and an eccentric wheel 53. The push rod 51 is L-shaped. The eccentric wheel 53 is installed on the annular track 33. The inner side of the eccentric wheel 53 is fixedly connected to the slide 52. One end of the slide 52 close to the belt 34 is fixed to the belt 34. The vertical plate of the push rod 51 is fixedly connected to the inner side of the slide 52. The horizontal plate of the push rod 51 faces inward. The belt 34 drives the slide 52 so that the eccentric wheel 53 rotates along the annular track 33. When the push rod 51 is driven to rotate to the upper surface of the workbench 2, the horizontal plate of the push rod 51 moves along the side of the workbench 2 and pushes the light-transmitting plate 6 close to the horizontal plate to move. The pushing mechanism 5 repeatedly runs along the annular track 23 under the action of the belt 34, thereby pushing the object to be tested on the light-transmitting plate 6 forward, ensuring that the object to be tested can stably run to the opening 21.

[0051] In this embodiment, a fixing plate 12 is installed at the four corners of the bottom of the control cabinet 1, and a moving wheel 13 is fixedly installed at the bottom of the fixing plate 12 and an adjusting rod 14 is telescopically connected through a nut, and a fixing seat 15 is provided at the bottom of the adjusting rod 14. The moving wheel 13 is for moving the position, and the adjusting rod 14 can be telescopically changed in height up and down. When the position needs to be moved, the adjusting rod 14 is retracted upward by adjusting the nut, and the adjusting rod 14 deviates from the ground at this time, and the moving wheel 13 contacts the ground. The position of the entire device can be easily moved through the four moving wheels 13, saving time and effort; when the position is determined, the nut is adjusted again to make the adjusting rod 14 lowered, and the moving wheel 13 deviates from the ground at this time, and the adjusting rod 14 contacts the ground, and the position is fixed by the fixing seat 15. Therefore, different positions can be easily changed through the moving wheel 13 and the adjusting rod 14 to meet the measurement requirements of different positions.

[0052] In the present embodiment, it also includes a light source bracket 10 mounted above the opening 21, the upper end of the light source bracket 10 is provided with two first connecting rods 101 in parallel, and the lower part of the two first connecting rods 101 is provided with two second connecting rods 102 in parallel, the upper end of the light source 9 is fixed to the first connecting rod 101 through two first limiting rods 103, and the lower end of the light source 9 is fixed to the second connecting rod 102 through two second limiting rods 104; at least one first long slot hole 105 is provided on the first connecting rod 101, and at least one first limiting hole 106 is provided on the first limiting rod 103, and the first limiting hole 106 and the first long slot hole 105 is threadedly matched to complete the connection between the first limiting rod 103 and the first connecting rod 101; at least one second long slot hole 107 is opened on the second connecting rod 102, and at least one second limiting hole 108 is opened on the second limiting rod 104. The second limiting hole 108 and the second long slot hole 107 are threadedly matched to complete the connection between the second limiting rod 104 and the second connecting rod 102; the position of the light source 9 is adjusted by adjusting the position of the first limiting hole 106 on the first long slot hole 105 and the position of the second limiting hole 108 on the first long slot hole 107; in this way, the position of the light source 9 can be adjusted as needed, and the operation is convenient and simple.

[0053] A third connecting rod 109 is connected between the two second connecting rods 102, and the third connecting rod 109 is fixed to the camera 8 through a third limiting rod 110; a third long slot hole 111 is opened on the inner side of the third connecting rod 109, and a third limiting hole 112 is opened on the third limiting rod 110, and the third limiting hole 112 is threadedly matched with the third long slot hole 111 to complete the connection between the third limiting rod 110 and the third connecting rod 109, and the position of the camera 8 is adjusted by adjusting the position of the third limiting hole 112 on the third long slot hole 111; in this way, the position of the camera 8 can be adjusted as needed, and the operation is convenient and simple.

[0054] In this embodiment, the workbench 2 includes a support plate 22 and a support frame 23, the support plate 21 is fixed on the support frame 23, an opening 21 is transversely arranged in the middle of the support plate 22, and the detector 7 is fixedly connected to the lower surface of the support plate 22 through a plurality of connecting plates 24 and is closely attached to the opening 21. It can be achieved that there is no obstruction between the detector 7 and the object to be measured, and the clarity of the imaging is guaranteed to the greatest extent.

[0055] See also Figure 14-17 The utility model provides a DR detection method based on Swin-UNet, comprising the following steps:

[0056] Step 1: The detector 7 and the camera 8 respectively collect the X-ray image and the visible light image of the object to be tested in the detection area in real time; the X-ray of the detector 7 penetrates the object to be tested;

[0057] In this embodiment, the step 1 specifically includes:

[0058] Step 11, prepare a circulating track scanning digital imaging detection device, the circulating track scanning digital imaging detection device includes a control cabinet 1, a PLC controller 11 is installed in the control cabinet 1, a workbench 2 is installed on the control cabinet 1, an annular rotating mechanism 3 is installed on both sides of the workbench 2, a motor drive mechanism 4 is installed at the front end of the two annular rotating mechanisms 3, and the motor drive mechanism 4 is electrically connected to the PLC controller 11; a plurality of pairs of symmetrically distributed pushing mechanisms 5 are installed on the inner sides of the two annular rotating mechanisms 3, and the pushing mechanisms 5 rotate along the annular rotating mechanisms 3. When the workbench 2 is moved to the upper surface, the bottom of the pushing mechanism 5 is close to the side of the workbench 2; a light-transmitting plate 6 is installed on the upper surface of the workbench 2, and the light-transmitting plate is a foam board for placing the object to be tested, and can transmit the X-ray emitted by the detector 7 to the object to be tested, so as to smoothly collect the X-ray image of the object to be tested; one end of the light-transmitting plate 6 is close to the pushing mechanism 5, and an opening 21 is horizontally arranged in the middle of the workbench 2 as a detection area, and the detector 7 is installed directly below the opening 21; a camera 8 and a light source 9 are installed directly above the opening 21;

[0059] The detector 7 is a linear array detector or a flat panel detector. Both linear array detectors and flat panel detectors are a type of X-ray detector, but their structures and working principles are different. A linear array detector is a device in which multiple photosensitive elements are arranged in a straight line. When X-rays enter the detector, they are absorbed by the photosensitive elements in the detector and converted into electrical signals. These electrical signals are then amplified and processed to provide information about the X-rays. The linear array detector can measure the X-rays quickly and accurately. A flat panel detector is composed of a single large-area detector. When X-rays enter the detector, they are absorbed by the scintillation crystals in the detector and emit visible light or ultraviolet signals. These light signals are then collected and converted into electrical signals. Through amplification and processing by an electronic system, the flat panel detector can provide high-resolution and high-contrast imaging. Preferably, the detector 7 uses a linear array detector.

[0060] Step 12, the PLC controller 11 controls the motor drive mechanism 4 to move, and the motor drive mechanism 4 drives the annular rotating mechanism 3 to rotate, thereby driving the pushing mechanism 5 to push the light-transmitting placement plate 6 on the upper surface of the workbench 2 along the annular rotating mechanism 3, so that the object to be measured on the light-transmitting placement plate 6 moves to the position of the opening 21; ensuring that the pushing mechanism 5 can push the object to be measured to move between the detector 7 and the light source 9;

[0061] Step 13, setting the opening 21 area as the detection area, when the object to be detected passes through the detection area, the detector 7 returns the X-ray image of the current state of the object to be detected to the computer interface for display, and updates and acquires multiple X-ray images in real time with the movement of the pushing mechanism 5; at the same time, the camera 8 takes a visible light image of the object to be detected above the detector 7 and returns it to the computer interface for display;

[0062] Step 14: Obtain X-ray images at all times within the detection area, and stitch multiple X-ray images together to form a complete X-ray image.

[0063] Step 2. Extract two original feature maps from the X-ray image and the visible light image through the UNet network; combine the two original feature maps and combine them with position coding to obtain a context feature map, and extract the second position coordinates corresponding to the visible light image from the context feature map and the first coordinate position corresponding to the position-coded X-ray image through the Swin-Transformer network; The Transformer network was first applied in the field of NLP (natural language processing), and because it is necessary to use local and global information of the image, the network structure combining Transformer and UNet is considered.

[0064] In this embodiment, step 2 specifically includes:

[0065] Step 21: Take the X-ray image as a fixed image I and the visible light image as a floating image I′, normalize the fixed image I, and obtain the corresponding first coordinate position s∈[0,1] 2 As a query point;

[0066] Step 22: Set the input of the Swin-Transformer network to: fixed image I, floating image I′ and first coordinate position s∈[0,1] 2 , the output is: the normalized second coordinate position s′∈[0,1] on the floating image I′ 2 ; then find the optimal parameter set Φ so that the function minimizes the following residual

[0067]

[0068] Among them, the symbol represents the square of norm 2;

[0069] Will Modeled as a Swin-Transformer network;

[0070] Step 23: adjust the fixed image I and the floating image I′ to 256*256, and extract two original feature maps ε with a dimension of 16*16*256 through the same UNet network and process them;

[0071] Step 24: Combine the two original feature maps together and then use the position encoder The encoding results of position encoding of the coordinate function Ω are combined to obtain a context feature map;

[0072] Step 25: Add the context feature map and the position-encoded query point as input to the Swin-Transformer network, using the encoder Encode the context feature map and use the decoder Decoding the position-encoded query point to obtain the output result of the Swin-Transformer network;

[0073] Step 26: Decode the output result through a multi-layer perceptron module to obtain a second position coordinate s′ corresponding to the floating image I′, and use it as a matching point; the second position coordinate x′ is expressed as:

[0074]

[0075] In this embodiment, in step 23, two original feature maps ε with a dimension of 16*16*256 are extracted through the same UNet network and processed, specifically including:

[0076] Step 231: Add a sliding window operation on the Swin-Transformer network, which has a hierarchical design. The Swin-Transformer network is evolved based on the Transformer. The sliding window can limit the attention calculation to a window, which can not only introduce the locality of the convolution operation, but also save the amount of calculation.

[0077] Step 232: extract two original feature maps from the fixed image and the floating image through the same UNet network, and input them into an image encoder;

[0078] Step 233: Convert the input into sequence embedding, divide the original feature map into 4*4 non-overlapping image blocks (patches), and project the feature dimension of the image block to an arbitrary dimension through a linear embedding layer;

[0079] Step 234: The converted image blocks are processed alternately by multiple sliding window-based transformer blocks (the sliding window-based transformer block is a Swin-Transformer block) and an image integration layer (patch merging layer) to generate hierarchical feature representation and input it to an image decoder (Decoder), wherein the image integration layer is responsible for downsampling and dimension increase, and the sliding window-based transformer block is responsible for hierarchical feature representation learning;

[0080] Step 235, the image decoder and the image encoder have a symmetrical structure, and the original feature maps of adjacent dimensions are reshaped into large feature maps with a resolution of 2 times upsampled by alternating multiple sliding window-based transformer blocks and image expansion layers (patch expanding layers) in the image decoder, and finally the image expansion layer of the last layer is used to perform 4 times upsampling, and the resolution of the large feature map after the sampling processing is restored to the input resolution;

[0081] Step 236: After dimension adjustment through the linear embedding layer, the final original feature map is obtained.

[0082] In this embodiment, unlike the traditional multi-head self-attention mechanism, the Swin-Transformer block (sliding window transformer block) is constructed based on the sliding window. Fig.16There are two consecutive Swin-Transformer blocks in . Each of the sliding window-based transformer blocks consists of a normalization module (LN), a multi-head self-attention module (MSA) and a multi-layer perceptron module (MLP). The multi-head self-attention modules in the two consecutive sliding window-based transformer blocks are window-based multi-head self-attention modules (W-MSA) and sliding window-based multi-head self-attention modules (SW-MSA). Based on this window division mechanism, the consecutive sliding window-based transformer blocks can be expressed as:

[0083]

[0084] in, and zl represent the outputs of the window-based multi-head self-attention module and the multi-layer perceptron module of the lth block respectively; and z l+1 They represent the outputs of the sliding window-based multi-head self-attention module and the multi-layer perceptron module of the l+1th block respectively; LN represents the normalization module, WMSA represents the window-based multi-head self-attention module, SWMSA represents the sliding window-based multi-head self-attention module, and MLP represents the multi-layer perceptron module;

[0085] The complexity calculation formula of the multi-head self-attention module is as follows:

[0086]

[0087] Among them, Q, K, V represent Question, Key, Value respectively, d represents dimension, B represents relative position coding; T represents the transpose of the matrix.

[0088] In this embodiment, the specific position encoding process of the query point that is position-encoded in step 25 is as follows:

[0089] For a given coordinate s = [x, y], its position encoding is as follows:

[0090]

[0091] p k (s) = [sin(kπs), cos(kπs)]

[0092] Where N = 256 is the number of channels in the feature map, and the dimension of pk(s) is 4, so The dimension is N.

[0093] In this embodiment, step 3 is specifically as follows: a skip connection is used between the sliding window-based transformer block in the image encoder and the corresponding sliding window-based transformer block in the image decoder. This skip connection can effectively reduce the gradient disappearance and network degradation problems, making training easier. Introducing the feature information at the corresponding scale in the image encoder into the upsampling process in the image decoder provides multi-scale and multi-level information for the later image registration, maximizing the utilization of the feature information in each layer of the network, and obtaining a more accurate registration effect.

[0094] Swin-UNet components:

[0095] (1) Encoder: In the encoder, a C-dimensional input with a resolution of H / 4×W / 4 is fed into two consecutive Swin-Transform blocks for learning, where the feature size and resolution remain unchanged. At the same time, the patch expanding layer will reduce the number of representations (2x downsampling) and increase the feature dimension to twice the original. This process will be repeated three times in the encoder.

[0096] (2) Patch merging layer: The input patch is divided into 4 parts and connected together through the patch merging layer. After this process, the feature resolution will be reduced by 2 times. Also, since the splicing operation causes the feature dimension to increase by 4 times, a linear layer is applied to the spliced ​​features to unify the feature dimension to 2 times the original dimension.

[0097] (3) Bottleneck: Since the transformer is too deep to converge, two consecutive Swin-Transformer blocks are used to build a bottleneck for learning deep feature representation. In the bottleneck, the feature size and resolution remain unchanged.

[0098] (4) Decoder: Corresponding to the encoder, the symmetric decoder is built based on the Swin Transformer block. To this end, unlike the patch merging layer used in the encoder, we use a patch expanding layer in the decoder to upsample the extracted deep features. The patch expanding layer reshapes the feature maps of adjacent dimensions into higher resolution feature maps (2x upsampling) and correspondingly reduces the feature dimension to half of the original dimension.

[0099] (5) Patch expanding layer: Taking the first patch expanding layer as an example, before upsampling, a linear layer is applied to the input feature (W / 32×H / 32×8C) to increase the feature dimension to twice the original (W / 32×H / 32×16C). Then, a rearrange operation is used to expand the resolution of the input feature to twice the input resolution and reduce the feature dimension to one-fourth of the input dimension (W / 32×H / 32×16C→W / 16×H / 16×4C).

[0100] (6) Skip connection: Similar to UNet, it is used to fuse the multi-scale features in the encoder with the upsampled features. We concatenate the shallow features and deep features together to reduce the spatial information loss caused by downsampling. After the linear layer, the dimension of the concatenated features remains the same as the dimension of the upsampled features.

[0101] Step 3: perform image registration according to the first coordinate position and the second coordinate position.

[0102] In this embodiment, the step 3 specifically includes: comparing the first coordinate position and the second coordinate position. If they are consistent, it means that the image registration is successful; if they are inconsistent, it means that the image registration fails.

[0103] like Fig.18 As shown, an embodiment of the utility model also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned Swin-UNet-based DR detection method when executing the program.

[0104] like Fig.19 As shown, an embodiment of the utility model further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the above-mentioned DR detection method based on Swin-UNet is implemented.

[0105] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0106] If the integrated unit is implemented in the form of 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 the utility model can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of each implementation method of the utility model. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0107] The above descriptions are only some embodiments of the present invention, and do not limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A cyclic track scanning digital imaging detection device, characterized in that: It comprises: a control cabinet, a PLC controller is installed in the control cabinet, a workbench is installed on the control cabinet, annular rotating mechanisms are installed on both sides of the workbench, motor drive mechanisms are installed at the front ends of the two annular rotating mechanisms, and the motor drive mechanisms are electrically connected to the PLC controller; multiple pairs of symmetrically distributed pushing mechanisms are installed on the inner sides of the two annular rotating mechanisms, and when the pushing mechanisms rotate along the annular rotating mechanisms to the upper surface of the workbench, the bottoms of the pushing mechanisms are close to the sides of the workbench; a light-transmitting storage plate is installed on the upper surface of the workbench, one end of the light-transmitting storage plate is close to the pushing mechanism, an opening is horizontally arranged in the middle of the workbench as a detection area, a detector is installed directly below the opening, and a camera and a light source are installed directly above the opening; The PLC controller controls the movement of the motor drive mechanism, and drives the annular rotating mechanism to rotate through the motor drive mechanism, thereby driving the pushing mechanism to push the light-transmitting placement plate on the surface of the workbench along the annular rotating mechanism, so that the object to be measured on the light-transmitting placement plate moves to the opening position, and collects the X-ray image and visible light image of the movement process of the object to be measured in the detection area through the detector and the camera respectively.

2. A cyclic track scanning digital imaging detection device as claimed in claim 1, characterized in that: The annular rotating mechanism includes an annular fixing frame, two track brackets, an annular track, a belt, two pulleys, two rotating shafts and a connecting shaft. The two track brackets are respectively mounted on the inner sides of the front and rear arc-shaped portions of the annular fixing frame, the front and rear arc-shaped portions of the annular track are fixedly mounted on the inner sides of the track brackets, the pulleys are rotatably connected to the inner sides of the track brackets and are located in the middle of the arc-shaped portions of the annular track, the two ends of the belt are respectively sleeved on the two pulleys, the rotating shaft is mounted on the outer sides of the track brackets and rotatably connected to the pulleys, and the two ends of the connecting shaft are respectively rotatably connected to the two rotating shafts at the front end; the motor driving mechanism is mounted on the rotating shaft on the corresponding side of the front end; the pushing mechanism is mounted on the annular track and the belt.

3. A cyclic track scanning digital imaging detection device as claimed in claim 2, characterized in that: The annular rotating mechanism also includes a plurality of bars and a plurality of limit brackets. The plurality of bars are installed on the inner surface of the belt and protrude from the outer side of the belt. The plurality of limit brackets are installed on the inner surface of the annular fixing frame and are close to the outer side of the bars.

4. A cyclic track scanning digital imaging detection device as claimed in claim 2, characterized in that: The annular rotating mechanism also includes a plurality of vertical frames, the upper ends of which are fixedly mounted on the inner side of the upper horizontal portion of the annular fixing frame, and the lower ends of which are passed through the lower horizontal portion of the annular fixing frame and fixed on the control cabinet.

5. A cyclic track scanning digital imaging detection device as claimed in claim 4, characterized in that: The annular rotating mechanism also includes a plurality of reinforcing frames, which are against the outer sides of the vertical frame and the lower horizontal parts of the annular fixing frame and are fixed on the control cabinet.

6. A cyclic track scanning digital imaging detection device as claimed in claim 2, characterized in that: The motor drive mechanism includes a motor, a coupling and a motor bracket, wherein the motor bracket is fixedly connected to the outer side of any one of the front track brackets, the coupling and the corresponding rotating shaft are installed in the motor bracket, the motor is fixedly installed on the motor bracket and is rotationally connected to the coupling, and the coupling is rotationally connected to the corresponding rotating shaft.

7. A cyclic track scanning digital imaging detection device as claimed in claim 2, characterized in that: The pushing mechanism includes a push rod, a slide and an eccentric wheel. The push rod is in an L-shaped structure. The eccentric wheel is installed on a circular track. The inner side of the eccentric wheel is fixedly connected to the slide. The end of the slide close to the belt is fixed to the belt. The vertical plate of the push rod is fixedly connected to the inner side of the slide. The horizontal plate of the push rod faces inward. The belt drives the slide to make the eccentric wheel rotate along the circular track. When the push rod is driven to rotate to the upper surface of the workbench, the horizontal plate of the push rod moves along the side of the workbench and pushes the light-transmitting storage plate close to the horizontal plate to move.

8. A cyclic track scanning digital imaging detection device as claimed in claim 1, characterized in that: The four corners of the bottom of the control cabinet are all equipped with fixing plates, the bottom of the fixing plate is fixedly equipped with moving wheels and an adjusting rod which is telescopically connected with a nut, and the bottom of the adjusting rod is provided with a fixing seat.

9. A cyclic track scanning digital imaging detection device as claimed in claim 1, characterized in that: It also includes a light source bracket mounted above the opening, wherein two first connecting rods are arranged in parallel at the upper end of the light source bracket, and two second connecting rods are arranged in parallel below the two first connecting rods, the upper end of the light source is fixed to the first connecting rod through two first limiting rods, and the lower end of the light source is fixed to the second connecting rod through two second limiting rods; at least one first long slot hole is opened on the first connecting rod, at least one first limiting hole is opened on the first limiting rod, and the first limiting hole and the first long slot hole are threadedly matched to complete the connection between the first limiting rod and the first connecting rod; at least one second long slot hole is opened on the second connecting rod, and at least one second limiting hole is opened on the second limiting rod, and the second limiting hole and the second long slot hole are threadedly matched to complete the connection between the second limiting rod and the second connecting rod; the position of the light source can be adjusted by adjusting the position of the first limiting hole on the first long slot hole and the position of the second limiting hole on the first long slot hole; A third connecting rod is connected between the two second connecting rods, and the third connecting rod is fixed to the camera through a third limiting rod; a third long slot hole is opened on the inner side of the third connecting rod, and a third limiting hole is opened on the third limiting rod. The third limiting hole and the third long slot hole are threadedly matched to complete the connection between the third limiting rod and the third connecting rod, and the position of the camera is adjusted by adjusting the position of the third limiting hole on the third long slot hole.

10. The cyclic track scanning digital imaging detection device according to claim 1, characterized in that: The workbench includes a support plate and a support frame, the support plate is fixed on the support frame, an opening is transversely arranged in the middle of the support plate, and the detector is fixedly connected to the bottom of the support plate through a plurality of connecting plates and is close to the opening.