A system and method for human-machine collaboration and human-machine collision prevention based on infrared camera and positioning recognition pad

Through the combination of infrared cameras and positioning identification pads, accurate positioning of the operating personnel's spatial location and online accurate prediction of the risk of human-machine collisions is achieved, and the problem of difficult to achieve efficient and safe collision prevention in human-machine cooperation in the prior art is solved. Improves the safety of human-machine collaboration in industrial environments.

CN114706403BActive Publication Date: 2024-11-08GUANGXI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210410361.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-19
Publication Date
2024-11-08
Estimated Expiration
2042-04-19

AI Technical Summary

Technical Problem

The prior art lacks effective methods in human-machine collaboration to comprehensively consider the position and motion information of robots and operators, making it difficult to achieve efficient and safe collision prevention during human-machine collaboration.

Method used

Using a human-machine collaboration system based on infrared cameras and positioning recognition pads, the infrared image data of operators is collected through infrared cameras and the positioning recognition pads to obtain plane coordinate data, and combined with image processors to perform fusion calculations to calculate the real-time between operators and robots. and control the collision warning device through the controller to issue an early warning or stop the robot movement.

Benefits of technology

It realizes accurate positioning of the spatial location of the operators and online accurate prediction of the risk of human-machine collisions, improves the safety and real-time nature of human-machine cooperation, and reduces the incidence of collision accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114706403B_ABST
    Figure CN114706403B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of human-machine collaboration and prevention of human-machine collision. A system for human-machine collaboration and prevention of human-machine collision based on an infrared camera and a positioning identification pad, comprising a positioning identification pad, an infrared camera, an image processor, a controller and a collision warning device; the positioning identification pad is used to locate and identify the plane coordinate data of the position of the operator in the motion area; the infrared camera is used to collect the infrared image data of the operator, and the image processor is used to fuse the plane coordinate data and the infrared image data; the controller is used to calculate the position of the operator and the robot in the motion area in real time, and detect the minimum distance between the operator and the robot in real time. When the minimum distance is less than the set threshold, the warning collision device is controlled to issue a collision warning prompt. The present invention can accurately locate the spatial position, accurately obtain the human body contour information of the operator, improve the accuracy of human-machine collaboration collision prediction, and reduce the incidence of human-machine collision accidents.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of human-machine collaboration and human-machine collision prevention, and specifically relates to a system and method for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition pad. Background Art

[0002] Collaborative robots refer to robots that can work together with humans on the production line, giving full play to the efficiency of robots and the intelligence of humans. This type of robot is not only cost-effective, but also safe and convenient, and can greatly promote the development of manufacturing companies. In the application scenario of industrial robots, operators need to work closely with robots intermittently or continuously, such as refilling robots, working with robots, changing programs, and checking operating status. Human-machine collaboration is crucial to improving manufacturing flexibility to adapt to high-mix, small-batch, and multi-variety production. Human-machine collaboration inevitably requires humans and robots to coexist in the same space. At this time, reliable, flexible, and intelligent human-machine safety protection technology is particularly important. In the existing technology, when humans and machines collaborate, most of them use camera technology to locate the collaborative workers in real time. When using deep learning cameras as a tool to obtain pictures, a tedious learning process is required, and the collected pictures need to be processed for a long time for recognition, and the real-time performance is poor. When using multi-cameras for visual recognition to achieve human-machine collaboration, only the robot's movement area can be monitored in time, which is inconvenient to use. In addition, the fiber-optic safety mat has the characteristics of high precision, easy installation, energy saving and environmental protection. When used in the field of industrial robot safety protection, it usually only acts as a contact switch and cannot accurately identify the position and distance between humans and machines. Since there is no effective means to comprehensively calibrate the motion information of robots and operators and predict collaborative safety collisions, it is urgent to comprehensively consider the position and motion information of robots and operators, and realize an efficient and safe system and method for preventing collisions during human-machine collaboration, so as to promote the development of human-machine integration. Summary of the invention

[0003] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a system for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning identification pad, which can accurately locate the spatial position of the operator, accurately obtain the operator's body contour information, improve the accuracy of human-machine collaboration collision prediction, reduce the incidence of human-machine collision accidents, and promote the integrated development of man and machine.

[0004] In order to achieve the above object, the present invention adopts the following technical scheme:

[0005] A system for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition mat, comprising a positioning recognition mat, an infrared camera, an image processor, a controller and a collision warning device; wherein:

[0006] The positioning and identification pad is laid in the movement area of ​​the robot and is used to locate and identify the plane coordinate data of the position of the operator in the movement area;

[0007] The infrared camera is used to collect infrared image data of the workers in the movement area and perform stereo positioning of the captured spatial position.

[0008] The image processor is used to fuse the collected plane coordinate data and infrared image data to obtain fused image data about the body contour line, body thickness and height of the operator and send the fused image data to the controller;

[0009] The controller is used to process the fused image data, calculate the positions of the operator and the robot in the movement area in real time, and detect the minimum distance between the operator and the robot in real time. When the minimum distance is less than a set threshold, the warning collision device is controlled to issue a collision warning prompt and the robot is controlled to stop moving.

[0010] As a further improvement of the present invention, the positioning identification pad includes an elastic protective layer and an upper conductive plate, a lower conductive plate and an isolation gasket arranged in the elastic protective layer; the isolation gasket is arranged between the upper conductive plate and the lower conductive plate, and a plurality of micro sensors are provided on the lower surface of the upper conductive plate, and the plurality of micro sensors are separated from each other and arranged in a matrix in the longitudinal and transverse directions.

[0011] As a further improvement of the present invention, the collision warning device includes an alarm light and an alarm voice prompter.

[0012] The present invention also provides a method for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition pad, the method comprising the following steps:

[0013] S1: a positioning identification mat is laid in the robot's motion area. A plurality of micro sensors distributed in a matrix are arranged in the positioning identification mat. A plane coordinate system of the positioning identification mat based on the positioning identification mat is established. When an operator steps on the positioning identification mat, the positioning identification mat identifies the operator's position according to the coordinates of the micro sensors calibrated in advance, and obtains the three-dimensional coordinates (x, y, z) of the position in the robot's motion coordinate system.

[0014] S2: Infrared cameras are installed on the front, side and top (in the x-axis, y-axis and z-axis directions) of the positioning identification mat, and infrared cameras are used to emit infrared lasers to collect images of the front, side and top of the operator, and after processing, the body contour, body thickness and height information of the operator are obtained, and the spatial position that can be captured by the infrared camera is stereoscopically located to establish an infrared camera coordinate system with any of the infrared cameras as the center point;

[0015] S3: The operator's body contour information and its coordinate data on the positioning identification pad are integrated under the image processor to obtain the operator's height, contour and body thickness parameters; then a human body base coordinate system is established with the operator's sole as the center, and two feature points of the operator's body contour are taken from bottom to top to obtain corresponding coordinate points (X1, Y1, Z1) with a certain distance and limited, ..., (X n ,Y n ,Z n ), where n is a finite integer;

[0016] S4: Since the laid positioning safety mat is located in the robot's motion space, it is necessary to calibrate the position of the safety mat in the robot's motion coordinate system. Each point on the positioning safety mat has a unique corresponding rectangular coordinate point (x, y, z) in the robot's motion coordinate system. According to the position of the operator at any time, the coordinates (x, y, z) in the robot's motion coordinate system are obtained at this time. The point centered on the operator's foot at this time is used as the origin (0, 0, 0) of the human body coordinate system established by the operator. The coordinates of the finite number of feature points obtained in step S3 are converted to the coordinate points of the robot's motion coordinate system as (x1, y1, z1) = (X1, Y1, Z1) + (x, y, z), ..., (x n ,y n ,z n )=(X n ,Y n ,Z n )+(x,y,z);

[0017] S5: Based on the robot's operating system, the coordinates (X, Y, Z) of the robot's end are calculated according to the information fed back by the motor encoders of each axis of the robot and the robot's forward kinematics equation;

[0018] S6: The robot actuator coordinates (X, Y, Z) in step S5 and the real coordinates (x1, y1, z1) in the robot motion coordinate system in step S4 are converted to (x n ,y n ,z n), the robot actuator coordinates and the real coordinates of the finite number of feature points in step S4 in the robot motion coordinate system are input into the controller respectively, and the distance d between the two points is calculated by the controller, that is, (X, Y, Z) and (x1, y1, z1), ..., (x n ,y n ,z n ) of the distance d1, ..., dn, where n is a finite integer;

[0019] S7: Determine the safety level of the operator in the human-machine collaboration, control the movement of the robot, and achieve safe collaboration between the robot and the operator.

[0020] As a further improvement of the present invention, the specific process of determining the safety level of the operator in the human-machine collaboration in step S7 is as follows:

[0021] The distance d obtained in step S6 is compared with the preset graded safety distances D1, D2 and D3, respectively, wherein D1>D2>D3;

[0022] When the distance d between the operator and the robot is greater than D1, the operator is considered to be in a safe state.

[0023] When the distance between the operator and the robot is d<D1, the operator is considered to be in a relatively dangerous state, and the alarm light flashes;

[0024] When the distance between the operator and the robot is d<D2, the operator is considered to be in a relatively dangerous state, and the alarm voice prompter gives an alarm voice prompt;

[0025] When the distance d between the operator and the robot is less than D3, the operator is considered to be in a dangerous state, and the robot stops moving to avoid abnormal collision accidents.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] 1. The human-machine collaboration system of the present invention is based on an infrared camera and a positioning identification pad. On the one hand, the spatial position can be accurately located by the infrared camera and the positioning identification pad, and the position information of the operator is obtained by fusion calculation through the human body contour information of the operator, and the position of the operator is converted and compared with the position information of the robot end, so as to realize online accurate prediction of the risk of human-machine collision. Compared with directly identifying the human body through the camera, the recognition accuracy is higher; according to the distance between the robot and the operator, different safety protection methods are adopted to improve the human-machine safety in the industrial environment.

[0028] 2. The present invention covers the ground of the robot's motion area with a positioning identification mat, which can conduct real-time safety monitoring and identification of the entire motion area, improve the safety protection capability of human-machine collaboration, and use the positioning identification mat to collect the position coordinates of the operator. The speed is fast, and there is no need to collect pictures and other cumbersome processes, and the real-time performance is good;

[0029] 3. The present invention uses an infrared camera to directly collect information such as the height and outline of the operator, without the need for deep learning, and is highly practical;

[0030] 4. The present invention only uses simple mathematical methods for conversion, and is applied to the conversion of coordinates and the operation of low-dimensional matrices in mathematics. The operation is simple, the running time is short, and the real-time performance is high.

[0031] 5. The robot is endowed with vision and touch, and the human-machine collaborative safety system using two sensors, an infrared camera and a positioning recognition pad, can improve the redundancy of human-machine collaboration and realize regional graded alarm tasks. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 It is a structural block diagram of a human-machine collaboration system based on an infrared camera and a positioning recognition pad of the present invention;

[0033] Figure 2 A schematic structural diagram of a positioning identification pad of the present invention;

[0034] Figure 3 It is a schematic diagram of the arrangement of micro sensors inside the positioning identification pad of the present invention;

[0035] Among them, the markings in the attached drawings are: 1-elastic protective layer, 2-upper conductive plate, 3-lower conductive plate, 4-isolation gasket. DETAILED DESCRIPTION

[0036] The present invention is further described below in conjunction with the accompanying drawings and embodiments. It should be noted that the specific embodiments of the present invention are only for the purpose of more clearly describing the technical solution and cannot be used as a limitation on the protection scope of the present invention.

[0037] See also Figure 1-Figure 3 , a human-machine collaboration and human-machine collision prevention system based on an infrared camera and a positioning recognition pad, comprising a positioning recognition pad, an infrared camera, an image processor, a controller and a collision warning device; the positioning recognition pad and the infrared camera are respectively connected to the input end of the image processor, the output end of the image processor is connected to the input end of the controller, the output end of the controller is connected to the collision warning device, and the output end of the controller is also connected to the control system of the robot, wherein:

[0038] The positioning and identification mat is laid in the robot's motion area, covering the area reached by the robot's hand end when it moves, and is used to locate and identify the plane coordinate data of the operator's position in the motion area;

[0039] The infrared camera is used to collect infrared image data of workers in the moving area and perform stereo positioning of the spatial position captured.

[0040] The image processor is used to fuse the collected plane coordinate data and infrared image data to obtain fused image data about the operator's body contour, body thickness and height and send it to the controller;

[0041] The controller is used to process the fused image data, calculate the positions of the operator and the robot in the motion area in real time, and detect the minimum distance between the operator and the robot in real time. When the minimum distance is less than the set threshold, the warning collision device is controlled to issue a collision warning prompt and control the robot to stop moving.

[0042] The controller is made of STM32 single-chip machine and uses C language and other programming languages ​​to realize equidistant collection and output of limited coordinate points on human height and width information. It is used to process fused image data, process the relationship between the positioning recognition pad plane coordinate system, human body base coordinate system, infrared camera coordinate system, and robot motion coordinate system in the motion area, and control the movement of the robot. At the same time, the controller predicts the position status between the operator and the robot, determines whether there is a risk of collision between the operator and the robot, and decides whether to activate the collision warning device for collision warning.

[0043] like Figure 2-Figure 3 As shown, the positioning identification pad includes an elastic protective layer 1 and an upper conductive plate 2, a lower conductive plate 3 and an isolation pad 4 arranged in the elastic protective layer 1; the isolation pad 4 is arranged between the upper conductive plate 2 and the lower conductive plate 3, and a plurality of micro sensors are arranged on the lower surface of the upper conductive plate 2, which are separated from each other and arranged in a matrix in the longitudinal and transverse directions. When a person steps on the elastic protective layer 1, the upper conductive plate 2 is pressed down and contacts the lower conductive plate 3, forming a loop, and the internal micro sensors work. Since the densely packed micro sensors are arranged in a matrix, no matter which sensor has a signal, its corresponding position can be accurately identified, and the coordinates of the location can be located and clearly identified.

[0044] As a further improvement of the present invention, the collision warning device includes an alarm light and an alarm voice prompter.

[0045] The present invention also provides a method for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition pad. The human-machine collaboration method is implemented based on a robot operating system (ROS), and the method includes the following steps:

[0046] S1: a positioning identification mat is laid in the robot's motion area. A plurality of micro sensors distributed in a matrix are arranged in the positioning identification mat. A plane coordinate system of the positioning identification mat based on the positioning identification mat is established. When an operator steps on the positioning identification mat, the positioning identification mat identifies the operator's position according to the coordinates of the micro sensors calibrated in advance, and obtains the three-dimensional coordinates (x, y, z) of the position in the robot's motion coordinate system.

[0047] S2: Infrared cameras are installed on the front, side and top of the positioning identification pad, and infrared cameras are used to emit infrared lasers to collect images of the front, side and top of the operator. After processing, the image processor obtains the parameters of multiple cameras, and obtains the spatial point cloud map through multi-view stereo matching and spatial point coordinates with the same name matching. Then, after compression matching of the point cloud, a triangulation map is constructed from the point cloud to achieve stereo modeling and interactive measurement, and obtain the body contour line, body thickness and height information of the operator. The spatial position that can be captured by the infrared camera is stereo-located, and an infrared camera coordinate system with any infrared camera as the center point is established. Before using the infrared camera, the infrared camera will be calibrated first, and the positioning identification pad will be used as the calibration point of the camera to facilitate the connection between the coordinates of the positioning identification pad and the coordinates of the picture taken by the image processor. In addition, the three infrared cameras will also be calibrated with reference objects. The distance from the reference object to the infrared camera is certain, and the length of the reference object is certain. The height, width and thickness of the person can be identified through the photos taken by the infrared camera.

[0048] S3: The operator's body contour information and its coordinate data on the positioning identification pad are integrated under the image processor to obtain the height, contour and body thickness parameters of the operator; then the human body base coordinate system is established with the sole of the operator as the center, and the characteristic points of the operator's body contour are taken from bottom to top. The selection of the characteristic points can be: by programming under the controller to take the body wheel width points from bottom to top and in the width direction, take a characteristic point every 20cm in the height direction, and take the last contour point as the contour coordinate point if the last contour point in the height direction is less than 20cm; take the contour coordinate point of the person at a distance of every 5cm in the width direction of the operator, and take the last contour point as the contour coordinate point if the last contour point in the width direction is less than 5cm, and obtain the corresponding coordinate points (X1, Y1, Z1) with a certain and limited distance, ..., (X n ,Y n ,Z n ), where n is a finite integer;

[0049] S4: Since the laid positioning safety mat is located in the robot's motion space, it is necessary to calibrate the position of the safety mat in the robot's motion coordinate system. Each point on the positioning safety mat has a unique corresponding rectangular coordinate point (x, y, z) in the robot's motion coordinate system. According to the position of the operator at any time, the coordinates (x, y, z) in the robot's motion coordinate system are obtained at this time. The point centered on the operator's foot at this time is used as the origin (0, 0, 0) of the human body coordinate system established by the operator. The coordinates of the finite number of feature points obtained in step S3 are converted to the coordinate points of the robot's motion coordinate system as (x1, y1, z1) = (X1, Y1, Z1) + (x, y, z), ..., (x n ,y n ,z n )=(X n ,Y n ,Z n )+(x,y,z);

[0050] S5: Based on the robot's operating system, the coordinates (X, Y, Z) of the robot's end are calculated according to the information fed back by the motor encoders of each axis of the robot and the robot's forward kinematics equation;

[0051] S6: The robot actuator coordinates (X, Y, Z) in step S5 and the real coordinates (x1, y1, z1) of the finite number of feature points in step S4 in the robot motion coordinate system are converted to (x n ,y n ,z n ), the robot actuator coordinates and the real coordinates of the finite number of feature points in step S4 in the robot motion coordinate system are input into the controller respectively, and the distance d between the two points is calculated by the controller, that is, (X, Y, Z) and (x1, y1, z1), ..., (x n ,y n ,z n ) of the distance d1, ..., dn, where n is a finite integer;

[0052] S7: Determine the safety level of the operator in human-robot collaboration, control the movement of the robot, and achieve safe collaboration between the robot and the operator.

[0053] The specific process of determining the safety level of the operator in human-machine collaboration in step S7 is as follows:

[0054] The distance d obtained in step S6 is compared with the preset graded safety distances D1, D2 and D3, respectively, wherein D1>D2>D3;

[0055] When the distance d between the operator and the robot is greater than D1, the operator is considered to be in a safe state.

[0056] When the distance between the operator and the robot is d<D1, the operator is considered to be in a relatively dangerous state and the alarm light flashes;

[0057] When the distance between the operator and the robot is d<D2, the operator is considered to be in a relatively dangerous state, and the alarm voice prompter gives an alarm voice prompt;

[0058] When the distance between the operator and the robot is d<D3, the operator is considered to be in a dangerous state and the robot stops moving to avoid abnormal collision accidents.

[0059] The present invention is based on a human-machine collaboration system and method based on an infrared camera and a positioning identification pad. On the one hand, the spatial position can be accurately located through the infrared camera and the positioning identification pad, and the position information of the operator is obtained through fusion calculation through the human body contour information of the operator, and the position of the operator is converted and compared with the position information of the robot end, so as to realize online accurate prediction of the risk of human-machine collision. Compared with directly identifying the human body through a camera, the recognition accuracy is higher. Different safety protection methods are adopted according to the distance between the robot and the operator, thereby improving the safety of human-machine collaboration in an industrial environment.

[0060] The above description is a detailed description of the preferred feasible embodiments of the present invention, but the embodiments are not intended to limit the scope of the patent application of the present invention. All equivalent changes or modified changes completed under the technical spirit suggested by the present invention should fall within the patent scope covered by the present invention.

Claims

1. A system for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition pad, characterized in that: It includes a positioning identification pad, an infrared camera, an image processor, a controller and a collision warning device; wherein: The positioning identification pad is laid in the movement area of ​​the robot and is used to locate and identify the plane coordinate data of the position of the operator in the movement area; the positioning identification pad includes an elastic protective layer and an upper conductive plate, a lower conductive plate and an isolation pad arranged in the elastic protective layer; the isolation pad is arranged between the upper conductive plate and the lower conductive plate, and a plurality of micro sensors are arranged on the lower surface of the upper conductive plate, and the plurality of micro sensors are separated from each other and arranged in a matrix in the longitudinal and transverse directions; The infrared camera is used to collect infrared image data of the workers in the movement area and perform stereo positioning of the captured spatial position. The image processor is used to fuse the collected plane coordinate data and infrared image data to obtain fused image data about the body contour line, body thickness and height of the operator and send the fused image data to the controller; The controller is used to process the fused image data, calculate the positions of the operator and the robot in the movement area in real time, and detect the minimum distance between the operator and the robot in real time. When the minimum distance is less than a set threshold, the warning collision device is controlled to issue a collision warning prompt and the robot is controlled to stop moving.

2. The system for human-machine collaboration and human-machine collision prevention based on infrared camera and positioning recognition pad according to claim 1, characterized in that: The collision warning device includes an alarm light and an alarm voice prompter.

3. A method for human-machine collaboration and human-machine collision prevention based on an infrared camera and a positioning recognition pad, characterized in that: The method comprises the following steps: S1: a positioning identification mat is laid in the robot's motion area. A plurality of micro sensors distributed in a matrix are arranged in the positioning identification mat. A plane coordinate system of the positioning identification mat based on the positioning identification mat is established. When an operator steps on the positioning identification mat, the positioning identification mat identifies the operator's position according to the coordinates of the micro sensors calibrated in advance, and obtains the three-dimensional coordinates (x, y, z) of the position in the robot's motion coordinate system. S2: Infrared cameras are installed on the front, side and top of the positioning identification mat, and infrared cameras are used to emit infrared lasers to collect images of the front, side and top of the operator, and after processing, the body contour, body thickness and height of the operator are obtained. The spatial position that can be captured by the infrared camera is stereoscopically positioned to establish an infrared camera coordinate system with any of the infrared cameras as the center point; S3: The operator's body contour information and its coordinate data on the positioning identification pad are integrated under the image processor to obtain the operator's height, contour and body thickness parameters; then a human body base coordinate system is established with the operator's sole as the center, and two feature points of the operator's body contour are taken from bottom to top to obtain corresponding coordinate points (X1, Y1, Z1) with a certain distance and limited, ..., (X n ,Y n ,Z n ), where n is a finite integer; S4: Since the laid positioning safety mat is located in the robot's motion space, it is necessary to calibrate the position of the safety mat in the robot's motion coordinate system. Each point on the positioning safety mat has a unique corresponding rectangular coordinate point (x, y, z) in the robot's motion coordinate system. According to the position of the operator at any time, the coordinates (x, y, z) in the robot's motion coordinate system are obtained at this time. The point centered on the operator's foot at this time is used as the origin (0, 0, 0) of the human body coordinate system established by the operator. The coordinates of the finite number of feature points obtained in step S3 are converted to the coordinate points of the robot's motion coordinate system as (x1, y1, z1) = (X1, Y1, Z1) + (x, y, z), ..., (x n ,y n ,z n )=(X n ,Y n ,Z n )+(x,y,z); S5: Based on the robot's operating system, the coordinates (X, Y, Z) of the robot's end are calculated according to the information fed back by the motor encoders of each axis of the robot and the robot's forward kinematics equation; S6: The robot actuator coordinates (X, Y, Z) in step S5 and the real coordinates (x1, y1, z1) of the finite number of feature points in step S4 in the robot motion coordinate system are converted to (x n ,y n ,z n ), the robot actuator coordinates and the real coordinates of the finite number of feature points in step S4 in the robot motion coordinate system are input into the controller respectively, and the distance d between the two points is calculated by the controller, that is, (X, Y, Z) and (x1, y1, z1), ..., (x n ,y n ,z n ) of the distance d1, ..., dn, where n is a finite integer; S7: Determine the safety level of the operator in the human-machine collaboration, control the movement of the robot, and achieve safe collaboration between the robot and the operator.

4. The method for human-machine collaboration and human-machine collision prevention based on infrared camera and positioning recognition pad according to claim 3 is characterized in that: The specific process of determining the safety level of the operator in the human-machine collaboration in step S7 is as follows: The distance d obtained in step S6 is compared with the preset graded safety distances D1, D2 and D3, respectively, wherein D1>D2>D3; When the distance d between the operator and the robot is greater than D1, the operator is considered to be in a safe state; When the distance between the operator and the robot is d<D1, the operator is considered to be in a relatively dangerous state, and the controller controls the alarm light to flash; When the distance d between the operator and the robot is less than D2, the operator is considered to be in a relatively dangerous state, and the controller controls the alarm voice prompter to issue an alarm voice prompt; When the distance d between the operator and the robot is less than D3, the operator is considered to be in a dangerous state, and the robot stops moving to avoid a human-machine collision accident.