A method, system and storage medium for calculating the flatness of an additive surface
By calculating the stacking height and corner overlap between a single path and adjacent paths, the problem of surface flatness in fused additive manufacturing is solved, the height control of the workpiece forming surface is achieved, and the surface flatness is improved.
Patent Information
- Application Number
- CN202410054055.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-15
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-01-15
AI Technical Summary
In the fused additive manufacturing process, the molding shape of the tool path and the overlap between the paths seriously affect the flatness of the workpiece surface, resulting in a highly uneven molding surface that is difficult to effectively adjust with existing technology.
By calculating the height of a single path, the stacking height between adjacent paths and the overlap height at corners, combined with the path shape and process parameters, the additive surface flatness is calculated and the height of the workpiece molding surface is adjusted.
It realizes the flatness adjustment of the additive manufacturing workpiece forming surface, controls the height of the workpiece forming surface, and improves the surface flatness.
Smart Images

Figure CN117892036B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a method for calculating the surface flatness of an additive material, and belongs to the technical field of additive manufacturing. Background Art
[0002] In the fused wire additive manufacturing process, the tool stacks the molten wire on the workpiece surface layer by layer along the planned path. The shape of the wire in each path and the overlap between paths will seriously affect the flatness of the workpiece surface, and also directly affect the height between adjacent layers. Therefore, it is necessary to analyze the shape of the path and the overlap between paths to understand the flatness of the additive surface, so as to improve the surface flatness and control the height of the workpiece molding surface by adjusting the path shape and additive process parameters. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defects of the prior art. By analyzing the molding shape of the path and the overlap between the paths, a method, system and storage medium for calculating the flatness of the additively manufactured surface are provided. The method can adjust the flatness of the molding surface of the additively manufactured workpiece, thereby controlling the height of the molding surface of the workpiece.
[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0005] A method for calculating the flatness of an additive surface comprises the following steps:
[0006] Step 1, calculating the path height h of a single path during material addition;
[0007] Step 2: Calculate the stacking height between adjacent single-path paths in the same layer during additive manufacturing: Calculate the height h of each overlapping path based on the different relationships between the spacing d between adjacent paths and the path width w of the single-path path. overlap ;
[0008] Step 3: Calculate the height h of the overlapping paths of the two paths forming each corner. overlap ;
[0009] Step 4: Calculate the surface flatness: Take the path height h of the single path as the reference height, and calculate the deviation value Δh=h between the height of each overlapping path and the reference height. overlap -h; then according to the deviation value, the maximum value of the peak height of the additive surface is obtained Maximum value of trough height The sum is the flatness FLT of the surface.
[0010] Furthermore, in step 1, the cross-sectional geometry of the single-path path is determined as a parabola Where w is the path width, cross-sectional area
[0011] The actual melting amount of the wire per unit time during additive manufacturing Among them, v t is the tool speed, v m and d m are the melting speed and diameter of the wire respectively;
[0012] Assume that the actual melting amount of the wire per unit time is equal to the cross-sectional area of the path, that is, The path height
[0013] Furthermore, in step 2, there are three different relationships between the adjacent path spacing d and the path width w of the single path, which are:
[0014] Relationship 1: When When , there is overlap between adjacent paths;
[0015] Relationship 2: When When , there is transition overlap between adjacent paths;
[0016] Relationship 3: When w≤d, there is no overlap between adjacent paths.
[0017] Furthermore, when the distance between adjacent paths d and the path width w of a single path are equal, the material of the overlapping part of two adjacent paths overflows into the recessed area between the paths, and the height of the overlapping path is
[0018] Furthermore, when the distance between adjacent paths d and the path width w of a single path is in relation to each other, the excess material at the overlapping area of two adjacent paths overflows into the raised area, and the height of the overlapping path is
[0019] Furthermore, when the distance between adjacent paths d and the path width w of a single path are in relationship 3, the height h of the overlapping paths is overlap =0.
[0020] Furthermore, in step 3, the height of the overlapping paths accumulated at the corners is Where θ is the corner angle, w Q is the width of the cross section of the path 1 when the straight line perpendicular to the path 1 forming the corner intersects the path 2 forming the corner,
[0021] Furthermore, in step 4, the peak height of each overlapping path surface The trough height of each overlapping path surface The maximum height of the surface peak is taken Maximum height of the trough with the surface The sum is the flatness of the surface
[0022] A system for calculating the flatness of an additive surface, comprising the following modules:
[0023] A path height calculation module, used to calculate the path height h of a single path;
[0024] Path stacking height calculation module: Calculate the height h of each overlapping path based on the different relationships between the adjacent path spacing d and the path width w of a single path overlap ;
[0025] Corner stacking height calculation module: calculates the overlapping path height h of the two paths forming each corner stacked at the corner overlap ;
[0026] Surface flatness calculation module: Taking the path height h of a single path as the reference height, calculate the deviation value Δh=h between the height of each overlapping path and the reference height overlap -h; then according to the deviation value, the maximum value of the peak height of the additive surface is obtained Maximum value of trough height The sum is the flatness FLT of the surface.
[0027] A computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the method for calculating the surface flatness of an additive material as described in any one of the above technical solutions is implemented.
[0028] The beneficial effects achieved by the present invention are:
[0029] The present invention discloses a method, system and storage medium for calculating the flatness of an additive surface. The method analyzes the molding shape of a path and the overlap between paths, and calculates the flatness of an additive surface based on the shape of the additive path and additive process parameters. The method can adjust the flatness of the molding surface of an additively manufactured workpiece, thereby controlling the height of the molding surface of the workpiece. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 is a parabola diagram of the path cross section;
[0031] Figure 2 is the overlapping path spacing A schematic cross-sectional view of
[0032] Figure 3 is the overlapping path spacing Cross-sectional model of
[0033] Figure 4 is a schematic cross-sectional view of overlapping paths with a spacing of w≤d;
[0034] Figure 5 It is a schematic diagram of the corner accumulation area;
[0035] Figure 6 It is a schematic diagram of the cross-sectional position of the corner stacking;
[0036] Figure 7 is a schematic diagram of corner stacking cross section II. DETAILED DESCRIPTION
[0037] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0038] Example 1
[0039] This embodiment discloses a method for calculating the surface flatness of an additive material, which mainly includes the following specific steps:
[0040] Step 1: Calculate the height of a single path.
[0041] 11) Let the cross-sectional geometry of the path be a parabola y=ax 2 +c, such as Figure 1 As shown, where w is the path width, h is the path height, and c=h, then the parabola Cross-sectional area The actual melting amount of the wire in additive manufacturing per unit time where v t is the tool speed, v m and d m are the melting speed and diameter of the wire respectively.
[0042] 12) Assume that the actual melting amount of the wire per unit time is equal to the cross-sectional area of the path, that is, The path height
[0043] Step 2: Calculate the stacking height between adjacent paths.
[0044] According to the different relationships between the adjacent path spacing d and the path width w, the height h of the overlapping path is calculated. overlap Specifically, there are three different relationships between the spacing between adjacent paths and the path width, which detail the calculation process of the height of overlapping paths.
[0045] a. For adjacent paths in the same layer, if the distance between adjacent paths is There are overlaps between adjacent paths, such as Figure 2 The material in the overlapping part of the two paths will overflow into the concave area between the paths, and the excess material in the overlapping area AED will overflow into the concave area BCE. Due to factors such as material tension, the line segment BC has a slope, and the coordinates of point A are The length of line segment AB is the height of the overlapping path.
[0046] b. For adjacent paths in the same layer, if the distance between adjacent paths is There is transition overlap between adjacent paths, such as Figure 3 As shown. The excess material in the overlapping area ABC will overflow into the convex area DBE, forming an approximate parabolic cross-sectional shape. The area of the parabolic cross-sectional area is the sum of the cross-sectional areas of the two paths, that is, Therefore, the overlapping path height
[0047] c. For adjacent paths in the same layer, if the distance between adjacent paths is d (w≤d), there is no overlap between adjacent paths, such as Figure 4 As shown, the overlapping path height h overlap =0.
[0048] Step 3: Calculate the height of the overlapping paths of the two paths forming each corner at the corner.
[0049] 31) For the corners between paths, Figure 5 At point O shown in the figure, due to the change in the direction of the tool movement from path 1 to path 2, the tool movement speed at the corner will experience a process from deceleration to acceleration. Under the condition that the amount of melt remains unchanged, the material at the corner will accumulate excessively. Due to the existence of the corner, the paths will overlap, and the material will accumulate excessively in area ABC. The area of this area is Where θ is the path corner angle.
[0050] 32) Since the accumulation area near the corner of the path is more serious, the cross section II perpendicular to the direction of path 2 at point P intersects with path 1 at point Q, as shown in Figure 6 The width of path 1 on straight line PQ at the intersection point Q is The width of path 2 on line PQ at point P is w, and the length of line segment PQ is the distance between the two paths.
[0051] 33) Assume that the shape of the cross section II of path 1 at point Q is a parabola, such as Figure 7As shown, a corner path cross-section is established at point P along the II direction. The excess material in the overlapping area ABC will overflow into the convex area DBE, forming an approximate parabolic cross-sectional shape. The area of the parabola is the sum of the areas of the two path cross-sections, that is, Therefore, the overlapping path height
[0052] Step 4: Calculate surface flatness
[0053] The calculation of flatness first takes the height h of a single path as the ideal height, then takes the ideal height as the reference height, and calculates the deviation value Δh=h between the height of each overlapping path and the reference height. overlap -h.
[0054] The peak height of the overlapping path surface is Overlapping path surface trough height The maximum peak height of the surface Maximum trough height The sum is the flatness of the surface
[0055] Example 2
[0056] This embodiment discloses a system for calculating the flatness of an additive surface, including the following modules:
[0057] A path height calculation module, used to calculate the path height h of a single path;
[0058] Path stacking height calculation module: Calculate the height h of each overlapping path based on the different relationships between the adjacent path spacing d and the path width w of a single path overlap ;
[0059] Corner stacking height calculation module: calculates the overlapping path height h of the two paths forming each corner stacked at the corner overlap ;
[0060] Surface flatness calculation module: Taking the path height h of a single path as the reference height, calculate the deviation value Δh=h between the height of each overlapping path and the reference height overlap -h; then according to the deviation value, the maximum value of the peak height of the additive surface is obtained Maximum value of trough height The sum is the flatness FLT of the surface.
[0061] The system embodiment described above is merely illustrative, and these modules may or may not be physical units, and may or may not be separate, that is, they may be located in one place, or they may be distributed on multiple systems or units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without paying creative labor.
[0062] Example 3
[0063] This embodiment discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for calculating the flatness of an additive surface in Embodiment 1 is implemented.
[0064] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0065] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for calculating the flatness of an additive surface, characterized in that: The following steps are involved: Step 1, calculating the path height h of a single path during material addition; Step 2: Calculate the stacking height between adjacent single-path paths in the same layer during additive manufacturing: Calculate the height h of each single-path overlap according to the different relationships between the adjacent path spacing d and the path width w of the single-path path. overlap1 ; There are three different relationships between the adjacent path spacing d and the path width w of a single path, which are: Relationship 1: When When , there is overlap between adjacent paths; Relationship 2: When When , there is transition overlap between adjacent paths; Relation 3: When w≤d, there is no overlap between adjacent paths; When the distance between adjacent paths d and the path width w of a single path are equal, the material of the overlapping part of two adjacent paths overflows into the concave area between the paths, then the height of the single overlapping path When the relationship between the adjacent path spacing d and the path width w of the single path is 2, the excess material at the overlapping area of the two adjacent paths overflows to the raised area, then the height of the single overlapping path When the relationship between the adjacent path spacing d and the path width w of a single path is three, the height h of the single overlapping path is overlap1 =0; Step 3: Calculate the corner overlap path height h of the two paths forming each corner stacked at the corner overlap2 ; Step 4: Calculate the surface flatness: Take the path height h of the single path as the reference height, calculate the deviation between the height of each single overlapping path and the reference height, and the deviation between the height of the corner overlapping path and the reference height, and the deviation value Δh = h overlap1 -h or Δh=h overlap2 -h; then according to the deviation value, the maximum value of the peak height of the additive surface is obtained Maximum value of trough height The sum is the flatness FLT of the surface.
2. The method for calculating the surface flatness of an additive material according to claim 1, characterized in that: In step 1, the cross-sectional geometry of the single-path path is determined as a parabola Where w is the path width, cross-sectional area The actual melting amount of the wire per unit time during additive manufacturing Among them, v t is the tool speed, v m and d m are the melting speed and diameter of the wire respectively; Assume that the actual melting amount of the wire per unit time is equal to the cross-sectional area of the path, that is, The path height 3. The method for calculating the surface flatness of an additive material according to claim 1, characterized in that: The height of the corner overlap path accumulated at the corner in step 3 Where θ is the corner angle, w Q is the width of the cross section of the path 1 when the straight line perpendicular to the path 1 forming the corner intersects the path 2 forming the corner, 4. The method for calculating the surface flatness of an additive material according to claim 1, characterized in that: In step 4, the peak height of each overlapping path surface Surface trough height of each overlapping path The maximum height of the surface peak is taken Maximum height of the trough with the surface The sum is the flatness of the surface 5. A system for calculating the flatness of an additive surface, characterized in that: Includes the following modules: A path height calculation module is used to calculate the path height h of a single path during additive manufacturing; Path stacking height calculation module: used to calculate the stacking height between adjacent single-path paths in the same layer during additive manufacturing. The height h of each single-path overlap is calculated based on the different relationships between the adjacent path spacing d and the path width w of the single-path path. overlap1 ; There are three different relationships between the adjacent path spacing d and the path width w of a single path, which are: Relationship 1: When When , there is overlap between adjacent paths; Relationship 2: When When , there is transition overlap between adjacent paths; Relation 3: When w≤d, there is no overlap between adjacent paths; When the distance between adjacent paths d and the path width w of a single path are equal, the material of the overlapping part of two adjacent paths overflows into the concave area between the paths, then the height of the single overlapping path When the relationship between the adjacent path spacing d and the path width w of the single path is 2, the excess material at the overlapping area of the two adjacent paths overflows to the raised area, then the height of the single overlapping path When the relationship between the adjacent path spacing d and the path width w of a single path is three, the height h of the single overlapping path is overlap1 =0; Corner stacking height calculation module: calculates the corner overlapping path height h of the two paths forming each corner stacked at the corner overlap2 ; Surface flatness calculation module: used for surface flatness calculation. The path height h of a single path is used as the reference height. The deviation between the height of each single overlapping path and the reference height, and the deviation between the height of the corner overlapping path and the reference height are calculated. The deviation value Δh = h overlap1 -h or Δh=h overlap2 -h; then according to the deviation value, the maximum value of the peak height of the additive surface is obtained Maximum value of trough height The sum is the flatness FLT of the surface.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for calculating the surface flatness of an additive manufacturing process as claimed in any one of claims 1 to 4 is implemented.
