A visual calibration method for a robot following the flow of a production line
By setting up a manipulator on the assembly line and using visual calibration technology, the offset and movement stroke are calculated in real time, and the blocking cylinder is canceled to realize the dynamic assembly of the manipulator following the products on the assembly line. This solves the problem of the manipulator waiting for the product to stop flowing, and improves production efficiency and beat.
Patent Information
- Application Number
- CN202210172703.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-24
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2042-02-24
AI Technical Summary
When the existing manipulator operates on the assembly line, it needs to wait for the product to stop flowing before it can work, making it difficult to increase the cycle time and unable to meet high production demand.
A visual calibration method is adopted in which the robot follows the flow of the production line. By setting the robot on one side of the assembly line, it can run in multiple directions. The offset and movement stroke can be calculated in real time through proximity sensors, camera units, speed sensors and guide mechanisms. , cancel the blocking cylinder and realize dynamic assembly.
It improves the working rhythm of the robot, shortens the working time, improves production efficiency, and enables the robot to dynamically follow the product on the assembly line for assembly and disassembly.
Smart Images

Figure CN114536336B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vision calibration technology, and in particular to a vision calibration method for a robot following the flow of a production line. Background Art
[0002] With the increase in the production of air conditioners in my country, the requirements for the hourly output of the assembly lines are getting higher and higher. For example, some assembly lines have currently reached an output of 330 units per hour, but this hourly output has reached the physiological limit of workers and is unsustainable.
[0003] Currently, there are vision-guided six-axis robot-operated devices on the assembly line, such as automatic removal of air-conditioning outdoor unit angle valves, automatic removal of screws or gluing, and loading of compressors. However, during the removal process, a cylinder is required to block the air-conditioning outdoor unit to stop it, resulting in a delay in the robot waiting for the blocking cylinder and other actions. The robot's working rhythm cannot be increased after a maximum of 9 seconds, which affects the improvement of the robot's rhythm and cannot meet the current production requirement of 330 units per hour.
[0004] In view of this, a visual calibration method for a robot following the flow of a production line is provided. When the assembly line is flowing, the robot can cancel blocking mechanisms such as cylinders and stop the movement or flow of the product, so that the robot can move along with the products on the assembly line. By automatically collecting, identifying, calculating the offset and operating it, the beat and production efficiency will be greatly improved, and dynamic assembly can be achieved. Summary of the invention
[0005] In view of the defect in the prior art that the manipulator must wait for the product to stop flowing on the production line before it can work, making it difficult to improve the manipulator's beat, the present invention provides a visual calibration method for the manipulator to follow the flow of the production line. The method can enable the manipulator to track the product following the flow of the production line and realize dynamic assembly.
[0006] In order to solve the above technical problems, the present invention is solved by the following technical solutions.
[0007] A visual calibration method for a manipulator following the flow of a production line, wherein a manipulator is arranged on one side of the flow direction of the assembly line, and the manipulator has at least a first running direction of running along the flow direction substantially horizontal to the assembly line, a second running direction of running along a substantially vertical direction, and a third running direction of running along the two sides of the flow direction substantially horizontal to the assembly line;
[0008] When the robot tracks and processes the products to be processed in the assembly line, the following steps are included:
[0009] Step S1: 0 As the initial moment, obtain the 0when , the offset Δx between the position of the manipulator and the product to be processed in the first running direction, the offset Δy between the position of the manipulator and the product to be processed in the second running direction, the depth offset Δz between the position of the manipulator and the product to be processed in the third running direction, and the offset angle θ between the actual flow direction of the product to be processed and the first running direction;
[0010] Step S2, calculating the movement distance x(t) of the manipulator in the first running direction and the movement distance y(t) in the second running direction at the current time t, wherein,
[0011] x(t)=s×cosθ+Δx,
[0012] y(t)=s×sinθ+Δy;
[0013] In the above formula, s is the product to be processed from the initial time t 0 The flow distance in the pipeline from the beginning to the current time t.
[0014] As a preferred embodiment, a photographing unit is provided at the manipulator, and the photographing unit is used to take a 0 When the product to be processed is photographed at the photographing position to obtain initial image data of the product to be processed; the offset Δx, the offset Δy and the offset angle θ are obtained by processing the initial image data.
[0015] Preferably, when the robot is in the photographing position, the image plane of the photographing unit is parallel to both the first running direction and the second running direction.
[0016] Preferably, a proximity sensor is provided at the assembly line for generating a trigger signal when the product to be processed passes through, and the trigger signal is used to be sent to the control unit; after receiving the trigger signal, the control unit generates an action signal for immediately sending to the robot and a photo signal for delayed sending to the photo unit, the action signal is used to control the robot to move from the loading position or the unloading position to the photo position, and the photo signal is used to control the photo unit to take a photo of the product to be processed, and the photo moment is the initial moment t 0 .
[0017] Preferably, after receiving the trigger signal, the control unit performs timing for a set duration through a timing module, and generates a photo signal and immediately sends it to the photo unit when the timing duration of the timing module is reached.
[0018] As a preferred method, the real-time movement speed of the assembly line is obtained by a speed sensor installed at the assembly line and used as the real-time flow speed v of the product to be processed. Get the flow distance s.
[0019] Preferably, the speed sensor is an encoder.
[0020] Preferably, a guide mechanism is provided at the assembly line, and the guide mechanism is used to adjust the posture of the product to be processed so as to keep the depth offset Δz fixed.
[0021] Preferably, the guide mechanism comprises a guide section and a fixed section arranged in sequence along the forward direction of the flow of the assembly line, the guide section is used to guide the product to be processed to the fixed section, and the fixed section is used to keep the distance between the product to be processed and the manipulator in the third running direction unchanged; at the initial time t 0 When , the product to be processed is in a fixed section.
[0022] The present invention provides a visual calibration method for a robot following the flow of a production line, which has the following beneficial effects:
[0023] 1. The robot receives the action signal sent by the control unit, so that the robot can autonomously move from the loading position or unloading position to the photographing position.
[0024] 2. The flow speed v of the assembly line is obtained through the encoder; the photographing unit receives the photographing signal sent by the control unit and takes a photo of the product to be processed, and the initial time t can be obtained. 0 And at the initial time t 0 The initial image data of the product to be processed is obtained, so that the timing can be started and the movement amount of the robot can be obtained by processing and calculating the initial image data, so that the robot can follow the product to be processed moving on the assembly line, so that the robot can remain relatively still with the product to be processed to realize the dynamic assembly of the product to be processed by the robot, avoiding the action of the robot waiting for the product to be processed to stop, thereby further shortening the working cycle of the robot and improving production efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a schematic diagram of the visual guidance device in Example 1;
[0026] Figure 2 This is a schematic diagram of the visual calibration method in Example 1.
[0027] The parts indicated by the numbers in the accompanying drawings are as follows:
[0028] 110. assembly line; 111. encoder; 112. proximity sensor; 113. guide mechanism; 114. fixed section; 115. guide section; 120. manipulator; 130. feeding mechanism; 140. electric control cabinet. DETAILED DESCRIPTION
[0029] In order to further understand the content of the present invention, the present invention is described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments are only for explaining the present invention and are not intended to limit it.
[0030] Example 1
[0031] like Figure 1 As shown, this embodiment provides a visual guidance device for a robot to follow the flow of a production line, which includes an assembly line 110 and a robot 120. The robot 120 is used to follow the flow of the assembly line 110, thereby tracking the products to be processed to achieve dynamic processing (including assembly and disassembly) of the products to be processed; a loading mechanism 130 and an electric control cabinet 140 are provided on one side of the robot 120, and the electric control cabinet 140 is used to control the robot 120 to track and assemble or disassemble the products to be processed flowing on the assembly line 110.
[0032] Combination Figure 2 As shown, based on the above-mentioned visual guidance device for a manipulator to follow the flow of a production line, this embodiment further provides a visual calibration method for a manipulator to follow the flow of a production line, wherein a manipulator 120 is arranged on one side of the flow direction of the assembly line 110, and the manipulator 120 has at least a first running direction running along the flow direction of the assembly line 110 substantially horizontally, a second running direction running along a substantially vertical direction, and a third running direction running along the two sides of the flow direction of the assembly line 110 substantially horizontally;
[0033] When the robot 120 tracks the products to be processed in the assembly line 110, the following steps are included:
[0034] Step S1: 0 As the initial moment, obtain the 0 , an offset Δx between the position of the manipulator 120 and the product to be processed in the first running direction, an offset Δy between the position of the manipulator 120 and the product to be processed in the second running direction, a depth offset Δz between the position of the manipulator 120 and the product to be processed in the third running direction, and an offset angle θ between the actual flow direction of the product to be processed and the first running direction;
[0035] Step S2, calculating the movement distance x(t) of the manipulator 120 in the first running direction and the movement distance y(t) in the second running direction at the current time t, wherein,
[0036] x(t)=s×cosθ+Δx,
[0037] y(t)=s×sinθ+Δy;
[0038] In the above formula, s is the product to be processed from the initial time t 0The flow path at pipeline 110 during the period up to the current time t.
[0039] In this embodiment, by obtaining the initial time t 0 , offset Δx, offset Δy, offset Δz, offset angle θ and s, through the formula x(t)=s×cosθ+Δx, y(t)=s×sinθ+Δy, it can be better calculated that at the current time t, the robot 120 can track the movement of the product to be processed in real time, so that when the assembly line 110 flows, the blocking cylinder and other mechanisms and the process of stopping the movement of the product can be cancelled, so that the robot 120 follows the flow of the assembly line 110 to achieve dynamic assembly or disassembly, which greatly improves the working rhythm of the robot 120 and improves production efficiency.
[0040] In this embodiment, a photographing unit is provided at the manipulator 120, and the photographing unit is used to take a 0 When the product to be processed is photographed at the photographing position to obtain initial image data of the product to be processed; the offset Δx, the offset Δy and the offset angle θ are obtained by processing the initial image data.
[0041] In this embodiment, when the robot arm 120 is in the photographing position, the image plane of the photographing unit is parallel to the first running direction and the second running direction at the same time.
[0042] In this embodiment, the photographing unit can be, for example, a camera; the photographing unit in this embodiment takes a photo of the product to be processed, so that the initial time t can be determined. 0 And the offset Δx, the offset Δy and the offset angle θ can be preferably acquired through the initial image data of the product to be processed.
[0043] In this embodiment, a proximity sensor 112 is provided at the assembly line 110 for generating a trigger signal when the product to be processed passes through, and the trigger signal is used to be sent to the control unit (the control unit is arranged in the electric control cabinet 140); after receiving the trigger signal, the control unit generates an action signal for immediately sending to the manipulator 120 and a photo signal for delaying sending to the photo unit, the action signal is used to control the manipulator 120 to move from the loading position to the photo position, and the photo signal is used to control the photo unit to take a photo of the product to be processed, and the photo moment is the initial moment t 0 .
[0044] In this embodiment, after receiving the trigger signal, the control unit performs timing of a set duration through a timing module, and generates a photo signal and immediately sends it to the photo unit when the timing duration of the timing module is reached.
[0045] In this embodiment, the timing module can be implemented by a timing program at the control unit or by a separate timing circuit.
[0046] In this embodiment, the control unit can be arranged in the electric control cabinet 140; the loading position is the location of the loading mechanism 130; by receiving and processing the trigger signal by the electric control cabinet 140, the movement of the manipulator 120 can be better controlled to improve the working efficiency of the manipulator 120.
[0047] It can be understood that the feeding mechanism 130 in this embodiment can adopt an existing feeding mechanism, so that it can be better suitable for dynamic assembly of the product to be processed.
[0048] Meanwhile, in another embodiment different from the present embodiment, the loading mechanism 130 can be replaced by an existing unloading mechanism. The loading position in the present embodiment is the unloading position, thereby better realizing the dynamic disassembly of the product to be processed.
[0049] In this embodiment, the real-time moving speed of the assembly line 110 is obtained by a speed sensor disposed at the assembly line 110 and used as the real-time flow speed v of the product to be processed. Get the flow distance s.
[0050] In this embodiment, the speed sensor is an encoder 111 .
[0051] Through the setting of the encoder 111 in this embodiment, when the product to be processed passes through the position of the encoder 111, the encoder 111 can better measure the flow speed of the assembly line 110 and more accurately obtain the moving speed of the product to be processed on the assembly line 110, thereby obtaining the real-time flow speed v of the product to be processed, and thus obtaining the flow distance s of the product to be processed.
[0052] In this embodiment, a guide mechanism 113 is provided at the assembly line 110 , and the guide mechanism 113 is used to adjust the posture of the product to be processed so as to keep the depth offset Δz fixed.
[0053] In this embodiment, the guide mechanism 113 includes a guide section 115 and a fixed section 114 which are sequentially arranged along the forward direction of the flow of the assembly line 110. The guide section 115 is used to guide the product to be processed to the fixed section 114, and the fixed section 114 is used to keep the distance between the product to be processed and the manipulator 120 in the third running direction unchanged; at the initial time t 0 , the product to be processed is in the fixed section 114.
[0054] In this embodiment, under the action of the guide section 115, the product to be processed is moved to the fixed section 114, so that the distance between the product to be processed and the manipulator 120 in the third running direction remains unchanged, so that only the offset Δx, the offset Δy, the offset angle θ and the real-time flow speed v of the product to be processed need to be obtained, and the movement amount of the manipulator 120 following the product to be processed at the current time t can be calculated, which saves the time of the manipulator 120 tracking the product to be processed, thereby further improving the working rhythm of the manipulator 120, thereby improving production efficiency.
[0055] The visual guidance method for a robot to follow the flow of a production line in this embodiment eliminates the blocking cylinder and other mechanisms and the process of stopping the product when the assembly line 110 is flowing, so that the robot 120 moves along with the product on the assembly line 110, and realizes dynamic assembly through automatic collection, recognition, calculation of offset and operation, which greatly improves the working rhythm of the robot 120 and further improves production efficiency.
[0056] The method in this embodiment, when actually used, includes the following process:
[0057] 1. When the product to be processed flows along the assembly line 110 to a position close to the robot 120, the proximity sensor 112 will be activated to generate a trigger signal;
[0058] 2. After receiving the action signal, the manipulator 120 can obtain the workpiece to be assembled from the loading mechanism 130 and move it to the photographing position;
[0059] 3. Under the action of the guide mechanism 113, the product to be processed can adjust its posture when it reaches the photographing position, thereby maintaining a fixed depth offset Δz;
[0060] 4. The camera unit takes pictures and can obtain corresponding parameters based on the existing image processing algorithm;
[0061] 5. The robot 120 can track the real-time position based on the motion range x(t) and y(t).
[0062] Through the above, dynamic tracking and processing of products at the assembly line 110 can be better achieved.
[0063] In conclusion, the above is only a preferred embodiment of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention should fall within the scope of the patent of the present invention.
Claims
1. A method for a manipulator to follow the flow of a production line, wherein a manipulator is arranged on one side of the flow direction of the assembly line, and the manipulator has at least a first running direction of running along the flow direction substantially horizontal to the assembly line, a second running direction of running along a substantially vertical direction, and a third running direction of running along both sides of the flow direction substantially horizontal to the assembly line; When the robot tracks and processes the products to be processed in the assembly line, the following steps are included: Step S1, taking t0 as the initial time, obtaining at the initial time t0, an offset Δx between the position of the manipulator and the product to be processed in the first running direction, an offset Δy between the position of the manipulator and the product to be processed in the second running direction, a depth offset Δz between the position of the manipulator and the product to be processed in the third running direction, and an offset angle θ between the actual flow direction of the product to be processed and the first running direction; Step S2, calculating the movement distance x(t) of the manipulator in the first running direction and the movement distance y(t) in the second running direction at the current time t, wherein, x(t)=s×cosθ+Δx, y(t)=s×sinθ+Δy; In the above formula, s is the flow distance of the product to be processed in the assembly line from the initial time t0 to the current time t; The manipulator tracks the movement of the product to be processed in the first running direction with the movement stroke x(t), and tracks the movement of the product to be processed in the second running direction with the movement stroke y(t); the depth offset Δz remains fixed.
2. A method for a robot to follow the flow of a production line according to claim 1, characterized in that: A photographing unit is provided at the manipulator, and the photographing unit is used to photograph the product to be processed at the photographing position at the initial time t0 to obtain initial image data of the product to be processed; by processing the initial image data, the offset Δx, the offset Δy and the offset angle θ are obtained.
3. A method for a robot to follow the flow of a production line according to claim 2, characterized in that: When the robot is in the photographing position, the image plane of the photographing unit is parallel to the first running direction and the second running direction at the same time.
4. A method for a robot to follow the flow of a production line according to claim 2, characterized in that: A proximity sensor is provided at the assembly line for generating a trigger signal when the product to be processed passes through, and the trigger signal is used to be sent to the control unit; after receiving the trigger signal, the control unit generates an action signal for immediately sending to the robot and a photo signal for delayed sending to the photo unit, the action signal is used to control the robot to move from the loading position or the unloading position to the photo position, and the photo signal is used to control the photo unit to take a photo of the product to be processed, and the photo taking moment is the initial moment t0.
5. A method for a robot to follow the flow of a production line according to claim 4, characterized in that: After receiving the trigger signal, the control unit performs timing for a set duration through a timing module, and generates a photo signal when the timing duration of the timing module is reached and immediately sends it to the photo unit.
6. A method for a robot to follow the flow of a production line according to claim 1, characterized in that: The real-time movement speed of the assembly line is obtained by the speed sensor installed at the assembly line and used as the real-time flow speed v of the product to be processed. Get the flow distance s.
7. A method for a robot to follow the flow of a production line according to claim 6, characterized in that: The speed sensor uses an encoder.
8. The method for a robot to follow the flow of a production line according to claim 1, characterized in that: A guide mechanism is provided at the assembly line, and the guide mechanism is used to adjust the posture of the product to be processed so as to keep the depth offset Δz fixed.
9. A method for a robot to follow the flow of a production line according to claim 8, characterized in that: The guiding mechanism includes a guiding section and a fixed section which are arranged in sequence along the forward direction of the flow of the assembly line. The guiding section is used to guide the product to be processed to the fixed section, and the fixed section is used to keep the distance between the product to be processed and the manipulator in the third running direction unchanged; at the initial moment t0, the product to be processed is in the fixed section.
