Three-dimensional printing path planning method, three-dimensional printing method and electronic device based on carbon fiber reinforced matrix
By conducting finite element analysis and path planning on the substrate, the offset angle value on the contour line is generated, and the multi-axis robotic arm works in concert with the carbon fiber print head, the problem of low path planning efficiency of continuous carbon fiber in three-dimensional space in the existing 3D printing technology is solved, and the matrix load-bearing capacity and printing efficiency are improved.
Patent Information
- Application Number
- CN202510694945.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-28
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-05-28
AI Technical Summary
The existing 3D printing technology is difficult to effectively utilize continuous carbon fiber to improve the bearing capacity of the matrix in three-dimensional space, and the path planning method is inefficient, so it is impossible to fully utilize the structural enhancement advantages of continuous carbon fiber.
By performing finite element analysis on the three-dimensional model of the substrate, multi-layer contour lines are generated, and the offset angle value of equidistant points on each contour line is calculated, the printing path of the carbon fiber winding layer is determined, and the multi-axis robotic arm works in concert with the carbon fiber print head is used to accurately print the carbon fiber reinforced layer.
It significantly improves the load-bearing capacity and printing efficiency of the substrate, evenly distributes carbon fiber, saves materials, and is suitable for high-performance structural manufacturing.
Smart Images

Figure CN120206807B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of three-dimensional printing of carbon fiber, and particularly to a three-dimensional printing path planning method, a three-dimensional printing method, and an electronic device based on a carbon fiber reinforced matrix. Background Art
[0002] Carbon fiber has gradually become an important part of advanced composite materials. With the continuous progress of domestic carbon fiber raw material production technology, carbon fiber tows of models such as T300 and T700 have been mass-produced. Due to its excellent strength-to-weight ratio, corrosion resistance, and high-temperature stability, it has been widely used in mid- to high-end manufacturing fields such as aerospace, automotive, and wind energy. At the same time, the rapid development of thermoplastic carbon fiber provides new possibilities for the digital manufacturing of carbon fiber, laying a foundation for its application in emerging manufacturing technologies such as 3D printing.
[0003] In recent years, the rise of 3D printing technology has effectively reduced manufacturing costs and improved production efficiency. However, most current technologies still focus on the application of short fiber composites. Due to the limitation of fiber length, the reinforcement effect of short fibers is far less than that of continuous carbon fiber. Especially in the manufacture of high-performance structural parts, the advantages of continuous carbon fiber in structural reinforcement cannot be fully utilized. Moreover, the current path generation methods used in 3D printing mostly involve path planning methods such as straight-line reciprocating filling, contour offset filling, and hybrid path filling within a two-dimensional plane slice. These methods are difficult to apply to 3D printing scenarios where continuous carbon fiber is used to print a carbon fiber reinforced layer on the surface of a matrix in three-dimensional space to improve the load-bearing capacity of the matrix. Summary of the Invention
[0004] In view of this, the present disclosure provides a three-dimensional printing path planning method, a three-dimensional printing method, and an electronic device based on a carbon fiber reinforced matrix, which can effectively determine a three-dimensional multi-layer carbon fiber printing path, and enable the carbon fiber reinforced layer printed according to the multi-layer three-dimensional carbon fiber printing path to greatly improve the load-bearing capacity of the matrix, with higher printing efficiency and more savings in carbon fiber materials.
[0005] According to one aspect of the present disclosure, there is provided a method for three-dimensional printing path planning of a carbon fiber reinforced matrix, including: obtaining a set of stress vectors corresponding to the matrix by performing finite element analysis on a three-dimensional model of the matrix to be reinforced, the set of stress vectors characterizing the distribution of stress vectors received by the matrix under each of M kinds of loads; generating multi-layer contour lines corresponding to the outer surface of the three-dimensional model, each layer of contour lines including N equally spaced points evenly distributed; determining M stress vectors received by each equally spaced point on each layer of contour lines according to the set of stress vectors, the M stress vectors received by each equally spaced point including the stress vectors received by each equally spaced point under each of the M kinds of loads; obtaining M angle values corresponding to each equally spaced point on each layer of contour lines by calculating the angles between the M stress vectors received by each equally spaced point on each layer of contour lines and the tangent vector of the equally spaced point on the contour line to which it belongs; determining J offset angle values corresponding to each layer of contour lines according to the M angle values corresponding to each of the N equally spaced points on each layer of contour lines, the J offset angle values corresponding to J carbon fiber winding layers; generating a carbon fiber printing path corresponding to each carbon fiber winding layer in the J carbon fiber winding layers according to the J offset angle values corresponding to each layer of contour lines in the multi-layer contour lines.
[0006] In a possible implementation, there is an association relationship between equally spaced points on adjacent contour lines in the multi-layer contour lines, the association relationship being used to indicate the equally spaced points associated with each other on adjacent contour lines; wherein, the step of generating a carbon fiber printing path corresponding to each carbon fiber winding layer in the J carbon fiber winding layers according to the J offset angle values corresponding to each layer of contour lines in the multi-layer contour lines includes: for the j-th carbon fiber winding layer in the J carbon fiber winding layers, offsetting the N equally spaced points on each layer of contour lines according to the offset angle value corresponding to the j-th carbon fiber winding layer of each layer of contour lines and the average layer height of the multi-layer contour lines to obtain N target equally spaced points after offset on each layer of contour lines, 1 ≤ j ≤ J; and connecting the target equally spaced points associated with each other between adjacent contour lines in the multi-layer contour lines according to the association relationship between equally spaced points on adjacent contour lines in the multi-layer contour lines and the N target equally spaced points after offset on each layer of contour lines to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
[0007] In a possible implementation, generating the multi-layer contour lines corresponding to the outer surface of the three-dimensional model includes: performing triangular meshing on the outer surface corresponding to the three-dimensional model to obtain a three-dimensional mesh model, where the three-dimensional mesh model represents the triangular meshed outer surface; determining the distance field corresponding to the three-dimensional model according to the positions of the grid points in the three-dimensional mesh model, where the distance field includes the distances from the grid points in the three-dimensional mesh model to the specified surface of the three-dimensional model, and the specified surface includes the edge surfaces at both ends of the three-dimensional model; generating the multi-layer contour lines corresponding to the outer surface of the three-dimensional model based on the distance field and the preset average layer height, where the seam positions between the multi-layer contour lines are aligned and the generation directions are the same; extracting N equally spaced points evenly distributed on each layer of contour lines according to the preset average distance, and the N equally spaced points extracted on each layer of contour lines are aligned with each other, and determining the equally spaced points that are aligned with each other on adjacent contour lines in the multi-layer contour lines as the corresponding associated equally spaced points to obtain the association relationship between the equally spaced points on adjacent contour lines in the multi-layer contour lines, where the average distance represents the distance between two adjacent equally spaced points on the same contour line.
[0008] In a possible implementation, determining the J offset angle values corresponding to each layer of contour lines according to the M angle values corresponding to each of the N equally spaced points on each layer of contour lines includes: for the N×M angle values on the x-th layer of contour lines, determining whether each of the N×M angle values is within a preset angle range, and in the case where there are angle values among the N×M angle values that do not belong to the preset angle range, correcting the angle values that do not belong to the preset angle range to the boundary value closest to the angle value in the preset angle range to obtain the N×M target angle values corresponding to the N equally spaced points on the x-th layer of contour lines, where the preset angle range represents the angle range that enables the carbon fiber to wind around the matrix; obtaining J angle groups divided by the N×M target angle values within the preset angle range and the central angle value corresponding to each of the J angle groups by statistically grouping the N×M target angle values, and the central angle value corresponding to each angle group is the angle value with the smallest sum of distances from the target angle values within each angle group; determining the J central angle values corresponding to each of the J angle groups as the J offset angle values corresponding to the x-th layer of contour lines.
[0009] In a possible implementation, the preset angle range includes two opposite angle ranges, r angle groups are divided within each angle range, 2r = J, and the J offset angle values corresponding to the x-th layer of contour lines include the central angle values corresponding to the r angle groups divided within each of the two opposite angle ranges by the N×M target angle values.
[0010] In a possible implementation, for the j-th carbon fiber winding layer among the J carbon fiber winding layers, according to the offset angle value corresponding to the j-th carbon fiber winding layer for each layer of contour lines and the average layer height of the multi-layer contour lines, the N equally spaced points on each layer of contour lines are offset to obtain N target equally spaced points after offset on each layer of contour lines, including: for the x-th layer of contour lines of the j-th carbon fiber winding layer among the J carbon fiber winding layers, determining the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer according to the offset angle value corresponding to the x-th layer of contour lines in the j-th carbon fiber winding layer and the average layer height; by accumulating the offset amount of the first layer of contour lines under the j-th carbon fiber winding layer to the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer, obtaining the accumulated offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer; and offsetting the N equally spaced points on the x-th layer of contour lines along the x-th layer of contour lines by the accumulated offset amount to obtain N target equally spaced points after offset on the x-th layer of contour lines.
[0011] In a possible implementation, the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer is expressed as: , and the accumulated offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer is expressed as ; where represents the average layer height, and represents the offset angle value corresponding to the x-th layer of contour lines in the j-th carbon fiber winding layer.
[0012] In a possible implementation, according to the correlation relationship between the equally spaced points on adjacent contour lines among the multi-layer contour lines and the N target equally spaced points after offset on each layer of contour lines, corresponding connections are made to the target equally spaced points associated between adjacent contour lines among the multi-layer contour lines to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer, including: according to the correlation relationship between the equally spaced points on adjacent contour lines among the multi-layer contour lines and the N target equally spaced points after offset on each layer of contour lines, making corresponding connections to the target equally spaced points associated between adjacent contour lines among the multi-layer contour lines, and softening the connection result to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
[0013] According to another aspect of the present disclosure, a three-dimensional printing method for a carbon fiber reinforced matrix is provided. The printing method is applied to a three-dimensional printing system, which includes a main robotic arm, an auxiliary robotic arm, a carbon fiber print head, and a matrix fixing frame. The carbon fiber print head is installed on the auxiliary robotic arm, and the matrix fixing frame is installed on the main robotic arm. The carbon fiber print head is used to generate carbon fiber filaments, and the matrix fixing frame is used to fix the matrix to be reinforced. The printing method includes: using the path planning method described above to determine the three-dimensional printing path planning result corresponding to the matrix, where the three-dimensional printing path planning result includes the carbon fiber printing paths corresponding to each carbon fiber winding layer in the J carbon fiber winding layers; according to the three-dimensional printing path planning result, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively; and based on the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively, controlling the three-dimensional printing system to perform the printing work of the carbon fiber reinforced layer on the matrix.
[0014] In a possible implementation, the matrix includes a matrix with the same cross-sectional shape and the same cross-sectional area between its two ends; the matrix fixed to the matrix fixing frame is in a flat and inverted state. Among them, according to the three-dimensional printing path planning result, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively includes: according to the three-dimensional printing path planning result, determining the matrix rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer, where the matrix rotation data includes the rotation angle of the matrix during the printing process by the carbon fiber print head along each carbon fiber printing path; and according to the matrix rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively.
[0015] According to another aspect of the present disclosure, an electronic device is provided, including: a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to implement the above method when executing the instructions stored in the memory.
[0016] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above method is implemented.
[0017] According to another aspect of the present disclosure, a computer program product is provided, including computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in the processor of an electronic device, the processor in the electronic device executes the above method.
[0018] According to various aspects of the present disclosure, obtaining a set of stress vectors through finite element analysis of the three-dimensional model of the matrix is equivalent to obtaining the stress distribution of the matrix under various loads. Furthermore, based on the stress distribution, determining the offset angle values of equally spaced points on the isoline can make the offset angle values of each equally spaced point on each layer of the isoline unified, and is conducive to making the arrangement of the printing paths in each carbon fiber winding layer relatively uniform and covering the stress distributions in multiple directions of the matrix. Then, based on the J offset angle values corresponding to each layer of isolines, the carbon fiber printing paths corresponding to J layers of carbon fiber winding layers can be effectively determined, such that the carbon fiber reinforced layer obtained by three-dimensional printing according to the carbon fiber printing paths of multiple layers of carbon fiber winding layers can greatly improve the load-bearing capacity of the matrix, and can make the printing efficiency of three-dimensional printing higher and save more carbon fiber materials.
[0019] Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which are included in and constitute a part of this specification, illustrate exemplary embodiments, features, and aspects of the present disclosure and are used to explain the principles of the present disclosure.
[0021] Figure 1 FIG. shows a flowchart of a three-dimensional printing path planning method for a carbon fiber reinforced matrix according to an embodiment of the present disclosure.
[0022] Figure 2 FIG. shows a schematic diagram of a three-dimensional model of a matrix according to an embodiment of the present disclosure.
[0023] Figure 3 FIG. shows a schematic diagram of five load actions according to an embodiment of the present disclosure.
[0024] Figure 4 FIG. shows a schematic diagram of the unit stress vector field under five load actions according to an embodiment of the present disclosure.
[0025] Figure 5 FIG. shows a schematic diagram of the distribution of multiple layers of isolines according to an embodiment of the present disclosure.
[0026] Figure 6a and Figure 6b FIG. shows a schematic diagram of the distribution of equally spaced points according to an embodiment of the present disclosure.
[0027] Figure 7 FIG. shows a schematic diagram of the stress vectors corresponding to each equally spaced point on a local isoline according to an embodiment of the present disclosure.
[0028] Figure 8Schematic diagram showing four offset angle values corresponding to each contour line in a local contour line according to an embodiment of the present disclosure.
[0029] Figure 9 Schematic diagram showing a local carbon fiber printing path of a certain carbon fiber winding layer according to an embodiment of the present disclosure.
[0030] Figure 10 Schematic diagram showing carbon fiber printing paths corresponding to four carbon fiber winding layers according to an embodiment of the present disclosure.
[0031] Figure 11 Schematic diagram showing the result of three-dimensional printing path planning according to an embodiment of the present disclosure.
[0032] Figure 12 Schematic diagram showing a three-dimensional printing system based on a carbon fiber reinforced matrix according to an embodiment of the present disclosure.
[0033] Figure 13 Schematic diagram showing a schematic diagram of a matrix fixing frame according to an embodiment of the present disclosure.
[0034] Figure 14 Schematic diagram showing a simulation diagram of a three-dimensional printing process according to an embodiment of the present disclosure.
[0035] Figure 15 Schematic diagram showing a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. Detailed Description of Specific Embodiments
[0036] Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the drawings denote elements having the same or similar functions. Although various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0037] The special term "exemplary" herein means "serving as an example, embodiment, or illustrative". Any embodiment described as "exemplary" herein need not be construed as superior to or better than other embodiments.
[0038] The term "and / or" herein merely describes an association relationship of associated objects and indicates that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set composed of A, B, and C. In the description of the present disclosure, "a plurality" means two or more unless otherwise specifically defined.
[0039] It should be understood that the terms "first", "second", etc. in the claims, the specification and the drawings of the present disclosure are used to distinguish different objects, rather than to describe a specific order. The terms "comprising" and "including" used in the specification and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their combinations.
[0040] In addition, for a better illustration of the present disclosure, numerous specific details are given in the following detailed implementation manners. Those skilled in the art should understand that the present disclosure can also be implemented without some specific details. In some instances, methods, means, elements and circuits well known to those skilled in the art are not described in detail so as to highlight the gist of the present disclosure.
[0041] To give full play to the advantages of continuous carbon fiber in structural reinforcement, the embodiments of the present disclosure propose a three-dimensional printing path planning method, a three-dimensional printing method and a three-dimensional printing system based on carbon fiber reinforced matrix, which can combine a digital model and finite element analysis to calculate the optimal carbon fiber printing path, and through the collaborative work of a multi-axis robotic arm and a special carbon fiber extrusion head, accurately print a thermoplastic carbon fiber reinforced layer on the matrix. This solution significantly improves the printing efficiency and reinforcement effect, can accurately reinforce the stress area of the matrix, not only improves the utilization efficiency and uniform distribution of carbon fiber, but also significantly enhances the strength and durability of the matrix structure. With the cooperation of two six-axis robotic arms (a total of 12 axes) and a customized carbon fiber extrusion head, continuous carbon fiber can be accurately wound on the matrix, providing a new solution for the manufacture of high-performance structures. Furthermore, this solution can meet the mechanical property requirements of different industries and application fields through specific model calculations, and is particularly suitable for rapidly developing high-tech fields such as robots, unmanned aerial vehicles and robotic arms. With its efficient path planning, accurate reinforcement effect and wide applicability, this technology has important industrial application value. With the continuous maturity of the technology and the increasing market demand, it is expected that this technology will be widely applied in multiple fields such as aerospace, automotive, and robotics, and become an important driving force for the technological upgrading and innovative development of related industries.
[0042] The three-dimensional printing path planning method, the three-dimensional printing method and the three-dimensional printing system based on carbon fiber reinforced matrix proposed by the embodiments of the present disclosure are particularly suitable for the secondary reinforcement of existing matrices, especially for matrices with the same cross-sectional shape and the same cross-sectional area between both ends, such as cylinders, square cylinders, circular tubes, square tubes, etc. These matrices can be in any shape such as L-shaped, S-shaped, etc., but the cross-sectional shape and cross-sectional area of each part of the matrix are the same. It can accurately print a continuous carbon fiber reinforced layer on the matrix, thereby significantly enhancing the strength and durability of the matrix while reducing the manufacturing cost.
[0043] The 3D printing path planning method, 3D printing method, and 3D printing system based on a carbon fiber reinforced matrix proposed in the embodiments of the present disclosure combine digital design and precise path control to achieve efficient carbon fiber reinforced printing. First, a finite element analysis is performed on the 3D model to evaluate the stress distribution and identify areas with concentrated stress. According to the stress analysis results, multi-layer contour lines are generated, and the joints and curves of the contour lines are optimized to determine the 3D printing path planning scheme for the matrix. In terms of equipment, a 3D printing system with dual robotic arms is constructed. By synchronously controlling the two robotic arms, precise execution of the path planning is ensured, effectively improving the accuracy and consistency of the carbon fiber reinforced layer, providing an innovative solution for the manufacture of high-performance structures.
[0044] The 3D printing path planning method, 3D printing method, and 3D printing system based on a carbon fiber reinforced matrix proposed in the embodiments of the present disclosure are introduced in detail below.
[0045] Figure 1 The flowchart showing a 3D printing path planning method based on a carbon fiber reinforced matrix according to an embodiment of the present disclosure is shown. As Figure 1 shown, the method includes: step S11 to step S16.
[0046] In step S11, by performing a finite element analysis on the 3D model of the matrix to be reinforced, a stress vector set corresponding to the matrix is obtained. The stress vector set characterizes the distribution of the stress vectors received by the matrix under each of the M kinds of loadings, where M is a positive integer.
[0047] In practical applications, the matrix can be any solid structure on which a carbon fiber reinforced layer is to be printed on the surface. Optionally, the matrix can include a matrix with the same cross-sectional shape and the same cross-sectional area between two ends, such as, a cylinder, a square cylinder, a circular tube, a square tube, etc. These matrices can be of any shape such as L-shaped, S-shaped, etc. The embodiments of the present disclosure do not limit the shape, size, material, etc. of the matrix.
[0048] Among them, the 3D model of the matrix can be constructed by 3D model construction techniques known in the art. For example, the 3D model of the matrix can be drawn using 3D model drawing software, or the matrix can also be 3D scanned using a 3D scanning device to obtain the 3D model of the matrix. The embodiments of the present disclosure do not limit this.
[0049] Among them, finite element analysis software known in the art can be used to implement finite element analysis of the three-dimensional model of the substrate. When performing finite element analysis on the three-dimensional model, corresponding loads can be applied to the three-dimensional model (that is, a certain force or torque is applied) to obtain the distribution of stress vectors to which the substrate is subjected under the load. It should be understood that the embodiment of the present disclosure does not limit the number and type of loads, and it can be customized based on the load scenarios that the substrate may be subjected to in actual scenarios, and the embodiment of the present disclosure does not limit this.
[0050] For example, for Figure 2 The three-dimensional model of a matrix shown can be imported into the finite element analysis software, and specific material properties can be set for the three-dimensional model of the matrix in the software (for example, the material properties can be set to short carbon fiber composite material Nylon12-CF). Then, the edge surface of the three-dimensional model can be defined, and the load scenario (such as torsion, end bearing, etc.) can be designed. The load constraint surface and the applied force and moment can be clarified, that is, multiple load effects can be set for the three-dimensional model of the matrix. For example, you can define Figure 2 The edge faces of the three-dimensional model shown are face A and face B, and the design is as follows Figure 3 There are five load actions involving joint torsion and end bearing as shown in (1) to (5), among which, Figure 3 (1) represents the constraint on surface B, which applies a downward force F at the center point of surface A, for example, F = 20N; Figure 3 (2) represents the constraint on surface B, which applies a moment M perpendicular to surface A and outward at the center point of surface A, for example, M = 2000 N·m; Figure 3 (3) in the equation represents the constraint on surface A. A moment M perpendicular to surface B is applied outward at the center point of surface B, for example, M = 2000 N·m. Figure 3 (4) represents the constraint on surface B, which applies a moment -M perpendicular to surface A and inward at the center point of surface A, for example, M = 2000 N·m; Figure 3 (5) represents the constraint on surface A, and a moment -M perpendicular to surface B is applied to the center point of surface B, for example, M = 2000N·m. Then, the finite element analysis software is used to perform finite element analysis on the three-dimensional model of the substrate based on the above five loads, and the following can be obtained: Figure 4 (1) to (5) are Figure 3 The unit stress vector field under each of the five loads (1) to (5) in the above equations is obtained, and the stress vector set on the discrete points of the matrix is obtained. This stress vector set can characterize the distribution of the stress vectors on the matrix under each of the five loads. It should be understood that if this stress vector set is known, the stress vector on any point on the matrix surface can be known, specifically, the unit stress vector.
[0051] In step S12, multiple layers of contour lines corresponding to the outer surface of the three-dimensional model are generated. Each layer of contour lines includes N equally spaced points evenly distributed thereon. There is an association relationship between the equally spaced points on adjacent contour lines among the multiple layers of contour lines. The connection relationship is used to indicate the equally spaced points associated with each other on adjacent contour lines, and N is a positive integer.
[0052] Among them, those skilled in the art can adopt any known contour line generation technology in the art to generate multiple layers of contour lines corresponding to the outer surface of the three-dimensional model, which is equivalent to drawing multiple layers of contour lines on the outer surface of the substrate. For example, multiple layers of contour lines can be generated on the outer surface of the three-dimensional model according to the specified average layer height, and multiple equally spaced points evenly distributed can be generated on each layer of contour lines, that is, the distance between each equally spaced point on the same contour line is the same, and the number of equally spaced points generated on each layer of contour lines is the same.
[0053] Optionally, an embodiment of the present disclosure provides a contour line generation method. Specifically, step S12 of generating multiple layers of contour lines corresponding to the outer surface of the three-dimensional model may include:
[0054] 12.1. Perform triangular meshing on the outer surface corresponding to the three-dimensional model to obtain a three-dimensional mesh model, where the three-dimensional mesh model represents the triangular meshed outer surface;
[0055] 12.2. Determine the distance field corresponding to the three-dimensional model according to the positions of the grid points in the three-dimensional mesh model. The distance field includes the distances from each grid point on the three-dimensional mesh model to the specified surface of the three-dimensional model, and the specified surface includes the edge surfaces at both ends of the three-dimensional model;
[0056] 12.3. Generate multiple layers of contour lines corresponding to the outer surface of the three-dimensional model based on the distance field and the preset average layer height, where the seam positions between the multiple layers of contour lines are aligned and the generation directions are the same;
[0057] 12.4. Extract N equally spaced points evenly distributed on each layer of contour lines according to the preset average distance, and the N equally spaced points respectively extracted on each layer of contour lines are aligned with each other. The equally spaced points on adjacent contour lines in the multiple layers of contour lines that are aligned with each other are determined as the corresponding associated equally spaced points, and the association relationship between the equally spaced points on adjacent contour lines in the multiple layers of contour lines is obtained. The average distance represents the distance between two adjacent equally spaced points on the same contour line.
[0058] In step 12.1, the outer surface corresponding to the three-dimensional model is subjected to triangular meshing, which is equivalent to extracting the outer wall surface of the substrate and evenly triangulating it. Those skilled in the art can use any known triangular meshing technology in the art to implement the triangular meshing of the outer surface corresponding to the three-dimensional model, and the embodiments of the present disclosure do not limit this.
[0059] In step 12.2, the positions of each grid point in the three-dimensional grid model (equivalent to the grid points on the substrate surface) can be the three-dimensional coordinates of each grid point. Thus, the distance field can be obtained by calculating the distance from the three-dimensional coordinates of each grid point in the three-dimensional grid model to the edge planes at both ends of the three-dimensional model (i.e., the distance from a point to a plane). Specifically, it can be calculating the actual distance from the grid point along the three-dimensional model (i.e., along the substrate surface) to the two edge planes, so as to generate a distance field with the two edge planes on both sides of the substrate as the upper and lower boundaries based on the triangulated outer surface. Exemplarily, for the three-dimensional model shown in Figure 2 the face A and face B can be the edge planes at both ends, that is, the actual distances from each grid point on the triangulated outer surface corresponding to this three-dimensional model to face A and face B can be calculated (i.e., the distances calculated along the outer surface).
[0060] In step 12.3, given the distances from each grid point on the outer surface of the three-dimensional model (i.e., the outer edge surface of the substrate) to the edge planes at both ends of the substrate, and given the preset average layer height (i.e., the distance between adjacent two isocontours), the linear interpolation method can be used to generate multiple layers of isocontours based on the average layer height and the distances from each grid point to both ends. It should be understood that the number of generated isocontours depends on the length between both ends of the substrate and the average layer height, and the average layer height can be customarily set, and the embodiments of the present disclosure do not limit this. Exemplarily, assuming the average layer height is h = 4 mm, for the three-dimensional model shown in Figure 2 the multiple layers of isocontours shown in Figure 5 can be generated. The number of layers L of the isocontours corresponding to this three-dimensional model is 67, that is, 67 layers of isocontours are generated.
[0061] In practical applications, after generating multi-layer contour lines, if the seam positions between the contour lines of each layer are misaligned and / or the generation directions are different, the seam positions and generation directions (i.e., the curve directions of the contour lines) between the contour lines of each layer can also be adjusted so that the seam positions between the contour lines of each layer are aligned and the generation directions are the same. For example, the seam position and generation direction of the first contour line can be used as a reference to adjust the seam positions and generation methods of other contour lines. Of course, the default seam position and generation method can also be used as a reference for adjustment, and the embodiments of the present disclosure do not limit this. Among them, the seam position is also the position where the contour line starts drawing from a certain point and returns to that point. The alignment of the seam positions of the contour lines of each layer means that the seam positions are close (for example, the distance between the seam positions of adjacent contour lines is the shortest), or in other words, the seam positions of the contour lines of each layer are in the same plane; the contour line generation direction is also the drawing direction of the contour line. For example, the contour line may start from a certain point and be drawn clockwise back to that point, or may start from a certain point and be drawn counterclockwise back to that point; by making the seam positions between the contour lines of each layer aligned and the generation directions the same, it is convenient to subsequently generate equally spaced points that are aligned with each other on each layer of contour lines.
[0062] In step 12.4, according to a preset average distance, for example, starting from the seam position of each layer of contour lines and following the generation direction of the contour lines, N equally spaced points evenly distributed can be extracted on each layer of contour lines. It can be understood that since the seam positions between the multi-layer contour lines are aligned and the generation directions are the same, and the average distance between every two equally spaced points is the same, the N equally spaced points respectively extracted on each layer of contour lines can be aligned with each other. Furthermore, the equally spaced points that are aligned with each other on adjacent contour lines in the multi-layer contour lines can be determined as corresponding associated equally spaced points, that is, the association relationship between the equally spaced points on adjacent contour lines in the multi-layer contour lines is obtained. It should be understood that the number N of equally spaced points extracted on each layer of contour lines depends on the preset average distance and the length of the contour line. The average distance can be customarily set. For example, if the average distance is set to d and the length of each contour line is , then the number of equally spaced points extracted on each layer of contour lines , where represents the sum of the lengths of all contour lines, and represents the total number of layers of contour lines. Exemplarily, if the average distance d is taken as 2.5 mm, based on the multi-layer contour lines shown in Figure 5 , a schematic diagram of the distribution of equally spaced points shown in Figure 6a can be generated. As shown in Figure 6a , the N equally spaced points respectively divided on adjacent contour lines in the multi-layer contour lines are aligned with each other. Among them, as shown in Figure 6b , the 67 equally spaced points distributed along the curve in the figure are aligned with each other, that is, these 67 equally spaced points are associated equally spaced points. By analogy, N groups of associated equally spaced points can be obtained, and the above association relationship can record these N groups of associated equally spaced points.
[0063] It should be understood that the generation method of the isocontours and the equally spaced points on the isocontours provided in the above embodiments of the present disclosure is a possible implementation manner provided by the embodiments of the present disclosure. In fact, those skilled in the art can adopt any known technical means in the art to generate the isocontours as shown in Figure 5 and the equally spaced points as shown in Figure 6a , and the embodiments of the present disclosure do not make any restrictions on this.
[0064] In step S13, according to the stress vector set, determine the M stress vectors received by each equally spaced point on each layer of isocontour. The M stress vectors received by each equally spaced point include the stress vectors received by each equally spaced point under each of the M loadings.
[0065] As described above, knowing the stress vector set means knowing the stress vectors received by any point on the matrix surface under each loading, so it is possible to know the stress vectors received by each equally spaced point on each layer of isocontour under each of the M loadings. Exemplarily, for the unit stress vector fields (i.e., the stress vector set) shown in (1) to (5) in Figure 4 , the stress vectors corresponding to each equally spaced point on the local isocontour as shown in Figure 7 can be obtained. Figure 7 Each arrow on each equally spaced point in Figure 7 indicates the unit stress vector received by the equally spaced point under each loading. It should be understood that the unit stress vectors received by the same equally spaced point under different loadings may be different or the same. Therefore,
[0066] In step S14, by calculating the angles between the M stress vectors received by each equally spaced point on each layer of isocontour and the tangent vectors of each equally spaced point on the isocontour to which it belongs, M angular values corresponding to each equally spaced point on each layer of isocontour are obtained.
[0067] It can be known that the carbon fiber reinforced layer is printed against the matrix surface. Therefore, by calculating the angle between the stress vector and the tangent vector, it is convenient to subsequently determine the offset angle value for offsetting along the matrix surface, so as to determine an effective carbon fiber printing path. That is, the angle value α0 corresponding to each stress vector of each equally spaced point o on each layer of isocontour can be calculated, which is the angle of the stress vector in the o- plane, where is the tangent vector of the equally spaced point o on the isocontour to which it belongs. is the normal vector of o on the surface. It should be understood that M stress vectors can correspond to M calculated angle values. Given the center and radius of the circle corresponding to the isoline and the positions of equally spaced points on the isoline, the tangent vector of any equally spaced point on the isoline can be calculated. This tangent vector can be the tangent vector along the generation direction of the isoline, and the embodiments of the present disclosure do not limit this. In addition, the embodiments of the present disclosure do not limit the calculation method of the angle value between two vectors either.
[0068] In step S15, according to the M angle values corresponding to each of the N equally spaced points on each layer of isoline, J offset angle values corresponding to each layer of isoline are determined. The J offset angle values correspond to J carbon fiber winding layers, and J is a positive integer.
[0069] It should be understood that the M angle values corresponding to each of the equally spaced points on the same layer of isoline are different. In order to determine the unified offset angle value for each layer of isoline, that is, to uniformly offset the equally spaced points on each layer of isoline, so as to ensure the uniformity of the arrangement between the carbon fiber printing paths. For example, by statistically analyzing the angle values of all equally spaced points on each layer of isoline, J offset angle values that can minimize the coverage of all angle values can be found. This is equivalent to clustering and grouping the N×M angle values on each layer of isoline to obtain J groups of angle values, and the clustering centers of the J groups of angle values can be used as the J offset angle values corresponding to this layer of isoline. Furthermore, the similar offset angle values between adjacent isolines in multiple layers of isolines can be determined as the offset angle values corresponding to the same carbon fiber winding layer. Similar offset angle values can be understood as the angle directions indicated by the offset angle values being close, which is conducive to making the subsequent determined carbon fiber printing paths continuous and smooth. Of course, the offset angle values corresponding to each carbon fiber winding layer for each layer of isoline can also be set customarily, and the embodiments of the present disclosure do not limit this.
[0070] Considering that the angle values calculated through step S14 may not be the angle values that can wind the carbon fiber onto the substrate. For example, when the angle value is 0 degrees, it is impossible to wind the carbon fiber onto the substrate. When the N×M angle values on the isoline include the above angle value, the determined offset angle value may be an angle value that cannot wind the carbon fiber onto the substrate. Therefore, in order to make the determined offset angle value meet the actual winding requirements (that is, to be able to wind the carbon fiber onto the substrate), in a possible implementation manner, the above step S15 of determining J offset angle values corresponding to each layer of isoline according to the M angle values corresponding to each of the N equally spaced points on each layer of isoline may include:
[0071] 15.1. For the N×M angular values on the contour line of the x-th layer, determine whether each of the N×M angular values is within a preset angular range. When there are angular values among the N×M angular values that do not belong to the preset angular range, correct the angular values that do not belong to the preset angular range to the boundary values closest to the angular values in the preset angular range, so as to obtain the N×M target angular values corresponding to the N equally spaced points on the contour line of the x-th layer. The preset angular range represents the angular range that enables the carbon fiber to wind around the substrate.
[0072] 15.2. By statistically grouping the N×M target angular values, obtain J angular groups divided by the N×M target angular values within the preset angular range and the central angular value corresponding to each angular group among the J angular groups.
[0073] 15.3. Determine the central angular values corresponding to the J angular groups respectively as the J offset angular values corresponding to the contour line of the x-th layer.
[0074] In step 15.1, the preset angular range is usually related to the shape and size of the substrate. In practical applications, the preset angular range can be set according to historical experience combined with experimental verification. The specific range of the preset angular range in the embodiments of the present disclosure is not limited. For example, for Figure 2 the substrate corresponding to the shown three-dimensional model, the corresponding preset angular range can include [-70°, -20°] ∪ [20°, 70°]. Then -70°, -20°, 20°, and 70° are the boundary values of the preset angular range. When the angular value is not within [-70°, -20°] ∪ [20°, 70°], it can be corrected to the closest boundary value. For example, if the N×M angular values on a certain layer of the contour line include the angular values 90°, 10°, and -80°, then 90° can be corrected to the boundary value 70° closest to 90°, 10° can be corrected to the boundary value 20° closest to 10°, and -80° can be corrected to the boundary value -70° closest to -80°, so as to obtain the N×M target angular values on this layer of the contour line. The N×M target angular values then include the corrected 70°, 20°, and -70°.
[0075] In step 15.2, known statistical analysis techniques in the art can be used to perform statistical grouping on N×M target angle values, obtaining J angle groups divided from the N×M target angle values within a preset angle range and the central angle value corresponding to each angle group among the J angle groups. For example, the distance between every two of the N×M target angle values can be calculated, and based on the distances between every two of the N×M target angle values, the N×M target angle values are grouped. The distances between the angle values within the same angle group are the closest, and the distances between the angle values in the same angle group and those in other angle groups are the farthest. The central angle value corresponding to each angle group can be understood as the clustering center of each angle value, so the central angle value corresponding to each angle group can be the angle value with the smallest sum of distances between it and each target angle value within each angle group. Thus, it is possible to minimize the J offset angle values determined by any contour line covering the angle values of all equidistant points on that contour line.
[0076] Considering that the preset angle range can include two opposite angle ranges. For example, the preset angle range [-70°, -20°] ∪ [20°, 70°] includes two opposite angle ranges [-70°, -20°] and [20°, 70°]. Therefore, r angle groups (i.e., 2 / J) can be divided within each angle range, 2r = J. The J offset angle values corresponding to the x-th contour line include the central angle values corresponding to the r angle groups divided from the N×M target angle values within each of the two opposite angle ranges. Among them, those skilled in the art can set the value of J according to historical experience. J can be the number that can minimize the offset angle values covering all angle values. For example, J can be 4 (representing 4 carbon fiber winding layers), that is, the x-th contour line can find 4 offset angle values within the preset angle range. Specifically, 2 negative offset angle values and 2 positive offset angle values can be found respectively within the two opposite angle ranges. Of course, J can be 6 (representing 6 carbon fiber winding layers), which can make the printed carbon fiber reinforced layer more compact and strong.
[0077] Exemplarily, based on Figure 7 the five stress vectors corresponding to each equidistant point on the shown local contour line, performing the above steps S14 to S15 can obtain Figure 8 the four offset angle values corresponding to each contour line in the shown local contour line, as Figure 8As shown, there are four arrows at equidistant points, respectively representing the offset directions corresponding to four offset angle values. The offset directions indicated by the four arrows at each equidistant point on the same contour line are the same, representing that the four offset angle values corresponding to each equidistant point on the same contour line are the same. Among them, the four offset angle values of each layer of contour lines can correspond to four carbon fiber winding layers, and the offset angle values corresponding to each layer of contour lines in each carbon fiber winding layer can be determined simultaneously.
[0078] In step S16, according to the J offset angle values corresponding to each layer of contour lines in the multi-layer contour lines, a carbon fiber printing path corresponding to each carbon fiber winding layer in the J carbon fiber winding layers is generated.
[0079] As described above, there is an association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines, and the association relationship is used to indicate the mutually associated equidistant points on adjacent contour lines; in a possible implementation manner, the above-mentioned generating a carbon fiber printing path corresponding to each carbon fiber winding layer in the J carbon fiber winding layers according to the J offset angle values corresponding to each layer of contour lines in the multi-layer contour lines includes:
[0080] 16.1. For the j-th carbon fiber winding layer among the J carbon fiber winding layers, according to the offset angle value corresponding to each layer of contour lines in the j-th carbon fiber winding layer and the average layer height of the multi-layer contour lines, the N equidistant points on each layer of contour lines are offset to obtain N target equidistant points after offset on each layer of contour lines, where 1 ≤ j ≤ J;
[0081] 16.2. According to the association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines and the N target equidistant points after offset on each layer of contour lines, the target equidistant points associated between adjacent contour lines in the multi-layer contour lines are connected correspondingly to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
[0082] Among them, the above-mentioned for the j-th carbon fiber winding layer among the J carbon fiber winding layers, according to the offset angle value corresponding to each layer of contour lines in the j-th carbon fiber winding layer and the average layer height of the multi-layer contour lines, offsetting the N equidistant points on each layer of contour lines to obtain N target equidistant points after offset on each layer of contour lines may include:
[0083] For the x-th layer of contour lines of the j-th carbon fiber winding layer among the J carbon fiber winding layers, according to the offset angle value corresponding to the x-th layer of contour lines in the j-th carbon fiber winding layer and the average layer height, determine the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer;
[0084] By accumulating the offset of the contour line of the first layer under the j-th carbon fiber winding layer to the offset of the contour line of the x-th layer under the j-th carbon fiber winding layer, the cumulative offset of the contour line of the x-th layer under the j-th carbon fiber winding layer is obtained;
[0085] According to the cumulative offset of the contour line of the x-th layer under the j-th carbon fiber winding layer, the N equally spaced points on the contour line of the x-th layer are offset along the contour line of the x-th layer by the cumulative offset to obtain N target equally spaced points after offset on the contour line of the x-th layer.
[0086] Among them, the offset of the contour line of the x-th layer under the j-th carbon fiber winding layer can be expressed as: , represents the average floor height, represents the offset angle value corresponding to the contour line of the x-th layer under the j-th carbon fiber winding layer; similarly, in step 16.2, the offset of the contour line of the first layer under the j-th carbon fiber winding layer can be expressed as , represents the offset angle value corresponding to the contour line of the first layer under the j-th carbon fiber winding layer. Furthermore, the cumulative offset of the contour line of the x-th layer under the j-th carbon fiber winding layer is expressed as , where the cumulative offset of the contour line of the first layer under the j-th carbon fiber winding layer is also the offset of the contour line of the first layer under the j-th carbon fiber winding layer. Then, in step 16.3, each equally spaced point on the contour line of the x-th layer of the j-th carbon fiber winding layer is offset along the contour line , so that the deflection angle of the offset carbon fiber printing path and the offset angle value are similar, which is beneficial to generating an effective and evenly arranged carbon fiber printing path subsequently.
[0087] As described above, when generating equally spaced points on each layer of contour lines through the above step S12, the equally spaced points related to each other on adjacent contour lines in multiple layers of contour lines (i.e., the above-mentioned correlation relationship) can be recorded. After offsetting the N equally spaced points on each layer of contour lines, the equally spaced points between adjacent contour lines are usually no longer aligned in position, but still connect the target equally spaced points related to each other between adjacent contour lines in multiple layers of contour lines (i.e., the equally spaced points that are not aligned but related, or the offset and related equally spaced points) according to the above-mentioned correlation relationship to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer. It should be understood that if there are N equally spaced points on the contour line, N curves (i.e., N carbon fiber printing paths) can be connected. Exemplarily, based on Figure 8 the offset angle value of a certain layer of carbon fiber winding layer on the partial contour line shown in, by executing the above step 16.1 to step 16.2, the partial carbon fiber printing path of this carbon fiber winding layer as shown in Figure 9 can be generated.
[0088] Considering that the carbon fiber printing path obtained by connecting the corresponding target equidistant points between adjacent contour lines in the multi-layer contour lines may not be smooth enough. To make the carbon fiber printing path smoother, the connection lines between the target equidistant points on the multi-layer contour lines can also be softened. Thus, in a possible implementation, the above method of connecting the corresponding target equidistant points between adjacent contour lines in the multi-layer contour lines according to the correlation relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines and the N target equidistant points offset on each layer of contour lines to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer may include:
[0089] According to the correlation relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines and the N target equidistant points offset on each layer of contour lines, connect the corresponding target equidistant points between adjacent contour lines in the multi-layer contour lines, and soften the connection result to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer. Among them, those skilled in the art can adopt the known softening processing methods in the art. For example, a spline curve can be generated based on multiple target equidistant points that are mutually correlated on the multi-layer contour lines, and then the positions of each target equidistant point on the spline curve are projected onto the surface of the three-dimensional model, so that the printing path obtained by connecting the target equidistant points is smoother. Or, the position of the target equidistant point with a prominent position among the mutually correlated multiple target equidistant points can also be corrected to the average value of the positions of the multiple target equidistant points. The embodiments of the present disclosure do not limit this.
[0090] It should be understood that for each carbon fiber winding layer among the J carbon fiber winding layers, the carbon fiber printing path corresponding to each carbon fiber winding layer can be obtained according to the above steps 16.1 to 16.2. Exemplarily, for Figure 2 the shown three-dimensional model of the substrate, the carbon fiber printing paths corresponding to the four carbon fiber winding layers shown in (1) to (4) in Figure 10 can be generated.
[0091] Among them, the three-dimensional printing path planning result corresponding to the substrate may include the carbon fiber printing paths corresponding to the J carbon fiber winding layers. For example, Figure 11 the shown three-dimensional printing path planning result may include Figure 10 the carbon fiber printing paths corresponding to the four carbon fiber winding layers shown in (1) to (4) in
[0092] In practical applications, given the three-dimensional printing path planning result corresponding to the known substrate, any known three-dimensional printing system in the art can be controlled to perform the printing work of printing a carbon fiber reinforced layer on the substrate according to the above three-dimensional printing path planning result. For example, each carbon fiber winding layer can be printed in sequence according to the carbon fiber printing path of each carbon fiber winding layer, so as to realize the printing of a carbon fiber reinforced layer on the substrate. The embodiments of the present disclosure do not limit this. Among them, the carbon fiber involved in the embodiments of the present disclosure can be continuous carbon fiber, which can form carbon fiber filaments to generate a carbon fiber reinforced layer.
[0093] According to the path planning method of the embodiments of the present disclosure, obtaining the stress vector set through finite element analysis of the three-dimensional model of the substrate is equivalent to obtaining the stress distribution of the substrate under various loads. Furthermore, based on the stress distribution, the offset angle values of equally spaced points on the isoline are determined, which can make the offset angle values of each equally spaced point on each isoline uniform, facilitating ensuring that the arrangement of the printing paths in each carbon fiber winding layer is relatively uniform and covers the stress distributions in multiple directions of the substrate. Then, based on the J offset angle values corresponding to each isoline, the three-dimensional carbon fiber printing paths corresponding to the J carbon fiber winding layers can be effectively determined, such that the carbon fiber reinforced layer obtained by three-dimensional printing according to the carbon fiber printing paths of multiple carbon fiber winding layers can greatly improve the bearing capacity of the substrate, and can make the printing efficiency of three-dimensional printing higher and more carbon fiber materials are saved.
[0094] The embodiments of the present disclosure also propose a Figure 12 three-dimensional printing system based on a carbon fiber reinforced substrate, as Figure 12 shown. The system mainly includes a main robotic arm 01, an auxiliary robotic arm 02, a carbon fiber print head 03, and a substrate fixing frame 04. Among them, the carbon fiber print head 03 is installed on the auxiliary robotic arm 02, the substrate fixing frame 04 is installed on the main robotic arm 01, the carbon fiber print head 03 is used to generate carbon fiber filaments, and the substrate fixing frame 04 is used to fix the substrate to be reinforced (such as 00 in the figure).
[0095] It should be understood that those skilled in the art can use robotic arms known in the art as the main robotic arm 01 and the auxiliary robotic arm 02. For example, the main robotic arm 01 can use a KUKA KR6 R700 6-axis industrial robot to drive the base fixed on the driving base fixed frame 04; the auxiliary robotic arm 02 can use a KUKA Agilus KR6-10 R900 6-axis industrial robot to drive the carbon fiber print head 03. Among them, the installation process of the dual robotic arms can include: fixing the dual robotic arms at a predetermined position, connecting the cables to the control cabinet, configuring the power supply and network, installing the KUKA software and completing the initial settings to ensure the normal operation of the system; then performing base coordinate calibration, that is, the zero position and direction of the base coordinate systems of the two robotic arms can be adjusted in sequence through the teach pendant to verify the alignment accuracy of the coordinate systems of the two robotic arms.
[0096] In practical applications, those skilled in the art can customize the specific structures of the carbon fiber print head 03 and the base fixed frame 04. Of course, the known carbon fiber print head 03 and the base fixed frame 04 in the art can also be used as long as the respective required functions can be achieved, and the embodiments of the present disclosure do not limit this. Among them, the carbon fiber print head 03 can be understood as a tool head for extruding continuous carbon fiber prepreg filaments installed on the auxiliary robotic arm.
[0097] Among them, the base fixed frame 04 can include a winding frame for fixing the base and auxiliary connecting parts to facilitate precise operation during the winding process. Exemplarily, Figure 13 A base fixed frame is shown. The base fixed frame can include wire collecting and elongating parts (041 and 042) at both ends and a flange connecting part 043; among them, the wire collecting and elongating parts are used to assist the carbon fiber print head in pulling out the carbon fiber filaments (as shown in (a) below, the carbon fiber filaments are pulled out from the print head and tied to the wire collecting and elongating parts at the beginning of printing), that is, at the beginning of winding, one end of the carbon fiber filaments needs to be pulled out from the print head and tied to the wire collecting and elongating parts so that the filament winding process can be stably pulled out; and as shown in (b) below, the wire collecting and elongating parts are also used to wind the carbon fiber filaments generated by the carbon fiber print head during the reset of the main robotic arm, that is, during the reset of the main robotic arm (for example, when the printing path exceeds the angular limit of the main robotic arm and a reset is performed), it receives the winding of continuous fibers. As Figure 14 shown in (a). Figure 14 shown in (b), the wire collecting and elongating parts are also used to wind the carbon fiber filaments generated by the carbon fiber print head during the reset of the main robotic arm, that is, during the reset of the main robotic arm (for example, when the printing path exceeds the angular limit of the main robotic arm and a reset is performed), it receives the winding of continuous fibers. As Figure 13As shown, the wire gathering and elongating member 041 is fixedly connected to the base body 00. One end of the wire gathering and elongating member 042 is fixed to the base body 00 and the other end is connected to the flange connecting member 043. The flange connecting member 043 is connected to the main robotic arm 01. That is to say, the flange connecting member 043 is used to connect the wire gathering and elongating member at one end of the base body fixing frame to the flange at the end of the main robotic arm, so as to fix the base body fixing frame 04 with the base body 00 fixed thereon to the main robotic arm 01. Among them, the present disclosure embodiment does not limit the fixing manner of the wire gathering and elongating member 041 on the base body. The flange connecting member 043 can adopt a standardized interface to ensure reliable cooperation with the end of the robotic arm.
[0098] In practical applications, as Figure 13 shown, some anchor points can also be provided at both the head and tail ends of the base body 00 (i.e., the anchor points indicated by the triangular patterns at both ends), which are used to fix the carbon fiber filaments and ensure that the carbon fiber filaments can be stably pulled out. Or rather, it can help ensure that the starting position of the carbon fiber filaments is fixed and the filaments are hooked and pulled out. As Figure 14 shown in (c) of, the carbon fiber filaments are hooked by the anchor points at both ends of the base body to ensure that the carbon fiber filaments are pulled out and covered on the base body along the carbon fiber printing path.
[0099] In practical applications, the assembly and installation process of the base body fixing frame 04 can include: assembling accessory connecting members such as the base body fixing frame 04 according to the design scheme; enabling the teach pendant and switching to the T1 mode, selecting the main robotic arm for manual control, adjusting the posture of the main robotic arm to zero the A6 axis, and fixing the base body fixing frame 04 to the flange at the end of the main robotic arm in a specified initial pose (for example, with the bent angle of the base body fixed by the base body fixing frame 04 facing downward).
[0100] In practical applications, the installation process of the carbon fiber print head 03 can include: switching to the main robotic arm through the teach pendant, adjusting the posture of the main robotic arm to zero its A6 axis, installing the base body fixing frame 04 with the base body fixed thereon to the end of the main robotic arm, installing the carbon fiber print head 03 on the auxiliary robotic arm, and adjusting the direction of the carbon fiber print head 03 to face downward as much as possible for subsequent winding operations.
[0101] In practical applications, the measurement and calibration process of the carbon fiber print head 03 may include: using a robotic arm teach pendant, precisely calibrating the TCP (Tool Center Point) of the carbon fiber print head 03 through the XYZ four-point method to ensure that its actual position is exactly the same as the theoretical model. Specifically, use the teach pendant to select "Tool Head / Base Coordinate Management" and add a tool head (i.e., the carbon fiber print head 03) to the auxiliary robotic arm. Select the XYZ four-point method in the "Measurement" option, align the tool head with the reference point from four directions in sequence and save the measurement point data. Fine-tune the TCP position of the tool head according to the measurement results to ensure that the actual position of the tool head is consistent with the theoretical model. Save the calibrated tool head information to the controller of the auxiliary robotic arm to provide accurate reference data for subsequent path planning.
[0102] Based on the three-dimensional printing path planning method and the three-dimensional printing system provided by the above embodiments of the present disclosure, the embodiments of the present disclosure also provide a three-dimensional printing method. This printing method is applied to the above three-dimensional printing system, and this printing method includes:
[0103] 2.1. Adopt the above three-dimensional printing path planning method to determine the three-dimensional printing path planning result corresponding to the substrate. This three-dimensional printing path planning result includes the carbon fiber printing paths corresponding to each carbon fiber winding layer in the J carbon fiber winding layers;
[0104] 2.2. According to the three-dimensional printing path planning result, determine the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively;
[0105] 2.3. Based on the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively, control the three-dimensional printing system to perform the printing work of the carbon fiber reinforced layer on the substrate.
[0106] It should be understood that step 2.1 can adopt the implementation manners of the above steps S11 to S16 to determine the three-dimensional printing path planning result corresponding to the substrate, which will not be elaborated here.
[0107] As described above, before the main robotic arm 01, the auxiliary robotic arm 02, the carbon fiber print head 03, and the substrate fixing frame 04 fixed with the substrate perform the printing work, installation, calibration, positioning and other work can be carried out, which is equivalent to knowing the robotic arm information (i.e., the models of the two robotic arms), the base coordinate information (i.e., the relative pose of the two robotic arms), the tool head information (i.e., the TCP position of the carbon fiber print head 03 after calibration, etc.), and the initial pose of the substrate. Furthermore, based on the above known information and according to the three-dimensional printing path planning result, the pose data of the main robotic arm and the auxiliary robotic arm during the printing process can be determined, or the motion poses of the main robotic arm and the auxiliary robotic arm during the three-dimensional printing process according to the three-dimensional printing path planning result can be determined.
[0108] The embodiments of the present disclosure do not limit the derivation process of the motion poses of the main robotic arm and the auxiliary robotic arm. For example, those skilled in the art can use any known algorithms or software in the art to determine the respective motion poses of the main robotic arm and the auxiliary robotic arm during printing according to the 3D printing path planning result, and then generate motion instructions. For example, the Grasshopper plugin KUKA-PRC can be used to complete the simulated motion of the two robotic arms based on the 3D printing path planning result and output motion instructions. That is, the above-mentioned robotic arm information, base coordinate information, tool head information, and 3D printing path planning result can be combined to simulate the motion process of the two robotic arms during 3D printing according to the 3D printing path planning result, so as to obtain the respective motion postures of the main robotic arm and the auxiliary robotic arm during printing, and then generate motion instructions. The motion instructions can be used to control the motion poses of the robotic arm during printing.
[0109] As described above, the substrate may include a substrate having the same cross-sectional shape and the same cross-sectional area between two ends; this type of substrate can be regarded as a cylinder, and the initial pose of the main robotic arm can be controlled so that the substrate is in a lying-down state (such as the state shown in (a) in Figure 14 . That is, the substrate fixed to the substrate fixing frame can be in a lying-down state, and then the motion poses of the two robotic arms can be deduced according to the rotation angle of the substrate, so as to generate motion instructions. Thus, in a possible implementation manner, in step 2.1 above, determining the respective motion instructions of the main robotic arm and the auxiliary robotic arm during printing according to the 3D printing path planning result may include:
[0110] According to the 3D printing path planning result, determine the substrate rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer. The substrate rotation data includes the rotation angle of the substrate during the printing process when the carbon fiber printing head prints according to each carbon fiber printing path.
[0111] According to the substrate rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer, determine the respective motion instructions of the main robotic arm and the auxiliary robotic arm during printing.
[0112] It should be understood that knowing the 3D printing path planning result is equivalent to knowing each carbon fiber printing path (that is, each connection line) in each carbon fiber winding layer. For the y-th carbon fiber printing path (that is, the y-th connection line) in the j-th carbon fiber winding layer, the offset angle of the equidistant point corresponding to the y-th carbon fiber printing path on the x-th contour line can be calculated, that is , and the cumulative angle, that is , the cumulative offset angle represents the rotation angle that the matrix needs to rotate when the carbon fiber filament is wound at the contour line position of each layer, that is, it represents the rotation angle of the A6 axis of the main robotic arm. Thus, the rotation angle of the matrix during the printing process by the carbon fiber print head along each carbon fiber printing path can be obtained. Furthermore, the cumulative angle can be mapped to the A6 axis of the main robotic arm, and all poses of the main robotic arm can be determined based on the specified spatial coordinate system. Then, according to the plane where the main robotic arm is located corresponding to the matrix fixed frame, the points that the carbon fiber long print head reaches accordingly and the plane where the corresponding auxiliary robotic arm reaches can be obtained. The normal vector of the plane direction where the auxiliary robotic arm reaches is determined by the normal vector of the point where the carbon fiber long print head reaches on the matrix surface. The positive x direction (i.e., the print head orientation) is obtained from the relative positions of the two robotic arms. During this process, by adjusting the position of the plane reached by the main robotic arm, the plane reached by the auxiliary robotic arm can be relatively obtained, which is equivalent to knowing the motion poses of the main robotic arm and the auxiliary robotic arm during the printing process. Furthermore, corresponding motion instructions can be generated.
[0113] Among them, in order to ensure the continuity of the carbon fiber filament nearby during the printing process, for every other carbon fiber printing path, the order of the equidistant points corresponding to the carbon fiber printing path on the contour line and the cumulative angle will be reversed, which makes the carbon fiber filament arranged in a zigzag reciprocating pattern during the printing process. That is, in order to ensure the continuity of the fiber winding path, for every other fiber, the order of the corresponding points and the cumulative angle will be adjusted in the reverse direction. In this way, the winding path of the carbon fiber filament during the printing process will show a zigzag reciprocating arrangement.
[0114] Among them, considering the possible angular limit of the A6 axis of the robotic arm, the cumulative angle distribution corresponding to each equidistant point of each carbon fiber printing path can be adjusted to the angular range (-350°, 350°) that the A6 axis of the robotic arm can rotate. If the cumulative angle exceeds this range, the entire carbon fiber printing path can be offset as a whole with a period of 360 degrees (that is, offset by a 360-degree period as a whole) until the cumulative angle falls within the above range. This means that the main robotic arm will drive the matrix to rotate one week to reset. So as shown in (b) of Figure 14 , the carbon fiber print head needs to be kept above both ends (such as the wire gathering extension part) so that the continuous carbon fiber filament can be wound on it during the reset period. Of course, if there is no angular limit for the main robotic arm, the above reset operation does not need to be performed.
[0115] In practical applications, in the KUKA|prc plugin, the Synchronize Robots component of ROBOTEAM can be used to add the "Sync MOVE" command to the main robotic arm and the auxiliary robotic arm one by one for each motion command, so that the two robotic arms move synchronously at each point, that is, synchronize the motion commands of the main robotic arm and the auxiliary robotic arm to ensure that the motions of the two robotic arms are consistent at each point. Among them, in the "KUKA|prc CORE" component, information about the robotic arm, base coordinate information, tool head information, the aforementioned command data (that is, the motion instructions of the two robotic arms), the initial speed of the robotic arm (for example, it can be set to 0.25 m / s), project name and save path, etc. can be input respectively, and motion simulation (that is, the planning simulation of the printing path) can be carried out in the ROBOTEAM mode to generate the motion poses of the two robotic arms during the printing process; it should be understood that by applying the above motion simulation method to each layer of the carbon fiber winding layer, the simulation of the overall path planning can be completed, that is, the motion poses of the two robotic arms during the entire printing process are simulated, thereby generating motion instructions. Exemplarily, as Figure 14 the motion simulation implemented in (c) to (f) of Figure 14 in which (c) can represent the printing process of the first carbon fiber winding layer in the simulation, Figure 14 in which (d) can represent the printing process of the second carbon fiber winding layer in the simulation, Figure 14 in which (e) can represent the printing process of the third carbon fiber winding layer in the simulation, Figure 14 in which (d) can represent the completion of the printing process of the fourth carbon fiber winding layer in the simulation, and by simulating the printing processes of the above-mentioned various carbon fiber winding layers, the corresponding motion codes (that is, motion instructions) can be exported.
[0116] In practical applications, after obtaining the motion instructions of the two robotic arms, the motion instruction file can be input into the controllers of the two robotic arms. For example, a USB flash drive carrying the motion instruction file can be inserted into the USB interface of the robotic arm controller, and in the "Administrator Mode", the motion instruction files of the two robotic arms can be copied to the corresponding robotic arm controllers respectively. Select the motion instruction files required by the two robotic arms in turn in the interactive interface of the robotic arm to prepare for subsequent operations.
[0117] Thus, in the above three-dimensional printing system, the controller in the main robotic arm 01 is used to control the motion posture of the main robotic arm during the printing process according to the motion instructions of the main robotic arm determined by the above printing method; the controller in the auxiliary robotic arm 02 is used to control the motion posture of the auxiliary robotic arm during the printing process according to the motion instructions of the auxiliary robotic arm determined by the above printing method. Thus, the printing work of printing the carbon fiber reinforced layer on the substrate is realized by using the three-dimensional printing system.
[0118] In practical applications, according to the stability requirements of 3D printing, the speed at which the carbon fiber print head produces carbon fiber filaments can also be adjusted, and the moving speeds of the two robotic arms can be adjusted. For example, the ratio of the moving speeds of the two robotic arms can be set to 10% to ensure the accuracy and stability of the printing process. The teach pendant can also be used to move the two robotic arms to a safe position in T1 mode. After switching to Auto mode, the movements of the two robotic arms are adjusted separately to make them reach the BCO position (that is, to make the actual positions of the robotic arms exactly the same as the set positions), so as to prepare for positioning for the printing work.
[0119] Among them, before printing starts, the carbon fiber filament can be pulled out from the carbon fiber print head and fixed on a nearby filament collecting and stretching part to ensure the smooth extrusion and precise winding of the carbon fiber in the filament during the printing process. Then, the carbon fiber print head can be started, and at the same time, the movements of the two robotic arms are started, so that the two robotic arms gradually print continuous carbon fiber reinforced layers along the surface of the substrate synchronously. After the printing of the carbon fiber reinforced layer is completed, post-treatment such as surface grinding, polishing, painting, etc. can also be performed on the printed carbon fiber reinforced layer. The embodiments of the present disclosure do not limit this.
[0120] According to the 3D printing method of the embodiments of the present disclosure, the carbon fiber reinforced layer obtained by 3D printing according to the carbon fiber printing path of the multi-layer carbon fiber winding layer can greatly improve the load-bearing capacity of the substrate, and can make the printing efficiency of 3D printing higher and save more carbon fiber materials.
[0121] It should be noted that the above-mentioned 3D path planning method and 3D printing method proposed by the embodiments of the present disclosure can be deployed on various terminal devices through software or hardware transformation. The terminal devices involved in the embodiments of the present disclosure can refer to devices with wireless connection functions and / or wired connection functions. The wireless connection function means that it can be connected to other devices through wireless connection methods such as wifi and Bluetooth. The terminal devices involved in the embodiments of the present disclosure can also communicate with other devices through the wired connection function. The terminal devices involved in the embodiments of the present disclosure can be touch-screen, non-touch-screen, or without a screen. Touch-screen devices can be controlled by clicking, swiping, etc. on the display screen with fingers, styluses, etc. Non-touch-screen devices can be connected to input devices such as mice, keyboards, and touch panels to control the terminal devices through the input devices. Devices without a screen can be, for example, Bluetooth speakers without a screen. For example, the terminal devices of the present application can include, but are not limited to, user equipment (UE), mobile devices, mobile terminals, handheld devices, tablet computers, laptop computers, palmtop computers, computing devices, etc.
[0122] The above three-dimensional path planning method and three-dimensional printing method of the embodiments of the present disclosure can also be deployed on a server, on which a rendering engine can be deployed. The server can be located in the cloud or locally, and can be a physical device or a virtual device, such as a virtual machine, a container, etc., and has a wireless communication function. Among them, the wireless communication function can be set in the chip (system) or other components or assemblies of the server. It can refer to a device with a wireless connection function, and the function of the wireless connection means that it can be connected to other servers or terminal devices through wireless connection methods such as Wi-Fi and Bluetooth. The server involved in the embodiments of the present disclosure can also have a function of communicating through a wired connection. For example, the server of the embodiments of the present disclosure can be located in the cloud, communicate with a terminal device, receive the three-dimensional model of the substrate sent by the terminal device, and use the three-dimensional path printing method deployed on the server to determine the three-dimensional printing path planning result corresponding to the substrate based on the above three-dimensional model, and return it to the terminal device, so as to use the three-dimensional printing method deployed on the terminal device to control the three-dimensional printing system to perform the printing work of the carbon fiber reinforced layer on the substrate based on the three-dimensional printing path planning result corresponding to the substrate.
[0123] Based on the three-dimensional printing path planning method provided by the above embodiments of the present disclosure, the embodiments of the present disclosure also provide a three-dimensional printing path planning device, which may include:
[0124] A finite element analysis module, configured to obtain a stress vector set corresponding to the substrate by performing finite element analysis on the three-dimensional model of the substrate to be strengthened, where the stress vector set represents the distribution of stress vectors received by the substrate under each of the M kinds of load actions;
[0125] An isoline generation module, configured to generate multiple layers of isolines corresponding to the outer surface of the three-dimensional model, and each layer of isolines includes N equally spaced points evenly distributed;
[0126] A stress analysis module, configured to determine M stress vectors received by each equally spaced point on each layer of isolines according to the stress vector set, and the M stress vectors received by each equally spaced point include the stress vectors received by each equally spaced point under each of the M kinds of load actions;
[0127] An angle calculation module, configured to obtain M angle values corresponding to each equally spaced point on each layer of isolines by calculating the angles between the M stress vectors received by each equally spaced point on each layer of isolines and the tangent vectors of each equally spaced point on the isoline to which it belongs;
[0128] An offset determination module, configured to determine J offset angle values corresponding to each layer of isolines according to the M angle values corresponding to each of the N equally spaced points on each layer of isolines, and the J offset angle values correspond to J carbon fiber winding layers;
[0129] A path generation module, configured to generate a carbon fiber printing path corresponding to each of the J carbon fiber winding layers according to J offset angle values corresponding to each layer of the multi-layer contour lines.
[0130] In a possible implementation, there is an association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines, and the association relationship is used to indicate the mutually associated equidistant points on adjacent contour lines; wherein, the step of generating a carbon fiber printing path corresponding to each of the J carbon fiber winding layers according to J offset angle values corresponding to each layer of the multi-layer contour lines includes: for the j-th carbon fiber winding layer among the J carbon fiber winding layers, offset the N equidistant points on each layer of the contour line according to the offset angle value corresponding to the j-th carbon fiber winding layer of each layer of the contour line and the average layer height of the multi-layer contour lines to obtain N target equidistant points after offset on each layer of the contour line, 1 ≤ j ≤ J; according to the association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines and the N target equidistant points after offset on each layer of the contour line, connect the corresponding target equidistant points associated between adjacent contour lines in the multi-layer contour lines to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
[0131] In a possible implementation, the step of generating the multi-layer contour lines corresponding to the outer surface of the three-dimensional model includes: performing triangular meshing on the outer surface corresponding to the three-dimensional model to obtain a three-dimensional mesh model, where the three-dimensional mesh model represents the triangulated outer surface; determining a distance field corresponding to the three-dimensional model according to the positions of the grid points in the three-dimensional mesh model, where the distance field includes the distances from the grid points in the three-dimensional mesh model to a specified surface of the three-dimensional model, and the specified surface includes the edge surfaces at both ends of the three-dimensional model; generating the multi-layer contour lines corresponding to the outer surface of the three-dimensional model based on the distance field and a preset average layer height, where the seam positions between the multi-layer contour lines are aligned and the generation directions are the same; extracting N equidistant points evenly distributed on each layer of the contour line according to a preset average distance, and the N equidistant points extracted on each layer of the contour line are aligned with each other, and determining the equidistant points aligned with each other on adjacent contour lines in the multi-layer contour lines as corresponding associated equidistant points to obtain the association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines, where the average distance represents the distance between two adjacent equidistant points on the same contour line.
[0132] In a possible implementation, determining the J offset angle values corresponding to each layer of contour lines according to the M angular values corresponding to each of the N equally spaced points on each layer of contour lines includes: for the N×M angular values on the x-th layer of contour lines, determining whether each of the N×M angular values is within a preset angular range, and in the case where there are angular values among the N×M angular values that do not belong to the preset angular range, correcting the angular values that do not belong to the preset angular range to the boundary value closest to the angular value in the preset angular range, so as to obtain the N×M target angular values corresponding to the N equally spaced points on the x-th layer of contour lines, where the preset angular range represents the angular range that enables the carbon fiber to be wound around the matrix; by statistically grouping the N×M target angular values, obtaining J angular groups divided within the preset angular range by the N×M target angular values and the central angular value corresponding to each of the J angular groups, where the central angular value corresponding to each angular group is the angular value with the smallest sum of distances from each target angular value within each angular group; determining the central angular values corresponding to the J angular groups respectively as the J offset angle values corresponding to the x-th layer of contour lines.
[0133] In a possible implementation, the preset angular range includes two opposite angular ranges, and r angular groups are divided within each angular range, 2r = J, and the J offset angle values corresponding to the x-th layer of contour lines include the central angular values corresponding to the r angular groups divided within each of the two opposite angular ranges by the N×M target angular values.
[0134] In a possible implementation, for the j-th carbon fiber winding layer among the J carbon fiber winding layers, offsetting the N equally spaced points on each layer of contour lines according to the offset angle value corresponding to each layer of contour lines in the j-th carbon fiber winding layer and the average layer height of the multiple layers of contour lines to obtain the N target equally spaced points after offset on each layer of contour lines includes: for the x-th layer of contour lines of the j-th carbon fiber winding layer among the J carbon fiber winding layers, determining the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer according to the offset angle value corresponding to the x-th layer of contour lines in the j-th carbon fiber winding layer and the average layer height; by accumulating the offset amount of the first layer of contour lines under the j-th carbon fiber winding layer to the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer, obtaining the cumulative offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer; offsetting the N equally spaced points on the x-th layer of contour lines along the x-th layer of contour lines by the cumulative offset amount to obtain the N target equally spaced points after offset on the x-th layer of contour lines.
[0135] In a possible implementation, the offset of the x-th layer of contour lines under the j-th carbon fiber winding layer is expressed as: The cumulative offset of the x-th layer of contour lines under the j-th carbon fiber winding layer is expressed as ; where represents the average layer height, represents the offset angle value of the x-th layer of contour lines corresponding to the j-th carbon fiber winding layer.
[0136] In a possible implementation, based on the association relationship between the equally spaced points on adjacent contour lines in the multi-layer contour lines and the N target equally spaced points after offset on each layer of contour lines, connecting the corresponding target equally spaced points associated between adjacent contour lines in the multi-layer contour lines to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer includes: based on the association relationship between the equally spaced points on adjacent contour lines in the multi-layer contour lines and the N target equally spaced points after offset on each layer of contour lines, connecting the corresponding target equally spaced points associated between adjacent contour lines in the multi-layer contour lines, and softening the connection result to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
[0137] According to the three-dimensional printing path planning device of the embodiments of the present disclosure, obtaining the stress vector set through finite element analysis of the three-dimensional model of the substrate is equivalent to obtaining the stress distribution of the substrate under various loads. Furthermore, based on the stress distribution, determining the offset angle values of the equally spaced points on the contour lines can make the offset angle values of each equally spaced point on each layer of contour lines unified, and is conducive to making the arrangement of the printing paths in each carbon fiber winding layer relatively uniform and covering the stress distributions in multiple directions of the substrate. Then, based on the J offset angle values corresponding to each layer of contour lines, the carbon fiber printing paths corresponding to the J layers of carbon fiber winding layers can be effectively determined, so that the carbon fiber reinforced layer obtained by three-dimensional printing according to the carbon fiber printing paths of the multi-layer carbon fiber winding layers can greatly improve the bearing capacity of the substrate, and can make the printing efficiency of three-dimensional printing higher and save more carbon fiber materials.
[0138] Based on the three-dimensional printing path planning device proposed in the above embodiments of the present disclosure, embodiments of the present disclosure also propose a three-dimensional printing device. This device can be applied to the above three-dimensional printing system, and this device includes:
[0139] A path determination module, configured to use the path planning device described above to determine the three-dimensional printing path planning result corresponding to the substrate, and the three-dimensional printing path planning result includes the carbon fiber printing paths corresponding to each of the J carbon fiber winding layers;
[0140] An instruction determination module, configured to determine motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process according to the three-dimensional printing path planning result;
[0141] A control module, configured to control the three-dimensional printing system to perform the printing work of the carbon fiber reinforced layer on the substrate based on the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process.
[0142] In a possible implementation manner, the substrate includes a substrate with the same cross-sectional shape and the same cross-sectional area between two ends; the substrate fixed to the substrate fixing frame is in a flat and inverted state, wherein determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process according to the three-dimensional printing path planning result includes: determining substrate rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer according to the three-dimensional printing path planning result, where the substrate rotation data includes the rotation angle of the substrate during the printing process by the carbon fiber print head along each carbon fiber printing path; and determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process according to the substrate rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer.
[0143] According to the three-dimensional printing device of the embodiments of the present disclosure, the carbon fiber reinforced layer obtained by three-dimensional printing according to the carbon fiber printing paths of multiple layers of carbon fiber winding layers can greatly improve the bearing capacity of the substrate, and can make the printing efficiency of three-dimensional printing higher and more carbon fiber materials are saved.
[0144] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments, and the specific implementation can refer to the description of the above method embodiments. For the sake of brevity, it will not be repeated here.
[0145] The embodiments of the present disclosure also propose a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above methods are implemented. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0146] The embodiments of the present disclosure also propose an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above methods when executing the instructions stored in the memory.
[0147] The embodiments of the present disclosure also provide a computer program product, including computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code, and when the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above methods.
[0148] Figure 15 FIG. 3 is a block diagram showing an electronic device 1900 according to an embodiment of the present disclosure. For example, the device 1900 may be provided as a server or a terminal device. Referring to Figure 15 , the device 1900 includes a processing component 1922, which further includes one or more processors, and memory resources represented by a memory 1932 for storing instructions executable by the processing component 1922, such as application programs. The application programs stored in the memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0149] The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server TM , MacOS X TM , Unix TM , Linux TM , FreeBSD TM or the like.
[0150] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as the memory 1932 including computer program instructions, and the above computer program instructions can be executed by the processing component 1922 of the device 1900 to complete the above method.
[0153] The present disclosure may be a system, a method, and / or a computer program product. The computer program product may include a computer-readable storage medium having thereon computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0152] A computer-readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example—but not limited to—an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disc (DVD), a memory stick, a floppy disk, a mechanically encoded device, such as a punched card or raised structures in grooves storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage medium used herein is not construed as being an instantaneous signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated through a waveguide or other transmission medium (e.g., an optical pulse through an optical fiber cable), or an electrical signal transmitted through a wire.
[0153] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include a copper transmission cable, an optical fiber transmission, a wireless transmission, a router, a firewall, a switch, a gateway computer, and / or an edge server. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing / processing device.
[0154] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state-setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, by using the state information of the computer-readable program instructions to customize an electronic circuit, such as a programmable logic circuit, a field-programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute the computer-readable program instructions to implement various aspects of the present disclosure.
[0155] Aspects of the present disclosure are described herein with reference to the flowchart and / or block diagram of a method, apparatus (system), and computer program product according to embodiments of the present disclosure. It should be understood that each block of the flowchart and / or block diagram, and the combinations of blocks in the flowchart and / or block diagram, can be implemented by computer-readable program instructions.
[0156] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that the instructions, when executed by the processor of the computer or other programmable data processing apparatus, create a means for implementing the functions / acts specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which causes a computer, a programmable data processing apparatus, and / or other devices to operate in a specific manner, so that the computer-readable medium storing the instructions includes a manufacture, which includes instructions for implementing various aspects of the functions / acts specified in one or more blocks of the flowchart and / or block diagram.
[0157] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other devices to produce a computer-implemented process such that the instructions executed on the computer, other programmable data processing apparatus, or other devices implement the functions / acts specified in one or more boxes of the flowchart and / or block diagram.
[0158] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of code, or a portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two consecutive blocks may in fact be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or acts, or by a combination of dedicated hardware and computer instructions.
[0159] The embodiments of the present disclosure have been described above. The above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the market, or to enable other ordinary skilled artisans in the art to understand the embodiments disclosed herein.
Claims
1. A three-dimensional printing path planning method for carbon fiber reinforced matrix, characterized in that include: By performing finite element analysis on a three-dimensional model of a substrate to be reinforced, a set of stress vectors corresponding to the substrate is obtained, wherein the set of stress vectors represents the distribution of stress vectors on the substrate under each of M loads; Generating multiple layers of contour lines corresponding to the outer surface of the three-dimensional model, each layer of contour lines including N evenly distributed equidistant points; Determining, based on the set of stress vectors, M stress vectors to which each equidistant point on each contour line is subjected, wherein the M stress vectors to which each equidistant point is subjected include the stress vector to which each equidistant point is subjected under each of the M loads; By calculating the angles between the M stress vectors on each equidistant point on each contour line and the tangent vector of each equidistant point on its corresponding contour line, the M angle values corresponding to each equidistant point on each contour line are obtained; According to the M angle values corresponding to each of the N equidistant points on each layer of contour line, determine the J offset angle values corresponding to each layer of contour line; generating a carbon fiber printing path corresponding to each of the J carbon fiber winding layers according to the J offset angle values corresponding to each of the multiple layers of contour lines; There is an association relationship between equidistant points on adjacent contour lines in the multi-layer contour lines, and the association relationship is used to indicate the equidistant points on the adjacent contour lines that are associated with each other; wherein, generating a carbon fiber printing path corresponding to each carbon fiber winding layer in the J carbon fiber winding layers according to the J offset angle values corresponding to each contour line in the multi-layer contour lines includes: For the j-th carbon fiber winding layer among the J carbon fiber winding layers, offset N equidistant points on each contour line according to the offset angle value corresponding to the j-th carbon fiber winding layer of each contour line and the average layer height of the multiple contour lines to obtain N target equidistant points on each contour line after offset, where 1≤j≤J; According to the association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines and the N target equidistant points after offset on each contour line, the target equidistant points associated between adjacent contour lines in the multi-layer contour lines are connected correspondingly to obtain the carbon fiber printing path corresponding to the j-th carbon fiber winding layer.
2. The method according to claim 1, wherein Generating multiple layers of contour lines corresponding to the outer surface of the three-dimensional model includes: Performing triangulated meshing on the outer surface corresponding to the three-dimensional model to obtain a three-dimensional mesh model, wherein the three-dimensional mesh model represents the triangulated meshed outer surface; determining, based on positions of each grid point in the three-dimensional grid model, a distance field corresponding to the three-dimensional model, the distance field comprising distances between each grid point in the three-dimensional grid model and a specified surface of the three-dimensional model, the specified surface comprising edge surfaces at both ends of the three-dimensional model; Based on the distance field and a preset average layer height, generating multiple layers of contour lines corresponding to the outer surface of the three-dimensional model, wherein the seams between the multiple layers of contour lines are aligned and generated in the same direction; According to a preset average distance, N equidistant points evenly distributed are extracted on each layer of contour lines, and the N equidistant points respectively extracted on each layer of contour lines are aligned with each other. The equidistant points on adjacent contour lines in the multi-layer contour lines are determined as corresponding associated equidistant points, and the association relationship between the equidistant points on adjacent contour lines in the multi-layer contour lines is obtained. The average distance represents the distance between two adjacent equidistant points on the same contour line.
3. The method according to claim 1, characterized in that, Determining J offset angle values corresponding to each layer of contour lines according to M angle values corresponding to each of the N equidistant points on each layer of contour lines includes: For the N×M angle values on the x-th layer of contour lines, determine whether each of the N×M angle values is within a preset angle range. In the case where there are angle values among the N×M angle values that do not belong to the preset angle range, correct the angle values that do not belong to the preset angle range to the boundary value closest to the angle value in the preset angle range, and obtain N×M target angle values corresponding to the N equidistant points on the x-th layer of contour lines. The preset angle range represents the angle range that enables carbon fiber to be wound around the matrix. By performing statistical grouping on the N×M target angle values, J angle groups divided by the N×M target angle values within the preset angle range and the central angle value corresponding to each of the J angle groups are obtained. Determine the central angle values corresponding to the J angle groups as the J offset angle values corresponding to the x-th layer of contour lines.
4. The method according to claim 3, wherein The preset angle range includes two opposite angle ranges, and r angle groups are divided within each angle range, 2r = J. The J offset angle values corresponding to the x-th layer of contour lines include the central angle values corresponding to the r angle groups divided within each of the two opposite angle ranges of the N×M target angle values.
5. The method according to claim 1, characterized in that For the j-th carbon fiber winding layer among the J carbon fiber winding layers, offsetting the N equidistant points on each layer of contour lines according to the offset angle value corresponding to the j-th carbon fiber winding layer of each layer of contour lines and the average layer height of the multi-layer contour lines, and obtaining N target equidistant points after offset on each layer of contour lines, includes: For the x-th layer of contour lines of the j-th carbon fiber winding layer among the J carbon fiber winding layers, determine the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer according to the offset angle value corresponding to the x-th layer of contour lines under the j-th carbon fiber winding layer and the average layer height. By accumulating the offset amount of the first layer of contour lines under the j-th carbon fiber winding layer to the offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer, obtain the cumulative offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer. According to the cumulative offset amount of the x-th layer of contour lines under the j-th carbon fiber winding layer, offset the N equidistant points on the x-th layer of contour lines along the x-th layer of contour lines by the cumulative offset amount, and obtain N target equidistant points after offset on the x-th layer of contour lines.
6. The method according to claim 5, characterized in that The offset of the x-th contour line under the j-th carbon fiber winding layer is expressed as: The cumulative offset of the x-th contour line under the j-th carbon fiber winding layer is expressed as ; Among them, represents the average storey height, represents the offset angle value corresponding to the x-th contour line in the j-th carbon fiber winding layer.
7. A three-dimensional printing method for a carbon fiber reinforced matrix, characterized in that The printing method is applied to a three-dimensional printing system, which includes a main robotic arm, an auxiliary robotic arm, a carbon fiber print head, and a matrix fixing frame. The carbon fiber print head is installed on the auxiliary robotic arm, and the matrix fixing frame is installed on the main robotic arm. The carbon fiber print head is used to generate carbon fiber filaments, and the matrix fixing frame is used to fix the matrix to be strengthened. The printing method includes: Using the path planning method according to any one of claims 1 to 6, determining the three-dimensional printing path planning result corresponding to the matrix, where the three-dimensional printing path planning result includes the carbon fiber printing paths corresponding to each carbon fiber winding layer in J carbon fiber winding layers; According to the three-dimensional printing path planning result, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively; Based on the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively, controlling the three-dimensional printing system to perform the printing work of the carbon fiber reinforcement layer on the matrix.
8. The method according to claim 7, characterized in that The matrix includes a matrix with the same cross-sectional shape and the same cross-sectional area between its two ends; the matrix fixed to the matrix fixing frame is in a flat and inverted state. Among them, according to the three-dimensional printing path planning result, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively includes: According to the three-dimensional printing path planning result, determining the matrix rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer, where the matrix rotation data includes the rotation angle of the matrix during the printing process by the carbon fiber print head along each carbon fiber printing path; According to the matrix rotation data corresponding to each carbon fiber printing path in each carbon fiber winding layer, determining the motion instructions of the main robotic arm and the auxiliary robotic arm during the printing process respectively.
9. An electronic device, characterized in that: Includes: A processor; A memory for storing instructions executable by the processor; Wherein, the processor is configured to implement the path planning method according to any one of claims 1-6 or the three-dimensional printing method according to any one of claims 7-8 when executing the instructions stored in the memory.
Citation Information
Patent Citations
Continuous fiber reinforced composite 3D printing filling path planning method and device
CN114407350A
Space curved surface printing path planning method based on equidistant dispersion
CN116373305A
Cited By
Three-dimensional printing path generation method and additive manufacturing method for multi-branch tubular carbon fiber part
CN122125898A