Multi-axis linkage control method and system for synchronous composite additive manufacturing
By constructing a mobile control model of reinforcement learning and PID algorithms, the process parameters and incident angle can be adjusted in real time, which solves the problem of collaborative operation of process parameters in simultaneous composite additive manufacturing of laser cladding and cold spraying, and improves processing accuracy and efficiency.
Patent Information
- Application Number
- CN202410955155.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-07-17
AI Technical Summary
In the existing technology, during the simultaneous composite additive manufacturing process of laser cladding and cold spraying, it is difficult to accurately control the coordinated operation of the two process parameters, resulting in thermal deformation, microstructural changes and uneven heat distribution, affecting processing efficiency and accuracy.
Set initial process parameters by obtaining workpiece attribute parameters, use visual sensors to correct the position of the processing head, build a mobile control model with reinforcement learning and PID algorithms, monitor processing indicators in real time, adjust process parameters and incident angles, and optimize processing paths and parameters.
It improves the accuracy and efficiency of simultaneous composite additive manufacturing, ensures that the process parameters of laser cladding and cold spraying are always in the optimal state, and is suitable for additive manufacturing of complex workpieces.
Smart Images

Figure CN118492415B
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of electrical and electronic technology, and in particular relates to a multi-axis linkage control method and system for synchronous composite additive manufacturing. Background Art
[0002] With the rapid development of modern manufacturing, the requirements for the surface performance of parts are increasing. Researchers and engineers have begun to explore the synchronous composite additive manufacturing method that combines laser cladding and cold spray technology, aiming to integrate the advantages of both and create a more efficient, economical and high-performance surface treatment technology; At present, the application of laser cladding and cold spray synchronous composite additive manufacturing is still in the research and development stage, and there are several key technical difficulties. First, how to accurately control the collaborative operation of two different processes is the primary issue; second, the high temperature generated during the laser cladding process may affect the cold spray coating, resulting in thermal deformation, microstructural changes and other problems, and the thermal conductivity of the cold spray material may affect the heat distribution during the laser cladding process.
[0003] For example, Chinese patent publication number CN116586756A discloses a method and apparatus for pulsed laser shock-additive composite manufacturing of ultrafine eutectic high entropy alloys, comprising the following steps: S1, constructing a model of the target to be constructed, determining additive manufacturing parameters, and synchronously obtaining pulsed laser shock parameters; S2, determining pulsed laser operating parameters based on the model, substrate parameters, and additive manufacturing parameters; S3, slicing and layering the model, and synchronously applying pulsed laser shock to the liquid molten pool in any single-layer additive manufacturing; S4, judging whether the layer meets the conditions for eutectic coupled diffusion growth and the formation conditions for fine equiaxed crystals through subsequent microstructural analysis: (1) If yes, continue to manufacture the next layer according to the imported pulsed laser-additive manufacturing composite process parameters until the layered manufacturing of the target to be constructed is completed; (2) If not, jump to step S3.
[0004] For example, a Chinese patent with authorization announcement number CN114769798B discloses a motion compensation method for arc deformation composite additive manufacturing of titanium alloy. The technical solution adopted is to design a segmented PLC control system for arc voltage and deformation pressure. During the forming process, the height information of the formed part is collected according to the change of arc pressure, and the information is synchronously fed back to the accompanying deformation mechanism for motion position adjustment. The auxiliary pressure sensor determines the motion speed and direction compensation control in advance until the component completes the arc deformation composite additive manufacturing continuously and stably.
[0005] The above existing technologies have the following problems: 1) There are some deficiencies in how to achieve synchronous and coordinated optimization of corresponding process parameters during laser cladding and cold spraying; 2) There are still specific difficulties in how to accurately control the synchronous operation of two different processes and enable the laser and cold spraying processing equipment to be in the optimal working path state in real time; for this reason, the present invention provides a multi-axis linkage control method and system for synchronous composite additive manufacturing. Summary of the invention
[0006] In view of the shortcomings of the prior art, the present invention proposes a multi-axis linkage control method for synchronous composite additive manufacturing. The method first sets the initial process parameters of laser cladding and cold spraying through the workpiece attribute parameters to generate an initial processing path. Secondly, the relative position of the workpiece and the processing head is corrected by a visual sensor to determine the initial incident angle. Thirdly, a mobile control model is constructed using reinforcement learning and PID algorithm and integrated into the initial path to achieve dynamic processing and real-time monitoring of processing indicators. When the error exceeds the threshold, the process parameters, movement speed and incident angle are adjusted through the mobile control model to optimize the processing path and process parameters in real time. The present invention improves the accuracy and efficiency of synchronous composite additive manufacturing and is suitable for additive manufacturing of complex workpieces.
[0007] To achieve the above object, the present invention provides the following technical solutions:
[0008] A multi-axis linkage control method for synchronous composite additive manufacturing, comprising:
[0009] S1. Obtaining the property parameters of the workpiece to be processed, setting the initial process parameters of laser cladding and cold spraying according to the property parameters of the workpiece to be processed, and generating the initial path of laser cladding and cold spraying according to the property parameters of the workpiece and the initial process parameters using 3D software and auxiliary manufacturing software;
[0010] S2, obtaining the initial position information of the workpiece to be processed, the laser processing head and the cold spray processing head, using the visual sensor to initialize the correction and positioning of the workpiece, the laser processing head and the cold spray processing head according to the obtained starting position information, and obtaining the initial incident angle of the laser processing head and the cold spray processing head to the workpiece to be processed after correction;
[0011] S3, setting the initial moving speed and acceleration of the laser processing head and the cold spray processing head, and constructing and training the mobile control model using reinforcement learning and PID algorithm according to the acquired workpiece position information, the calibrated processing head position information, the initial incident angle of the processing head and the initial process parameters, to obtain the trained mobile control model;
[0012] S4, integrating the trained mobile control model into the generated initial path, and controlling the laser processing head and the cold spray processing head to dynamically process the workpiece to be processed;
[0013] S5. Setting a processing index threshold, and using an integrated sensor configured with a nondestructive testing algorithm to monitor the laser cladding and cold spraying processing index data in real time, comparing the processing index data with the processing index threshold, and obtaining a processing index error;
[0014] S6, feeding back the obtained index error to the motion control model, obtaining the process parameters, the moving speed and the incident angle adjustment amount, and using the obtained adjustment amount to adjust the moving path and process parameters of the laser processing head and the cold spray processing head in real time;
[0015] The specific steps of calculating the initial incident angle in S2 include:
[0016] S201, according to the attribute parameter data of the workpiece to be processed, the center of gravity position of the workpiece to be processed is set as the origin of the o-xyz coordinate, and according to the set o-xyz coordinate, the processing starting point position information of the workpiece to be processed is calibrated;
[0017] S202, according to the initial position information of the laser processing head and the cold spray processing head in the o-xyz coordinate, using the visual sensor, the set o-xyz coordinate and the processing starting point position information, correct the initial positions of the laser processing head and the cold spray processing head, and obtain the first corrected position of the laser processing head and the first corrected position of the cold spray processing head;
[0018] S203, according to the first correction position of the laser processing head obtained , Cold spray processing head first calibration position The initial incident angles of the laser processing head and the cold spray processing head are calculated by trigonometric functions based on the processing starting point.
[0019] The constructed mobile control model is configured with an error consistency compensation strategy. The specific steps include:
[0020] S301, according to the first calibration position of the laser processing head obtained First calibration position of cold spray processing head , calculate the position difference of the first correction position of the machining head , and according to the initial incident angle of the laser processing head and initial incident angle of cold spray processing head Calculate the initial incident angle difference of the processing head .
[0021] The steps of constructing the error consistency compensation strategy also include:
[0022] S302. Setting the comprehensive scoring threshold for processing completion , set the dynamic laser power threshold at time t to , set the cold spray processing head to cover the rth processing area as , the dynamic spray flow threshold of cold spray material is , the thickness threshold of the workpiece to be processed is , construct the following constraints based on the set parameters:
[0023] ,
[0024] Where f represents the comprehensive score of workpiece processing completion, Indicates the comprehensive score threshold of workpiece processing completion. represents the true value of laser power at time t, Indicates the actual spraying area of the cold spray processing head at time t, Indicates the actual value of the spray flow rate of the cold spray processing head at time t, It indicates the true value of the machining thickness of the workpiece to be machined at time t.
[0025] Specifically, the constraint conditions set in S302 configure the following error compensation consistency movement control trigger conditions, and in the following configuration, the movement running time of the laser processing head and the cold spray processing head are kept consistent. The specific trigger conditions include:
[0026] S3031, comparing the actual value of the laser power with the dynamic laser power threshold, and if the constraint condition is not satisfied, triggering the first information compensation information;
[0027] S3032, comparing the actual value of the machining thickness of the workpiece to be machined with the thickness threshold of the workpiece to be machined, and if the constraint condition is not satisfied, triggering the second information compensation information;
[0028] S3033, comparing the expected coverage area of the area to be processed by the cold spray processing head with the actual spraying area of the cold spray processing head, and if the constraint condition is not met, triggering the third information compensation information;
[0029] S3034. When any two or more constraint conditions in S3031-S3033 are not satisfied, the fourth compensation information is triggered, and the corresponding trigger compensation information is jointly executed;
[0030] S3035, when the constraint condition is satisfied , then the compensation information conditions in S3031-S3034 are not triggered. When the constraint conditions are not met , the compensation information condition is triggered, and the constraint conditions in S3031-S3034 are compared accordingly to obtain the corresponding first compensation information, second compensation information, third compensation information and fourth compensation information.
[0031] Specifically, the specific control action calculation process executed by triggering the first compensation information includes:
[0032] According to the power deviation obtained in S302, the corresponding laser power adjustment amount is calculated using the trained mobile control model , compensating and adjusting the laser power in the set initial process parameters;
[0033] The specific control action calculation process executed by triggering the second compensation information includes:
[0034] According to the thickness deviation obtained in S302, the spraying speed adjustment amount of the corresponding cold spraying processing head is calculated using the trained mobile control model, and the cold spraying material flow rate in the set initial process parameters is compensated and adjusted.
[0035] Specifically, the specific control action calculation process executed by triggering the third compensation information includes:
[0036] A1. According to the spraying area error obtained in S302, the acceleration adjustment corresponding to the laser processing head and the cold spray processing head is calculated using the trained mobile control model. and ,use and Adjusting the initial acceleration of the laser processing head and the cold spray processing head;
[0037] A2. Using the adjusted initial acceleration, dynamically compensate and adjust the initial speeds of the laser processing head and the cold spray processing head;
[0038] A3, according to the initial speeds of the laser processing head and the cold spray processing head after adjustment and compensation, the first correction position of the laser processing head and the first correction position of the cold spray processing head, the second correction position of the laser processing head and the second correction position of the cold spray processing head are calculated, and the second correction position position difference is calculated using the second correction position of the laser processing head and the second correction position of the spraying equipment ;
[0039] A4, using the second calibration position of the laser processing head, the second calibration position of the cold spray processing head, the set o-xyz coordinates, and the initial incident angle of the laser processing head and initial incident angle of cold spray processing head The incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes are calculated, and the first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head in the o-xyz coordinate are obtained in turn by using the calculated incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes. The first corrected incident angle difference is calculated according to the obtained first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head. ;
[0040] A5. The first corrected incident angle difference and the second correction position difference and inputting the speed adjustment amounts corresponding to the laser processing head and the cold spray processing head into the acquired initial path to adjust the initial path, thereby acquiring a first moving trajectory adjustment path;
[0041] A6. According to the above A1-A5 process, the first adjustment movement trajectory path is adjusted in real time through the processing data collected in real time to obtain the optimal processing trajectory path for the entire processing process.
[0042] A multi-axis linkage control system for synchronous composite additive manufacturing, comprising: a data processing module, a correction module, and a control model generation module;
[0043] A data processing module is used to obtain the property parameters of the workpiece to be processed and the initial positions of the laser processing head and the cold spray processing head, and to set the initial processing parameters and the initial moving speed and acceleration;
[0044] A correction module, used for correcting the initial positions of the laser processing head and the cold spray processing head using a visual sensor according to the acquired initial positions;
[0045] The control model generation module is used to build and train a mobile control model based on the acquired initial path, initial process parameters, workpiece attribute parameters, initial movement speed and acceleration, and correction position information, using reinforcement learning and PID control algorithms to control the workpiece processing process.
[0046] Specifically, the correction module includes a visual sensor unit and an angle calculation unit; the visual sensor unit is used to perform initial correction position correction on the workpiece and the laser and cold spray processing heads through the visual sensor according to the acquired initial position of the equipment; the angle calculation unit is used to obtain the initial incident angle of the laser processing head and the initial incident angle of the cold spray processing head by using trigonometric function calculation according to the set o-xyz coordinates and the first correction position of the laser processing head and the first correction position of the cold spray processing head obtained by the correction.
[0047] Specifically, a computer-readable storage medium stores computer instructions, which, when executed, execute a multi-axis linkage control method for synchronous composite additive manufacturing.
[0048] Compared with the prior art, the present invention has the following beneficial effects:
[0049] In view of the deficiencies in the prior art, the present invention constructs a mobile control model by utilizing processing parameters and attribute parameters, and constructs constraint configuration conditions on the process parameters in the constructed model, so that each process parameter can approach the optimal value individually while also coordinating the configuration conditions, so that the process parameters are interconnected and jointly optimize the processing control process, so that the laser cladding and cold spraying process parameters are always under optimal adjustment, thereby improving the processing progress.
[0050] The present invention aims at the problem of coordinated control of a laser processing head and a cold spray processing head. By constructing spatial coordinates, the device position difference and the incident angle difference are obtained, and the constructed mobile control model is used to adjust the movement speed of the laser processing head and the cold spray processing head in real time, and then the device position difference and the incident angle difference are adjusted, so that the devices can maintain a fixed synchronous working state while achieving the change control of the operation trajectory of a single device. In addition, the present invention uses computer-aided software to generate an initial processing path, and controls the path by constructing a control model, which reduces the difficulty of constructing the control process and improves the practicability of the method of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is a flow chart of a multi-axis linkage control method for synchronous composite additive manufacturing according to Embodiment 1 of the present invention;
[0052] Figure 2 This is a flow chart of the initial incident angle calculation process of Example 1 of the present invention;
[0053] Figure 3 This is a spatial structure diagram of the initial incident angle of embodiment 1 of the present invention;
[0054] Figure 4 This is a diagram of the triggering condition architecture of error compensation consistency movement control according to Embodiment 1 of the present invention;
[0055] Figure 5 This is an architecture diagram of a multi-axis linkage control system for synchronous composite additive manufacturing according to Example 2 of the present invention. DETAILED DESCRIPTION
[0056] Example 1
[0057] See also Figure 1 , an embodiment provided by the present invention: a multi-axis linkage control method for synchronous composite additive manufacturing, comprising the following steps:
[0058] S1. Calibrate the multi-axis mechanical platform using a laser interferometer, measure the workpiece to be processed using an ultrasonic experimental instrument, obtain the property parameters of the workpiece to be processed, set the initial process parameters of laser cladding and cold spraying according to the property parameters of the workpiece to be processed, and use 3D software and auxiliary manufacturing software to generate the initial path of laser cladding and cold spraying according to the workpiece property parameters and initial process parameters;
[0059] S2, obtaining the initial position information of the workpiece to be processed, the laser processing head and the cold spray processing head, using the visual sensor to initialize the correction and positioning of the workpiece, the laser processing head and the cold spray processing head according to the obtained starting position information, and obtaining the initial incident angle of the laser processing head and the cold spray processing head to the workpiece to be processed after correction;
[0060] Furthermore, in this embodiment, the attribute parameters of the workpiece to be processed include workpiece size, workpiece shape, workpiece material density, and processing area; the workpiece size determines the size and boundary of the processing area to ensure that the generated path does not exceed the actual range of the workpiece; the workpiece shape determines the complexity and directionality of the processing path;
[0061] For further information, see Figure 2 and Figure 3 The specific steps of calculating the initial incident angle in S2 of this embodiment include:
[0062] S201. According to the attribute parameter data, the center of gravity of the workpiece to be processed is set as the origin of the o-xyz coordinate, and according to the set o-xyz coordinate, the position information of the processing starting point of the workpiece to be processed is calibrated; in this embodiment, the workpiece is placed in the processing area of the multi-axis mechanical platform, and the center of gravity of the processed workpiece is obtained according to the workpiece size, workpiece shape and workpiece material density data, and the center of gravity is used as the origin of the o-xyz coordinate in this embodiment; the center of gravity of the workpiece can accurately display the mass and density distribution of the processed material. By taking the center of gravity as the origin, the material density is large and the difficult-to-process position area can be placed in the processing center, so that the processing process is more balanced;
[0063] S202, according to the initial position information of the laser processing head and the cold spray processing head in the o-xyz coordinate, using the visual sensor, the set o-xyz coordinate and the processing starting point position information, correct the initial positions of the laser processing head and the cold spray processing head, and obtain the first corrected position of the laser processing head and the first corrected position of the cold spray processing head;
[0064] S203, according to the first correction position of the laser processing head obtained , Cold spray processing head first calibration position And the processing starting point position, the initial incident angle of the laser processing head is calculated by trigonometric function and initial incident angle of cold spray processing head ;
[0065] Further, the laser projection angle segment is obtained through the first correction position of the laser processing head and the processing starting point position, and the laser projection angle segment is projected onto the xy plane in the o-xyz coordinate to obtain the projection segment, and the initial incident angle of the laser processing head is calculated by using the inverse cosine trigonometric function according to the obtained laser projection angle segment and the corresponding projection segment; according to the process of obtaining the initial incident angle of the laser processing head, the initial incident angle of the cold spray processing head is obtained in the same way;
[0066] S3, setting the initial moving speed and acceleration of the laser processing head and the cold spray processing head, and constructing and training the mobile control model using reinforcement learning and PID algorithm according to the acquired workpiece position information, the calibrated processing head position information, the initial incident angle of the processing head and the initial process parameters, to obtain the trained mobile control model;
[0067] S4, integrating the trained mobile control model into the generated initial path, and controlling the laser processing head and the cold spray processing head to dynamically process the workpiece to be processed;
[0068] S5. Setting a processing index threshold, and using an integrated sensor configured with a nondestructive testing algorithm to monitor the laser cladding and cold spraying processing index data in real time, comparing the processing index data with the processing index threshold, and obtaining a processing index error;
[0069] Furthermore, in this embodiment, the processing index includes a comprehensive score of processing completion, and the processing sub-indicators include the processing thickness of the workpiece to be processed, the spraying area of the cold spray processing head, and the defect degree score of the processing area, and the priority of the processing sub-indicators is lower than the processing index;
[0070] Furthermore, the defect degree score of the processing area in this embodiment is achieved by a high-precision defect detection and evaluation algorithm configured in the integrated sensor, and the specific steps are as follows:
[0071] S501, collecting defect detection history images after laser cladding and cold spraying processing of materials with the same or similar property parameters, and using expert annotation to annotate the defect types in the images with anchor frames, and annotate the defect scores of the annotated anchor frames to obtain a defect detection dataset for processed workpieces;
[0072] S502, constructing a defect detection evaluation model by using the VIT model pre-trained with the imagenet dataset, and fine-tuning the defect detection evaluation model using the constructed workpiece defect detection dataset;
[0073] S503, configuring the fine-tuned defect detection and evaluation model into the integrated sensor to perform real-time detection and scoring of workpiece defects during the processing;
[0074] The nondestructive testing algorithms configured in this embodiment include ultrasonic testing algorithms, eddy current testing algorithms, X-ray / CT scanning algorithms, and optical coherence tomography algorithms;
[0075] Furthermore, the calculation of the processing completion comprehensive score includes:
[0076] S511, using the obtained processing thickness, the spraying area of the cold spray processing head and the set corresponding processing sub-indicator threshold to calculate the corresponding sub-indicator deviation, and using the calculated sub-indicator deviation and the processing sub-indicator threshold to calculate the weighted proportion corresponding to the processing thickness and the spraying area of the cold spray processing head;
[0077] S512, multiply the calculated weighted proportion by the corresponding sub-indicator deviation and add the result, and then add the result to the obtained workpiece defect real-time detection score to obtain the processing completion comprehensive score f.
[0078] S6. Feedback the obtained index error to the mobile control model to obtain the process parameters, moving speed and incident angle adjustment amount, and use the obtained adjustment amount to adjust the moving path and process parameters of the laser processing head and the cold spray processing head in real time, so that the monitored processing index is consistent with the processing index threshold in real time.
[0079] Furthermore, the specific steps of generating the initial path of laser cladding and cold spraying in S1 include:
[0080] S101, input the acquired attribute parameters of the workpiece to be processed into the CAD software, construct a three-dimensional model of the workpiece to be processed, mark the corresponding sequence of workpiece regions to be processed on the constructed three-dimensional model through the CAD software, and number the marked regions to be processed in order of their distance from the processing starting point, to obtain a sequence R of regions to be processed, ,in represents the i-th processing area in the processing workpiece;
[0081] S102, input the acquired attribute parameters of the workpiece to be processed, the sequence of the areas to be processed, the initial position information of the laser processing head and the cold spray processing head, and the initial process parameters into the CAM software to generate the initial paths of laser cladding and cold spraying; further, the specific operation steps of generating the initial paths of laser cladding and cold spraying in the software include:
[0082] S1011. Open a new project in the CAD software and import the file containing the attribute parameters of the workpiece to be processed into the software; the file format includes DXF, STEP, IGES or other 3D model format files;
[0083] S1012. Using a modeling tool of the CAD software, create a three-dimensional model of the workpiece according to the imported data;
[0084] S1013. After completing the construction of the 3D model, use the annotation or sketch function of the software to mark the areas where laser cladding and cold spraying are required on the corresponding parts of the workpiece;
[0085] S1014, numbering the marked areas to be processed according to their distance from the processing starting point;
[0086] S1021, input the three-dimensional model established in steps S1011-S1014 and the determined initial process parameters into the CAM software, wherein the initial process parameters include laser power, scanning speed, and cold spray material flow rate; laser power: controls the energy of the laser beam, affecting the depth and width of the cladding layer; scanning speed: the speed at which the laser head moves on the workpiece surface, affecting the formation efficiency and surface quality of the cladding layer; cold spray material flow rate: the rate at which the cold spray device sprays particles (such as metal powder, ceramic powder, etc.), affecting the thickness and uniformity of the coating; the property parameters of the workpiece to be processed also include specific heat capacity and thermal conductivity, and the surface state of the workpiece; this step ensures that subsequent path planning is based on accurate physical and geometric data;
[0087] S1022, generating an initial processing path for laser cladding and cold spraying according to the three-dimensional model of the workpiece and the input process parameters;
[0088] Furthermore, in this embodiment S3, a mobile control model is constructed and trained using reinforcement learning and PID algorithm, and an error consistency compensation strategy is configured. The specific steps include:
[0089] S301, according to the first calibration position of the laser processing head obtained First calibration position of cold spray processing head , calculate the first correction position difference between the laser processing head and the cold spray processing head , and according to the initial incident angle of the laser processing head and initial incident angle of cold spray processing head Calculate the initial incident angle difference ;
[0090] S302. Setting the comprehensive scoring threshold for processing completion The threshold is set by experts according to different processing workpiece parameters, and the dynamic laser power threshold at time t is set. , set the cold spray processing head to cover the desired area in the rth processing area , i.e., the actual area to be sprayed corresponding to the rth area to be processed. In this embodiment, the actual area is obtained by real-time monitoring by setting a visual sensor; the dynamic spray flow threshold of the cold spray material , set the thickness threshold of the workpiece to be processed at time t The thickness threshold is set by professional processing personnel according to the attribute parameters of the workpiece to be processed during specific processing; the following constraints are constructed based on the set parameters: , where f represents the comprehensive score of workpiece processing completion, Indicates the comprehensive score threshold of workpiece processing completion. represents the true value of laser power at time t, Indicates the actual spraying area of the cold spray processing head at time t. This parameter is measured in real time by the visual sensor configured during the processing; Indicates the actual value of the spray flow rate of the cold spray processing head at time t, represents the true value of the machining thickness of the workpiece to be machined at time t; in this embodiment, the true value of the machining thickness is measured and obtained using an integrated sensor equipped with non-destructive testing technology;
[0091] S303. According to the constraint conditions obtained in S302, the following error compensation consistency movement control trigger conditions are configured. In the following settings, the running time of the laser processing head and the cold spray processing head are consistent. Please refer to Figure 4 , the specific steps include:
[0092] S3031, comparing the actual value of the laser power with the dynamic laser power threshold, and if the constraint condition is not satisfied, triggering the first compensation information;
[0093] Furthermore, the specific control action calculation process executed by triggering the first compensation information includes: calculating the corresponding laser power adjustment amount according to the acquired power deviation using the trained mobile control model Adjust the laser power in the set initial process parameters;
[0094] S3032, comparing the actual value of the machining thickness of the workpiece to be machined with the thickness threshold of the workpiece to be machined, and if the constraint condition is not satisfied, triggering the second compensation information;
[0095] Furthermore, the specific control action calculation process executed by triggering the second compensation information includes: calculating the spraying speed of the corresponding cold spray processing head spraying equipment according to the obtained thickness deviation using the trained mobile control model The adjustment amount is used to compensate and adjust the cold spray material flow rate in the set initial process parameters;
[0096] S3033, comparing the expected coverage area of the area to be processed by the cold spray processing head with the actual spraying area of the cold spray processing head, and if the constraint condition is not met, triggering the third compensation information;
[0097] For further information, see Figure 4 , the specific control action calculation process executed by triggering the third compensation information includes:
[0098] 1) According to the spraying area error, the acceleration adjustment corresponding to the laser processing head and the cold spray processing head is calculated using the trained mobile control model. and ,use and Adjusting the initial acceleration of the laser processing head and the cold spray processing head;
[0099] 2) dynamically adjusting the initial speeds of the laser processing head and the cold spray processing head using the adjusted initial acceleration;
[0100] 3) According to the adjusted speeds of the laser processing head and the cold spray processing head and the first correction position of the laser processing head and the first correction position of the cold spray processing head, the second correction position of the laser processing head and the second correction position of the cold spray processing head are calculated, and the second correction position position difference is calculated using the second correction position of the laser processing head and the second correction position of the spraying equipment. ;
[0101] 4) Using the second calibration position of the laser processing head, the second calibration position of the cold spray processing head, the set o-xyz coordinates, and the initial incident angle of the laser processing head and initial incident angle of cold spray processing head The incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes are calculated, and the first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head in the o-xyz coordinate are obtained in turn by using the calculated incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes. The first corrected incident angle difference is calculated according to the obtained first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head. ;
[0102] 5) The first corrected incident angle difference is obtained and the second correction position difference and inputting the speed adjustment amounts corresponding to the laser processing head and the cold spray processing head into the acquired initial path to adjust the initial path, thereby acquiring a first moving trajectory adjustment path;
[0103] 6) According to the above processes 1) to 5), the first adjustment movement trajectory path is adjusted in real time through the real-time collected processing data to obtain the optimal processing trajectory path for the entire processing process; further, in this embodiment, the path is adjusted by inputting the adjusted process parameters and position and incident angle parameters calculated in real time into the CAM software to perform real-time dynamic adjustment on the generated initial path.
[0104] S3034. When any two or more of the constraints in S3031-S3033 are not satisfied, the fourth compensation information is triggered, and the corresponding trigger compensation information is jointly executed; illustratively, the implementation steps of S3034 are: assuming that the constraints corresponding to the first compensation information and the second compensation information are not satisfied, by acquiring the mobile control model, the laser power adjustment amount and the cold spray processing head spray speed adjustment amount are synchronously calculated, and the calculated adjustment amount is used to compensate the laser power and the spray speed, and the compensated laser power and the cold spray processing head spray speed are input into the control sub-model in the mobile control model, and the power adjustment and the spray speed adjustment are synchronously calculated; through this operation, the high temperature generated during the laser cladding process may affect the cold spray layer, so that the possibility of thermal deformation and microstructural changes in the processed workpiece is reduced;
[0105] S3035, when the constraint condition is satisfied , then the compensation information conditions in S3031-S3034 are not triggered. When the constraint conditions are not met , the first to fourth compensation information conditions are triggered, and the constraint conditions in S3031-S3034 are compared accordingly to obtain the corresponding first compensation information, second compensation information, third compensation information and fourth compensation information;
[0106] S304, constructing the input state of the enhancement adjustment layer at the current time t in the mobile control model according to the attribute parameters of the workpiece to be processed, the initial process parameters, the attribute parameters of the workpiece, the positions of the laser processing head and the cold spray processing head, and the incident angle data of the laser processing head and the cold spray processing head:
[0107] ,
[0108] in, Represents the attribute parameter set of the workpiece to be processed at time t. represents the initial process parameter set of the workpiece to be processed at time t. represents the position difference between the first calibration position of the laser processing head and the cold spray processing head obtained at time t of the current workpiece to be processed, represents the initial incident angle difference between the laser processing head and the cold spray processing head obtained at time t of the workpiece to be processed; Indicates the initial moving speed of the laser processing head and the cold spray processing head, represents the initial acceleration of the laser processing head and the cold spray processing head, and R represents the set of sequences of regions to be processed in the workpiece to be processed;
[0109] S305: Construct an execution action based on the compensation information obtained in S3031-S3033 and the constructed input state ,in Indicates the action that triggers the execution of the first compensation information. Indicates the action that triggers the execution of the second compensation information. Indicates the action that triggers the execution of the third compensation information. Indicates the action that triggers the execution of the fourth compensation information. Indicates the judgment action executed according to the trigger information in S3035, and constructs the input reward function according to the constructed input state and execution action : ,in, represents the weighted coefficient of the reward function, represents the reward function gain coefficient, represents the laser power deviation, Indicates the spraying area deviation of the cold spray processing head. Indicates the spray flow deviation of the cold spray processing head. represents the machining thickness deviation of the workpiece to be machined. In this embodiment, the smaller the deviation value in the reward function is, the higher the reward function value obtained is;
[0110] S306, constructing a reinforcement learning sub-model corresponding to the reinforcement adjustment layer based on the deep policy reinforcement learning network, and inputting the constructed input state, execution action and reward function at the current time t into the constructed reinforcement learning model, and obtaining a reinforcement adjustment layer including the trained reinforcement learning model; the deep policy reinforcement learning network includes a SAC algorithm, a deep policy network, and an asynchronous advantage reinforcement learning network;
[0111] S307: construct a control sub-model in the control adjustment layer in the mobile control model based on the PID algorithm, and obtain the first correction position difference by using the obtained calculation. The difference between the initial incident angle and Initialize the control parameters in the control sub-model to obtain the control initialization parameters, where the initialization parameters include the proportional coefficient , integral coefficient , differential coefficient ;
[0112] S308. Use integrated sensors to collect processing parameter information in real time, and input the acquired parameter information into the enhanced adjustment layer in the mobile control model to calculate the corresponding trigger compensation information adjustment value, input the acquired adjustment value into the control adjustment layer, output the corresponding trigger compensation information adjustment signal, and perform real-time control of the laser cladding and cold spraying process.
[0113] Furthermore, the specific steps of obtaining the dynamic laser power threshold configured in S302 of this embodiment are:
[0114] S3021. According to the attribute parameters of the workpiece to be processed, collect the historical data of laser power for processing the workpiece of the same or similar material, the historical processing parameters for controlling laser changes, and the thresholds of processing depth and processing thickness; wherein the historical processing parameters for controlling laser changes for processing the attribute parameters of the workpiece also include historical processing speed and historical incident angle of the laser processing head;
[0115] S3022. The laser processing deviation value is calculated based on the laser processing thickness and the processing thickness threshold. The laser processing deviation value is used as the dependent variable, and the workpiece attribute parameters, historical processing parameters, laser processing head processing speed and device incident angle are used as coordination variables. The laser power deviation is calculated using the multivariate regression method. The specific formula is:
[0116] ,
[0117] in, represents the laser power deviation at time t, represents the laser processing deviation value at time t, Represents the property parameters of workpieces of the same or similar materials collected at time t, It represents the historical processing parameters of workpieces of the same or similar materials collected at time t. It represents the incident angle deviation of the laser processing head at time t in the collected historical data, represents the processing speed of the laser processing head at time t, Represents the weighting coefficient corresponding to each variable;
[0118] S3023, calculating the optimal laser processing power at each moment according to the calculated laser power deviation and the collected laser processing power at each moment, and using the calculated optimal laser processing power as a dynamic laser power threshold;
[0119] Furthermore, the calculation process of the dynamic flow rate of the cold spray material configured in S302 in this embodiment is similar to the process of S3021-S3023, and the specific steps include:
[0120] S3024, collecting the historical cold spray target thickness of the workpiece and the expected coverage area of the area to be processed, and calculating the cold spray thickness deviation and area deviation according to the cold spray thickness corresponding to the processing laser power historical data collected by the sensor in S3021 and the spraying area of the cold spray processing head in the area to be processed;
[0121] S3025. The calculated cold spray thickness deviation and area deviation are used as target variables, and the historical incident angle of the cold spray processing head at each moment, the historical moving speed of the equipment, and the historical spraying speed of the equipment are used as collaborative variables. The corresponding spray flow deviation is calculated using a neural network algorithm, and the corresponding optimal real-time spray flow of the cold spray processing head is calculated based on the obtained spray flow deviation and the obtained historical spray flow of the cold spray processing head, and the optimal real-time spray flow of the cold spray processing head is used as the dynamic flow threshold of the cold spray material; the neural network algorithms in this step include support vector machines, random forests, and logistic regression algorithms.
[0122] Example 2
[0123] See also Figure 5 , another embodiment provided by the present invention: a multi-axis linkage control system for synchronous composite additive manufacturing, comprising: a data processing module, a path planning module, a correction and positioning module, a control model generation module, a control execution module and a feedback adjustment module;
[0124] A data processing module is used to obtain the property parameters of the workpiece to be processed and the initial positions of the laser processing head and the cold spray processing head, and to set the initial processing parameters and the initial moving speed and acceleration;
[0125] A correction module, used for correcting the initial positions of the laser processing head and the cold spray processing head using a visual sensor according to the acquired initial positions;
[0126] A path planning module is used to generate initial paths for the laser processing head and the cold spray processing head according to the acquired property parameters of the workpiece to be processed, the position after the equipment correction and the processing process parameters;
[0127] A control model generation module is used to construct and train a mobile control model using reinforcement learning and PID control algorithms based on the acquired initial path, processing parameters, workpiece attribute parameters, and initial moving speed and acceleration;
[0128] A control execution module is used to control the laser processing head and the cold spray processing head to dynamically process the workpiece according to the control instructions generated by the generated mobile control model, and to collect processing index data in real time;
[0129] Feedback adjustment module, used to analyze the collected processing index data and dynamically adjust the process parameters, moving speed and incident angle based on the analysis results;
[0130] The correction module includes a visual sensor unit and an angle calculation unit; the visual sensor unit is used to perform initial correction position correction on the workpiece and the laser and cold spray processing head through the visual sensor according to the acquired initial position of the equipment; the angle calculation unit is used to obtain the initial incident angle of the laser processing head and the initial incident angle of the cold spray processing head by using trigonometric function calculation according to the set o-xyz coordinates and the first correction position of the laser processing head and the first correction position of the cold spray processing head obtained by correction;
[0131] The path planning module includes a three-dimensional modeling unit and an initial path generation unit; the three-dimensional modeling unit is used to model through 3D software according to the acquired attribute parameters of the workpiece to be processed, and mark the sequence of areas to be processed on the constructed model; the initial path generation unit is used to generate the initial path of laser cladding and cold spraying by using CAM software according to the acquired 3D model, the attribute parameters of the workpiece to be processed, the initial processing parameters and the position information obtained by the correction module;
[0132] The control execution module includes a processing execution unit and a non-destructive testing unit; it is used to integrate the trained control model into the initial path to control the dynamic processing process of the laser processing head and the cold spray processing head; the non-destructive testing unit is used to monitor and collect the processing index data of laser cladding and cold spray in real time by using the non-destructive testing technology in the integrated sensor;
[0133] The feedback adjustment module includes an error calculation unit and a parameter adjustment unit; the error calculation unit is used to compare the real-time monitored processing index data with the set processing index threshold to calculate the processing index error; the parameter adjustment unit is used to calculate the processing parameter adjustment amount through the control model according to the index error, and use the calculated processing parameter adjustment amount to adjust the movement control parameters of the laser processing head and the cold spray processing head in real time; the movement control parameters include processing parameters, movement speed and incident angle.
[0134] Example 3
[0135] A computer-readable storage medium stores computer instructions, which, when executed, execute a multi-axis linkage control method for synchronous composite additive manufacturing.
[0136] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in the field may also change, modify, replace and modify the above-mentioned embodiments without departing from the scope of protection of the purpose of the present invention and the claims, and all of these are within the protection of the present invention.
Claims
1. A multi-axis linkage control method for synchronous composite additive manufacturing, characterized in that: include: S1. Obtaining the property parameters of the workpiece to be processed, setting the initial process parameters of laser cladding and cold spraying according to the property parameters of the workpiece to be processed, and generating the initial path of laser cladding and cold spraying according to the property parameters of the workpiece and the initial process parameters using 3D software and auxiliary manufacturing software; S2, obtaining the initial position information of the workpiece to be processed, the laser processing head and the cold spray processing head, using the visual sensor to initialize the correction and positioning of the workpiece, the laser processing head and the cold spray processing head according to the obtained starting position information, and obtaining the initial incident angle of the laser processing head and the cold spray processing head to the workpiece to be processed after correction; S3, setting the initial moving speed and acceleration of the laser processing head and the cold spray processing head, and constructing and training the mobile control model using reinforcement learning and PID algorithm according to the acquired workpiece position information, the calibrated processing head position information, the initial incident angle of the processing head and the initial process parameters, to obtain the trained mobile control model; S4, integrating the trained mobile control model into the generated initial path, and controlling the laser processing head and the cold spray processing head to dynamically process the workpiece to be processed; S5. Setting a processing index threshold, and using an integrated sensor configured with a nondestructive testing algorithm to monitor the laser cladding and cold spraying processing index data in real time, comparing the processing index data with the processing index threshold, and obtaining a processing index error; S6, feeding back the obtained index error to the motion control model, obtaining the process parameters, the moving speed and the incident angle adjustment amount, and using the obtained adjustment amount to adjust the moving path and process parameters of the laser processing head and the cold spray processing head in real time; The specific steps of calculating the initial incident angle in S2 include: S201, according to the attribute parameter data of the workpiece to be processed, the center of gravity position of the workpiece to be processed is set as the origin of the o-xyz coordinate, and according to the set o-xyz coordinate, the processing starting point position information of the workpiece to be processed is calibrated; S202, according to the initial position information of the laser processing head and the cold spray processing head in the o-xyz coordinate, using the visual sensor, the set o-xyz coordinate and the processing starting point position information, correct the initial positions of the laser processing head and the cold spray processing head, and obtain the first corrected position of the laser processing head and the first corrected position of the cold spray processing head; S203, according to the first correction position of the laser processing head obtained , Cold spray processing head first calibration position and the processing starting point position, and calculating the initial incident angle of the laser processing head and the initial incident angle of the cold spray processing head by trigonometric function; The constructed mobile control model is configured with an error consistency compensation strategy, and the specific steps include: S301, according to the first calibration position of the laser processing head obtained And the first calibration position of the cold spray processing head , calculate the position difference of the first correction position of the machining head , and according to the initial incident angle of the laser processing head and initial incident angle of cold spray processing head Calculate the initial incident angle difference of the processing head ; The step of constructing the error consistency compensation strategy also includes: S302. Setting the comprehensive scoring threshold for processing completion , set the dynamic laser power threshold at time t to , set the cold spray processing head to cover the rth processing area as , the dynamic spray flow threshold of cold spray material is , the thickness threshold of the workpiece to be processed is , construct the following constraints based on the set parameters: , Where f represents the comprehensive score of workpiece processing completion, Indicates the comprehensive score threshold of workpiece processing completion. represents the true value of laser power at time t, Indicates the actual spraying area of the cold spray processing head at time t, Indicates the actual value of the spray flow rate of the cold spray processing head at time t, It indicates the true value of the machining thickness of the workpiece to be machined at time t.
2. The multi-axis linkage control method for synchronous composite additive manufacturing according to claim 1, characterized in that: The constraint conditions set in S302 configure the following error compensation consistency movement control trigger conditions, and in the following configuration, the movement running time of the laser processing head and the cold spray processing head are consistent. The specific trigger conditions include: S3031, comparing the actual value of the laser power with the dynamic laser power threshold, and if the constraint condition is not satisfied, triggering the first compensation information; S3032, comparing the actual value of the machining thickness of the workpiece to be machined with the thickness threshold of the workpiece to be machined, and if the constraint condition is not satisfied, triggering the second compensation information; S3033, comparing the expected coverage area of the area to be processed by the cold spray processing head with the actual spraying area of the cold spray processing head, and if the constraint condition is not met, triggering the third compensation information; S3034. When any two or more constraint conditions in S3031-S3033 are not satisfied, the fourth compensation information is triggered, and the corresponding trigger compensation information is jointly executed; S3035, when the constraint condition is satisfied , then the compensation information conditions in S3031-S3034 are not triggered. When the constraint conditions are not met , the compensation information condition is triggered, and the constraint conditions in S3031-S3034 are compared accordingly to obtain the corresponding first compensation information, second compensation information, third compensation information and fourth compensation information.
3. The multi-axis linkage control method for synchronous composite additive manufacturing according to claim 2, characterized in that: The specific control action calculation process executed by triggering the first compensation information includes: According to the power deviation obtained in S302, the corresponding laser power adjustment amount is calculated using the trained mobile control model , compensating and adjusting the laser power in the set initial process parameters; The specific control action calculation process executed by triggering the second compensation information includes: According to the thickness deviation obtained in S302, the spraying speed adjustment amount of the corresponding cold spraying processing head is calculated using the trained mobile control model, and the cold spraying material flow rate in the set initial process parameters is compensated and adjusted.
4. The multi-axis linkage control method for synchronous composite additive manufacturing according to claim 3, characterized in that: The specific control action calculation process executed by triggering the third compensation information includes: A1. According to the spraying area error obtained in S302, the acceleration adjustment corresponding to the laser processing head and the cold spray processing head is calculated using the trained mobile control model. and ,use and Adjusting the initial acceleration of the laser processing head and the cold spray processing head; A2. Using the adjusted initial acceleration, dynamically compensate and adjust the initial speeds of the laser processing head and the cold spray processing head; A3, according to the initial speeds of the laser processing head and the cold spray processing head after adjustment and compensation, the first correction position of the laser processing head and the first correction position of the cold spray processing head, the second correction position of the laser processing head and the second correction position of the cold spray processing head are calculated, and the second correction position position difference is calculated using the second correction position of the laser processing head and the second correction position of the spraying equipment ; A4, using the second calibration position of the laser processing head, the second calibration position of the cold spray processing head, the set o-xyz coordinates, and the initial incident angle of the laser processing head and initial incident angle of cold spray processing head The incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes are calculated, and the first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head in the o-xyz coordinate are obtained in turn by using the calculated incident angle components of the laser processing head and the cold spray processing head in the x, y, and z axes. The first corrected incident angle difference is calculated according to the obtained first corrected incident angle of the laser processing head and the first corrected incident angle of the cold spray processing head. ; A5. The first corrected incident angle difference and the second correction position difference and inputting the speed adjustment amounts corresponding to the laser processing head and the cold spray processing head into the acquired initial path to adjust the initial path, thereby acquiring a first moving trajectory adjustment path; A6. According to the above A1-A5 process, the first adjustment movement trajectory path is adjusted in real time through the processing data collected in real time to obtain the optimal processing trajectory path for the entire processing process.
5. A multi-axis linkage control system for synchronous composite additive manufacturing, which is implemented based on the multi-axis linkage control method for synchronous composite additive manufacturing according to any one of claims 1 to 4, characterized in that: include: Data processing module, correction module, control model generation module; The data processing module is used to obtain the property parameters of the workpiece to be processed and the initial positions of the laser processing head and the cold spray processing head, and to set the initial processing parameters and the initial moving speed and acceleration; The correction module is used to correct the initial positions of the laser processing head and the cold spray processing head using a visual sensor according to the acquired initial positions; The control model generation module is used to construct and train a mobile control model based on the acquired initial path, initial process parameters, workpiece attribute parameters, initial movement speed and acceleration, and correction position information, using reinforcement learning and PID control algorithms to control the workpiece processing process.
6. The multi-axis linkage control system for synchronous composite additive manufacturing according to claim 5, characterized in that: The correction module includes a visual sensor unit and an angle calculation unit; The visual sensor unit is used to perform initialization correction position correction on the workpiece and the laser and cold spray processing head through the visual sensor according to the acquired initial position of the equipment; The angle calculation unit is used to obtain the initial incident angle of the laser processing head and the initial incident angle of the cold spray processing head by using trigonometric function calculation according to the set o-xyz coordinates and the corrected first correction position of the laser processing head and the first correction position of the cold spray processing head.
7. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the computer instructions are executed, the multi-axis linkage control method for synchronous composite additive manufacturing described in any one of claims 1 to 4 is executed.
