Visual tracking control method and system for the whole process of motorcycle engine assembly
By shooting and analyzing the motorcycle engine assembly site, we established a shape information database of parts and tools, combined with light source parameters, predicted the assembly status and adjusted the supply status. This solved the problem of incorrect grasping by the robot during the assembly process and improved the reliability of the assembly. Control and correctness.
Patent Information
- Application Number
- CN202110141422.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-02-02
AI Technical Summary
During the motorcycle engine assembly process, due to the unstable placement of parts or assembly tools, the robot hand grasps the parts or tools incorrectly, reducing assembly accuracy and efficiency. Existing visual tracking methods cannot effectively improve the controllability and correctness of assembly. .
By photographing and analyzing the motorcycle engine assembly site, an information database of the outlines of parts and assembly tools is established. Combined with the preset light source lighting parameter information, the assembly status is predicted, and the lighting conditions, parts and tool supply status are adjusted to ensure the smoothness of the assembly process. accuracy.
It realizes the rapid and accurate identification and control of the motorcycle engine assembly process, maximizing the controllability and correctness of the assembly.
Smart Images

Figure CN112699903B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automated and digital industrial production, and in particular to a whole-process visual tracking control method and system for motorcycle engine assembly. Background Art
[0002] The assembly of motorcycle engines involves many different types of parts, and different assembly tools are needed to assemble different parts together during the assembly process. The overall assembly process of the motorcycle engine is complex, and involves many parts and assembly tools. In order to ensure the assembly accuracy and assembly efficiency of the motorcycle engine, it is necessary to implement the assembly action according to the corresponding assembly process. The prior art usually uses an automatic device such as a manipulator to grab the corresponding parts and assembly tools to perform the corresponding assembly actions. However, in actual operation, since the placement position of the parts or assembly tools is not fixed, this will cause the manipulator to grab the wrong parts or assembly tools, thereby greatly reducing the accuracy and efficiency of the motorcycle engine assembly. Although there has been a method of improving the grasping accuracy of the manipulator through visual tracking, due to factors such as changes in lighting conditions during the assembly process and the inability to accurately distinguish between parts / assembly tools due to the fact that the appearance of the parts / assembly tools is too similar, it still cannot maximize the controllability and correctness of the motorcycle engine assembly. Summary of the invention
[0003] In view of the defects of the above-mentioned prior art, the present invention provides a whole-process visual tracking control method and system for motorcycle engine assembly, which obtains corresponding operation images of the operation areas by photographing different operation areas at the motorcycle engine assembly site, and then analyzes the operation images of the operation areas to determine the part shape contour information and assembly tool contour information at the motorcycle engine assembly site, and the part shape contour information and the assembly tool contour information are combined to form a corresponding assembly information library, and the assembly process of the motorcycle engine is analyzed according to a preset assembly site light source lighting parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process, and finally, according to the assembly action information, the current assembly state of the motorcycle engine is predicted, and according to the Prediction results, adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site; it can be seen that the motorcycle engine assembly full-process visual tracking control method and system can be based on the visual imaging of the entire assembly process, image the parts and assembly tools involved in the assembly to obtain the corresponding shape contour features, and use the lighting parameter information of the light source at the assembly site and the shape contour features to analyze the engine assembly process to predict the engine assembly status, and finally adjust the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction results, so that the engine assembly process can be quickly and accurately identified, thereby ensuring that each assembly process can be correctly executed and maximizing the controllability and correctness of the motorcycle engine assembly.
[0004] The present invention provides a whole-process visual tracking control method for motorcycle engine assembly, which is characterized in that it comprises the following steps:
[0005] Step S1, photographing different operation areas of the motorcycle engine assembly site to obtain operation images of the corresponding operation areas;
[0006] Step S2, analyzing the operation image of the operation area, thereby determining the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and forming a corresponding assembly information library with the part shape profile information and the assembly tool profile information;
[0007] Step S3, analyzing the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining assembly action information corresponding to the motorcycle engine assembly process;
[0008] Step S4, predicting the current assembly state of the motorcycle engine according to the assembly action information, and adjusting at least one of the lighting conditions, parts supply state, and assembly tool supply state at the assembly site according to the prediction result;
[0009] Furthermore, in step S1, photographing different working areas of the motorcycle engine assembly site to obtain corresponding working area operation images specifically includes:
[0010] Step S101, detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different operation areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with a preset illumination threshold value, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold value, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting;
[0011] Step S102, based on the increased or decreased aperture number, binocularly photographing the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, so as to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area;
[0012] Further, in the step S2, the operation image of the operation area is analyzed to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library, which specifically includes:
[0013] Step S201, after performing distortion correction on the image distortions corresponding to the part placement binocular image and the assembly tool placement binocular image, a first binocular image parallax of the part placement binocular image and a second binocular image parallax of the assembly tool placement binocular image are determined;
[0014] Step S202, generating a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area respectively according to the first binocular image parallax and the second binocular image parallax, and then extracting part shape contour information and assembly tool contour information from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area respectively;
[0015] Step S203, partitioning and storing the part outline information and the assembly tool outline information, so as to form a corresponding assembly information library together;
[0016] Further, in step S3, the assembly process of the motorcycle engine is analyzed according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process, which specifically includes:
[0017] Step S301, recording the change values of the illumination brightness of the illumination light sources of the part placement area and the assembly tool placement area over time, thereby forming the preset assembly phenomenon light source illumination parameter information library;
[0018] Step S302, constructing a motorcycle engine assembly process action execution deep neural network model, and optimizing and training the deep neural network model using the preset assembly phenomenon light source lighting parameter information library and the assembly information library;
[0019] Step S303, using the optimized trained deep neural network model, determining assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the part placement area and the assembly tool placement area to assemble the motorcycle engine;
[0020] Further, in step S4, predicting the current assembly state of the motorcycle engine according to the assembly action information, and adjusting at least one of the lighting conditions, parts supply state and assembly tool supply state at the assembly site according to the prediction result specifically includes:
[0021] Step S401, predicting the parts or assembly tools that the assembly manipulator needs to grab in the next step during the current motorcycle engine assembly process according to the assembly action information;
[0022] Step S402, based on the prediction results of the parts or assembly tools that need to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, based on the part outline information or the assembly tool outline information, the assembly robot is controlled to accurately grasp the parts or assembly tools that need to be grasped.
[0023] The present invention also provides a motorcycle engine assembly full-process visual tracking control system, which is characterized in that it includes an assembly site shooting module, an assembly site image processing module, an assembly process analysis module, an assembly state prediction module, and an assembly execution adjustment module; wherein:
[0024] The assembly site shooting module is used to shoot different operation areas of the motorcycle engine assembly site, so as to obtain operation images of the corresponding operation areas;
[0025] The assembly site image processing module is used to analyze the operation image of the operation area, so as to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library;
[0026] The assembly process analysis module is used to analyze the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process;
[0027] The assembly state prediction module is used to predict the assembly state of the current motorcycle engine according to the assembly action information;
[0028] The assembly execution adjustment module is used to adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction result;
[0029] Furthermore, the assembly site shooting module shoots different operation areas of the motorcycle engine assembly site to obtain the corresponding operation images of the operation areas, specifically including:
[0030] Detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different work areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with a preset illumination threshold, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting;
[0031] Based on the increased or decreased aperture number, binocular photography is performed on the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, so as to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area;
[0032] Further, the assembly site image processing module analyzes the operation image of the operation area to determine the part shape profile information and assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library, which specifically includes:
[0033] After performing distortion correction on the image distortions corresponding to the part placement binocular image and the assembly tool placement binocular image, respectively, determining a first binocular image parallax of the part placement binocular image and a second binocular image parallax of the assembly tool placement binocular image;
[0034] Then, according to the first binocular image parallax and the second binocular image parallax, a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area are generated respectively, and then part shape contour information and assembly tool contour information are extracted respectively from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area;
[0035] Then the part shape profile information and the assembly tool profile information are partitioned and stored, so as to form a corresponding assembly information library together;
[0036] Further, the assembly process analysis module analyzes the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining that the assembly action information corresponding to the motorcycle engine assembly process specifically includes:
[0037] Recording the change values of the illumination brightness of the respective illumination light sources of the part placement area and the assembly tool placement area over time, thereby forming the preset assembly phenomenon light source illumination parameter information library;
[0038] Then, the optimized trained deep neural network model is used to determine the assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the parts placement area and the assembly tool placement area to assemble the motorcycle engine;
[0039] Furthermore, the assembly state prediction module predicts the assembly state of the current motorcycle engine according to the assembly action information, specifically including:
[0040] According to the assembly action information, predict the parts or assembly tools that the assembly manipulator needs to grasp in the next step during the current motorcycle engine assembly process;
[0041] as well as,
[0042] The assembly execution adjustment module adjusts at least one of the lighting conditions, the parts supply status, and the assembly tool supply status of the assembly site according to the prediction result, specifically including:
[0043] According to the prediction results of the parts or assembly tools that need to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, according to the part shape contour information or the assembly tool contour information, the assembly robot is controlled to accurately grasp the parts or assembly tools that need to be grasped.
[0044] Compared with the prior art, the motorcycle engine assembly full-process visual tracking control method and system of the present invention obtains corresponding operation images of the operation areas by photographing different operation areas of the motorcycle engine assembly site, and then analyzes the operation images of the operation areas to determine the part shape contour information and assembly tool contour information in the motorcycle engine assembly site, and the part shape contour information and the assembly tool contour information are combined to form a corresponding assembly information library, and the motorcycle engine assembly process is analyzed according to the preset assembly site light source lighting parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process, and finally, according to the assembly action information, the current assembly state of the motorcycle engine is predicted, and according to the prediction result , adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site; it can be seen that the motorcycle engine assembly full-process visual tracking control method and system can take the visual imaging of the entire assembly process as the core, image the parts and assembly tools involved in the assembly to obtain the corresponding shape contour features, and use the lighting parameter information of the light source at the assembly site and the shape contour features to analyze the engine assembly process to predict the engine assembly status, and finally adjust the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction results. At least one of the state, so that the engine assembly process can be quickly and accurately identified, thereby ensuring that each assembly process can be correctly executed, and maximizing the controllability and correctness of the motorcycle engine assembly. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 This is a structural schematic diagram of the whole-process visual tracking control system for motorcycle engine assembly provided by the present invention.
[0047] Figure 2 A schematic flow chart of the whole-process visual tracking control method for motorcycle engine assembly provided by the present invention. DETAILED DESCRIPTION
[0048] 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.
[0049] See also Figure 1 , is a schematic diagram of the structure of the whole process visual tracking control method and system of motorcycle engine assembly provided by the present invention. The whole process visual tracking control method of motorcycle engine assembly includes the following steps:
[0050] Step S1, photographing different operation areas of the motorcycle engine assembly site to obtain operation images of the corresponding operation areas;
[0051] Step S2, analyzing the operation image of the operation area, thereby determining the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and forming a corresponding assembly information library with the part shape profile information and the assembly tool profile information;
[0052] Step S3, analyzing the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining assembly action information corresponding to the motorcycle engine assembly process;
[0053] Step S4, predicting the current assembly state of the motorcycle engine according to the assembly action information, and adjusting at least one of the lighting conditions, parts supply state and assembly tool supply state at the assembly site according to the prediction result.
[0054] The beneficial effects of the above technical solution are as follows: the whole-process visual tracking control method for motorcycle engine assembly can focus on visual imaging of the whole assembly process, image the parts and assembly tools involved in the assembly to obtain the corresponding shape contour features, and use the lighting parameter information of the light source at the assembly site and the shape contour features to analyze the assembly process of the engine to predict the assembly state of the engine. Finally, according to the prediction results, at least one of the lighting conditions, parts supply state and assembly tool supply state at the assembly site is adjusted, so that the assembly process of the engine can be quickly and accurately identified, thereby ensuring that each assembly process can be executed correctly and maximizing the controllability and correctness of the motorcycle engine assembly.
[0055] Preferably, in step S1, photographing different working areas of the motorcycle engine assembly site to obtain corresponding working area operation images specifically includes:
[0056] Step S101, detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different operation areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with a preset illumination threshold value, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold value, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting;
[0057] Step S102, based on the increased or decreased aperture number, binocular photography is performed on the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, so as to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area.
[0058] The beneficial effect of the above technical solution is: since different working areas of the motorcycle drilling machine assembly site have different ambient light distribution states, the corresponding regional ambient light actual illuminance value will directly affect the contrast of the captured image. By comparing the regional ambient light actual illuminance value with the preset illuminance threshold, the actual ambient light illumination condition of the working area can be quantitatively measured, so as to accurately adjust the aperture number of the shooting, thereby ensuring the normal exposure of the captured image. In addition, by taking binocular shots of the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, a three-dimensional image of the assembly site can be effectively obtained, providing a reliable basis for subsequent visual tracking analysis.
[0059] Preferably, in step S2, the operation image of the operation area is analyzed to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library, specifically including:
[0060] Step S201, after performing distortion correction on the image distortions corresponding to the binocular image of the part placement and the binocular image of the assembly tool placement, determine a first binocular image parallax of the binocular image of the part placement and a second binocular image parallax of the binocular image of the assembly tool placement;
[0061] Step S202, generating a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area respectively according to the first binocular image parallax and the second binocular image parallax, and then extracting part shape contour information and assembly tool contour information from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area respectively;
[0062] Step S203, partitioning and storing the part shape profile information and the assembly tool profile information, so as to form a corresponding assembly information library together.
[0063] The beneficial effect of the above technical solution is: the distortion of the image corresponding to the binocular image of the part placement and the binocular image of the assembly tool placement is corrected, which can effectively improve the quality of the image, thereby avoiding errors in the generation of three-dimensional images. In actual operation, the corresponding image contour information can be directly extracted from the three-dimensional image, and then the image contour information is extracted to obtain the part shape contour information and the assembly tool contour information. This can be achieved through existing image analysis algorithm technology, and no further description is made here. Finally, the part shape contour information and the assembly tool contour information are stored in partitions, which can improve the data storage reliability of the assembly information library.
[0064] Preferably, in step S3, the assembly process of the motorcycle engine is analyzed according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process, which specifically includes:
[0065] Step S301, recording the change values of the illumination brightness of the respective illumination light sources of the part placement area and the assembly tool placement area over time, thereby forming an illumination parameter information library of the preset assembly phenomenon light source;
[0066] Step S302, constructing a motorcycle engine assembly process action execution deep neural network model, and optimizing and training the deep neural network model using the preset assembly phenomenon light source lighting parameter information library and the assembly information library;
[0067] Step S303, using the optimized trained deep neural network model, determine the assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the part placement area and the assembly tool placement area to assemble the motorcycle engine.
[0068] The beneficial effect of the above technical solution is: since the changes in the lighting brightness of the respective lighting sources of the part placement area and the assembly tool placement area, the part shape contour information and the assembly tool contour information will affect the accuracy of the assembly robot's grasping action, by constructing a motorcycle engine assembly process action execution deep neural network model and performing optimization training, the corresponding assembly virtual platform can be established, and the platform can be optimized with the three-dimensional contours of the parts and assembly tools, thereby accurately determining the assembly action information corresponding to the assembly of the motorcycle engine.
[0069] Preferably, in step S4, predicting the current assembly state of the motorcycle engine according to the assembly action information, and adjusting at least one of the lighting conditions, parts supply state and assembly tool supply state at the assembly site according to the prediction result specifically includes:
[0070] Step S401, predicting the parts or assembly tools that the assembly manipulator needs to grab in the next step during the current motorcycle engine assembly process according to the assembly action information;
[0071] Step S402, based on the prediction result of the part or assembly tool to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, based on the part shape contour information or the assembly tool contour information, the assembly robot is controlled to accurately grasp the part or assembly tool to be grasped.
[0072] The beneficial effect of the above technical solution is that, since the placement, posture and angle of parts and assembly tools are random in the actual assembly process, the assembly action information can accurately predict the parts or assembly tools that the assembly manipulator needs to grab in the next assembly process, thereby effectively avoiding the situation where the parts or assembly tools are mistakenly grabbed. In addition, by enhancing the illumination brightness of the light source in the part placement area or the assembly tool placement area, or controlling the assembly manipulator to accurately grab the parts or assembly tools that need to be grabbed according to the part shape profile information or the assembly tool profile information, it can ensure that each assembly process can be executed correctly, and maximize the controllability and correctness of the motorcycle engine assembly.
[0073] See also Figure 2 , is a schematic diagram of the structure of the motorcycle engine assembly full process visual tracking control system provided by the present invention. The motorcycle engine assembly full process visual tracking control system includes an assembly site shooting module, an assembly site image processing module, an assembly process analysis module, an assembly state prediction module, and an assembly execution adjustment module; wherein,
[0074] The assembly site shooting module is used to shoot different operation areas of the motorcycle engine assembly site, so as to obtain the corresponding operation images of the operation areas;
[0075] The assembly site image processing module is used to analyze the operation image of the operation area, so as to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information together form a corresponding assembly information library;
[0076] The assembly process analysis module is used to analyze the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process;
[0077] The assembly state prediction module is used to predict the assembly state of the current motorcycle engine according to the assembly action information;
[0078] The assembly execution adjustment module is used to adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction result.
[0079] The beneficial effects of the above technical solution are as follows: the motorcycle engine assembly full-process visual tracking control system can focus on visual imaging of the entire assembly process, image the parts and assembly tools involved in the assembly to obtain the corresponding shape contour features, and use the lighting parameter information of the light source at the assembly site and the shape contour features to analyze the engine assembly process to predict the engine assembly status, and finally adjust at least one of the lighting conditions, parts supply status and assembly tool supply status at the assembly site based on the prediction results, so that the engine assembly process can be quickly and accurately identified, thereby ensuring that each assembly process can be correctly executed and maximizing the controllability and correctness of the motorcycle engine assembly.
[0080] Preferably, the assembly site shooting module shoots different operation areas of the motorcycle engine assembly site to obtain the corresponding operation images of the operation areas, specifically including:
[0081] Detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different operation areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with the preset illumination threshold value, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold value, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting;
[0082] Based on the increased or decreased aperture number, binocular photography is performed on the parts placement area and the assembly tool placement area of the motorcycle engine assembly site to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area.
[0083] The beneficial effect of the above technical solution is: since different working areas of the motorcycle drilling machine assembly site have different ambient light distribution states, the corresponding regional ambient light actual illuminance value will directly affect the contrast of the captured image. By comparing the regional ambient light actual illuminance value with the preset illuminance threshold, the actual ambient light illumination condition of the working area can be quantitatively measured, so as to accurately adjust the aperture number of the shooting, thereby ensuring the normal exposure of the captured image. In addition, by taking binocular shots of the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, a three-dimensional image of the assembly site can be effectively obtained, providing a reliable basis for subsequent visual tracking analysis.
[0084] Preferably, the assembly site image processing module analyzes the operation image of the work area to determine the part shape profile information and assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information together form a corresponding assembly information library specifically including:
[0085] After performing distortion correction on the image distortions corresponding to the binocular image of the part placement and the binocular image of the assembly tool placement, a first binocular image parallax of the binocular image of the part placement and a second binocular image parallax of the binocular image of the assembly tool placement are determined;
[0086] Then, according to the first binocular image parallax and the second binocular image parallax, a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area are generated respectively, and then part shape contour information and assembly tool contour information are extracted from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area respectively;
[0087] The part shape profile information and the assembly tool profile information are then partitioned and stored, thereby forming a corresponding assembly information library.
[0088] The beneficial effect of the above technical solution is: the distortion of the image corresponding to the binocular image of the part placement and the binocular image of the assembly tool placement is corrected, which can effectively improve the quality of the image, thereby avoiding errors in the generation of three-dimensional images. In actual operation, the corresponding image contour information can be directly extracted from the three-dimensional image, and then the image contour information is extracted to obtain the part shape contour information and the assembly tool contour information. This can be achieved through existing image analysis algorithm technology, and no further description is made here. Finally, the part shape contour information and the assembly tool contour information are stored in partitions, which can improve the data storage reliability of the assembly information library.
[0089] Preferably, the assembly process analysis module analyzes the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining that the assembly action information corresponding to the motorcycle engine assembly process specifically includes:
[0090] Record the change values of the illumination brightness of the respective illumination light sources of the part placement area and the assembly tool placement area over time, thereby forming an illumination parameter information library of the preset assembly phenomenon light source;
[0091] The optimized trained deep neural network model is then used to determine the assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the part placement area and the assembly tool placement area to assemble the motorcycle engine.
[0092] The beneficial effect of the above technical solution is: since the changes in the lighting brightness of the respective lighting sources of the part placement area and the assembly tool placement area, the part shape contour information and the assembly tool contour information will affect the accuracy of the assembly robot's grasping action, by constructing a motorcycle engine assembly process action execution deep neural network model and performing optimization training, the corresponding assembly virtual platform can be established, and the platform can be optimized with the three-dimensional contours of the parts and assembly tools, thereby accurately determining the assembly action information corresponding to the assembly of the motorcycle engine.
[0093] Preferably, the assembly state prediction module predicts the assembly state of the current motorcycle engine according to the assembly action information, specifically including:
[0094] According to the assembly action information, predict the parts or assembly tools that the assembly manipulator needs to grab next in the current motorcycle engine assembly process;
[0095] as well as,
[0096] The assembly execution adjustment module adjusts at least one of the lighting conditions, the parts supply status, and the assembly tool supply status at the assembly site according to the prediction result, specifically including:
[0097] According to the prediction results of the parts or assembly tools that need to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, according to the part shape contour information or the assembly tool contour information, the assembly robot is controlled to accurately grasp the parts or assembly tools that need to be grasped.
[0098] The beneficial effect of the above technical solution is that, since the placement, posture and angle of parts and assembly tools are random in the actual assembly process, the assembly action information can accurately predict the parts or assembly tools that the assembly manipulator needs to grab in the next assembly process, thereby effectively avoiding the situation where the parts or assembly tools are mistakenly grabbed. In addition, by enhancing the illumination brightness of the light source in the part placement area or the assembly tool placement area, or controlling the assembly manipulator to accurately grab the parts or assembly tools that need to be grabbed according to the part shape profile information or the assembly tool profile information, it can ensure that each assembly process can be executed correctly, and maximize the controllability and correctness of the motorcycle engine assembly.
[0099] It can be seen from the contents of the above embodiments that the whole-process visual tracking control method and system for motorcycle engine assembly obtains corresponding operation images of the operation areas by photographing different operation areas at the motorcycle engine assembly site, and then analyzes the operation images of the operation areas to determine the part shape contour information and assembly tool contour information at the motorcycle engine assembly site, and the part shape contour information and the assembly tool contour information are combined to form a corresponding assembly information library, and the motorcycle engine assembly process is analyzed according to the preset assembly site light source illumination parameter information library and the assembly information library to determine the assembly action information corresponding to the motorcycle engine assembly process, and finally, the current assembly state of the motorcycle engine is predicted according to the assembly action information, and the prediction result is used to predict the assembly state of the motorcycle engine. , adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site; it can be seen that the motorcycle engine assembly full-process visual tracking control method and system can take the visual imaging of the entire assembly process as the core, image the parts and assembly tools involved in the assembly to obtain the corresponding shape contour features, and use the lighting parameter information of the light source at the assembly site and the shape contour features to analyze the engine assembly process to predict the engine assembly status, and finally adjust the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction results. At least one of the state, so that the engine assembly process can be quickly and accurately identified, thereby ensuring that each assembly process can be correctly executed, and maximizing the controllability and correctness of the motorcycle engine assembly.
Claims
1. A visual tracking control method for the entire process of motorcycle engine assembly, characterized in that: It includes the following steps: Step S1, photographing different operation areas of the motorcycle engine assembly site to obtain operation images of the corresponding operation areas; Step S2, analyzing the operation image of the operation area, thereby determining the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and forming a corresponding assembly information library with the part shape profile information and the assembly tool profile information; Step S3, analyzing the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining assembly action information corresponding to the motorcycle engine assembly process; Step S4, predicting the current assembly state of the motorcycle engine according to the assembly action information, and adjusting at least one of the lighting conditions, parts supply state and assembly tool supply state at the assembly site according to the prediction result.
2. The whole-process visual tracking control method for motorcycle engine assembly according to claim 1 is characterized in that: In step S1, different operation areas of the motorcycle engine assembly site are photographed to obtain corresponding operation images of the operation areas, which specifically includes: Step S101, detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different operation areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with a preset illumination threshold value, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold value, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting; Step S102, based on the increased or decreased aperture number, binocular photography is performed on the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, so as to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area.
3. The whole-process visual tracking control method for motorcycle engine assembly according to claim 2 is characterized in that: In the step S2, the operation image of the operation area is analyzed to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library, which specifically includes: Step S201, after performing distortion correction on the image distortions corresponding to the part placement binocular image and the assembly tool placement binocular image, a first binocular image parallax of the part placement binocular image and a second binocular image parallax of the assembly tool placement binocular image are determined; Step S202, generating a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area respectively according to the first binocular image parallax and the second binocular image parallax, and then extracting part shape contour information and assembly tool contour information from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area respectively; Step S203, partitioning and storing the part outline information and the assembly tool outline information to form a corresponding assembly information library.
4. The whole-process visual tracking control method for motorcycle engine assembly according to claim 3 is characterized in that: In step S3, the motorcycle engine assembly process is analyzed according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process, which specifically includes: Step S301, recording the change values of the illumination brightness of the illumination light sources of the part placement area and the assembly tool placement area over time, thereby forming the preset assembly site light source illumination parameter information library; Step S302, constructing a deep neural network model corresponding to the execution of the motorcycle engine assembly process action, and optimizing and training the deep neural network model using the preset assembly site light source lighting parameter information library and the assembly information library; Step S303, using the optimized trained deep neural network model, determining the assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the part placement area and the assembly tool placement area to assemble the motorcycle engine.
5. The whole-process visual tracking control method for motorcycle engine assembly according to claim 4 is characterized in that: In the step S4, the current assembly state of the motorcycle engine is predicted according to the assembly action information, and at least one of the lighting conditions, parts supply state and assembly tool supply state of the assembly site is adjusted according to the prediction result, which specifically includes: Step S401, predicting the parts or assembly tools that the assembly manipulator needs to grab in the next step during the current motorcycle engine assembly process according to the assembly action information; Step S402, based on the prediction results of the parts or assembly tools that need to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, based on the part outline information or the assembly tool outline information, the assembly robot is controlled to accurately grasp the parts or assembly tools that need to be grasped.
6. The whole process visual tracking control system of motorcycle engine assembly is characterized by: It includes an assembly site shooting module, an assembly site image processing module, an assembly process analysis module, an assembly state prediction module, and an assembly execution adjustment module; among which, The assembly site shooting module is used to shoot different operation areas of the motorcycle engine assembly site, so as to obtain operation images of the corresponding operation areas; The assembly site image processing module is used to analyze the operation image of the operation area, so as to determine the part shape profile information and the assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library; The assembly process analysis module is used to analyze the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, so as to determine the assembly action information corresponding to the motorcycle engine assembly process; The assembly state prediction module is used to predict the assembly state of the current motorcycle engine according to the assembly action information; The assembly execution adjustment module is used to adjust at least one of the lighting conditions, parts supply status and assembly tool supply status of the assembly site according to the prediction result.
7. The whole-process visual tracking control system for motorcycle engine assembly according to claim 6 is characterized by: The assembly site shooting module shoots different operation areas of the motorcycle engine assembly site to obtain the corresponding operation images of the operation area, which specifically includes: Detecting the real-time ambient light distribution state of the motorcycle engine assembly site, and determining the actual illumination value of the regional ambient light corresponding to different work areas according to the real-time ambient light distribution state, and then comparing the actual illumination value of the regional ambient light with a preset illumination threshold, if the actual illumination value of the regional ambient light is lower than the preset illumination threshold, increasing the aperture number of the shooting; otherwise, reducing the aperture number of the shooting; Based on the increased or decreased aperture number, binocular photography is performed on the parts placement area and the assembly tool placement area of the motorcycle engine assembly site, so as to obtain a parts placement binocular image corresponding to the parts placement area and an assembly tool placement binocular image corresponding to the assembly tool placement area.
8. The whole-process visual tracking control system for motorcycle engine assembly according to claim 7 is characterized in that: The assembly site image processing module analyzes the operation image of the operation area to determine the part shape profile information and assembly tool profile information in the motorcycle engine assembly site, and the part shape profile information and the assembly tool profile information are combined to form a corresponding assembly information library, which specifically includes: After performing distortion correction on the image distortions corresponding to the part placement binocular image and the assembly tool placement binocular image, respectively, a first binocular image parallax of the part placement binocular image and a second binocular image parallax of the assembly tool placement binocular image are determined; Then, according to the first binocular image parallax and the second binocular image parallax, a three-dimensional image of a part placement area and a three-dimensional image of an assembly tool placement area are generated respectively, and then part shape contour information and assembly tool contour information are extracted respectively from the three-dimensional image of the part placement area and the three-dimensional image of the assembly tool placement area; The part shape profile information and the assembly tool profile information are then partitioned and stored, thereby forming a corresponding assembly information library.
9. The whole-process visual tracking control system for motorcycle engine assembly according to claim 8, characterized in that: The assembly process analysis module analyzes the assembly process of the motorcycle engine according to the preset assembly site light source illumination parameter information library and the assembly information library, thereby determining that the assembly action information corresponding to the motorcycle engine assembly process specifically includes: Recording the change values of the illumination brightness of the respective illumination light sources of the parts placement area and the assembly tool placement area over time, thereby forming the preset assembly site light source illumination parameter information library; Constructing a deep neural network model corresponding to the execution of motorcycle engine assembly process actions, and optimizing and training the deep neural network model using the preset assembly site light source lighting parameter information library and the assembly information library; The optimized trained deep neural network model is then used to determine assembly action information corresponding to the assembly robot grabbing different parts and different assembly tools from the parts placement area and the assembly tool placement area to assemble the motorcycle engine.
10. The whole-process visual tracking control system for motorcycle engine assembly according to claim 9, characterized in that: The assembly state prediction module predicts the assembly state of the current motorcycle engine according to the assembly action information, specifically including: According to the assembly action information, predict the parts or assembly tools that the assembly manipulator needs to grasp in the next step during the current motorcycle engine assembly process; as well as, The assembly execution adjustment module adjusts at least one of the lighting conditions, the parts supply status, and the assembly tool supply status of the assembly site according to the prediction result, specifically including: According to the prediction results of the parts or assembly tools that need to be grasped, the brightness of the light source in the part placement area or the assembly tool placement area is enhanced, or, according to the part shape contour information or the assembly tool contour information, the assembly robot is controlled to accurately grasp the parts or assembly tools that need to be grasped.
