Correction method and related equipment for tooth profile deviation of plastic cylindrical gear
By taking gear tooth profile images, calculating tooth profile characteristics and shape errors, and using electric spark discharge technology to compensate errors, the problems of inefficiency and high cost of traditional methods are solved, and efficient gear tooth profile deviation correction is achieved.
Patent Information
- Application Number
- CN202411227889.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-09-03
AI Technical Summary
Traditional plastic cylindrical gear tooth profile deviation detection methods rely on manual operation and empirical judgment, resulting in low efficiency and high cost, making it difficult to ensure the consistency and accuracy of the detection results.
The gear tooth profile image is taken and the tooth profile features are extracted through edge detection algorithms, the tooth profile inclination and shape errors are calculated, and the error compensation is performed through electric spark discharge technology based on the nonlinear shrinkage law until the tooth profile deviation is within the preset target value.
It realizes rapid and effective identification and correction of tooth profile deviations, significantly improves production efficiency and product qualification rate, reduces correction costs, and is more efficient and economical than traditional methods.
Smart Images

Figure CN118761032B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of tooth profile of plastic cylindrical gears, and in particular to a method for correcting tooth profile deviation of plastic cylindrical gears and related equipment. Background Art
[0002] Plastic cylindrical gears are widely used in many industries due to their light weight, low cost, good wear resistance and other characteristics. However, due to the characteristics of plastic materials themselves and the limitations of the processing process, plastic cylindrical gears often have tooth profile deviations during the manufacturing process. These deviations are mainly reflected in the tooth angle, tooth thickness, tooth pitch, etc. The existence of tooth profile deviation will seriously affect the meshing performance of the gear, leading to problems such as unstable transmission and increased noise, which in turn affects the stability and life of the entire transmission system.
[0003] Traditional tooth profile deviation detection methods usually rely on manual operation and empirical judgment, which is not only time-consuming and labor-intensive, but also difficult to ensure the consistency and accuracy of the detection results. Correction of tooth profile deviation usually requires replacing parts or re-adjusting processing parameters, which is not only inefficient but also costly. Summary of the invention
[0004] The main purpose of the present invention is to provide a method for correcting the tooth profile deviation of a plastic cylindrical gear and related equipment, which solves the technical problem that the traditional tooth profile deviation detection method usually relies on manual operation and experience judgment, resulting in low efficiency and high cost.
[0005] To achieve the above object, the present invention provides a method for correcting tooth profile deviation of a plastic cylindrical gear, comprising the following steps:
[0006] The tooth profile of the plastic cylindrical gear is photographed to obtain a photographed image, and the tooth profile is extracted from the photographed image using a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include a top circle, a root circle, a tooth thickness, a tooth pitch, a tooth profile angle, and a tooth profile shape;
[0007] Calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result;
[0008] Extracting a tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result;
[0009] Obtaining a total tooth profile deviation based on the first error analysis result and the second error analysis result;
[0010] If any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within the range of the preset target expected value, a contraction law of nonlinear contraction is obtained based on the first error analysis result, the second error analysis result and the total tooth profile deviation;
[0011] Based on the contraction law, error compensation is performed on the tooth profile deviation of the plastic cylindrical gear by using a preset electric spark discharge technology until the total tooth profile deviation obtained by the first error analysis result and the second error analysis result is within a preset target expected value.
[0012] Furthermore, tooth profile extraction is performed on the captured image using a preset edge detection algorithm to obtain tooth profile features, including:
[0013] Converting the captured image into a grayscale image, and filtering the grayscale image using a Gaussian filter to obtain a filtered image;
[0014] Performing binarization processing on the filtered image to obtain a binarized image;
[0015] The preset edge contour tracking algorithm is used to track the tooth profile of the binary image to obtain the tooth profile features.
[0016] Further, the inclination of the tooth profile feature is calculated to obtain an inclination value, and the inclination value is compared and analyzed with a preset inclination target expected value to obtain a first error analysis result, including:
[0017] Recalling preset inclination target expected values and labels corresponding to the inclination target expected values from a database, and constructing a label-target expected value curve based on the inclination target expected values and labels corresponding to the inclination target expected values;
[0018] Measuring each of the tooth profile features to obtain corresponding tooth profile feature coordinates;
[0019] Calculating the inclination value corresponding to the tooth profile feature based on each of the tooth profile feature coordinates;
[0020] Draw a label-inclination value curve with the label corresponding to the inclination value and the inclination value; wherein the label includes a component number and an installation position;
[0021] Using the label-target expected value curve, the labels in the label-inclination value curve are sorted to obtain a sorted label-inclination value curve; wherein the sorted label-inclination value curve is consistent with the labels in the label-target expected value curve;
[0022] Performing curve fitting on the sorted label-slope value curve to obtain a fitting curve;
[0023] The fitting curve is overlapped and compared with the label-target expected value curve to obtain a first error analysis result corresponding to the label.
[0024] Further, the tooth profile shape of the tooth profile feature is extracted, and the tooth profile shape is compared and analyzed with a preset target expected shape of the tooth profile shape to obtain a second error analysis result, including:
[0025] Recalling a preset target desired shape of a tooth profile from a database, and performing vector transformation on the target desired shape of the tooth profile to obtain a target transformation vector;
[0026] constructing a target shape matrix based on the target transformation vector;
[0027] Performing shape extraction on the tooth profile feature to obtain a tooth profile shape, and performing vector transformation on the tooth profile shape to obtain a shape transformation vector;
[0028] constructing a shape transformation matrix based on the shape transformation vector;
[0029] Performing element mapping between the target shape matrix and the shape transformation matrix to obtain a residual matrix;
[0030] The residual matrix is analyzed to determine whether the value of each element of the residual matrix is within a set error range, thereby obtaining a second error analysis result.
[0031] Furthermore, the total tooth profile deviation is obtained based on the first error analysis result and the second error analysis result, including:
[0032] Obtaining an inclination error value of each tooth profile feature based on the first error analysis result;
[0033] The inclination error values of each tooth profile feature are averaged to obtain an average correction value of the inclination;
[0034] Obtaining a tooth profile shape error value of each tooth profile feature based on the second error analysis result;
[0035] The tooth profile shape error values of each tooth profile feature are averaged to obtain an average correction value of the tooth profile shape;
[0036] A total tooth profile deviation is obtained based on the average inclination correction value and the average tooth profile shape correction value.
[0037] Furthermore, based on the first error analysis result, the second error analysis result and the total tooth profile deviation, a contraction law of nonlinear contraction is obtained, including:
[0038] Performing a tilt type analysis on the tilt based on the first error analysis result to obtain a tilt type;
[0039] Performing a tilt factor analysis based on the tilt type to obtain a tilt type factor;
[0040] Performing shape deviation type analysis on the tooth profile shape based on the second error analysis result to obtain a shape deviation type;
[0041] Performing shape deviation factor analysis based on the shape deviation type to obtain a shape deviation factor;
[0042] Performing a multi-dimensional analysis on the tooth profile based on the total tooth profile deviation to obtain a multi-dimensional analysis result;
[0043] Perform multidimensional factor analysis based on the multidimensional analysis results to obtain multidimensional factors;
[0044] Digitally encoding the tilt type factor, the shape deviation factor, and the multi-dimensional factor to obtain a first coded number, a second coded number, and a third coded number;
[0045] The first coding number, the second coding number and the third coding number are used to construct a matrix to obtain a coding matrix;
[0046] Calculate the eigenvalue of the encoding matrix and generate an eigenvector corresponding to the eigenvalue; wherein the eigenvalue has at least one eigenvalue and one eigenvalue has at least one eigenvector;
[0047] A characteristic matrix is constructed based on the characteristic vector, and the characteristic matrix is input into a preset prediction algorithm for analysis to obtain the contraction law of nonlinear contraction.
[0048] Further, based on the contraction law, the tooth profile deviation of the plastic cylindrical gear is compensated by a preset electric spark discharge technology until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within a preset target expected value, including:
[0049] Adjusting parameters of the preset electric spark discharge technology based on the contraction law to obtain adjustment parameters;
[0050] Performing deviation compensation on the tooth profile of the plastic cylindrical gear based on the adjustment parameter to obtain a compensated tooth profile of the plastic cylindrical gear;
[0051] The tooth profile of the plastic cylindrical gear is verified using the preset target expected value to obtain the verification result;
[0052] If the verification result is not within the target expected value, the parameters of the preset electric spark discharge technology are adjusted until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within the preset target expected value.
[0053] The present invention also provides a device for correcting tooth profile deviation of a plastic cylindrical gear, comprising:
[0054] A shooting module, used for shooting the tooth profile of the plastic cylindrical gear to obtain a shooting image, and extracting the tooth profile from the shooting image by a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include the top circle, root circle, tooth thickness, tooth pitch, tooth profile angle and tooth profile shape of the tooth profile;
[0055] A calculation module, used for calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result;
[0056] An analysis module is used to extract the tooth profile shape of the tooth profile feature, and compare and analyze the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result;
[0057] A deviation module, configured to obtain a total tooth profile deviation based on the first error analysis result and the second error analysis result;
[0058] A contraction module, configured to obtain a contraction law of nonlinear contraction based on the first error analysis result, the second error analysis result and the total tooth profile deviation if any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within a preset target expected value range;
[0059] A compensation module is used to perform error compensation on the tooth profile deviation of the plastic cylindrical gear based on the contraction law through preset electric spark discharge until the first error analysis result and the second error analysis result obtain a total tooth profile deviation within a preset target expected value.
[0060] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
[0061] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods are implemented.
[0062] The present invention provides a method for correcting tooth profile deviation of a plastic cylindrical gear, comprising the following steps: photographing the tooth profile of the plastic cylindrical gear to obtain a photographed image, and extracting the tooth profile of the photographed image through a preset edge detection algorithm to obtain a tooth profile feature; calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset target expected value of the inclination to obtain a first error analysis result; extracting the tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result; obtaining a total tooth profile deviation based on the first error analysis result and the second error analysis result; if any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within the preset range, If the tooth profile deviation is within the range of the target expected value, the shrinkage law of nonlinear shrinkage is obtained based on the first error analysis result, the second error analysis result and the total tooth profile deviation; based on the shrinkage law, the tooth profile deviation of the plastic cylindrical gear is error compensated by a preset electric spark discharge technology until the total tooth profile deviation obtained by the first error analysis result and the second error analysis result is within the preset target expected value; through the above technical scheme, the technical problem that the traditional tooth profile deviation detection method usually relies on manual operation and experience judgment, resulting in low efficiency and high cost is solved, and the tooth profile deviation can be quickly and effectively identified and corrected, which significantly improves production efficiency and product qualification rate. Compared with the traditional method of replacing parts or readjusting processing parameters, the correction cost is greatly reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 1 is a schematic diagram of the steps of a method for correcting tooth profile deviation of a plastic cylindrical gear in one embodiment of the present invention;
[0064] Figure 2 It is a structural block diagram of a device for correcting tooth profile deviation of a plastic cylindrical gear in one embodiment of the present invention;
[0065] Figure 3 It is a schematic block diagram of the structure of a computer device according to an embodiment of the present invention.
[0066] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0067] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0068] like Figure 1 As shown, Figure 11 is a schematic diagram of steps of a method for correcting tooth profile deviation of a plastic cylindrical gear in one embodiment of the present invention;
[0069] In one embodiment of the present invention, a method for correcting tooth profile deviation of a plastic cylindrical gear is provided, comprising the following steps:
[0070] Step S1, photographing the tooth profile of the plastic cylindrical gear to obtain a photographed image, and extracting the tooth profile from the photographed image using a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include the top circle, root circle, tooth thickness, tooth pitch, tooth profile angle and tooth profile shape of the tooth profile.
[0071] Specifically, take a tooth profile image: First, take a photo of the tooth profile of the plastic cylindrical gear to obtain an image of the tooth profile. The purpose of this step is to obtain the actual visual information of the tooth profile and provide data support for subsequent feature extraction and analysis. Edge detection algorithm: Use a preset edge detection algorithm to process the captured tooth profile image. The edge detection algorithm is used to identify the edges in the image and find the contour line of the tooth profile by detecting the changes in the grayscale values of pixels in the image. The result of edge detection is a binary image containing the tooth profile features, highlighting the boundaries of the tooth profile.
[0072] Tooth profile extraction: The tooth profile feature is extracted from the image processed by the edge detection algorithm. The tooth profile features refer to the key parts and parameters of the tooth profile, including the top circle, root circle, tooth thickness, pitch, tooth angle and tooth profile shape. The specific explanations are as follows: Top circle: the outermost circle on the tooth profile. Root circle: the innermost circle on the tooth profile. Tooth thickness: the width of the tooth, usually measured between the top circle and the root circle. Pitch: the distance between adjacent teeth. Tooth angle: the angle between the side of the tooth and the reference line. Tooth profile shape: the overall shape of the tooth, including the shape formed by its top circle, root circle, tooth thickness and pitch. Through this series of steps, we can accurately extract the key tooth profile features of plastic cylindrical gears from the captured tooth profile image. These features will be used for subsequent error analysis and correction work to ensure that the manufacturing of the gear meets the expected design requirements.
[0073] Step S2, calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result.
[0074] Specifically, inclination calculation: First, the inclination of the extracted tooth profile features is calculated. The tooth profile features include the top circle, root circle, tooth thickness, pitch, tooth angle and tooth profile shape of the tooth profile. Here, the inclination refers to the degree of deviation of the tooth profile relative to the ideal straight line or reference line. The inclination value of the tooth profile is calculated by mathematical calculation methods, such as the fitting straight line method or the angle measurement method. The inclination value can quantitatively describe the inclination of the tooth profile. Comparative analysis of the target expected value of the inclination: The calculated inclination value is compared and analyzed with the preset target expected value of the inclination. The preset target expected value of the inclination is the inclination of the tooth profile under the ideal state defined during design. This value is usually set in the manufacturing process design. By comparing the actual inclination value with the target expected value, it can be determined whether the inclination of the tooth profile is within the allowable deviation range. The first error analysis result: According to the results of the comparative analysis, the first error analysis result is obtained. If there is a difference between the actual inclination value and the target expected value, this difference is the inclination error. Record and analyze the inclination error, and determine the size and direction of the error for subsequent correction work. Through this step, it is possible to effectively evaluate whether the inclination of the tooth profile meets the design requirements and provide a basis for the subsequent correction of the tooth profile deviation. If the inclination error exceeds the allowable range, further adjustment and compensation are required to ensure the performance and accuracy of the gear.
[0075] Step S3, extracting the tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile to obtain a second error analysis result.
[0076] Specifically, tooth profile shape extraction: First, the shape of the tooth profile is extracted from the tooth profile features. The tooth profile shape is part of the tooth profile features, including the top circle, root circle, tooth thickness, pitch, tooth angle and overall shape. The captured image is processed using a preset algorithm or software tool to accurately extract the tooth profile shape. The tooth profile shape is extracted to compare the contour of the actual tooth profile with the preset ideal shape. Tooth profile shape target expected shape comparison analysis: The extracted tooth profile shape is compared and analyzed with the preset tooth profile shape target expected shape. The preset tooth profile shape target expected shape is the ideal tooth profile shape defined in the design, which represents the geometric shape of the gear in a perfect state. The comparative analysis can be evaluated in both quantitative and qualitative ways using a geometric matching algorithm or a shape similarity measurement method. For example, the quantitative value of the difference between the shapes, such as shape error, shape offset, etc., can be calculated. Second error analysis result: According to the result of the comparative analysis, the second error analysis result is obtained. If there is a difference between the actual tooth profile shape and the target expected shape, this difference is the tooth profile shape error. Record and analyze the tooth profile shape error, determine the specific manifestation and distribution of the error, and facilitate subsequent correction work. Through this step, it is possible to effectively evaluate whether the shape of the tooth profile meets the design requirements and provide a basis for subsequent correction of tooth profile deviations. If the tooth profile shape error exceeds the allowable range, further adjustment and compensation are required to ensure the performance and accuracy of the gear.
[0077] Step S4, obtaining a total tooth profile deviation based on the first error analysis result and the second error analysis result.
[0078] Specifically, first, the first error analysis result and the second error analysis result are integrated. The first error analysis result comes from the analysis of the characteristic inclination of the tooth profile, and the second error analysis result is the analysis of the shape of the tooth profile. These two error analysis results reflect the deviation of the tooth profile in inclination and shape, respectively, and are the basic data for evaluating the total deviation of the tooth profile. Calculate the total deviation of the tooth profile: Based on the first error analysis result and the second error analysis result, calculate the total deviation of the tooth profile. The total deviation of the tooth profile is the overall deviation after comprehensively considering the inclination error and the shape error. During the calculation process, the weighted average method or other appropriate comprehensive methods can be used to reasonably combine the inclination error and the shape error to obtain a value representing the overall deviation of the tooth profile. The calculation formula of the total deviation varies according to the specific application and design requirements, but its purpose is to provide a quantitative indicator that comprehensively reflects the deviation of the tooth profile. Result recording and analysis: Record the value of the total deviation of the tooth profile and analyze it. By analyzing the total deviation, the overall deviation of the tooth profile can be understood and whether it is within the acceptable range. If the total deviation of the tooth profile exceeds the preset target expected value range, further error compensation and correction are required. Through this step, the overall deviation of the tooth profile of the plastic cylindrical gear can be fully evaluated, providing reliable data support and decision-making basis for subsequent correction work. Ensuring that the total deviation of the tooth profile is within the design allowable range can improve the quality and performance of the gear and meet actual application requirements.
[0079] Step S5, if any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within the range of the preset target expected value, a shrinkage law of nonlinear shrinkage is obtained based on the first error analysis result, the second error analysis result and the total tooth profile deviation.
[0080] Specifically, error analysis result evaluation: First, evaluate the first error analysis result, the second error analysis result and the total deviation of the tooth profile. If any result is not within the preset target expected value range, it indicates that the tooth profile has a deviation beyond the design allowable range. Determine the nonlinear shrinkage law: Based on the evaluation results, conduct in-depth analysis on the first error analysis result, the second error analysis result and the total deviation of the tooth profile to determine the shrinkage law of nonlinear shrinkage. The nonlinear shrinkage law describes the deformation characteristics of the tooth profile at different positions and conditions, which is usually caused by factors such as material properties and manufacturing process. By analyzing the error data, the deviation pattern and law of the tooth profile can be found. For example, the tooth profile at some positions may be more prone to deformation than other positions, or a certain type of error is more obvious under certain conditions. Establish a mathematical model: Based on the error analysis results, establish a mathematical model to describe the nonlinear shrinkage law. This model can use methods such as polynomial fitting and finite element analysis to describe the deformation behavior of the tooth profile under conditions such as force or heat. The mathematical model needs to consider various influencing factors, such as the thermal expansion coefficient of the material, the shrinkage characteristics in the manufacturing process, etc., in order to accurately describe and predict the deformation of the tooth profile. Application of the shrinkage law: Apply the determined nonlinear shrinkage law to the correction process of the tooth profile. By compensating for deviations in the design and manufacturing process, the gap between the actual tooth profile and the target expected value can be reduced. Specific operations include adjusting manufacturing process parameters, designing compensation shapes, etc. to ensure that the final tooth profile meets the design requirements. Through this step, the nonlinear shrinkage law of the plastic cylindrical gear tooth profile can be accurately determined, providing a scientific basis for subsequent error compensation and correction. Ensure that the tooth profile maintains high precision during manufacturing and use, and improve the performance and service life of the gear.
[0081] Step S6, based on the contraction law, error compensation is performed on the tooth profile deviation of the plastic cylindrical gear by a preset electric spark discharge technology until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within a preset target expected value.
[0082] Specifically, the contraction law is applied: First, an error compensation scheme is formulated based on the nonlinear contraction law determined in the previous step. The contraction law describes the deformation characteristics of the tooth profile under different conditions, and this information will be used to guide the error compensation process. Electrospark discharge technology: The preset electrospark discharge technology is used to compensate the tooth profile deviation of the plastic cylindrical gear. Electrospark discharge technology is a high-precision machining method that can achieve fine-tuning and correction of the tooth profile by generating a local arc to remove material. During the compensation process, the shape and position of the tooth profile are accurately adjusted according to the nonlinear contraction law and the actual deviation, and the deviation of the tooth profile is gradually corrected. Monitor the error analysis results: While performing error compensation, continuously monitor the first error analysis results, the second error analysis results, and the total deviation of the tooth profile. Evaluate the compensation effect by comparing the real-time detection data with the target expected value. If the error analysis results show that the deviation after compensation is still not within the preset target expected value range, continue to adjust and compensate until the expected standard is reached. Achieve the expected goal: When the first error analysis results, the second error analysis results, and the total deviation of the tooth profile are all within the preset target expected value, the error compensation process ends. At this point, the tooth profile has been corrected to meet the design requirements. Through this step, the tooth profile of the plastic cylindrical gear is ensured to meet the high precision requirements and reduce the impact of manufacturing deviations on gear performance. The electric spark discharge technology provides the ability to fine-tune, combined with the application of nonlinear shrinkage laws, so that the final tooth profile shape meets the design standards, ensuring product quality and service life.
[0083] In a specific embodiment, tooth profile extraction is performed on the captured image using a preset edge detection algorithm to obtain tooth profile features, including:
[0084] Converting the captured image into a grayscale image, and filtering the grayscale image using a Gaussian filter to obtain a filtered image;
[0085] Performing binarization processing on the filtered image to obtain a binarized image;
[0086] The preset edge contour tracking algorithm is used to track the tooth profile of the binary image to obtain the tooth profile features.
[0087] Specifically, the captured image processing: First, the captured image is processed using a preset edge detection algorithm. The edge detection algorithm is used to identify edge information in the image and help extract tooth profile features. Grayscale image conversion: The captured image is converted into a grayscale image. A grayscale image is a color image in which each pixel value is converted into a separate brightness value, which is convenient for subsequent image processing operations. Gaussian filter filtering: The grayscale image is filtered using a Gaussian filter. The Gaussian filter is a smoothing filter that reduces noise and details by smoothing the image, making edge detection more accurate. After filtering with a Gaussian filter, a filtered image is obtained, in which the noise and details of the image are smoothed and the main edge information is retained. Binarization processing: Binarization processing is performed on the filtered image. Binarization is to convert a grayscale image into a black and white image, and divide pixels into foreground and background according to a preset threshold. The binarized image has only black and white pixel values, black represents the background, and white represents the foreground, which is helpful for subsequent edge tracking. Edge contour tracking algorithm: The preset edge contour tracking algorithm is used to track the tooth profile of the binarized image. The edge contour tracking algorithm can identify and track the edges in the image and extract the complete tooth profile. During the tracking process, the algorithm traverses the white pixels in the binary image, identifies and records the edge contour path, and obtains the tooth profile features. Obtaining tooth profile features: Finally, the tooth profile features obtained include information such as the top circle, root circle, tooth thickness, pitch, tooth angle and overall shape of the tooth profile. These features are used for subsequent inclination calculation, shape comparison and error analysis. Through this step, the tooth profile features can be accurately extracted from the captured image, providing basic data for subsequent tooth profile analysis and error compensation. Edge detection, grayscale conversion, Gaussian filtering, binarization processing and edge contour tracking are the key steps to achieve tooth profile extraction.
[0088] In a specific embodiment, the inclination of the tooth profile feature is calculated to obtain an inclination value, and the inclination value is compared and analyzed with a preset inclination target expected value to obtain a first error analysis result, including:
[0089] Recalling preset inclination target expected values and labels corresponding to the inclination target expected values from a database, and constructing a label-target expected value curve based on the inclination target expected values and labels corresponding to the inclination target expected values;
[0090] Measuring each of the tooth profile features to obtain corresponding tooth profile feature coordinates;
[0091] Calculating the inclination value corresponding to the tooth profile feature based on each of the tooth profile feature coordinates;
[0092] Draw a label-inclination value curve with the label corresponding to the inclination value and the inclination value; wherein the label includes a component number and an installation position;
[0093] Using the label-target expected value curve, the labels in the label-inclination value curve are sorted to obtain a sorted label-inclination value curve; wherein the sorted label-inclination value curve is consistent with the labels in the label-target expected value curve;
[0094] Performing curve fitting on the sorted label-slope value curve to obtain a fitting curve;
[0095] The fitting curve is overlapped and compared with the label-target expected value curve to obtain a first error analysis result corresponding to the label.
[0096] Specifically, calling the inclination target expected value: calling the preset inclination target expected value from the database. These values represent the inclination of the tooth profile feature under ideal conditions and are the basis for subsequent comparative analysis.
[0097] A label-target expected value curve is constructed based on the labels corresponding to these target expected values and the target expected values of inclination. The labels include the part number and the installation position, which are used to identify different tooth profile features. Measure the tooth profile feature coordinates: Measure each tooth profile feature to obtain the corresponding tooth profile feature coordinates. These coordinate data record the specific position of the tooth profile feature in space. Calculate the inclination value: Calculate the inclination value of the tooth profile feature based on each tooth profile feature coordinate. The inclination value reflects the degree of deviation of the tooth profile from the ideal straight line. Plot the label-inclination value curve together with these inclination values and the corresponding labels (such as part number and installation position). Sort the label-inclination value curve: Sort the labels in the label-inclination value curve using the label order in the label-target expected value curve. The sorted label-inclination value curve should be consistent with the labels in the target expected value curve. This sorting helps in comparative analysis and ensures that the inclination comparison of different parts and installation positions is uniform. Curve fitting: Curve fitting is performed on the sorted label-inclination value curve. The fitted curve is smoothed by mathematical methods to reduce the impact of data noise and show the overall trend more clearly. The fitting curve provides a simplified model that reflects the actual inclination distribution of the tooth profile features. Comparative analysis: Overlap and compare the fitting curve with the label-target expected value curve. This comparison reveals the difference between the actual measured inclination value and the preset target. By analyzing the difference between the two curves, the first error analysis result corresponding to the label is obtained. These results indicate whether the inclination of each component and position meets the design standards or there are deviations. Through this step, the inclination of the tooth profile features can be systematically analyzed and compared with the design goals to identify and quantify the inclination deviation of the tooth profile. This can help engineers adjust and improve the design or manufacturing process to achieve the expected quality standards.
[0098] In a specific embodiment, extracting the tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result includes:
[0099] Recalling a preset target desired shape of a tooth profile from a database, and performing vector transformation on the target desired shape of the tooth profile to obtain a target transformation vector;
[0100] constructing a target shape matrix based on the target transformation vector;
[0101] Performing shape extraction on the tooth profile feature to obtain a tooth profile shape, and performing vector transformation on the tooth profile shape to obtain a shape transformation vector;
[0102] constructing a shape transformation matrix based on the shape transformation vector;
[0103] Performing element mapping between the target shape matrix and the shape transformation matrix to obtain a residual matrix;
[0104] The residual matrix is analyzed to determine whether the value of each element of the residual matrix is within a set error range, thereby obtaining a second error analysis result.
[0105] Specifically, calling the target expected shape of the tooth profile shape: calling the preset target expected shape of the tooth profile shape from the database. These expected shapes represent the tooth profile shapes under ideal conditions and are used for comparative analysis.
[0106] The target desired shape of the tooth profile is transformed into a vector to obtain a target transformation vector. This step converts the geometric shape data into a mathematical vector for subsequent processing and analysis. Constructing the target shape matrix: Constructing the target shape matrix based on the target transformation vector. The target shape matrix is a matrix composed of multiple vectors that fully describes the ideal geometric shape of the tooth profile. Tooth profile feature shape extraction: Perform shape extraction on the tooth profile features to obtain the actual tooth profile shape. Shape extraction uses image processing technology to identify the tooth profile boundary and record its shape information. Constructing the extracted tooth profile shape into a vector to obtain a shape transformation vector. Vector transformation converts the shape data into a vector form that is easy to calculate. Constructing the shape transformation matrix: Constructing the shape transformation matrix based on the shape transformation vector. The shape transformation matrix describes the actual measured tooth profile shape. Element mapping and residual matrix: Element mapping is performed between the target shape matrix and the shape transformation matrix to obtain a residual matrix. Element mapping is to compare the elements of the corresponding positions of the two matrices one by one and calculate their difference. The elements of the residual matrix represent the difference between the actual tooth profile shape and the target desired shape. Residual matrix analysis: Analyze the residual matrix to determine whether the value of each element is within the set range. The set range represents the allowable error threshold, and elements outside the range indicate large shape deviations. By analyzing the residual matrix, the specific location and degree of tooth profile shape deviation are identified, and the second error analysis result is obtained. Through this step, the actual shape of the tooth profile feature can be accurately extracted and compared in detail with the target expected shape to quantify the deviation of the tooth profile shape. These analysis results help to further optimize the tooth profile design and manufacturing process to ensure that the tooth profile shape meets the design standards.
[0107] In a specific embodiment, obtaining the total tooth profile deviation based on the first error analysis result and the second error analysis result includes:
[0108] Obtaining an inclination error value of each tooth profile feature based on the first error analysis result;
[0109] The inclination error values of each tooth profile feature are averaged to obtain an average correction value of the inclination;
[0110] Obtaining a tooth profile shape error value of each tooth profile feature based on the second error analysis result;
[0111] The tooth profile shape error values of each tooth profile feature are averaged to obtain an average correction value of the tooth profile shape;
[0112] A total tooth profile deviation is obtained based on the average inclination correction value and the average tooth profile shape correction value.
[0113] Specifically, the inclination error value is obtained: based on the first error analysis result, the inclination error value of each tooth profile feature is obtained. These error values reflect the difference between the actual inclination of each tooth profile feature and the target inclination. The average correction value of the inclination is calculated: the inclination error values of each tooth profile feature are averaged to obtain the average correction value of the inclination. This value represents the average level of the inclination deviation of the overall tooth profile feature, reflecting the correction requirement of the overall inclination. The tooth profile shape error value is obtained: based on the second error analysis result, the tooth profile shape error value of each tooth profile feature is obtained. These error values reflect the difference between the actual shape of each tooth profile feature and the target shape. The average correction value of the tooth profile shape is calculated: the tooth profile shape error values of each tooth profile feature are averaged to obtain the average correction value of the tooth profile shape. This value represents the average level of the shape deviation of the overall tooth profile feature, reflecting the correction requirement of the overall shape. The total deviation of the tooth profile is calculated: based on the average correction value of the inclination and the average correction value of the tooth profile shape, the total deviation of the tooth profile is obtained by comprehensive calculation. The total deviation of the tooth profile is a comprehensive measure of the inclination deviation and the shape deviation, providing a comprehensive evaluation of the overall tooth profile quality. Through this step, the errors in both inclination and shape can be systematically integrated to obtain a comprehensive total deviation of the tooth profile. This comprehensive evaluation helps to fully understand the quality deviation of the tooth profile and provide guidance for further optimization and correction.
[0114] In a specific embodiment, the shrinkage law of nonlinear shrinkage is obtained based on the first error analysis result, the second error analysis result and the total deviation of the tooth profile, including:
[0115] Performing a tilt type analysis on the tilt based on the first error analysis result to obtain a tilt type;
[0116] Performing a tilt factor analysis based on the tilt type to obtain a tilt type factor;
[0117] Performing shape deviation type analysis on the tooth profile shape based on the second error analysis result to obtain a shape deviation type;
[0118] Performing shape deviation factor analysis based on the shape deviation type to obtain a shape deviation factor;
[0119] Performing a multi-dimensional analysis on the tooth profile based on the total tooth profile deviation to obtain a multi-dimensional analysis result;
[0120] Perform multidimensional factor analysis based on the multidimensional analysis results to obtain multidimensional factors;
[0121] Digitally encoding the tilt type factor, the shape deviation factor, and the multi-dimensional factor to obtain a first coded number, a second coded number, and a third coded number;
[0122] The first coding number, the second coding number and the third coding number are used to construct a matrix to obtain a coding matrix;
[0123] Calculate the eigenvalue of the encoding matrix and generate an eigenvector corresponding to the eigenvalue; wherein the eigenvalue has at least one eigenvalue and one eigenvalue has at least one eigenvector;
[0124] A characteristic matrix is constructed based on the characteristic vector, and the characteristic matrix is input into a preset prediction algorithm for analysis to obtain the contraction law of nonlinear contraction.
[0125] Specifically, inclination type analysis and inclination type factor: Based on the first error analysis result, the inclination of the tooth profile is analyzed and different inclination types are obtained. These types reflect the different characteristics of the inclination deviation. The inclination factor analysis is performed to obtain the inclination factors corresponding to various inclination types. The inclination factor describes the key factors affecting the inclination. Shape deviation type analysis and shape deviation factor: Based on the second error analysis result, the deviation of the tooth profile shape is analyzed and different shape deviation types are obtained. These types reflect the different characteristics of the shape deviation. The shape deviation factor analysis is performed to obtain the shape deviation factors corresponding to various shape deviation types. The shape deviation factor describes the key factors affecting the shape deviation. Multi-dimensional analysis and multi-dimensional factor: Based on the total deviation of the tooth profile, a multi-dimensional analysis is performed, considering the influence of multiple dimensions such as inclination and shape deviation. The multi-dimensional analysis results are obtained, which reflect the contribution of each dimension to the total deviation of the tooth profile. Digital coding and coding matrix construction: The inclination type factor, shape deviation factor and multi-dimensional factor are digitally encoded to obtain the first coding number, the second coding number and the third coding number. The coding matrix is constructed to organize these coding numbers into a matrix for subsequent eigenvalue analysis. Eigenvalue analysis and feature matrix construction: Calculate the eigenvalues of the coding matrix and generate the corresponding eigenvectors. The eigenvalues and eigenvectors describe the structure and important features of the coding matrix. Based on the eigenvectors, a feature matrix is constructed, which contains the key information extracted from the coding matrix. The prediction algorithm analyzes the nonlinear shrinkage law: The feature matrix is input into the preset prediction algorithm for analysis. This step uses the prediction algorithm to analyze the data in the feature matrix to derive the nonlinear shrinkage law of the tooth profile. This law describes how to adjust or optimize the tooth profile based on inclination, shape deviation and multi-dimensional factors to reduce the overall deviation. Through the above steps, multiple factors such as inclination and shape deviation can be comprehensively considered to propose an effective nonlinear shrinkage strategy to optimize the shape and inclination of the tooth profile.
[0126] In a specific embodiment, based on the contraction law, the tooth profile deviation of the plastic cylindrical gear is compensated by a preset electric spark discharge technology until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within a preset target expected value, including:
[0127] Adjusting parameters of the preset electric spark discharge technology based on the contraction law to obtain adjustment parameters;
[0128] Performing deviation compensation on the tooth profile of the plastic cylindrical gear based on the adjustment parameter to obtain a compensated tooth profile of the plastic cylindrical gear;
[0129] The tooth profile of the plastic cylindrical gear is verified using the preset target expected value to obtain the verification result;
[0130] If the verification result is not within the target expected value, the parameters of the preset electric spark discharge technology are adjusted until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within the preset target expected value.
[0131] Specifically, contraction law and parameter adjustment: Based on the contraction law, the parameters of the preset electric spark discharge technology are adjusted. The goal of adjusting the parameters is to optimize the discharge process to better compensate for the tooth profile deviation. The adjusted parameters may include discharge current, discharge time, pulse interval, etc. Deviation compensation: Based on the adjustment parameters, the tooth profile deviation of the plastic cylindrical gear is compensated. The compensation process uses the electric spark discharge technology to accurately remove or add materials to correct the shape and inclination of the tooth profile to make it close to the ideal state. The compensated plastic cylindrical gear tooth profile is obtained, and the compensated tooth profile should be closer to the target expected shape in shape and inclination. Verification and result evaluation: The compensated plastic cylindrical gear tooth profile is verified using the preset target expected value. The verification process includes measuring the tooth profile and comparing the measurement result with the target expected value. The verification result is obtained, and the verification result shows whether the compensated tooth profile meets the preset target expected value. Parameter adjustment iteration: If the verification result is not within the target expected value, it indicates that the current deviation compensation is insufficient or excessive. At this time, it is necessary to further adjust the parameters of the electric spark discharge technology. Repeat the parameter adjustment and deviation compensation process of the above steps until the total tooth profile deviation obtained by the first error analysis result and the second error analysis result is within the preset target expected value. Through the above steps, the tooth profile of the plastic cylindrical gear can be accurately compensated and adjusted by the electric spark discharge technology, and finally the ideal tooth profile shape and inclination are achieved, ensuring that the accuracy and performance of the gear meet the design requirements.
[0132] The above describes the correction method of the tooth profile deviation of the plastic cylindrical gear in the embodiment of the present invention. The following describes the correction method and device of the tooth profile deviation of the plastic cylindrical gear in the embodiment of the present invention. Figure 2 In one embodiment of the present invention, a method and device for correcting tooth profile deviation of a plastic cylindrical gear comprises:
[0133] The photographing module 21 is used to photograph the tooth profile of the plastic cylindrical gear to obtain a photographed image, and to extract the tooth profile from the photographed image using a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include the top circle, root circle, tooth thickness, tooth pitch, tooth profile angle and tooth profile shape of the tooth profile;
[0134] A calculation module 22, configured to calculate the inclination of the tooth profile feature to obtain an inclination value, and compare and analyze the inclination value with a preset inclination target expected value to obtain a first error analysis result;
[0135] An analysis module 23 is used to extract the tooth profile shape of the tooth profile feature, and compare and analyze the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result;
[0136] A deviation module 24, configured to obtain a total tooth profile deviation based on the first error analysis result and the second error analysis result;
[0137] A contraction module 25, configured to obtain a contraction rule of nonlinear contraction based on the first error analysis result, the second error analysis result and the total tooth profile deviation if any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within a preset target expected value range;
[0138] The compensation module 26 is used to perform error compensation on the tooth profile deviation of the plastic cylindrical gear based on the contraction law through preset electric spark discharge until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within a preset target expected value.
[0139] In this embodiment, for the specific implementation of each unit in the above system embodiment, please refer to the description in the above method embodiment, which will not be repeated here.
[0140] Reference Figure 3 The present invention also provides a computer device in an embodiment, wherein the internal structure of the computer device can be as follows: Figure 3As shown. The computer device includes a processor, a memory, a display screen, an input device, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the corresponding data in this embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.
[0141] Those skilled in the art will understand that Figure 3 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present invention, and does not constitute a limitation on the computer device to which the solution of the present invention is applied.
[0142] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above method is implemented. It can be understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.
[0143] 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 provided by the present invention and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double-speed data rate SDRAM (SSRSDRAM), 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.
[0144] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0145] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for correcting tooth profile deviation of a plastic cylindrical gear, characterized in that: The following steps are involved: The tooth profile of the plastic cylindrical gear is photographed to obtain a photographed image, and the tooth profile is extracted from the photographed image using a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include a top circle, a root circle, a tooth thickness, a tooth pitch, a tooth profile angle, and a tooth profile shape; Calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result; Extracting a tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result; Obtaining a total tooth profile deviation based on the first error analysis result and the second error analysis result; If any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within the range of the preset target expected value, a contraction law of nonlinear contraction is obtained based on the first error analysis result, the second error analysis result and the total tooth profile deviation; Based on the contraction law, error compensation is performed on the tooth profile deviation of the plastic cylindrical gear by using a preset electric spark discharge technology until the total tooth profile deviation obtained by the first error analysis result and the second error analysis result is within a preset target expected value; The shrinkage law of nonlinear shrinkage is obtained based on the first error analysis result, the second error analysis result and the total tooth profile deviation, including: Performing a tilt type analysis on the tilt based on the first error analysis result to obtain a tilt type; Performing a tilt factor analysis based on the tilt type to obtain a tilt type factor; Performing shape deviation type analysis on the tooth profile shape based on the second error analysis result to obtain a shape deviation type; Performing shape deviation factor analysis based on the shape deviation type to obtain a shape deviation factor; Performing a multi-dimensional analysis on the tooth profile based on the total tooth profile deviation to obtain a multi-dimensional analysis result; Perform multidimensional factor analysis based on the multidimensional analysis results to obtain multidimensional factors; Digitally encoding the tilt type factor, the shape deviation factor, and the multi-dimensional factor to obtain a first coded number, a second coded number, and a third coded number; The first coding number, the second coding number and the third coding number are used to construct a matrix to obtain a coding matrix; Calculate the eigenvalue of the encoding matrix and generate an eigenvector corresponding to the eigenvalue; wherein the eigenvalue has at least one eigenvalue and one eigenvalue has at least one eigenvector; A characteristic matrix is constructed based on the characteristic vector, and the characteristic matrix is input into a preset prediction algorithm for analysis to obtain the contraction law of nonlinear contraction.
2. The method for correcting tooth profile deviation of a plastic cylindrical gear according to claim 1, characterized in that: The tooth profile is extracted from the captured image using a preset edge detection algorithm to obtain tooth profile features, including: Converting the captured image into a grayscale image, and filtering the grayscale image using a Gaussian filter to obtain a filtered image; Performing binarization processing on the filtered image to obtain a binarized image; The preset edge contour tracking algorithm is used to track the tooth profile of the binary image to obtain the tooth profile features.
3. The method for correcting tooth profile deviation of a plastic cylindrical gear according to claim 1, characterized in that: Calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result, including: Recalling preset inclination target expected values and labels corresponding to the inclination target expected values from a database, and constructing a label-target expected value curve based on the inclination target expected values and labels corresponding to the inclination target expected values; Measuring each of the tooth profile features to obtain corresponding tooth profile feature coordinates; Calculating the inclination value corresponding to the tooth profile feature based on each of the tooth profile feature coordinates; Draw a label-inclination value curve with the label corresponding to the inclination value and the inclination value; wherein the label includes a component number and an installation position; Using the label-target expected value curve, the labels in the label-inclination value curve are sorted to obtain a sorted label-inclination value curve; wherein the sorted label-inclination value curve is consistent with the labels in the label-target expected value curve; Performing curve fitting on the sorted label-slope value curve to obtain a fitting curve; The fitting curve is overlapped and compared with the label-target expected value curve to obtain a first error analysis result corresponding to the label.
4. The method for correcting tooth profile deviation of a plastic cylindrical gear according to claim 1, characterized in that: Extracting the tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result, including: Recalling a preset target desired shape of a tooth profile from a database, and performing vector transformation on the target desired shape of the tooth profile to obtain a target transformation vector; constructing a target shape matrix based on the target transformation vector; Performing shape extraction on the tooth profile feature to obtain a tooth profile shape, and performing vector transformation on the tooth profile shape to obtain a shape transformation vector; constructing a shape transformation matrix based on the shape transformation vector; Performing element mapping between the target shape matrix and the shape transformation matrix to obtain a residual matrix; The residual matrix is analyzed to determine whether the value of each element of the residual matrix is within a set error range, thereby obtaining a second error analysis result.
5. The method for correcting tooth profile deviation of a plastic cylindrical gear according to claim 1, characterized in that: The total tooth profile deviation is obtained based on the first error analysis result and the second error analysis result, including: Obtaining an inclination error value of each tooth profile feature based on the first error analysis result; The inclination error values of each tooth profile feature are averaged to obtain an average correction value of the inclination; Obtaining a tooth profile shape error value of each tooth profile feature based on the second error analysis result; The tooth profile shape error values of each tooth profile feature are averaged to obtain an average correction value of the tooth profile shape; A total tooth profile deviation is obtained based on the average inclination correction value and the average tooth profile shape correction value.
6. The method for correcting tooth profile deviation of a plastic cylindrical gear according to claim 1, characterized in that: Based on the contraction law, the tooth profile deviation of the plastic cylindrical gear is compensated by a preset electric spark discharge technology until the total tooth profile deviation obtained by the first error analysis result and the second error analysis result is within a preset target expected value, including: Adjusting parameters of the preset electric spark discharge technology based on the contraction law to obtain adjustment parameters; Performing deviation compensation on the tooth profile of the plastic cylindrical gear based on the adjustment parameter to obtain a compensated tooth profile of the plastic cylindrical gear; The tooth profile of the plastic cylindrical gear is verified using the preset target expected value to obtain the verification result; If the verification result is not within the target expected value, the parameters of the preset electric spark discharge technology are adjusted until the first error analysis result and the second error analysis result obtain that the total tooth profile deviation is within the preset target expected value.
7. A device for correcting tooth profile deviation of a plastic cylindrical gear, characterized in that: include: A shooting module, used for shooting the tooth profile of the plastic cylindrical gear to obtain a shooting image, and extracting the tooth profile from the shooting image by a preset edge detection algorithm to obtain tooth profile features; wherein the tooth profile features include the top circle, root circle, tooth thickness, tooth pitch, tooth profile angle and tooth profile shape of the tooth profile; A calculation module, used for calculating the inclination of the tooth profile feature to obtain an inclination value, and comparing and analyzing the inclination value with a preset inclination target expected value to obtain a first error analysis result; An analysis module, used for extracting a tooth profile shape of the tooth profile feature, and comparing and analyzing the tooth profile shape with a preset target expected shape of the tooth profile shape to obtain a second error analysis result; A deviation module, configured to obtain a total tooth profile deviation based on the first error analysis result and the second error analysis result; A contraction module, configured to obtain a contraction law of nonlinear contraction based on the first error analysis result, the second error analysis result and the total tooth profile deviation if any of the first error analysis result, the second error analysis result and the total tooth profile deviation is not within a preset target expected value range; A compensation module is used to perform error compensation on the tooth profile deviation of the plastic cylindrical gear based on the contraction law through preset electric spark discharge until the first error analysis result and the second error analysis result obtain a total tooth profile deviation within a preset target expected value.
8. A computer device comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
