A plate adjustment method and plate setting device based on visual detection
Automatically adjusting the position and posture of stamping workpieces through visual inspection technology solves the problems of high labor costs and operational errors caused by manual placement, and improves the efficiency and reliability of circuit board processing.
Patent Information
- Application Number
- CN202410990905.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In the existing circuit board processing process, the swing of the stamping workpiece needs to be manually adjusted, which results in high labor costs and is prone to human errors, affecting the reliability and efficiency of the swing.
The pendulum adjustment method based on visual detection is used to obtain the posture adjustment angle of the stamping workpiece through image recognition. Combined with the movement path of the manipulator, the posture of the stamping workpiece is automatically adjusted to improve the reliability and efficiency of the pendulum operation.
It achieves fast and accurate placement of stamping workpieces, reduces labor costs, and improves the reliability and efficiency of placement.
Smart Images

Figure CN118514089B_ABST
Abstract
Description
Technical Field
[0001] The present invention mainly relates to the technical field of mechanical equipment, and in particular to a swing plate adjustment method and a swing plate device based on visual detection. Background Art
[0002] In the current circuit board processing process, the stamped workpieces processed by the punch press need to be placed on the tooling tray. Since the punch press has a fast discharge speed and the discharged stamped workpieces are messy, the position of the stamped workpieces needs to be adjusted when placing the tray so that the stamped workpieces can be neatly placed on the tooling tray.
[0003] Existing circuit board processing mainly relies on manual placement of stamping workpieces, which results in high labor costs for circuit board processing. In addition, manual placement is prone to human operating errors, affecting the reliability and efficiency of placement. Summary of the invention
[0004] The purpose of the present invention is to overcome the shortcomings of the prior art. The present invention provides a plate adjustment method and a plate adjustment device based on visual detection. The posture adjustment angle of each stamping workpiece is obtained through image recognition. Combined with the motion path of the manipulator, the stamping workpiece is quickly grasped and the posture is adjusted, thereby improving the reliability and efficiency of the plate adjustment operation and reducing the labor cost.
[0005] The present invention provides a method for adjusting a wobble plate based on visual detection, the method comprising:
[0006] Acquire the stamping workpiece image on the workbench based on the visual recognition component to obtain first image information;
[0007] Extracting the contour of each stamping workpiece image from the first image information to obtain a plurality of target unit images;
[0008] Compare each target unit image with the standard stamping part image, and calculate the deflection angle of each target unit image;
[0009] Compare the deflection angles of each target unit image, sort them in ascending order of the deflection angles, and obtain a queue of target unit images;
[0010] Formulate a plurality of grasping paths for stamping workpieces in the first image information according to the target unit image queue;
[0011] A control instruction is generated in combination with the workpiece grasping path and the deflection angle of each punched workpiece.
[0012] Furthermore, the method of acquiring the stamping workpiece image on the workbench based on the visual recognition component to obtain the first image information includes:
[0013] The incoming stamping workpiece is photographed by the visual recognition component to generate first image information which is sent to the main control system.
[0014] Furthermore, extracting the contour of each stamping workpiece image from the first image information to obtain a plurality of target unit images includes:
[0015] Converting the first image information into a grayscale image, performing binarization processing on the grayscale image to obtain a binary image, marking the position of each stamping workpiece in the binary image, and obtaining an initial image block;
[0016] Extract a pixel point in the initial image block, and detect whether the grayscale values of the eight pixels adjacent to the pixel point are consistent. If they are consistent, delete the pixel point;
[0017] All pixel points in a number of the initial image blocks are detected in sequence, and the outlines of the several initial image blocks are extracted to obtain a number of target unit images.
[0018] Furthermore, the step of comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image includes:
[0019] The geometric center of the target image of the marking unit is set as the marking origin, and the geometric center of the standard stamping image is set as the comparison origin;
[0020] Based on the coincidence of the marking origin and the comparison origin, the unit target image is rotated clockwise so that the unit target image completely overlaps with the standard stamping image, and the deflection angle of the unit target image is recorded.
[0021] Furthermore, the step of comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image further includes:
[0022] A plurality of positioning mark points are arranged on the standard stamping part image, and the plurality of positioning mark points are evenly distributed on the outer contour line of the standard stamping part image;
[0023] A positioning reference point is marked at a position corresponding to the outer contour line of the target unit image, and the deflection position of the target unit image is detected based on a plurality of the positioning mark points.
[0024] Furthermore, the deflection angle of each target unit image is compared, and the deflection angles are sorted in ascending order to obtain a target unit image queue, which includes:
[0025] Acquire the deflection angle of each target unit image according to the standard stamping part image, and sort the target unit images according to the deflection angle of each target unit image;
[0026] According to the order of the deflection angles from small to large, a plurality of target unit images are numbered, and an arrangement order of the plurality of target unit images is confirmed, thereby obtaining a target unit image queue.
[0027] Furthermore, the step of formulating a plurality of grabbing paths for stamping workpieces in the first image information according to the target unit image queue includes:
[0028] The arrangement order of a plurality of target unit images is obtained based on the target unit image queue, and a plurality of grasping paths of stamping workpieces are set in combination with the structure of the grasping robot.
[0029] Furthermore, the generating of control instructions in combination with the workpiece grasping path and the deflection angle of each stamping workpiece includes:
[0030] The deflection angle of the first target unit image in the target unit image queue is obtained, and the difference is calculated in combination with the deflection angle of the next adjacent target unit image to obtain the deflection angle difference, and the deflection angle difference between each group of adjacent target unit images is calculated in turn.
[0031] The present invention further provides a plate-stirring device based on visual detection, the plate-stirring device is used to perform any one of the plate-stirring adjustment methods, and the plate-stirring device comprises:
[0032] Feed conveyor line: used to convey the stamping workpieces output by the stamping equipment;
[0033] Visual recognition component: used to photograph the stamping workpiece on the feeding conveyor line and obtain the first image information;
[0034] Grabbing robot: used to grab the workpiece and move the stamping workpiece to the tooling tray.
[0035] Furthermore, the plate-staging device is provided with a body, and the body is provided with a plate-staging area, a material preparation area and a material unloading area;
[0036] The wobble plate area is arranged between the material preparation area and the material unloading area, and the machine body is arranged on one side of the feeding conveying line, and the wobble plate area is located on one side of the to-be-transferred area of the feeding conveying line.
[0037] The present invention provides a swing plate adjustment method and a swing plate device based on visual detection, which obtains the posture and position image of the stamping workpiece through a visual recognition component, obtains the deflection angle of each stamping workpiece in combination with the standard stamping part image, and generates a control instruction through the deflection angle combined with the motion path of a grasping robot, so that the grasping robot can adjust the posture of the stamping workpiece after each grasping is completed, thereby improving the grasping efficiency of the stamping workpiece and the accuracy of the posture adjustment. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 is a schematic diagram of the structure of a plate-staging device based on visual detection in an embodiment of the present invention;
[0039] Figure 2 is a structural side view of a plate-stirring device based on visual detection in an embodiment of the present invention;
[0040] Figure 3 It is a flow chart of the plate adjustment method based on visual detection in an embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0042] Figure 1 The schematic diagram of the structure of the plate-staggering device based on visual detection in the implementation of the present invention is shown. Figure 2 The figure shows a structural side view of a plate-stirring device based on visual detection in an embodiment of the present invention, wherein the plate-stirring device comprises:
[0043] Feed conveyor line 1: used to convey the stamping workpieces output by the stamping equipment;
[0044] Visual recognition component 2: used for photographing the stamping workpieces on the feeding conveyor line 1, obtaining first image information, and obtaining the posture state and distribution state of a plurality of stamping workpieces based on the first image information;
[0045] Grasping robot 4: It is provided with several grasping working ends. According to the posture state and distribution state of the stamping workpieces, the distribution positions of several stamping workpieces and the spacing between several stamping workpieces are obtained based on the distribution state, and several stamping workpieces are synchronously grasped through variable distance adjustment. The posture of the workpiece is adjusted based on the rotation of any of the grasping working ends, and the stamping workpiece is moved to the tooling plate.
[0046] Specifically, the wobble device is provided with a body 5, and a wobble area, a material preparation area and a material unloading area are provided on the body 5. The wobble area is arranged between the material preparation area and the material unloading area, and the body 5 is arranged on one side of the feed conveyor line 1, and the wobble area is located on one side of the area to be transferred of the feed conveyor line 1. The stamping workpiece can be transferred into the wobble area by the grasping robot 4, so that the grasping robot 4 can perform a wobble operation on the stamping workpiece.
[0047] Furthermore, several tooling trays are placed in the material preparation area. Based on the grasping robot 4, the tooling trays can be placed in the tray area. The grasping robot 4 can transport and place several of the stamping workpieces on the tooling trays, and then transfer the tooling trays that have been transported to the unloading area.
[0048] Furthermore, a conveyor belt 6 is provided on the machine body 5, a support frame is provided at one end of the conveyor belt 6, and the material preparation area is formed in the support frame. Based on the support frame, a plurality of tooling trays can be limited to be accommodated in the material preparation area so that the grasping robot 4 can perform material picking operations.
[0049] Furthermore, the middle portion of the conveyor belt 6 is set as the wobble plate area, and the other end of the conveyor belt 6 is set as the unloading area. After the tooling plate completes loading and swinging of several stamping workpieces in the wobble plate area, the tooling plate can move with the conveyor belt 6 to the unloading area and realize the unloading operation of the tooling plate.
[0050] For details, please refer to Figure 2 In this embodiment, the grasping robot 4 is provided with a plurality of grasping working ends, and a plurality of stamping workpieces can be grasped at the same time based on the plurality of grasping working ends, thereby improving the efficiency of grasping the stamping workpieces.
[0051] Furthermore, the grasping robot 4 can realize the grasping operation of a single stamping workpiece.
[0052] Specifically, several grasping working ends of the grasping robot 4 are arranged on a variable diameter module. Based on the variable diameter module, the variable distance adjustment of several grasping working ends of the grasping robot 4 can be realized, that is, the distance between several grasping working ends is adjusted, so that the grasping robot 4 can adjust the distance between several grasping working ends according to the distribution status of several stamping workpieces to meet the synchronous grasping of several stamping workpieces and improve the grasping efficiency of the grasping robot 4.
[0053] Furthermore, any one of the grasping working ends is configured as a rotatable component. When the grasping working end grasps a stamping workpiece, it can drive the stamping workpiece to rotate, thereby adjusting the posture state of the stamping workpiece so as to place the stamping workpiece on the tooling disk. Several of the grasping working ends can rotate synchronously, thereby improving the convenience of the grasping robot 4 in adjusting the posture of the stamping workpiece.
[0054] Furthermore, the grasping robot realizes the variable diameter module function through a screw with multiple variable pitch spirals, and realizes the variable pitch movement of the multiple grasping working ends in the axial direction of the screw by slidingly fitting several grasping working ends one by one in the spirals of the screw and driving the screw to rotate based on the motor.
[0055] Furthermore, the variable diameter module can also cooperate with mechanisms such as belt transmission and cam mechanism to form a variable distance adjustment effect, which will not be described in detail here.
[0056] Specifically, a moving component 3 is provided on the body 5, and the moving component 3 includes a first fixed arm 31 and a second fixed arm 32 arranged in the axial direction of the Y axis, and a transverse arm 33 arranged in the axial direction of the X axis. The transverse arm 33 is slidably connected to the first fixed arm 31 and the second fixed arm 32, and the grasping robot 4 is slidably fitted on the transverse arm 33. The transverse arm 33 can move axially along the Y axis on the first fixed arm 31 and the second fixed arm 32, and the grasping robot 4 can move axially along the X axis on the transverse arm 33. Based on the moving component 3, the grasping robot 4 can be moved in the XY plane to meet the grasping requirements of stamping workpieces in different positions.
[0057] Furthermore, the first fixed arm 31, the second fixed arm 32 and the transverse arm 33 can be an electric slide structure, based on which the sliding movement of the transverse arm 33 on the first fixed arm 31 and the second fixed arm 32 can be realized, and the movement of the grasping robot 4 on the transverse arm 33 can be realized.
[0058] Figure 3 A flow chart of a method for adjusting a wobble plate based on visual detection in an embodiment of the present invention is shown. The method for adjusting a wobble plate includes:
[0059] S11: Acquire the image of the stamping workpiece on the workbench based on the visual recognition component 2 to obtain first image information.
[0060] The incoming stamping workpieces are photographed by the visual recognition component 2 to generate first image information which is sent to the main control system. The visual recognition component 2 is arranged on the conveyor line of the stamping workpieces. The images of the stamping workpieces on the conveyor line are captured and photographed by the visual recognition component 2. The stamping workpieces are conveyed to the area to be transferred through the conveyor line. The first image information of the distribution status of several stamping workpieces is obtained based on the visual recognition component 2 above the area to be transferred.
[0061] Furthermore, based on the visual recognition component 2, the position status of several workpieces in the area to be transferred is identified, and the visual recognition component 2 is arranged directly above the area to be transferred, so that the visual recognition component 2 can obtain the orthographic projection view of several workpieces, so as to obtain the outer contour of the stamped workpiece, so as to adjust the stamped workpiece.
[0062] Specifically, based on the visual recognition component 2, the distribution state of the orthographic projection of several stamped workpieces is obtained, so that the main control system can obtain the outer contours and distribution positions of several stamped workpieces, so as to control the robot to grasp the stamped workpieces and adjust the positions of the stamped workpieces so that the stamped workpieces are neatly arranged on the tooling plate.
[0063] S12: extracting the contour of each stamping workpiece image from the first image information to obtain a plurality of target unit images.
[0064] Specifically, component processing is performed on the first image information so that the first image information is converted into a grayscale image, and the grayscale image is binarized to obtain a binary image. The position of each stamping workpiece is marked in the binary image to obtain an initial block, and the distribution positions of several stamping workpieces are obtained by identifying the position of each initial block.
[0065] Furthermore, by binarizing the grayscale image, the pixel levels in the binary image are set to two levels. In this embodiment, the grayscale value of any pixel point in the binary image is 0 or 255, so as to extract the outline of the stamped workpiece.
[0066] Furthermore, the brightness of the three RGB components of the first image information is extracted, and one of the components is selected as the image grayscale value of the first image information, so that the first image information is converted into a grayscale image.
[0067] Furthermore, in this embodiment, the red primary color component of the first image information is selected as the image grayscale value:
[0068] ;
[0069] in, The coordinates are The gray value of the pixel, The coordinates are The red primary pixel value of the pixel point.
[0070] A pixel point is extracted in the initial block, and the grayscale values of the eight pixels adjacent to the pixel point are detected to see if they are consistent. If they are consistent, the pixel point is deleted, and all the pixels in several initial blocks are detected in turn, and the outlines of several initial blocks are extracted to obtain several target unit images.
[0071] Specifically, a pixel point is selected in the initial image block as the target pixel point, the grayscale value of the target pixel point is obtained, and the grayscale values of several neighboring pixel points in the circumferential direction of the target pixel point are obtained, and the difference calculation is performed between the several neighboring pixel points and the target pixel point in turn, and the result of the difference calculation is recorded. When the difference calculation result of each of the neighboring pixel points and the target pixel point is consistent, the target pixel point is marked as a pixel point to be deleted, and the next pixel point is selected as the target pixel point for calculation;
[0072] In the process of calculating the difference between several neighboring pixel points and the target pixel point, if the difference calculation results of the target pixel point and the neighboring pixel points are inconsistent, the target pixel point is marked as a pixel point to be retained. After completing the difference calculation of all pixel points in the initial image block, several pixel points to be deleted are deleted and several pixel points to be retained are retained, thereby obtaining the outline of the initial image block.
[0073] Furthermore, by detecting each pixel point in the initial block, the pixel points inside the initial block can be deleted and hollowed out, thereby obtaining the outer contour of the initial block and obtaining a target unit image, so as to extract the posture state of the stamping workpiece based on the target unit image.
[0074] Specifically, after processing the first image information, the outer contours of several initial blocks are extracted, and the outer contours of the extracted initial blocks are compared with the standard stamping part image. When the outer contour of the initial block is inconsistent with the size of the standard stamping part image, that is, the outer contour of the initial block is larger than 1.3 times the size of the standard stamping part image, the grasping robot 4 is used to adjust the stamping workpiece at the corresponding position of the initial block to avoid the connection or overlap of multiple stamping workpieces affecting the extraction of the target unit image.
[0075] Furthermore, after the grasping robot 4 completes the adjustment of the stamping workpiece, the image data of the stamping workpiece is reacquired based on the visual recognition component 2, and step S12 is repeated to acquire the target unit image of each stamping workpiece.
[0076] S13: Compare each target unit image with the standard stamping part image, and calculate the deflection angle of each target unit image.
[0077] The target unit image is completely overlapped with the standard stamping part image by adjusting the position and posture state of the target unit image, and the deflection angle of each target unit image is recorded to obtain the adjustment amount of the target unit image.
[0078] Specifically, comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image includes:
[0079] Mark the geometric center of the unit target image as the marking origin, set the geometric center of the standard stamping image as the comparison origin, and based on the coincidence of the marking origin and the comparison origin, rotate the unit target image clockwise so that the unit target image completely overlaps with the standard stamping image, and record the deflection angle of the unit target image.
[0080] Furthermore, by setting the marking origin and the comparison origin, the target unit image and the standard stamping part image can be positioned based on the marking origin and the comparison origin, so as to confirm the relative position of the target unit image and the standard stamping part image, thereby improving the reliability of obtaining the deflection angle of the target unit image.
[0081] Specifically, comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image further includes:
[0082] A plurality of positioning mark points are arranged on the standard stamping part image, and the plurality of positioning mark points are evenly distributed on the outer contour line of the standard stamping part image. Positioning reference points are marked at positions corresponding to the outer contour line of the target unit image. The deflection position of the target unit image is detected based on the plurality of positioning mark points, so that the positions of the positioning mark points and the positioning reference points overlap one by one, and the overlapping error is less than 0.1 mm, namely, it is confirmed that the target unit image and the stamping standard part image are in a completely overlapping state.
[0083] Furthermore, the deflection of the target unit image is accurately positioned based on a plurality of positioning mark points, thereby improving the accuracy of the position and posture adjustment of the target unit image.
[0084] S14: Compare the deflection angles of each target unit image, sort them in ascending order according to the deflection angle, and obtain a target unit image queue.
[0085] Specifically, the deflection angle of each target unit image is obtained according to the standard stamping part image, and each target unit image is sorted according to the angle of the deflection angle. According to the order of the deflection angle from small to large, several target unit images are numbered, and the arrangement order of the several target unit images is confirmed, thereby obtaining a target unit image queue.
[0086] Furthermore, based on the target unit image queue, the running path of the grasping robot 4 can be adjusted so that the grasping robot 4 can grasp the stamping workpiece according to the arrangement order of the target unit image queue to improve the reliability of grasping the stamping workpiece.
[0087] S15: formulating a plurality of grabbing paths for stamping workpieces in the first image information according to the target unit image queue.
[0088] The arrangement order of a plurality of target unit images is obtained based on the target unit image queue, and a plurality of grabbing paths for stamping workpieces are set in combination with the structure of the grabbing robot 4 .
[0089] Specifically, in the present embodiment, the grasping robot 4 is provided with a moving rod and a plurality of grasping working ends located on the moving rod. The stamping workpiece to be grasped is allocated to each grasping working end in the order of the target unit image queue. According to the position of the stamping workpiece and the position of the corresponding grasping working end on the grasping robot 4, the grasping path of the grasping working end of the grasping robot 4 is set, and the grasping path of each grasping working end is confirmed in turn, thereby generating the grasping path of the grasping robot 4.
[0090] Furthermore, based on the target unit image queue, the distribution postures of several stamping workpieces are obtained, thereby obtaining the distribution spacing between multiple stamping workpieces. By adjusting the variable distance of several grasping working ends of the grasping robot 4, several grasping working ends can be quickly moved to the top of the corresponding stamping workpiece and perform grasping operations, thereby improving the grasping efficiency of the grasping robot 4.
[0091] Specifically, in another optional embodiment, the grasping robot 4 can be set as a single grasping end, and the grasping robot 4 is set to have a transport path for each stamping workpiece according to the arrangement order of the target unit image and the placement position of the stamping workpiece on the tooling tray, thereby generating a grasping path for the grasping robot 4.
[0092] Furthermore, the grasping robot 4 may also be provided with a receiving slot, based on which the grasped stamping workpieces may be cached, and combined with the target unit image queue, the grasping order of the stamping workpieces may be confirmed, and several stamping workpieces may be marked and connected in sequence in the first image information according to the grasping order to obtain the grasping path of the grasping robot 4.
[0093] S16: Generate a control instruction in combination with the workpiece grasping path and the deflection angle of each stamping workpiece.
[0094] A control instruction is generated based on the deflection angle of each stamping workpiece in combination with the workpiece grasping path, and the control instruction includes an operation path and a dynamic angle adjustment value. After the grasping robot 4 completes the grasping of a stamping workpiece, the stamping workpiece is rotationally adjusted based on the control instruction, and a working signal is fed back to the main control system. The main control system updates the dynamic angle adjustment value based on the deflection angle, so that the grasping robot 4 can obtain the next stamping workpiece and adjust the posture of the stamping workpiece.
[0095] Specifically, when the grasping robot 4 caches the grasped stamping workpieces to realize the grasping and transportation of multiple stamping workpieces, the deflection angle of the first target unit image in the target unit image queue is obtained, and the difference calculation is performed in combination with the deflection angle of the next adjacent target unit image to obtain the deflection angle difference, and the deflection angle difference between each group of adjacent target unit images is calculated in turn. After grasping the current stamping workpiece, the grasping robot 4 can drive the current stamping workpiece to rotate based on the deflection angle difference, so that the posture of the current stamping workpiece and the next stamping workpiece are different. The state is consistent, and based on the deflection angle difference between each group of adjacent target unit images, several stamping workpieces are grasped according to the workpiece grasping path, so that the stamping workpieces grasped by the grasping robot 4 can maintain a consistent posture, and after completing the grasping of the last stamping workpiece in the target unit image queue, the posture of the stamping workpiece is rotated and adjusted based on the deflection angle of the last stamping workpiece in the target unit image queue, so that the posture state of several stamping workpieces is consistent with the posture state of the standard stamping part image, so that the grasping robot 4 can place several stamping parts on the tooling tray.
[0096] Furthermore, based on visual detection, the distance between the center position of each target unit image and the center position of the next adjacent target unit image on the workpiece grasping path is obtained, and based on the angle deviation analysis between each group of adjacent unit images, the moving path between each target unit image and the next adjacent target unit image is calculated, thereby confirming the accurate moving path of the grasping robot 4 and improving the grasping accuracy and grasping efficiency of the grasping robot 4.
[0097] An embodiment of the present invention provides a swing plate adjustment method based on visual detection, which obtains the posture and position image of the stamping workpiece through the visual recognition component 2, and obtains the deflection angle of each stamping workpiece in combination with the standard stamping part image. The control instructions are generated by combining the deflection angle with the motion path of the grasping robot 4, so that the grasping robot 4 can adjust the posture of the stamping workpiece after each grasping is completed, thereby improving the grasping efficiency of the stamping workpiece and the accuracy of the posture adjustment.
[0098] A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing related hardware through a program, for example, by executing a program through a processor to implement the corresponding method. The processor may be arranged in a plating device based on visual detection. The program may be stored in a computer-readable storage medium. The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
[0099] In addition, the embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for adjusting a plate based on visual detection, characterized in that: The swing plate adjustment method comprises: Acquire the stamping workpiece image on the workbench based on the visual recognition component to obtain first image information; Extracting the contour of each stamping workpiece image from the first image information to obtain a plurality of target unit images; Compare each target unit image with the standard stamping part image, and calculate the deflection angle of each target unit image; Compare the deflection angles of each target unit image, sort them in ascending order of the deflection angles, and obtain a queue of target unit images; Formulate a plurality of grasping paths for stamping workpieces in the first image information according to the target unit image queue; generating a control instruction in combination with the workpiece grasping path and the deflection angle of each stamping workpiece; The step of extracting the contour of each stamping workpiece image from the first image information and obtaining a plurality of target unit images comprises: Converting the first image information into a grayscale image, performing binarization processing on the grayscale image to obtain a binary image, marking the position of each stamping workpiece in the binary image, and obtaining an initial image block; Extract a pixel point in the initial image block, and detect whether the grayscale values of the eight pixels adjacent to the pixel point are consistent. If they are consistent, delete the pixel point; All pixel points in a number of the initial image blocks are detected in sequence, and the outlines of the several initial image blocks are extracted to obtain a number of target unit images.
2. The method for adjusting the wobble plate based on visual detection according to claim 1, characterized in that: The method of acquiring the stamping workpiece image on the workbench based on the visual recognition component to obtain the first image information includes: The incoming stamping workpiece is photographed by the visual recognition component to generate first image information which is sent to the main control system.
3. The method for adjusting the wobble plate based on visual detection according to claim 1, characterized in that: The step of comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image comprises: The geometric center of the target unit image is marked as the marking origin, and the geometric center of the standard stamping part image is set as the comparison origin; Based on the coincidence of the marking origin and the comparison origin, the target unit image is rotated clockwise so that the target unit image completely overlaps with the standard stamping part image, and the deflection angle of the target unit image is recorded.
4. The method for adjusting the wobble plate based on visual detection according to claim 3, characterized in that: The step of comparing each target unit image with the standard stamping part image and calculating the deflection angle of each target unit image further includes: A plurality of positioning mark points are arranged on the standard stamping part image, and the plurality of positioning mark points are evenly distributed on the outer contour line of the standard stamping part image; A positioning reference point is marked at a position corresponding to the outer contour line of the target unit image, and the deflection position of the target unit image is detected based on a plurality of the positioning mark points.
5. The method for adjusting the wobble plate based on visual detection according to claim 1, characterized in that: The deflection angle of each target unit image is compared, and the deflection angles are sorted in ascending order to obtain a target unit image queue, which includes: Acquire the deflection angle of each target unit image according to the standard stamping part image, and sort the target unit images according to the deflection angle of each target unit image; According to the order of the deflection angles from small to large, a plurality of target unit images are numbered, and an arrangement order of the plurality of target unit images is confirmed, thereby obtaining a target unit image queue.
6. The method for adjusting the wobble plate based on visual detection according to claim 1, characterized in that: The step of formulating a plurality of grabbing paths for stamping workpieces in the first image information according to the target unit image queue includes: The arrangement order of a plurality of target unit images is obtained based on the target unit image queue, and a plurality of grasping paths of stamping workpieces are set in combination with the structure of the grasping robot.
7. The method for adjusting the wobble plate based on visual detection according to claim 1, characterized in that: The generating of control instructions in combination with the workpiece grasping path and the deflection angle of each stamping workpiece includes: The deflection angle of the first target unit image in the target unit image queue is obtained, and the difference is calculated in combination with the deflection angle of the next adjacent target unit image to obtain the deflection angle difference, and the deflection angle difference between each group of adjacent target unit images is calculated in turn.
8. A dish arrangement device based on visual detection, characterized in that: The plate swinging device is used to perform the plate swinging adjustment method according to any one of claims 1 to 7, and the plate swinging device comprises: Feed conveyor line: used to convey the stamping workpieces output by the stamping equipment; Visual recognition component: used to photograph the stamping workpiece on the feeding conveyor line and obtain the first image information; Grabbing robot: used to grab the stamping workpiece and move the stamping workpiece to the tooling tray.
9. The visual inspection-based plating device according to claim 8, characterized in that: The plate-staging device is provided with a body, and the body is provided with a plate-staging area, a material preparation area and a material unloading area; The wobble plate area is arranged between the material preparation area and the material unloading area, and the machine body is arranged on one side of the feeding conveying line, and the wobble plate area is located on one side of the to-be-transferred area of the feeding conveying line.
Citation Information
Patent Citations
Mechanical arm positioning fetching method based on machine vision
CN104217441A
Method for optimizing robot grabbing sequence
CN109834712A
Method For Displaying Recognition Result Obtained By Three-Dimensional Visual Sensor And Three-Dimensional Visual Sensor
US20100232683A1
Simulation device
US20200391377A1
