A gear forging control method based on vision guidance

Through the visually guided gear forging control method, panoramic image analysis and stitching, the problem that traditional detection methods cannot comprehensively evaluate gear performance is solved, and refined quality control of various areas of the gear is achieved, and performance and reliability are improved.

CN119338806BActive Publication Date: 2025-05-13SUZHOU KUNLUN HEAVY EQUIP MFG
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411873967.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-19
Publication Date
2025-05-13
Estimated Expiration
2044-12-19

AI Technical Summary

Technical Problem

Traditional gear quality detection methods cannot comprehensively evaluate the performance of gears in actual use, especially in extreme environments, which cannot effectively detect the material uniformity, wear resistance and fatigue resistance of gears.

Method used

Using a gear forging control method based on visual guidance, the gear panoramic image is taken through the camera, image analysis and stitching is performed, input to the area quality detection model, generating a gear quality report, and controlling the forging equipment to be reprocessed.

Benefits of technology

It realizes refined quality control in various areas of the gear, improves the performance and reliability of the gear in extreme environments, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119338806B_ABST
    Figure CN119338806B_ABST
Patent Text Reader

Abstract

The present invention provides a gear forging control method based on visual guidance, which relates to the field of image processing and is applied to the quality control of gear forging in the aviation field. The control method of the present invention specifically includes: using a camera to take a panoramic image of the gear; performing image analysis on the panoramic image to obtain a multi-region stitching image; inputting the multi-region stitching image into a regional quality detection model to obtain a multi-region quality result; generating a gear quality report based on the multi-region quality result, controlling the forging equipment for reprocessing, and by performing separate detection and analysis on each region of the gear, each part of the gear can be finely controlled in terms of quality, thereby enhancing the overall quality of the gear and improving its performance and reliability in extreme environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of image processing, and in particular to a visual guidance control method for gear forging in the aviation field. Background Art

[0002] As the global aviation market continues to expand, the demand for aircraft is rising year by year. In order to meet the growing market demand, the pace of aircraft production is also accelerating. Among the many aircraft parts, gears are a vital link because they play a core role in the aircraft's power transmission system. Due to the vital function of gears in aircraft, the quality control standards for their production have also been improved accordingly to ensure that they can maintain efficient and safe operation under extreme flight conditions.

[0003] In the manufacturing process of gears, traditional quality inspection methods mainly rely on laser measurement technology to detect the geometric size and shape accuracy of gears to ensure that they meet strict production specifications. This method can effectively measure parameters such as gear diameter, pitch, and tooth shape to verify whether they meet design requirements. However, these traditional technologies mainly focus on the accuracy of size and shape, but do not pay enough attention to the microstructure of gear materials and their performance in actual operating environments.

[0004] Aviation gears not only need to withstand conventional mechanical loads during use, but also need to cope with harsh environments such as high temperature, pressure changes, and corrosion generated during high-speed operation. These extreme conditions require that gears not only meet specifications in terms of size, but also meet higher standards in terms of material uniformity, wear resistance, and fatigue resistance. Traditional quality inspection methods cannot fully evaluate the performance of gears in actual use, especially the pressure and wear resistance of key parts such as tooth grooves and tooth tops, which are usually high-incidence areas for gear failures.

[0005] Due to the limitations of the accuracy and comprehensiveness of traditional methods, there is an urgent need for a gear forging control method that can provide more detailed and accurate detection. The present invention proposes a gear forging control method based on vision guidance. This method uses visual detection technology to perform separate detection and analysis on each area of ​​the gear. Through this method, each part of the gear can be finely controlled, which enhances the overall quality of the gear and improves its performance and reliability in extreme environments. Summary of the invention

[0006] The present invention provides a gear forging control method based on vision guidance, the method comprising the following steps:

[0007] S1: Use a camera to capture a panoramic image of the gear;

[0008] S2: performing image analysis on the panoramic image to obtain a multi-region stitching image;

[0009] S3: inputting the multi-region stitching images into the regional quality detection model respectively to obtain multi-region quality results;

[0010] S4: Generate a gear quality report based on the multi-region quality results and control the forging equipment for reprocessing.

[0011] The present invention provides a gear forging control system based on vision guidance, the system comprising:

[0012] Photographing equipment: using a camera to take panoramic images of gears;

[0013] Image stitching module: the image stitching module performs image analysis on the panoramic image to obtain a multi-region stitching image;

[0014] Defect detection module: the defect detection module inputs the multi-region stitching images into the regional quality detection model to obtain multi-region quality results;

[0015] Recommendation module: Generate a gear quality report based on the multi-area quality results and control the forging equipment for reprocessing.

[0016] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned gear forging control method based on vision guidance when executing the computer program.

[0017] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned gear forging control method based on vision guidance.

[0018] Compared with the prior art, the present invention aims to solve the problem of insufficient gear detection during the forging process in the prior art. The present invention analyzes the physical performance requirements of different positions in the gear work, segments different areas in a targeted manner, and performs image enhancement and defect detection based on the segmented different areas, so as to make the quality control more refined. The panoramic image taken once is used for multi-area detection, which improves the detection efficiency and execution convenience. The side image is targeted for affine transformation to improve the detection accuracy. In addition, the present invention splices the tooth tops and tooth grooves with the same physical performance requirements to obtain a complete image, and uses global features to analyze the consistency of each local area, so that the physical properties of each area of ​​the gear are close, avoiding the problem of incomplete processing of local areas. By adopting the above-mentioned forging quality control method, the present invention finely monitors the quality performance of each area, and improves the detection accuracy by using adaptive detection means for different areas. At the same time, it simplifies the complex procedures of multiple shots and multiple detections, and improves the convenience of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments 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.

[0020] Figure 1 is a flow chart of a gear forging control method based on vision guidance in this application; DETAILED DESCRIPTION

[0021] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0022] The following describes the implementation methods of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The present application can also be implemented or applied through other different specific implementation methods, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, in the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work belong to the scope of protection of the present application.

[0023] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present application, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number and aspect described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.

[0024] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the examples can be practiced without these specific details.

[0025] The embodiment of this specification proposes a gear forging control method based on vision guidance, which includes the following steps:

[0026] S1: Use a camera to capture a panoramic image of the gear;

[0027] S2: performing image analysis on the panoramic image to obtain a multi-region stitching image;

[0028] S3: inputting the multi-region stitching images into the regional quality detection model respectively to obtain multi-region quality results;

[0029] S4: Generate a gear quality report based on the multi-region quality results and control the forging equipment for reprocessing.

[0030] Specifically, S1: using a camera to capture a panoramic image of the gear;

[0031] The image acquisition area in the present invention is an independent quality inspection workshop, which is equipped with a stable and height-adjustable workbench. The surface of the workbench is flat and has a shockproof function to prevent vibration from affecting the image quality during the shooting process. A rotating table is installed on the workbench, and the gear will be fixed on the rotating table. By accurately controlling the rotation of the rotating table, every angle of the gear can be captured by the camera.

[0032] The camera is fixed on a bracket opposite the workbench, and a tripod or other stabilizing device is used to ensure the stability of the camera during shooting. The lens of the camera should be aligned with the center line of the gear and kept horizontal or slightly tilted to optimize the shooting angle. The camera used in the present invention should have a digital SLR camera with high resolution and wide dynamic range. The camera needs to be equipped with a zoom lens so that the focal length can be adjusted according to the size of the gear to ensure that every part of the gear can be clearly displayed in the image. Preferably, the camera device can be selected such as Canon EOS 5D Mark IV, which provides a resolution of 30.4 million pixels.

[0033] In terms of shooting parameter settings, the camera was set to manual mode to ensure that the exposure and focus remained consistent throughout the shooting process. The aperture was set between f / 8 and f / 11 to obtain a large depth of field and ensure that the entire gear was in focus. The shutter speed could be adjusted according to the lighting conditions on site, and the ISO was kept at a low level to reduce noise.

[0034] Before shooting begins, first start the rotating stage to let the gear rotate at a uniform speed. The camera will be set to continuous shooting mode and automatically shoot at preset intervals (such as shooting once every 2 degrees of rotation). In order to ensure the continuity of the image, the coverage area of ​​each shooting should overlap to a certain extent. Preferably, the present invention sets the overlapping area of ​​the current shooting image frame to account for 20-30% of the previous frame.

[0035] When the gear rotates one circle, the shooting ends. At this point, all the captured image frames will be imported into the image processing software for stitching. In the process of stitching the panoramic image, use image processing software (such as Adobe Photoshop or professional panoramic stitching software PTGui) to import the continuously shot pictures. The software will automatically analyze the overlapping parts between each picture and stitch them accurately to generate a seamless gear panoramic image.

[0036] S2: performing image analysis on the panoramic image to obtain a multi-region stitching image;

[0037] The image analysis of the panoramic image includes extracting broken lines in the panoramic image and detecting broken line defects;

[0038] S2-1-1: preprocessing the panoramic image, wherein the preprocessing includes denoising, contrast enhancement and sharpening, and highlighting the broken line part in the panoramic image for easy identification;

[0039] The denoising includes reducing image noise using Gaussian filtering:

[0040] I GB =GaussianBlur(I pr (x, y), σ);

[0041] Among them, I pr (x, y) is the panoramic image, σ is the Gaussian filter parameter, which controls the blur degree, I GB is the preprocessed image after Gaussian filtering;

[0042] The contrast enhancement is used to improve the image foreground contrast, making the polyline more distinct from the background:

[0043] in, is the average brightness of the panoramic image, α is the enhancement factor, I enhanced is the contrast-enhanced image;

[0044] In one implementation, the preprocessing of the panoramic image is implemented using the following pseudo code.

[0045]

[0046] S2-1-2: extracting polylines from the preprocessed panoramic image;

[0047] Use the Canny algorithm to extract edges in panoramic images:

[0048] E(x,y) is the binary image after edge detection by the Canny algorithm. is the preprocessed panoramic image, t low , t high They are the low and high thresholds for edge detection, controlling the sensitivity of the edge;

[0049] Use dilation erosion to enhance the edges:

[0050] E`(x,y)=max (Δx,Δy)∈K E(x+Δx, y+Δy); where E`(x, y) represents the binary image after dilation and erosion; K is the structural element; (Δx, Δy) is the offset of the structural element;

[0051] Perform polyline fitting on the local area of ​​the edge image to obtain a polyline set;

[0052] For each edge point (x, y) and each angle θ in the E`(x, y) image, calculate ρ = xcosθ + ysinθ, and add 1 to the corresponding (θ, ρ) unit in the accumulator. Find the element values ​​in the accumulator that are higher than the preset threshold. The (θ, ρ) corresponding to these elements are the fitted polylines. The polyline set L is expressed as:

[0053] L = {l i |1≤i≤N_l}; where ρ is the vertical distance from the polyline to the origin of the image coordinate system, θ is the inclination angle of the line, and l irepresents the i-th extracted polyline, and N_l is the total number of extracted polylines;

[0054] S2-1-3: performing fold line defect detection in the fold line set, wherein the defects include fold line missing, fold line bending, and local fold line irregularity;

[0055] Broken line missing detection: For a broken line l i , define its point set as

[0056] in, Indicates the polyline l i The kth coordinate in N_l i Indicates the polyline l i The number of coordinate points included; if the distance between any two adjacent points exceeds the preset threshold, the polyline l i There is a break:

[0057] Wherein, Th_Cmpt is the preset missing threshold;

[0058] Broken line bending detection: For a broken line l i , construct the fitting line y=m i x+b i , and calculate the polyline l i The vertical distance from the point to the fitted line. If the vertical distance from the polyline point to the fitted line exceeds the preset threshold, the polyline is considered to be curved:

[0059] Where Th_Bend is the preset bending threshold, m i and b i They represent the slope and intercept of the fitted line respectively;

[0060] Broken line local irregularity detection, for a broken line l i , calculate its local curvature and identify the local irregularity defect of the broken line when the local curvature exceeds the preset threshold:

[0061] Among them, Th_Curved is the preset local irregularity threshold, and They are points The first derivative of and They are points The second derivative of .

[0062] S2-1-3: For each broken line l i, record the broken line defects, broken line bending and local irregular broken line defect types and the corresponding positions of the defects, integrate all broken lines, and output the broken line quality inspection report corresponding to the broken line set L.

[0063] In one embodiment, defect detection for fold lines is implemented by the following code:

[0064]

[0065]

[0066]

[0067] The multi-region stitched image includes a gear plane image stitched by a plurality of tooth top planes and tooth groove planes and a gear side image stitched by a plurality of side surfaces from tooth tops to tooth grooves;

[0068] The multi-region stitching image construction specifically includes:

[0069] S2-2-1: Remove the horizontal polylines from the polyline set L to obtain a subset L containing only vertical polylines sub = {l j |1≤j≤N ver(ic+,}, where l j Indicates that the jth vertical line is extracted in sequence, N ver(ic+l is the total number of vertical broken lines extracted;

[0070] S2-2-2: Divide the panoramic image into multiple regions according to the subset of vertical fold lines, each region consists of two adjacent vertical fold lines l j and l j+1 The definition is:

[0071]

[0072] in, and They represent the horizontal coordinates corresponding to the y positions on the jth and j+1th polylines, respectively. and as well as and Represents the minimum and maximum values ​​of the y coordinates on the jth and j+1th polylines, respectively. There are N vertical - 1 region;

[0073] S2-2-3: Classify the regions by the order of the broken lines according to the periodic characteristics of the image:

[0074] Addendum plane area: R top =R 4m-3 , where 4m-3≤Nvertical -1, and m is a positive integer;

[0075] Tooth plane area: R bottom =R 4m-1 , where 4m-1≤N vertcal -1, and m is a positive integer;

[0076] Side area from tooth tip to tooth groove: R middle =R 2m , where 2m≤N vertical -1, and m is a positive integer;

[0077] Extract classified images based on image classification results:

[0078] Image set of tooth addendum plane area:

[0079]

[0080] Alveolar plane region image set:

[0081]

[0082] Image set of the side area from tooth tip to tooth groove:

[0083]

[0084] S2-2-4: According to the spatial order in the original image, all the tooth top plane area image sets and tooth groove plane image sets are spliced ​​to construct a complete gear plane image The plane image I plane (x, y) contains the position information of each tooth top plane and tooth groove plane that constitutes its image.

[0085] S3: Before inputting the multi-region stitching images into the regional quality detection model, it is also necessary to perform image enhancement processing on the gear plane image and the side region image set from the tooth top to the tooth groove respectively:

[0086] For the gear plane image composed of the top of the gear or the tooth groove, the tooth top plane and the tooth groove plane are the direct contact areas of the gear meshing, which require high hardness and smooth surfaces to reduce friction and wear and avoid friction heat or vibration caused by excessive roughness. At the same time, the shooting angle is frontal shooting, and the viewing angle is perpendicular to the tooth top and tooth groove plane. Therefore, in the captured image, the image surface texture is relatively uniform, and the defects may be relatively small and easily masked by background noise. In addition, due to vertical shooting and the requirement for a relatively smooth shooting surface, there may be local overexposure or shadows due to light reflection. Based on the above shooting problems, the gear plane image is adaptively histogram equalized, edge enhanced, and denoised:

[0087]

[0088] Among them, W n is the normalization coefficient, S n Defines a neighborhood centered at (x,y), g s and g r are the spatial Gaussian function and the intensity Gaussian function, (i n , j n ) is the neighborhood S n The coordinates in the gear side surface are spliced ​​from the tooth top to the tooth groove. The tooth side surface plane is the key part of the gear to transmit torque. It bears shear force and contact stress to avoid local plastic deformation. The tooth side surface needs to maintain a certain uniform roughness to ensure the formation of lubricating oil film and avoid high temperature caused by long-term contact wear. For the tooth side surface plane, the shooting angle is an oblique angle. Therefore, in the captured image, the brightness adjustment and spatial affine transformation of different depths of field are performed to obtain the front view:

[0089]

[0090] Among them, H affine is the perspective transformation matrix, c γ is the gamma correction constant, I middle γ Indicates that gamma correction is performed on the side area image set to make the brightness distribution of the side area more uniform. represents the front view image set of the side area obtained after the spatial affine transformation;

[0091] The regional quality detection model includes a gear side region detection model, the gear side region detection model includes a backbone module, the backbone module includes an input layer and four intermediate processing layers Layer1-4, the input layer convolution kernel is 3*3, and the step size is 2;

[0092] Layer 1 contains two residual modules. Each residual module includes 3*3 convolution, BatchNorm and skip connection connected in sequence. Layer 1 is used to extract low-level features such as edges and textures while maintaining a high spatial resolution.

[0093] Layer 2 contains three depth-wise separable convolutions, using input features to perform jump connections with the output of the depth-wise convolution module.

[0094] Layer 3 stacks 4 residual modules, each of which contains: a 1×1 convolution for dimensionality reduction and improving nonlinear expression ability, a 3×3 convolution for extracting spatial features, and a 1×1 convolution for dimensionality increase and skip connection;

[0095] Layer 4 uses two dilated convolution modules, each of which contains a dilated convolution of dilation=2 and a 3×3 convolution. The dilated convolution is used to expand the receptive field and capture global features.

[0096] The features processed by the backbone module are input into the feature enhancement network, which includes enhancement modules En_Block1 and En_Block2. The features processed by the backbone module are sequentially processed by enhancement modules En_Block1 and En_Block2, and then input into the enhancement module En_Block1 for processing to obtain the output of the feature enhancement network, wherein the enhancement modules En_Block1 and En_Block2 are defined as:

[0097]

[0098] The output features of the feature enhancement network are respectively input into the region proposal network and the multi-scale mapping network. The region proposal network generates a ROI map which is mapped to the feature map generated by the multi-scale mapping network to obtain a multi-scale feature map with region proposals. The multi-scale feature map is input into the defect detection head to output the defect type and position coordinates. The gear side regional defects include uneven texture, cracks, and pitting.

[0099] The regional quality detection model also includes a gear plane global detection model, which is used to detect global defects of tooth tops and tooth grooves:

[0100] Calculate the global brightness gradient of the gear plane image and calculate the average brightness gradient G mean and the brightness gradient standard deviation G std , and the global color entropy is calculated at the same time;

[0101]

[0102] Entropy c =-∑ t H C (t)*logH C (t);

[0103] Among them, Entropy c is the global color entropy, H C (t) is the normalized frequency of color value t in color channel c, δ is the Kronecker function, Color(x, y, c) is the color value at (x, yc) after normalization, H and W are the image height and width;

[0104] Calculate the image set of the tooth top plane area and alveolar plane area image set The local average brightness gradient, local brightness gradient standard deviation and local color entropy of each local image in the image are used to determine whether each local image is abnormal based on the preset brightness threshold and color threshold:

[0105]

[0106] It is determined that the brightness of the local image is abnormal;

[0107] It is determined that the color of the local image is abnormal;

[0108] In one implementation, the above global defect judgment is implemented by executing the following code:

[0109]

[0110]

[0111]

[0112]

[0113] After the images of the gear tooth top plane and tooth groove plane are stitched together into a complete image, global features are extracted from the stitched image and defect detection is performed based on these features, thereby optimizing the efficiency, accuracy and process feedback capability of detection as a whole.

[0114] First, the plane images of the tooth tops and tooth grooves of all gears are spliced ​​into a complete image so that the overall surface characteristics of the gears can be presented uniformly. This splicing method can effectively integrate the key parts of the gear into a global perspective, making it easier to analyze the overall features uniformly. By displaying all the details of the tooth tops and tooth grooves in a complete image, the detection system can more intuitively capture the global distribution of light curvature and color. Light curvature reflects the regularity and continuity of the surface brightness changes with position, while color features reflect the uniformity and consistency of surface color distribution. For the processing of gears, the overall consistency of light curvature and color is an important indicator for evaluating the consistency of the processing process. If the light curvature or color features of a certain area are significantly different from those of other areas, it reflects an abnormality in the processing process. Feature extraction through this global perspective can more comprehensively discover possible defects, which is more efficient and robust than local detection of each tooth surface separately.

[0115] Secondly, global feature extraction after stitching images can significantly improve the stability and reliability of detection. In traditional detection methods, point-by-point detection is usually performed on local areas. The disadvantage of this method is that it is easy to ignore global information, which is crucial for identifying process-related problems. Through the complete image obtained by stitching, the distribution characteristics of global light curvature, such as the mean and standard deviation of the brightness gradient, can be extracted to measure the overall surface smoothness and processing consistency; at the same time, color features such as color histogram and color entropy can be used to evaluate whether the surface color distribution is uniform. Any anomaly in the processing process (such as uneven temperature, inconsistent pressure distribution, or incorrect material processing) will leave traces in the global distribution of light curvature and color. By comparing the deviation of the characteristics of each local area from the global characteristics, the abnormal area can be quickly located and the nature of these anomalies can be further analyzed.

[0116] Furthermore, this method based on global feature detection is also more advantageous for defect classification and positioning. By stitching images, the defect area can be directly mapped to the original gear surface position, thereby achieving precise spatial positioning. This positioning capability is very important for subsequent quality control and maintenance. For example, if the light curvature of a certain tooth groove is found to be abnormal, the specific position of the tooth groove can be directly located for targeted evaluation and treatment. At the same time, the extraction of global features can provide an important basis for the classification of defects. For example, light curvature abnormalities are usually related to material processing or surface flatness during processing, while color abnormalities may be more related to coating, heat treatment or surface contamination. By combining light curvature and color features, defects can be classified and analyzed more carefully, providing more targeted guidance for subsequent process improvements.

[0117] S4: generating a gear quality report according to the multi-region quality results, and controlling the forging equipment to perform reprocessing;

[0118] The multi-region quality results include broken line defect detection results: broken line missing, broken line bending, local broken line irregularity; also include gear side inspection results of uneven texture, cracks, pitting and gear plane global inspection results of abnormal brightness and color. The multi-region quality results are annotated to the gear panoramic image and forging processing suggestions are given based on the inspection results.

[0119] The processing suggestions specifically include:

[0120] The goal of broken line detection is to find geometric anomalies at the junction of adjacent contact surfaces of gears. These broken lines directly affect the meshing performance and transmission efficiency of gears.

[0121] Missing fold line: Use supplementary processing method to repair the missing fold line through local forging to ensure the continuity of the junction of the contact surface. After processing, precision polishing is performed to eliminate possible surface roughness and prevent stress concentration on the meshing surface.

[0122] Fold line bending: Use cold correction method to adjust the bending area to ensure that the straightness of the fold line meets the design requirements. After the local correction is completed, heat treatment is required to restore the internal stress balance of the material.

[0123] Local irregularity of fold line: Use precision grinding and micro-forging technology to repair the fluctuation or irregularity of the fold line in the local area, and then perform surface hardening treatment to improve the wear resistance and strength of the repaired area;

[0124] The area from the tooth top to the tooth groove side is the main area for gears to transmit loads. Its surface quality directly determines the wear resistance and load-bearing capacity of the gears.

[0125] Uneven texture: Use local polishing and micro-forging technology to eliminate uneven texture and ensure uniform texture of the tooth surface. After the repair is completed, the tooth surface is shot peened or heat treated to improve fatigue resistance.

[0126] Cracks: Perform deep removal processing on the crack area. Preferably, perform local reforging to fill the cracks. After the cracks are removed, perform high-temperature tempering to restore the material properties of the gear. After processing, perform magnetic particle inspection or penetrant inspection to ensure that the cracks are completely eliminated.

[0127] Pitting: The pitting area needs to remove the damaged surface layer and supplement the material through micro-forging technology; after repair, the repaired area is nitrided to enhance hardness and corrosion resistance;

[0128] Abnormal brightness: Use precision polishing technology to restore the surface smoothness and reduce the friction coefficient; after polishing, spray or apply protective coating to the surface to improve wear resistance;

[0129] Color abnormality: Perform local annealing on the color abnormality area to eliminate the existing problem of over-hardening during heat treatment, and re-perform heat treatment (such as surface quenching or carburizing quenching) to ensure that the hardness and depth of heat treatment meet the design requirements. After the treatment is completed, hardness testing can be performed to verify the heat treatment results.

[0130] Regarding the reprocessing priority, cracks are the most serious defects that may cause gear breakage and need to be removed and repaired first. The broken line problem directly affects the gear meshing performance and should be treated as the second priority. Repair pitting and uneven texture. These defects affect the surface performance of the gear and need to be processed after the key defects are repaired; repair brightness and color abnormalities, and for surface quality issues, finally perform polishing and heat treatment repairs uniformly.

[0131] The present invention provides a gear forging control system based on vision guidance, the system comprising:

[0132] Photographing equipment: using a camera to take panoramic images of gears;

[0133] Image stitching module: the image stitching module performs image analysis on the panoramic image to obtain a multi-region stitching image;

[0134] Defect detection module: the defect detection module inputs the multi-region stitching images into the regional quality detection model to obtain multi-region quality results;

[0135] Recommendation module: Generate a gear quality report based on the multi-area quality results and control the forging equipment for reprocessing.

[0136] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned gear forging control method based on vision guidance when executing the computer program.

[0137] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned gear forging control method based on vision guidance.

[0138] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0139] In this specification, the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments described later, the description is relatively simple, and the relevant parts can be referred to the partial description of the previous embodiments.

[0140] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A gear forging control method based on vision guidance, the method comprising the following steps: S1: Use a camera to capture a panoramic image of the gear; S2: performing image analysis on the panoramic image to obtain a multi-region stitching image; S3: inputting the multi-region stitching images into the regional quality detection model respectively to obtain multi-region quality results; S4: generating a gear quality report according to the multi-region quality results, and controlling the forging equipment to perform reprocessing; The multi-region stitching image construction specifically includes: S2-2-1: removing horizontal polylines from a polyline set L to obtain a subset containing only vertical polylines, wherein the polyline set L is obtained by extracting polylines from the preprocessed panoramic image; S2-2-2: Divide the panoramic image into multiple regions according to the subset of vertical fold lines, each region consists of two adjacent vertical fold lines l j and l j+1 The definition is: , in, and They represent the horizontal coordinates corresponding to the y positions on the jth and j+1th polylines, respectively. and as well as and Represents the minimum and maximum values ​​of the y coordinates on the jth and j+1th polylines, respectively. j Total N vertical -1 area, N vertica( is the total number of vertical broken lines extracted; S2-2-3: Classify the regions by the order of the broken lines according to the periodic characteristics of the image: Addendum plane area: R top =R 4m-3 , 4m-3≤N vertical -1, Tooth plane area: R bottom =R 4m-1 , 4m-1≤N vertical -1, Side area from tooth tip to tooth groove: R middle =R 2m , 2m≤N vertical -1, m is a positive integer; Extract classified images based on image classification results: Image set of tooth top plane area: Alveolar plane region image set: Image set of the side area from tooth tip to tooth groove: S2-2-4: According to the spatial order in the original image, all the tooth top plane area image sets and tooth groove plane image sets are spliced ​​to construct a complete gear plane image The plane image I plane (x, y) contains the position information of each tooth top plane and tooth groove plane that constitutes its image.

2. The gear forging control method based on vision guidance according to claim 1 is characterized in that: The image analysis of the panoramic image includes extracting broken lines in the panoramic image and detecting broken line defects; S2-1-1: Panoramic Image I pr (x, y) is preprocessed, the preprocessing comprising denoising, contrast enhancement and sharpening; S2-1-2: Extract polylines from the preprocessed panoramic image to obtain a polyline set. The polyline set L is expressed as: L = {l i |1≤i≤N_l};l i represents the i-th extracted broken line, N_l is the total number of broken lines extracted; S2-1-3: performing broken line defect detection in the broken line set, the defects include broken line missing, broken line bending, and local irregularity of broken lines; Broken line missing detection: For a broken line l i , define its point set as in, Indicates the polyline l i The kth coordinate in N_l i Indicates the polyline l i The number of coordinate points included; if the distance between any two adjacent points exceeds the preset threshold, the polyline l i There is a break: in, Th_Cmpt is the preset missing threshold; Broken line bending detection: For a broken line l i , construct the fitting line y=m i x+b i , and calculate the polyline l i The vertical distance from the point to the fitted line. If the vertical distance from the polyline point to the fitted line exceeds the preset threshold, the polyline is considered to be curved: ; Among them, Th_Bend is the preset bending threshold, m i and b i They represent the slope and intercept of the fitted line respectively; Broken line local irregularity detection, for a broken line l i , calculate its local curvature and identify the local irregularity defect of the broken line when the local curvature exceeds the preset threshold: Among them, Th_curved is the preset local irregularity threshold, and They are points The first derivative of and They are points The second derivative of s2-1-4: For each broken line l i , record the broken line defects, broken line bending and local irregular broken line defect types and the corresponding positions of the defects, integrate all broken lines, and output the broken line quality inspection report corresponding to the broken line set L.

3. The gear forging control method based on vision guidance according to claim 2 is characterized in that: Before inputting the multi-region stitching images into the regional quality detection model, the gear plane image and the side region image set from the tooth top to the tooth groove need to be enhanced respectively: adaptive histogram equalization, edge enhancement and denoising of the gear plane image: Among them, W n is the normalization coefficient, S n Defines a neighborhood centered at (x,y), g s and g r are the spatial Gaussian function and the intensity Gaussian function, (i n , j n ) is the neighborhood S n The coordinates inside.

4. The gear forging control method based on vision guidance according to claim 3 is characterized in that: Perform brightness adjustment and spatial affine transformation on the image set of the side area from the tooth top to the tooth groove: Among them, H affine is the perspective transformation matrix, c γ is the gamma correction constant, I middle γ Indicates that gamma correction is performed on the side area image set to make the brightness distribution of the side area more uniform. Represents the set of frontal images of the side area obtained after spatial affine transformation.

5. The gear forging control method based on vision guidance according to claim 1, characterized in that: The regional quality detection model includes a gear side region detection model, the gear side region detection model includes a backbone module, the backbone module includes an input layer and four intermediate processing layers Layer1-4, the features processed by the backbone module are input into the feature enhancement network, the feature enhancement network includes enhancement modules En_Block1 and En_Block2, the features processed by the backbone module are sequentially processed by the enhancement modules En_Block1 and En_Block2, and then input into the enhancement module En_Block1 for processing to obtain the output of the feature enhancement network, wherein the enhancement modules En_Block1 and En_Block2 are respectively defined as: Among them, f in (x, y) is the module input feature map, and represents element-by-element addition and multiplication, and η represents the weight parameter; The output features of the feature enhancement network are respectively input into the region proposal network and the multi-scale mapping network. The region proposal network generates a ROI map which is mapped to the feature map generated by the multi-scale mapping network to obtain a multi-scale feature map with region proposals. The multi-scale feature map is input into the defect detection head to output the defect type and position coordinates. The gear side regional defects include uneven texture, cracks, and pitting.

6. The gear forging control method based on vision guidance according to claim 4 is characterized in that: The regional quality detection model also includes a gear plane global detection model, which is used to detect global defects of tooth tops and tooth grooves: Calculate the global brightness gradient of the gear plane image and calculate the average brightness gradient G mean and the brightness gradient standard deviation G std , and the global color entropy is calculated at the same time; Entropy c =-∑ t H C (t)*logH C (t): Entropy c is the global color entropy, H C (t) is the normalized frequency of color value t in color channel c, δ is the Kronecker function, Color(x, y, C) is the color value at (x, y, c) after normalization, H and W are the image height and width; Calculate the image set of the tooth top plane area and alveolar plane area image set The local average brightness gradient, local brightness gradient standard deviation and local color entropy of each local image in; Determine whether each local image is abnormal based on the preset brightness threshold and color threshold: , It is determined that the brightness of the local image is abnormal; It is determined that the color of the local image is abnormal.

7. A vision-guided gear forging control system, used to execute the vision-guided gear forging control method according to any one of claims 1 to 6, characterized in that The system includes: Photographing equipment: using a camera to take panoramic images of gears; Image stitching module: the image stitching module performs image analysis on the panoramic image to obtain a multi-region stitching image; Defect detection module: the defect detection module inputs the multi-region stitching images into the regional quality detection model to obtain multi-region quality results; Recommendation module: Generate a gear quality report based on the multi-area quality results and control the forging equipment for reprocessing.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vision-guided gear forging control method as described in any one of claims 1 to 6 when executing the computer program.

9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the vision-guided gear forging control method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • BGA welding spot defect automatic identification method and equipment based on cloud platform, and storage medium

    CN118781091A