A stepped profile-based weld seam trajectory generation method for a rotating body structural component
By acquiring stepped contour data in the rotating body structure, the target position range of the weld is determined, which solves the problem of unstable weld positioning in the rotating body structure and achieves the accuracy and stability of the weld position, as well as the ability to adapt to manufacturing and clamping errors.
Patent Information
- Application Number
- CN202611644958.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-23
- Publication Date
- 2026-11-20
AI Technical Summary
In the existing technology for weld positioning and trajectory generation of rotating body structural components, the overall position change and local geometric changes interact with each other, resulting in unstable positioning and trajectory deviation. In particular, it is difficult to accurately determine the weld position when there is clamping eccentricity, radial runout, and step height changes.
By acquiring stepped contour data of multiple rotational positions of the rotating structural component, the positional variation ranges of the first contour segment, the second contour segment, and the transition contour segment are determined respectively. The target position range of the weld is defined by using common positional variations and local geometric relationships, and the weld trajectory is generated, reducing the interference between overall positional variations and local geometric variations.
It improves the accuracy and stability of weld position determination, reduces trajectory deviation caused by fluctuations in a single contour feature, adapts to manufacturing and clamping errors, and reduces dependence on the ideal clamping state of the workpiece.
Smart Images

Figure CN123128798A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of welding automation technology, and more specifically, to a method for generating weld trajectories for rotating structural components based on stepped profiles. Background Technology
[0002] Rotating structural components are widely used in the manufacture of components such as cylinders, rings, and hubs. Before automatic welding, their circumferential welded joints usually need to be obtained by rotating with the structural component to obtain contour data at different rotational positions in order to determine the weld position and form the subsequent welding trajectory.
[0003] In the prior art, CN113989379B discloses a three-dimensional feature measurement device and method for wheel hub welds based on line laser rotation scanning. It uses a line structured light sensor, a rotational displacement control system and a computer to scan and measure the wheel hub welds that rotate with the rotary table.
[0004] This scheme utilizes a line structured light sensor to acquire light stripe images of the weld area, obtains measurement data at different locations through rotational scanning, and reconstructs a three-dimensional point cloud of the weld contour through image processing, identifying the weld area and its contour features, thus providing a foundation for the automatic detection of welds on rotating bodies.
[0005] However, when rotating structural components exhibit overall positional changes such as clamping eccentricity and radial runout, while stepped welded joints exhibit local geometrical changes such as misalignment, step height variation, and transition width variation, both types of changes will be reflected in the same stepped contour data. Directly determining the weld position based on contour features can easily lead to mutual influence between overall positional changes and local geometrical changes of the joint, thereby reducing the stability of weld positioning and trajectory generation at different rotational positions.
[0006] Therefore, it is still necessary to provide a method for generating weld trajectories of rotating structural components based on stepped profiles, so as to improve the accuracy and stability of weld position determination and weld trajectory generation under the above-mentioned complex change scenarios. Summary of the Invention
[0007] To overcome the aforementioned deficiencies of the prior art, embodiments of the present invention provide a method for generating weld trajectories of rotating structural components based on stepped contours. By determining two candidate weld position ranges for the same set of candidate weld positions based on the common positional changes of the contour segments on both sides of the stepped section and the local geometrical changes of the stepped joint, the target weld position range is jointly defined by the two candidate weld position ranges. This reduces the interference of the interaction between the overall positional changes and the local geometrical changes of the joint on the weld positioning results, thereby solving the problems mentioned in the background art.
[0008] To achieve the above objectives, the present invention provides the following technical solution:
[0009] A method for generating weld trajectories for a rotating structural component based on stepped contours involves acquiring stepped contour data for multiple rotational positions of the rotating structural component, determining a first contour segment, a second contour segment, a transition contour segment between them, and candidate weld positions; for the same set of candidate weld positions at each rotational position, determining the allowable range of position change based on the positional changes of the first and second contour segments relative to the corresponding reference contour segments in the reference contour data, defining the common part of the two allowable position change ranges as a common position change range, and determining the first candidate weld position range based on the common position change range and the reference welding position range; determining two boundaries based on the intersection positions of the first and second contour segments and the transition contour segment, and determining the allowable weld position range relative to the two boundaries from welding process qualification data based on the actual step height and actual transition width, and determining the second candidate weld position range based on the positional relationship of each candidate weld position relative to the two boundaries; forming the target weld position range for the rotational position by the candidate weld positions commonly included by the two candidate weld position ranges; and determining the target weld position and generating the weld trajectory based on each target weld position range.
[0010] In a preferred embodiment, determining the first contour segment, the second contour segment, the transition contour segment, and the candidate weld positions based on the stepped contour data includes: fitting continuous contour data in the stepped contour data; determining the first contour segment and the second contour segment located on both sides of the weld joint based on contour continuity and contour direction changes; determining the transition contour segment between them; determining the actual step height based on the distance between the first contour segment and the second contour segment along the step height measurement direction; determining the actual transition width based on the distance between the two boundary positions of the transition contour segment along the transition width measurement direction; determining a candidate position range based on the transition contour segment and the designed position of the weld joint; and determining multiple candidate weld positions within the candidate position range in order from the boundary of the transition contour segment near the first contour segment to the boundary of the second contour segment; taking the end of the candidate position range near the first contour segment as the starting position; and determining the corresponding position coordinates of each candidate weld position relative to the starting position along the contour length of the current stepped contour.
[0011] In a preferred embodiment, the reference contour data is determined as follows: A pre-scan of the rotating structural component for one rotation cycle is performed; from multiple rotation positions, rotation positions are selected where the effective lengths of both the first and second contour segments are not less than the minimum effective length, the fitting errors are not greater than the allowable fitting error value, the actual step height and the actual transition width are within the corresponding design dimension allowable range, and the transition contour segment can be determined; from the selected rotation positions, the rotation position with the smallest sum of fitting errors for the first and second contour segments is determined as the reference rotation position; a reference first contour segment and a reference second contour segment are determined based on the first and second contour segments corresponding to the reference rotation position; and a reference welding position range is determined based on the design position relationship between the weld joint design position and the reference first contour segment, the reference second contour segment, and the transition contour segment corresponding to the reference rotation position; the reference first contour segment, the reference second contour segment, and the reference welding position range constitute the reference contour data; when no rotation position meets the selection criteria, the reference contour data is not determined and weld trajectory generation is stopped.
[0012] In a preferred embodiment, determining the common position change range and the first candidate weld position range includes: determining continuous contour portions in the current first contour segment and the current second contour segment that do not intersect with the transition contour segment; when the direction difference between the reference first contour segment and the reference second contour segment is not greater than a direction difference threshold determined by calibration, adjusting their normal directions to point in the same direction, and determining the position change calculation direction based on the normalized average direction of the two normal directions; when the direction difference is greater than the direction difference threshold, determining the position change calculation direction based on structural component design data; determining the position change of the current first contour segment relative to the reference first contour segment and the position change of the current second contour segment relative to the reference second contour segment; and centering on each of the position changes... The allowable position change error is determined based on the contour measurement error, coordinate calibration error, rotation position synchronization error, and fitting error of the corresponding contour segment. The allowable position change range is then determined based on the position change and the allowable position change error. When two allowable position change ranges share a common portion, this common portion is defined as the common position change range. The reference welding position range is translated along the position change calculation direction according to each position change within the common position change range. The union of these translated reference welding position ranges is determined as the current allowable position range. The first candidate weld position range is formed by the candidate weld positions located within the current allowable position range. When two allowable position change ranges do not share a common portion, the first candidate weld position range is not determined.
[0013] In a preferred embodiment, determining the range of the second candidate weld location includes: defining the intersection of the first contour segment and the transition contour segment as a first boundary, and defining the intersection of the second contour segment and the transition contour segment as a second boundary; the allowable weld location range includes a first allowable distance range relative to the first boundary and a second allowable distance range relative to the second boundary; using the direction from the first boundary along the candidate location range towards the second boundary as a first positive direction, determining a first signed distance of each candidate weld location relative to the first boundary; using the direction from the second boundary along the candidate location range towards the first boundary as a second positive direction, determining a second signed distance of each candidate weld location relative to the second boundary; and forming the second candidate weld location range from the candidate weld locations whose first signed distance is within the first allowable distance range and whose second signed distance is within the second allowable distance range.
[0014] In a preferred embodiment, the positional change of the current first contour segment relative to the reference first contour segment and the positional change of the current second contour segment relative to the reference second contour segment are determined by the following methods: Multiple calculation positions are determined within a range where the current contour segment and the corresponding reference contour segment share valid data, along a direction perpendicular to the positional change calculation direction; a straight line parallel to the positional change calculation direction is drawn through each calculation position, and the calculation positions where the straight line forms a unique intersection with the current fitted contour and the corresponding reference fitted contour are retained, and the signed distance between the two intersection points along the positional change calculation direction is calculated; the median of the multiple signed distances is determined as the positional change of the current contour segment relative to the corresponding reference contour segment; when the number of valid calculation positions is less than the minimum number of calculation positions, or when the effective overlap length between the current contour segment and the corresponding reference contour segment is less than the minimum effective overlap length, the positional change of the current contour segment relative to the corresponding reference contour segment is not determined.
[0015] In a preferred embodiment, determining the allowable weld position range from the welding procedure qualification data based on the actual step height and the actual transition width includes: setting multiple step height calibration values and multiple transition width calibration values for the same structural component specification, material system, joint type, and predetermined welding process conditions; determining the first and second allowable distance ranges corresponding to the size combinations formed by each step height calibration value and each transition width calibration value through welding procedure qualification, and forming the welding procedure qualification data; when the current actual step height is between two adjacent step height calibration values and the current actual transition width is between two adjacent transition width calibration values, performing bilinear interpolation on the lower and upper boundaries of the first and second allowable distance ranges corresponding to the four size combinations; when one of the current actual step height and the current actual transition width is equal to the corresponding calibration value and the other is between two adjacent corresponding calibration values, performing one-dimensional interpolation on the lower and upper boundaries of the first and second allowable distance ranges corresponding to the two size combinations; when both the current actual step height and the current actual transition width are equal to... When corresponding to the calibration value, the first and second allowable distance ranges of the corresponding size combination are used; based on the interpolation results or the data of the corresponding size combination, the allowable weld position range corresponding to the current actual step height and the current actual transition width is determined; the bilinear interpolation or one-dimensional interpolation is only performed when the corresponding size interval is confirmed to be valid by the verified size combination. The verified size combination adopts the same welding process conditions and quality judgment standards as the corresponding calibration size combination. When the first and second allowable distance ranges obtained by interpolation based on the calibration size combination used to define the size interval are both included in the corresponding qualified distance range obtained by the welding process evaluation of the verified size combination, the size interval is determined as a valid calibration interval; if the verification fails, interpolation is not performed across the size interval; when the current actual step height or the current actual transition width exceeds the size range covered by the corresponding calibration value, any size combination involved in determining the allowable weld position range lacks the first or second allowable distance range, or the lower boundary of any allowable distance range obtained by interpolation is greater than the upper boundary, the second candidate weld position range is not determined.
[0016] In a preferred embodiment, when the first candidate weld location range or the second candidate weld location range cannot be determined, the two candidate weld location ranges do not have a common candidate weld location, the commonly included candidate weld locations cannot form a unique weld target location range, or the width of the weld target location range is greater than the maximum allowable width, the stepped contour data is reacquired at the corresponding rotation position and the weld target location range is re-determined; if a valid weld target location range still cannot be formed after reacquisition, a scanning position is added between the rotation position and the nearest valid rotation position before and after it, and the corresponding weld target location is determined based on the stepped contour data of the newly added rotation position. The range; the width of the target weld position range is the contour length along the current step contour between the first and last candidate weld positions constituting the target weld position range; the maximum allowable width satisfies: half of the maximum allowable width plus the comprehensive position uncertainty is not greater than the allowable position error of the welding process, the comprehensive position uncertainty is determined based on the contour measurement error, contour fitting error, rotation position synchronization error, coordinate calibration error and welding equipment repeatability positioning error; when the comprehensive position uncertainty is not less than the allowable position error of the welding process, the generation of the complete weld trajectory is stopped, and the failure reason that the system position accuracy cannot meet the welding process requirements is output.
[0017] In a preferred embodiment, after adding a scanning position, the new rotational position is inserted into the existing rotational position sequence according to the rotation angle. The corresponding allowable ranges for positional change continuity, actual step height continuity, and actual transition width continuity are determined based on the actual angular interval between the new rotational position and adjacent effective rotational positions. The positional change continuity, actual step height continuity, and actual transition width continuity between adjacent effective rotational positions are then reassessed. The allowable ranges for positional change continuity, actual step height continuity, and actual transition width continuity are determined based on pre-scanning data of rotating structural components of the same specification and whose dimensions and assembly state meet design requirements, according to different rotational position angular intervals. When a rotational position that could not originally form an effective weld target position range remains invalid, the positional change continuity, actual step height continuity, and actual transition width continuity between its nearest preceding and following effective rotational positions all meet the corresponding allowable ranges for continuity, and the actual angle between the nearest preceding and following effective rotational positions... When the interval is not greater than the maximum allowable rotation position interval, the invalid rotation position is deleted from the rotation position sequence used to generate the weld trajectory. The maximum allowable rotation position interval is determined by performing dense scanning on rotating structural components of the same specification, extracting weld target positions at different angle intervals and generating trajectories, with the maximum position deviation of the generated trajectory relative to the dense scanning trajectory not exceeding the allowable error of trajectory fitting. When the invalid rotation position does not meet the deletion condition, and there is still an interval greater than the minimum rotation position interval between the invalid rotation position and its nearest valid rotation position, and the number of supplementary scans has not reached the maximum number of supplementary scans, and the supplementary scan time has not reached the maximum supplementary scan time, the scanning position continues to be added within the interval. When the interval to be supplemented is reduced to the minimum rotation position interval, or after the supplementary scans reach the maximum number of supplementary scans or the maximum supplementary scan time, if an effective weld target position range still cannot be formed or the deletion condition is still not met, the generation of a complete weld trajectory is stopped, and the failed rotation position range and the reason for failure are output.
[0018] A controller includes a processor, a memory, a contour data interface, a rotation position interface, a device control interface, and a trajectory output interface. The contour data interface is used to acquire stepped contour data output by a contour sensor. The rotation position interface is used to acquire the rotation position output by a rotating mechanism. The device control interface is used to output contour acquisition commands to the contour sensor and rotation positioning commands to the rotating mechanism. The trajectory output interface is used to output the generated weld trajectory. The memory stores a program, which, when executed by the processor, causes the controller to perform the aforementioned method for generating weld trajectories for rotating structural components based on stepped contours.
[0019] The technical effects and advantages of the method for generating weld trajectories of rotating structural components based on stepped contours in this invention are as follows:
[0020] This invention acquires stepped contour data at multiple rotational positions of a rotating structural component. For the same set of candidate weld positions, it determines the range of the first candidate weld position based on the common positional changes of the first and second contour segments relative to the reference contour data. It also determines the range of the second candidate weld position based on the relative positions between the first, second, and transition contour segments, the actual step height, the actual transition width, and welding process qualification data. This allows the overall positional changes of the rotating structural component and the local geometrical changes of the stepped weld joint to constrain the candidate weld positions, thereby reducing the influence of the two types of changes mixing on the weld positioning results.
[0021] The present invention further forms a target weld position range by including the candidate weld positions in two candidate weld position ranges, and generates a weld trajectory based on the target weld positions of multiple rotation positions. This can improve the accuracy and stability of weld position determination when there are changes in local dimensions such as clamping eccentricity, radial runout, and step height and transition width, and reduce trajectory deviation caused by fluctuations in a single contour feature.
[0022] Meanwhile, this invention does not require separate calculation of the actual center, actual axis, or eccentricity compensation for the current rotating body structure. It can complete the weld position constraint based on the common position change of the stepped contour itself and the local geometric relationship, which helps to reduce the dependence of the trajectory generation process on the ideal clamping state of the workpiece and improve the adaptability to actual manufacturing and clamping errors. Attached Figure Description
[0023] Figure 1 This is a flowchart of the method for generating weld seam trajectories of rotating structural parts based on stepped contours according to the present invention.
[0024] Figure 2 This is a schematic diagram showing the relationship between the stepped contour, contour segments, boundaries, and candidate weld positions of the present invention.
[0025] Figure 3 This is a schematic diagram illustrating the positional changes between the current contour and the reference contour in this invention.
[0026] Figure 4 This is a schematic diagram illustrating the determination of the common position variation range and the first candidate weld position range of the present invention.
[0027] Figure 5 This is a schematic diagram illustrating the determination of the second candidate weld location range based on double boundary distance constraints according to the present invention.
[0028] Figure 6 This is a schematic diagram showing the relationship between the first candidate weld location range, the second candidate weld location range, and the target weld location range of the present invention.
[0029] Figure 7 This is a schematic diagram illustrating the target location and weld trajectory generation of the weld seam in this invention.
[0030] Figure 8 This is a schematic diagram illustrating how the present invention determines the allowable range of weld positions based on the actual step height and the actual transition width.
[0031] Figure 9 This is a supplementary diagram illustrating the scanning and invalid rotation position processing of the present invention.
[0032] Figure 10 This is a schematic diagram of the functional structure of the controller of the present invention.
[0033] 110. Rotating mechanism; 120. Rotating body structural component; 130. Contour sensor; 140. Controller; 150. Welding equipment. Detailed Implementation
[0034] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0035] This invention is applicable to applications where the rotating structural component 120 has a stepped welded joint along the circumference and requires the generation of a weld trajectory based on the actual joint position before welding. The rotating structural component 120 can be a cylinder, roller, hub, ring, pressure vessel cylinder, or other structural component that can be rotated by the rotating mechanism 110. The rotating mechanism 110 can be a positioner, rotary table, roller frame, or other equipment capable of outputting rotational position and driving the rotating structural component 120 to rotate. The contour sensor 130 can be a line laser contour sensor, which outputs contour points with scanning direction coordinates and ranging direction coordinates within the detection section and can record the contour data acquisition time.
[0036] The stepped welded joint of the rotating body structural component 120 forms a stepped profile within the detection section of the profile sensor 130. The structural surfaces that can be continuously detected on both sides of the welded joint correspond to the first profile segment and the second profile segment, respectively. The local profile between the two corresponds to the transition profile segment. The transition profile segment can correspond to the stepped side, bevel, fillet, assembly gap, or other local profile connecting the two profile segments.
[0037] After the rotating structural component 120 is clamped, factors such as clamping eccentricity, radial runout, circumferential shape changes of the structural component, and positioning errors of the rotating mechanism 110 may cause the first and second contour segments to undergo common positional changes relative to the contour sensor 130. Manufacturing tolerances, joint misalignment, local deformation, and beveling deviations may also cause changes in the local relative position, actual step height, and actual transition width between the two contour segments and the transition contour segment. Therefore, the same step contour data may simultaneously contain both overall positional changes and local geometrical changes at the joint. This invention applies two types of positional constraints to the same group of candidate weld positions at the same rotational position, and then uses the two constraint results to jointly determine the target weld position range.
[0038] Multiple candidate weld positions at the same rotational position are located within the corresponding candidate position range and are arranged in a direction from the boundary of the transition profile segment near the first profile segment to the boundary of the second profile segment. Taking the end of the candidate position range closest to the first profile segment as the starting position, the corresponding position coordinates of each candidate weld position are determined according to the profile length of the current stepped profile relative to that starting position.
[0039] When the transition contour segment experiences an interruption in contour data due to assembly gaps, to maintain the continuity of candidate position coordinates, the straight connecting segment between the first and second boundaries on both sides of the gap is used as a virtual connecting segment solely for representing candidate position coordinates. This virtual connecting segment, along with the actual contours on both sides, serves as the path for calculating position coordinates. The candidate weld position located on the virtual connecting segment has its position coordinates determined by the distance from the first boundary to the second boundary, and its corresponding spatial position is determined by linear interpolation using the positions of the first and second boundaries in the contour sensor coordinate system. This virtual connecting segment is not considered as the actually measured transition contour and is not used to determine the actual step height or actual transition width.
[0040] The range of the first candidate weld location, the range of the second candidate weld location, and the range of the target weld location are all composed of the corresponding candidate locations in this group of candidate weld locations; when multiple discontinuous regions are formed by candidate locations that meet the conditions, each region is recorded separately, and the locations between regions that do not meet the conditions are not included in the corresponding range.
[0041] Example 1, as Figure 1 As shown, this embodiment provides a method for generating weld seam trajectories of a rotating body structure 120 based on a stepped profile. This method can be executed by a controller 140 connected to a profile sensor 130 and a rotating mechanism 110, and mainly includes steps S101 to S104.
[0042] Step S101: During the rotation of the rotating body structure 120, acquire stepped contour data corresponding to multiple rotation positions, and determine the first contour segment, the second contour segment, the transition contour segment between the two, and the candidate weld position based on each stepped contour data.
[0043] The rotating structural component 120 is mounted on the rotating mechanism 110, allowing the stepped welded joint to pass through the effective detection area of the contour sensor 130, and multiple rotation positions are set within one rotation cycle. The rotation positions can be set at fixed angular intervals, or different angular intervals can be used based on pre-scan results. The initial angular interval is determined based on the nominal radius of the structural component's detection area, the allowable sampling interval of the weld trajectory, the positioning accuracy of the rotating mechanism 110, and the sampling capability of the contour sensor 130. When the nominal radius of the structural component's detection area is R, and the angular interval between adjacent rotation positions is... When the rotation position is adjacent, the arc length L corresponding to the adjacent rotation position can be determined according to the following formula:
[0044] ;
[0045] in The interval is expressed in radians. This relationship is used to initially determine the rotational position interval, and the final rotational position interval needs to be verified by the trajectory fitting error described later.
[0046] Contour data and rotational position data use a unified time reference. Contour sensor 130 records the contour data acquisition time, and rotation mechanism 110 synchronously records the rotational position and corresponding time. When the contour data acquisition time falls between two valid rotational position sampling times, interpolation is performed based on the two rotational positions and their corresponding times. The allowable error for rotational position synchronization is determined through equipment calibration based on the current rotational speed and the allowable angle error of the weld position. For example, when the rotational speed is 5° / s and the allowable angle synchronization error is 0.1°, the allowable time error is 0.02s. If a reliable rotational position cannot be obtained within this time error, the current stepped contour data is marked as invalid and re-acquired.
[0047] After acquiring the stepped contour data, data exceeding the effective range of the contour sensor 130 and isolated outliers that do not meet the normal continuity relationship are removed. The outlier determination range is determined by repeatedly scanning standard parts or structural parts of the same specifications whose dimensions meet the design requirements, based on the positional variation distribution of adjacent contour points on a normal continuous surface and the repeated measurement error of the contour sensor 130. The preprocessed continuous contour data is fitted; for approximate planes, straight-line fitting can be used, and for surfaces with a definite curvature, circular arc or low-order curve fitting can be used. The first contour segment, the second contour segment, and the transition contour segment are determined based on the contour continuity and directional changes.
[0048] When there are two or more sets of contour segmentation results that meet the fitting requirements for the same step contour data, the segmentation results are filtered according to the arrangement relationship of the first contour segment, the transition contour segment and the second contour segment and the design size range defined by the structural design data; if the three contour segments still cannot be uniquely determined after filtering, the step contour data corresponding to the current rotation position is marked as invalid and re-acquired.
[0049] The first and second contour segments must meet the requirements for minimum effective length and fitting error. The minimum effective length can be determined by gradually decreasing the length of the continuous contours involved in the fitting process and repeating the scan. The standard deviation of the repeated measurements of the fitted contour positions is calculated at each effective length, and the minimum continuous length that ensures this standard deviation does not exceed the predetermined contour position error is defined as the minimum effective length. When using N equally spaced sampling points with an interval between adjacent sampling points... At that time, the length between the first and last sampling points is The allowable fitting error is determined based on repeated scanning data of standard parts or structural parts of the same specification. When the effective length of any contour segment is less than the minimum effective length or the fitting error is greater than the allowable fitting error, the current rotation position will not be included in the subsequent normal weld position determination process.
[0050] like Figure 2 As shown, the actual step height is determined based on the distance between the first and second contour segments along the step height measurement direction, and the actual transition width is determined based on the distance between the two boundaries of the transition contour segment along the transition width measurement direction. The step height measurement direction is determined based on structural design data or inspection calibration results. When the direction difference between the two contour segments is within the allowable range, it can be determined jointly based on their normal directions; when the direction difference exceeds the allowable range, the step height measurement direction specified in the structural design data is adopted.
[0051] When determining the actual step height, multiple step height calculation positions are set within a range of valid fitted data shared by the first and second contour segments along a direction perpendicular to the step height measurement direction. A straight line parallel to the step height measurement direction is drawn through each calculation position, retaining the calculation positions that form a unique intersection with the first and second fitted contours, respectively. The distance between the two intersections along the step height measurement direction is determined. The median of the distances obtained from the multiple valid calculation positions is determined as the actual step height. When there are insufficient valid calculation positions to form a unique intersection to achieve a stable result, the actual step height at the current rotation position is marked as invalid, and the step contour data is reacquired. The number of valid calculation positions is predetermined based on the repeated scanning results of structural components or calibration components of the same specification, ensuring that the repeated measurement error of the actual step height does not exceed the allowable error for the corresponding design dimension detection.
[0052] The transition width measurement direction is determined according to the joint width direction specified in the structural design data. For the same structural component specification, the same transition width measurement direction is used during both the welding procedure qualification and actual inspection stages. The absolute value of the difference between the projected positions of the two boundary positions of the transition profile segment along the transition width measurement direction is determined as the actual transition width. The actual step height and the actual transition width together constitute the actual step dimension at the current rotation position.
[0053] The candidate position range is determined based on the transition profile segment and the designed position of the weld joint, and multiple candidate weld positions are determined at predetermined intervals. The designed position of the weld joint is derived from product design drawings, computer-aided design models, or welding process documents. The candidate position interval is determined based on the position interval that the profile sensor 130 can stably distinguish and the allowable position error of the welding process. The position of each candidate weld is represented by the aforementioned profile length position coordinates.
[0054] Step S102: For the same group of candidate weld positions corresponding to each rotation position, determine the allowable range of position change based on the position changes of the first contour segment and the second contour segment relative to the corresponding reference contour segment in the reference contour data, determine the common part of the two allowable ranges of position change as the common range of position change, and determine the range of the first candidate weld position based on the common range of position change and the range of reference welding positions.
[0055] Before generating the trajectory, a pre-scan of the rotating structural component 120 for one rotation cycle is performed. For each rotation position, the effective lengths, fitting errors, actual step dimensions, and the determination status of the transition contour segment of the first and second contour segments are assessed. Rotation positions are selected where the effective lengths of both contour segments are not less than the minimum effective length, the fitting errors are not greater than the allowable fitting error value, the actual step dimensions are within the design dimension's allowable range, and the transition contour segment can be determined. The rotation position with the smallest sum of fitting errors for the first and second contour segments is selected as the reference rotation position; if the sum of fitting errors is the same, one of them is selected according to the rotation position order.
[0056] The first and second contour segments corresponding to the reference rotation position are respectively designated as the reference first contour segment and the reference second contour segment. The reference welding position range is determined based on the design positional relationship between the weld joint design position and the reference first contour segment, the reference second contour segment, and the transition contour segment corresponding to the reference rotation position. For example, using the first boundary corresponding to the reference rotation position as the starting point of the position coordinates, the allowable distance range of the welding position relative to the first boundary specified in the product design document is converted into the position coordinate range corresponding to the reference rotation position. The reference first contour segment, the reference second contour segment, and the reference welding position range constitute the reference contour data. If no rotation position meeting the screening criteria is found during the pre-scan, the reference contour data is not determined, the generation of the complete weld trajectory is stopped, and the corresponding failure status is output.
[0057] For the current rotation position, continuous contour portions that do not intersect with the transition contour segments are selected from the current first contour segment and the current second contour segment, respectively. When the directional difference between the reference first contour segment and the reference second contour segment is not greater than the directional difference threshold determined by calibration, the two normals are adjusted to point in the same direction, and their average and normalized results are obtained to obtain the position change calculation direction; when the directional difference is greater than the threshold, the position change calculation direction is determined according to the step height measurement direction specified in the structural design data or other fixed detection directions.
[0058] In this embodiment, both position change and common position change represent displacement components along the calculation direction of the position change. They are used to describe the current position change that the first contour segment and the second contour segment can jointly support, and are not used to obtain the complete spatial pose, actual geometric axis, or clamping eccentricity of the rotating body structure. When the posture change of the structure causes the contour direction, fitting error, or effective data range to no longer meet the aforementioned detection conditions, the stepped contour data is re-acquired according to the corresponding invalid data processing method.
[0059] The orientation difference threshold is determined using a calibration device with known position changes and different profile angles. Position changes are calculated as described above at different profile angles and compared with the known position changes. When the calculation error reaches a predetermined allowable position change error, the orientation difference of the profile that still meets the allowable error in the previous range is determined as the orientation difference threshold.
[0060] like Figure 3 As shown, multiple calculation positions are determined along a direction perpendicular to the position change calculation direction, within the range where the current contour segment and the corresponding reference contour segment share valid fitted data. A straight line parallel to the position change calculation direction is drawn through each calculation position, retaining the calculation positions that form a unique intersection with both the current fitted contour and the reference fitted contour. The signed distance between the two intersection points along the position change calculation direction is calculated, and the median of all valid signed distances is taken as the position change of the current contour segment relative to the corresponding reference contour segment. If the number of valid calculation positions is less than the minimum number of calculation positions or the valid overlap length is less than the minimum valid overlap length, the position change is not determined.
[0061] The minimum number of calculation positions and the minimum effective overlap length are calibrated by repeated scanning. Starting with more calculation positions and a longer overlap range, the data involved in the calculation are gradually reduced. When the standard deviation of repeated measurements of the position change results exceeds the allowable position change error, the number of calculation positions and the overlap length that meet the requirements of the previous level are taken as the corresponding minimum values.
[0062] Let the position change of the first contour segment relative to the reference first contour segment be: The position change of the second contour segment relative to the reference second contour segment is as follows: The corresponding permissible errors for position changes are respectively and Then the allowable range of the first position change can be expressed as The allowable range of the second position change can be expressed as: The allowable error for positional variation is determined based on the contour measurement error, coordinate calibration error, rotational position synchronization error, and the fitting error of the corresponding contour segment. When the sources of error can be considered independent, they can be synthesized by taking the square root of the sum of the squares of the standard errors; when they cannot be confirmed to be independent, they are determined by repeated measurements through a complete measurement chain.
[0063] like Figure 4 As shown, when two allowable position change ranges share a common portion, this is defined as the common position change range. For example, if the first allowable position change range is 0.72mm to 0.92mm and the second allowable position change range is 0.77mm to 0.99mm, the common position change range is 0.77mm to 0.92mm. The reference welding position range is translated along the position change calculation direction according to each position change within the common position change range, and the union of the translated reference welding position ranges is determined as the current allowable position range. When establishing a one-dimensional position coordinate along the position change calculation direction, if the reference welding position range is represented as... The range of common position changes is expressed as If the positive direction of the position change is consistent with the positive direction of the one-dimensional position coordinate, then the current allowed position range is expressed as follows: When the two positive directions are opposite, the sign of the position change is first unified according to the positive direction of the one-dimensional position coordinates before the same calculation is performed. The first candidate weld position range is formed by the candidate weld positions located within the current allowed position range.
[0064] The currently allowed position range represents the possible position envelope formed after each possible position change within the common position change range is applied to the reference welding position range. The first candidate weld position range is used to exclude candidate weld positions that are inconsistent with the position changes supported by both the first and second contour segments, and is not used as a separate allowed position for the welding process. Candidate weld positions located within the first candidate weld position range also need to have a second candidate weld position range determined according to the current local geometry of the joint and welding process qualification data. Only candidate weld positions commonly included by the two candidate weld position ranges form the target weld position range. If the two allowed position change ranges do not have a common portion, the first candidate weld position range is not determined, and re-acquisition processing begins.
[0065] Step S103: Determine the second candidate weld position range based on the relative positions between the first contour segment, the second contour segment, and the transition contour segment, the actual step size, and the allowable weld position range determined from the welding process qualification data based on the actual step size, and jointly determine the target weld position range based on the two candidate weld position ranges.
[0066] like Figure 5 As shown, the intersection between the first contour segment and the transition contour segment is defined as the first boundary, and the intersection between the second contour segment and the transition contour segment is defined as the second boundary. For bevel structures, the intersection of the continuous base material contour and the bevel contour can be used as the boundary; for rounded transition structures, the intersection of the continuous contour fitting result and the rounded corner fitting result can be used as the boundary. When assembly gaps exist, the ends of the two contour segments facing the gap can be used as the corresponding boundaries. The same boundary determination rules are used for structural components of the same specification and for the same joint type.
[0067] The first signed distance of each candidate weld position relative to the first boundary is determined by taking the direction from the first boundary along the candidate position range to the second boundary as the first positive direction; the second signed distance of each candidate weld position relative to the second boundary is determined by taking the direction from the second boundary along the candidate position range to the first boundary as the second positive direction, and both types of distances are determined according to the candidate position coordinates.
[0068] The permissible weld location range is determined from welding procedure qualification data based on the current actual step height and actual transition width, including a first permissible distance range relative to the first boundary and a second permissible distance range relative to the second boundary. Only candidate weld locations where the first signed distance falls within the first permissible distance range and the second signed distance falls within the second permissible distance range are retained, forming the second candidate weld location range. The second candidate weld location range is determined independently of the first candidate weld location range, and both refer to the same set of candidate weld locations.
[0069] like Figure 6 As shown, the target weld position range is formed by the candidate weld positions jointly encompassed by the first and second candidate weld position ranges. When the common candidate positions form a continuous region, this region is taken as the target weld position range; when two or more discontinuous regions are formed, the distance of each region relative to the designed position of the weld joint is determined, and the region that can be uniquely determined and has the smallest distance is retained. When the difference between the corresponding distances of two regions is less than the position interval that the contour sensor 130 can stably distinguish, the current rotation position cannot uniquely form the target weld position range, and the process of re-acquiring the weld position range is initiated.
[0070] The width of the target weld location range is the profile length along the current stepped profile between the first and last candidate weld locations. The trajectory position error evaluation direction is determined according to the allowable deviation direction of the weld position specified in the welding process document, and remains consistent during the determination of the comprehensive position uncertainty, verification of the trajectory fitting error, and calibration of the maximum allowable rotational position interval. The comprehensive position uncertainty is determined based on the profile measurement error, profile fitting error, rotational position synchronization error, coordinate calibration error, and 150° repeatability positioning error of the welding equipment. It is preferably obtained through complete measurement and execution of chain repeat tests, for example, repeating the detection of the known target position at least 30 times, and determining it based on the absolute value of the position deviation of the final spatial target position relative to the known target position along the trajectory position error evaluation direction. The allowable error of trajectory fitting is the maximum allowable position deviation of the fitted trajectory relative to the effective weld target position. Half of the width of the target weld location range, the comprehensive position uncertainty, and the allowable error of trajectory fitting must not exceed the allowable position error of the welding process. When the allowable position error of the welding process is greater than the sum of the comprehensive position uncertainty and the allowable error of the trajectory fitting, the maximum allowable width is determined by twice the difference obtained by subtracting the sum of the comprehensive position uncertainty and the allowable error of the trajectory fitting from the allowable position error of the welding process; when the allowable position error of the welding process is not greater than the sum of the comprehensive position uncertainty and the allowable error of the trajectory fitting, the generation of the complete weld trajectory is stopped, and the failure reason of insufficient position error budget is output.
[0071] Step S104: Determine the target position of the weld seam based on the range of the target position of the weld seam corresponding to each rotation position, and generate the weld seam trajectory based on each target position of the weld seam.
[0072] For each rotational position that can form an effective weld target position range, the intermediate position is determined based on the maximum and minimum position coordinates of the candidate weld positions constituting that range, and this intermediate position is then determined as the weld target position for the current rotational position. When the intermediate position is located between two adjacent candidate weld positions, the position coordinates of the intermediate position are interpolated on the current stepped profile to obtain the position of the weld target position in the profile sensor coordinate system.
[0073] During the equipment installation and commissioning phase, the transformation relationship between the contour sensor 130 coordinate system and the welding equipment 150 reference coordinate system is pre-calibrated, and the position, direction, and zero-point of the actual mechanical rotation axis of the rotating mechanism 110 are calibrated. Based on the rotation position corresponding to each weld target position and the equipment coordinate calibration data, they are transformed to a unified spatial coordinate system. This transformation directly uses the actual mechanical rotation axis and corresponding rotation angle of the rotating mechanism 110, without needing to refit the actual geometric center, actual geometric axis, or clamping eccentricity for each structural component to be welded.
[0074] like Figure 7As shown, multiple spatial weld target positions are arranged in sequence according to their corresponding rotational positions. The spatial weld trajectory can be generated using cubic splines, B-splines, or other curve fitting methods that meet the trajectory position error requirements. The allowable error for trajectory fitting is determined based on the allowable position error of the welding process, the width of the current weld target position range, and the comprehensive position uncertainty. This ensures that half the width of the weld target position range, the sum of the comprehensive position uncertainty and the allowable error for trajectory fitting, does not exceed the allowable position error of the welding process, and that the maximum positional deviation of the fitted trajectory relative to the effective weld target position does not exceed the allowable error for trajectory fitting. When the local fitting error exceeds the allowable error, a scanning position is added to the corresponding rotational region. For a complete circumferential weld, overlapping scanning regions are set at the beginning and end of the rotation cycle, and closure verification is performed in a unified spatial coordinate system. When the closure position deviation exceeds the allowable error for trajectory fitting, the data for the beginning and end regions is reacquired. If the closure requirement is still not met after reacquisition, the generation of the complete weld trajectory is stopped.
[0075] Example 2 illustrates how welding process qualification data and the method for determining the allowable weld position range corresponding to the actual step size are used.
[0076] like Figure 8 As shown, multiple stepped height calibration values and multiple transition width calibration values are set for the same structural component specification, material system, joint type, and predetermined welding process conditions, forming multiple size combinations. Under each size combination, multiple weld positions are set using the same first boundary, second boundary, and distance direction as the actual inspection stage for welding process qualification. Based on the weld appearance, fusion state, penetration depth, undercut, lack of fusion, and other quality indicators specified in the process, the first allowable distance range and the second allowable distance range corresponding to that size combination are determined respectively.
[0077] For example, the step height calibration values can be set to 1.9mm, 2.2mm, and 2.5mm, and the transition width calibration values can be set to 0.8mm, 1.0mm, and 1.2mm, forming nine size combinations. Each allowable distance range is determined by the actual welding procedure qualification results; the example values are only for illustrating the data recording and interpolation process.
[0078] When the actual step height and actual transition width are located between two adjacent corresponding calibration values, bilinear interpolation is performed on the upper and lower boundaries of the first and second allowable distance ranges in the four adjacent size combinations; when one actual size is equal to the corresponding calibration value and the other is located between adjacent calibration values, one-dimensional interpolation is performed along the other size direction; when both actual sizes are equal to the corresponding calibration values, the allowable distance range of the corresponding size combination is directly adopted.
[0079] To determine the effective range for interpolation between adjacent calibration values, when establishing welding procedure qualification data, one or more verification dimension combinations are set within the dimension interval enclosed by two adjacent step height calibration values and two adjacent transition width calibration values. Welding verification is performed using the same welding process conditions and quality judgment criteria as the calibration dimension combinations. Interpolation is performed based on the calibration dimension combinations enclosing this dimension interval to obtain a first allowable distance range and a second allowable distance range corresponding to the verification dimension combinations. When both the first and second allowable distance ranges obtained by interpolation are included within the acceptable distance range obtained from actual welding procedure qualification of the verification dimension combinations, this dimension interval is determined as an effective calibration interval for which interpolation is permitted. If the verification fails, a step height calibration value or a transition width calibration value is added to the corresponding dimension interval for further subdivision, or corresponding welding procedure qualification data is directly established for this dimension interval without interpolating across the dimension interval that failed verification.
[0080] Extrapolation is not used when the actual step height or actual transition width exceeds the calibrated range; if any combination of dimensions involved in interpolation lacks a first or second allowable distance range, that combination is not used for interpolation; if the lower boundary of any interpolated allowable distance range is greater than the upper boundary, the location range of the second candidate weld is uncertain. Corresponding process qualification data are established for different material systems, structural component specifications, joint types, or welding methods. When the main process parameters exceed the existing qualification range, the corresponding data is used or the process qualification is re-performed.
[0081] Example 3 illustrates the process of calculating position changes and determining the numerical range of candidate weld positions.
[0082] Assuming that a first contour segment at a given current rotation position has five valid calculated positions with a reference first contour segment, and signed distances of 0.80mm, 0.83mm, 0.81mm, 0.85mm, and 0.82mm respectively, then the median of 0.82mm is determined as the position change of the first contour segment. For the second contour segment, when the signed distances are 0.87mm, 0.89mm, 0.88mm, 0.90mm, and 0.86mm respectively, 0.88mm is determined as the position change of the second contour segment.
[0083] Assuming the permissible errors for the positional variations of the first and second contour segments are 0.10 mm and 0.11 mm, respectively, the permissible range for the first positional variation is 0.72 mm to 0.92 mm, the permissible range for the second positional variation is 0.77 mm to 0.99 mm, and the permissible range for the common positional variation is 0.77 mm to 0.92 mm. Assuming the current permissible position range obtained from the reference welding position range and the common positional variation range corresponds to candidate position coordinates of 15.7 mm to 16.6 mm, the first candidate weld position range is formed from these candidate weld positions.
[0084] If the actual step height is 2.34mm and the actual transition width is 1.05mm, the corresponding first and second allowable distance ranges are determined according to Example 2, and the same set of candidate positions is screened. Assuming the obtained second candidate weld position range corresponds to 16.0mm to 16.5mm, the candidate positions included by the two candidate weld position ranges form a weld target position range of 16.0mm to 16.5mm. Under the condition that the corresponding comprehensive position uncertainty U, the allowable position error of the welding process E, and the allowable error of trajectory fitting F satisfy EUF = 0.36mm, the maximum allowable width... =2(EUF)=0.72mm. The width W of the target weld position range is 0.50mm, which satisfies W / 2+U+F≤E and is less than the maximum allowable width of 0.72mm. The middle position is 16.25mm. Therefore, 16.25mm is determined as the target weld position corresponding to the current rotation position.
[0085] Example 4 illustrates the effect of different source profile variations on the location range of two candidate welds.
[0086] Changes in the overall position of the structural component primarily alter the positional changes of the first and second contour segments relative to the reference contour data, thereby changing the location range of the first candidate weld. Changes in local misalignment, step height, or transition width of the stepped joint primarily alter the local geometric relationships and the corresponding allowable weld location range, thereby changing the location range of the second candidate weld. When both types of changes exist simultaneously, the location ranges of the two candidate welds change separately, and together they define the target weld location range.
[0087] Example 5 illustrates the process of re-acquiring and supplementing the scan when the target location range of the weld cannot be formed normally.
[0088] like Figure 9 As shown, when the first candidate weld location range or the second candidate weld location range cannot be determined, the two ranges do not have a common candidate weld location, the common candidate location cannot form a unique weld target location range, or the target location range width is greater than the maximum allowable width, the control rotation mechanism 110 is made to return to the corresponding rotation position and reacquire the stepped contour data.
[0089] The stepped contour data acquired in each repeated acquisition are processed according to the aforementioned steps to determine the first candidate weld location range, the second candidate weld location range, and the target weld location range, respectively. When multiple repeated acquisition results exist that can form an effective target weld location range, the set of repeated acquisition results with the smallest sum of fitting errors for the first and second contour segments can be selected as the reacquisition result for the current rotation position. If permitted, the exposure time or gain of the contour sensor 130 can also be adjusted; coordinate calibration is performed again when the sensor's geometric position changes.
[0090] If the original rotation position can form an effective weld target position range after being reacquired, normal trajectory generation continues; if it still cannot form, a scanning position is added between that position and its nearest effective rotation position before and after it. For a complete circumferential weld, the rotation positions within one rotation cycle are processed in circumferential cyclic order, so that the effective rotation positions of the starting and ending regions can be adjacent to each other.
[0091] After adding a new rotational position, the corresponding allowable ranges for position change continuity, actual step height continuity, and actual transition width continuity are determined based on the actual angular interval between it and the adjacent valid rotational positions. The position change continuity, actual step height continuity, and actual transition width continuity are then reassessed. These allowable ranges are calibrated at different angular intervals based on pre-scan data of rotating structural components 120 of the same specification and whose dimensions and assembly state meet design requirements. When the actual angle is between two calibrated intervals, interpolation can be performed based on adjacent calibration results.
[0092] If the original invalid rotation position is still invalid, the invalid position will be removed from the rotation position sequence used for trajectory generation only if the continuity of position change, the continuity of actual step height, and the continuity of actual transition width between the nearest valid rotation positions before and after it all meet the corresponding allowable ranges, and the actual angular interval between the two valid positions is not greater than the maximum allowable rotation position interval. The valid positions before and after it will then be used to participate in trajectory fitting.
[0093] The maximum permissible rotational position interval is determined by dense scanning of structural components of the same specification. Using the dense scanning trajectory as a reference, the target positions of the weld are extracted at different angle intervals and the trajectory is regenerated. The maximum angle interval corresponding to the maximum positional deviation of the generated trajectory relative to the reference trajectory not exceeding the allowable error of trajectory fitting is determined as the maximum permissible rotational position interval.
[0094] When comparing trajectory position deviations, the reference trajectory obtained from dense scanning and the trajectory regenerated at different angular intervals are transformed to the same spatial coordinate system, and the corresponding trajectory points are determined according to the same rotation position. When the regenerated trajectory does not have a direct sampling point at the corresponding rotation position, the corresponding trajectory point is determined based on the fitting result of the trajectory. The position difference between the two corresponding trajectory points in the aforementioned trajectory position error evaluation direction is calculated, and the maximum value among the absolute values of each position difference within a complete rotation cycle is determined as the maximum position deviation. For overlapping regions, the same method is used for comparison in a circumferential cyclical order.
[0095] If an invalid rotation position does not meet the deletion criteria, and there is still an interval greater than the minimum rotation position interval between it and the nearest valid rotation position, and the number of supplementary scans has not reached the maximum number of supplementary scans and the supplementary scan time has not reached the maximum supplementary scan time, then the number of scan positions continues to increase. When the interval to be supplemented decreases to the minimum rotation position interval, or when the maximum number of supplementary scans or the maximum supplementary scan time has been reached but a valid weld target position range still cannot be formed or the deletion criteria are still not met, then the generation of a complete weld trajectory stops, and the range of failed rotation positions and the reason for failure are output.
[0096] The minimum rotational position interval is calibrated based on the angular resolution of the rotating mechanism 110, the repeatability error, and the ability of the contour sensor 130 to acquire independent stepped contour data at the current scanning speed. The interval between adjacent rotational positions is gradually reduced. When the rotating mechanism 110 cannot stably reach two different positions or the angular difference cannot be stably distinguished, the angular interval that can be stably positioned and acquired in the previous step is determined as the minimum rotational position interval.
[0097] Example 6 illustrates the determination of the allowable range of positional change continuity, the allowable range of actual step height continuity, and the allowable range of actual transition width continuity.
[0098] Multiple rotating structural components 120 of the same specification and whose dimensions and assembly states meet the design requirements are pre-scanned. Each component is scanned for at least two complete rotation cycles, and effective step contour data is acquired at multiple rotational position angular intervals. For positional change continuity, the median value of the common positional change range is taken at each effective rotational position, the difference between the corresponding median values of adjacent effective positions is calculated, and the allowable range of positional change continuity is determined based on repeated pre-scan data at different angular intervals. For actual step height continuity and actual transition width continuity, the difference in actual step height and actual transition width between adjacent effective positions are calculated respectively, and the corresponding allowable ranges are determined respectively. The two types of continuity are judged separately. If either continuity does not meet the corresponding allowable range, data is reacquired or scanning positions are added according to Example 5.
[0099] Example 7 illustrates the determination of the comprehensive positional uncertainty and the maximum allowable width of the target weld position range.
[0100] The positional error of the complete detection and execution system can originate from repeated measurements by the contour sensor 130, contour fitting, rotational position synchronization, sensor-to-equipment coordinate calibration, and repeated positioning by the welding equipment 150. Preferably, the system is operated in its normal working state, performing at least 30 repeated detections and position outputs on a structure with a known target position. The positional deviation of the final spatial target position relative to the known target position along the trajectory position error evaluation direction is determined for each iteration. The maximum absolute value of each positional deviation can be determined as the comprehensive positional uncertainty.
[0101] When the sources of error are calibrated to be independent, their respective standard errors can be obtained and then combined. Let the width of the target weld location range be W, the comprehensive positional uncertainty be U, the allowable positional error of the welding process be E, and the allowable trajectory fitting error be F. W, U, E, and F use the same unit of length and correspond to the same trajectory positional error evaluation direction. The target weld location range should satisfy W / 2 + U + F ≤ E; when E > U + F, the maximum allowable width is determined according to... =2(EUF) is determined. The allowable error F for trajectory fitting is the maximum allowable positional deviation of the fitted trajectory relative to the effective weld target position. The actual maximum positional deviation of the fitted trajectory should not be greater than F. When E≤U+F, it indicates that the available positional error budget is insufficient, the generation of the complete weld trajectory is stopped, and the reason for the failure due to insufficient positional error budget is output.
[0102] Example 8 illustrates the stability check of the clamping relationship of the rotating body structure 120 during scanning.
[0103] At the start of each rotation cycle, an initial rotation position is selected and stepped contour data is acquired. After completing one rotation cycle, the rotating mechanism 110 returns to the same rotation position, and stepped contour data for the same detection area is acquired again. The positions of the first and second contour segments and the step dimensions in the two scans are compared. The allowable difference is determined based on the repeatability error of the contour sensor 130, the repeatability positioning error of the rotating mechanism 110, and the coordinate calibration error. If the comparison result exceeds the corresponding allowable range, the data of the current complete rotation cycle is marked as invalid, and an abnormal clamping stability status is output. A fixed angle or eccentricity between the geometric axis of the rotating structural component 120 and the mechanical rotation axis of the rotating mechanism 110 does not directly lead to failure in stability judgment, as long as the two maintain a fixed connection during the scanning process.
[0104] Example 9 illustrates the establishment of parameter data corresponding to different structural component specifications.
[0105] For rotating structural components 120 of the same specification, parameter data corresponding to structural design, contour detection, welding procedure qualification, continuity judgment, supplementary scanning, and trajectory fitting are established. Structural design dimensions are derived from product design documents; the first and second allowable distance ranges are derived from welding procedure qualification; the minimum effective length, allowable fitting error value, direction difference threshold, minimum number of calculated positions, and minimum effective overlap length are derived from contour detection calibration; the allowable continuity range is derived from repeated pre-scan data of structural components of the same specification; the maximum allowable rotational position interval is derived from comparative tests of dense scanning trajectories and trajectories with different extraction intervals; and the maximum number of supplementary scans and the maximum supplementary scan time are determined based on equipment positioning capabilities and production cycle time. When the specifications of the structural component, material system, joint type, installation status of the contour sensor 130, or main welding process conditions exceed the calibration range of the corresponding parameters, the corresponding specification parameters are used or recalibration is performed.
[0106] Example 10, as follows Figure 10 As shown, this embodiment provides a controller 140 for performing the above method.
[0107] The controller 140 includes a processor, a memory, a contour data interface, a rotation position interface, a device control interface, and a trajectory output interface. The contour data interface is used to acquire the stepped contour data output by the contour sensor 130; the rotation position interface is used to acquire the rotation position and its corresponding time output by the rotation mechanism 110; the device control interface is used to output contour acquisition commands to the contour sensor 130 and rotation positioning commands to the rotation mechanism 110; the trajectory output interface is used to output the weld trajectory to the welding equipment 150 or the upper control system; and the memory is used to store control programs, structural component design data, welding process qualification data, and detection and control parameters.
[0108] When the processor executes the program in memory, it performs the aforementioned method for generating weld seam trajectories for rotating structural members based on stepped contours, according to the data obtained through the contour data interface and the rotation position interface. It also controls the contour sensor 130 and the rotation mechanism 110 through the device control interface. When the trajectory generation conditions are met, the weld seam trajectory is output through the trajectory output interface. If situations arise such as the candidate weld seam position range being undetermined, the weld seam target position range being invalid, or supplementary scanning failing, corresponding re-acquisition, supplementary scanning, or failure output processing is performed.
[0109] The embodiments listed in this specification are used to illustrate the technical solutions of the present invention and do not constitute a limitation on the scope of protection of the present invention. Those skilled in the art can make appropriate adjustments based on actual application situations without departing from the technical concept of the present invention.
Claims
1. A method for generating weld seam trajectories of rotating structural components based on stepped profiles, characterized in that, include: Obtain stepped contour data of multiple rotational positions of the rotating body structural component, and determine the first contour segment, the second contour segment, the transition contour segment between the two, and the candidate weld positions; For the same set of candidate weld positions at each rotation position, the allowable range of position change is determined based on the position changes of the first and second contour segments relative to the corresponding reference contour segments in the reference contour data. The common part of the two allowable position change ranges is determined as the common position change range. The range of the first candidate weld position is determined based on the common position change range and the range of the reference welding position. Two boundaries are determined based on the intersection of the first contour segment and the transition contour segment, and the intersection of the second contour segment and the transition contour segment. The allowable weld position range relative to the two boundaries is determined from the welding process qualification data based on the actual step height and the actual transition width. The range of the second candidate weld position is determined based on the positional relationship of each candidate weld position relative to the two boundaries. The target weld location range for this rotational position is formed by the candidate weld locations that are jointly included by the two candidate weld location ranges; The target position of each weld is determined based on the target position range of each weld, and the weld trajectory is generated.
2. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 1, characterized in that, Determining the positions of the first contour segment, the second contour segment, the transition contour segment, and the candidate weld seam based on the contour data of each step includes: The continuous contour data in the stepped contour data are fitted, and the first contour segment and the second contour segment located on both sides of the weld joint are determined according to the contour continuity and contour direction change, and the transition contour segment between the two is determined. The actual step height is determined based on the distance between the first contour segment and the second contour segment along the step height measurement direction, and the actual transition width is determined based on the distance between the two boundary positions of the transition contour segment along the transition width measurement direction. Based on the transition profile segment and the designed position of the weld joint, a range of candidate positions is determined. In order from the boundary of the transition profile segment near the first profile segment to the boundary of the second profile segment, multiple candidate weld positions are determined within the range of candidate positions. Taking the end of the candidate position range near the first profile segment as the starting position, the corresponding position coordinates are determined according to the profile length of each candidate weld position relative to the starting position along the current stepped profile.
3. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 2, characterized in that, The reference contour data is determined in the following way: A pre-scan of one rotation cycle is performed on the rotating body structure. From multiple rotation positions, rotation positions are selected where the effective lengths of the first and second contour segments are not less than the minimum effective length, the fitting errors are not greater than the allowable fitting error value, the actual step height and the actual transition width are within the allowable range of the corresponding design dimensions, and the transition contour segments can be determined. From the selected rotation positions, determine the rotation position with the smallest sum of fitting errors for the first and second contour segments as the reference rotation position; The reference first contour segment and the reference second contour segment are determined based on the first contour segment and the second contour segment corresponding to the reference rotation position, and the reference welding position range is determined based on the design position relationship between the designed welding joint position and the reference first contour segment, the reference second contour segment and the transition contour segment corresponding to the reference rotation position. The reference first contour segment, the reference second contour segment, and the reference welding position range constitute the reference contour data; When no rotational position meets the screening criteria, the reference contour data is not determined and the generation of weld trajectory is stopped.
4. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 3, characterized in that, Determining the common position variation range and the first candidate weld position range includes: In the current first contour segment and the current second contour segment, determine the continuous contour portions that do not intersect with the transition contour segment; When the directional difference between the reference first contour segment and the reference second contour segment is not greater than the directional difference threshold determined by calibration, the normal directions of the two segments are adjusted to point in the same direction, and the position change calculation direction is determined based on the normalized average direction of the two normal directions; when the directional difference is greater than the directional difference threshold, the position change calculation direction is determined based on the structural component design data. The positional change of the current first contour segment relative to the reference first contour segment and the positional change of the current second contour segment relative to the reference second contour segment are determined respectively; Centered on each of the aforementioned position changes, the corresponding allowable position change error is determined based on the contour measurement error, coordinate calibration error, rotation position synchronization error, and fitting error of the corresponding contour segment. The corresponding allowable position change range is then determined based on the position change and the allowable position change error. When two allowable position change ranges have a common part, the common part is determined as the common position change range. The reference welding position range is translated along the position change calculation direction according to each position change within the common position change range. The union of each translated reference welding position range is determined as the current allowable position range. The first candidate weld position range is formed by the candidate weld positions located within the current allowable position range. When the two allowable ranges of positional change do not have a common part, the position range of the first candidate weld is uncertain.
5. The method for generating weld trajectories of a rotating structural component based on a stepped profile according to claim 2, characterized in that, Determining the range of the second candidate weld location includes: The intersection of the first contour segment and the transition contour segment is defined as the first boundary, and the intersection of the second contour segment and the transition contour segment is defined as the second boundary. The allowable location range of the weld includes a first allowable distance range relative to the first boundary and a second allowable distance range relative to the second boundary; Using the direction from the first boundary along the candidate position range towards the second boundary as the first positive direction, a first signed distance of each candidate weld position relative to the first boundary is determined; using the direction from the second boundary along the candidate position range towards the first boundary as the second positive direction, a second signed distance of each candidate weld position relative to the second boundary is determined. The second candidate weld location range is formed by the candidate weld locations where the first signed distance is within the first allowable distance range and the second signed distance is within the second allowable distance range.
6. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 4, characterized in that, The positional change of the current first contour segment relative to the reference first contour segment and the positional change of the current second contour segment relative to the reference second contour segment are determined by the following methods: Along a direction perpendicular to the calculated position change direction, multiple calculation positions are determined within a range where the current contour segment and the corresponding reference contour segment both have valid data. Draw a straight line parallel to the direction of position change calculation at each calculation position, retain the calculation positions where the straight line forms a unique intersection with the current fitted contour and the corresponding reference fitted contour, and calculate the signed distance between the two intersection points along the direction of position change calculation. The median of the multiple signed distances is determined as the positional change of the current contour segment relative to the corresponding reference contour segment; When the number of valid calculated positions is less than the number of valid calculated positions, or when the effective overlap length between the current contour segment and the corresponding reference contour segment is less than the minimum effective overlap length, the positional change of the current contour segment relative to the corresponding reference contour segment is uncertain.
7. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 5, characterized in that, The allowable weld location range is determined from the welding procedure qualification data based on the actual step height and the actual transition width, including: For the same structural component specification, material system, joint type, and predetermined welding process conditions, multiple step height calibration values and multiple transition width calibration values are set. The first allowable distance range and the second allowable distance range corresponding to the size combination formed by each step height calibration value and each transition width calibration value are determined through welding process qualification, and the welding process qualification data is formed. When the current actual step height is between two adjacent step height calibration values and the current actual transition width is between two adjacent transition width calibration values, bilinear interpolation is performed on the lower and upper boundaries of the first and second allowable distance ranges corresponding to the four size combinations, respectively. When one of the current actual step height and the current actual transition width is equal to the corresponding calibration value and the other is located between two adjacent corresponding calibration values, one-dimensional interpolation is performed on the lower and upper boundaries of the first and second allowable distance ranges corresponding to the two size combinations, respectively. When both the current actual step height and the current actual transition width are equal to the corresponding calibration values, the first and second allowable distance ranges of the corresponding size combination are adopted. Based on the interpolation results or the data of the corresponding size combination, determine the allowable weld position range corresponding to the current actual step height and the current actual transition width; The bilinear or one-dimensional interpolation is performed only when the corresponding size interval is confirmed to be valid by the verified size combination. The verified size combination adopts the same welding process conditions and quality judgment standards as the corresponding calibration size combination. When the first allowable distance range and the second allowable distance range obtained by interpolation based on the calibration size combination used to define the size interval are both included in the corresponding qualified distance range obtained by welding process evaluation of the verified size combination, the size interval is determined as a valid calibration interval. If the verification fails, interpolation is not performed across the size interval. When the current actual step height or the current actual transition width exceeds the size range covered by the corresponding calibration value, any size combination involved in determining the allowable position range of the weld lacks a first allowable distance range or a second allowable distance range, or the lower boundary of any allowable distance range obtained by interpolation is greater than the upper boundary, the position range of the second candidate weld is uncertain.
8. The method for generating weld trajectories of a rotating structural component based on a stepped profile according to claim 1, characterized in that, When the first candidate weld location range or the second candidate weld location range cannot be determined, the two candidate weld location ranges do not have a common candidate weld location, the common candidate weld locations cannot form a unique weld target location range, or the width of the weld target location range is greater than the maximum allowable width, the stepped contour data is reacquired at the corresponding rotation position and the weld target location range is redefined. If an effective weld target position range cannot be formed after reacquisition, a scanning position is added between the rotation position and the nearest effective rotation position before and after it, and the corresponding weld target position range is determined based on the stepped contour data of the newly added rotation position. The width of the target weld location range is the contour length along the current step profile between the first candidate weld location and the last candidate weld location constituting the target weld location range. The maximum allowable width satisfies the following condition: half of the maximum allowable width plus the comprehensive positional uncertainty is not greater than the allowable positional error of the welding process. The comprehensive positional uncertainty is determined based on the contour measurement error, contour fitting error, rotational position synchronization error, coordinate calibration error, and welding equipment repeatability positioning error. When the overall positional uncertainty is not less than the allowable positional error of the welding process, stop generating the complete weld trajectory and output the failure reason that the system positional accuracy cannot meet the welding process requirements.
9. The method for generating weld seam trajectories of a rotating structural component based on a stepped profile according to claim 8, characterized in that, After adding a scanning position, the new rotation position is inserted into the existing rotation position sequence according to the rotation angle. The corresponding allowable range of position change continuity, allowable range of actual step height continuity, and allowable range of actual transition width continuity are determined according to the actual angular interval between the new rotation position and the adjacent effective rotation position. The position change continuity, actual step height continuity, and actual transition width continuity between adjacent effective rotation positions are re-evaluated. The allowable range of position change continuity, the allowable range of actual step height continuity, and the allowable range of actual transition width continuity are determined according to the pre-scanning data of rotating body structural components of the same specification and whose dimensions and assembly state meet the design requirements, and at different rotation position angle intervals. The original rotation position that still cannot form an effective weld target position range after reacquiring the stepped contour data is determined as an invalid rotation position. When the continuity of position change, the continuity of actual step height, and the continuity of actual transition width between the two effective rotation positions located in front of and behind the invalid rotation position and closest to it all meet the corresponding continuity allowable range, and the actual angular interval between the two effective rotation positions is not greater than the maximum allowable rotation position interval, the invalid rotation position is deleted from the rotation position sequence used to generate the weld trajectory. The maximum allowable rotational position interval is determined by performing dense scanning on rotating structural components of the same specification, extracting the target position of the weld seam at different angle intervals and generating a trajectory, with the condition that the maximum positional deviation of the generated trajectory relative to the densely scanned trajectory is not greater than the allowable error of trajectory fitting. When the invalid rotation position does not meet the deletion condition, and there is still an interval greater than the minimum rotation position interval between the invalid rotation position and its nearest valid rotation position, and the number of supplementary scans has not reached the maximum number of supplementary scans, and the supplementary scan time has not reached the maximum supplementary scan time, the scanning position continues to be added within the interval. When the interval to be supplemented is reduced to the minimum rotation position interval, or the supplementary scan reaches the maximum number of supplementary scans or the maximum supplementary scan time, and an effective weld target position range still cannot be formed or the deletion condition is still not met, the generation of a complete weld trajectory is stopped, and the failed rotation position range and the reason for failure are output.
10. A controller, characterized in that, Includes a processor, memory, contour data interface, rotational position interface, device control interface, and trajectory output interface; The contour data interface is used to acquire the stepped contour data output by the contour sensor; The rotation position interface is used to obtain the rotation position output by the rotation mechanism; The device control interface is used to output contour acquisition commands to the contour sensor and rotation positioning commands to the rotation mechanism. The trajectory output interface is used to output the generated weld trajectory; The memory stores a program, which, when executed by the processor, causes the controller to perform a method for generating weld trajectories of a rotating body structure based on a stepped profile, as described in any one of claims 1 to 9.
