Processing method and system for detecting the position accuracy of antenna and chip of RFID tag
Through digital image processing and Hough conversion program, the problem of difficult detection of RFID tag chip position offset is solved, and efficient chip position accuracy detection is achieved, which improves production yield and reduces computing load.
Patent Information
- Application Number
- CN202210515013.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2025-08-19
- Estimated Expiration
- 2042-05-11
AI Technical Summary
During the packaging process of RFID tags, the chip position is easily disturbed and caused by deviation, which is difficult to detect through the naked eye, affecting production yield and increasing waste.
The digital image processing method is used to combine the Hough conversion program to identify the antenna and chip positions of the RFID tag, and the outline tiles are generated through the chip image program and the antenna image program. The Hough conversion program is used to obtain the offset angle and offset amount, and the offset situation of the chip and antenna is judged.
Accurate detection of the position of RFID tag chips is achieved, production yield is improved, waste is reduced, computing load is reduced and high-precision identification results are retained.
Smart Images

Figure CN117094929B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and system for detecting object deviation using digital images, and more particularly to a processing method and system for detecting the position accuracy of an antenna and chip of an RFID tag. Background Art
[0002] The rapid growth of communication technology has also driven the demand for antenna and chip packaging. For example, the antenna and chip packaging of radio frequency identification (RFID) tags. During the packaging process, the chip may be affected by interference, causing the chip position to shift outside the preset position. Therefore, the packaging results need to be inspected during production. Because the packaged antenna and chip are too small, it is difficult for inspectors to directly determine whether the chip position is offset with the naked eye. In addition, if the chip position offset or missing (not attached) can be discovered immediately during the production process, the production process can be stopped as soon as possible to correct the oversight, reduce waste and improve production yield. Summary of the Invention
[0003] In view of this, some embodiments provide a method for detecting the positional accuracy of an RFID tag's antenna and chip. The method utilizes object recognition and related processing of digital images, combined with a fast Hough transform process, to determine whether the chip in the antenna is skewed or misaligned. The method includes the following steps: executing a chip imaging process on an input image to generate a chip outline block; executing an antenna imaging process on the input image to generate an antenna outline block; executing a Hough transform process on the chip outline block and the antenna outline block to generate a Hough chip outline block and a Hough antenna outline block, respectively; selecting an antenna boundary of the Hough antenna outline block and a chip boundary of the Hough chip outline block; obtaining an offset angle based on the antenna boundary and the chip boundary; obtaining an antenna block center point based on a combination of the antenna outline block and the Hough antenna outline block, or the Hough antenna outline block; obtaining a chip block center point based on the Hough chip outline block; obtaining an offset value based on the antenna block center point and the chip block center point; and generating a comparison result based on the offset angle and the offset value.
[0004] In some embodiments, the chip imaging program includes a chip contour recognition program, and the steps further include: identifying multiple rectangular blocks in the chip binary image; determining whether there is a target chip in the rectangular block in the chip selection box; if there is a target chip in the chip binary image, removing the rectangular blocks of other non-target chips in the chip binary image and generating a chip contour block; if there is no target chip in the chip binary image, generating a judgment result of "unqualified".
[0005] In some embodiments, the execution of the antenna image program includes an antenna contour recognition program, and the steps further include: identifying multiple rectangular blocks in the antenna binary image; determining whether there is a target antenna in the rectangular block in the antenna selection box; if there is a target antenna in the antenna binary image, removing the rectangular blocks of other non-target antennas in the antenna binary image and generating an antenna contour block; if there is no target antenna in the antenna binary image, generating a judgment result of "unqualified".
[0006] In some embodiments, after generating the chip outline block and the antenna outline block, the steps also include: determining whether the antenna outline block contains the chip outline block; if the antenna outline block contains the chip outline block, the chip outline block and the antenna outline block perform a Hough transformation program; if the antenna outline block does not contain the chip outline block, the judgment result is "unqualified".
[0007] In some embodiments, the step of executing a Hough transformation program on a chip contour block to generate a Hough chip contour block includes: obtaining a selected line segment of the chip contour block in a first dimensional space, wherein the selected line segment has multiple chip boundary coordinates; setting a chip conversion angle interval in a second dimensional space; executing a Hough transformation program based on the multiple chip boundary coordinates and the chip conversion angle interval to generate multiple chip boundary curves in the second dimensional space; obtaining Hough intersections based on the multiple chip boundary curves, and selecting at least one Hough intersection, and selecting the target intersection with the largest number of intersections from the multiple Hough intersections; converting the coordinates of the target intersection in the second dimensional space into a Hough line segment in the first dimensional space; repeatedly obtaining other selected line segments and generating other Hough line segments; and drawing a Hough chip contour block based on the multiple Hough line segments.
[0008] In some embodiments, the step of drawing the Hough chip outline block further includes determining whether the Hough chip outline block is complete.
[0009] In some embodiments, the step of executing a Hough transformation program on an antenna contour block to generate a Hough antenna contour block includes: obtaining a selected line segment of the antenna contour block in a first dimensional space, wherein the selected line segment has multiple antenna boundary coordinates; setting an antenna conversion angle interval in a second dimensional space; executing a Hough transformation program based on the antenna boundary coordinates and the antenna conversion angle interval to generate multiple Hough antenna boundary curves in the second dimensional space; obtaining Hough intersections based on the Hough antenna boundary curves, and selecting at least one Hough intersection, and selecting the one with the largest number of intersections from the Hough intersections as the target intersection; converting the coordinates of the target intersection in the second dimensional space into a Hough line segment in the first dimensional space; repeatedly obtaining other selected line segments and generating other Hough line segments; and drawing a Hough antenna contour block based on the Hough line segments.
[0010] In some embodiments, the step of drawing the Hough antenna outline block further includes determining whether the Hough antenna outline block is complete.
[0011] In some embodiments, a processing system for detecting the position accuracy of an antenna and chip of an RFID tag includes a storage device and a processor. The storage device stores an input image, a chip imaging program, an antenna imaging program, a Hough transform program, and a comparison result. The processor is electrically connected to the storage device and executes the chip imaging program and the antenna imaging program based on the input image to generate a chip outline block and an antenna outline block. The processor executes the Hough transform program on the chip outline block and the antenna outline block to generate a Hough chip outline block and a Hough antenna outline block. The processor selects an antenna boundary of the Hough antenna outline block and a chip boundary of the Hough chip outline block. The processor obtains an offset angle based on the antenna boundary and the chip boundary. The processor obtains an antenna block center point based on a combination of the antenna outline block and the Hough antenna outline block, or the Hough antenna outline block. The processor obtains a chip block center point of the Hough chip outline block based on the Hough chip outline block. The processor obtains an offset based on the antenna block center point and the chip block center point. The processor generates a comparison result based on the offset angle and the offset.
[0012] In some embodiments, the step of executing a Hough transformation program on a chip contour block by a processor to generate a Hough chip contour block includes: the processor obtains a selected line segment of the chip contour block in a first dimensional space, wherein the selected line segment has multiple chip boundary coordinates; the processor sets a chip conversion angle interval in a second dimensional space; the processor executes a Hough transformation program based on the multiple chip boundary coordinates and the chip conversion angle interval to generate multiple Hough chip boundary curves in the second dimensional space; the processor obtains Hough intersections based on the multiple Hough chip boundary curves and selects at least one Hough intersection; the processor selects the one with the largest number of intersections from the Hough intersections as the target intersection; the processor converts the coordinates of the target intersection in the second dimensional space into a Hough line segment in the first dimensional space; repeatedly obtains other selected line segments and generates other Hough line segments; the processor draws a Hough chip contour block based on the Hough line segments.
[0013] In some embodiments, the step of executing a Hough transformation program on an antenna contour block by a processor to generate a Hough antenna contour block includes: the processor obtains a selected line segment of the antenna contour block in a first-dimensional space, wherein the selected line segment has multiple antenna boundary coordinates; the processor sets an antenna conversion angle interval in a second-dimensional space; the processor executes a Hough transformation program based on the multiple antenna boundary coordinates and the antenna conversion angle interval to generate multiple Hough antenna boundary curves in the second-dimensional space; the processor obtains Hough intersections based on the multiple Hough antenna boundary curves and selects at least one Hough intersection; the processor selects the target intersection with the largest number of intersections from the multiple Hough intersections; the processor converts the coordinates of the target intersection in the second-dimensional space into a Hough line segment in the first-dimensional space; repeatedly obtains other selected line segments and generates other Hough line segments; the processor draws a Hough antenna contour block based on the Hough line segments.
[0014] The method and system for detecting the positional accuracy of an RFID tag's antenna and chip are applied to an antenna image of a target chip to identify whether the chip's position has shifted. The method and system also modify the Hough transform algorithm to reduce the computational load on the processing system while maintaining highly accurate recognition results. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of a processing system architecture for detecting the position accuracy of an RFID tag's antenna and chip according to one embodiment;
[0016] Figure 2 is a schematic diagram of an input image according to an embodiment;
[0017] Figure 3A A schematic diagram of the operation of a chip position accuracy processing method according to an embodiment;
[0018] Figure 3B A schematic diagram of a chip position accuracy detection and determination method according to an embodiment;
[0019] Figure 4A A schematic diagram of a chip binary image according to an embodiment;
[0020] Figure 4B is a schematic diagram of a chip outline block according to an embodiment;
[0021] Figure 5A is a schematic diagram of an input image and a smoothed image according to an embodiment;
[0022] Figure 5B is a schematic diagram of an antenna outline with a rectangular block removed according to an embodiment;
[0023] Figure 6A A schematic diagram of selecting a line segment and its pixels according to an embodiment;
[0024] Figure 6B is a schematic diagram of a first-dimensional space and a second-dimensional space according to an embodiment;
[0025] Figure 6C A schematic diagram of selected line segments and Hough line segments according to an embodiment;
[0026] Figure 6D A schematic diagram of selected line segments and Hough line segments according to an embodiment;
[0027] Figure 7 is a schematic diagram of a Hough antenna outline block according to an embodiment;
[0028] Figure 8A is a schematic diagram of an offset angle according to an embodiment;
[0029] Figure 8B is a schematic diagram of another offset angle according to an embodiment;
[0030] Figure 9A A schematic diagram of a center line of an antenna notch according to an embodiment;
[0031] Figure 9B A schematic diagram of a center line of an antenna notch according to an embodiment;
[0032] Figure 9C is a schematic diagram of the center line of an antenna block according to an embodiment;
[0033] Figure 9D FIG. 4 is a schematic diagram of an offset amount and an offset angle according to an embodiment.
[0034]
Explanation of symbols
[0035] 100:Processing system
[0036] 110: Storage device
[0037] 111: Chip Imaging Program
[0038] 112: Antenna Imaging Program
[0039] 113:Hough Transformation Procedure
[0040] 114:Comparison results
[0041] 115: Grayscale Program
[0042] 116: Binarization program
[0043] 117: Chip outline recognition program
[0044] 118: Smoothing Program
[0045] 119: Antenna contour recognition program
[0046] 120: Processor
[0047] 130: Input image
[0048] 131:Target Antenna
[0049] 132: Chip packaging structure
[0050] 133: Target chip
[0051] 134:Carrier
[0052] 140: Camera unit
[0053] 410:Chip binary image
[0054] 411: Rectangular block
[0055] 412:Edge detection frame
[0056] 413: Chip selection box
[0057] 420: Chip outline block
[0058] 510: Smooth Image
[0059] 511: Antenna selection box
[0060] 520: Antenna Binarization Image
[0061] 530: Antenna outline block
[0062] 610: Select line segment
[0063] 621: Hough intersection
[0064] 631: Target intersection
[0065] 640: Hough line segment
[0066] 650: Hough chip outline block
[0067] 710: Hough antenna outline block
[0068] 811: Antenna Boundary
[0069] 812: Chip Boundary
[0070] 813:Offset angle
[0071] 911: Center point of antenna block
[0072] 921: Hough line segment intersection point
[0073] 922: Gap tangent turning point
[0074] 923: Antenna gap center line
[0075] 931: Vertical centerline
[0076] 941:Chip tile center point
[0077] 951:Offset DETAILED DESCRIPTION
[0078] Please refer to Figure 1 , which is a schematic diagram of the processing system architecture for detecting the position accuracy of an RFID tag's antenna and chip according to one embodiment. The processing system for detecting the position accuracy of an RFID tag's antenna and chip (hereinafter referred to as processing system 100) can be implemented in electronic devices with computing capabilities, such as personal computers, servers, notebook computers, tablet computers, or mobile communication devices. Processing system 100 can be executed locally or connected to a remote server via a network to perform digital image detection.
[0079] Processing system 100 includes at least a storage device 110 and a processor 120. Processor 120 is electrically connected to storage device 110 and optionally connected to an imaging unit 140. Storage device 110 stores an input image 130, a chip imaging program 111, an antenna imaging program 112, a Hough transform program 113, and comparison results 114. Chip imaging program 111 is a combination of a grayscale program 115, a binarization program 116, and a chip contour recognition program 117. Antenna imaging program 112 includes at least a smoothing program 118, a binarization program 116, and an antenna contour recognition program 119.
[0080] The input image 130 can be imported from an external file, or can be obtained by photographing a wireless radio frequency device through the camera unit 140, or a portion of a digital image can be used as the input image 130. Figure 2 The input image 130 is a frontal image taken from a top view of at least a target chip 133 and a target antenna 131 of an RFID tag, which is a schematic diagram of an input image according to an embodiment. Figure 2 The upper part is a schematic diagram of a photographic image of a complete target antenna 131 and a target chip 133 in the RFID tag; Figure 2 The following is a partial enlarged view of the RFID tag of the aforementioned input image 130; Figure 2 The input image 130 below corresponds to Figure 2 The dotted frame of the captured image above.
[0081] Please continue to refer to Figure 2The obtuse square structure in the center of the input image 130 is the chip packaging structure 132, and the rest is the carrier 134. The chip packaging structure 132 includes a target chip 133. The chip packaging structure 132 is a structure formed by bonding the target chip 133 and the target antenna 131 with conductive glue. Generally speaking, Figure 2 The chip package structure 132 is in a correctly bonded state. In actual situations, the chip package structure 132 may fail to bond to both target antennas 131 or may only have one side connected to the target antenna 131.
[0082] To easily distinguish the target antenna 131 from the target chip 133, the target antenna 131 is represented by horizontal lines. The target chip 133, encapsulated within the target antenna 131, is represented by a grid. Multiple voids are distributed within the target antenna 131 and the target chip 133, representing air bubbles or other dust particles generated during packaging. Furthermore, the black areas within the chip package structure 132 represent defects generated during the packaging process. The input image 130 can be a color image or a grayscale image.
[0083] Please refer to Figure 3A and Figure 3B , which is a schematic diagram of the operation state and detection judgment of a chip position accuracy processing method according to an embodiment. After the processor 120 obtains the input image 130, the processing method for detecting the position accuracy of the antenna and chip of the RFID tag includes the following steps:
[0084] Step S210 : Execute the chip imaging program 111 on the input image 130 to generate a chip outline block 420 ;
[0085] Step S220: Execute the antenna image process 112 on the input image 130 to generate an antenna profile block 530;
[0086] Step S230 : Execute the Hough transformation procedure 113 on the chip profile block 420 and the antenna profile block 530 to generate a Hough chip profile block 650 and a Hough antenna profile block 710 , respectively.
[0087] Step S240: Select the antenna boundary 811 of the Hough antenna outline block 710 and the chip boundary 812 of the Hough chip outline block 650;
[0088] Step S250: Obtaining an offset angle 813 according to the antenna boundary 811 and the chip boundary 812;
[0089] Step S260: Obtaining an antenna block center point 911 according to a combination of the antenna profile block 530 and the Hough antenna profile block 710 or the Hough antenna profile block 710;
[0090] Step S270: Obtain the chip image block center point 941 of the Hough chip outline image block 650;
[0091] Step S280: Obtaining an offset 951 according to the antenna block center point 911 and the chip block center point 941; and
[0092] Step S290 : Generate a comparison result 114 according to the offset angle 813 and the offset amount 951 .
[0093] First, the processing system 100 acquires an input image 130. The processor 120 loads the input image 130 into the chip imaging program 111 and the antenna imaging program 112. The processor 120 can execute the chip imaging program 111 and the antenna imaging program 112 in a time-sharing or synchronous manner according to its computing power.
[0094] Please refer to Figure 2 , prioritizing chip imaging process 111. If input image 130 is a color image, processor 120 executes grayscale process 115 on input image 130 to generate a grayscale image. Grayscale process 115 can linearly adjust the pixel grayscale distribution based on input image 130. If input image 130 is a grayscale image, processor 120 may skip executing grayscale process 115.
[0095] Please also refer to Figure 3A 、 Figure 3B and Figure 4A ,in Figure 4A This is a schematic diagram of a chip binarization image according to one embodiment. Processor 120 executes binarization process 116 on the grayscale image to generate a chip binarization image 410. Processor 120 then loads chip binarization image 410 into chip outline recognition process 117. Chip outline recognition process 117 identifies and removes target chip 133 and rectangular block 411 from chip binarization image 410. Chip outline recognition process 117 includes the following steps:
[0096] Step S410: identifying a plurality of rectangular blocks 411 in the chip binary image 410;
[0097] Step S420 : determining whether the target chip 133 exists in the rectangular block 411 in the chip selection frame 413 ;
[0098] Step S430 : If the rectangular block 411 of the target chip 133 exists in the chip binary image 410 , remove the rectangular blocks 411 of other non-target chips 133 in the chip binary image 410 and generate a chip outline block 420 ; and
[0099] Step S440 : If the target chip 133 does not exist in the chip binary image 410 , a judgment result of “failure” is generated.
[0100] Please refer to Figure 4A The chip outline recognition program 117 mainly focuses on the area of the chip package structure 132 in the chip binary image 410. The chip outline recognition program 117 moves an n*m pixel edge detection frame 412 in the chip binary image 410 and identifies a rectangular block 411 covered by the edge detection frame 412. Figure 4A The diagram above is a partial, enlarged illustration of the edge of a target chip 133 within a chip package structure 132. Assuming that edge detection frame 412 is 3*3 pixels in size, chip outline recognition program 117 considers the adjacent pixels along the edge of target chip 133 within edge detection frame 412 as a rectangular block 411. Next, chip outline recognition program 117 combines edge detection frame 412 with the detected rectangular block 411. Chip outline recognition program 117 determines which set of rectangular blocks 411 in different regions of chip binary image 410 are target chips 133 or package defects.
[0101] Please refer to Figure 4B After the chip outline recognition program 117 marks all rectangular blocks 411 of the chip binary image 410, the chip outline recognition program 117 determines whether the chip binary image 410 has the target chip 133 based on the area range of the chip selection box 413. Generally speaking, the area range of the chip selection box 413 is determined according to the size specifications of the chip type. Figure 4B The solid line box above is a schematic diagram of the chip selection box 413. The preset position and size of the chip selection box 413 can be determined according to the type of wireless radio frequency device. For example, it can be preset as Figure 4B The rectangular area corresponding to the chip area in the input image 410 is defined as a rectangular area. Because target chip 133 may be disturbed and displaced during the packaging process, target chip 133 in input image 130 may not be in the preset position or may be slightly skewed. Therefore, the chip selection box 413 may be slightly larger than target chip 133. Chip outline recognition program 117 can use chip selection box 413 to identify target chip 133 and its position in binary chip image 410.
[0102] Please refer to Figure 4BAs shown, it is a schematic diagram of a chip outline block 420 of an embodiment. Since the target chip 133 is disturbed and displaced during the packaging process, the target chip 133 may be disturbed and displaced. Therefore, the target chip 133 in the input image 130 may not be in the preset position, or the target chip 133 may be slightly skewed. The chip outline recognition program 117 determines whether the overlapping area range ratio of the chip selection box 413 and the target chip 133 meets the threshold value. If the overlapping area of the chip selection box 413 and the target chip 133 does not meet the threshold value, the chip outline recognition program 117 determines that the target chip 133 generates a corresponding judgment result of "unqualified". Figure 4B For example, the target chip 133 is represented by a black block. The chip outline recognition program 117 compares the area of the black block of the target chip 133 with the area of the chip selection box 413 to determine whether the ratio of the target chip 133 to the chip selection box 413 meets the threshold.
[0103] The chip outline recognition program 117 removes all other rectangular blocks 411 that are not target chips. Figure 4B The middle rectangular block 411 is represented by a dotted frame. Figure 4B The top portion shows the chip package structure 132 without removing the rectangular block 411. Figure 4B Below is the chip outline block 420. The overall image size of the chip outline block 420 is the same as the input image 130. Figure 4B Only the target chip 133 in the chip outline block 420 is used as an example. If the chip outline recognition program 117 cannot recognize the target chip 133 from the chip binary image 410, the chip outline recognition program 117 generates a judgment result of "failure".
[0104] The processor 120 also executes the antenna image program 112, which is composed of a smoothing program 118, a binarization program 116, and an antenna contour recognition program 119. The processor 120 loads the input image 130 into the smoothing program 118 and generates a smoothed image 510, such as Figure 5A In other embodiments, the antenna image program 112 is composed of a grayscale program 115, a smoothing program 118, a binarization program 116, and an antenna contour recognition program 119. Therefore, the processor 120 can also selectively execute the grayscale program 115 on the smoothed image 510 to generate a smoothed grayscale image (no label). Figure 3A and Figure 3B The antenna image process 112 is described below in terms of a combination of the smoothing process 118 and the binarization process 116 .
[0105] The smoothing process 118 can be implemented by, but is not limited to, a smoothing linear filter, a median filter, an ideal lowpass filter (2-D ILPF), a Butterworth ideal lowpass filter (BILF), or a Gaussian lowpass filter (GLPF). After the input image 130 passes through the smoothing process 118, the noise in the image can be reduced. Figure 5A , the input image 130 is processed by the smoothing process 118 to generate a smoothed image 510. The smoothed image 510 can filter out multiple smaller noises in the input image 130.
[0106] The processor 120 executes the binarization process 116 on the smoothed image 510 to generate an antenna binarized image 520 corresponding to the smoothed image 510. Then, the processor 120 loads the antenna binarized image 520 into the antenna contour recognition process 119. The antenna contour recognition process 119 identifies and removes the rectangular block 411 from the antenna binarized image 520. The antenna contour recognition process 119 includes the following steps and is to be used in conjunction with Figure 3B As shown:
[0107] Step S510: identifying a plurality of rectangular blocks 411 in the antenna binary image 520;
[0108] Step S520: determining whether a target antenna 131 exists according to the rectangular block 411 within the antenna selection box 511;
[0109] Step S530: If the rectangular block 411 of the target antenna 131 exists in the antenna binary image 520, then remove the rectangular blocks 411 of other non-target antennas 131 in the antenna binary image 520 and generate an antenna outline block 530; and
[0110] Step S540: If the target antenna 131 does not exist in the antenna binary image 520, a judgment result of "failure" is generated.
[0111] The antenna contour recognition program 119 recognizes the rectangular block 411 in the antenna binary image 520. As described in the chip contour recognition program 117, the antenna contour recognition program 119 also uses the edge detection frame 412 for recognition. The size of the edge detection frame 412 of the antenna contour recognition program 119 can be different from or the same as the size of the edge detection frame 412 of the chip contour recognition program 117. The antenna contour recognition program 119 is for the entire range of the input image 130, which includes the target antenna 131 and the chip packaging structure 132. The antenna contour recognition program 119 removes all rectangular blocks 411 of other non-target antennas 131 to obtain a block image of the target antenna 131. Please refer to Figure 5B , which are schematic diagrams of antenna outline blocks with the rectangular block 411 removed according to an embodiment.
[0112] Antenna contour recognition program 119 determines whether target antenna 131 exists within rectangular block 411 based on antenna selection box 511. Similar to the determination method for chip selection box 413, antenna contour recognition program 119 determines whether the overlap area between antenna selection box 511 and target antenna 131 meets a threshold. If the overlap area between antenna selection box 511 and target antenna 131 meets the threshold, antenna contour recognition program 119 determines that target antenna 131 exists. Conversely, if the overlap area between antenna selection box 511 and target antenna 131 does not meet the threshold, antenna contour recognition program 119 determines that target antenna 131 exists.
[0113] After completing chip outline block 420 and antenna outline block 530, processor 120 executes Hough transform 113 on each of chip outline block 420 and antenna outline block 530. Depending on its computing power, processor 120 can execute chip outline block 420 and antenna outline block 530 in a time-sharing or synchronous manner. First, the operation of Hough transform 113 will be described using chip outline block 420 as an example.
[0114] Step S610: obtaining a selected line segment 610 of the chip outline image block 420 in the first dimensional space;
[0115] Step S620: setting a chip conversion angle interval in the second dimensional space;
[0116] Step S630: executing the Hough transformation program 113 according to the chip boundary coordinates and the chip transformation angle interval to generate a plurality of Hough chip boundary curves in the second dimensional space;
[0117] Step S640: Obtaining Hough intersections 621 according to the Hough chip boundary curve, and selecting at least one Hough intersection 621;
[0118] Step S650: Select the Hough intersection 621 with the largest number of intersections as the target intersection 631;
[0119] Step S660: Convert the coordinates of the target intersection point 631 in the second dimensional space into a Hough line segment 640 in the first dimensional space;
[0120] Step S670: Repeat the process of acquiring other selected line segments 610 and generating corresponding Hough line segments 640; and
[0121] Step S680 : Draw a Hough chip outline block 650 according to the Hough line segments 640 .
[0122] The processor 120 selects a selected line segment 610 within any boundary of the chip outline block 420. To clearly illustrate the operation of the Hough transform program 113, the pixel coordinate set of the input image 130 is considered to be a first-dimensional space (unlabeled). Since the input image 130 is a planar image, the first-dimensional space is also a two-dimensional space. The origin of the first-dimensional space can be an edge corner of the input image 130 or can be determined by the user. The upper left corner of the input image 130 is used as the origin below, and the boundaries of the first-dimensional space are the image length and width of the input image 130.
[0123] Since the chip outline image block 420 can be regarded as a set of pixels in the first dimensional space, each pixel of the chip outline image block 420 can correspond to a different coordinate in the first dimensional space, such as Figure 6A As shown. The coordinate set of the aforementioned selected line segment 610 is called the chip boundary coordinate. The processor 120 sets the chip conversion angle interval of the second dimensional space generated by the Hough transformation program 113. The Hough transformation program 113 can represent the rectangular coordinates (x, y) of the first dimensional space with polar coordinates (ρ, θ), where ρ is the intercept between the origin of the first dimensional space and the selected straight line, and θ is the angle between the intercept and the horizontal axis X. The conversion formula between polar coordinates and rectangular coordinates is as follows:
[0124] x cos(θ)+y sin(θ)=ρ, where ρ is the intercept from the origin to the target, and θ is the angle.
[0125] The chip conversion angle interval is an interval range of the angle θ. The processor 120 can determine the range of the chip conversion angle interval based on the computing power or the size of the chip outline block 420. The range of the chip conversion angle interval can be but is not limited to [-180°~+180°]. Then, one of the chip boundary coordinates is selected as the target coordinate (unlabeled). The processor 120 performs the Hough transformation program 113 on the target coordinate according to the chip conversion angle interval, and obtains the generation result of the target coordinate for all chip conversion angle intervals. After passing through the Hough transformation program 113, the chip conversion angle interval of the target coordinate will generate a Hough chip boundary curve in the second dimensional space (unlabeled).
[0126] Next, the processor 120 performs the aforementioned Hough transformation process 113 on the remaining chip boundary coordinates. Figure 6B As shown, Figure 6B The top is the first dimension space. Figure 6B The image below shows the Hough chip boundary curve after the chip boundary coordinates are converted to the second dimension. Different Hough chip boundary curves intersect with each other, and the locations where these curves intersect are referred to as Hough intersections 621. Processor 120 counts the number of intersections at each Hough intersection 621, which is the number of curves passing through a Hough intersection 621. If the Hough chip boundary curves fail to intersect to form a Hough intersection 621, this indicates a possible anomaly in chip outline block 420.
[0127] The processor 120 selects the Hough intersection 621 with the largest number of intersections from among all Hough intersections in the chip conversion angle interval as the target intersection 631. The processor 120 converts the coordinates of the target intersection 631 to the first dimensional space and records the Hough line segment 640 of the target intersection 631 in the first dimensional space. Figure 6C corresponds to Figure 6A The chip outline block 420, Figure 6A After the above processing, the selected line segment 610 is obtained as follows Figure 6C The processor 120 repeatedly selects other selected line segments 610 from the chip outline block 420 to obtain corresponding Hough line segments 640, such as Figure 6D The processor 120 draws a Hough chip outline block 650 based on all Hough line segments 640 . Figure 6D The chip outline block 420 is only used to illustrate the relative position of the Hough line segment 640. In fact, the chip outline block 420 does not need to be displayed. Figure 6D The middle chip outline block 420 is represented by a gray dashed line block.
[0128] Next, the processor 120 performs the Hough transformation process 113 on the antenna profile block 530. The Hough transformation process 113 on the antenna profile block 530 includes the following steps:
[0129] Step S710: Obtain the selected line segment 610 of the antenna profile block 530 in the first dimensional space;
[0130] Step S720: setting the antenna switching angle interval in the second dimensional space;
[0131] Step S730: Execute the Hough transformation program 113 according to the antenna boundary coordinates and the antenna conversion angle interval to generate a plurality of Hough antenna boundary curves in the second dimensional space;
[0132] Step S740: Obtaining Hough intersection points 621 according to the Hough antenna boundary curve, and selecting at least one Hough intersection point 621;
[0133] Step S750: selecting the Hough intersection 621 with the largest number of intersections as the target intersection 631;
[0134] Step S760: Convert the coordinates of the target intersection point 631 in the second dimensional space into a Hough line segment in the first dimensional space;
[0135] Step S770: Repeat the process of acquiring other selected line segments 610 and generating the corresponding Hough line segments 640; and
[0136] Step S780 : Draw a Hough antenna outline block 710 according to the Hough line segments 640 .
[0137] The processor 120 selects any selected line segment 610 from the antenna profile block 530. Each pixel of the selected line segment 610 has corresponding antenna boundary coordinates. The processor 120 sets the antenna switching angle range in the first dimension. Generally speaking, the antenna switching angle range can be equivalent to the chip switching angle range. Alternatively, depending on the computing power of the processor 120, the range of the chip switching angle range can be different from the range of the antenna switching angle range. The processor 120 executes the Hough transformation program 113 based on the antenna boundary coordinates and the antenna switching angle range, and obtains multiple Hough antenna boundary curves in the second dimension. Different Hough antenna boundary curves intersect with each other. The locations where different curves intersect are referred to as Hough intersections 621. The processor 120 counts the number of intersections of each Hough intersection 621. The intersection number is the number of curves passing through the Hough intersection 621. If the Hough antenna boundary curves fail to intersect to form a Hough intersection 621, it indicates that there may be an abnormality in the antenna profile block 530.
[0138] The processor 120 selects the target intersection 631 with the largest number of intersections from the Hough intersections 621 formed by the multiple Hough antenna boundary curves according to the antenna conversion angle interval. In other words, the processor 120 searches for intersections in the antenna conversion angle interval and counts the number of intersections. The processor 120 converts the coordinates of the target intersection 631 into a Hough line segment 640 in the first dimensional space, see Figure 7 As shown. The antenna profile block 530 has two sets of left and right sides in the vertical direction and four sets of sides in the horizontal direction. Generally speaking, the vertical direction is the normal direction of the width of the input image 130. But in fact, the vertical direction can also be based on the normal of the width, and set an angle range within the normal, and the angle range of the normal can be regarded as a vertical direction. Similarly, the horizontal direction can also be the extension direction of the normal of the long side (height) of the input image 130, or the direction of the angle range with the normal. Therefore, the Hough antenna profile block 710 also includes two sets of vertical sides and four sets of horizontal sides of the target antenna 131. Hough line segments 640. Figure 7 In the figure, the antenna outline block 530 is only used to illustrate the relative position of the Hough line segment 640. In fact, the antenna outline block 530 may not be displayed. Figure 7 In the middle, the antenna outline block 530 is represented by a gray block.
[0139] After obtaining the Hough chip outline block 650 or the Hough antenna outline block 710, the processor 120 determines whether the Hough chip outline block 650 and the Hough antenna outline block 710 are complete, and Figure 3B As shown. The processor 120 sequentially selects the Hough line segments 640 on any two sides of the Hough chip contour block 650, and determines whether the angle between the two selected Hough line segments 640 meets the preset angle. If the angle between the Hough line segments 640 on the two opposite sides does not meet the preset angle, it means that the Hough chip contour block 650 may be abnormal, and the judgment result is "unqualified", such as chip damage or recognition error. Generally speaking, the processor 120 compares two Hough line segments 640 at least twice, such as the two Hough line segments 640 on the upper and lower sides or the left and right sides or the two adjacent sides. When any side has two Hough line segments 640 at the same time, it means that the Hough chip contour block 650 may have an abnormal problem, and the judgment result is "unqualified". The processor 120 generates corresponding detection results based on the two Hough line segments 640.
[0140] In addition, the processor 120 also performs a contour integrity detection on the Hough antenna contour block 710. As mentioned above, the Hough antenna contour block 710 includes two sets of vertical left and right side edges and four sets of horizontal side edges of the Hough line segments 640. Figure 7The processor 120 determines whether the angle between the Hough line segments 640 on the left and right sides meets the preset angle. Simultaneously, the processor 120 also determines whether the extensions of the four groups of Hough line segments 640 in the horizontal direction intersect with the Hough line segments 640 on the vertical sides. If the angle meets the preset angle and there is an intersection, the processor 120 generates a correct detection result.
[0141] After confirming that the Hough chip outline block 650 and the Hough antenna outline block 710 are normal, the processor 120 selects any Hough line segment 640 from the Hough antenna outline block 710 as the antenna boundary 811. The antenna boundary 811 can be the left and right sides of the Hough antenna outline block 710 in the vertical direction and the four sides in the horizontal direction. Figure 7 and Figure 8A For example, the processor 120 may Figure 7 Any one of the Hough line segments 640 on the left and right sides in the vertical direction is selected as the antenna boundary 811 . The processor 120 may select the corresponding Hough line segment 640 in the vertical direction from the Hough chip outline block 650 as the chip boundary 812 .
[0142] Please refer to Figure 8A As shown, Figure 8A In the figure, the Hough antenna outline tile 710 and the Hough chip outline tile 650 are overlaid on the input image 130 to conveniently illustrate the relative positions of the target antenna 131, the target chip 133, the Hough antenna outline tile 710, and the Hough chip outline tile 650. The processor 120 calculates the offset angle 813 between the antenna boundary 811 and the chip boundary 812. In other words, the processor 120 obtains the offset angle 813 of the target chip 133 based on the difference in angle between the antenna boundary 811 and the chip boundary 812.
[0143] In one embodiment, the processor 120 may also calculate and obtain the Hough line segment 640 from the junction of the target antenna 131 and the chip package structure 132. Figure 8B shown. Figure 8B There are four groups of Hough line segments 640 at the intersection of the target antenna 131 and the chip package structure 132. The processor 120 can select at least one Hough line segment 640 and determine an offset angle 813 between the Hough line segment 640 and the chip boundary 812.
[0144] Please cooperate Figure 7 and Figure 9AAs shown, after obtaining the Hough antenna outline block 710, the processor 120 obtains the antenna block center point 911 according to the Hough antenna outline block 710. The processor 120 obtains four groups of Hough line segment intersection points 921 from the four groups of Hough line segments 640 in the horizontal direction and the Hough line segments 640 on both sides of the vertical direction in the Hough antenna outline block 710. Among them, the Hough line segment intersection points 921 are represented by black dots. The processor 120 obtains the center point (no number, no number) of the two Hough line segment intersection points 921 of the side gap based on the two Hough line segment intersection points 921 on the same side. Figure 9A Similarly, the processor 120 obtains the center point of the intersection 921 of the two Hough line segments on the other side. Then, the processor 120 obtains the antenna gap center line 923 based on the two center points.
[0145] Next, the processor 120 obtains the vertical center line 931 based on the Hough line segments 640 on both sides of the vertical direction of the Hough antenna profile block 710. The processor 120 averages the starting coordinates of the two Hough line segments 640 to obtain the average starting coordinates. Similarly, the processor 120 averages the ending coordinates of the two Hough line segments 640 to obtain the average ending coordinates. The processor obtains the vertical center line 931 based on the average starting coordinates and the average ending coordinates, as shown in FIG. Figure 9C The processor 120 can obtain the antenna pattern center point 911 according to the intersection of the antenna notch center line 923 and the vertical center line 931.
[0146] In one embodiment, the antenna notch center line 923 can be obtained by combining the antenna outline block 530 and the Hough antenna outline block 710 to obtain the antenna block center point 911, please refer to Figure 9B As shown. The processor 120 selects four notch tangent turning points 922 on both sides of the vertical direction from the antenna outline block 530. Figures 2 to 9B It can be seen that the vertical sides of the target antenna 131 and the target chip 133 respectively form a gap. The processor 120 generates corresponding tangents (no labels) according to the adjacent two sides of the gap. The intersection of the tangents of the adjacent sides is the gap tangent turning point 922, as shown in FIG. Figure 9B The processor 120 obtains the center point of the notch tangent turning point 922 of each side according to the two notch tangent turning points 922 of the same side. Then, the processor 120 generates a connecting line according to the center points of the two sides. The connecting line is the antenna notch center line 923, as shown in FIG. Figure 9B The processor 120 can obtain the antenna pattern center point 911 according to the intersection of the antenna notch center line 923 and the vertical center line 931 .
[0147] Subsequently, the processor 120 calculates the center point of the target chip 133 according to the Hough chip outline block 650, which is referred to as the chip block center point 941. The processor 120 obtains four sets of intersection coordinates based on the four sets of Hough line segments 640, which can be referred to as Figure 6D The processor 120 sums up the four groups of intersection coordinates and takes the average value to obtain the chip block center point 941 ( Figure 9D The processor 120 calculates the center point 911 of the antenna pattern ( Figure 9D The distance between the center point 911 of the antenna block and the center point 941 of the chip block is represented by a circle, and the distance value is the offset 951 between the center point 911 of the antenna block and the center point 941 of the chip block. Figure 9D shown.
[0148] Finally, processor 120 generates a detection result for target chip 133 and target antenna 131 based on offset angle 813 and offset amount 951. Processor 120 can set different eligibility criteria for offset angle 813 and offset amount 951 based on different types of RFID tags. For example, processor 120 determines whether offset amount 951 meets a preset distance threshold. If offset 951 does not meet the preset distance and offset angle 813 does not meet the preset angle threshold, processor 120 determines a "failed" result. In practice, processor 120 sets the corresponding judgment criteria based on the type of RFID tag and is not limited to the aforementioned example.
[0149] In one embodiment, after completing the chip outline block 420 and the antenna outline block 530 , the processor 120 may further confirm whether the antenna outline block 530 includes the target chip 133 .
[0150] Step S910: determining whether the antenna outline block 530 includes the chip outline block 420;
[0151] Step S920: If the antenna profile block 530 includes the chip profile block 420, then perform a Hough transformation on the chip profile block 420 and the antenna profile block 530; and
[0152] Step S930 : If the antenna outline block 530 does not include the chip outline block 420 , a judgment result of “failure” is generated.
[0153] After processing antenna profile block 530 and chip profile block 420, processor 120 checks whether antenna profile block 530 includes chip profile block 420. If antenna profile block 530 includes chip profile block 420, processor 120 proceeds to step S230. Conversely, if antenna profile block 530 does not include chip profile block 420, a "fail" determination is generated.
[0154] In one embodiment, the process of the processor 120 selecting the Hough intersection 621 further includes the following steps.
[0155] Step S1010: sequentially adjusting the floating point precision levels of the chip conversion angle intervals, and counting the number of Hough intersections 621 at each floating point precision level; and
[0156] Step S1020 : selecting the Hough intersections 621 with the largest number of intersections as the target intersection 631 .
[0157] Generally speaking, a larger chip conversion angle range can yield a greater number of Hough chip boundary curves. While a greater number of Hough chip boundary curves can yield more accurate target intersection points 631 and Hough line segments 640, a larger chip conversion angle range increases the computational load on the processor 120.
[0158] Processor 120 adjusts the chip conversion angle range by changing the floating-point precision level. Processor 120 sorts the number of intersections in each floating-point precision level and selects the one with the largest number of intersections from the sorted results as the new target intersection 631. The aforementioned floating-point precision levels can be used not only for decimal point systems but also for scientific notation. The floating-point precision levels described below are explained using the decimal point system as an example. The floating-point precision level corresponds to the length of the digits after the decimal point.
[0159] Assume that the chip conversion angle interval is θ, and θ∈(-10°~+10°). For example, the chip conversion angle interval has the most Hough intersections 621 between θ={6°~7°}, and the processor 120 selects θ={6°~7°} as the new chip conversion angle interval. The processor 120 uses the target intersection 631 as a reference and moves the floating point precision level in sequence. The processor 120 calculates the number of Hough intersections 621 for θ=6.9, θ=6.8…θ=6.0 in sequence. The processor 120 sorts the number of Hough intersections 621 and obtains the coordinate value of the target intersection 631 with the largest number of Hough intersections 621. Assume that processor 120 obtains the most Hough intersections 621 in the interval at the target intersection point 631 coordinate value θ = 6.8. Next, processor 120 performs the aforementioned counting and sorting based on the target intersection point 631 coordinate value θ = 6.8 and shifts the floating-point precision level from θ = 6.80 to 6.71. Please refer to Table 1 below, which shows the number of intersections at various floating-point precision levels for the target intersection point 631 coordinate value.
[0160] Floating point precision level θ ρ Number of intersections 0 7 273 791 0.0 6.8 272.7 110 0.00 6.84 272.8 124 0.000 6.842 272.8 125
[0161] Table 1
[0162] After the processor 120 completes all floating-point precision levels, the processor 120 selects the coordinate value of the target intersection point 631 at the last floating-point precision level as the new target intersection point 631. The processor 120 generates a Hough line segment 640 based on the obtained target intersection point 631. In practice, the processor 120 can determine the number of floating-point precision levels based on its computing power.
[0163] In addition to performing floating-point precision level processing on the chip conversion angle interval, in one embodiment, the processor 120 may also perform floating-point precision level adjustment on the antenna conversion angle interval and select a corresponding target intersection point therefrom.
[0164] Step S1110: sequentially adjusting the floating point precision levels of the antenna conversion angle intervals, and counting the number of Hough intersections 621 at each floating point precision level; and
[0165] Step S1120 : selecting the Hough intersections 621 with the largest number of intersections as the target intersection 631 .
[0166] The processor 120 adjusts the antenna conversion angle interval by changing the floating-point precision level. The processor 120 sorts the number of intersections in each floating-point precision level, and obtains the one with the largest number of intersections from the sorting result as the new target intersection 631. Continuing from the previous example, the processor 120 first selects the antenna conversion angle interval as θ, and θ∈(-10°~+10°). After the Hough transformation program 113 of θ∈(-10°~+10°), it is assumed that there are the most Hough intersections 621 at θ={0°~2°}. Therefore, the processor 120 selects the antenna conversion angle interval as θ={0°~2°}. Please refer to Table 2 below, which is a schematic table of the number of intersections of each floating-point precision level in the antenna conversion angle interval:
[0167] Floating point precision level θ ρ Number of intersections 0 2 530 60 0.0 1.1 525.9 7 0.00 1.10 525.9 7 0.000 1.105 525.9 8
[0168] Table 2
[0169] The processor 120 obtains the corresponding Hough line segment 640 according to Table 1 and Table 2. The processor performs correlation comparison and processing on the antenna boundary 811 and the chip boundary 812 according to the Hough line segment 640 .
[0170] In one embodiment, the antenna image process 112 may also execute the grayscale process 115 between executing the smoothing process 118 and the binarization process 116. Figure 3AAfter input image 130 is processed by smoothing program 118, smoothed image 510 is generated. Processor 120 executes grayscale program 115 on smoothed image 510 to generate a smoothed grayscale image (unlabeled). Processor 120 executes binarization program 116 on the smoothed grayscale image to generate antenna binarized image 520. Processor 120 performs corresponding processing based on antenna binarized image 520.
[0171] The aforementioned method and system for detecting the positional accuracy of an RFID tag's antenna and chip are applied to the antenna image of a target chip 133 to identify whether the chip's position has shifted. The method and system also modify the calculation method of the Hough transform program 113 to reduce the computational load on the processing system while maintaining highly accurate recognition results.
Claims
1. A method for detecting the position accuracy of an RFID tag antenna and chip, characterized in that: include: Execute the chip imaging program on the input image to generate a chip outline block; executing an antenna image program on the input image to generate an antenna outline block; Performing a Hough transformation on the chip outline block and the antenna outline block to generate a Hough chip outline block and a Hough antenna outline block respectively; Selecting an antenna boundary of the Hough antenna outline block and a chip boundary of the Hough chip outline block; Acquire an offset angle according to the antenna boundary and the chip boundary; Acquire a center point of an antenna block according to a combination of the antenna contour block and the Hough antenna contour block, or the Hough antenna contour block; Obtaining a chip block center point according to the Hough chip outline block; Obtaining an offset according to the center point of the antenna block and the center point of the chip block; as well as A comparison result is generated according to the offset angle and the offset amount.
2. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, characterized in that: The chip imaging program includes: executing a grayscale process on the input image to generate a grayscale image; performing a binarization process on the grayscale image to generate a chip binarized image; and A chip outline recognition program is executed on the chip binary image to generate the chip outline block.
3. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 2, characterized in that: The steps of executing the chip outline recognition program include: Identifying a plurality of rectangular blocks in the chip binary image; Determine whether there is a target chip in the plurality of rectangular blocks in the chip selection box; If the target chip exists in the chip binary image, removing the other rectangular blocks in the chip binary image that are not the target chip, and generating the chip outline block; and If the target chip does not exist in the chip binary image, a judgment result is generated.
4. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: The antenna imaging program includes: performing a smoothing process on the input image to generate a smoothed image; performing a binarization process on the smoothed image to generate an antenna binarized image; and An antenna contour recognition procedure is executed on the antenna binary image to generate the antenna contour block.
5. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: The antenna imaging program includes: performing a smoothing process on the input image to generate a smoothed image; executing a grayscale process on the smoothed image to generate a grayscale image; performing a binarization process on the grayscale image to generate an antenna binarization image; and An antenna contour recognition procedure is executed on the antenna binary image to generate the antenna contour block.
6. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 4 or 5, characterized in that: The steps of executing the antenna profile recognition program include: identifying a plurality of rectangular blocks in the antenna binary image; Determine whether there is a target antenna in the plurality of rectangular blocks according to the antenna selection box; If the target antenna exists in the antenna binary image, removing the other rectangular blocks in the antenna binary image and generating the antenna outline block; and If the target antenna does not exist in the antenna binary image, a determination result is generated.
7. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: Before the step of performing the Hough transformation procedure on the chip outline block and the antenna outline block, the method further includes: Determining whether the chip outline block is included in the antenna outline block; If the antenna profile block includes the chip profile block, performing the Hough transformation process on the chip profile block and the antenna profile block; and If the antenna outline block does not include the chip outline block, a determination result is generated.
8. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: The step of executing the Hough transformation program on the chip outline block to generate the Hough chip outline block includes: Acquire a selected line segment of the chip outline image block in a first dimensional space, wherein the selected line segment has a plurality of chip boundary coordinates; Set the chip conversion angle range in the second dimension space; executing the Hough transformation program according to the plurality of chip boundary coordinates and the chip transformation angle interval to generate a plurality of Hough chip boundary curves in the second dimensional space; Obtaining Hough intersections according to the plurality of Hough chip boundary curves, and selecting at least one of the Hough intersections; Selecting the target intersection point from the plurality of Hough intersection points as the one with the largest number of intersection points; Convert the coordinates of the target intersection point in the second dimensional space into a Hough line segment in the first dimensional space; Repeating the process of acquiring other selected line segments and generating other Hough line segments; and The Hough chip outline block is drawn according to the multiple Hough line segments.
9. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 8, characterized in that: The step of selecting the target intersection point from the plurality of Hough intersections with the largest number of intersections includes: sequentially adjusting the floating point precision levels of the chip conversion angle intervals, and counting the number of the plurality of Hough intersections at each floating point precision level; and The one with the largest number of intersections is selected from the multiple Hough intersections as the target intersection.
10. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 8, wherein: After the step of drawing the Hough chip outline block, the method further includes: Determine whether the Hough chip outline block is complete.
11. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: The step of performing the Hough transformation procedure on the antenna profile block to generate the Hough antenna profile block includes: Acquire a selected line segment of the antenna outline image block in a first dimensional space, wherein the selected line segment has a plurality of antenna boundary coordinates; Setting the antenna conversion angle range in the second dimension space; executing the Hough transformation procedure according to the plurality of antenna boundary coordinates and the antenna conversion angle interval to generate a plurality of Hough antenna boundary curves in the second dimensional space; Obtaining Hough intersection points according to the plurality of Hough antenna boundary curves, and selecting at least one of the Hough intersection points; Selecting the target intersection point from the plurality of Hough intersection points as the one with the largest number of intersection points; Convert the coordinates of the target intersection point in the second dimensional space into a Hough line segment in the first dimensional space; Repeating the process of acquiring other selected line segments and generating other Hough line segments; and The Hough antenna contour block is drawn according to the multiple Hough line segments.
12. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 11, wherein: The step of selecting the target intersection point from the plurality of Hough intersections with the largest number of intersections includes: sequentially adjusting the floating point precision levels of the antenna conversion angle intervals, and counting the number of the plurality of Hough intersections at each floating point precision level; and The one with the largest number of intersections is selected from the multiple Hough intersections as the target intersection.
13. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 11, wherein: After the step of drawing the Hough antenna contour block, the method further includes: Determine whether the Hough antenna outline block is complete.
14. The method for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 1, wherein: The step of selecting the antenna boundary of the Hough antenna outline block and the chip boundary of the Hough chip outline block includes: The antenna boundary is selected from the vertical Hough line segments or the horizontal Hough line segments of the Hough antenna outline block, and the chip boundary is selected from the Hough line segments in the selected direction from the Hough chip outline block according to the vertical direction or the horizontal direction.
15. A processing system for detecting the position accuracy of an antenna and a chip of an RFID tag, characterized in that: include: Storage device, storing input images, chip imaging program, antenna imaging program, Hough transformation program and comparison results; as well as A processor is electrically connected to the storage device, wherein the processor executes the chip imaging program and the antenna imaging program respectively according to the input image, and generates a chip contour block and an antenna contour block respectively; the processor executes the Hough transformation program on the chip contour block and the antenna contour block respectively, and generates a Hough chip contour block and a Hough antenna contour block respectively; the processor selects an antenna boundary of the Hough antenna contour block and a chip boundary of the Hough chip contour block; the processor obtains an offset angle according to the antenna boundary and the chip boundary; the processor obtains an antenna block center point according to a combination of the antenna contour block and the Hough antenna contour block, or the Hough antenna contour block; the processor obtains a chip block center point according to the Hough chip contour block; the processor obtains an offset according to the antenna block center point and the chip block center point; and the processor generates the comparison result according to the offset angle and the offset.
16. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, characterized in that: The processor executes the chip imaging program, which includes the following steps: The processor performs a grayscale process on the input image to generate a grayscale image; The processor performs a binarization process on the grayscale image to generate a chip binarized image; and The processor executes a chip outline recognition program on the chip binary image to generate the chip outline block.
17. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 16, wherein: The step of the processor executing the chip outline recognition program includes: The processor identifies a plurality of rectangular blocks in the chip binary image; The processor determines whether there is a target chip in the plurality of rectangular blocks according to the chip selection frame; If the target chip exists in the chip binary image, the processor removes the other plurality of rectangular blocks in the chip binary image and generates the chip outline block; and If the target chip does not exist in the chip binary image, the processor generates a determination result.
18. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: The processor executes the antenna imaging program, and the antenna imaging program includes the following steps: The processor performs a smoothing process on the input image to generate a smoothed image; The processor performs a binarization process on the smoothed image to generate an antenna binarization image; and The processor executes an antenna contour recognition program on the antenna binary image to generate the antenna contour block.
19. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: The processor executes the antenna imaging program, and the antenna imaging program includes the following steps: The processor performs a smoothing process on the input image to generate a smoothed image; The processor performs a grayscale process on the smoothed image to generate a grayscale image; The processor performs a binarization process on the grayscale image to generate an antenna binarization image; and The processor executes an antenna contour recognition program on the antenna binary image to generate the antenna contour block.
20. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 19, wherein: The step of the processor executing the antenna profile recognition program includes: The processor identifies a plurality of rectangular blocks in the antenna binary image; The processor determines whether there is a target antenna in the plurality of rectangular blocks according to the antenna selection box; If the target antenna exists in the antenna binary image, the processor removes the other plurality of rectangular blocks in the antenna binary image and generates the antenna outline block; and If the target antenna does not exist in the antenna binary image, a determination result is generated.
21. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: Before executing the step of performing the Hough transformation procedure on the chip outline block and the antenna outline block, the processor further includes: The processor determines whether the chip outline block is included in the antenna outline block; If the antenna profile block includes the chip profile block, the processor performs the Hough transformation process on the chip profile block and the antenna profile block; and If the antenna outline block does not include the chip outline block, the processor generates a determination result.
22. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: The step of executing the Hough transformation program on the chip outline block by the processor to generate the Hough chip outline block includes: The processor obtains a selected line segment of the chip outline block in a first dimensional space, wherein the selected line segment has a plurality of chip boundary coordinates; The processor sets a chip conversion angle interval in the second dimensional space; The processor executes the Hough transformation program according to the plurality of chip boundary coordinates and the chip transformation angle interval to generate a plurality of Hough chip boundary curves in the second dimensional space; The processor obtains Hough intersections according to the plurality of Hough chip boundary curves and selects at least one of the Hough intersections; The processor selects the one with the largest number of intersections from the multiple Hough intersections as the target intersection; The processor converts the coordinates of the target intersection point in the second dimensional space into a Hough line segment in the first dimensional space; Repeating the process of acquiring other selected line segments and generating other Hough line segments; and The processor draws the Hough chip outline block according to the multiple Hough line segments.
23. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 22, wherein: The step of the processor selecting the target intersection point with the largest number of intersection points from the multiple Hough intersection points includes: sequentially adjusting the floating point precision levels of the chip conversion angle intervals, and counting the number of the plurality of Hough intersections at each floating point precision level; and The processor selects the one with the largest number of intersections from the multiple Hough intersections as the target intersection.
24. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 22, wherein: After the step of drawing the Hough chip outline block, the method further includes: Determine whether the Hough chip outline block is complete.
25. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 16, wherein: The step of executing the Hough transformation program on the processor to generate the Hough antenna profile block includes: The processor obtains a selected line segment of the antenna outline image block in a first dimensional space, wherein the selected line segment has a plurality of antenna boundary coordinates; The processor sets an antenna switching angle interval in a second dimensional space; The processor executes the Hough transformation program according to the plurality of antenna boundary coordinates and the antenna conversion angle interval to generate a plurality of Hough antenna boundary curves in the second dimensional space; The processor obtains Hough intersection points according to the multiple Hough antenna boundary curves and selects at least one of the Hough intersection points; The processor selects the one with the largest number of intersections from the multiple Hough intersections as the target intersection; The processor converts the coordinates of the target intersection point in the second dimensional space into a Hough line segment in the first dimensional space; Repeating the process of acquiring other selected line segments and generating other Hough line segments; and The processor draws the Hough antenna contour block according to the multiple Hough line segments.
26. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 25, characterized in that: The step of the processor selecting the target intersection point with the largest number of intersection points from the multiple Hough intersection points includes: sequentially adjusting the floating point precision levels of the antenna conversion angle intervals, and counting the number of the plurality of Hough intersections at each floating point precision level; and The processor selects the one with the largest number of intersections from the multiple Hough intersections as the target intersection.
27. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 25, characterized in that: After the step of drawing the Hough antenna contour block according to the plurality of Hough line segments, the method further includes: Determine whether the Hough antenna outline block is complete.
28. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: The processor selects the antenna boundary of the Hough antenna outline block and the chip boundary of the Hough chip outline block, comprising: The antenna boundary is selected from the vertical Hough line segments or the horizontal Hough line segments of the Hough antenna outline block, and the chip boundary is selected from the Hough line segments in the selected direction from the Hough chip outline block according to the vertical direction or the horizontal direction.
29. The processing system for detecting the position accuracy of the antenna and chip of an RFID tag according to claim 15, wherein: It includes a camera unit, which is electrically connected to the processor and captures the input image.
Citation Information
Patent Citations
Non-contact test system and method of RFID label antenna
CN103267911A
RFID antenna array for gaming
CN109993263A