[go: up one dir, main page]

CN115078961A - Desktop-level circuit board detection device and method based on visual feedback mechanical arm - Google Patents

Desktop-level circuit board detection device and method based on visual feedback mechanical arm Download PDF

Info

Publication number
CN115078961A
CN115078961A CN202210605092.0A CN202210605092A CN115078961A CN 115078961 A CN115078961 A CN 115078961A CN 202210605092 A CN202210605092 A CN 202210605092A CN 115078961 A CN115078961 A CN 115078961A
Authority
CN
China
Prior art keywords
circuit board
detection
robotic arm
desktop
detector
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210605092.0A
Other languages
Chinese (zh)
Inventor
夏煌
方银锋
王帮雨
濮程红
刘子洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN202210605092.0A priority Critical patent/CN115078961A/en
Publication of CN115078961A publication Critical patent/CN115078961A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • G01R31/2806Apparatus therefor, e.g. test stations, drivers, analysers, conveyors
    • G01R31/2808Holding, conveying or contacting devices, e.g. test adapters, edge connectors, extender boards
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/02Programme-controlled manipulators characterised by movement of the arms, e.g. cartesian coordinate type
    • B25J9/023Cartesian coordinate type
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/02Programme-controlled manipulators characterised by movement of the arms, e.g. cartesian coordinate type
    • B25J9/04Programme-controlled manipulators characterised by movement of the arms, e.g. cartesian coordinate type by rotating at least one arm, excluding the head movement itself, e.g. cylindrical coordinate type or polar coordinate type
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J9/00Programme-controlled manipulators
    • B25J9/16Programme controls
    • B25J9/1694Programme controls characterised by use of sensors other than normal servo-feedback from position, speed or acceleration sensors, perception control, multi-sensor controlled systems, sensor fusion
    • B25J9/1697Vision controlled systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/302Contactless testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Manipulator (AREA)

Abstract

The invention belongs to the technical field of circuit board detection, and discloses a desktop-level circuit board detection device and method based on a visual feedback mechanical arm, wherein the desktop-level circuit board detection device comprises a PC (personal computer), a mechanical arm, a detector, a camera and a circuit board, the detector comprises a detection probe, and the detection probe is fixed at the tail end of the mechanical arm; the camera is arranged at the tail end of the mechanical arm and above the detection probe; the detector, the camera and the mechanical arm are connected with the PC; the mechanical arm is used for carrying the test probe to move to a detection point of the circuit board; the camera is used for shooting the circuit board and transmitting the image information of the circuit board to the PC for analysis; the detector detects whether the relevant parameters of the circuit board meet the design requirements or not; and the PC is used for processing image information returned by the camera and controlling the mechanical arm and the detector. The invention realizes automatic circuit board detection, replaces workers to carry out repeated work, reduces the participation of the workers and improves the detection efficiency.

Description

基于视觉反馈机械臂的桌面级电路板检测装置及方法Desktop-level circuit board inspection device and method based on visual feedback robotic arm

技术领域technical field

本发明属于电路板检测技术领域,尤其涉及一种基于视觉反馈机械臂的桌面级电路板检测装置及方法。The invention belongs to the technical field of circuit board detection, and in particular relates to a desktop-level circuit board detection device and method based on a visual feedback mechanical arm.

背景技术Background technique

在现有技术中很多中小型工厂由于缺乏完整的流水线,对于生产的电路板往往需要人工进行检测,检测效率低;并且检测工作只在桌面上利用检测仪器即可完成,但工人需要手握探针并手动对准检测点,长时间工作,手眼疲劳,效率更加低下。In the prior art, many small and medium-sized factories lack a complete assembly line, and the production of circuit boards often needs to be manually tested, and the detection efficiency is low; and the detection work can only be completed by using the detection instrument on the desktop, but the workers need to hold the detector by hand. Needle and manually align the detection point, working for a long time, hand and eye fatigue, and even lower efficiency.

随着自动化控制快速发展,桌面级机械臂在工业生产的应用越来越广泛,相较于大型流水线而言,桌面级检测系统性价比更优,适用性更强,更受中小型工厂欢迎。本发明以桌面级机械臂为基础,以视觉反馈为辅,设计研发一种基于视觉的电路板自动检测装置。With the rapid development of automation control, desktop-level robotic arms are more and more widely used in industrial production. Compared with large-scale assembly lines, desktop-level detection systems are more cost-effective and more applicable, and are more popular in small and medium-sized factories. The invention is based on a desktop-level mechanical arm and supplemented by visual feedback, and designs and develops an automatic detection device for circuit boards based on vision.

发明内容SUMMARY OF THE INVENTION

本发明目的在于提供一种基于视觉反馈机械臂的桌面级电路板检测装置及方法,以解决上述的技术问题。The purpose of the present invention is to provide a desktop-level circuit board detection device and method based on a visual feedback mechanical arm, so as to solve the above-mentioned technical problems.

为解决上述技术问题,本发明的基于视觉反馈机械臂的桌面级电路板检测装置及方法的具体技术方案如下:In order to solve the above-mentioned technical problems, the specific technical solutions of the desktop-level circuit board detection device and method based on the visual feedback mechanical arm of the present invention are as follows:

一种基于视觉反馈机械臂的桌面级电路板检测装置,包括PC机、机械臂、检测仪、摄像头和电路板,所述检测仪包括检测探针,所述检测探针固定在机械臂末端;摄像头安装在机械臂末端,检测探针上方;所述检测仪、摄像头、机械臂与PC机相连;所述机械臂用于携带测试探针运动至电路板检测点处;所述摄像头用于拍摄电路板,并将电路板图像信息传送至PC机进行分析;所述检测仪检测电路板相关参数是否符合设计要求;所述PC机处理摄像头返回的图像信息以及控制机械臂和检测仪。A desktop circuit board detection device based on a visual feedback robotic arm, comprising a PC, a robotic arm, a detector, a camera and a circuit board, the detector includes a detection probe, and the detection probe is fixed at the end of the robotic arm; The camera is installed at the end of the robotic arm, above the detection probe; the detector, the camera, and the robotic arm are connected to the PC; the robotic arm is used to carry the test probe to the detection point of the circuit board; the camera is used to shoot circuit board, and transmit the circuit board image information to the PC for analysis; the detector detects whether the relevant parameters of the circuit board meet the design requirements; the PC processes the image information returned by the camera and controls the robotic arm and the detector.

进一步的,所述检测仪包括检测仪主体和接口模块,所述检测仪主体与PC机1通过USB接口相连,所述接口模块连接检测探针和检测仪主体。Further, the detector includes a detector main body and an interface module, the detector main body is connected to the PC 1 through a USB interface, and the interface module is connected to the detection probe and the detector main body.

进一步的,所述摄像头通过串口与PC机相连;所述机械臂通过USB接口与PC机相连。Further, the camera is connected to the PC through a serial port; the robotic arm is connected to the PC through a USB interface.

进一步的,所述机械臂最大负载 500g;最大伸展距离 320mm;运动范围:底座:-90°~﹢90°、大臂:0°~﹢85°、小臂:﹣10°~﹢90°、末端旋转:-90°~﹢90°;最大运动速度(250g 负载):大小臂、底座旋转速度为320°/s,末端旋转速度为480°/s。Further, the maximum load of the robotic arm is 500g; the maximum extension distance is 320mm; the range of motion: base: -90°~﹢90°, big arm: 0°~﹢85°, forearm: ﹣10°~﹢90°, End rotation: -90°~﹢90°; Maximum movement speed (250g load): The rotation speed of the upper and lower arms and the base is 320°/s, and the end rotation speed is 480°/s.

进一步的,所述摄像头传感器类型为Coms 1/2.3 inchse,分辨为3840*2880-20帧九种 MJPG格式,支持YUY2物理像素1200万物理像素视角3.24mm无畸变广角130°,畸变失真3.24mm焦距<-0.35%。Further, the camera sensor type is Coms 1/2.3 inchse, resolution is 3840*2880-20 frames, nine MJPG formats, supports YUY2 physical pixels 12 million physical pixels, viewing angle 3.24mm no distortion wide angle 130°, distortion distortion 3.24mm focal length <-0.35%.

进一步的,所述机械臂的关节坐标系是:以各运动关节为参照确定的坐标系:当机械臂末端安装检测探针时,则包含四个关节:J1、J2、J3和J4,J1、J2、J3和J4均为旋转关节,逆时针为正,J1控制底座电机正负方向旋转;J2控制大臂电机正负方向旋转;J3控制小臂电机正负方向移动;J4控制末端舵机正负方向旋转。Further, the joint coordinate system of the robotic arm is: a coordinate system determined with reference to each moving joint: when the detection probe is installed at the end of the robotic arm, it includes four joints: J1, J2, J3 and J4, J1, J2, J3 and J4 are all rotary joints, and the counterclockwise is positive. J1 controls the positive and negative rotation of the base motor; J2 controls the positive and negative rotation of the big arm motor; J3 controls the forearm motor to move in the positive and negative directions; J4 controls the positive and negative direction of the end servo Rotate in the negative direction.

进一步的,所述机械臂的笛卡尔坐标系是:以机械臂底座为参照确定的坐标系:坐标系原点为大臂、小臂以及底座三个电机三轴的交点, X轴方向垂直于固定底座向前;Y轴方向垂直于固定底座向左;Z轴符合右手定则,垂直向上为正方向;R轴为末端舵机中心相对于原点的姿态,逆时针为正,当安装了检测探针时,才存在R轴,R轴坐标为J1轴和J4轴坐标之和。Further, the Cartesian coordinate system of the robotic arm is: a coordinate system determined with reference to the base of the robotic arm: the origin of the coordinate system is the intersection of the three motor axes of the big arm, the forearm and the base, and the X-axis direction is perpendicular to the fixed axis. The base is forward; the Y-axis direction is perpendicular to the fixed base to the left; the Z-axis conforms to the right-hand rule, and the vertical upward is the positive direction; the R-axis is the attitude of the center of the end servo relative to the origin, and counterclockwise is positive. The R-axis exists only when the needle is moved, and the R-axis coordinate is the sum of the J1-axis and J4-axis coordinates.

进一步的,所述检测探针垂直固定在检测探针板上,检测探针板固定在机械臂末端,4个检测探针为一组,检测探针尖端在一条空间水平线上,距离为对应被检测电路监测点之间的距离,每个检测探针上部与导线相连用于传输检测电流;所述摄像头固定在机械臂末端上部。Further, the detection probe is vertically fixed on the detection probe plate, the detection probe plate is fixed on the end of the robot arm, 4 detection probes are in a group, the detection probe tip is on a spatial horizontal line, and the distance is corresponding to the The detection circuit monitors the distance between the points, and the upper part of each detection probe is connected with a wire for transmitting detection current; the camera is fixed on the upper part of the end of the robot arm.

进一步的,所述检测探针板通过胶水粘连的方式固定在机械臂末端,所述摄像头通过螺丝固定在机械臂末端上部。Further, the detection probe board is fixed on the end of the mechanical arm by means of glue adhesion, and the camera is fixed on the upper part of the end of the mechanical arm by screws.

本发明还公开了一种基于视觉反馈机械臂的桌面级电路板检测方法,包括如下步骤:The invention also discloses a desktop-level circuit board detection method based on a visual feedback mechanical arm, comprising the following steps:

步骤1:装置启动时,机械臂接收PC机指令置零归位,到达初始位置,摄像头拍摄桌面上电路板;获得图像信息,通过USB串口发送至PC机;Step 1: When the device is started, the robotic arm receives the PC command to reset to zero, reaches the initial position, and the camera shoots the circuit board on the desktop; obtains the image information and sends it to the PC through the USB serial port;

步骤2:PC机处理图像信息,PC机通过检测点检测算法识别电路板检测点,获取检测点的像素坐标,再通过像素坐标与实际空间坐标的转化关系获得检测点的空间坐标,利用一系列检测点的空间坐标计算电路板角度;Step 2: The PC processes the image information. The PC identifies the detection points of the circuit board through the detection point detection algorithm, obtains the pixel coordinates of the detection points, and then obtains the spatial coordinates of the detection points through the transformation relationship between the pixel coordinates and the actual spatial coordinates. The spatial coordinates of the detection point calculate the angle of the circuit board;

步骤3:在PC机控制下,机械臂携带检测探针运动至检测点;Step 3: Under the control of the PC, the robotic arm carries the detection probe and moves to the detection point;

步骤4:接收机械臂完成运动信号PC机开启检测仪进行检测;Step 4: After receiving the motion signal of the robotic arm, the PC turns on the detector for detection;

步骤5:检测仪检测电路板相应指标是否符合要求;Step 5: The detector detects whether the corresponding indicators of the circuit board meet the requirements;

步骤6:PC机接收检测仪返回检测结果,提示工人电路板是否合格。Step 6: The PC receives the tester and returns the test result, prompting the worker whether the circuit board is qualified.

本发明的基于视觉反馈机械臂的桌面级电路板检测装置及方法具有以下优点:本发明的基于视觉反馈机械臂的桌面级电路板检测装置及方法实现了自动化电路板检测,代替工人进行上述重复工作,减少了工人的参与度,提高了检测效率。The desktop-level circuit board detection device and method based on the visual feedback robotic arm of the present invention has the following advantages: the desktop-level circuit board detection device and method based on the visual feedback robotic arm of the present invention realizes automatic circuit board detection, replacing workers to perform the above repetitions work, reducing worker participation and improving detection efficiency.

附图说明Description of drawings

图1为本发明的桌面级电路板检测装置总体结构示意图;1 is a schematic diagram of the overall structure of a desktop-level circuit board detection device of the present invention;

图2为本发明的机械臂笛卡尔坐标系结构示意图;2 is a schematic structural diagram of a Cartesian coordinate system of a robotic arm of the present invention;

图3为本发明的机械臂末端结构示意图;3 is a schematic diagram of the structure of the end of the robot arm of the present invention;

图4为本发明的基于视觉反馈机械臂的桌面级电路板检测方法流程图。FIG. 4 is a flowchart of a method for detecting a desktop circuit board based on a visual feedback robotic arm according to the present invention.

图中标记说明:1、PC机;2、械臂;3、检测仪;4、摄像头;5、检测探针;6、电路板。Description of the marks in the figure: 1. PC; 2. Robotic arm; 3. Detector; 4. Camera; 5. Detection probe; 6. Circuit board.

具体实施方式Detailed ways

为了更好地了解本发明的目的、结构及功能,下面结合附图,对本发明一种基于视觉反馈机械臂的桌面级电路板检测装置及方法做进一步详细的描述。In order to better understand the purpose, structure and function of the present invention, a desktop circuit board detection device and method based on a visual feedback robot arm of the present invention will be described in further detail below with reference to the accompanying drawings.

如图1所示,本发明的基于视觉反馈机械臂的桌面级电路板检测装置,包括PC机1、机械臂2、检测仪3、摄像头4和电路板6。As shown in FIG. 1 , the desktop circuit board detection device based on a visual feedback robot arm of the present invention includes a PC 1 , a robot arm 2 , a detector 3 , a camera 4 and a circuit board 6 .

检测仪3包括检测仪主体、检测探针5和接口模块,检测仪主体与PC机1通过USB接口相连,接口模块连接检测探针5和检测仪主体;The detector 3 includes a detector main body, a detection probe 5 and an interface module, the detector main body is connected to the PC 1 through a USB interface, and the interface module is connected to the detection probe 5 and the detector main body;

检测探针5固定在机械臂2末端;The detection probe 5 is fixed at the end of the robotic arm 2;

摄像头4安装在机械臂2末端,检测探针5上方,通过串口与PC机1相连;The camera 4 is installed at the end of the robotic arm 2, above the detection probe 5, and connected to the PC 1 through the serial port;

机械臂2通过USB接口与PC机1相连;The robotic arm 2 is connected to the PC 1 through the USB interface;

机械臂2用于携带测试探针5运动至电路板6检测点处;摄像头4用于拍摄电路板6,并将电路板图像信息传送至PC机1进行分析;检测仪3检测电路板6相关参数是否符合设计要求;PC机1处理摄像头4返回的图像信息以及控制机械臂2和检测仪3。The robotic arm 2 is used to carry the test probe 5 to the detection point of the circuit board 6; the camera 4 is used to photograph the circuit board 6 and transmit the circuit board image information to the PC 1 for analysis; the detector 3 detects the related circuit board 6 Whether the parameters meet the design requirements; the PC 1 processes the image information returned by the camera 4 and controls the robotic arm 2 and the detector 3.

机械臂2最大负载 500g;最大伸展距离 320mm;运动范围:底座:-90°~﹢90°、大臂:0°~﹢85°、小臂:﹣10°~﹢90°、末端旋转:-90°~﹢90°;最大运动速度(250g 负载):大小臂、底座旋转速度为320°/s,末端旋转速度为480°/s。The maximum load of the robot arm 2 is 500g; the maximum extension distance is 320mm; the range of motion: base: -90°~﹢90°, big arm: 0°~﹢85°, forearm: ﹣10°~﹢90°, end rotation: - 90°~﹢90°; Maximum movement speed (250g load): The rotation speed of the upper and lower arms and the base is 320°/s, and the rotation speed of the end is 480°/s.

摄像头4传感器类型为Coms 1/2.3 inchse,分辨为3840*2880-20帧等九种 MJPG格式,支持YUY2物理像素1200万物理像素视角3.24mm无畸变广角130°,畸变失真3.24mm焦距<-0.35%。Camera 4 sensor type is Coms 1/2.3 inchse, resolution is 3840*2880-20 frames and other nine MJPG formats, supports YUY2 physical pixel 12 million physical pixel viewing angle 3.24mm no distortion wide angle 130°, distortion 3.24mm focal length <-0.35 %.

如图2所示,机械臂2的关节坐标系:以各运动关节为参照确定的坐标系:As shown in Figure 2, the joint coordinate system of the robotic arm 2: the coordinate system determined with each moving joint as a reference:

当机械臂2末端安装检测探针5时,则包含四个关节:J1、J2、J3和J4,J1、J2、J3和J4均为旋转关节,逆时针为正。J1控制底座电机正负方向旋转;J2控制大臂电机正负方向旋转;J3控制小臂电机正负方向移动;J4控制末端舵机正负方向旋转。When the detection probe 5 is installed at the end of the robotic arm 2, it includes four joints: J1, J2, J3, and J4. J1, J2, J3, and J4 are all rotary joints, and counterclockwise is positive. J1 controls the base motor to rotate in the positive and negative directions; J2 controls the boom motor to rotate in the positive and negative directions; J3 controls the forearm motor to move in the positive and negative directions; J4 controls the end servo to rotate in the positive and negative directions.

机械臂2的笛卡尔坐标系:以机械臂底座为参照确定的坐标系:Cartesian coordinate system of robot arm 2: the coordinate system determined with reference to the base of the robot arm:

坐标系原点为大臂、小臂以及底座三个电机三轴的交点。X轴方向垂直于固定底座向前;Y轴方向垂直于固定底座向左;Z轴符合右手定则,垂直向上为正方向;R轴为末端舵机中心相对于原点的姿态,逆时针为正。当安装了检测探针5时,才存在R轴。R轴坐标为J1轴和J4轴坐标之和。The origin of the coordinate system is the intersection of the three motor axes of the big arm, the forearm and the base. The X-axis is perpendicular to the fixed base and forward; the Y-axis is perpendicular to the fixed base to the left; the Z-axis conforms to the right-hand rule, and the vertical upward is the positive direction; the R-axis is the attitude of the center of the end servo relative to the origin, and counterclockwise is positive . The R-axis exists only when the detection probe 5 is installed. The R-axis coordinate is the sum of the J1-axis and J4-axis coordinates.

图3是机械臂2末端图,检测探针5垂直固定在检测探针板上,检测探针板通过胶水粘连的方式固定在机械臂2末端,4个检测探针5为一组,检测探针5尖端在一条空间水平线上,距离为对应被检测电路板监测点之间的距离,每个检测探针5上部与导线相连用于传输检测电流。摄像头4通过螺丝固定在机械臂2末端上部。Figure 3 is a diagram of the end of the robot arm 2. The detection probe 5 is vertically fixed on the detection probe plate, and the detection probe plate is fixed on the end of the robot arm 2 by means of glue adhesion. Four detection probes 5 are grouped together. The tip of the needle 5 is on a spatial horizontal line, and the distance is corresponding to the distance between the monitoring points of the circuit board to be detected. The upper part of each detection probe 5 is connected to a wire for transmitting the detection current. The camera 4 is fixed on the upper part of the end of the robotic arm 2 by screws.

如图4所示,基于视觉反馈机械臂的桌面级电路板检测方法,包括:As shown in Figure 4, the desktop-level circuit board detection method based on the visual feedback robotic arm includes:

步骤1:装置启动时,机械臂2接收PC机1指令置零归位,到达初始位置,摄像头4拍摄桌面上电路板6;获得图像信息,通过USB串口发送至PC机1;Step 1: When the device is started, the robotic arm 2 receives the instruction from the PC 1 to reset to zero, and reaches the initial position, and the camera 4 shoots the circuit board 6 on the desktop; obtains image information and sends it to the PC 1 through the USB serial port;

步骤2:PC机1处理图像信息,PC机1通过检测点检测算法识别电路板6检测点,获取检测点的像素坐标,再通过像素坐标与实际空间坐标的转化关系获得检测点的空间坐标,利用一系列检测点的空间坐标计算电路板角度;Step 2: The PC 1 processes the image information, the PC 1 identifies the detection points of the circuit board 6 through the detection point detection algorithm, obtains the pixel coordinates of the detection points, and then obtains the spatial coordinates of the detection points through the transformation relationship between the pixel coordinates and the actual spatial coordinates, Calculate the board angle using the spatial coordinates of a series of detection points;

步骤3:在PC机1控制下,机械臂2携带检测探针5运动至检测点;Step 3: Under the control of the PC 1, the robotic arm 2 carries the detection probe 5 and moves to the detection point;

步骤4:接收机械臂2完成运动信号PC机1开启检测仪3进行检测;Step 4: After receiving the motion signal of the robotic arm 2, the PC 1 turns on the detector 3 for detection;

步骤5:检测仪3检测电路板6相应指标是否符合要求;Step 5: The detector 3 detects whether the corresponding indicators of the circuit board 6 meet the requirements;

步骤6:PC机1接收检测仪3返回检测结果,提示工人电路板6是否合格。Step 6: The PC 1 receives the detection result returned by the detector 3, and prompts the worker whether the circuit board 6 is qualified.

可以理解,本发明是通过一些实施例进行描述的,本领域技术人员知悉的,在不脱离本发明的精神和范围的情况下,可以对这些特征和实施例进行各种改变或等效替换。另外,在本发明的教导下,可以对这些特征和实施例进行修改以适应具体的情况及材料而不会脱离本发明的精神和范围。因此,本发明不受此处所公开的具体实施例的限制,所有落入本申请的权利要求范围内的实施例都属于本发明所保护的范围内。It can be understood that the present invention is described by some embodiments, and those skilled in the art know that various changes or equivalent substitutions can be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, in the teachings of this invention, these features and embodiments may be modified to adapt a particular situation and material without departing from the spirit and scope of the invention. Therefore, the present invention is not limited by the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of the present application fall within the protection scope of the present invention.

Claims (10)

1.一种基于视觉反馈机械臂的桌面级电路板检测装置,包括PC机(1)、机械臂(2)、检测仪(3)、摄像头(4)和电路板(6),其特征在于,所述检测仪(3)包括检测探针(5),所述检测探针(5)固定在机械臂(2)末端;摄像头(4)安装在机械臂(2)末端,检测探针(5)上方;所述检测仪(3)、摄像头(4)、机械臂(2)与PC机(1)相连;所述机械臂(2)用于携带测试探针(5)运动至电路板(6)检测点处;所述摄像头(4)用于拍摄电路板(6),并将电路板图像信息传送至PC机(1)进行分析;所述检测仪(3)检测电路板(6)相关参数是否符合设计要求;所述PC机(1)处理摄像头(4)返回的图像信息以及控制机械臂(2)和检测仪(3)。1. A desktop-level circuit board detection device based on a visual feedback robotic arm, comprising a PC (1), a robotic arm (2), a detector (3), a camera (4) and a circuit board (6), characterized in that , the detector (3) includes a detection probe (5), the detection probe (5) is fixed on the end of the mechanical arm (2); the camera (4) is installed on the end of the mechanical arm (2), and the detection probe ( 5) Above; the detector (3), the camera (4), and the robotic arm (2) are connected to the PC (1); the robotic arm (2) is used to carry the test probe (5) to the circuit board (6) at the detection point; the camera (4) is used for photographing the circuit board (6), and the circuit board image information is transmitted to the PC (1) for analysis; the detector (3) detects the circuit board (6) ) whether the relevant parameters meet the design requirements; the PC (1) processes the image information returned by the camera (4) and controls the robotic arm (2) and the detector (3). 2.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述检测仪(3)包括检测仪主体和接口模块,所述检测仪主体与PC机(1)通过USB接口相连,所述接口模块连接检测探针(5)和检测仪主体。2. The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 1, wherein the detector (3) comprises a detector main body and an interface module, and the detector main body is connected to a PC ( 1) Connected through a USB interface, the interface module is connected to the detection probe (5) and the main body of the detector. 3.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述摄像头(4)通过串口与PC机(1)相连;所述机械臂(2)通过USB接口与PC机(1)相连。3. The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 1, wherein the camera (4) is connected to the PC (1) through a serial port; the robotic arm (2) is connected through a serial port; The USB interface is connected to the PC (1). 4.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述机械臂(2)最大负载 500g;最大伸展距离 320mm;运动范围:底座:-90°~﹢90°、大臂:0°~﹢85°、小臂:﹣10°~﹢90°、末端旋转:-90°~﹢90°;最大运动速度(250g 负载):大小臂、底座旋转速度为320°/s,末端旋转速度为480°/s。4. The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 1, wherein the robotic arm (2) has a maximum load of 500g; a maximum extension distance of 320mm; and a range of motion: base: -90° ~﹢90°, Big Arm: 0°~﹢85°, Small Arm: ﹣10°~﹢90°, End Rotation: -90°~﹢90°; Maximum Movement Speed (250g Load): Big and Small Arm, Base Rotation The speed is 320°/s and the end rotation speed is 480°/s. 5.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述摄像头(4)传感器类型为Coms 1/2.3 inchse,分辨为3840*2880-20帧九种 MJPG格式,支持YUY2物理像素1200万物理像素视角3.24mm无畸变广角130°,畸变失真3.24mm焦距<-0.35%。5. The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 1, wherein the camera (4) sensor type is Coms 1/2.3 inchse, and the resolution is 3840*2880-20 frames nine MJPG format, support YUY2 physical pixel 12 million physical pixel viewing angle 3.24mm no distortion wide angle 130°, distortion 3.24mm focal length <-0.35%. 6.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述机械臂(2)的关节坐标系是:以各运动关节为参照确定的坐标系:当机械臂(2)末端安装检测探针(5)时,则包含四个关节:J1、J2、J3和J4,J1、J2、J3和J4均为旋转关节,逆时针为正,J1控制底座电机正负方向旋转;J2控制大臂电机正负方向旋转;J3控制小臂电机正负方向移动;J4控制末端舵机正负方向旋转。6 . The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 1 , wherein the joint coordinate system of the robotic arm (2) is: a coordinate system determined with reference to each moving joint: 7 . When the detection probe (5) is installed at the end of the robotic arm (2), it includes four joints: J1, J2, J3, and J4. J1, J2, J3, and J4 are all rotary joints, and counterclockwise is positive, and J1 controls the base The motor rotates in the positive and negative directions; J2 controls the boom motor to rotate in the positive and negative directions; J3 controls the forearm motor to move in the positive and negative directions; J4 controls the end servo to rotate in the positive and negative directions. 7.根据权利要求6所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述机械臂(2)的笛卡尔坐标系是:以机械臂底座为参照确定的坐标系:坐标系原点为大臂、小臂以及底座三个电机三轴的交点, X轴方向垂直于固定底座向前;Y轴方向垂直于固定底座向左; Z轴符合右手定则,垂直向上为正方向;R轴为末端舵机中心相对于原点的姿态,逆时针为正,当安装了检测探针(5)时,才存在R轴,R轴坐标为J1轴和J4轴坐标之和。7 . The desktop-level circuit board detection device based on a visual feedback manipulator according to claim 6 , wherein the Cartesian coordinate system of the manipulator ( 2 ) is a coordinate system determined with reference to the base of the manipulator. 8 . : The origin of the coordinate system is the intersection of the three motor axes of the big arm, the forearm and the base. The X-axis is perpendicular to the fixed base and forward; the Y-axis is perpendicular to the fixed base to the left; the Z-axis conforms to the right-hand rule, and the vertical upward is Positive direction; R-axis is the attitude of the center of the end servo relative to the origin, and counterclockwise is positive. When the detection probe (5) is installed, the R-axis only exists, and the R-axis coordinate is the sum of the J1-axis and J4-axis coordinates. 8.根据权利要求1所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述检测探针(5)垂直固定在检测探针板上,检测探针板固定在机械臂(2)末端,4个检测探针(5)为一组,检测探针(5)尖端在一条空间水平线上,距离为对应被检测电路板监测点之间的距离,每个检测探针(5)上部与导线相连用于传输检测电流;所述摄像头(4)固定在机械臂(2)末端上部。8 . The desktop-level circuit board detection device based on a visual feedback mechanical arm according to claim 1 , wherein the detection probe ( 5 ) is vertically fixed on the detection probe board, and the detection probe board is fixed on the mechanical At the end of the arm (2), 4 detection probes (5) are a group, the tip of the detection probe (5) is on a spatial horizontal line, and the distance is the distance between the monitoring points corresponding to the circuit board to be detected. Each detection probe (5) The upper part is connected with a wire for transmitting detection current; the camera (4) is fixed on the upper part of the end of the mechanical arm (2). 9.根据权利要求8所述的基于视觉反馈机械臂的桌面级电路板检测装置,其特征在于,所述检测探针板通过胶水粘连的方式固定在机械臂(2)末端,所述摄像头(4)通过螺丝固定在机械臂(2)末端上部。9 . The desktop-level circuit board detection device based on a visual feedback robotic arm according to claim 8 , wherein the detection probe board is fixed on the end of the robotic arm ( 2 ) by means of glue adhesion, and the camera ( 9 . 4) Fix it on the upper part of the end of the robotic arm (2) with screws. 10.一种利用如权利要求1-9任一项所述的基于视觉反馈机械臂的桌面级电路板检测装置进行电路板检测的方法,其特征在于,包括如下步骤:10. A method for circuit board detection using the desktop-level circuit board detection device based on a visual feedback robotic arm according to any one of claims 1-9, wherein the method comprises the steps of: 步骤1:装置启动时,机械臂(2)接收PC机(1)指令置零归位,到达初始位置,摄像头(4)拍摄桌面上电路板(6);获得图像信息,通过USB串口发送至PC机(1);Step 1: When the device is started, the robotic arm (2) receives the instruction from the PC (1) to reset to zero, and reaches the initial position. The camera (4) shoots the circuit board (6) on the desktop; obtains image information and sends it to the computer via the USB serial port. PC(1); 步骤2:PC机(1)处理图像信息,PC机(1)通过检测点检测算法识别电路板(6)检测点,获取检测点的像素坐标,再通过像素坐标与实际空间坐标的转化关系获得检测点的空间坐标,利用一系列检测点的空间坐标计算电路板角度;Step 2: The PC (1) processes the image information, the PC (1) identifies the circuit board through the detection point detection algorithm (6) detects the detection points, obtains the pixel coordinates of the detection points, and then obtains the conversion relationship between the pixel coordinates and the actual space coordinates. The spatial coordinates of the detection points are used to calculate the angle of the circuit board by using the spatial coordinates of a series of detection points; 步骤3:在PC机(1)控制下,机械臂(2)携带检测探针(5)运动至检测点;Step 3: Under the control of the PC (1), the robotic arm (2) carries the detection probe (5) and moves to the detection point; 步骤4:接收机械臂(2)完成运动信号PC机(1)开启检测仪(3)进行检测;Step 4: Receive the robotic arm (2) to complete the motion signal, and the PC (1) turns on the detector (3) for detection; 步骤5:检测仪(3)检测电路板(6)相应指标是否符合要求;Step 5: The detector (3) detects whether the corresponding indicators of the circuit board (6) meet the requirements; 步骤6:PC机(1)接收检测仪(3)返回检测结果,提示工人电路板(6)是否合格。Step 6: The PC (1) receives the tester (3) and returns the test result, prompting the worker whether the circuit board (6) is qualified.
CN202210605092.0A 2022-05-31 2022-05-31 Desktop-level circuit board detection device and method based on visual feedback mechanical arm Pending CN115078961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210605092.0A CN115078961A (en) 2022-05-31 2022-05-31 Desktop-level circuit board detection device and method based on visual feedback mechanical arm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210605092.0A CN115078961A (en) 2022-05-31 2022-05-31 Desktop-level circuit board detection device and method based on visual feedback mechanical arm

Publications (1)

Publication Number Publication Date
CN115078961A true CN115078961A (en) 2022-09-20

Family

ID=83248290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210605092.0A Pending CN115078961A (en) 2022-05-31 2022-05-31 Desktop-level circuit board detection device and method based on visual feedback mechanical arm

Country Status (1)

Country Link
CN (1) CN115078961A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117532327A (en) * 2023-12-21 2024-02-09 北京李尔现代坦迪斯汽车系统有限公司 Intelligent deviation rectifying mechanical arm based on automobile seat assembly
CN118393325A (en) * 2024-06-26 2024-07-26 常州海弘电子有限公司 Automatic arm electric detector

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117532327A (en) * 2023-12-21 2024-02-09 北京李尔现代坦迪斯汽车系统有限公司 Intelligent deviation rectifying mechanical arm based on automobile seat assembly
CN117532327B (en) * 2023-12-21 2024-05-03 北京李尔现代坦迪斯汽车系统有限公司 Intelligent deviation rectifying mechanical arm based on automobile seat assembly
CN118393325A (en) * 2024-06-26 2024-07-26 常州海弘电子有限公司 Automatic arm electric detector
CN118393325B (en) * 2024-06-26 2024-10-22 常州海弘电子有限公司 Automatic arm electric detector

Similar Documents

Publication Publication Date Title
US8406923B2 (en) Apparatus for determining pickup pose of robot arm with camera
CN110421562B (en) Mechanical arm calibration system and calibration method based on four-eye stereoscopic vision
CN108818536B (en) Online offset correction method and device for robot hand-eye calibration
CN113146620B (en) Dual-arm collaborative robot system and control method based on binocular vision
CN111801198B (en) Hand-eye calibration method, system and computer storage medium
WO2021128787A1 (en) Positioning method and apparatus
CN206263418U (en) A kind of real-time seam tracking system of six degree of freedom welding robot line laser
CN109781164B (en) Static calibration method of line laser sensor
CN110253574B (en) Multi-task mechanical arm pose detection and error compensation method
CN107398926B (en) Flexible arm vibration measurement device and method based on terminal visual detection
CN112833786A (en) A cabin position and attitude measurement and alignment system, control method and application
CN115078961A (en) Desktop-level circuit board detection device and method based on visual feedback mechanical arm
JP2005201824A (en) Measuring device
JP2015042437A (en) Robot system and calibration method of robot system
CN112917513A (en) TCP calibration method of three-dimensional dispensing needle head based on machine vision
CN110906863A (en) A kind of hand-eye calibration system and calibration method for linear structured light sensor
JP2018094648A (en) Control device, robot, and robot system
CN107328357A (en) Coordinate the spraying teaching apparatus of positioning using machine vision and fibre optic gyroscope
Qi et al. Hand-eye calibration method of gantry robot based on 3D vision sensor
CN113160326A (en) Hand-eye calibration method and device based on reconstructed coordinate system
CN109211174B (en) Space vector pull rope measuring method and device
JPH1011146A (en) Device for correcting stop posture of mobile object
CN112060083B (en) Binocular stereo vision system for robotic arm and its measurement method
CN113524147B (en) Industrial robot teaching system and method based on 3D camera
CN214200141U (en) Vision-based Robot Repeated Positioning Accuracy Measurement System

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination