Ueng Shyh-Kuang, Huang Hsuan-Kai
Department of Computer Science and Engineering, National Taiwan Ocean University, Keelung City 202, Taiwan.
CoreTech System Co., Ltd., Zhubei City 302, Taiwan.
Materials (Basel). 2022 Aug 4;15(15):5376. doi: 10.3390/ma15155376.
Pipes are commonly used to transport fuels, air, water, gas, hydraulic power, and other fluid-like materials in engine rooms, houses, factories, airplanes, and ships. Thus, pipe routing is essential in many industrial applications, including ship construction, machinery manufacturing, house building, laying out engine rooms, etc. To be functional, a pipe system should be economical while satisfying spatial constraints and safety regulations. Numerous routing algorithms have been published to optimize the pipe length and the number of elbows. However, relatively few methods have been designed to lay out pipes which strictly meet the spatial constraints and safety regulations. This article proposes a distance-field-based piping algorithm to remedy this problem. The proposed method converts the workspace into a 3D image and computes a distance field upon the workspace first. It then creates a feasible space out of the workspace by peeling the distance field and segmenting the 3D image. The resultant feasible space is collision-free and satisfies the spatial constraints and safety regulations. In the following step, a path-finding process, subjected to a cost function, is triggered to arrange the pipe inside the feasible space. Consequently, the cost of the pipe is optimized, and the pipe path rigidly meets the spatial constraints and safety regulations. The proposed method works effectively even if the workspace is narrow and complicated. In three experiments, the proposed method is employed to lay out pipes inside an underwater vehicle, a machinery room, and a two-story house, respectively. Not only do the resultant pipes possess minimal costs, but they also meet the spatial constraints and safety regulations, as predicted. In addition to developing the routing procedure, we also design a visualization subsystem to reveal the progression of the piping process and the variation of the workspace in the run time. Based on the displayed images, users can therefore evaluate the quality of the pipes on the fly and tune the piping parameters if necessary.
管道通常用于在机舱、房屋、工厂、飞机和船舶中输送燃料、空气、水、气体、液压动力及其他类似流体的物质。因此,管道布线在许多工业应用中至关重要,包括船舶建造、机械制造、房屋建筑、机舱布局等。为实现功能,管道系统应在满足空间限制和安全规定的同时保持经济。已发表了许多布线算法来优化管道长度和弯头数量。然而,设计用于严格满足空间限制和安全规定的管道铺设方法相对较少。本文提出一种基于距离场的管道算法来解决这一问题。所提出的方法首先将工作空间转换为三维图像并计算工作空间上的距离场。然后通过剥离距离场并分割三维图像从工作空间中创建一个可行空间。所得的可行空间无碰撞且满足空间限制和安全规定。在接下来的步骤中,触发一个受成本函数约束的路径查找过程,以便在可行空间内布置管道。因此,管道成本得到优化,并且管道路径严格满足空间限制和安全规定。即使工作空间狭窄且复杂,所提出的方法也能有效工作。在三个实验中,分别在所提出的方法用于在水下航行器、机房和两层房屋内铺设管道。所得的管道不仅成本最低,而且正如预期的那样满足空间限制和安全规定。除了开发布线程序外,我们还设计了一个可视化子系统,以揭示管道铺设过程的进展以及运行时工作空间的变化。基于显示的图像,用户因此可以即时评估管道质量,并在必要时调整管道参数。