📥 Content Hub
← назад
patents ⚡ Google Patents en 2026-09-08 1 min

Method for rapidly positioning and judging polarity of PCBA capacitive element based on ellipse fitting

Патент · CN B

CN-117152055-B
приоритет 2023-06-29 подача 2023-06-29 публикация 2026-09-08 выдача 2026-09-08 семья 88885611
patents-ai
南京理工大学

The invention discloses a rapid positioning and polarity judging method of a PCBA plate capacitor element based on ellipse fitting, which comprises the steps of firstly collecting an original image of a production line PCBA, detecting an original image target by using a pre-trained YOLOv s model, and dividing a region of interest of a single capacitor; performing edge detection on the inner circle of the upper surface of the capacitor by combining self-adaptive threshold segmentation and morphological edges, screening the extracted edges by combining polygonal fitting, removing false edges of the shielded and capacitor surface explosion-proof valve, acquiring sub-pixel edges by combining pixel edge neighborhood gray scales, further using double-point removal least square pair arc segment fitting ellipses and solving related parameters, and acquiring accurate positions of the capacitor; finally, the ellipse of the annular area on the upper surface of the capacitor is unfolded to a Cartesian coordinate system, and polarity judgment is achieved by combining a sliding window method. The method can solve the problems of low accuracy and easiness in being influenced by illumination of the existing PCBA on-board capacitor, and is suitable for industrial rapid positioning and polarity detection.

Читать оригинал ↗

Сделать контент из этого материала