[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN116486959A - Path planning method, additive manufacturing method and related products - Google Patents

Path planning method, additive manufacturing method and related products Download PDF

Info

Publication number
CN116486959A
CN116486959A CN202310456020.9A CN202310456020A CN116486959A CN 116486959 A CN116486959 A CN 116486959A CN 202310456020 A CN202310456020 A CN 202310456020A CN 116486959 A CN116486959 A CN 116486959A
Authority
CN
China
Prior art keywords
printing
coordinate system
dimensional
path
base
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310456020.9A
Other languages
Chinese (zh)
Inventor
张国权
熊异
王耀辉
刘光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southern University of Science and Technology
Original Assignee
Southern University of Science and Technology
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southern University of Science and Technology filed Critical Southern University of Science and Technology
Priority to CN202310456020.9A priority Critical patent/CN116486959A/en
Publication of CN116486959A publication Critical patent/CN116486959A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C60/00Computational materials science, i.e. ICT specially adapted for investigating the physical or chemical properties of materials or phenomena associated with their design, synthesis, processing, characterisation or utilisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/10Additive manufacturing, e.g. 3D printing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2113/00Details relating to the application field
    • G06F2113/26Composites
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P10/00Technologies related to metal processing
    • Y02P10/25Process efficiency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Computational Mathematics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)

Abstract

The application provides a path planning method, an additive manufacturing method and related products thereof, wherein the path planning method comprises the following steps: acquiring structural parameters of a target structure comprising a first structure and a second structure; generating a plurality of printing curved surfaces according to the structural parameters of the target structure, wherein the printing curved surfaces comprise a first printing curved surface corresponding to the first structure and a second printing curved surface corresponding to the second structure; mapping the first printing curved surface and the second printing curved surface to two-dimensional planes respectively by adopting different mapping functions to obtain a first two-dimensional graph and a second two-dimensional graph; planning filling paths in the first two-dimensional graph and the second two-dimensional graph respectively to obtain a first two-dimensional filling path and a second two-dimensional filling path; mapping the first two-dimensional filling path back to the first printing curved surface to obtain a three-dimensional filling path of the first printing curved surface; and mapping the second two-dimensional filling path back to the second printing curved surface to obtain a three-dimensional filling path of the second printing curved surface. The method and the device can reduce complexity and difficulty of path planning.

Description

路径规划方法、增材制造方法及其相关产品Path planning method, additive manufacturing method and related products

技术领域Technical Field

本申请涉及材料制造领域,尤其涉及一种路径规划方法、增材制造方法及其相关产品。The present application relates to the field of material manufacturing, and in particular to a path planning method, an additive manufacturing method and related products.

背景技术Background Art

增材制造技术是相对于减材制造而言的,其基于分层制造原理,从数字化模型出发,通过逐层累加而非去除的过程实现三维实体零件的制造,按照其成型过程可以分为熔融沉积成型(Fused Deposition Modeling,FDM)、立体光固化(Stereolithography,SLA)、粉末床熔融(Powder Bed Fusion,PBF)等。Additive manufacturing technology is relative to subtractive manufacturing. It is based on the principle of layered manufacturing. Starting from a digital model, it realizes the manufacture of three-dimensional solid parts through a layer-by-layer accumulation rather than removal process. According to its molding process, it can be divided into fused deposition modeling (FDM), stereolithography (SLA), powder bed fusion (PBF), etc.

越来越多的研究开始探索复合材料增材制造的可能性。复合材料是通过两种或两种以上的材料组分设计,实现不同材料成分性能的互补,从而获得更加优越的性能。尤其是以树脂作为基体,连续纤维作为增强体的复合材料,往往具有优异的力学性能和轻量化特点,这使得其在航空航天、汽车、船舶等先进制造领域具有广泛的应用。More and more research is beginning to explore the possibility of additive manufacturing of composite materials. Composite materials are designed through two or more material components to achieve complementary performance of different material components, thereby obtaining more superior performance. In particular, composite materials with resin as the matrix and continuous fiber as the reinforcement often have excellent mechanical properties and lightweight characteristics, which makes them widely used in advanced manufacturing fields such as aerospace, automobiles, and ships.

基于将复合材料和增材制造技术优势结合的思想,有学者提出了连续纤维增强复合材料增材制造技术(Continuous Fiber-Reinforced Polymer AdditiveManufacturing,CFRP-AM)。同时,CFRP-AM技术可以选择性地沉积具有空间分布的连续纤维增强复合材料,其制成件往往具有轻质高强的特点,受到工业界的广泛关注。根据成型工艺不同,CFRP-AM技术可以分为材料挤出式(Material Extrusion,MEX)、定向能量沉积式(Directed Energy Deposition,DED)、层压粘合式(Laminated ObjectiveManufacturing,LOM)等。Based on the idea of combining the advantages of composite materials and additive manufacturing technology, some scholars have proposed continuous fiber-reinforced polymer additive manufacturing (CFRP-AM). At the same time, CFRP-AM technology can selectively deposit continuous fiber-reinforced composite materials with spatial distribution, and its finished parts are often lightweight and high-strength, which has attracted widespread attention in the industry. According to different molding processes, CFRP-AM technology can be divided into material extrusion (Material Extrusion, MEX), directed energy deposition (Directed Energy Deposition, DED), laminated bonding (Laminated Objective Manufacturing, LOM), etc.

CFRP-AM技术具有非常广阔的应用前景,但由于这项技术出现时间尚短且涉及众多学科,如数字建模、机电控制、材料科学等,因此仍存在诸多挑战。例如,现有的基于三自由度运动平台的CFRP-AM制造设备不适用于制造具有非平面纤维铺排的复杂工程结构。此外,由于连续纤维增强复合材料显著的力学各向异性,纤维铺排路径设计是影响CFRP-AM工艺制件力学性能的关键因素之一。同时,多自由度运动为纤维铺排路径设计带来了更多的可能性,但也提高了路径规划的复杂度和难度。CFRP-AM technology has a very broad application prospect, but because this technology has only been around for a short time and involves many disciplines, such as digital modeling, electromechanical control, and material science, there are still many challenges. For example, the existing CFRP-AM manufacturing equipment based on a three-degree-of-freedom motion platform is not suitable for manufacturing complex engineering structures with non-planar fiber placement. In addition, due to the significant mechanical anisotropy of continuous fiber reinforced composites, fiber placement path design is one of the key factors affecting the mechanical properties of CFRP-AM process parts. At the same time, multi-degree-of-freedom motion brings more possibilities for fiber placement path design, but also increases the complexity and difficulty of path planning.

发明内容Summary of the invention

本申请提供一种路径规划方法、增材制造方法及其相关产品,能够降低路径规划的复杂度和难度,且可以满足不同结构的填充需求。The present application provides a path planning method, an additive manufacturing method and related products, which can reduce the complexity and difficulty of path planning and meet the filling requirements of different structures.

第一方面,本申请提供一种路径规划方法,包括:In a first aspect, the present application provides a path planning method, comprising:

获取目标结构的结构参数;Get the structural parameters of the target structure;

根据所述目标结构的结构参数生成多个打印曲面,其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面;Generating a plurality of printed curved surfaces according to the structural parameters of the target structure, wherein the target structure includes a first structure and a second structure, and the plurality of printed curved surfaces include a first printed curved surface corresponding to the first structure and a second printed curved surface corresponding to the second structure;

采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形;Using different mapping functions to map the first printed curved surface and the second printed curved surface to two-dimensional planes respectively, to obtain a first two-dimensional figure and a second two-dimensional figure;

分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径;Planning filling paths in the first two-dimensional figure and the second two-dimensional figure respectively to obtain a first two-dimensional filling path and a second two-dimensional filling path;

将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径;Mapping the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface;

将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。The second two-dimensional filling path is mapped back to the second printing surface to obtain a three-dimensional filling path of the second printing surface.

可选地,所述分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径,包括:Optionally, respectively planning filling paths in the first two-dimensional graphic and the second two-dimensional graphic to obtain a first two-dimensional filling path and a second two-dimensional filling path includes:

在所述第一二维图形中采用完全填充方式规划填充路径,得到第一二维填充路径。A filling path is planned in the first two-dimensional figure by adopting a complete filling method to obtain a first two-dimensional filling path.

可选地,所述采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形,包括:Optionally, the using different mapping functions to map the first printed curved surface and the second printed curved surface to two-dimensional planes respectively to obtain a first two-dimensional graph and a second two-dimensional graph comprises:

当所述第一打印曲面为可展曲面时,采用等距映射函数将所述第一打印曲面映射到二维平面上,得到第一二维图形;或者,When the first printed surface is a developable surface, an isometric mapping function is used to map the first printed surface onto a two-dimensional plane to obtain a first two-dimensional figure; or,

当所述第一打印曲面不为可展曲面时,将所述第一打印曲面转换为至少两个可展曲面的组合,用等距映射函数分别采将所述至少两个可展曲面分别映射到二维平面上,得到第一二维图形。When the first printed surface is not a developable surface, the first printed surface is converted into a combination of at least two developable surfaces, and the at least two developable surfaces are respectively mapped onto a two-dimensional plane using an isometric mapping function to obtain a first two-dimensional figure.

可选地,所述采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形,包括:Optionally, the using different mapping functions to map the first printed curved surface and the second printed curved surface to two-dimensional planes respectively to obtain a first two-dimensional graph and a second two-dimensional graph comprises:

采用共性映射函数将所述第二打印曲面映射到二维平面,得到第二二维图形;Mapping the second printed surface to a two-dimensional plane using a common mapping function to obtain a second two-dimensional figure;

所述分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径,包括:The step of respectively planning filling paths in the first two-dimensional graphic and the second two-dimensional graphic to obtain a first two-dimensional filling path and a second two-dimensional filling path comprises:

在所述第二二维图形中规划填充路径,得到具有规则图形的第二填充路径。A filling path is planned in the second two-dimensional figure to obtain a second filling path with a regular figure.

可选地,所述目标结构为加强壳结构,所述加强壳结构包括壳体和位于所述壳体表面上的加强筋;Optionally, the target structure is a reinforced shell structure, and the reinforced shell structure includes a shell and reinforcing ribs located on the surface of the shell;

所述第一结构为所述壳体,所述第二结构为所述加强筋。The first structure is the shell, and the second structure is the reinforcing rib.

第二方面,本申请提供一种增材制造方法,包括:In a second aspect, the present application provides an additive manufacturing method, comprising:

根据任一项所述的路径规划方法获取目标结构的多个打印曲面的三维填充路径;Acquire a three-dimensional filling path of multiple printed surfaces of a target structure according to any one of the path planning methods;

将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹;Converting the three-dimensional filling paths of the plurality of printed surfaces into machine motion trajectories respectively;

根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料。According to the machine motion trajectory, a multi-axis robot arm is used to drive a terminal printing tool located at the terminal end of the multi-axis robot arm to print a target material on the printing substrate.

可选地,所述多个打印曲面的三维填充路径包括第一打印路径表示,所述第一打印路径表示包括多个离散路径点在打印基底坐标系下的三维坐标和法向量;Optionally, the three-dimensional filling paths of the plurality of printed surfaces include a first printing path representation, wherein the first printing path representation includes three-dimensional coordinates and normal vectors of a plurality of discrete path points in a printing substrate coordinate system;

所述将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹,包括:The step of converting the three-dimensional filling paths of the plurality of printed curved surfaces into machine motion trajectories respectively comprises:

获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Acquire a position and posture conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a robot arm base of the multi-axis robot arm, and a position and posture conversion relationship between a coordinate system of a printing substrate and a coordinate system of the robot arm base;

根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示;According to a posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot arm base, converting the first printing path representation into a second printing path representation in the coordinate system of the end printing tool;

根据所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,将所述第二打印路径表示转换为在所述机械臂基座的坐标系下的机器运动轨迹。According to the position conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base, the second printing path representation is converted into a machine motion trajectory in the coordinate system of the robot base.

可选地,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示,包括:Optionally, the converting the first printing path representation into a second printing path representation in the coordinate system of the end printing tool according to a posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot arm base includes:

以所述第一打印路径表示中的第i个离散路径点为原点,以单位化的所述法向量为所述末端打印工具的坐标系的Z轴,构建所述第i个离散路径点处在所述末端打印工具的坐标系中的位姿,所述第二打印路径表示包括每个离散路径点在所述末端打印工具的坐标系中的位姿。Taking the i-th discrete path point in the first printing path representation as the origin and the unitized normal vector as the Z axis of the coordinate system of the end printing tool, the pose of the i-th discrete path point in the coordinate system of the end printing tool is constructed, and the second printing path representation includes the pose of each discrete path point in the coordinate system of the end printing tool.

可选地,所述目标材料包括纤维和树脂,所述方法还包括:Optionally, the target material comprises fiber and resin, and the method further comprises:

获取单道打印样品的截面参数和打印速度;Obtain the cross-sectional parameters and printing speed of a single-pass printed sample;

根据所述截面参数和所述打印速度确定所述纤维的给进率和所述树脂的给进率;Determining a feed rate of the fiber and a feed rate of the resin according to the cross-sectional parameters and the printing speed;

所述利用所述多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:The method of using the multi-axis mechanical arm to drive a terminal printing tool located at a terminal of the multi-axis mechanical arm to print a target material on the printing substrate comprises:

根据所述纤维的给进率和所述树脂的给进率在所述打印基底上打印目标材料。A target material is printed on the printing substrate according to a feed rate of the fiber and a feed rate of the resin.

可选地,所述方法还包括:获取纤维修正系数,根据所述纤维修正系数对所述纤维给进率进行修正,Optionally, the method further comprises: obtaining a fiber correction coefficient, and correcting the fiber feed rate according to the fiber correction coefficient.

所述利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:根据修正后的所述纤维给进率打印所述纤维;The method of using a multi-axis mechanical arm to drive a terminal printing tool located at a terminal of the multi-axis mechanical arm to print a target material on the printing substrate includes: printing the fiber according to the corrected fiber feed rate;

和/或,and/or,

所述方法还包括:获取树脂修正系数,根据所述树脂修正系数对所述树脂给进率进行修正,The method further includes: obtaining a resin correction coefficient, and correcting the resin feed rate according to the resin correction coefficient.

所述利用所述多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:根据修正后的所述树脂给进率打印所述树脂。The method of using the multi-axis robot arm to drive a terminal printing tool located at a terminal of the multi-axis robot arm to print a target material on the printing substrate includes: printing the resin according to the corrected resin feed rate.

可选地,所述修正后的所述纤维给进率小于或等于修正前的所述纤维给进率,所述修正后的所述树脂给进率大于或等于修正前的所述树脂给进率。Optionally, the fiber feed rate after correction is less than or equal to the fiber feed rate before correction, and the resin feed rate after correction is greater than or equal to the resin feed rate before correction.

可选地,所述获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,之前还包括:Optionally, the step of obtaining a pose conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a robot arm base of the multi-axis robot arm, and a pose conversion relationship between a coordinate system of a printing substrate and a coordinate system of the robot arm base, further includes:

获取第一位姿转换关系,所述第一位姿转换关系为末端打印工具的坐标系相对于机械臂末端的坐标系的位姿转换关系,其中,所述机械臂末端位于固定在机械臂基座上的机械臂的末端,用于移动所述末端打印工具,使得所述末端打印工具在打印基底上打印材料;Acquire a first posture conversion relationship, wherein the first posture conversion relationship is a posture conversion relationship of a coordinate system of an end printing tool relative to a coordinate system of a robotic arm end, wherein the robotic arm end is located at the end of a robotic arm fixed to a robotic arm base, and is used to move the end printing tool so that the end printing tool prints material on a printing substrate;

获取第二位姿转换关系,所述第二位姿转换关系为所述机械臂末端的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Acquire a second posture conversion relationship, where the second posture conversion relationship is a posture conversion relationship of a coordinate system of the end of the robotic arm relative to a coordinate system of the robotic arm base;

根据所述第一位姿转换关系和所述第二位姿转换关系,获取所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系;According to the first posture conversion relationship and the second posture conversion relationship, obtaining a posture conversion relationship of the coordinate system of the end printing tool relative to the coordinate system of the robot arm base;

根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,获取所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot base, the posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base is obtained.

可选地,所述获取第一位姿转换关系,包括:Optionally, obtaining the first pose conversion relationship includes:

通过所述机械臂带动所述末端打印工具以不同的姿态依次与位于所述打印基底上的同一参考点进行至少两次接触;The end printing tool is driven by the robot arm to sequentially contact the same reference point on the printing substrate at least twice in different postures;

获取每一次所述接触时所述机械臂末端的坐标系相对所述机械臂基座的坐标系的位姿转换关系;Acquire a position transformation relationship between a coordinate system of the end of the robot arm and a coordinate system of the base of the robot arm at each contact;

根据所述至少两次接触中所述机械臂末端的坐标系相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的位置向量。According to the position conversion relationship between the coordinate system of the end of the robot arm and the base of the robot arm in the at least two contacts, the position vector of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm is calculated.

可选地,所述获取第一位姿,包括:Optionally, obtaining the first pose includes:

在所述末端打印工具上确定三个特征点,以及所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determine three feature points on the end printing tool, and the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, wherein the three feature points are not on the same straight line;

通过所述机械臂带动所述末端打印工具,使得所述末端打印工具上的所述三个特征点依次与对应的所述打印基底上的预设参考点接触;The end printing tool is driven by the mechanical arm so that the three characteristic points on the end printing tool are contacted with the corresponding preset reference points on the printing substrate in sequence;

分别获取所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively obtaining a posture conversion relationship of the end of the robotic arm relative to the robotic arm base when each of the feature points of the end printing tool contacts the corresponding reference point;

根据所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,以及所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的旋转矩阵。According to the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, and the posture transformation relationship of the end of the robotic arm relative to the robotic arm base when each of the feature points of the end printing tool contacts the corresponding reference point, the rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the robotic arm is calculated.

可选地,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿,获取所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,包括:Optionally, acquiring a posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base according to the posture of the coordinate system of the end printing tool relative to the coordinate system of the robot base comprises:

在所述打印基底上确定三个特征点,以及所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determining three feature points on the printing substrate, and the positional relationship between any two of the three feature points in the coordinate system of the printing substrate, wherein the three feature points are not on the same straight line;

通过所述机械臂带动所述末端打印工具分别与所述三个特征点接触;The end printing tool is driven by the mechanical arm to contact the three feature points respectively;

分别获取所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively obtaining a posture conversion relationship between the end of the robot arm and the robot arm base when the end printing tool contacts each of the feature points;

根据所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,以及所述所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the positional relationship between any two of the three feature points in the coordinate system of the printing substrate, and the posture transformation relationship of the end of the robotic arm relative to the robotic arm base when the end printing tool contacts each of the feature points, the posture transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robotic arm base is determined.

第三方面,本申请提供一种路径规划装置,包括:In a third aspect, the present application provides a path planning device, comprising:

第一获取模块,用于获取目标结构的结构参数;A first acquisition module is used to acquire structural parameters of a target structure;

生成模块,用于根据所述目标结构的结构参数生成多个打印曲面,其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面;a generating module, configured to generate a plurality of printing curved surfaces according to the structural parameters of the target structure, wherein the target structure includes a first structure and a second structure, and the plurality of printing curved surfaces include a first printing curved surface corresponding to the first structure and a second printing curved surface corresponding to the second structure;

映射模块,用于采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形;A mapping module, used to map the first printed curved surface and the second printed curved surface to a two-dimensional plane respectively by using different mapping functions to obtain a first two-dimensional figure and a second two-dimensional figure;

规划模块,用于分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径;A planning module, used to plan filling paths in the first two-dimensional figure and the second two-dimensional figure respectively, to obtain a first two-dimensional filling path and a second two-dimensional filling path;

所述映射模块还用于将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径;The mapping module is further used to map the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface;

所述映射模块还用于将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。The mapping module is further used to map the second two-dimensional filling path back to the second printing surface to obtain a three-dimensional filling path of the second printing surface.

第四方面,本申请提供一种增材制造装置,包括:In a fourth aspect, the present application provides an additive manufacturing device, comprising:

第二获取模块,用于获取目标结构的多个打印曲面的三维填充路径;A second acquisition module is used to acquire three-dimensional filling paths of multiple printed surfaces of the target structure;

转换模块,用于将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹;A conversion module, used to convert the three-dimensional filling paths of the plurality of printing surfaces into machine motion trajectories respectively;

打印模块,用于根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料。The printing module is used to use a multi-axis mechanical arm to drive a terminal printing tool located at the terminal of the multi-axis mechanical arm to print a target material on the printing substrate according to the machine motion trajectory.

第五方面,本申请提供一种路径规划设备,包括第一存储器和第一处理器,所述第一存储器上存储有可执行代码,当可执行代码被所述第一处理器处理时,可以使所述第一处理器执行任一项所述的路径规划方法。In a fifth aspect, the present application provides a path planning device, comprising a first memory and a first processor, wherein the first memory stores executable code, and when the executable code is processed by the first processor, the first processor can execute any one of the path planning methods described.

第六方面,本申请提供一种增材制造设备,包括第二存储器和第二处理器,所述第二存储器上存储有可执行代码,当可执行代码被所述第二处理器处理时,可以使所述第二处理器执行任一项所述的增材制造方法。In a sixth aspect, the present application provides an additive manufacturing device, comprising a second memory and a second processor, wherein the second memory stores executable code, and when the executable code is processed by the second processor, the second processor can execute any one of the additive manufacturing methods described.

第七方面,本申请提供一种计算机可读存储介质,其上存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述电子设备执行任意一项所述的路径规划方法或者增材制造方法。In a seventh aspect, the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the electronic device executes any one of the path planning methods or additive manufacturing methods described.

本申请中的路径规划方法中,通过将三维曲面映射到二维平面后再进行填充路径规划,降低了计算难度;而且目标结构中的不同结构的打印曲面采用不同的映射函数映射到二维平面,允许同时探索不同的几何设计(曲面薄壳和加强筋)及其填充路径,可以满足不同结构的填充需求。In the path planning method of the present application, the calculation difficulty is reduced by mapping the three-dimensional surface to a two-dimensional plane and then performing filling path planning; and the printed surfaces of different structures in the target structure are mapped to the two-dimensional plane using different mapping functions, allowing different geometric designs (surface thin shells and reinforcement ribs) and their filling paths to be explored simultaneously, which can meet the filling requirements of different structures.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本申请的路径规划方法中的一个实施例的示意图;FIG1 is a schematic diagram of an embodiment of a path planning method of the present application;

图2为同一个曲面采用等距映射和采用共性映射后得到的二维图形的对比示意图;FIG2 is a schematic diagram showing a comparison of two-dimensional graphs obtained by using isometric mapping and commonality mapping on the same surface;

图3是之字形填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图;FIG3 is a schematic diagram showing the comparison of zigzag filling paths on a two-dimensional plane and a three-dimensional surface associated by isometric mapping;

图4是基于弧形偏移的填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图;FIG4 is a schematic diagram showing a comparison of a fill path based on arc offset on a two-dimensional plane and a three-dimensional curved surface associated by isometric mapping;

图5是基于轮廓偏移的填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图;FIG5 is a schematic diagram showing a comparison of a fill path based on contour offset on a two-dimensional plane and a three-dimensional surface associated by isometric mapping;

图6是基于±30度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图;FIG6 is a schematic diagram showing a comparison of a fill pattern based on ±30 degree cross lines on a two-dimensional plane and a three-dimensional curved surface associated by conformal mapping;

图7是基于±45度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图;FIG7 is a schematic diagram showing a comparison of a fill pattern based on ±45 degree cross lines on a two-dimensional plane and a three-dimensional curved surface associated by conformal mapping;

图8是基于±60度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图意图;FIG8 is a schematic diagram showing a comparison of a fill pattern based on ±60 degree cross lines on a two-dimensional plane and a three-dimensional curved surface associated by conformal mapping;

图9是基于椭圆单元的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图;FIG9 is a schematic diagram showing the comparison of the filling pattern based on the elliptical unit on the two-dimensional plane and the three-dimensional curved surface associated by the conformal mapping;

图10是本申请中的增材制造方法的一个实施例的示意图;FIG10 is a schematic diagram of an embodiment of an additive manufacturing method in the present application;

图11是本申请的增材制造设备的一个实施例的部分结构示意图;FIG11 is a partial structural schematic diagram of an embodiment of an additive manufacturing device of the present application;

图12是本申请中的增材制造方法中将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹的转换方法的一个实施例的示意图;FIG12 is a schematic diagram of an embodiment of a method for converting the three-dimensional filling paths of the plurality of printed curved surfaces into machine motion trajectories in the additive manufacturing method of the present application;

图13是本申请的增材制造设备的标定方法中的一个实施例的示意图;FIG13 is a schematic diagram of an embodiment of a calibration method for an additive manufacturing device of the present application;

图14是本申请的路径规划装置的一个实施例的示意图;FIG14 is a schematic diagram of an embodiment of a path planning device of the present application;

图15是本申请的增材制造装置的一个实施例的示意图;FIG15 is a schematic diagram of an embodiment of an additive manufacturing device of the present application;

图16是本申请的路径规划设备的一个实施例的示意图;FIG16 is a schematic diagram of an embodiment of a path planning device of the present application;

图17是本申请的路径规划设备的一个实施例的示意图。FIG. 17 is a schematic diagram of an embodiment of a path planning device of the present application.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本申请的实施方式。虽然附图中显示了本申请的实施方式,然而应该理解,可以以各种形式实现本申请而不应被这里阐述的实施方式所限制。相反,提供这些实施方式是为了使本申请更加透彻和完整,并且能够将本申请的范围完整地传达给本领域的技术人员。The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

在本申请使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and/or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

应当理解,尽管在本申请可能采用术语“第一”、“第二”、“第三”等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。而且,实际应用中该第一和第二所指代的对象可以是同一个对象也可以是不同对象。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。It should be understood that although the terms "first", "second", "third", etc. may be used in the present application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. Moreover, in practical applications, the objects referred to by the first and second may be the same object or different objects. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

本申请中的路径规划方法可用于连续纤维增强格栅结构的路径规划。纤维路径打印顺序对制造效率和质量有显著影响。然而,现有用于格栅结构的连续纤维路径规划算法缺乏通用性,只能针对一种特定形状的格栅结构的路径规划。本申请中提出的路径规划方法能够对不同形状的格栅结构进行路径规划,具有一定的普适性,且能够确保填充路径的连续以及尽量减少纤维切断的频率,可以提高打印质量与制造效率。The path planning method in the present application can be used for path planning of continuous fiber reinforced grid structures. The fiber path printing order has a significant impact on manufacturing efficiency and quality. However, the existing continuous fiber path planning algorithms for grid structures lack versatility and can only plan the path of a grid structure of a specific shape. The path planning method proposed in the present application is capable of performing path planning for grid structures of different shapes, has a certain degree of universality, and can ensure the continuity of the filling path and minimize the frequency of fiber cutting, which can improve printing quality and manufacturing efficiency.

如图1所示,图1是本申请的路径规划方法中的一个实施例的示意图。该路径规划方法包括:As shown in FIG1 , FIG1 is a schematic diagram of an embodiment of a path planning method of the present application. The path planning method includes:

步骤S101,获取目标结构的结构参数。Step S101, obtaining structural parameters of the target structure.

目标结构的结构参数可以是多种能够体现目标结构的结构特征的参数,不同类型的结构的结构参数可能相同或者不同。例如,目标结构为加强壳结构,其中,该加强壳结构包括壳体和位于所述壳体表面上的加强筋。可选地,壳体可以呈薄壁形状,通常是基于可展曲面的;分布于壳体上的加强筋则通常基于由规则单胞组成的格栅结构布局。加强壳结构的结构参数可以包括预先标定好的曲面模型和结构法向厚度。例如,加强壳结构的结构参数包括曲面模型、壳体的法线厚度、加强筋的法线厚度、单层层厚等等。加强壳结构的结构参数可以由用户输入,也可以采用默认参数。The structural parameters of the target structure may be a variety of parameters that can reflect the structural characteristics of the target structure, and the structural parameters of different types of structures may be the same or different. For example, the target structure is a reinforced shell structure, wherein the reinforced shell structure includes a shell and reinforcing ribs located on the surface of the shell. Optionally, the shell may be thin-walled, usually based on a developable surface; the reinforcing ribs distributed on the shell are usually based on a grid structure layout composed of regular unit cells. The structural parameters of the reinforced shell structure may include a pre-calibrated surface model and a structural normal thickness. For example, the structural parameters of the reinforced shell structure include a surface model, a normal thickness of the shell, a normal thickness of the reinforcing ribs, a single layer thickness, and the like. The structural parameters of the reinforced shell structure may be input by the user, or default parameters may be used.

可选地,曲面模型是一个可发展曲面,可以展开到平面上,且不发生任何褶皱与破裂。这可以确保曲面在后续步骤中通过等距映射展开的可行性。可选地,可展表面由下面公式进行描述:Optionally, the surface model is a developable surface that can be unfolded onto a plane without any wrinkles or cracks. This ensures the feasibility of unfolding the surface by isometric mapping in subsequent steps. Optionally, the developable surface is described by the following formula:

r(u,v)=a(u)+vb(u),r(u,v)=a(u)+vb(u),

其中,曲线a(u)被称为导线,b(u)则是一个直线矢量,被称为母线,u和v则是参数空间的正交曲线坐标系。Among them, the curve a(u) is called the conductor, b(u) is a straight line vector, called the mother line, and u and v are the orthogonal curvilinear coordinate systems in the parameter space.

步骤S102,根据所述目标结构的结构参数生成多个打印曲面。Step S102: generating a plurality of printing surfaces according to the structural parameters of the target structure.

本申请中的填充路径也是用于逐层进行打印的,但与传统切片软件不同,本申请中每一层上的填充路径并不是如传统切片软件得到的每一个二维切片中的二维路径,而是三维路径。其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面。The filling path in this application is also used for printing layer by layer, but unlike traditional slicing software, the filling path on each layer in this application is not a two-dimensional path in each two-dimensional slice obtained by traditional slicing software, but a three-dimensional path. Wherein, the target structure includes different first structures and second structures, and the multiple printing surfaces include a first printing surface corresponding to the first structure and a second printing surface corresponding to the second structure.

在获取目标结构的每一层上的填充路径之前,首先可通过对结构参数中的曲面模型偏移来构建目标结构的一系列切片层,也即一系列的打印曲面,其中该一系列的打印曲面中根据位置的不同,区分为不同类型的曲面,例如包括对应第一结构的多个打印曲面和对应第二结构中的多个打印曲面。为方面描述,下文称对应第一结构的多个打印曲面中的一个打印曲面为第一打印曲面,以及对应第二结构中的多个打印曲面中的一个打印曲面为第二打印曲面。可选地,用于构建第一结构的多个打印曲面的曲面模型和用于构建第二结构的多个打印曲面的曲面模型可以是相同的曲面模型,也可以是不同的曲面模型。Before obtaining the filling path on each layer of the target structure, a series of slice layers of the target structure, that is, a series of printed surfaces, can be first constructed by offsetting the surface model in the structure parameters, wherein the series of printed surfaces are divided into different types of surfaces according to different positions, for example, including multiple printed surfaces corresponding to the first structure and multiple printed surfaces corresponding to the second structure. For the sake of description, one of the multiple printed surfaces corresponding to the first structure is referred to as the first printed surface, and one of the multiple printed surfaces corresponding to the second structure is referred to as the second printed surface. Optionally, the surface model used to construct the multiple printed surfaces of the first structure and the surface model used to construct the multiple printed surfaces of the second structure can be the same surface model or different surface models.

以加强壳结构为例,在获取加强壳结构的每一层上的填充路径之前,首先可通过对结构参数中的曲面模型偏移来构建加强壳结构的一系列切片层,也即一系列的打印曲面,其中该一系列的打印曲面中根据位置的不同,区分为壳体曲面和加强筋曲面。一个示例中,壳体曲面通过壳体曲面模型沿法向偏移距离H1生成,其中H1=壳体结构的单层层厚×层数。加强筋曲面是通过加强筋曲面模型沿法向偏移距离H2生成,其中H2=加强筋结构的单层层厚×层数。可选地,壳体曲面模型或者加强筋曲面模型的法向偏移矢量可以沿水平或垂直方向进行投影,并通过法向量与水平面间夹角的相关系数进行修正,以确保沿法向的单层层厚保持不变,以获得高打印质量。Taking the reinforced shell structure as an example, before obtaining the filling path on each layer of the reinforced shell structure, a series of slice layers of the reinforced shell structure can be first constructed by offsetting the surface model in the structural parameters, that is, a series of printed surfaces, wherein the series of printed surfaces are divided into shell surfaces and rib surfaces according to different positions. In one example, the shell surface is generated by the shell surface model along the normal offset distance H1, where H1 = single-layer thickness of the shell structure × number of layers. The rib surface is generated by the rib surface model along the normal offset distance H2, where H2 = single-layer thickness of the rib structure × number of layers. Optionally, the normal offset vector of the shell surface model or the rib surface model can be projected in the horizontal or vertical direction, and corrected by the correlation coefficient of the angle between the normal vector and the horizontal plane to ensure that the single-layer thickness along the normal direction remains unchanged to obtain high printing quality.

步骤S103,采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形。Step S103: Use different mapping functions to map the first printed curved surface and the second printed curved surface to two-dimensional planes respectively, to obtain a first two-dimensional graph and a second two-dimensional graph.

对得到的每一个打印曲面,将该打印曲面映射到二维平面,以在二维平面上对该打印曲面规划填充路径。其中,第一打印曲面和第二打印曲面分别采用不同的映射函数映射到二维平面上,以配合不同结构的填充需求。For each obtained printed surface, the printed surface is mapped to a two-dimensional plane to plan a filling path for the printed surface on the two-dimensional plane. The first printed surface and the second printed surface are respectively mapped to the two-dimensional plane using different mapping functions to meet the filling requirements of different structures.

例如,一些示例中,第一结构需要采用完全填充方式来规划填充路径,那么需要在误差范围内保长度,第一打印曲面可以采用等距映射函数映射到二维平面上,得到第一二维图形。由等距映射相关联的第一打印曲面和第一二维图形尽管形状不同,但可以通过连续变形实现相互转换。也即由等距映射相关联的第一打印曲面和第一二维图形上的任何相对应曲线具有相同的长度。因此,在不改变单道宽度的情况下,第一二维图形上的完全填充图案映射回第一打印曲面后仍满足完全填充需求。For example, in some examples, the first structure needs to adopt a complete filling method to plan the filling path, so the length needs to be maintained within the error range. The first printed surface can be mapped to the two-dimensional plane using an isometric mapping function to obtain a first two-dimensional figure. Although the first printed surface and the first two-dimensional figure associated with the isometric mapping have different shapes, they can be converted into each other through continuous deformation. That is, the first printed surface associated with the isometric mapping and any corresponding curve on the first two-dimensional figure have the same length. Therefore, without changing the single-channel width, the complete filling pattern on the first two-dimensional figure still meets the complete filling requirement after being mapped back to the first printed surface.

可选地,第一打印曲面为可展曲面,可以确保第一打印曲面存在对应的等距映射函数。可选地,当所述第一打印曲面不为可展曲面时,或者当单个可展曲面无法满足误差需求时,将所述第一打印曲面转换为至少两个可展曲面的组合,用等距映射函数分别采将所述至少两个可展曲面分别映射到二维平面上,得到第一二维图形。Optionally, the first printed surface is a developable surface, which can ensure that there is a corresponding isometric mapping function for the first printed surface. Optionally, when the first printed surface is not a developable surface, or when a single developable surface cannot meet the error requirement, the first printed surface is converted into a combination of at least two developable surfaces, and the at least two developable surfaces are respectively mapped onto a two-dimensional plane using an isometric mapping function to obtain a first two-dimensional figure.

一些示例中,第一结构的填充路径为规则图形时,则第一打印曲面可以采用共性映射函数映射到二维平面,得到第二二维图形。规则图形通常很难随形填充到等距映射生成的复杂多边形中。因此,使用共形映射将第二打印曲面映射到二维欧式平面中,它是等距映射的一种松弛表示。共形映射的理论基础是,根据单值化定理,任意带度量的封闭紧曲面都通过其单值化共形度量等距嵌入到三种典型表面之一:球面、平面或双曲空间。此外,共形映射是保角的,因此又称为保角映射。In some examples, when the filling path of the first structure is a regular figure, the first printed surface can be mapped to a two-dimensional plane using a common mapping function to obtain a second two-dimensional figure. Regular figures are usually difficult to fill into complex polygons generated by isometric mapping. Therefore, conformal mapping is used to map the second printed surface to a two-dimensional Euclidean plane, which is a relaxed representation of isometric mapping. The theoretical basis of conformal mapping is that, according to the unification theorem, any closed compact surface with a metric isometrically embedded into one of three typical surfaces through its unification conformal metric: a sphere, a plane, or a hyperbolic space. In addition, conformal mapping is angle-preserving, so it is also called angle-preserving mapping.

如图2所示,图2为同一个曲面采用等距映射和采用共性映射后得到的二维图形的对比示意图。曲面21通过等距映射函数映射成一个弧形条带22,通过共形映射函数映射成一个矩形条带23。其中,曲面21、弧形条带22和矩形条带23中的格子均是正交的线条,用来展示映射前后的曲面关系。在等距映射中,曲面21和弧形条带22上任意对应线条是长度相同的;在共形映射中,曲面21和矩形条带23上任意两条曲线对应夹角相同。As shown in Figure 2, Figure 2 is a comparative schematic diagram of the two-dimensional graphics obtained by isometric mapping and conformal mapping of the same surface. The surface 21 is mapped into an arc strip 22 by the isometric mapping function, and is mapped into a rectangular strip 23 by the conformal mapping function. Among them, the grids in the surface 21, the arc strip 22 and the rectangular strip 23 are all orthogonal lines, which are used to show the relationship between the surfaces before and after mapping. In isometric mapping, any corresponding lines on the surface 21 and the arc strip 22 are the same length; in conformal mapping, any two corresponding curves on the surface 21 and the rectangular strip 23 have the same angle.

在目标结构为加强壳结构的示例中,对得到每一个壳体曲面和每一个加强筋曲面,分别将该壳体曲面和该加强筋曲面分别映射到二维平面,以在二维平面上分别对该壳体曲面和该加强筋曲面规划填充路径。可选地,壳体曲面采用等距映射函数映射到二维平面,而加强筋曲面采用共形映射函数映射到二维平面。对于加强筋曲面,由于分布在壳体上的加强筋通常是基于网格的布局,其典型特征是由许多定义为矩形的规则单胞排列形成。采用共形映射函数能保持加强筋曲面上任意位置的局部形状。这有助于保持结构的物理特性,如对结构力学性能有重大影响的加强筋角度。In the example where the target structure is a reinforced shell structure, each shell surface and each stiffener surface are obtained, and the shell surface and the stiffener surface are respectively mapped to a two-dimensional plane, so as to plan filling paths for the shell surface and the stiffener surface on the two-dimensional plane. Optionally, the shell surface is mapped to the two-dimensional plane using an isometric mapping function, and the stiffener surface is mapped to the two-dimensional plane using a conformal mapping function. For the stiffener surface, since the stiffeners distributed on the shell are usually based on a grid layout, their typical feature is that they are formed by a regular arrangement of many unit cells defined as rectangles. The use of a conformal mapping function can maintain the local shape of any position on the stiffener surface. This helps to maintain the physical properties of the structure, such as the stiffener angle, which has a significant impact on the mechanical properties of the structure.

步骤S104,分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径。Step S104 , planning filling paths in the first two-dimensional graphic and the second two-dimensional graphic respectively, to obtain a first two-dimensional filling path and a second two-dimensional filling path.

可采用用于平面层打印工艺的填充图案生成算法来分别在第一二维图形和第二二维图形中生成填充图案,也即填充路径。例如,可以根据需求采用有线扫描、轮廓偏移、费马螺旋线等算法来生成填充图案。A filling pattern generation algorithm for a planar layer printing process may be used to generate a filling pattern, i.e., a filling path, in the first two-dimensional figure and the second two-dimensional figure, respectively. For example, a wire scan, contour offset, Fermat spiral, or other algorithms may be used to generate the filling pattern according to requirements.

具体的,可以在第一二维图形(例如加强壳结构中的壳体二维图形)中生成各种填充图案,如人字形、轮廓偏移形和蜂窝结构。如图3-5所示,图3是之字形填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图。图4是基于弧形偏移的填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图。图5是基于轮廓偏移的填充路径在由等距映射相关联的二维平面和三维曲面上对比示意图。可以看出,之字形填充路径、基于弧形偏移和基于轮廓偏移的填充路径可以满足第一二维图形的完全填充需求。其中,由等距映射相关联的第一打印曲面和第一二维图形上的任何相对应曲线具有相同的长度。例如,图3中之字形填充路径在由等距映射相关联的第一打印曲面和第一二维图形上的长度都是158.03mm,图4中基于弧形偏移的填充路径在由等距映射相关联的第一打印曲面和第一二维图形上的长度都是81.85mm,图5中基于轮廓偏移的填充路径在由等距映射相关联的第一打印曲面和第一二维图形上的长度都是312.39mm。Specifically, various filling patterns such as herringbone, contour offset and honeycomb structure can be generated in the first two-dimensional figure (for example, the shell two-dimensional figure in the reinforced shell structure). As shown in Figures 3-5, Figure 3 is a schematic diagram of the comparison of zigzag filling paths on two-dimensional planes and three-dimensional surfaces associated by isometric mapping. Figure 4 is a schematic diagram of the comparison of filling paths based on arc offset on two-dimensional planes and three-dimensional surfaces associated by isometric mapping. Figure 5 is a schematic diagram of the comparison of filling paths based on contour offset on two-dimensional planes and three-dimensional surfaces associated by isometric mapping. It can be seen that the zigzag filling path, the filling path based on arc offset and the filling path based on contour offset can meet the complete filling requirements of the first two-dimensional figure. Among them, the first printed surface associated by isometric mapping and any corresponding curves on the first two-dimensional figure have the same length. For example, the zigzag fill path in Figure 3 is 158.03 mm long on the first printed surface and the first two-dimensional graphic associated with the isometric mapping, the fill path based on arc offset in Figure 4 is 81.85 mm long on the first printed surface and the first two-dimensional graphic associated with the isometric mapping, and the fill path based on contour offset in Figure 5 is 312.39 mm long on the first printed surface and the first two-dimensional graphic associated with the isometric mapping.

在此过程中,一些填充参数,如单道宽度和之字形图案的纤维填充角度,可以在一定范围内调整以实现多样化填充图案生成。In this process, some filling parameters, such as single-pass width and fiber filling angle of zigzag pattern, can be adjusted within a certain range to achieve diversified filling pattern generation.

由共形映射生成的第二二维图形(例如加强壳结构中的加强筋二维图形)是一个规则矩形,因此周期排列的单胞可以快速填充到加强筋二维图形内以生成分布在壳体上的加强筋,同时该周期排列的单胞也表示三维填充路径。如图6-8所示,图6是基于±30度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图,图7是基于±45度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图,图8是基于±60度交叉线的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图。可以看出,由共形映射相关联的第一打印曲面和第一二维图形上的任何相对应曲线具有相同的夹角。填充图案由沿参数轴(u和v)均匀分布且相互交叉的不同角度直线形成。在这个过程中,可以调整直线的角度和数量以产生多种格栅结构。The second two-dimensional figure generated by conformal mapping (for example, the two-dimensional figure of the stiffener in the reinforced shell structure) is a regular rectangle, so the periodically arranged unit cells can be quickly filled into the two-dimensional figure of the stiffener to generate the stiffeners distributed on the shell, and the periodically arranged unit cells also represent the three-dimensional filling path. As shown in Figures 6-8, Figure 6 is a schematic diagram of the comparison of the filling pattern based on the ±30-degree cross line on the two-dimensional plane and the three-dimensional surface associated with the conformal mapping, Figure 7 is a schematic diagram of the comparison of the filling pattern based on the ±45-degree cross line on the two-dimensional plane and the three-dimensional surface associated with the conformal mapping, and Figure 8 is a schematic diagram of the comparison of the filling pattern based on the ±60-degree cross line on the two-dimensional plane and the three-dimensional surface associated with the conformal mapping. It can be seen that the first printed surface associated with the conformal mapping and any corresponding curve on the first two-dimensional figure have the same angle. The filling pattern is formed by straight lines of different angles that are uniformly distributed and intersecting along the parameter axis (u and v). In this process, the angle and number of the straight lines can be adjusted to produce a variety of grid structures.

此外,还通过周期性填充多种基本单元的方法,可以生成更复杂的格栅结构,例如,如图9所示的基于椭圆单元的填充图案分别在由共形映射相关联的二维平面和三维曲面上的对比示意图。二维平面上的填充的多个周期性排列的基本单元,在三维曲面上仍是多个周期性排列的基本单元。由于共形映射仅保角度不保长度,二维曲面上均匀填充后映射所得三维图案会发生拉伸收缩,因此,可选地,还根据每一点上的收缩率调整二维平面上的每个二维填充单胞的尺寸,以获得具有均匀大小单胞的三维图案。In addition, more complex grid structures can be generated by periodically filling multiple basic units, for example, as shown in FIG9, a comparison diagram of a filling pattern based on elliptical units on a two-dimensional plane and a three-dimensional surface associated by conformal mapping. The multiple periodically arranged basic units filled on the two-dimensional plane are still multiple periodically arranged basic units on the three-dimensional surface. Since conformal mapping only preserves the angle but not the length, the three-dimensional pattern obtained by mapping after uniform filling on the two-dimensional surface will be stretched and contracted. Therefore, optionally, the size of each two-dimensional filling unit cell on the two-dimensional plane is adjusted according to the contraction rate at each point to obtain a three-dimensional pattern with uniformly sized units.

步骤S105,将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径。Step S105 , mapping the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface.

步骤S106,将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。Step S106: Map the second two-dimensional filling path back to the second printing surface to obtain a three-dimensional filling path of the second printing surface.

根据计算共形几何理论,映射函数f是同胚的,即映射函数与其逆映射是一一对应的。因此可以将第一二维填充路径和第二二维填充路径通过逆向映射关系映射回三维打印曲面。最后,所有第一打印曲面和第二打印曲面中生成的三维填充路径被组合起来,并以一系列有序的离散点集形式存储。可选地,每个离散点所对应的曲面法向量也计算出来,用于机器执行代码转换中的机器人轨迹生成。According to the theory of computational conformal geometry, the mapping function f is homeomorphic, that is, the mapping function and its inverse mapping are one-to-one corresponding. Therefore, the first two-dimensional filling path and the second two-dimensional filling path can be mapped back to the three-dimensional printing surface through the inverse mapping relationship. Finally, all the three-dimensional filling paths generated in the first printing surface and the second printing surface are combined and stored in the form of a series of ordered discrete point sets. Optionally, the surface normal vector corresponding to each discrete point is also calculated for robot trajectory generation in machine execution code conversion.

本申请中的路径规划方法中,通过将三维曲面映射到二维平面后再进行填充路径规划,降低了计算难度;而且目标结构中的不同结构的打印曲面采用不同的映射函数映射到二维平面,允许同时探索不同的几何设计(曲面薄壳和加强筋)及其填充路径,可以满足不同结构的填充需求。例如在加强壳结构的示例中,可以同时满足壳结构的完全填充需求和针对加强筋结构使用规则单胞随形填充复杂曲面的需求。另外,还可以在保证均匀统一道宽的情形下允许多样化的填充路径类型,同时配合纤维增强复合材料显著的力学各向异性,这使得保形CFRP-AM工艺具有了更强的性能调节能力。In the path planning method of this application, the calculation difficulty is reduced by mapping the three-dimensional surface to a two-dimensional plane and then performing filling path planning; and the printed surfaces of different structures in the target structure are mapped to the two-dimensional plane using different mapping functions, allowing different geometric designs (curved thin shells and stiffeners) and their filling paths to be explored simultaneously, which can meet the filling requirements of different structures. For example, in the example of the reinforced shell structure, the complete filling requirements of the shell structure and the requirements of using regular unit cells to fill complex surfaces for the stiffener structure can be met at the same time. In addition, a variety of filling path types can be allowed while ensuring a uniform and uniform path width, and at the same time, the significant mechanical anisotropy of fiber-reinforced composite materials is combined, which makes the conformal CFRP-AM process have a stronger performance adjustment capability.

可选地,本申请中的路径规划方法可用于增材制造。下面结合图10对本申请中的增材制造方法的一个实施例进行举例描述。如图10所述,图10是本申请中的增材制造方法的一个实施例的示意图。该增材制造方法包括:Optionally, the path planning method in the present application can be used for additive manufacturing. An embodiment of the additive manufacturing method in the present application is described below with reference to FIG. 10 . As shown in FIG. 10 , FIG. 10 is a schematic diagram of an embodiment of the additive manufacturing method in the present application. The additive manufacturing method includes:

步骤S1001,获取目标结构的多个打印曲面的三维填充路径。Step S1001, obtaining three-dimensional filling paths of multiple printing surfaces of a target structure.

其中,目标结构的多个打印曲面的三维填充路径的获取方法可参考上述的路径规划方法,在此不再赘述。Among them, the method for obtaining the three-dimensional filling paths of multiple printing surfaces of the target structure can refer to the above-mentioned path planning method, which will not be repeated here.

步骤S1002,将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹。Step S1002: converting the three-dimensional filling paths of the plurality of printing surfaces into machine motion trajectories respectively.

采用不同的增材制造设备需要的机器运动轨迹可能不同。增材制造设备的结构可以有多种。一个示例中,如图11所示,图11是本申请的增材制造设备的一个实施例的部分结构示意图。其中,该增材制造设备10包括机械臂基座11,固定在机械臂基座11上的机械臂12,以及设置在机械臂末端121的末端打印工具13。可选地,增材制造设备还包括可移除的、位于机械臂12的活动空间范围内可的打印基底14。该机械臂12用于带动该末端打印工具13在打印基底14上打印材料。在打印过程中,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具依次在多个切片层上进行打印。一般所述多个打印曲面的三维填充路径是在打印基底的坐标系下的表示,因此还需要将该所述多个打印曲面的三维填充路径转换为机械臂基座的坐标系下的机器运动轨迹。The machine motion trajectory required by different additive manufacturing equipment may be different. The structure of the additive manufacturing equipment can be various. In one example, as shown in Figure 11, Figure 11 is a partial structural schematic diagram of an embodiment of the additive manufacturing equipment of the present application. Among them, the additive manufacturing equipment 10 includes a robot arm base 11, a robot arm 12 fixed on the robot arm base 11, and an end printing tool 13 arranged at the end 121 of the robot arm. Optionally, the additive manufacturing equipment also includes a removable printing substrate 14 located within the range of the activity space of the robot arm 12. The robot arm 12 is used to drive the end printing tool 13 to print materials on the printing substrate 14. During the printing process, the multi-axis robot arm is used to drive the end printing tool located at the end of the multi-axis robot arm to print on multiple slice layers in sequence. Generally, the three-dimensional filling paths of the multiple printed surfaces are represented in the coordinate system of the printing substrate, so it is also necessary to convert the three-dimensional filling paths of the multiple printed surfaces into machine motion trajectories in the coordinate system of the robot arm base.

一个示例中,所述多个打印曲面的三维填充路径包括第一打印路径表示,所述第一打印路径表示包括多个离散路径点在打印基底坐标系下的三维坐标和法向量。In one example, the three-dimensional filling paths of the plurality of printed surfaces include a first printing path representation, where the first printing path representation includes three-dimensional coordinates and normal vectors of a plurality of discrete path points in a printing substrate coordinate system.

步骤S1003,根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具打印目标材料。Step S1003: according to the machine motion trajectory, the multi-axis robot arm is used to drive the end printing tool located at the end of the multi-axis robot arm to print the target material.

可选地,目标材料可以是复合材料、树脂材料、液态金属等等,例如,目标材料为连续纤维增强复合材料。多轴机械臂的末端上的末端打印工具可以是五轴运动平台或者六轴机器人运动平台的末端打印工具,或者具有六轴机器人加双轴旋转平台的8自由度末端打印工具,又或者具有双六轴机器人协同的12轴末端打印工具。使用多自由度运动直接制造结构非平面特征,相比传统工艺将纤维限制在一个平面层内,不能加强结构沿堆叠方向的力学性能,末端打印工具的多自由度运动可极大地扩展了纤维铺排设计自由度,使得纤维可以沿任意所需方向增强构件力学性能,极大地提高制件性能。可选地,该末端打印工具可以是CFRP-AM制造系统或者其他制备工艺的制造系统中的一部分,在此不做限制。Optionally, the target material can be a composite material, a resin material, a liquid metal, etc. For example, the target material is a continuous fiber reinforced composite material. The end printing tool on the end of the multi-axis robotic arm can be an end printing tool of a five-axis motion platform or a six-axis robot motion platform, or an 8-degree-of-freedom end printing tool with a six-axis robot plus a dual-axis rotation platform, or a 12-axis end printing tool with dual six-axis robots. Using multi-degree-of-freedom motion to directly manufacture structural non-planar features, compared to traditional processes that limit fibers to a planar layer and cannot enhance the mechanical properties of the structure along the stacking direction, the multi-degree-of-freedom motion of the end printing tool can greatly expand the freedom of fiber layout design, so that the fibers can enhance the mechanical properties of the component along any desired direction, greatly improving the performance of the product. Optionally, the end printing tool can be part of a CFRP-AM manufacturing system or a manufacturing system of other preparation processes, and is not limited here.

其中,步骤S1002中将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹的方法有多种。下面结合图12对图10所示实施例中的步骤S1002进行举例描述。There are many methods for converting the three-dimensional filling paths of the plurality of printed surfaces into machine motion trajectories in step S1002. The step S1002 in the embodiment shown in FIG10 is described below with reference to FIG12 .

如图12所述,图12是本申请中的增材制造方法中将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹的转换方法的一个实施例的示意图。该转换方法包括:As shown in FIG. 12 , FIG. 12 is a schematic diagram of an embodiment of a method for converting the three-dimensional filling paths of the plurality of printed surfaces into machine motion trajectories in the additive manufacturing method of the present application. The conversion method includes:

步骤S1201,获取末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。Step S1201, obtaining a posture conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a robot base, and a posture conversion relationship between a coordinate system of a printing substrate and a coordinate system of the robot base.

其中,末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系可以采用标定方法事先标定好后存储,通过读取存储中的标定数据来获取该两个位姿转换关系。或者,可以通过实时标定来获取该两个位姿转换关系。The pose conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot base, and the pose conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base can be calibrated in advance by a calibration method and then stored, and the two pose conversion relationships can be obtained by reading the calibration data stored. Alternatively, the two pose conversion relationships can be obtained by real-time calibration.

因此,生成的多个打印曲面的三维填充路径可以转换到机械臂基座的坐标系的坐标系中进行统一描述。Therefore, the generated three-dimensional filling paths of multiple printed surfaces can be converted into the coordinate system of the robot arm base for unified description.

步骤S1202,根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示。Step S1202: converting the first printing path representation into a second printing path representation in the coordinate system of the end printing tool according to a posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot base.

为了引导机械臂的运动,生成的第一打印路径表示需要转换为一系列有序的末端打印工具的坐标系中的位姿,即末端打印工具的位置和朝向。同时,由于在打印过程中,末端打印工具在打印第i个离散点时的Zi轴被强制与该离散路径点的法向量对齐。因此,机械臂的轨迹生成过程即是以离散点为原点,以单位化的法向量为Zi轴,构建了一系列末端打印工具的坐标系相对于机械臂基座的坐标系的位姿描述。至于末端打印工具的坐标系在打印第i个离散点时的Xi和Yi轴,可以选择Zi轴法线上的任何两个正交矢量。这是因为喷嘴尖端是圆形的,它围绕Z轴的旋转对任意单道轨迹的沉积影响很小。In order to guide the movement of the robot, the generated first printing path representation needs to be converted into a series of ordered poses in the coordinate system of the end printing tool, that is, the position and orientation of the end printing tool. At the same time, during the printing process, the Zi axis of the end printing tool when printing the i-th discrete point is forced to align with the normal vector of the discrete path point. Therefore, the trajectory generation process of the robot is to construct a series of pose descriptions of the coordinate system of the end printing tool relative to the coordinate system of the robot base with the discrete point as the origin and the unitized normal vector as the Zi axis. As for the Xi and Yi axes of the coordinate system of the end printing tool when printing the i-th discrete point, any two orthogonal vectors on the Zi axis normal can be selected. This is because the nozzle tip is circular, and its rotation around the Z axis has little effect on the deposition of any single track.

步骤S1203,根据所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,将所述第二打印路径表示转换为在所述机械臂基座的坐标系下的机器运动轨迹。Step S1203: convert the second printing path representation into a machine motion trajectory in the coordinate system of the robot base according to the posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base.

可选地,打印基底的坐标系的X轴矢量在末端打印工具的坐标系的Z轴矢量所对应法平面上的投影矢量被单元化,用于创建末端打印工具的坐标系的Xi轴矢量。Yi轴矢量由Zi和Xi轴矢量的叉乘计算可得。因此,末端打印工具的坐标系末端打印工具的坐标系末端打印工具的坐标系相对于打印基底的坐标系的转换矩阵由三个计算所得的轴向量和离散的点坐标构建,简写为: Optionally, the projection vector of the X-axis vector of the coordinate system of the printing substrate on the normal plane corresponding to the Z-axis vector of the coordinate system of the end printing tool is unitized to create the Xi-axis vector of the coordinate system of the end printing tool. The Yi-axis vector is calculated by the cross product of the Zi and Xi-axis vectors. Therefore, the transformation matrix of the coordinate system of the end printing tool relative to the coordinate system of the printing substrate is constructed by the three calculated axis vectors and the discrete point coordinates, which can be abbreviated as:

其中i表示第i个离散路径点的数据。然后,构建的末端打印工具的姿势被进一步转换到机器人基坐标系中表示,转换矩阵如下所示:Where i represents the data of the i-th discrete path point. Then, the posture of the constructed end-printing tool is further transformed into the robot base coordinate system, and the transformation matrix is shown as follows:

其中,B表示机械臂基座,T表示末端打印工具,S表示打印基底。Among them, B represents the robot arm base, T represents the end printing tool, and S represents the printing substrate.

步骤S1204,根据所述机器运动轨迹利用多轴机械臂带动所述末端打印工具打印目标材料。Step S1204: using a multi-axis robot arm to drive the end printing tool to print the target material according to the machine motion trajectory.

可选地,增材制造设备进一步将转换到机械臂基座的坐标系的坐标系中三维打印路径转换为机器可识别代码。该机器可识别代码可以包括机械臂轨迹和打印材料进给率。可选地,一些对打印质量有重要影响的关键设计参数是可调的,如层厚、单道宽度、填充路径的图案、打印速度等。最后,转换为机器可识别代码后,该机器可识别代码按需分发到机械臂和末端打印工具的坐标系,通过该两个模块的良好配合实现高质量打印。Optionally, the additive manufacturing device further converts the three-dimensional printing path in the coordinate system converted to the coordinate system of the robot base into a machine-readable code. The machine-readable code may include the robot trajectory and the printing material feed rate. Optionally, some key design parameters that have an important impact on the printing quality are adjustable, such as layer thickness, single-pass width, pattern of the filling path, printing speed, etc. Finally, after conversion to a machine-readable code, the machine-readable code is distributed to the coordinate system of the robot and the end printing tool as needed, and high-quality printing is achieved through the good cooperation of the two modules.

机器运动轨迹被生成机器代码,该机器代码被解析并以一定时间间隔分发给相应的模块控制器。可选地,在增材制造设备工作过程中,设置的温度数据首先通过串口通讯发送至共挤控制器,内置的PID控制程序通过控制加热棒通断电频率控制喷嘴加热到指定温度。然后,对应机械臂运动的控制指令通过以太网发送至机械臂控制器并以一定时间间隔将机械臂末端运动速度输出到主机用于计算复合材料进给速率。计算所得复合材料进给速率通过串口通讯发送到共挤出末端实时更新电机转速以实现打印速度于材料进给速率的相互匹配。每条子路径打印完毕后,机械臂与材料进给模块停止运动,由主机发送纤维剪切命令,驱动伺服机实现纤维切断。当所有的路径打印完成后,主机发送终止命令,停止喷嘴加热并将机械臂移动到安全的位置后,由用户将打印件取出。The machine motion trajectory is generated into a machine code, which is parsed and distributed to the corresponding module controller at a certain time interval. Optionally, during the operation of the additive manufacturing equipment, the set temperature data is first sent to the co-extrusion controller via serial communication, and the built-in PID control program controls the nozzle to heat to a specified temperature by controlling the on-off frequency of the heating rod. Then, the control instructions corresponding to the movement of the robot arm are sent to the robot arm controller via Ethernet and the movement speed of the end of the robot arm is output to the host at a certain time interval for calculating the composite material feed rate. The calculated composite material feed rate is sent to the end of the co-extrusion via serial communication to update the motor speed in real time to achieve a match between the printing speed and the material feed rate. After each sub-path is printed, the robot arm and the material feeding module stop moving, and the host sends a fiber cutting command to drive the servo to achieve fiber cutting. When all paths are printed, the host sends a termination command, stops the nozzle heating, and moves the robot arm to a safe position, and the user takes out the print.

在一个示例中,机械臂采用UR10e机器人,变换矩阵通常需要以旋转适量法表示,即更简洁的矢量形式其中[x,y,z]是离散点坐标,[rx,ry,rz]则表示旋转矢量。此外,基于关节矢量θ=[θ1,θ2,...,θ0]的运动控制方式,则需要通过逆运动学将给定的TCF位姿转换为6个关节转角。逆运动学问题可以通过机器人运动链模型,即D-H参数,用解析法或数值迭代的方法进行求解。In one example, the robotic arm uses a UR10e robot. The transformation matrix usually needs to be expressed in the rotation method, which is a more concise vector form. Where [x, y, z] are discrete point coordinates, and [r x , ry , r z ] represents the rotation vector. In addition, based on the motion control method of joint vector θ = [θ 1 , θ 2 , ..., θ 0 ], it is necessary to convert the given TCF pose into 6 joint angles through inverse kinematics. The inverse kinematics problem can be solved by the robot kinematic chain model, i.e., DH parameters, using analytical methods or numerical iteration methods.

为了生产高质量的零件,材料的挤出率与机械臂需运动精确同步。更具体地说,机器人运动学和沿CFRP-AM打印路径的沉积工艺参数之间的相互匹配关系需要被建模并精确控制。To produce high-quality parts, the material extrusion rate needs to be precisely synchronized with the robot arm motion. More specifically, the matching relationship between the robot kinematics and the deposition process parameters along the CFRP-AM printing path needs to be modeled and precisely controlled.

可选地,目标材料包括纤维和树脂;在本申请的增材制造方法中,还获取单道打印样品的截面参数和打印速度;根据所述截面参数和所述打印速度确定纤维给进率和树脂给进率。例如,可用扫描电子显微镜(SEM)观察单道打印样品的截面。制造的单道样品的截面可以表示为带有半包裹的纤维束的圆角矩形。或者,可使用单层厚度(h)和单道宽度(w)来描述横截面形貌。Optionally, the target material includes fibers and resins; in the additive manufacturing method of the present application, cross-sectional parameters and printing speed of a single-pass printed sample are also obtained; and the fiber feed rate and the resin feed rate are determined according to the cross-sectional parameters and the printing speed. For example, a cross section of a single-pass printed sample can be observed using a scanning electron microscope (SEM). The cross section of the manufactured single-pass sample can be represented as a rounded rectangle with a half-wrapped fiber bundle. Alternatively, the single layer thickness (h) and the single pass width (w) can be used to describe the cross-sectional morphology.

使用参数E1和E2表示纤维和树脂线材的进给率,即单位时间内送入打印头的丝材长度。在给定的打印速度(v)的情况下,E1对所沉积纤维的准直度和预应力有很大的影响,从而影响打印件整体力学性能。因此,可选地,在本申请的增材制造方法中,还获取纤维修正系数,根据所述纤维修正系数对所述纤维给进率进行修正,根据修改后的所述纤维给进率打印所述所述纤维。可选地,所述纤维修正系数小于或等于1,使得修正后的所述纤维给进率小于或等于修正前的所述纤维给进率。一个示例中,纤维修正系数被设定为0.95-1.0。Parameters E1 and E2 are used to represent the feed rate of the fiber and resin wire, that is, the length of the wire fed into the print head per unit time. At a given printing speed (v), E1 has a great influence on the collimation and prestress of the deposited fiber, thereby affecting the overall mechanical properties of the printed part. Therefore, optionally, in the additive manufacturing method of the present application, a fiber correction coefficient is also obtained, the fiber feed rate is corrected according to the fiber correction coefficient, and the fiber is printed according to the modified fiber feed rate. Optionally, the fiber correction coefficient is less than or equal to 1, so that the corrected fiber feed rate is less than or equal to the fiber feed rate before correction. In one example, the fiber correction coefficient is set to 0.95-1.0.

可选地,还获取树脂修正系数,根据所述树脂修正系数对所述树脂给进率进行修正,根据修改后的所述树脂给进率打印所述所述树脂。可选地,所述树脂修正系数大于或等于1,使得修正后的所述树脂给进率大于或等于修正前的所述树脂给进率。这是因为在多层多道的沉积模型中,可以发现打印件中存在间隙区域。在本研究中,k2通常被设置为1.0-1.15以减少空隙。较少的空隙往往有助于改善机械性能,但过大的参数设置会导致过量的树脂堆积,这对于制件表面质量是不利的。Optionally, a resin correction coefficient is also obtained, the resin feed rate is corrected according to the resin correction coefficient, and the resin is printed according to the modified resin feed rate. Optionally, the resin correction coefficient is greater than or equal to 1, so that the corrected resin feed rate is greater than or equal to the resin feed rate before correction. This is because in a multi-layer and multi-channel deposition model, gap areas can be found in the print. In this study, k2 is usually set to 1.0-1.15 to reduce voids. Fewer voids often help improve mechanical properties, but excessive parameter settings can lead to excessive resin accumulation, which is not good for the surface quality of the part.

根据体积守恒原理,复合材料的进给率和打印速度之间的量化关系表示如下:According to the volume conservation principle, the quantitative relationship between the feed rate and printing speed of composite materials is expressed as follows:

其中印刷速度v、单层厚度h、单珠宽度w、树脂线材直径dp以及校正系数k1和k2可以由用户自行设置或默认设置。此外,材料的进给速率需要转化为控制脉冲频率,以控制的电机旋转速率。The printing speed v, single layer thickness h, single bead width w, resin wire diameter d p, and correction coefficients k1 and k2 can be set by the user or by default. In addition, the material feed rate needs to be converted into a control pulse frequency to control the motor rotation rate.

在一个具体示例中,该增材制造设备包含四个主要模块:控制主机、六轴机器人运动模块、纤维-树脂共挤出打印末端和可更换的预制自由形式基底。控制主机主要用于前处理工艺规划和运动控制,具体来说则是首先通过工艺规划算法输出机器执行文件,再将相应运动控制指令分别发送到机械臂和共挤出末端的控制器,实现两者的相互配合,完成复材结构制造。六轴机械臂运动模块用于实现系统多自由度运动,其所具有的高度运动灵活性在规避碰撞和奇异点上优势显著,可用于提高打印路径的平滑性。可选地,该六轴机械臂安装在一个光学隔振平台上,以机械臂基座为中心,其球形工作空间半径达1300mm,末端有效工作载荷10kg。此外,该机械臂的重复位置精度为±0.05mm,末端打印工具中心点的最大速度为1000mm/s。纤维-树脂共挤出打印模块固连在机械臂末端的坐标系,包括纤维进给装置、树脂挤出机、纤维剪切装置、共挤出喷嘴和温度控制装置等。这个打印末端由内部设计开发,尤其是基于热-流场耦合仿真结果对共挤出喷嘴内部流道进行优化,以提高纤维在熔融腔室内部浸渍效果。喷嘴出口直径为1mm且进行圆角加工,以实现材料挤出后的熨烫挤压并避免纤维刮断。喷嘴的最高加热温度为300℃,可满足大多数热塑性工程塑料的适用需求。自由形式基底则用于为首层复合材料提供附着基础,以确保较高的打印质量。同时,其不能安装在距离机械臂工作空间边缘太近的地方,因为这样会增加机械臂到达关节极限的可能性。此外,该基底可以用各种工艺制造并重复使用。In a specific example, the additive manufacturing equipment includes four main modules: a control host, a six-axis robot motion module, a fiber-resin co-extrusion printing end, and a replaceable prefabricated free-form substrate. The control host is mainly used for pre-processing process planning and motion control. Specifically, the machine execution file is first output through the process planning algorithm, and then the corresponding motion control instructions are sent to the controllers of the robot arm and the co-extrusion end respectively, so as to achieve mutual cooperation between the two and complete the composite structure manufacturing. The six-axis robot arm motion module is used to realize the multi-degree-of-freedom motion of the system. Its high degree of motion flexibility has significant advantages in avoiding collisions and singularities, and can be used to improve the smoothness of the printing path. Optionally, the six-axis robot arm is mounted on an optical vibration isolation platform, with the robot arm base as the center, and its spherical workspace radius is 1300mm, and the end effective working load is 10kg. In addition, the repeatability accuracy of the robot arm is ±0.05mm, and the maximum speed of the center point of the end printing tool is 1000mm/s. The fiber-resin co-extrusion printing module is fixed to the coordinate system of the end of the robot arm, including a fiber feeding device, a resin extruder, a fiber shearing device, a co-extrusion nozzle, and a temperature control device. This printing end is designed and developed in-house, especially the internal flow channel of the co-extrusion nozzle is optimized based on the results of the thermal-flow field coupling simulation to improve the impregnation effect of the fiber inside the molten chamber. The nozzle outlet diameter is 1mm and the corners are rounded to achieve ironing extrusion after material extrusion and avoid fiber scraping. The maximum heating temperature of the nozzle is 300°C, which can meet the applicable requirements of most thermoplastic engineering plastics. The free-form substrate is used to provide an attachment base for the first layer of composite materials to ensure high printing quality. At the same time, it cannot be installed too close to the edge of the robot arm's workspace, because this will increase the possibility of the robot arm reaching the joint limit. In addition, the substrate can be manufactured and reused using various processes.

一些示例中,末端打印工具的尖端与前一个切片层之间的间隙是影响打印质量的一个重要因素。因此,对末端打印工具和打印基底在机械臂基坐标系中的位置和朝向进行精确标定,以确保在各个打印的切片层上间隙是精确且均匀的。In some examples, the gap between the tip of the end printing tool and the previous slice layer is an important factor affecting the printing quality. Therefore, the position and orientation of the end printing tool and the printing substrate in the robot base coordinate system are accurately calibrated to ensure that the gap is accurate and uniform on each printed slice layer.

可选地,标定方法用于对末端打印工具的坐标系和打印基底的坐标系分别相对机械臂基坐标系中的位置和朝向进行标定,以确保良好打印质量。具体来说,如图11所示,标定过程就是建立打印基底的坐标系(Substrate Frame,SF)和末端打印工具的坐标系的中心坐标系(Tool Center Frame,TCF)相对于机械臂基座的坐标系的坐标系(Base Frame,BF)的位姿关系的数学描述。本申请的标定方法中,除了这三个坐标系外,还引入了机械臂末端的坐标系坐标系(End Frame,EF)以辅助标定。Optionally, the calibration method is used to calibrate the coordinate system of the end printing tool and the coordinate system of the printing substrate relative to the position and orientation in the robot base coordinate system, respectively, to ensure good printing quality. Specifically, as shown in Figure 11, the calibration process is to establish a mathematical description of the position and orientation relationship between the coordinate system of the printing substrate (Substrate Frame, SF) and the center coordinate system (Tool Center Frame, TCF) of the coordinate system of the end printing tool relative to the coordinate system of the robot base (Base Frame, BF). In the calibration method of the present application, in addition to these three coordinate systems, the coordinate system of the end of the robot arm (End Frame, EF) is also introduced to assist in calibration.

可选地,所述机械臂为六轴机械臂。可选地,所述末端打印工具的坐标系用于在打印基底的坐标系上打印连续纤维增强复合材料。可选地,所述末端打印工具的坐标系为纤维-树脂共挤出打印喷嘴。可选地,所述打印基底的坐标系为可更换的。可选地,所述打印基底的坐标系为预制自由形式基底。下面结合图11和图13对本申请中的增材制造设备的一种标定方法进行举例说明。如图13所示,图13是本申请的增材制造设备的标定方法中的一个实施例的示意图。该标定方法包括:Optionally, the robotic arm is a six-axis robotic arm. Optionally, the coordinate system of the end printing tool is used to print continuous fiber reinforced composite materials on the coordinate system of the printing substrate. Optionally, the coordinate system of the end printing tool is a fiber-resin co-extrusion printing nozzle. Optionally, the coordinate system of the printing substrate is replaceable. Optionally, the coordinate system of the printing substrate is a prefabricated free-form substrate. A calibration method for the additive manufacturing device in the present application is exemplified below in conjunction with Figures 11 and 13. As shown in Figure 13, Figure 13 is a schematic diagram of an embodiment of the calibration method for the additive manufacturing device of the present application. The calibration method comprises:

步骤S1301,获取第一位姿转换关系,所述第一位姿为末端打印工具的坐标系相对于机械臂末端的坐标系的位姿转换关系。Step S1301, obtaining a first posture conversion relationship, where the first posture is a posture conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a terminal of a robotic arm.

末端打印工具的坐标系相对于机械臂末端的坐标系的位姿,表示TCF相对于EF的位置和朝向。在数学模型中,这种位姿转换关系通常采用转换矩阵表示,即: The pose of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm represents the position and orientation of TCF relative to EF. In mathematical models, this pose conversion relationship is usually expressed by a conversion matrix, namely:

其中R为旋转矩阵,P为平移向量。用E指代机械臂末端的坐标系,用T指代末端打印工具的坐标系,则转换矩阵则描述了末端打印工具的坐标系相对于机械臂末端的坐标系的位姿,该位姿包含了旋转矩阵和位置向量EPTWhere R is the rotation matrix and P is the translation vector. Let E refer to the coordinate system of the end of the robot arm and T refer to the coordinate system of the end printing tool. Then the transformation matrix It describes the position of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm, which includes the rotation matrix and position vector E P T .

在一个示例中,可通过机械臂带动机械臂末端,进而通过机械臂末端带动末端打印工具以不同的姿态依次与位于所述打印基底上的同一参考点进行至少两次接触,获取每一次所述接触时所述机械臂末端的坐标系相对所述机械臂基座的坐标系的位姿转换关系,根据所述至少两次接触中所述机械臂末端的坐标系相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的位置向量。In one example, the robotic arm can drive the end of the robotic arm, and then the end of the robotic arm can drive the end printing tool to contact the same reference point located on the printing substrate at least twice in sequence with different postures, and the posture transformation relationship of the coordinate system of the end of the robotic arm relative to the coordinate system of the robotic arm base during each contact is obtained. According to the posture transformation relationship of the coordinate system of the end of the robotic arm relative to the robotic arm base in the at least two contacts, the position vector of the coordinate system of the end printing tool relative to the coordinate system of the end of the robotic arm is calculated.

例如,将一个锥形状参考物固定在机械臂工作空间中的合适位置处,以该锥形状参考物的尖端作为参考点。可选地,该锥形状参考物的位置远离机械臂工作空间的边缘。然后,控制机械臂移动使末端打印工具,使得末端打印工具的中心(例如末端喷嘴的中心)以不同的姿态与锥形状参考物的尖端接触多次,例如至少4次。在该多次接触中的第i次接触时,获取旋转矩阵和位置向量BPEi,其中B指代机械臂基座的坐标系,可以理解的是,BPEi满足:For example, a cone-shaped reference object is fixed at a suitable position in the robot arm workspace, and the tip of the cone-shaped reference object is used as a reference point. Optionally, the position of the cone-shaped reference object is far away from the edge of the robot arm workspace. Then, the robot arm is controlled to move the end printing tool so that the center of the end printing tool (e.g., the center of the end nozzle) contacts the tip of the cone-shaped reference object multiple times in different postures, for example, at least 4 times. At the i-th contact in the multiple contacts, the rotation matrix is obtained. and position vector B P Ei , where B refers to the coordinate system of the robot base. It can be understood that And B P Ei satisfies:

由于在接触过程中锥形状参考物的尖端固定不动,且机械臂基座固定不动,因此每次接触时BPTi保持不变,且末端打印工具的坐标系相对于机械臂末端的坐标系的位置向量EPT=(x,y,z)保持不变。因此,通过将任意两次接触时得到的上述公式(1)相减,然后将这些方程式联立获得线性方程组A*EPT=B。对于该方程组,通过使用线性最小二乘法,可以获得末端打印工具的坐标系相对于机械臂末端的坐标系位置向量的最佳拟合,即:Since the tip of the cone-shaped reference object is fixed during the contact process and the base of the robot arm is fixed, BPi remains unchanged at each contact, and the position vector EPt = (x, y, z) of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm remains unchanged. Therefore, by subtracting the above formula (1) obtained at any two contacts, and then combining these equations to obtain a linear equation system A* EPt = B. For this equation system, by using the linear least squares method, the best fit of the position vector of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm can be obtained, that is:

EPT=(ATA)-1ATB E P T =(A T A)- 1 A T B

末端打印工具的坐标系相对机械臂末端的坐标系的旋转矩阵可以直接由机械设计模型获取。或者,另一种更加精确的方法则是通过在末端打印工具的坐标系上设置与坐标系相关的特征点,利用这些特征点的已知相互位置关系来获取末端打印工具的坐标系相对机械臂末端的坐标系的旋转矩阵 The rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm It can be directly obtained from the mechanical design model. Alternatively, another more accurate method is to set feature points related to the coordinate system on the coordinate system of the end printing tool, and use the known relative position relationship of these feature points to obtain the rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm.

具体的,在所述末端打印工具上确定三个特征点,以及所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,所述三个特征点不在同一条直线上;通过所述机械臂带动所述末端打印工具,使得所述末端打印工具上的所述三个特征点依次与对应的所述打印基底上的预设参考点接触;分别获取所述末端打印工具的每一个所述特征点与对应的所述预设参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;根据所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,以及所述末端打印工具的每一个所述特征点与对应的所述预设参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的旋转矩阵。其中,该三个特征点分别对应的预设参考点可以是同一个预设参考点,也可以是不同的预设参考点。Specifically, three feature points are determined on the end printing tool, and the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, and the three feature points are not on the same straight line; the end printing tool is driven by the mechanical arm so that the three feature points on the end printing tool contact the corresponding preset reference points on the printing substrate in sequence; the posture transformation relationship of the end of the mechanical arm relative to the base of the mechanical arm when each of the feature points of the end printing tool contacts the corresponding preset reference point is obtained respectively; according to the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, and the posture transformation relationship of the end of the mechanical arm relative to the base of the mechanical arm when each of the feature points of the end printing tool contacts the corresponding preset reference point, the rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the mechanical arm is calculated. Among them, the preset reference points corresponding to the three feature points can be the same preset reference point or different preset reference points.

其中,末端打印工具上确定的三个特征点可以是末端打印工具的坐标系中的原点、其中一个轴上的任意一个点以及该轴所在平面上的任意一个点。例如,末端打印工具上确定的三个特征点可以是末端打印工具的坐标系中的原点、X轴或Y轴上的一个点,以及XY平面上的一个点。The three characteristic points determined on the end printing tool may be the origin in the coordinate system of the end printing tool, any point on one of the axes, and any point on the plane where the axis is located. For example, the three characteristic points determined on the end printing tool may be the origin in the coordinate system of the end printing tool, a point on the X-axis or the Y-axis, and a point on the XY plane.

步骤S1302,获取第二位姿转换关系,所述第二位姿为所述机械臂末端的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。Step S1302, obtaining a second posture conversion relationship, where the second posture is a posture conversion relationship between a coordinate system of the end of the robotic arm and a coordinate system of the base of the robotic arm.

可选地,以B指代机械臂基座,以E指代机械臂终端,转换矩阵描述了机械臂末端的坐标系相对目标机械臂的位姿,包含旋转矩阵和位置向量BPE。转换矩阵可以由机械臂控制器内置的正运动学模型计算获得。Optionally, B refers to the robot base, E refers to the robot terminal, and the transformation matrix Describes the position of the coordinate system at the end of the robot relative to the target robot, including the rotation matrix and position vector B P E . Transformation matrix It can be calculated by the forward kinematics model built into the robot controller.

步骤S1303,根据所述第一位姿转换关系和所述第二位姿转换关系,确定所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系。Step S1303: Determine the posture transformation relationship of the coordinate system of the end printing tool relative to the coordinate system of the robot arm base according to the first posture transformation relationship and the second posture transformation relationship.

末端打印工具的坐标系相对于机械臂基座的坐标系的转换矩阵可以表示为The transformation matrix of the coordinate system of the end printing tool relative to the coordinate system of the robot base It can be expressed as

其中,转换矩阵描述了机械臂末端的坐标系相对于机械臂基座的坐标系的位姿,该位姿包含了旋转矩阵和位置向量BPEAmong them, the transformation matrix Describes the position of the coordinate system of the end of the robot relative to the coordinate system of the robot base, which includes the rotation matrix and position vector B P E .

步骤S1304,根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。Step S1304: determining a posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base according to the posture of the coordinate system of the end printing tool relative to the coordinate system of the robot base.

具体的,在打印基底的坐标系上设计三个特征点位置用于辅助标定。例如,该三个特征点位置为打印基底的坐标系的坐标系中的原点P0,在X轴上的偏移点P1,以及在XY平面上任意点P2。这些特征点位置相对于机械臂基座的坐标系的位置向量通过移动机械臂使其与末端打印工具的中心点(例如共挤出喷嘴的中心点)接触来测量,然后结合已知的各特征点位置之间的位置关系实现快速构建末端打印工具的坐标系相对于打印基底的坐标系的变换矩阵 Specifically, three feature point positions are designed on the coordinate system of the printing substrate for auxiliary calibration. For example, the three feature point positions are the origin P0 in the coordinate system of the printing substrate, the offset point P1 on the X-axis, and the arbitrary point P2 on the XY plane. The position vectors of these feature point positions relative to the coordinate system of the robot base are measured by moving the robot arm to make it contact with the center point of the end printing tool (such as the center point of the co-extrusion nozzle), and then combined with the known positional relationship between the feature point positions to quickly construct the transformation matrix of the coordinate system of the end printing tool relative to the coordinate system of the printing substrate.

一个示例中,特征点位置P0到P1的位置向量单位化即是X轴向量。Y轴向量则需要首先计算P0点到P2点的位置向量,然后计算该向量在X轴向量对应的法平面上投影向量并将其单位化。最后Z轴向量由X轴向量和Y轴向量的向量积计算可得的。因此构建的转换矩阵为:In an example, the position vector of the feature point position P0 to P1 is normalized to the X-axis vector. The Y-axis vector needs to first calculate the position vector from point P0 to point P2, then calculate the projection vector of the vector on the normal plane corresponding to the X-axis vector and normalize it. Finally, the Z-axis vector is calculated by the vector product of the X-axis vector and the Y-axis vector. Therefore, the constructed transformation matrix is for:

其中X、Y、Z分别为机械臂基座的坐标系中描述的X轴、Y轴、Z轴向量,P0为打印基底的坐标系相对于机械臂基座的坐标系的原点坐标。可选地,可控制机械臂带动末端打印工具在每个特征点位置上多次测量,以减少误差。Where X, Y, and Z are the X-axis, Y-axis, and Z-axis vectors described in the coordinate system of the robot base, respectively, and P0 is the origin coordinate of the coordinate system of the printing substrate relative to the coordinate system of the robot base. Optionally, the robot can be controlled to drive the end printing tool to measure multiple times at each feature point position to reduce errors.

本申请实施例中,通过获取末端打印工具的坐标系相对于机械臂末端的坐标系的位姿转换关系,以及所述机械臂末端的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,可以标定得到末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,方便后续在获取到规划的打印路径后可以将该打印路径转换到机械臂基座坐标系下,以确保良好的打印质量。In an embodiment of the present application, by obtaining the posture transformation relationship of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm, and the posture transformation relationship of the coordinate system of the end of the robot arm relative to the coordinate system of the robot arm base, the posture transformation relationship of the coordinate system of the end printing tool relative to the coordinate system of the robot arm base, and the posture transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robot arm base can be calibrated, so that after the planned printing path is obtained, the printing path can be converted to the coordinate system of the robot arm base to ensure good printing quality.

其中,标定得到末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系可以存储后重复使用,可以在更换或维修增材制造设备中的某一模块时执行本申请的标定方法。或者,也可以在每一次执行打印任务之前执行本申请的标定方法,在此不作限制。Among them, the calibrated position and posture transformation relationship of the coordinate system of the terminal printing tool relative to the coordinate system of the robot base, and the position and posture transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robot base can be stored and reused, and the calibration method of this application can be performed when replacing or repairing a module in the additive manufacturing equipment. Alternatively, the calibration method of this application can also be performed before each printing task is executed, which is not limited here.

本申请还提供一种路径规划装置,如图14所示,图14是本申请的路径规划装置的一个实施例的示意图,该路径规划装置1400包括:The present application also provides a path planning device, as shown in FIG14 , which is a schematic diagram of an embodiment of the path planning device of the present application, and the path planning device 1400 includes:

第一获取模块1401,用于获取目标结构的结构参数;The first acquisition module 1401 is used to acquire the structural parameters of the target structure;

生成模块1402,用于根据所述目标结构的结构参数生成多个打印曲面,其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面;A generating module 1402 is used to generate a plurality of printing surfaces according to the structural parameters of the target structure, wherein the target structure includes a first structure and a second structure, and the plurality of printing surfaces include a first printing surface corresponding to the first structure and a second printing surface corresponding to the second structure;

映射模块1403,用于采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形;A mapping module 1403, configured to map the first printed curved surface and the second printed curved surface to a two-dimensional plane respectively by using different mapping functions to obtain a first two-dimensional graph and a second two-dimensional graph;

规划模块1404,用于分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径;A planning module 1404, configured to plan filling paths in the first two-dimensional graph and the second two-dimensional graph respectively, to obtain a first two-dimensional filling path and a second two-dimensional filling path;

所述映射模块1403还用于将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径;The mapping module 1403 is further used to map the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface;

所述映射模块1403还用于将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。The mapping module 1403 is further used to map the second two-dimensional filling path back to the second printing surface to obtain a three-dimensional filling path of the second printing surface.

可选地,所述规划模块1404具体用于在所述第一二维图形中采用完全填充方式规划填充路径,得到第一二维填充路径。Optionally, the planning module 1404 is specifically configured to plan a filling path in the first two-dimensional figure by adopting a complete filling method to obtain a first two-dimensional filling path.

可选地,所述映射模块1403具体用于:Optionally, the mapping module 1403 is specifically used for:

当所述第一打印曲面为可展曲面时,采用等距映射函数将所述第一打印曲面映射到二维平面上,得到第一二维图形;或者,When the first printed surface is a developable surface, an isometric mapping function is used to map the first printed surface onto a two-dimensional plane to obtain a first two-dimensional figure; or,

当所述第一打印曲面不为可展曲面时,将所述第一打印曲面转换为至少两个可展曲面的组合,用等距映射函数分别采将所述至少两个可展曲面分别映射到二维平面上,得到第一二维图形。When the first printed surface is not a developable surface, the first printed surface is converted into a combination of at least two developable surfaces, and the at least two developable surfaces are respectively mapped onto a two-dimensional plane using an isometric mapping function to obtain a first two-dimensional figure.

可选地,所述映射模块1403具体用于:采用共性映射函数将所述第二打印曲面映射到二维平面,得到第二二维图形;Optionally, the mapping module 1403 is specifically used to: map the second printed surface to a two-dimensional plane using a common mapping function to obtain a second two-dimensional figure;

所述规划模块1404具体用于在所述第二二维图形中规划填充路径,得到具有规则图形的第二填充路径。The planning module 1404 is specifically used to plan a filling path in the second two-dimensional figure to obtain a second filling path with a regular figure.

可选地,所述目标结构为加强壳结构,所述加强壳结构包括壳体和位于所述壳体表面上的加强筋;所述第一结构为所述壳体,所述第二结构为所述加强筋。Optionally, the target structure is a reinforced shell structure, which includes a shell and reinforcing ribs located on a surface of the shell; the first structure is the shell, and the second structure is the reinforcing ribs.

本申请还提供一种增材制造装置,如图15所示,图15是本申请的增材制造装置的一个实施例的示意图,该路径规划装置1500包括:The present application also provides an additive manufacturing device, as shown in FIG15 , which is a schematic diagram of an embodiment of the additive manufacturing device of the present application. The path planning device 1500 includes:

第二获取模块1501,用于获取目标结构的多个打印曲面的三维填充路径;The second acquisition module 1501 is used to acquire three-dimensional filling paths of multiple printed surfaces of the target structure;

转换模块1502,用于将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹;A conversion module 1502, used to convert the three-dimensional filling paths of the plurality of printing surfaces into machine motion trajectories respectively;

打印模块1503,用于根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料。The printing module 1503 is used to use a multi-axis robot arm to drive a terminal printing tool located at the terminal of the multi-axis robot arm to print a target material on the printing substrate according to the machine motion trajectory.

可选地,所述多个打印曲面的三维填充路径包括第一打印路径表示,所述第一打印路径表示包括多个离散路径点在打印基底坐标系下的三维坐标和法向量;Optionally, the three-dimensional filling paths of the plurality of printed surfaces include a first printing path representation, wherein the first printing path representation includes three-dimensional coordinates and normal vectors of a plurality of discrete path points in a printing substrate coordinate system;

所述转换模块1502具体用于:The conversion module 1502 is specifically used for:

获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Acquire a position and posture conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a robot arm base of the multi-axis robot arm, and a position and posture conversion relationship between a coordinate system of a printing substrate and a coordinate system of the robot arm base;

根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示;According to a posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot arm base, converting the first printing path representation into a second printing path representation in the coordinate system of the end printing tool;

根据所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,将所述第二打印路径表示转换为在所述机械臂基座的坐标系下的机器运动轨迹。According to the position conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base, the second printing path representation is converted into a machine motion trajectory in the coordinate system of the robot base.

可选地,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示,包括:Optionally, the converting the first printing path representation into a second printing path representation in the coordinate system of the end printing tool according to a posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot arm base includes:

以所述第一打印路径表示中的第i个离散路径点为原点,以单位化的所述法向量为所述末端打印工具的坐标系的Z轴,构建所述第i个离散路径点处在所述末端打印工具的坐标系中的位姿,所述第二打印路径表示包括每个离散路径点在所述末端打印工具的坐标系中的位姿。Taking the i-th discrete path point in the first printing path representation as the origin and the unitized normal vector as the Z axis of the coordinate system of the end printing tool, the pose of the i-th discrete path point in the coordinate system of the end printing tool is constructed, and the second printing path representation includes the pose of each discrete path point in the coordinate system of the end printing tool.

可选地,所述目标材料包括纤维和树脂,所述材制造装置还包括:Optionally, the target material includes fiber and resin, and the material manufacturing device further includes:

第三获取模块,用于获取单道打印样品的截面参数和打印速度;A third acquisition module is used to obtain the cross-sectional parameters and printing speed of a single-pass printing sample;

确定模块,用于根据所述截面参数和所述打印速度确定所述纤维的给进率和所述树脂的给进率;A determination module, configured to determine a feed rate of the fiber and a feed rate of the resin according to the cross-sectional parameters and the printing speed;

所述打印模块在利用所述多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料时,具体用于:When the printing module uses the multi-axis mechanical arm to drive the end printing tool located at the end of the multi-axis mechanical arm to print the target material on the printing substrate, the printing module is specifically used to:

根据所述纤维的给进率和所述树脂的给进率在所述打印基底上打印目标材料。A target material is printed on the printing substrate according to a feed rate of the fiber and a feed rate of the resin.

可选地,所述所述材制造装置还包括:Optionally, the material manufacturing device further comprises:

第四获取模块,用于获取纤维修正系数;以及第一修正模块,用于根据所述纤维修正系数对所述纤维给进率进行修正;所述打印模块1503具体用于根据修正后的所述纤维给进率打印所述所述纤维;和/或,a fourth acquisition module, used for acquiring a fiber correction coefficient; and a first correction module, used for correcting the fiber feed rate according to the fiber correction coefficient; the printing module 1503 is specifically used for printing the fiber according to the corrected fiber feed rate; and/or,

第五获取模块,获取树脂修正系数,以及第二修正模块,用于根据所述树脂修正系数对所述树脂给进率进行修正,所述打印模块1503具体用于根据修正后的所述树脂给进率打印所述所述树脂。The fifth acquisition module is used to acquire the resin correction coefficient, and the second correction module is used to correct the resin feed rate according to the resin correction coefficient. The printing module 1503 is specifically used to print the resin according to the corrected resin feed rate.

可选地,所述修正后的所述纤维给进率小于或等于修正前的所述纤维给进率,所述修正后的所述树脂给进率大于或等于修正前的所述树脂给进率。Optionally, the fiber feed rate after correction is less than or equal to the fiber feed rate before correction, and the resin feed rate after correction is greater than or equal to the resin feed rate before correction.

可选地,所述增材制造装置还包括标定模块,用于在获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系之前:Optionally, the additive manufacturing device further includes a calibration module, which is used for obtaining a posture conversion relationship between a coordinate system of a terminal printing tool and a coordinate system of a robot arm base of the multi-axis robot arm, and a posture conversion relationship between a coordinate system of a printing substrate and a coordinate system of the robot arm base before:

获取第一位姿转换关系,所述第一位姿转换关系为末端打印工具的坐标系相对于机械臂末端的坐标系的位姿转换关系,其中,所述机械臂末端位于固定在机械臂基座上的机械臂的末端,用于移动所述末端打印工具,使得所述末端打印工具在打印基底上打印材料;Acquire a first pose conversion relationship, wherein the first pose conversion relationship is a pose conversion relationship of a coordinate system of an end printing tool relative to a coordinate system of a robotic arm end, wherein the robotic arm end is located at the end of a robotic arm fixed to a robotic arm base, and is used to move the end printing tool so that the end printing tool prints material on a printing substrate;

获取第二位姿转换关系,所述第二位姿转换关系为所述机械臂末端的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Acquire a second posture conversion relationship, where the second posture conversion relationship is a posture conversion relationship of a coordinate system of the end of the robotic arm relative to a coordinate system of the robotic arm base;

根据所述第一位姿转换关系和所述第二位姿转换关系,确定所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系;Determine a posture transformation relationship of a coordinate system of the end printing tool relative to a coordinate system of a robot arm base according to the first posture transformation relationship and the second posture transformation relationship;

根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the posture conversion relationship between the coordinate system of the end printing tool and the coordinate system of the robot base, the posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base is determined.

可选地,所述获取第一位姿转换关系,包括:Optionally, obtaining the first pose conversion relationship includes:

通过所述机械臂带动所述末端打印工具以不同的姿态依次与位于所述打印基底上的同一参考点进行至少两次接触;The end printing tool is driven by the robot arm to sequentially contact the same reference point on the printing substrate at least twice in different postures;

获取每一次所述接触时所述机械臂末端的坐标系相对所述机械臂基座的坐标系的位姿转换关系;Acquire a position transformation relationship between a coordinate system of the end of the robot arm and a coordinate system of the base of the robot arm at each contact;

根据所述至少两次接触中所述机械臂末端的坐标系相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的位置向量。According to the position conversion relationship between the coordinate system of the end of the robot arm and the base of the robot arm in the at least two contacts, the position vector of the coordinate system of the end printing tool relative to the coordinate system of the end of the robot arm is calculated.

可选地,所述获取第一位姿,包括:Optionally, obtaining the first pose includes:

在所述末端打印工具上确定三个特征点,以及所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determine three feature points on the end printing tool, and the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, wherein the three feature points are not on the same straight line;

通过所述机械臂带动所述末端打印工具,使得所述末端打印工具上的所述三个特征点依次与对应的所述打印基底上的预设参考点接触;The end printing tool is driven by the mechanical arm so that the three characteristic points on the end printing tool are contacted with the corresponding preset reference points on the printing substrate in sequence;

分别获取所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively obtaining a posture conversion relationship of the end of the robotic arm relative to the robotic arm base when each of the feature points of the end printing tool contacts the corresponding reference point;

根据所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,以及所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的旋转矩阵。According to the positional relationship between any two of the three feature points in the coordinate system of the end printing tool, and the posture transformation relationship of the end of the robotic arm relative to the robotic arm base when each of the feature points of the end printing tool contacts the corresponding reference point, the rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the robotic arm is calculated.

可选地,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿,获取所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,包括:Optionally, acquiring a posture conversion relationship between the coordinate system of the printing substrate and the coordinate system of the robot base according to the posture of the coordinate system of the end printing tool relative to the coordinate system of the robot base comprises:

在所述打印基底上确定三个特征点,以及所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determining three feature points on the printing substrate, and the positional relationship between any two of the three feature points in the coordinate system of the printing substrate, wherein the three feature points are not on the same straight line;

通过所述机械臂带动所述末端打印工具分别与所述三个特征点接触;The end printing tool is driven by the mechanical arm to contact the three feature points respectively;

分别获取所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively obtaining a posture conversion relationship between the end of the robot arm and the robot arm base when the end printing tool contacts each of the feature points;

根据所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,以及所述所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the positional relationship between any two of the three feature points in the coordinate system of the printing substrate, and the posture transformation relationship of the end of the robotic arm relative to the robotic arm base when the end printing tool contacts each of the feature points, the posture transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robotic arm base is determined.

本申请还提供一种路径规划设备,如图16所示,图16是本申请的路径规划设备的一个实施例的示意图。该路径规划设备1600包括第一处理器1601以及第一存储器1602,所述第一存储器1602上存储有可执行代码,当所述可执行代码被所述第一处理器1601执行时,使所述第一处理器1601执行上述任意一项路径规划方法。The present application also provides a path planning device, as shown in Figure 16, which is a schematic diagram of an embodiment of the path planning device of the present application. The path planning device 1600 includes a first processor 1601 and a first memory 1602, and the first memory 1602 stores executable code. When the executable code is executed by the first processor 1601, the first processor 1601 executes any one of the above path planning methods.

本申请还提供一种增材制造设备,如图17所示,图17是本申请的路径规划设备的一个实施例的示意图。该增材制造设备1700包括第二处理器1701以及第二存储器1702,所述第二存储器1702上存储有可执行代码,当所述可执行代码被所述第二处理器1701执行时,使所述第第二处理器1701执行上述任意一项增材制造方法。The present application also provides an additive manufacturing device, as shown in FIG17 , which is a schematic diagram of an embodiment of a path planning device of the present application. The additive manufacturing device 1700 includes a second processor 1701 and a second memory 1702 , and the second memory 1702 stores executable code, and when the executable code is executed by the second processor 1701 , the second processor 1701 executes any one of the above-mentioned additive manufacturing methods.

可选地,增材制造设备还包括固定在机械臂基座上的多轴机械臂,以及位于所述多轴机械臂的末端上的末端打印工具;所述多轴机械臂用于带动所述末端打印工具在打印基底上打印目标材料。Optionally, the additive manufacturing equipment also includes a multi-axis robotic arm fixed on the robotic arm base, and an end printing tool located at the end of the multi-axis robotic arm; the multi-axis robotic arm is used to drive the end printing tool to print the target material on the printing substrate.

或者,本申请还可以实施为一种计算机可读存储介质(或非暂时性机器可读存储介质或机器可读存储介质),其上存储有可执行代码(或计算机程序或计算机指令代码),当可执行代码(或计算机程序或计算机指令代码)被电子设备(例如增材制造设备)的处理器执行时,使处理器执行根据本申请的上述的路径规划方法或者增材制造方法的各个步骤的部分或全部。Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-temporary machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (such as an additive manufacturing device), the processor executes part or all of the various steps of the above-mentioned path planning method or additive manufacturing method according to the present application.

以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其他普通技术人员能理解本文披露的各实施例。The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (21)

1.一种路径规划方法,其特征在于,包括:1. A path planning method, characterized in that, comprising: 获取目标结构的结构参数;Get the structure parameters of the target structure; 根据所述目标结构的结构参数生成多个打印曲面,其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面;generating a plurality of printing curved surfaces according to structural parameters of the target structure, wherein the target structure includes different first structures and second structures, and the plurality of printing curved surfaces include a first printing curved surface corresponding to the first structure and a second printing curved surface corresponding to the second structure; 采用不同的映射函数将所述第一打印曲面和所述第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形;Mapping the first printed curved surface and the second printed curved surface to a two-dimensional plane by using different mapping functions to obtain a first two-dimensional graphic and a second two-dimensional graphic; 分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径;Planning filling paths in the first two-dimensional figure and the second two-dimensional figure respectively, to obtain a first two-dimensional filling path and a second two-dimensional filling path; 将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径;mapping the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface; 将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。The second two-dimensional filling path is mapped back to the second printing surface to obtain a three-dimensional filling path of the second printing surface. 2.根据权利要求1所述的方法,其特征在于,所述分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径,包括:2. The method according to claim 1, wherein said planning a filling path in said first two-dimensional figure and said second two-dimensional figure respectively to obtain a first two-dimensional filling path and a second two-dimensional filling path comprises: 在所述第一二维图形中采用完全填充方式规划填充路径,得到第一二维填充路径。A filling path is planned in the first two-dimensional graphic in a complete filling manner to obtain a first two-dimensional filling path. 3.根据权利要求2所述的方法,其特征在于,所述采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形,包括:3. The method according to claim 2, wherein said using different mapping functions to map said first printed curved surface and said second printed curved surface to a two-dimensional plane respectively to obtain a first two-dimensional figure and a second two-dimensional figure, comprising: 当所述第一打印曲面为可展曲面时,采用等距映射函数将所述第一打印曲面映射到二维平面上,得到第一二维图形;或者,When the first printing curved surface is a developable curved surface, an isometric mapping function is used to map the first printing curved surface to a two-dimensional plane to obtain a first two-dimensional graphic; or, 当所述第一打印曲面不为可展曲面时,将所述第一打印曲面转换为至少两个可展曲面的组合,用等距映射函数分别采将所述至少两个可展曲面分别映射到二维平面上,得到第一二维图形。When the first printing curved surface is not a developable curved surface, the first printed curved surface is converted into a combination of at least two developable curved surfaces, and the at least two developable curved surfaces are respectively mapped to a two-dimensional plane by an isometric mapping function to obtain a first two-dimensional figure. 4.根据权利要求1所述的方法,其特征在于,所述采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形,包括:4. The method according to claim 1, wherein said first printing curved surface and the second printing curved surface are respectively mapped to a two-dimensional plane by using different mapping functions to obtain a first two-dimensional figure and a second two-dimensional figure, comprising: 采用共性映射函数将所述第二打印曲面映射到二维平面,得到第二二维图形;Mapping the second printed curved surface to a two-dimensional plane by using a common mapping function to obtain a second two-dimensional graphic; 所述分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径,包括:The planning of filling paths in the first two-dimensional graphics and the second two-dimensional graphics respectively to obtain the first two-dimensional filling paths and the second two-dimensional filling paths includes: 在所述第二二维图形中规划填充路径,得到具有规则图形的第二填充路径。A filling path is planned in the second two-dimensional figure to obtain a second filling path with a regular figure. 5.根据权利要求1至4任一项所述的方法,其特征在于,所述目标结构为加强壳结构,所述加强壳结构包括壳体和位于所述壳体表面上的加强筋;5. The method according to any one of claims 1 to 4, wherein the target structure is a reinforced shell structure, and the reinforced shell structure includes a shell and reinforcing ribs on the surface of the shell; 所述第一结构为所述壳体,所述第二结构为所述加强筋。The first structure is the shell, and the second structure is the reinforcing rib. 6.一种增材制造方法,其特征在于,包括:6. A method for additive manufacturing, comprising: 根据权利要求1至5任一项所述的方法获取目标结构的多个打印曲面的三维填充路径;According to the method described in any one of claims 1 to 5, the three-dimensional filling paths of multiple printing curved surfaces of the target structure are obtained; 将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹;Converting the three-dimensional filling paths of the plurality of printing surfaces into machine motion trajectories respectively; 根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料。According to the motion trajectory of the machine, the multi-axis mechanical arm is used to drive the end printing tool located at the end of the multi-axis mechanical arm to print the target material on the printing substrate. 7.根据权利要求6所述的方法,其特征在于,所述多个打印曲面的三维填充路径包括第一打印路径表示,所述第一打印路径表示包括多个离散路径点在打印基底坐标系下的三维坐标和法向量;7. The method according to claim 6, wherein the three-dimensional filling paths of the plurality of printing curved surfaces include a first printing path representation, and the first printing path representation includes three-dimensional coordinates and normal vectors of a plurality of discrete path points in the printing base coordinate system; 所述将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹,包括:The converting the three-dimensional filling paths of the plurality of printed curved surfaces into machine motion trajectories respectively includes: 获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Obtaining the pose transformation relationship of the coordinate system of the terminal printing tool relative to the coordinate system of the robot base of the multi-axis robot arm, and the pose transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robot base; 根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示;converting the first printing path representation into a second printing path representation under the coordinate system of the end printing tool according to the pose transformation relationship of the coordinate system of the end printing tool relative to the coordinate system of the manipulator base; 根据所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,将所述第二打印路径表示转换为在所述机械臂基座的坐标系下的机器运动轨迹。According to the pose transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the manipulator base, the second printing path representation is transformed into a machine motion track in the coordinate system of the manipulator base. 8.根据权利要求7所述的方法,其特征在于,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,将所述第一打印路径表示转换为在所述末端打印工具的坐标系下的第二打印路径表示,包括:8. The method according to claim 7, wherein, according to the pose transformation relationship between the coordinate system of the terminal printing tool and the coordinate system of the manipulator base, converting the first printing path representation into a second printing path representation under the coordinate system of the terminal printing tool comprises: 以所述第一打印路径表示中的第i个离散路径点为原点,以单位化的所述法向量为所述末端打印工具的坐标系的Z轴,构建所述第i个离散路径点处在所述末端打印工具的坐标系中的位姿,所述第二打印路径表示包括每个离散路径点在所述末端打印工具的坐标系中的位姿。Taking the i-th discrete path point in the first printing path representation as the origin, and using the normal vector as the Z-axis of the coordinate system of the end printing tool to construct the pose of the i-th discrete path point in the coordinate system of the end printing tool, the second printing path representation includes the pose of each discrete path point in the coordinate system of the end printing tool. 9.根据权利要求7或8所述的方法,其特征在于,所述目标材料包括纤维和树脂,所述方法还包括:9. The method according to claim 7 or 8, wherein the target material comprises fibers and resins, the method further comprising: 获取单道打印样品的截面参数和打印速度;Obtain the cross-sectional parameters and printing speed of the single-pass printing sample; 根据所述截面参数和所述打印速度确定所述纤维的给进率和所述树脂的给进率;determining a feed rate of the fiber and a feed rate of the resin according to the cross-sectional parameter and the printing speed; 所述利用所述多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:The use of the multi-axis manipulator to drive the end printing tool located on the end of the multi-axis manipulator to print the target material on the printing substrate includes: 根据所述纤维的给进率和所述树脂的给进率在所述打印基底上打印目标材料。A target material is printed on the printing substrate according to the feed rate of the fibers and the feed rate of the resin. 10.根据权利要求9所述的方法,其特征在于,所述方法还包括:10. The method according to claim 9, further comprising: 获取纤维修正系数,根据所述纤维修正系数对所述纤维给进率进行修正,obtaining a fiber correction factor, and correcting the fiber feed rate according to the fiber correction factor, 所述利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:根据修正后的所述纤维给进率打印所述纤维;Using a multi-axis robot arm to drive an end printing tool located at the end of the multi-axis robot arm to print the target material on the printing substrate includes: printing the fiber according to the corrected fiber feed rate; 和/或,and / or, 所述方法还包括:获取树脂修正系数,根据所述树脂修正系数对所述树脂给进率进行修正,The method further includes: obtaining a resin correction coefficient, and correcting the resin feed rate according to the resin correction coefficient, 所述利用所述多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料,包括:根据修正后的所述树脂给进率打印所述树脂。Using the multi-axis robot arm to drive the end printing tool located at the end of the multi-axis robot arm to print the target material on the printing substrate includes: printing the resin according to the corrected resin feed rate. 11.根据权利要求10所述的方法,其特征在于,所述修正后的所述纤维给进率小于或等于修正前的所述纤维给进率,所述修正后的所述树脂给进率大于或等于修正前的所述树脂给进率。11. The method according to claim 10, wherein the corrected fiber feed rate is less than or equal to the fiber feed rate before correction, and the corrected resin feed rate is greater than or equal to the resin feed rate before correction. 12.根据权利要求9至11任一项所述的方法,其特征在于,所述获取末端打印工具的坐标系相对于所述多轴机械臂的机械臂基座的坐标系的位姿转换关系,以及打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,之前还包括:12. The method according to any one of claims 9 to 11, wherein the acquisition of the pose transformation relationship of the coordinate system of the terminal printing tool relative to the coordinate system of the robotic arm base of the multi-axis robotic arm, and the pose transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robotic arm base, also includes: 获取第一位姿转换关系,所述第一位姿转换关系为末端打印工具的坐标系相对于机械臂末端的坐标系的位姿转换关系,其中,所述机械臂末端位于固定在机械臂基座上的机械臂的末端,用于移动所述末端打印工具,使得所述末端打印工具在打印基底上打印材料;Obtaining a first pose conversion relationship, the first pose conversion relationship is a pose conversion relationship of the coordinate system of the end printing tool relative to the coordinate system of the end of the mechanical arm, wherein the end of the mechanical arm is located at the end of the mechanical arm fixed on the base of the mechanical arm, and is used to move the end printing tool so that the end printing tool prints materials on the printing substrate; 获取第二位姿转换关系,所述第二位姿转换关系为所述机械臂末端的坐标系相对于所述机械臂基座的坐标系的位姿转换关系;Obtaining a second pose transformation relationship, where the second pose transformation relationship is a pose transformation relation of the coordinate system at the end of the manipulator relative to the coordinate system of the base of the manipulator; 根据所述第一位姿转换关系和所述第二位姿转换关系,确定所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系;According to the first pose transformation relation and the second pose transformation relation, determine the pose transformation relation of the coordinate system of the end printing tool relative to the coordinate system of the manipulator base; 根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿转换关系,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the pose transformation relationship between the coordinate system of the terminal printing tool and the coordinate system of the manipulator base, determine the pose transformation relationship of the coordinate system of the printing base relative to the coordinate system of the manipulator base. 13.根据权利要求12所述的方法,其特征在于,所述获取第一位姿转换关系,包括:13. The method according to claim 12, wherein said obtaining the first pose conversion relationship comprises: 通过所述机械臂带动所述末端打印工具以不同的姿态依次与位于所述打印基底上的同一参考点进行至少两次接触;The end printing tool is driven by the mechanical arm to make at least two contacts with the same reference point on the printing substrate sequentially in different postures; 获取每一次所述接触时所述机械臂末端的坐标系相对所述机械臂基座的坐标系的位姿转换关系;Obtaining the pose transformation relationship of the coordinate system at the end of the robotic arm relative to the coordinate system at the base of the robotic arm at each contact; 根据所述至少两次接触中所述机械臂末端的坐标系相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的位置向量。calculating a position vector of the coordinate system of the end printing tool relative to the coordinate system of the end of the mechanical arm according to the pose transformation relationship of the coordinate system of the end of the mechanical arm relative to the base of the mechanical arm in the at least two contacts. 14.根据权利要求12所述的方法,其特征在于,所述获取第一位姿,包括:14. The method according to claim 12, wherein said obtaining the first pose comprises: 在所述末端打印工具上确定三个特征点,以及所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determining three feature points on the end printing tool, and the positional relationship of any two of the three feature points in the coordinate system of the end printing tool, the three feature points are not on the same straight line; 通过所述机械臂带动所述末端打印工具,使得所述末端打印工具上的所述三个特征点依次与对应的所述打印基底上的预设参考点接触;Driving the end printing tool by the mechanical arm, so that the three feature points on the end printing tool are sequentially in contact with the corresponding preset reference points on the printing substrate; 分别获取所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively acquiring the pose transformation relationship of the end of the mechanical arm relative to the base of the mechanical arm when each of the feature points of the end printing tool is in contact with the corresponding reference point; 根据所述三个特征点中任意两个特征点在所述末端打印工具的坐标系中的位置关系,以及所述末端打印工具的每一个所述特征点与对应的所述参考点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,计算所述末端打印工具的坐标系相对所述机械臂末端的坐标系的旋转矩阵。According to the position relationship of any two of the three feature points in the coordinate system of the end printing tool, and the pose transformation relationship of the end of the mechanical arm relative to the base of the mechanical arm when each of the feature points of the end printing tool is in contact with the corresponding reference point, calculate the rotation matrix of the coordinate system of the end printing tool relative to the coordinate system of the end of the mechanical arm. 15.根据权利要求12所述的方法,其特征在于,所述根据所述末端打印工具的坐标系相对于机械臂基座的坐标系的位姿,获取所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系,包括:15. The method according to claim 12, wherein, according to the pose of the coordinate system of the terminal printing tool relative to the coordinate system of the manipulator base, obtaining the pose transformation relationship of the coordinate system of the printing base relative to the coordinate system of the manipulator base comprises: 在所述打印基底上确定三个特征点,以及所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,所述三个特征点不在同一条直线上;Determining three feature points on the printing base, and the positional relationship of any two of the three feature points in the coordinate system of the printing base, the three feature points are not on the same straight line; 通过所述多轴机械臂带动所述末端打印工具分别与所述三个特征点接触;driving the end printing tool to contact the three feature points through the multi-axis mechanical arm; 分别获取所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系;Respectively acquiring the pose transformation relationship of the end of the robotic arm relative to the base of the robotic arm when the end printing tool is in contact with each of the feature points; 根据所述三个特征点中任意两个特征点在所述打印基底的坐标系中的位置关系,以及所述所述末端打印工具与每一个所述特征点接触时所述机械臂末端相对所述机械臂基座的位姿转换关系,确定所述打印基底的坐标系相对于所述机械臂基座的坐标系的位姿转换关系。According to the positional relationship of any two of the three feature points in the coordinate system of the printing substrate, and the pose transformation relationship of the end of the mechanical arm relative to the base of the robotic arm when the terminal printing tool contacts each of the feature points, the pose transformation relationship of the coordinate system of the printing substrate relative to the coordinate system of the robotic arm base is determined. 16.一种路径规划装置,其特征在于,包括:16. A path planning device, characterized in that it comprises: 第一获取模块,用于获取目标结构的结构参数;The first obtaining module is used to obtain the structural parameters of the target structure; 生成模块,用于根据所述目标结构的结构参数生成多个打印曲面,其中,所述目标结构包括不同的第一结构和第二结构,所述多个打印曲面包括对应所述第一结构的第一打印曲面和对应所述第二结构的第二打印曲面;A generating module, configured to generate a plurality of printed curved surfaces according to structural parameters of the target structure, wherein the target structure includes different first structures and second structures, and the plurality of printed curved surfaces includes a first printed curved surface corresponding to the first structure and a second printed curved surface corresponding to the second structure; 映射模块,用于采用不同的映射函数将所述第一打印曲面和第二打印曲面分别映射到二维平面,得到第一二维图形和第二二维图形;A mapping module, configured to use different mapping functions to respectively map the first printed curved surface and the second printed curved surface to a two-dimensional plane to obtain a first two-dimensional graphic and a second two-dimensional graphic; 规划模块,用于分别在所述第一二维图形和所述第二二维图形中规划填充路径,得到第一二维填充路径和第二二维填充路径;A planning module, configured to plan filling paths in the first two-dimensional graphic and the second two-dimensional graphic, respectively, to obtain the first two-dimensional filling path and the second two-dimensional filling path; 所述映射模块还用于将所述第一二维填充路径映射回所述第一打印曲面,得到所述第一打印曲面的三维填充路径;The mapping module is further configured to map the first two-dimensional filling path back to the first printing surface to obtain a three-dimensional filling path of the first printing surface; 所述映射模块还用于将所述第二二维填充路径映射回所述第二打印曲面,得到所述第二打印曲面的三维填充路径。The mapping module is further configured to map the second two-dimensional filling path back to the second printing surface to obtain a three-dimensional filling path of the second printing surface. 17.一种增材制造装置,其特征在于,包括:17. An additive manufacturing device, characterized in that it comprises: 第二获取模块,用于获取目标结构的多个打印曲面的三维填充路径;The second acquisition module is used to acquire the three-dimensional filling paths of multiple printing surfaces of the target structure; 转换模块,用于将所述多个打印曲面的三维填充路径分别转换为机器运动轨迹;A conversion module, configured to convert the three-dimensional filling paths of the plurality of printing surfaces into machine motion trajectories respectively; 打印模块,用于根据所述机器运动轨迹,利用多轴机械臂带动位于所述多轴机械臂的末端上的末端打印工具在所述打印基底上打印目标材料。The printing module is configured to use the multi-axis manipulator to drive the terminal printing tool located at the end of the multi-axis manipulator to print the target material on the printing substrate according to the movement track of the machine. 18.一种路径规划设备,包括第一存储器和第二处理器,所述第一存储器上存储有可执行代码,当可执行代码被所述第一处理器处理时,可以使所述第一处理器执行权利要求1至5中任一项所述的方法。18. A path planning device, comprising a first memory and a second processor, executable code is stored on the first memory, and when the executable code is processed by the first processor, the first processor can be made to execute the method according to any one of claims 1 to 5. 19.一种增材制造设备,其特征在于,包括第二存储器和第二处理器,所述第二存储器上存储有可执行代码,当可执行代码被所述第二处理器处理时,可以使所述第二处理器执行权利要求6至15中任一项所述的方法。19. An additive manufacturing device, characterized in that it comprises a second memory and a second processor, executable code is stored on the second memory, and when the executable code is processed by the second processor, the second processor can be made to execute the method according to any one of claims 6 to 15. 20.根据权利要求19所述的增材制造设备,其特征在于,还包括固定在机械臂基座上的多轴机械臂,以及位于所述多轴机械臂的末端上的末端打印工具;20. The additive manufacturing equipment according to claim 19, further comprising a multi-axis manipulator fixed on the base of the manipulator, and an end printing tool located at the end of the multi-axis manipulator; 所述多轴机械臂用于带动所述末端打印工具在打印基底上打印目标材料。The multi-axis mechanical arm is used to drive the terminal printing tool to print target materials on the printing substrate. 21.一种计算机可读存储介质,其特征在于,存储有可执行代码,当所述可执行代码被电子设备的处理器执行时,使所述电子设备执行如权利要求1至5中任意一项所述的路径规划方法,或者执行如权利要求6至15中任意一项所述的增材制造方法。21. A computer-readable storage medium, characterized in that executable code is stored, and when the executable code is executed by a processor of the electronic device, the electronic device is made to execute the path planning method according to any one of claims 1 to 5, or execute the additive manufacturing method according to any one of claims 6 to 15.
CN202310456020.9A 2023-04-21 2023-04-21 Path planning method, additive manufacturing method and related products Pending CN116486959A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310456020.9A CN116486959A (en) 2023-04-21 2023-04-21 Path planning method, additive manufacturing method and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310456020.9A CN116486959A (en) 2023-04-21 2023-04-21 Path planning method, additive manufacturing method and related products

Publications (1)

Publication Number Publication Date
CN116486959A true CN116486959A (en) 2023-07-25

Family

ID=87224733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310456020.9A Pending CN116486959A (en) 2023-04-21 2023-04-21 Path planning method, additive manufacturing method and related products

Country Status (1)

Country Link
CN (1) CN116486959A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118322571A (en) * 2024-06-12 2024-07-12 苏州融速智造科技有限公司 Material adding method for thin-wall part with curved surface characteristics

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118322571A (en) * 2024-06-12 2024-07-12 苏州融速智造科技有限公司 Material adding method for thin-wall part with curved surface characteristics

Similar Documents

Publication Publication Date Title
Bhatt et al. A robotic cell for multi-resolution additive manufacturing
Shembekar et al. Trajectory planning for conformal 3d printing using non-planar layers
Jiang et al. A review of multiple degrees of freedom for additive manufacturing machines
Senthil et al. Industrial Robot-Integrated Fused Deposition Modelling for the 3D Printing Process
Sheng et al. Tool path planning for compound surfaces in spray forming processes
Gao et al. Optimization of the robot and positioner motion in a redundant fiber placement workcell
Alsharhan et al. Enhancing mechanical properties of thin-walled structures using non-planar extrusion based additive manufacturing
Bhatt et al. Computational foundations for using three degrees of freedom build platforms to enable supportless extrusion-based additive manufacturing
Zhang et al. Singularity-aware motion planning for multi-axis additive manufacturing
CN107253191B (en) Double-mechanical-arm system and coordination control method thereof
Zhang et al. Robot-assisted conformal additive manufacturing for continuous fibre-reinforced grid-stiffened shell structures
CN115179306A (en) Milling and control method for complex wood pattern industrial robot
CN116486959A (en) Path planning method, additive manufacturing method and related products
Jing et al. A robotic 3D printing system for supporting-free manufacturing of complex model based on FDM technology
Li et al. A novel cartesian trajectory planning method by using triple NURBS curves for industrial robots
CN111633668A (en) A motion control method for robots to process three-dimensional free-form surfaces
Zhang et al. Support generation for robot-assisted 3D printing with curved layers
Lettori et al. Implementation and virtual assessment of a non-uniform cylindrical slicing algorithm for robot-based additive manufacturing
Gamaralalage et al. Conversion of the SCARA robot into a hybrid manufacturing workstation
Ishak et al. An algorithm for generating 3d lattice structures suitable for printing on a multi-plane fdm printing platform
Angerer et al. Planning and execution of collision-free multi-robot trajectories in industrial applications
Ishak et al. Robot arm platform for rapid prototyping: Concept
Zhang et al. Multi-axis toolpath planning for extrusion-based polymer 3d printing: review and prospective
Zeng et al. 3D printing and free-form surface coating based on 6-DOF robot
He et al. A novel arc-spraying robot for rapid tooling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination