CN-121767350-B - Method, equipment, medium and product for generating mechanical shot peening stripe image
Abstract
The invention discloses a method, equipment, medium and product for generating a mechanical shot blasting strip image, which comprises the steps of obtaining a plurality of parameter value sets matched with shot blasting parameter sets, determining mechanical shot blasting discrete pit center point coordinate sets respectively corresponding to the parameter value sets in digital image canvas respectively matched with the parameter value sets, generating mechanical shot blasting impact point coordinate sets respectively corresponding to the parameter value sets according to the mechanical shot blasting discrete pit center point coordinate sets, further generating ideal real coverage rate images respectively corresponding to the parameter value sets according to the mechanical shot blasting impact point coordinate sets, and determining ideal observation coverage rate images respectively corresponding to the parameter value sets. And establishing a mapping relation between each ideal observation coverage rate image and the matched ideal real coverage rate image so as to identify the matched ideal real coverage rate of the actually measured observation coverage rate image formed in actual production. The efficiency of matching the actual measurement coverage rate image of the shot blasting strip with the ideal actual coverage rate image and inversely calculating the technological parameters in actual production is improved.
Inventors
- DENG JINGYU
- HE XUETING
- SONG BO
Assignees
- 中国商用飞机有限责任公司
- 上海飞机制造有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260228
Claims (9)
- 1. A method of generating a mechanical peen stripe image, comprising: Acquiring a plurality of parameter value sets matched with the shot blasting parameter sets, wherein one parameter value set comprises selectable parameter values respectively corresponding to each shot blasting parameter in the shot blasting parameter sets, and the shot blasting parameters comprise robot speed, shot flow, shot diameter and shot density; Determining digital image canvas which is respectively matched with each parameter value set, and determining a mechanical shot blasting discrete bullet pit center point coordinate set which is respectively corresponding to each parameter value set in each digital image canvas; generating a mechanical shot blasting impact point coordinate set corresponding to each parameter value set according to the mechanical shot blasting discrete pit center point coordinate set corresponding to each parameter value set; Generating ideal real coverage rate images corresponding to the parameter value sets respectively according to the mechanical shot blasting impact point coordinate sets corresponding to the parameter value sets respectively, and sequentially traversing each pixel point in the ideal real coverage rate images to determine ideal observation coverage rate images corresponding to the ideal real coverage rate images respectively; establishing a mapping relation between each ideal observation coverage rate image and a matched ideal real coverage rate image so as to identify the matched ideal real coverage rate image for the actual measurement observation coverage rate image formed in actual production; the generating of the ideal real coverage rate image corresponding to each parameter value set according to the mechanical shot blasting impact point coordinate set corresponding to each parameter value set comprises the following steps: acquiring a currently processed target parameter value set, and acquiring a target digital image canvas matched with the target parameter value set; Calculating according to the robot speed value, the pellet flow value, the pellet diameter value and the pellet density value in the target parameter value set to obtain the average diameter of the bullet pit matched with the target parameter value set; According to formula R pixel =D K /(2) P X ), calculating the pixel radius R pixel of each mechanical peening impact point corresponding to the target parameter value set in the peening strip image; Wherein D K is the average diameter of the bullet pits, and P X is the preset pixel size of the canvas of the digital image; Sequentially acquiring a current mechanical shot blasting impact point coordinate in a mechanical shot blasting impact point coordinate set matched with the target parameter value set; sequentially traversing all pixel points in the target digital image canvas, and adding 1 to the gray value of the pixel point with the distance from the coordinate of the current mechanical shot blasting impact point being smaller than or equal to R pixel ; And returning to the mechanical shot blasting impact point coordinate set matched with the target parameter value set, sequentially acquiring and processing the current mechanical shot blasting impact point coordinate, finishing processing all the mechanical shot blasting impact point coordinates in the mechanical shot blasting impact point coordinate set, and determining an updated target digital image canvas at the end of processing as an ideal real coverage rate image matched with the target parameter value set.
- 2. The method of claim 1, wherein determining a digital image canvas that matches each set of parameter values separately comprises: Acquiring a current processed target parameter value set, and calculating to obtain a normal distribution variance value of the pellet flow matched with the target parameter value set according to a robot speed value, a pellet flow value, a pellet diameter value and a pellet density value in the target parameter value set; According to the formula: calculating the physical size of the shot peening strip image corresponding to the target parameter value set; Wherein L is the length of the physical dimension of the shot-blast strip image, W is the width of the physical dimension of the shot-blast strip image, H is the preset shot-blast strip length, sigma is the normal distribution variance value of the shot flow, a is the preset confidence interval coefficient, Canvas pixel size for the preset digital image; And constructing an initial digital image canvas matched with the physical size of the shot-peening strip image, and initializing and setting the gray value of each pixel point in the initial digital image canvas to be zero to obtain a digital image canvas matched with the target parameter value set.
- 3. The method of claim 2, wherein determining, in each digital image canvas, a set of mechanical shot discrete pit center point coordinates corresponding to each set of parameter values, respectively, comprises: acquiring a target digital image canvas matched with a currently processed target parameter value set; According to the formula Calculating the total number M of impact shots on shot strip images matched with the canvas of the target digital image, taking N as the preset step number of shot strip translation division, and calculating the number N of impact shots of single shot operation matched with the canvas of the target digital image according to a formula N=M/N; wherein v is the speed value of the robot, q is the flow value of the projectile, d is the diameter value of the projectile, and ρ is the density value of the projectile; with origin of target digital image canvas as core and sigma +. And randomly generating N coordinate points serving as a mechanical shot blasting discrete pit center point coordinate set corresponding to the target parameter value set on the target digital image canvas as normally distributed variances.
- 4. The method of claim 1, wherein generating the set of mechanical peen impact point coordinates corresponding to each set of parameter values from the set of mechanical peen discrete pit center point coordinates corresponding to each set of parameter values, respectively, comprises: According to the formula Calculating a shift pixel interval ; Wherein n is the preset step number of shot blasting strip translation division, The pixel size of the canvas is a preset digital image, and H is a preset shot peening strip length; acquiring a target mechanical shot blasting discrete pit center point coordinate set matched with a currently processed target parameter value set, and acquiring the number N of impact shots included in a single shot blasting operation in a target digital image canvas matched with the target parameter value set; Sequentially acquiring a mechanical shot blasting discrete pit center point coordinate from a target mechanical shot blasting discrete pit center point coordinate set as a current processing coordinate , ); According to the formula Calculating to obtain the current processing coordinates , ) Matched coordinates of n mechanical shot blasting impact points , ) , wherein, ; Returning to execute the operation of sequentially acquiring the coordinates of the center points of the mechanical shot blasting discrete pits from the coordinates set of the center points of the mechanical shot blasting discrete pits of the target until the coordinates of the center points of the N mechanical shot blasting discrete pits in the coordinates set of the center points of the mechanical shot blasting discrete pits of the target are processed; And obtaining the coordinates of the central points of the M discrete mechanical shot blasting pits at the end of the treatment, and taking the coordinates as a mechanical shot blasting impact point coordinate set corresponding to the target parameter value set.
- 5. The method of claim 1, wherein determining ideal observed coverage images corresponding to each ideal true coverage image respectively comprises: sequentially acquiring a current parameter value set from a plurality of parameter value sets matched with the shot blasting parameter set, and acquiring an ideal real coverage rate image matched with the current parameter value set; Traversing each pixel point in the ideal real coverage rate image in sequence, setting the gray value of the pixel point with the gray value not being 0 to be 1, and keeping the gray value of the pixel point with the gray value being 0 to be 0; and returning to execute the processing in the multiple parameter value sets matched with the shot blasting parameter set, sequentially acquiring and processing an ideal real coverage rate image matched with one current parameter value set until the processing of all parameter value sets in the multiple parameter value sets matched with the shot blasting parameter set is completed, and determining a current digital image canvas updated at the end of the processing as an ideal observation coverage rate image matched with the current parameter value set.
- 6. The method of any one of claims 1-5, wherein after establishing a mapping between each ideal observed coverage image and a matching ideal real coverage image, the method further comprises: acquiring an actual shot blasting image formed after performing actual shot blasting treatment on an actual workpiece; Processing the actual shot blasting image to obtain an actual measurement observation coverage rate image matched with the actual shot blasting image; Matching the actually measured observation coverage rate image with each observation coverage rate image in the mapping relation, and obtaining a target real coverage rate image corresponding to the successfully matched target observation coverage rate image; And generating a real coverage rate identification result matched with the actual shot blasting image according to the target real coverage rate image.
- 7. An electronic device, the electronic device comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of generating a mechanical peen stripe image according to any one of claims 1-6.
- 8. A computer readable storage medium storing computer instructions for causing a processor to perform the method of generating a mechanical peen stripe image according to any one of claims 1-6.
- 9. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of generating a mechanical shot-peening strip image according to any one of claims 1-6.
Description
Method, equipment, medium and product for generating mechanical shot peening stripe image Technical Field The invention relates to the technical field of mechanical manufacturing and surface engineering, in particular to a method, equipment, medium and product for generating a mechanical shot peening stripe image. Background Mechanical shot-peening is a cold working process, specifically, the high-speed shot flow is used for impacting the surface of a metal plate, and the bending deformation of the plate is realized by introducing residual compressive stress into the plate and causing the plate to plastically stretch. The technology does not need a die, so that the technology is widely applied to the forming and manufacturing of large-scale integral wall plates in the aerospace field, such as components of wing skins, rocket wall plates and the like. In the shot blasting forming process, the coverage rate is not only a quality control index, but also a key technological parameter for determining the final deformation and curvature radius of the plate. Currently, parameter calibration and process monitoring of shot-peening forming processes are generally achieved by adopting an Almen test piece combined with shot-peening strip images. The machine vision technology calculates the observation coverage rate by identifying the pit distribution of the shot blasting strip, but the conventional vision detection technology has a remarkable technical bottleneck under the high-precision control requirement of shot blasting forming. In the prior art, the problem that the forming deformation cannot be quantified due to visual saturation exists, unlike conventional shot peening, in order to obtain a larger forming curvature, shot peening is often performed on a specific area for multiple times, and the actual coverage rate is often 200% or 400% or higher. However, the physical upper limit of 100% exists in the observation coverage rate obtained by the existing visual detection method, and when the observation coverage rate reaches 100%, the image can be in a full coverage saturated state, and the visual system cannot distinguish whether 100% coverage or 500% coverage is actually performed at the moment. Because the real coverage rate directly determines the plastic elongation and the final shape of the plate, the visual blind area enables a craftsman to judge the actually input forming energy through images, thus being extremely easy to cause the problem of insufficient forming or over-forming and seriously affecting the forming precision. In addition, the shot flow distribution characteristics cannot be inverted, the forming consistency is difficult to ensure, and the shot forming precision is highly dependent on the energy distribution state of the shot flow (such as shot flow distribution variance and shot hole average diameter). When the observation coverage rate is close to saturation, different bullet flow distribution states may show very similar strip images, and the hidden parameters cannot be stripped from the saturated images in the prior art, so that the state change of equipment cannot be found in time, and further, the forming effect of the wall plates in the same batch is difficult to explain. Disclosure of Invention The embodiment of the invention provides a method, equipment, medium and product for generating a mechanical shot blasting strip image, which are used for inversely calculating technological parameters such as shot flow distribution variance, average diameter of a shot pit and the like according to a constructed mechanical shot blasting strip coverage database by matching actual coverage of an actual mechanical shot blasting strip image. According to an aspect of an embodiment of the present invention, there is provided a method for generating a mechanical shot peen stripe image, including: Acquiring a plurality of parameter value sets matched with the shot blasting parameter sets, wherein one parameter value set comprises selectable parameter values respectively corresponding to each shot blasting parameter in the shot blasting parameter sets, and the shot blasting parameters comprise robot speed, shot flow, shot diameter and shot density; Determining digital image canvas which is respectively matched with each parameter value set, and determining a mechanical shot blasting discrete bullet pit center point coordinate set which is respectively corresponding to each parameter value set in each digital image canvas; generating a mechanical shot blasting impact point coordinate set corresponding to each parameter value set according to the mechanical shot blasting discrete pit center point coordinate set corresponding to each parameter value set; Generating ideal real coverage rate images corresponding to the parameter value sets respectively according to the mechanical shot blasting impact point coordinate sets corresponding to the parameter value sets respectively, and determining ideal observa