Preprint
Article

Application of Discrete Exterior Calculus Methods for the Path Planning of Manipulator Performing Thermal Plasma Spray-ing of Coatings

Altmetrics

Downloads

59

Views

52

Comments

0

Submitted:

28 October 2024

Posted:

29 October 2024

You are already at the latest version

Alerts
Abstract
The paper presents a new method of path planning for an industrial robot manipulator performing thermal plasma spraying of coatings. Path planning and automatic generation of the manipulator motion program are performed using preliminary 3D surface scanning data from a laser trian-gulation distance sensor installed on the same robot arm. The new path planning algorithm is based on constructing a function of the geodesic distance from the starting curve. A new method for constructing a geodesic distance function on a surface is proposed based on the application of discrete exterior calculus methods characterized by high computational efficiency. The developed algorithms and their software implementation were experimentally tested through robotic mi-croplasma spraying of a protective coating on the surface of a jaw crusher plate, which was then successfully operated for crushing mineral raw materials.
Keywords: 
Subject: Computer Science and Mathematics  -   Robotics

1. Introduction

Nowadays, robot manipulators are widely used, manipulators are used for loading, packaging, plasma or laser cutting and melting, as well as for various types of surface treatment: spray- painting, plasma spraying coatings, etc. [1,2,3,4,5,6]. The use of a robotic arm to perform coating spraying can increase the productivity and repeatability of the process, protect the human operator from the harmful effects of sprayed elements [1,2,3] and, in the case of thermal plasma spraying, also from noise, bright light, and high temperatures [4,5,6].
Concerning the thermal plasma spraying process, the main task performed by the robot arm is to move the plasma source or substrate to expose the substrate surface to the plasma flow with the coating particles in a stable, consistent, and repeatable manner. This means that during plasma spraying, the robot always maintains the same spraying angle (preferably 90°), the given spraying distance (a distance from the plasma source nozzle to the surface) and fixed distance that the source or substrate is displaced to bring the next section of the surface into the plasma flow [4,5,6].
From the point of view of the requirements for a uniform distribution of the coating mass on the surface, the plasma spraying process is conducted similarly to the paint spraying processes, where the spraying cone moves along the surface. However, there are significant differences between the processes of plasma spraying and paint spraying, as well as in assessing the quality of the final product (e.g., coating), as will be discussed in detail in the second section of this article.
Currently, different approaches are used for autonomous offline path generation for robot-assisted spraying applications [7]. One of the first studies in this field was carried out by Suh et al. [8], who developed a theoretical basis for an automatic trajectory planning system for spray-painting robotic arms. A method was proposed for planning the optimal trajectory of the manipulator based on the model of the painting object, providing the optimal generated trajectory (i.e., minimum processing time) and meeting the requirements of uniformity of coating thickness. Trigatti et al. [9] calculated the time parameters of the trajectory of the spray-painting robot based on the restrictions of the maximum values of speeds and accelerations of the end effector imposed by both the characteristics of the manipulator and the technological parameters of the spraying process.
Chen et al. [3,10,11,12] developed a path planning scheme for a spray-painting robot based on the choice of the starting segment of the trajectory as a geodetic line on the sprayed surface. In particular, paper [12] proposed a new path optimization method to improve the efficiency of spraying objects by developing a mathematical model that included the position and direction of the effector and the speed of paint spraying, modeling the workpiece surface, and applying a simulation method surface based on the Flat Patches Adjacency Graph (FPAG). At the same time, the speed of the sprayer and the width of the overlapped area were calculated to set the trajectory of the robot, as well as the spraying trajectory was planned for each area. The dispersion of the paint thickness of a discrete point and the ideal paint thickness were taken as the objective functions, and the trajectory in each section was optimized. It has been proven that the proposed trajectory optimization of a 3D robot paint sprayer can fully satisfy the requirement of spray thickness uniformity.
Basic ideas of the method proposed by Atkar et al. [13] were to divide the surface into areas with simple topology - patches, but these patches should not have the shape of a ring, figure eight, etc. In addition, these patches must be geodetic convex in a trajectory planned for each patch separately. Thus, the trajectories consisted of segments of equidistant curves, so that, on a plane, they would represent straight segments. These curves were obtained by parallel transfer along the surface of the initial segment of the seed curve. The uniform coating was achieved by choosing the geodetic distances between the trajectory fragments and the time parameters for passing these sections.
Zhou Yu. et al. [14] emphasized that the shape of the workpiece can strongly influence the quality of the sprayed coating. Fu et al. [15] proposed a surface segmentation method based on a genetic algorithm in which a complex surface was divided into several surfaces of small curvatures to simplify the trajectory planning operations for robotic spraying of complex surfaces. Chen et al. [12] used a segmentation method based on dividing the triangular mesh of the 3D solid surface, setting the maximum normal vector threshold, and connecting the triangle surface into a smaller flat area according to the triangle connection algorithm. As a result, each patch is approximately planar, and at least one side of each patch is part of the 3D solid ridge. Zhou B. et al. [16] developed an algorithm for surface slice-projection processing to automatically generate the manipulator working tool trajectory, and the simulation results demonstrated the algorithm's effectiveness. Zeng et al. [17] developed a model of the rate of coating’s growth at the technology of spraying with a different angle of inclination; experiments have shown that the model had good accuracy.
Xia et al. [18] aimed to provide plasma spraying of uniformly thick coatings on surfaces with complex geometry. The use of a programmable robot made it possible to plan the plasma spraying trajectory or change processing parameters, such as the spraying angle and distance, scanning speed and step, etc. As a result, the authors of the paper [18] developed a robotic plasma spraying system with intelligent adaptive adjustment of the trajectory of the robotic arm and control of the manipulator in real-time. Thus, robotic plasma spraying has proven to be a feasible and highly effective solution to ensure high process precision and repeatability of coating applications.
Cooper et al. [19] proposed the so-called "mesh following technique" for generating robot tool paths based on tessellated surfaces with irregular edges and holes. McGovern and Xiao [20] proposed a technique based on tessellated surfaces to create a full coverage trajectory using a mesh projected onto a surface; however, it is limited to the basic shapes, and the parts each should be considered as a single patch.
Recently, several new approaches have been proposed in autonomous tool-path-planning and paint-spraying simulations, in which either the point cloud is included as a geometric representation of the model [1,2], or to obtain the model the geometry is generated using any existing CAD software or involves the use of sensors such as depth cameras, light detection and ranging (Li-DAR), and coordinate-measurement [7]. Thus, Nieto Bastida and Lin [1] developed an algorithm for autonomously generating robot trajectories based on input 3D point cloud data that surrounds an object with a predefined spherical mesh that organizes geometric attributes into a structured data set. The point cloud model is visualized and serves as the basis for automatic path planning (robot code generation), while a 3D sensor is used to localize the position of the workpiece in front of the robot and adjust the trajectory of the manipulator.
Currently, the use of robotic manipulators in industry is usually limited to large-scale production, since each transition to a new type of product requires complex calibration procedures to comply with the model embedded in the robot during its manufacture [1,2,19,20,21,22]. Therefore, the task of automatically generating a program code for a robotic arm from a CAD model is the focus of researchers and developers of robotic systems. The practical implementation of such a task could make it possible to efficiently process the surfaces of small-scale and piece products of complex shapes using a robot- manipulator.
The main idea of this research is to develop an intelligent robotic system for the plasma processing of industrial products, which makes it possible to implement the automated pass planning of a robot arm. A distinctive feature of the proposed intelligent robotic system is a preliminary 3D scanning of the surface of the workpiece with subsequent automatic generation of the robot-manipulator program code, taking into account the data of the 3D scan of the object (Figure 1). Pre-scanning is carried out by distance sensors mounted on the same robotic arm that sprays plasma on the object.
Thus, the trajectory plan must be generated for the thermal spraying process without any initial knowledge of the product shape or orientation. The closest to the main ideas of this study are the different algorithms developed by Nieto Bastida and Lin [1], Atkar et al. [13], and Chen et al. [3,10,11,12] for the operation of an intelligent robot in an environment with uncertainty. In this case, the trajectory is formed by the robot control system based on information about the current state of the external environment, that is, according to the 3D model of the processed surface reconstructed by the robot, which is a point cloud (coordinates of the object surface).
The implementation of such an intelligent robotic system would make it possible to process pieces and large-sized products, the geometric parameters of which are determined with low accuracy or products with deviations from a given shape. At the same time, the methods of robotic 3D scanning and scanning data processing previously developed in papers [23,24,25] are inexpensive compared to machine vision methods, since it uses cheap distance sensors. It must be highlighted that this method is quite accurate due to the use of an industrial robot with precise positioning of the working tool. The idea of using such an intelligent robotic system for thermal plasma spraying of coatings and the sequence of operations shown in Figure 2, as well as brief information on the implementation of new control algorithms for performing robotic plasma spraying of a protective coating on the surface of an industrial product of complex shape were presented at the 11th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Sys-tems: Technology and Applications (IDAACS-2021), Cracow, Poland, 22–25 September 2021 and published in the paper [23].
This study focused on developing an automatic path planning for a robot manipulator performing microplasma spraying of coatings. Two significant aspects distinguish the method proposed in this paper from other path planning methods:
1) Some methods for forming the trajectory of a manipulator for applying coatings involve changing the speed of the working tool (the spray gun). We assume that the robot's working tool moves along the surface on the working area at a constant speed.
2) Some methods for forming a manipulator trajectory are united by a common concept, which is sometimes called the "seed curve offsetting method" [7]. This method involves two primary steps: first, identifying the optimal starting curve (also known as the seed curve), and second, generating subsequent strokes by offsetting them across the entire surface of the workpiece [7]. The significant difference of our proposed method consists of using the geodesic distance field calculation procedure. We propose a method in which the value of the function ϕ γ is calculated at each mesh node, and then individual segments of the trajectory trace are constructed as isolines of the scalar field on the meshes. We do not resort to the procedure of "shifting" the starting curve, which, in our opinion, provides certain advantages.
There are several known methods for constructing the geodesic distance function from the starting curve, but their applications are still difficult [7]. In this paper, we propose an original new method based on the use of discrete exterior calculus, which is more computationally efficient.

2. Experiments

2.1. Features of Thermal Plasma Spraying and Requirements for the Trajectory of the Plasma Source to Ensure Uniform Coating Thickness

Thermal plasma spraying (TPS) of coatings is widely used in mechanical engineering and the automotive industry, in the aerospace industry [26], and, more recently, in medicine [4,5,6,27]. TPS makes it possible to form coatings with controlled thickness for various purposes from a wide range of materials (metals, alloys, ceramics) by carefully selecting and maintaining appropriate spraying parameters. The coating thickness can range from 50 µm to 1000 µm, depending on the spraying parameters and the number of passes of the plasma jet with the coating material along the surface of the workpiece (that is, the substrate). Atmospheric TPS is a method of applying coatings to the surface of parts using plasma obtained in a gas environment. This method involves introducing small particles of materials such as metals, ceramics or polymers into a plasma jet generated by ionizing a gas, usually argon, through an electric arc. The main feature of thermal plasma spraying is the high temperature in the plasma jet (>20000 oK). Powders of refractory metals and alloys or ceramics melt in a plasma jet, deform when hitting the surface and solidify, forming a coating that can improve various surface characteristics such as hardness, wear resistance, corrosion resistance, and biocompatibility. TPS coating always has a lamellar structure and contains a certain number of internal pores. The number and size of these pores also depend on the spraying parameters and can thus be controlled [5,6]. The key requirements for TPS ensure the production of a uniform thickness coating with good adhesion to the substrate, these are the perpendicular incidence of the plasma jet on the surface of the substrate, accurate adherence to the specified distance between the plasmatron nozzle and the surface of the substrate, and uniform movement of the plasma source or substrate along a trajectory that ensures overlap spraying paths by a given amount. The spraying distance significantly affects the microstructure and adhesion of the coating. If the distance from the plasma nozzle to the surface being treated is too large, the molten particles may cool down before reaching the substrate and may not adhere well to it.
Also, a controlled spraying parameter is the speed of movement of the plasma source along the surface of the sprayed product since the thickness of the coating depends on this. The greater the thickness of the coating becomes by lowering the selected moving speed, while other spraying parameters remain unchanged, such as electric current strength, plasma gas flow rate, etc. The plasma source is usually moved using a robotic manipulator. From the point of view of ensuring the safety of the TPS process, the advantages of using a robot are obvious since the process applies high temperatures and is accompanied by noise, bright light, air pollution with particles of the sprayed material and substrate, as well as the need to move a heavy plasma source (a plasmatron). The same considerations concern to plasma welding and cutting processes [22].
Currently, one of the promising TPS methods is microplasma spraying (MPS). MPS allows to apply coatings from both powder and wire materials to substrates made from a variety of materials. Due to the small diameter of the spray spot, ranging from 3 mm to 5 mm, the loss of sprayed material at MPS is significantly less than at conventional TPS. Due to the low power of the microplasmatron (up to 2 kV), the thermal effect of the MPS process on the substrate is minimal, which makes it possible to obtain coatings on thin-walled and small-sized parts without their deformation and overheating and special cooling of the substrate. In addition, the mass of the microplasmatron is significantly (up to 10 times) less than that of a conventional plasmatron, and the noise level of the MPS process is also considerably lower.
By selecting the MPS parameters, it is possible to obtain a coating with the desired thickness, with satisfactory adhesion to the substrate, and even to a certain extent, control the porosity of the coating and its surface roughness [5,6]. Here, we should indicate such MPS parameters that are not controlled through a robotic manipulator but are set by the coating developers and are maintained constant through the settings of the MPS installation. These parameters are the followings: electric current (I in amperes [A]), plasma gas flow rate (Q, standard liter per minute [slpm]), spraying distance (H, millimeters [mm]), and powder feed rate (Vpow, grams per minute [g min-1]), and wire feed rate (Vw, meters per minute [m min-1]). It is important to mention that such a parameter as the speed of movement of the plasma jet along the surface of the substrate V (mms-1) is provided by the control of the manipulator, in contrast to the material feed rate into the plasma jet (Vw or Vpw), provided by the settings of the MPS installation. The main TPS parameters, the maintenance of which is the goal of robotization of the TPS process, are the spraying distance H (mm), the speed of movement of the plasmatron along the surface of the substrate V (mms-1), and the spraying angle. The uniformity of the coating thickness is ensured by planning the trajectory of the plasma source. Regarding requirements for uniform distribution of coating on the surface, the TPS process has similar features to the paint spraying process, in which the spraying cone moves over the surface of the part. As proven by Chen et al. [10,11], the distribution profile of paint on the substrate surface can be described by a complex shape curve, namely the envelope curve of Gaussian profiles formed at a fixed distance from each other. Trigatti et al. [9] examined the surface profile of spray paint, carried out 3D modeling of the coating profile obtained by a moving source and concluded that the material's distribution in a moving spray cone is also close to Gaussian. Thus, to ensure uniform coating thickness, the spraying trajectory should be selected to ensure a fixed distance between the vertices of the spraying cones, which correspond to the maxima of the Gaussian distribution. In this case, the spraying path formed by moving the base of the spraying cone along the surface partially overlaps. Thus, when spraying a uniform coating, the optimal trajectory of the spraying cone is a U-shaped curve, and the return passage of the spraying source should be offset by a fixed distance - the spray step.
Let us explain the analogy with the paint spraying cone using the example of MPS coatings and also clarify the selection of the spraying step. As was experimentally proven in articles [28,29], when using a stationary plasmatron that sprays a coating onto a stationary substrate (see Figure 2), the distribution of the material in the so-called metallization figure (see Figure 3) obeys the Gaussian distribution.
Metallization figures were produced by microplasma spraying of TiO2 powder [28] or Zr wire [29] (Figure 3) onto steel substrates, with the microplasmatron held in a fixed position for 10 seconds. The dimensions of the metallization figures were evaluated by measuring the lengths of the vertical (major) axis (L) and the horizontal (minor) axis (l) of the spray spot, along with the maximum height (h) of the deposited material (Figure 2).
Metallization figures were captured usingan Olympus 460 digital camera (Olympus, Tokyo, Japan) from angles perpendicular to their axes. The images were then processed to determine the coordinates of the metallization figure profile. Using these coordinates, the profiles of the metallization figures were obtained with the use of the Mathcad (PTC, Montreal, QC, Canada) software, and functions describing the profiles were determined for the large and small axes of the spray spot. This allowed for the calculation of the areas of the metallization figures. Analysis of these profiles revealed that the shape of the figures during MPS can be accurately described by a Gaussian function or normal distribution, as shown in Eq. (1) [30]:
y = y 0 e k x 2 ,
where y0 represents the maximum height of the metallization figure; kis a numerical coefficient, and x is the width of the metallization figure.
The correlation coefficients for the calculated and actual curves ranged from 0.9849 to 0.9992, with the value of k in equation (1) varying between 0.12 and 0.97 [28,29].
The width of the spray path (i.e., the diameter of the base of the spraying cone) depends on the spraying distance. When spraying with a moving plasma source, the coating is formed as a result of the superposition of single rollers of metallization figures in the process of linear movement of the spraying spot at a speed V relative to the sprayed surface (see Figure 4). We believe that the distribution of the material in metallization figures is still described by a Gaussian distribution, as was shown in paper [9], while the height of the metallization figure determines the maximum thickness of the coating. In contrast, a coating with a minimum thickness is formed in the overlap area of the bases of the metallization figures (Figure 4).
As shown in Figure 4, a uniform coating, that is one for which the minimum difference between its largest (δmax) and smallest (δmin) thicknesses is ensured, is formed by observing a certain spraying step τ. In the case of TPS, the best uniformity of coating thickness distribution is achieved under condition (2) [31]:
τ 0.35   L ,
where L is the width of the spraying path, i.e., the diameter of the metallization figure cone base (see Figure 2).
Thus, during TPS of the coating, the plasmatron must move along a U-shaped path, while the return passage of the plasma jet must be offset by a fixed distance equal to the spraying step τ, approximately equal to one-third of the spraying path width. To set the spraying step τ, it is necessary experimentally measure the width of the coating spraying path on the substrate at the given TPS parameters and then calculate the step τ.
During the TPS of a coating, it is necessary to maintain a specified spraying distance. Thus, the robot must move the plasmatron at a given distance from the surface along a trajectory that follows the shape of the surface of the part, then turn around, shift horizontally by the spraying step and move in the opposite direction, again along the surface with precise adherence to the spraying distance.

2.2. Research Equipment and Materials

The implementation of the automatic path planning based on the 3D model of the scanned object and the motion planning was carried out for the Kawasaki RS010L (Kawasaki Robotics, Akashi, Japan) robot manipulator controlled by the E40F-A001 programmable controller with the use of AS (Advanced Superior) software [32]. The characteristics of the robotic manipulator Kawasaki RS-010LA are as follows: positioning accuracy: 0.06 mm; maximum linear speed: 13100 mm/s; engagement zone: 1925 mm; working load capacity: 10 kg. The motion of the robot-manipulator is completely determined by the program in the AS (Advanced Superior) language, executed by the robot's control system. The high-level robot-control language AS can be viewed as an end-effector motion description language. The AS program describes the motion of the center of the working tool as motion through the number of path positions and also describes spatial orientation of the end effectors. High level control software solves reverse kinematic task for given end-effector motion description, as well as other trajectory planning tasks. All low-level control tasks (such as a force and position control) are performed by the manipulator controller.
The preliminary scanning of substrates was carried out by an ODSL 8/D4-400-S12 (Leuze electronic, Owen, Germany) laser triangulation distance sensor installed on the manipulator. In general, the choice of a triangulation laser sensor for this study was due to the above-mentioned considerations, such as the ability to carry out non-contact measurements without using a video camera with sufficiently high accuracy both in a static position and in dynamic mode, as well as the low cost of the sensor compared to machine vision systems. According to the supplier [33], the ODSL 8/D4-400-S12 sensor features a measurement range of 20 to 400 mm with a resolution of notno worse than 0.1 mm. Its radiation source operates within the 560–580 nm wavelength range (visible red light), and the light spot size is notno more than 1⨉6 mm at a distance of 400 mm. The absolute measurement error does not exceed 1% for distances up to 200 mm, not worse than and 2% for distances up to 400 mm. The repeatability (as a percentage of the measured value) notis no worse than 0.25% at distances up to 200 mm, not worse than and 1% at distances up to 400 mm; the nonlinearity. Nonlinearity is notno more than 0.5%. The sensor offers a maximum measurement frequency of at least 200 Hz, with a measurement time is notof no more than 5 ms, and a response time not exceeding 20 ms. It supports digital interfaces such as RS485 or RS 232; theRS232, operates with a supply voltage is in the range of 18–30 V; the, and consumes a maximum current consumption is not more than of 100 mA.
Schematically, the connection between the components of a three-dimensional scanning system using a non-contact distance sensor installed on a robotic manipulator is shown in Figure 5.
After completing the 3D scanning procedure, the MPS-004 microplasmatron (E.O. Paton Institute of Electric Welding, Kyiv, Ukraine) weighing 1.2 kg has been mounted on the industrial robotic arm and moved to perform microplasma spraying of metal powders onto metal substrates. The speed of linear movement of the microplasmatron along the substrate (V) was chosen to be 40 mms-1. This speed was chosen experimentally to ensure plasma spraying of the coating with a uniform thickness. Experiments have shown that this speed of linear traveling of the microplasmatron does not lead to disturbances in the plasma jet flow due to air resistance and, therefore, ensures the stability of the spraying process with different parameters.
Austenitic high-manganese Hadfield steel (grade 110G13L) was used as the substrate material. The elemental composition of steel 110G13L is given in Table 1. The steel was manufactured by the VostokMashZavod JSC (Ust-Kamenogorsk, Kazakhstan). The chemical composition of the steel specimens was provided by the manufacturer and tested by energy dispersive X-ray analysis (EDX) using a JSM-6390LV scanning electron microscope (JEOL, Tokyo, Japan) with an energy dispersive analysis attachment (Inca Energy, Oxford Instruments, Abingdon, UK).
The powder of Cr-based composite alloy AN-35 (GOST 21448-75) was used for MPS. Coatings were applied to the surface of laboratory steel specimens with dimensions of 20x30x10 mm3, and to the surface of the crushing plate by robotic MPS of AN-35 composite alloy powder, used for surfacing and spraying wear-resistant coatings on parts, machines and equipment operating under conditions of abrasive wear, corrosion, erosion, elevated temperatures, and aggressive environments. The elemental composition of AN-35 powder is given in Table 2.
The movable plate of a jaw crusher is a large-sized part weighing 295 kg made of Hadfield steel with dimensions: 900x820x100mm3. The plate has a ribbed surface with a distance of 100 ± 11mm between the centers of the ribbed projections, and the height of the projections is 30 ± 1 mm.
MPS of coatings on steel substrates was carried out with the parameters indicated in Table 3. Before MPS, the surface of laboratory specimens and the crushing plate was sandblasted.
With the selected MPS parameters (Table 3), the width of the spraying path was 5.5 mm, and the spraying step τ, in accordance with formula (2), was chosen to be 1.8 mm. The coating thickness varied from 200 µm to 400 µm due to changes in the number of passes of the plasma jet.
The choice of MPS parameters listed in Table 3 was determined by the requirements for porosity, hardness, adhesion, and wear resistance of the coating; accordingly, studies of the microstructure and tests of the mechanical properties of coatings were carried out on laboratory specimens; however, a description of all the details of this materials science study is not relevant here and therefore not given. It is significant that as a result of this materials science study, such MPS parameters were selected as the microplasmatron linear movement speed V, spraying distance H, and spraying step τ, which should be kept constant during the MPS process.

3. Results and Discussion

3.1. 3D Scanning and Surface Reconstruction Procedures

During the scanning procedure, the trajectory of the manipulator working tool (the distance sensor) lies in the horizontal plane above the scanned surface. The trajectory consists of connected U-shaped segments (Figure 6)
Work segments of the trajectory are parallel straight-line segments that cover the scanned area. When passing the working segments of the trajectory, the distance sensor data is read. The robot manipulator controller allows to read the current spatial position of the working tool on request, and the laser triangulation distance sensor also allows to perform measurements on request.
In the process of scanning, a couple of requests are sequentially executed from the computer: i) a request to perform measurements to the distance sensor and ii) a request to transfer the coordinates of the working tool to the controller of the robotic arm. The time interval between these two requests is so small that it is assumed that the distance was measured exactly at the location of the sensor, determined by coordinates received as a reply to the second request.
The result of the scanning procedure is a point cloud. The scanning results data is highly noisy, so converting a point cloud into a triangular mesh is a rather complex procedure, described in detail in previous papers [23,24,25].

3.2. Manipulator Path Planning

The input to the path planning procedure is a model of the processed surface in the form of a triangular mesh obtained at the scanning stage and the output is a program in AS language.
When the working tool of a robotic manipulator moves along the surface being processed, the intersection point of the working tool axis with the surface will move along a curve on the surface, which we will call the trace of the working tool on the surface. Of course, for a given surface, the manipulator path, i.e., a given curve in space along which the center of the working tool moves with the spatial orientation of the working tool specified at each point of this path (the direction of the axis of the working tool) uniquely determines the trace of the path on the surface. We assume that the orientation of the working tool is directed normal to the surface at the point of intersection of the axis of the working tool and the surface, and that there is a certain rule for calculating the distance on the axis of the working tool from the point of intersection of the axis with the surface to the center of the working tool (in the simplest case, this distance is given fixed distance from the nozzle to the surface being processed), then the trace of the working tool uniquely determines the trajectory of the working tool. Thus, the problem of path planning is reduced to the problem of determining a set of curves (in the general case) on the surface corresponding to the trace of the working tool on the surface being processed.
Thus, the path planning procedure for the manipulator can be divided into three stages:
1) constructing a trace of the manipulator path on the surface;
2) constructing a set of points lying on the path of the manipulator's working tool (thus, the trajectory of the working tool is specified by a broken line);
3) transformation of the geometrically specified path of the manipulator's working tool into the manipulator program in AS language.
The main research is focused on the first stage since the second and third stages are quite simple. The description of some subtle issues related to the representation of the trajectory of a working tool in the form of a sequence of geometric primitives (circular arcs and straight segments) was discussed earlier in the paper [23].
The proposed method for constructing the manipulator's trajectory trace involves a three-step sequence:
1) defining a starting curve ( γ ) on the surface;
2) calculating a distance-to-line function ϕ γ defined on the surface. For any point (p) on the surface ϕ γ ( p ) represents the geodesic distance from p to γ ;
3) constructing isolines ϕ γ = k d , on the surface for a given parameter d, where k is an integer index. These isolines form a set of curves ( T k ) on the surface. Each curve ( T k ) is considered a trace of the manipulator's working tool trajectory on the surface.
Further, we will focus on the task of constructing the geodesic distance field, defined by the distance function ϕ γ . This particular task belongs to a broad class of problems involving the computation of geodesic paths and distances on a polyhedral surface. It is a well-developed area of applied mathematics that continues to attract researchers' attention (particularly due to its practical significance). The problems of computing geodesic distances are divided into two classes: computing geodesic distances from a single point (Single Source Geodesic Distance SSGD) or from multiple points, which can be geometric objects such as curves or flat figures on the surface (Multiple Source Geodesic Distance MSGD). Many methods for computing geodesic distances reduce the problem to solving partial differential equations on a smooth manifold. When working with surfaces represented by meshes, the equation is discretized and the finite element method (FEM) or mesh method is used to solve it. These methods are applied to both SSGD and MSGD problems, and often the same method can be applied to both classes of problems by differently setting the boundary conditions for one differential equation. Methods that reduce the problem to solving differential equations (PDE-based methods) are divided into two groups: Wavefront-based methods and Diffusion-based methods [34].
The most straightforward approach to computing the geodesic distance function is solving the eikonal equation (3) for given boundary conditions:
| ϕ | = 1 .
Most methods in the first group implement this approach. The eikonal equation (3) can serve as a formal definition of the geodesic distance function and has a clear physical meaning (if we consider the special case of the eikonal equation (3) as an equation specifically for the distance function). However, it is a nonlinear hyperbolic equation, which is extremely difficult to solve directly in most cases.
Methods in the second group operate on parabolic-type equations, offering significant computational advantages and enabling the creation of efficient software implementations. The problem with these methods is that they calculate, at best, only an approximation of the geodesic distance function. A breakthrough in the field of geodesic distance function computation methods based on numerical solutions of differential equations was the emergence of the heat flow method [35]. With sufficiently high computational efficiency, this method allows (subject to certain requirements for the quality of mesh triangulation) the calculation of the distance function with reasonable accuracy.
When attempting to apply geodesic distance function computation methods based on solving differential equations to our task, a specific problem arises. This lies in defining the boundary conditions on the boundary of the domain. In general, at least for methods like heat flow [35], this problem is solvable but requires the use of certain artificial techniques. In this paper, we propose a new method for calculating the geodesic distance function on a surface, specifically designed to compute the distance from a curve defined in the plane, free from such problems. The method is based on the energy minimization procedure of a vector field proposed in the paper [36]. The application of discrete exterior calculus, suggested by the authors of the paper [36], for the computational implementation of their method, offers, in our opinion, a significant advantage of our proposed method over traditional PDE-based distance function computation methods in terms of implementation efficiency. Before proceeding to the algorithm description, we will discuss the main mathematical ideas and constructions underlying the proposed method.
Most methods for finding the geodesic distance function involve solving partial differential equations on smooth manifolds. We propose a method for calculating the geodesic distance function based on computing a vector field on the surface whose integral lines coincide with the isolines of the function ϕ γ . This interpretation of the problem has a clear motivation. We can interpret the geometric procedure of constructing the isoline ϕ γ = l as a physical process. Let us imagine we have two small pucks A and B, connected by an inextensible string of length l. We move puck A along the starting curve γ, while moving puck B across the surface such that two conditions are met: firstly, the string must always be taught and lie on the surface. If we associate the pucks with two points A and B on the surface, we can say that the string lies on the segment of the geodesic line AB and the geodesic distance between points A and B is maintained during the motion. Secondly, the direction of the geodesic line AB at point A is orthogonal to the tangent of γ at point A. The trajectory of point B on the surface will be a curve, which we will denote as pl. In general, the curve pl may have self-intersections and even intersect with the curve γ may have self-intersections and even intersect with the curve pl may not be smooth everywhere. However, we can assume that for a segment of the curve γ a parameter value lmax > 0 is defined, such that if l ∈ [0, lmax], then pl will represent a smooth curve without self-intersections, on which a smooth one-dimensional tangent vector field is defined. By varying the value of the parameter l, we obtain a smooth tangent vector field U, defined in a region of the surface adjacent to the starting curve γ.
Figure 7 schematically illustrates the kinematic procedure for constructing the isolines of the vector field function ϕ γ and the corresponding tangent vector field U.
For the simplest case – when the starting curve γ is given in the plane, we can easily obtain an analytical expression for the corresponding field U . Let us assume that puck A moves along the curve γ with a constant unit speed, i.e. v A = γ ˙ . The system of two pucks connected by a string can be considered as a rigid body. If we denote Ω as the angular velocity vector of this rigid body and denote r A B = r B r A , where r B and r A are the radius vectors of points A and B, respectively, then for any time moment (t) the equation (4) holds:
v B t v A t = Ω t × r A B
Since t v A t = 1 , we obtain equation (5):
Ω t = . d 2 d s 2 γ s t ,
It is well known that the magnitude and direction of the vector d 2 d s 2 γ have a simple geometric interpretation, namely (6):
d 2 d s 2 γ s = k s = 1 R s ,
where k s is the curvature of γ at the point γ s , and R(s) is the radius of the circle tangent to the curve γ at the point γ s . The vector d 2 d s 2 γ s is orthogonal to the tangent vector γ ˙ s . It can be said that the vector d 2 d s 2 γ s points towards the center of the tangent circle O . The point O will also be the instantaneous center of rotation of our "rigid body" and will lie on the same line with the points A and B . The point O will also be the instantaneous center of rotation of our "rigid body". Let us define a scalar function χ s on the curve γ such that χ s = k s , and the sign of χ s is determined by the relative position of the center of the tangent circle O and the point B   a s   ( 7 ) ^
s i g n χ s   = 1   ,   i f   d 2 d s 2 γ s , r A B 0 1                                               o t h e r w i s e ,
With this definition of "signed curvature" χ s from (7) follows the equation (8) for v B :
v B t = 1 + l χ s t γ ˙ s t .
The corresponding vector field U for the coordinates s , l will be analytically given by formula (9):
U s , l = 1 + l χ s γ ˙ s .

3.2.1. Isometric Flows of Tangent Vector Fields

In fact, the kinematic procedure described above for constructing the tangent field U on the surface defines a function U γ , v s . The concept of a flow of a vector field will play a key role in the analysis of the vector fields U γ , v s . Formally, the flow of a tangent vector field on a smooth manifold is defined as a one-parameter group of mappings of the manifold onto itself.
Definition 1. Let U is a tangent vector field defined on a smooth manifold M. The vector field defines a parameterized set of mapping ψ t : M M . For a given value of the parameter t , the action of the mapping ψ t on a point p M is defined as ψ t p = γ p t , where γ p t is the solution of the differential equation (10) with the initial condition γ p 0 = p :
d d t γ p = U γ p t .
In courses on the theory of ODEs (ordinary differential equations) it is proven that, under certain conditions imposed on the smoothness of the field U (which we will assume to be fulfilled), the solution to equation (10) exists and is unique. The curves γ are called integral curves of the vector field U . Just as linear transformations of the plane, the mappings ψ t p form a group with respect to the composition operation. In particular, it is easy to show that ψ t ψ s p = ψ t + s p and ψ 0 p = p . The one-parameter group of mappings ψ t : M M is called the flow of the tangent vector field U on the manifold M .
This definition will be required later for constructing analytical procedures. Still, to show the main ideas on which the proposed method is based, it is more convenient to use physical interpretations of the concept of the flow of a vector field. First, if we use the hydrodynamic interpretation of the concept of a flow of a vector field, we will immediately see the following fact. The flow of the vector field U γ , v s has a property invariant to the choice of the starting curve γ and the distribution v s if we place an elastic filament in the flow so that at any point, the line of the filament is orthogonal to the streamlines of the field, the length of the filament will not change with time as it moves in the flow. Moreover, in some cases, the flow of the tangent vector field U γ , v s can be isometric. Let us imagine that we place a small piece of a thin film made of elastic material on a surface where a tangent vector field U at the point p of the surface over which point q is located at that moment in time. In general, the piece of film will move in such a flow, rotating and deforming as it moves. But if the vector field U on the surface is such that no matter where on the surface the piece of film begins its movement, it will then move along the surface without deformation, the flow of such a field will be isometric. Let us give a simple example. Let the surface be a segment of a sphere of radius R , centered at point O . As the starting curve γ we choose the arc of the circle formed by the intersection of the surface α , passing through the point O with the sphere. Let us call p the line passing through the center of the sphere O and perpendicular to the surface α . If we construct the level line of the function of the geodesic distance ϕ γ , moving the puck A along the arc γ at a unit speed, then this is equivalent to the fact that we would rotate the sphere around the axis p with an angular velocity ω = 1 R , while keeping the pucks A and B so that they remain motionless, and the filament stretched. It is clear that the corresponding vector field U on the segment of the sphere coincides with the field of velocities of the points of the sphere arising when the sphere rotates around the axis p with an angular velocity ω = 1 R . Obviously, the flow of such a vector field will be isometric. Tangent vector fields whose flows are isometric are called Killing vector fields. The given example is a classic example of a Killing vector field on the surface of a sphere.
The converse statement can be readily proven. Let V be a Killing vector field on a smooth two-dimensional surface. Denote γ as an arbitrary integral line of this field. Then any integral line of the field V will be an isoline of the geodesic distance function ϕ γ . For a special case, characterized by the fulfillment of two conditions formulated below, this statement allows us to analytically formulate the problem for a tangential vector field such that if U is its solution, then the integral lines of the field U will be isolines of the geodesic distance function ϕ γ .
1)
On the surface we are working with, Killing vector fields exist. It should be noted that Killing vector fields do not exist on all surfaces.
2)
As the initial curve γ we choose an integral line of some Killing field on the surface.
Subsequently, we will extend this analytical problem to the general case of a smooth two-dimensional surface by introducing the concept of an approximate Killing vector field. For this, we will need some definitions from the field of Riemannian geometry.

3.2.2. Two-Dimensional Surfaces Embedded in Three-Dimensional Space as Riemannian Manifolds. Analytical Definition of Killing Fields

Henceforth, we will consider a smooth two-dimensional surface embedded in three-dimensional Euclidean space R 3 as a smooth Riemannian manifold M , g with the metric induced by the Euclidean metric in R 3 . This last statement implies the following definition of the metric on the manifold M . Let p M be an arbitrary point on the surface, φ , U be a chart of the manifold M , such that p U and we choose some local coordinate system   x 1 ,   x 2 in the region φ U .
If we choose a Cartesian coordinate system in the three-dimensional space into which our surface is embedded, with origin at an arbitrary point O , then we define a local parameterization of the surface in the neighborhood of the point p of the form r x 1 , x 2 , where r x 1 , x 2 R 3 is the radius vector of the point φ 1 x 1 , x 2 in this coordinate system. In this case, the vectors u , v R 3 , defined by the equalities u = r x 1 p and v = r x 2 p are invariant under shifts of the point O and form a basis in the surface tangent to the surface at the point p . The Gram matrix of the basis v , u will be the matrix of the metric tensor g p at the point p in the local coordinates x 1 ,   x 2 (11):
g p = u , u u , v v , u v , v .
Note: If we denote as E , F , G the values at the point p of the coefficients of the first fundamental form on this surface, calculated in local coordinates x 1 ,   x 2 , then the equalities E = u , u , F = u , v ,   G = v , v will hold, and we can say that the induced metric g is given by the first fundamental form on the surface. At any point p M the metric g defines a scalar product v , u = g p v , u   v , u T p M   in the tangent space T p M . When a metric is given on a smooth manifold, the concept of an isometric flow of a vector field and, along with it the concept of a Killing vector field can be defined as follows:
Definition 2. A tangent vector field U on a smooth Riemannian manifold M will be a Killing vector field if and only if for any point p M and any two tangent vectors X , Y T p M the relation (12) holds:
g p X , Y = g ψ p d ψ p X , d ψ p Y ,
where ψ = ψ t is the flow of the vector field U for t ε , ε for some small ε > 0 , and d is the differential of the mapping.
From Definition 2 it is easy to obtain equation (13), which is often considered as the definition of a Killing vector field U on a smooth Riemannian manifold:
L U g = 0 ,
where L is the Lie derivative.

3.2.3. The Laplace-de Rham Operator. The Relation Between Killing and Harmonic Fields on 2-Dimensional Surfaces

Using the intuitive physical interpretation of the concept of an isometric flow of a tangent vector field, it is easy to formulate two necessary conditions that a Killing vector field V on a 2-dimensional surface embedded in three-dimensional space must satisfy:
1)
the geodesic curvature of any integral line of the field V must be constant;
2)
on any curve ξ , which is an integral line of V the condition p ξ V p = c o n s t must hold.
Therefore, the vector field U γ , v s , constructed using the above-described kinematic procedure, can only be a Killing vector field if it satisfies condition (14) and the geodesic curvature of γ is constant:
p γ     U p = γ ˙ .
Let us now try to reverse our perspective on condition (14). We will consider it as a condition imposed on the vector field in an analytically formulated problem. Note that condition (14) uniquely defines a Killing vector field on the surface (if there exists a Killing vector field on the surface such that γ is its integral line). This fact is intuitively obvious if we use the physical interpretation of the concept of an isometric flow of a vector field. If we consider the surface as a smooth Riemannian manifold, then a stronger statement holds: A Killing field is determined uniquely by a vector at some point and its gradient (i.e. all covariant derivatives of the field at the point). A number of important insights for constructing an analytical procedure for constructing vector fields associated with the geodesic distance function are provided by considering vector fields U γ , v s on the surface. Earlier we saw that on the surface, the field U is given by the distribution of curvature χ s along the initial curve γ . Consider the simple but important case where the curvature of γ is constant. On the surface there are two types of curves with constant curvature – straight lines and arcs of circles. Two types of initial curves – straight lines and arcs of circles correspond to two types of vector fields on the surface. Straight lines correspond to constant vector fields C k , analytically defined by formula (15):
p R 2     C k p = k ,
where k is the unit vector (the direction vector of the straight line γ ). If γ is an arc of a circle with center at point O , then the field U will coincide with the velocity field of points of the rotating disk R ω . Let's choose the center of the Cartesian coordinate system at point O and imagine that the axis of the disk rotating with angular velocity ω = χ = k , where k is the constant curvature of the arc of the circle γ is projected onto this point. In such a coordinate system, the components R x , R y of the field R ω = R x i + R y j , are given by formulas (16):
R x x , y = ω y     R y x , y = ω x .
It is evident, that if the flow of the field U on the surface is isometric, then the field must be divergence-free, i.e. p R 2     U p = 0 . As for the curl of the field, as it is easy to check × R ω = 2 ω , and for vector fields U on the surface whose flows are isometric, we can formulate the requirement of the constant curl of the field p R 2   p × U p = Ω c , where Ω c is a constant vector perpendicular to the plane under consideration. It follows that any Killing vector field on the plane will belong to the kernel of the Hodge operator (sometimes also called the Laplace de Rham operator), defined on R 2 by equation (17):
. = + × ×
As can be easily seen, if X is a harmonic field on the surface, i.e., conditions (18) hold for X then X belongs to the kernel of the Laplace-de Rham operator, i.e., equality (18) follows from the fulfillment of conditions (19):
X = 0     × X = 0
X = 0 .
Let us note that the fields C k are both harmonic and Killing. The fields R ω , obviously, are not harmonic, but as will be shown below, they are closely related to harmonic fields. Let us remind that an arbitrary harmonic vector field is uniquely defined by its restriction on the arbitrary segment of its flow line. Let ξ be an integral curve of a harmonic vector field V on the surface, and let s be the natural parameter of the curve ξ , so p ξ V p = v s ξ ˙ . If the function v s is given on an arbitrary interval s 1 , s 2 , then this function can be used to reconstruct the vector field V over the entire plane. In other words, the harmonic vector field is fully determined by its restriction to a segment of the streamline. Accordingly, if the starting curve γ is a segment of the integral line of some harmonic vector field X , then the vector field X is uniquely determined by condition (14). Let the condition p γ X p = γ ˙ p be given on the arc γ of a circle of radius R centered at the point O for the harmonic vector field X . In a Cartesian coordinate system, centered at the point O , the components X x x , y and X y x , y of the harmonic vector field X = X x i + X y j are determined by equations (20):
X x x , y = y x 2 + y 2 X y x , y = x x 2 + y 2 .
The integral lines of this field will be arcs of circles centered at the point O . Thus, if U is a Killing vector field, and X is a harmonic vector field on the surface, given by the condition p γ   U p = X p = γ ˙ p , where γ is a curve of constant curvature, then the integral lines of the fields X and U coincide. Let's transfer these results to the general case of curved two-dimensional surfaces. The Laplace-de Rham operator on Riemannian manifolds is defined by formula (21) [37]:
= S + r ,
where S is the Ricchi operator, and r is the rough Laplacian (or connection Laplacian), defined by the formula. On a Riemannian manifold M , g the Ricci operator S is defined as (22), where R i c is the Ricci tensor. The space of smooth tangent vector fields on M we will denote as T M .
R i c X , Y = g S X , Y   X T M
It is known that if U is a Killing vector field on a Riemannian smooth manifold M , g and U is a harmonic vector field on M , g , then U = 0 [38].
Let us pose the following Problem 1: find a tangent vector field X on a two-dimensional Riemannian manifold M , g such that X = 0 and p γ X p = γ ˙ p , where γ is a smooth curve on M .
As follows from the above, either this problem will have no solution, or the set of solutions X ¯ γ will consist of vector fields of the form (23):
X α = α U γ + 1 α Y γ X α X ¯ γ ,
where U γ T M is a Killing vector field defined by the condition p γ U γ p = γ ˙ p , Y γ T M is a harmonic vector field defined by the condition p γ Y γ p = γ ˙ p , and α R is a parameter. The integral lines of the fields U γ and Y γ coincide and represent the level curves of the geodesic distance function ϕ γ . Due to this, for any value of the parameter α the integral lines of the vector field X α will also be level lines of the function ϕ γ , and we can consider the set X ¯ γ as a set of vector fields whose integral lines are level lines of the function ϕ γ . Let us consider now the case of an arbitrary starting curve γ on the surface, without assuming that the curvature of γ is constant. We will assume that γ is parameterized by the natural parameter s . Assume that on some interval I = s 1 , s 2 the condition (24) holds:
s I     χ s = c + χ s ,
where c R is a given constant, and s I   χ s < ε   , where ε > 0 is a small parameter. Then, in the surface region s 1 , s 2 × 0 , l m a x the field U γ will be approximately Killing. Analytically, this means that for any s I   the magnitude of U s is small. It should be noted that the known problem is approximating a curve with two ends on the plane of a piecewise smooth curve consisting of a finite number of smooth segments, each of which is either a straight-line segment or a circular arc. This issue is often formulated as the problem of the decomposition of a planar curve into arcs and line segments. Problems of such decomposition, in a certain sense, optimal decomposition, arise in digital image processing, approximation of curves by splines of certain types, and in robotics and several methods of such decomposition are currently known [39,40,41]. If the seed curve on the plane allows approximation by a piecewise smooth curve, which is a sequence of straight-line segments and circular arc segments, then the vector field U corresponding to this starting curve will be "approximate Killing vector field" in the above sense. Assuming that we can draw an analogy between the above-considered case of a curve on a plane and the general case of a two-dimensional surface embedded in a three-dimensional Euclidean space, we consider the segmentation of a two-dimensional surface, in which the surface is divided into "geometrically homogeneous regions", that within each such region of homogeneity, the values of Gaussian and average curvature of the surface are approximately constant. Segmentation of this kind has been described previously in articles [39,40,41]. If a geodesic line is chosen as the starting curve on the surface, then within each region of homogeneity, the vector field U determined by the starting curve will be the approximate Killing vector field, in the sense of the relative smallness of the value |◻U|. As the results of numerical experiments with both scanning data and synthetic data show, in the vast majority of cases when applying the segmentation method described above, most of the surface area is covered by such regions of homogeneity. However, the theoretical question is: what conditions are imposed on the surface the vector fields that correspond to the starting geodesic curve can be considered "approximate Killing vector fields" remains open, and the above reasoning is based on empirically obtained data in favor of the validity of the hypothesis that such vector fields are approximately Killing vector fields.

3.2.4. The Energy Functional of the Vector Field

As it is known, such constructions of classical differential analysis of vector fields as the gradient of a scalar function, divergence, and curl of a vector field, have their analogues and generalizations in the calculus of smooth differential forms on smooth manifolds, sometimes called exterior calculus. In many cases, operating with dual forms of the first order (covector fields) to vector fields is much easier than directly with vector fields. In our case, the application of the language of k-forms will have, as will be seen from the following, great advantages. Below, we present basic information about the relationship between vector fields and covector fields and introduce the notation to be used in the further exposition.
The metric defines a canonical isomorphism on the manifold (which is usually called the musical isomorphism) between the tangent bundle T M and the cotangent bundle T * M , given by two mappings (25):
b : T M T * M ,   # : T * M T M .
For any point p M and any vector v T p M the covector v b T p * M is defined so that the condition (26) is satisfied:
u T p M v b u = g p v , u .
Correspondingly, at an arbitrary point p M the inverse transformation v # T p M for an arbitrary covector v T p * M is defined so that the condition (27) is satisfied:
u T p M v u = g v # , u .
We will denote the spaces of smooth k-forms on the manifold M as Ω k . In this case, as is known, Ω 0 is the space of smooth scalar functions on M (the space of smooth mappings f : M R ), and Ω 1 is the space of smooth covector fields on M (i.e., each element T * M will be an element of Ω 1 and vice versa, each element of Ω 1 will be an element of T * M ).
The de-Rham Laplacian operator : T M T M , which we considered above, is the operator dual to the Hodge Laplacian, acting in the space Ω 1 dual to T M (28):
U T M   U = U b # .
The Hodge-Laplacian operator : Ω k Ω k is defined as (29):
U T M   U = U b # ,
where d : Ω k Ω k + 1 is the exterior derivative operator, and δ : Ω k + 1 Ω k is the so-called codifferential. In those cases where the operator δ acts on k -1 forms of the space Ω 1 , the formula (30) holds:
X T M   d i v X = δ X b .
Thus, the codifferential can be considered as a generalization of the divergence operator. The exterior derivative operator d can be considered as a generalization of the curl of a vector field, since the formula (31) holds:
X T M   r o t   X = * d X b # ,
where * is the Hodge star operator. A harmonic form is a form ω Ω k , satisfying the conditions (32):
δ ω = 0   d ω = 0 .
Of course, with such a definition, the harmonic form ω Ω 1 will be the form dual to the harmonic vector field. The space of harmonic forms on a manifold gives the kernel of the Hodge–Laplace operator (for any harmonic form ω = 0 ).
The authors of the paper [35] defined the energy functional of the vector field as a mapping E : Ω _ 1 R , the action of which on the k-1 - form (covector field) ω is determined by the formula (33):
E ω = ω , ω .
It is evident that if ω Ω 1 is a harmonic form, then E ω = 0 . The authors of the paper [35] arrived at the construction of the functional (33), by considering the bilinear form on covector fields E , defined as E ω , ξ = d ω , d ξ + δ ω , δ ξ . If U T M is an arbitrary tangent vector field on M , then the magnitude   E U b , U b can be considered as a quantitative criterion for the dissimilarity of the vector field U from the harmonic field, interpreting the term δ U b , δ U b is the integral divergence of the field U , and the term d U b , d U b as the integral curl of the field U . The task of minimizing the functional E U under given constraints on the vector field U can be interpreted as the problem of finding a vector field that, while satisfying the imposed conditions, is as close as possible to the harmonic field. Further, we assume that the vector field U is subject to only one constraint of the form p γ   U p = γ ˙ p , where γ is a geodesic line on the surface. If, for a given surface and a given initial curve γ , there exists a set of solutions to task 1 X ¯ γ , then by virtue of (28) X α X ¯ γ   E X α b = 0 . This fact and the considerations presented in the previous section lead to Proposition 1:
Proposition 1. If the covector field U Ω 1 minimizes the functional E : Ω 1 R , defined by formula (31), under the condition p γ U p = γ ˙ b , then the integral lines of the vector field U # T M will coincide with the isolines of the function ϕ γ .
Since we do not have a proof of Proposition 1 for the general case of arbitrary surfaces in three-dimensional space, Proposition 1 in the form stated above should be considered a hypothesis. The proofs of this proposition for some specific cases that we have obtained are not rigorous, but the intuitively convincing considerations that led to the formulation of this hypothesis and the results of numerical experiments make the assumption of the validity of this hypothesis highly probable in our opinion. Until a proof (or disproof) of the validity of this hypothesis is obtained, we consider the numerical method for calculating the geodesic distance function based on this hypothesis as a heuristic method that provides good practical results and is convenient to use.

3.2.5. Remarks on the Numerical Implementation of the Method

The proposed method for constructing the geodesic distance function is based on a computational point of view on the numerical methods for minimizing the energy functional of a vector field proposed by Fisher et al. [36]. The authors of the article [36] proposed a new approach to the problem of designing tangent vector fields with user-defined constraints based on the application of Discrete Exterior calculus methods. Previously proposed approaches to the vector field design problem by various authors were based on the general idea of interpolating vectors specified in individual mesh nodes representing the surface. All these approaches rely on explicit coordinate frames and vectors represented through coefficients in these frames, be either 2D or 3D. The parallel transport of tangent vectors between these coordinate frames generally makes vector field optimization a nonlinear problem. In contrast, in article [36], the vector field design problem was formulated as a linear problem by using an intrinsic, coordinate-free approach based on discrete differential forms and the associated Discrete Exterior Calculus. The use of the Discrete Exterior Calculus technique, in which covector fields are represented by scalar quantities on the edges of the mesh and operators acting on differential forms by matrices, allows us to construct highly efficient algorithms, in the software implementation of which it is convenient to use advanced libraries of numerical methods of linear algebra. A detailed presentation of numerical methods for minimizing the energy functional of a vector field is given in the article [36]; here, in the following presentation, the focus is on aspects specific to the problem of constructing the geodesic distance function.
The algorithm for constructing the distance function consists of a sequence of three procedures:
A) constructing a geodesic line on the surface, which we will refer to as the initial curve γ ;
B) calculating the vector field U , which minimizes the energy functional of the vector field (33) under the condition (14);
C) reconstructing the distance function from the vector field U , whose integral lines approximately represent the isolines of the function ϕ γ .
We work with a discrete representation of the surface using a triangular mesh. The triangular mesh is programmatically represented as a linear list of vertices (each vertex corresponds to a data structure representing a tuple of three elements—the coordinates of the vertex in space) and a so-called triangle list. Each triangle corresponds to one of the faces of the polyhedron that describes the surface. Each triangle is represented as a tuple of three elements—the indices of the triangle's vertices in the vertex list. Naturally, the vertex and triangle list indirectly define the set of edges of the polyhedron representing the surface. We will denote the vertices as v i , where i is the index of the vertex in the list. The edge connecting the vertices v i and v j will be denoted as e i j , where the order of the indices indicates the orientation of the edge. The triangles (mesh faces) will be denoted as t i j k , where we will assume that the order of the vertex indices determines the orientation of the triangle. The covector ω 1 , dual to a given tangent vector field u on the surface, is represented by its values on the edges c i k = v i v k u d l , the values c i k theoretically represent the integral of u along the edge e i k . Step B) is implemented as a program module that takes as input a triangular mesh and a list L of tuples i , j , v a l u e , specifying the predetermined values c i j . The list L provides a discrete representation of the boundary condition (1). In the described program implementation of the method for constructing the geodesic distance function on a surface, the user selects two points A and B on the boundary of the region M . Then, a discrete representation of the geodesic line connecting points A and B is constructed on the mesh. The representation of the geodesic line as a path through the faces of the surface is then converted into the list L and fed into the program module that implements step B ) . The code for this module implements numerical methods for minimizing the energy functional of the vector field, as detailed in the article [36]. To reconstruct the tangent vector field on the surface from the calculated discrete covector field, the Whitney finite elements method is applied. The module provides an interface that allows obtaining the coordinates of the tangent vector to the surface at a given point, based on the barycentric coordinates of the point on a specified face of the mesh. The first stage of the procedure for reconstructing the geodesic distance function ϕ γ step C ) is the construction of the tangent vector field g ϕ * , which is an approximation of the gradient field ϕ γ . The construction of the vector field g ϕ * is carried out in three steps:
1)
in the center of each face t i j k (triangle of the mesh), the vector u i j k is calculated;
2)
each vector u i j k is rotated by an angle of π 2 in the surface of the face. The choice of turning direction (clockwise or counterclockwise) is indifferent. We will interpret this step as the computation of the discrete field p i j k = J u i j k , where J is a linear rotation operator by π 2 ;
3)
for each face, a vector is calculated g ϕ i j k * = p i j k p i j k .
Thus, we have a standard problem in numerical methods – reconstructing a scalar function defined on a surface from the gradient field of the function. We use a standard approach. The problem is formulated as finding the minimum of the functional D with respect to ϕ * which is an approximation of the function ϕ γ , that we are seeking.
D ϕ * = M ϕ * g ϕ * 2
As is known, the Euler-Lagrange equation for this extremal problem has the form (35) [42]:
D ϕ * = d i v g ϕ *
The previously computed discrete tangential vector g ϕ i j k * defines a Dirichlet boundary condition on the boundary M . However, as practice has shown, it is better to solve the problem with mixed boundary conditions separately for the two regions into which the initial curve γ divides the original region M . In this case, for both regions, the initial curve γ will be part of the boundary where the Cauchy boundary condition p γ ϕ * p = 0 is satisfied.
To test the software implementation of the described method for constructing the geodesic distance function from a curve, we used both synthetic data (triangular meshes calculated for analytically defined surfaces) and data obtained from scanning.
Software implementation of the third stage (the translation of the sequence of geometric primitive into the sequence of AS language commands) is straightforward, and will not be discussed here; it was previously described in articles [23,24,25].

3.3. Experimental Application of the Developed Control Algorithms

The developed method of automatic manipulator program generation was tested and the robotic MPS of a wear-resistant Cr-based coating was performed on the worn parts of the jaw's crushing plate for crushing mineral raw materials. A robotic scanning of the crushing plate was carried out, and then a robotic MPS of a protective coating on the worn-out sections of the plate was performed. A visual representation of the sequence of the process of robotic MPS of the powder coating on a crushing plate, including preliminary 3D scanning, is given in Figure 8.
Specifically, for scanning the crushing plate (Figure 8 a), a scanning step of 30 mm was used, the speed of movement of the end effector was 100 mms-1, the distance between the scanning plane and the plane of the crushing plate was on average 70 mm, the distance sensor was polled 30 times per second , while the total scanning time was 2 minutes for a scanning working area of ​​600 cm2. The crushing plate model was visualized (Figure 8b). Although this is not the purpose or even a mandatory step of scanning, this was done solely for clarity of comparison with the real object. The scanning accuracy was good, new 3D model reconstruction algorithms made it possible to obtain a model with the same distances determined with an accuracy of 0.5 mm, namely 100 mm between the centers of the ribbed projections and a projection height of 30 mm. During the study, different scanning speeds were tested: from 10 cms-1 to 1 ms-1, depending on the complexity of the object geometry; however, we came to the conclusion that it is reasonable to reduce the speed of the distance sensor on the working segments of the trajectory to ensure a set of more points for statistical processing.
The MPS was carried out by moving the robot arm with the microplasmatron installed on it in accordance with the obtained 3D model of the crushing plate. The spraying distance was maintained equal to 100 mm (Table 3). As previously noted in Section 2.2, the spraying parameter was chosen based on the requirements for the structure of the coating.
As shown in Figure 8 a, the substrate surface is first scanned using a distance sensor attached to the robotic arm. A robotic arm with a sensor moves in a plane along a U-shaped trajectory with a constant modulus speed. Figure 8a shows how, by measuring the Z coordinates from the surface of the plate, 3D scanning is carried out, based on the results of which a 3D model of the substrate is reconstructed (Figure 8 b). In practice, the 3D model is not visualized since it is a set of point clouds, that is, three-dimensional coordinates that remain in the robot's memory.
Then the distance sensor on the robotic arm is replaced with a microplasmatron (Figure 8 c) and the robot's movement is generated along a 3D trajectory (that is, along three-dimensional coordinates, but with the addition of the spraying distance H to Z-coordinate). As a result, the microplasmatron moves at a given spraying distance H from the surface of the plate with strict adherence to the linear speed of movement V, while maintaining the perpendicularity of the plasma jet to the substrate. When the robot reaches the edge of the plate, it moves horizontally by a given distance - the spraying step τ, and turns, moving at the same linear speed in the opposite direction, ensuring that the spraying tracks overlap by approximately one-third. As a result, a coating of uniform thickness is sprayed (Figure 8 d).
Ideally, a robot with a microplasmatron could itself move to the area of the worn surface and perform spraying, but this task has not yet been solved, since additional analysis of the image of the plate surface was required to determine the boundaries of the wear area. The method implemented here did not use a video camera, did not perform image analysis, and used only distance sensor data. Therefore, in practice, the manipulator was manually brought to the boundaries of the worn area, where the coordinates were measured. Then a code for moving the robot was generated, stopping the MPS process when the worn area was completely coated. This was a pilot experiment, during which robotic MPS of a protective coating was performed on worn areas of the surface of a crusher plate. In contrast, the movement of a robotic arm with a microplasmatron was automatically generated along the reconstructed 3D model of the product with precision maintaining a given linear speed and distance to the surface.
Production tests of the crushing plate were carried out under conditions of grinding polymetallic ores of various hardness with continuous operation of the crusher for at least 30 minutes with a loading from 70 % to 100% of the height of the crushing chamber. The movable plate of the jaw crusher, coated after its main resource had been depleted, was additionally operated for 6 months, being subjected to the optimal load for 5-6 hours per shift. Thus, the plate's service life was extended with the same crusher performance. A production test certificate was received (Ust-Kamenogorsk, Kazakhstan), and it was concluded that the service life of the movable plate of the jaw crusher restored by robotic plasma spraying of the Cr - based protective coating was increased by 15% compared to the plates not subjected to restoration.
Thus, the practical application of the new approach to control the robot manipulator performing microplasma spraying of a protective coating on the surface of the jaw crusher plate was successful. The novelty of the proposed approach lies in the use of the technique of constructing the geodesic distance function from the starting curve, which provides two advantages in comparison with other known methods. Firstly, the proposed method is insensitive to the choice of the starting geodesic curve, whereas in existing seed curve methods, the starting curve is often chosen as the geodesic max height. Thus, the new method offers the prospect of fully automatic trajectory generation. Secondly, this technique provides better accuracy, which allows to operate with trajectories with a small step between the working segments of the trajectory, which improves compliance with technological parameters and, accordingly, the quality of the coating.

4. Further Perspectives

First of all, future research is aimed at developing a fully automatic trajectory planning procedure, when the selection of the optimal starting curve will be carried out with the development of software that selects the starting curve in the optimal way.
Secondly, the research will be aimed to create a surface preliminary scanning procedure that allows working with surfaces of complex shapes and to use computer vision methods when scanning surfaces.
Further development of research will also be involve comparing the final product quality produced with different robot control algorithms for evaluation of methods and results using the spraying simulator.
In addition, the applicability of this method will be considered for alternative domains as well, e.g., in the finalization of 3D printed producst, where some applications (in medicine particularly) require specific surface treatment [43]. We also plan to investigate the primary and secondary impact of the robotic approach from the sustainability point of view [44]. Many of these experiments will be conducted in the Antal Bejczy Center for Intelligent Robotics and Obuda University [45].

5. Conclusions

The main contribution of this research is the presentation of a new path planning method and a new technique for constructing a geodesic distance function from the starting curve with high accuracy, the use of which improves the quality of thermal plasma sprayed coatings.
A practical implementation of the developed path planning algorithms was carried out, with the help of an intelligent system based on an industrial robot Kawasaki, where a microplasma spraying of a protective coating was carried out on a jaw crusher plate, which was then operated for 6 months to crush mineral raw materials.
The study results make it possible to increase the efficiency of the technology of robotic thermal plasma spraying of coatings, improve the performance characteristics of processed products, and cost-effectively produce robotic plasma spraying of coatings on parts or large-sized products, including piece products.
The developed new control algorithms are of interest to a wide range of researchers in the field of robotics and automation of production areas with mechatronic systems.

Author Contributions

Conceptualization, D.A., A. Kr., A.K. and A.K.-M..; methodology, A.K., A. Kr., A.K..-M.., D.A., M. T., A.O., G.N.; software, A.Kr.; validation, A.K., A.K..-M., A. Kr., M. T., A.O., G.N. and D.A.; formal analysis, A.Kr., D.A., T.H., I.K.; investigation, A.K., A.K.-M., A. Kr., M. T., A.O., G.N., and D.A.; resources, A.K.; data curation, A.K. and D.A.; writing—original draft preparation A.K.-M. A. Kr. and D.A.; writing—review and editing, D.A., A.Kr., I.K. and T.H..; visualization, D.A., A.Kr., and A.K.-M.; supervision, D.A., T.H.; project administration, A.K.; funding acquisition, A.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Ministry of Science and Higher Education of the Republic of Kazakhstan, grant number АР13068317.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding authors.

Acknowledgments

The authors express their sincere gratitude to the researchers of the E.O. Paton Electric Welding Institute of NAS of Ukraine, (Kyiv, Ukraine), Dr. Voinarovych S., Dr. Kyslytsia O., and Dr. Kaliuzhnyi S. for their cooperation on producing microplasma sprayed coatings and studying their microstructure and properties, and for discussing the research results. T. Haidegger is a Consolidator Researcher, supported by the Distinguished Researcher Program of Óbuda University.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nieto Bastida, S.; Lin, C.-Y. Autonomous Trajectory Planning for Spray Painting on Complex Surfaces Based on a Point Cloud Model. Sensors 2023, 23, 9634, 1–23. [Google Scholar] [CrossRef] [PubMed]
  2. Boscariol, P.; Gasparetto, A.; Scalera, L. Path Planning for Special Robotic Operations. In Robot Design: From Theory to Service Applications; Carbone, G., Laribi, M.A., Eds.; Mechanisms and Machine Science; Springer International Publishing: Cham, Switzerland, 2023; pp. 69–95. [Google Scholar]
  3. Chen, W.; Wang, X.; Liu, H.; Tang, Y.; Liu, J. Optimized Combination of Spray-Painting Trajectory on 3D Entities. Electronics 2019, 8, 74, 1–18. [Google Scholar] [CrossRef]
  4. Karymsakova, I.; Denissova, N.; Kumargazhanova, S.; Krak, I. Robotic Plasma Spraying System for Implants of Complex Structure: 3D model and motion planning. International Journal of Computing 2020, 19, 2, 224–23. [Google Scholar] [CrossRef]
  5. Alontseva, D.; Azamatov, B.; Safarova, Y.; Voinarovych, S.; Nazenova, G. A Brief Review of Current Trends in the Additive Manufacturing of Orthopedic Implants with Thermal Plasma-Sprayed Coatings to Improve the Implant Surface Biocompatibility. Coatings 2023, 13, 1175. [Google Scholar] [CrossRef]
  6. Alontseva, D.; Ghassemieh, E.; Voinarovych, S.; Kyslytsia, O.; Polovetskyi, Y.; Prokhorenkova, N.; Kadyroldina. A. Manufacturing and Characterisation of Robot Assisted Microplasma Multilayer Coating of Titanium Implants Biocompatible coatings for medical implants with improved density and crystallinity. Johns. Matthey Technol. 2020, 64, 180–191. [Google Scholar] [CrossRef]
  7. Weber, A. M.; Gambao, E.; Brunete, A. A Survey on Autonomous Offline Path Generation for Robot-Assisted Spraying Applications. Actuators 2023, 12, 403, 1–23. [Google Scholar] [CrossRef]
  8. Suh, S.-H.; Woo, I.-K.; Noh, S.-K. Development of an automatic trajectory planning system (ATPS) for spray painting robots. Proceedings of the IEEE International Conference on Robotics and Automation 1991, 1948–1955. [Google Scholar]
  9. Trigatti, G.; Boscariol, P.; Scalera, L. A new path-constrained trajectory planning strategy for spray painting robots. The International Journal of Advanced Manufacturing Technology 2018, 98, 2287–2296. [Google Scholar] [CrossRef]
  10. Chen, W.; Zhao, D. Path Planning for Spray Painting Robot of Workpiece Surfaces. Mathematical Problems in Engineering 2013, 1–6. [Google Scholar] [CrossRef]
  11. Chen, W.; Sun, C.; Liu, H. Path planning scheme for spray painting robot with Bézier curves on complex curved surfaces. IEEE Youth Academic Annual Conference of Chinese Association of Automation (YAC) 2017, 698–703. [Google Scholar]
  12. Chen, W.; Tang, Y.; Zhao, Q. A novel trajectory planning scheme for spray painting robot with Bézier curves. IEEE Control and Decision Conference 2016, 6746–6750. [Google Scholar]
  13. Atkar, P. N.; Greenfield, A.; Conner, D. C.; Choset, H.; Rizzi, A. A. Uniform coverage of automotive surface patches. The International Journal of Robotics Research 2005, 24, 11, 883–898. [Google Scholar] [CrossRef]
  14. Zhoua, Y.; Ma, S.; Li, A.; Yang, L. Path Planning for Spray Painting Robot of Horns Surfaces in Ship Manufacturing. 3rd IOP Conf. Ser.: Mater. Sci. Eng. 2019, 1–7. [Google Scholar] [CrossRef]
  15. Fu, Z.; Xiao, B.; Wu, C.; Yang, J. A genetic algorithm-based surface segmentation method for spray painting robotics. IEEE Control and Decision Conference 2017, 4049–4054. [Google Scholar]
  16. Zhou, B.; Fang, F.; Zhenhua, S. Fast and templatable path planning of spray painting robots for regular surfaces. IEEE Control Conference 2015, 5925–5930. [Google Scholar]
  17. Zeng, Y.; Zhang, Y.; He, J. Prediction Model of Coating Growth Rate for Varied Dip-Angle Spraying Based on Gaussian Sum Model. Mathematical Problems in Engineering 2016, 1–7. [Google Scholar] [CrossRef]
  18. Xia, W.; Zhang, H.; Wang, G.-L.; Yang, Y.; Han, G.; Zou, H. Integrated Robotic Plasma Spraying System for Advanced Materials Processing. Piers online 2008, 4, 8, 876–880. [Google Scholar] [CrossRef]
  19. Cooper, I.; Nicholson, P.I.; Pierce, S.G.; Mineo, C. Introducing a novel mesh following technique for approximation-free robotic tool path trajectories. J. Comput. Des. Eng. 2017, 4, 192–202. [Google Scholar]
  20. McGovern, S.; Xiao, J. A General Approach for Constrained Robotic Coverage Path Planning on 3D Freeform Surfaces. IEEE Trans. Autom. Sci. Eng. 2023, 20, 1–12. [Google Scholar] [CrossRef]
  21. Zhang, J.; Meng, W.; Yin, Y. Design of a decentralized Internet-based control system for industrial robot robotic arms. Applied Mathematics and Nonlinear Sciences 2023, 1–15. [Google Scholar] [CrossRef]
  22. Ganguly, S.; Khatib, O. Accurate edge detection for robotic welding through tactile exploration. IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) 2022, 7323–7330. [Google Scholar]
  23. Kussaiyn-Murat, A.; Krasavin, A.; Alontseva, D.; Kadyroldina, A.; Khozhanov, A.; Krak, I.; Escalona, P.M.; Dyomina, I. Development of an Intelligent Robotic System for Plasma Processing of Industrial Products with Complex Shape. In Proceedings of 2021 11th IEEE International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications (IDAACS) 2021, 572–579.
  24. Alontseva, D.L.; Ghassemieh, E.; Krasavin, A.L.; Kadyroldina, A.T. Development of 3D Scanning System for Robotic Plasma Processing of Medical Products with Complex Geometries. Journal of Electronic Science and Technology 2017, 18, 3, 212–222. [Google Scholar] [CrossRef]
  25. Alontseva, D.; Krasavin, A.; Kadyroldina, A.; Kussaiyn-Murat, A. Segmentation Algorithm for Surface Reconstruction According to Data Provided by Laser-Based Scan Point. Communications in Computer and Information Science 2019, 998, 1–10. [Google Scholar]
  26. Fotovvati, B.; Namdari, N.; Dehghanghadikolaei, A. On Coating Techniques for Surface Protection: A Review. J. Manuf. Mater. Process 2019, 3, 28. [Google Scholar] [CrossRef]
  27. Cizek, J.; Matejicek, J. Medicine Meets Thermal Spray Technology: A Review of Patents. J. Therm. Spray. Technol. 2018, 27, 1251–1279. [Google Scholar] [CrossRef]
  28. Kaliuzhnyi, S.; Alontseva, D.; Voinarovych, S.; Kyslytsia, O.; Khozhanov, A.; Łatka, L.; Bektasova, G. Microplasma sprayed multilayer coatings for electric heating elements. Materials Science-Poland 2022, 40, 4, 158–170. [Google Scholar] [CrossRef]
  29. Voinarovych, S. G.; Alontseva, D. L.; Khozhanov, A. R.; Krasavin, A.L.; Kyslytsia, A.N.; Kaliuzhnyi, S. N. Effect of microplasma spraying parameters on the loss of sprayed Zr wire and coating porosity. Recent Contributions to Physics 2021, 79, 4, 82–96. [Google Scholar] [CrossRef]
  30. Montgomery, D.C.; Runger, G.C.; Hubele, N.R. Engineering Statistics, 5th ed.; John Wiley and Sons Inc.: Hoboken, 2015. [Google Scholar]
  31. Baldaev, L.Kh.; Borisov, V.N.; Vakhalin, V.A.; Gannochenko G.I.; Zatoka, A.E.; Zakharov, B.M.; Ivanov, A.V.; Ivanov, V.M.; Kalita, V.I.; Kudinov, V.V.; Puzryakov, A.F.; Sborshchikov, Yu.P.; Khamitsev, B.G.; Shkolnikov, E.Ya.; Yaroslavtsev, V.M. Gasothermic spraying, Market DS, 2007.
  32. AS Language Reference Manual. Kawasaki Robot Controller E Series, Kawasaki Heavy Industries, Ltd, 2015, p. 548.
  33. https://sensoren.ru/product/opticheskie_datchiki_rasstoyaniya_leuze_electronic_odsl_8/.
  34. Crane, K.; Livesu, M.; Puppo, E.; Qin, Y. A Survey of Algorithms for Geodesic Paths and Distances. Graphics (cs.GR); Computational Geometry (cs.CG) 2020, 1, 1, 1–56. [Google Scholar]
  35. Crane, K.; Weischedel, C.; Wardetzky, M. Geodesics in heat: A new approach to computing distance based on heat flow. ACM Trans. Graph 2013, 32, 5, 1–11. [Google Scholar] [CrossRef]
  36. Fisher, M.; Schroder, P.; Desbrun, M.; Hoppe, H. Design of tangent vector fields. ACM Trans. Graph 2007, 26, 3. [Google Scholar]
  37. Ben-Chen, M.; Butscher, A.; Solomon, J.; Guibas, L. On discrete Killing vector fields and patterns on surfaces. In Proceedings of the EUROGRAPHICS Symposium on Geometric Processing (SGP'10) 2010, 29, 1701–1711. [Google Scholar] [CrossRef]
  38. Duggal, K.L.; Sharma, R. Symmetries of Spacetimes and Riemannian Manifolds; Kluwer Academic Publishers: Dordrecht, The Netherlands, 1999. [Google Scholar]
  39. Horng, J.H. An adaptive smoothing approach for fitting digital planar curves with line segments and circular arcs. Pattern Recognition Letters 2003, 24, 565–577. [Google Scholar] [CrossRef]
  40. Pateloup, V.; Duc, E.; Ray, P. B-Spline approximation of circle arc and straight line for pocket machining. Computer Aided Design 2010, 42, 817–827. [Google Scholar] [CrossRef]
  41. Nuntawisuttiwong, T.; Dejdumrong, N. An Approximation of Bézier Curves by a Sequence of Circular Arcs. Inf. Technol. Control 2021, 50, 2, 213–223. [Google Scholar] [CrossRef]
  42. Schwarz, G. A method for solving boundary value problems. Lecture Notes in Mathematics 1995, 1607, 1–155. [Google Scholar]
  43. Jaksa, L., Azamatov, B, Nazenova, G., Alontseva, D., Haidegger, T. State of the art in Medical Additive Manufacturing. Acta Polytechnica Hungarica, 20, 8, 2023.
  44. Haidegger, T., Mai, V., Mörch, C.; Boesl, D., Jacobs, A., Khamis, A., Lach, L., Vanderborght, B. Robotics: Enabler and inhibitor of the sustainable development goals. Sustainable Production and Consumption 2023, 43, 422–434.
  45. Haidegger, T. P., Galambos, P., Tar, J. K., Kovács, L. A., Kozlovszky, M., Zrubka, Z., Tarsoly, S. Strategies and Outcomes of Building a Successful University Research and Innovation Ecosystem. Acta Polytechnica Hungarica 2024, 21, 10, 13-35.
Figure 1. Flow chart of the process of microplasma spraying by an intelligent robotic system.
Figure 1. Flow chart of the process of microplasma spraying by an intelligent robotic system.
Preprints 137738 g001
Figure 2. Diagram illustrating the measurement of the metallization figure, where H represents the spraying distance, β denotes the opening angle of the plasma jet, h represents the height of the sprayed material, L refers to the vertical (large) axis, and l indicates the horizontal (small) axis of the spray spot [28].
Figure 2. Diagram illustrating the measurement of the metallization figure, where H represents the spraying distance, β denotes the opening angle of the plasma jet, h represents the height of the sprayed material, L refers to the vertical (large) axis, and l indicates the horizontal (small) axis of the spray spot [28].
Preprints 137738 g002
Figure 3. Metallization figure produced by stationary microplasma spraying of zirconium wire onto a stationary steel substrate for 10 seconds [29].
Figure 3. Metallization figure produced by stationary microplasma spraying of zirconium wire onto a stationary steel substrate for 10 seconds [29].
Preprints 137738 g003
Figure 4. Scheme for the formation of a coating with a uniform thickness, where τ is the spraying step, δmax is the largest coating thickness, δmin is the smallest coating thickness [29].
Figure 4. Scheme for the formation of a coating with a uniform thickness, where τ is the spraying step, δmax is the largest coating thickness, δmin is the smallest coating thickness [29].
Preprints 137738 g004
Figure 5. Schematic representation of robotic 3D scanning using a laser triangulation distance sensor, robotic manipulator and its programmable controller, PC, and digital interface RS 232.
Figure 5. Schematic representation of robotic 3D scanning using a laser triangulation distance sensor, robotic manipulator and its programmable controller, PC, and digital interface RS 232.
Preprints 137738 g005
Figure 6. Scheme of scanning the surface of an object, indicating the trajectory of the sensor performing measurements at the scanning nodes.
Figure 6. Scheme of scanning the surface of an object, indicating the trajectory of the sensor performing measurements at the scanning nodes.
Preprints 137738 g006
Figure 7. Schematic representation of a - the kinematic procedure for constructing the isolines of the vector field function ϕ γ ; b - the corresponding tangent vector field U.
Figure 7. Schematic representation of a - the kinematic procedure for constructing the isolines of the vector field function ϕ γ ; b - the corresponding tangent vector field U.
Preprints 137738 g007
Figure 8. Sequence of robotic 3D scanning and subsequent MPS of Cr-based powder coating on the jaw crusher plate: a - 3D scanning: distance sensor measures the distance to the surface of the plate (Zi coordinate); b - 3D model reconstructed from scan data to generate manipulator code; c - the end effector of the robot with the microplasmatron moves along a 3D trajectory; d - Cr-based coating of uniform thickness.
Figure 8. Sequence of robotic 3D scanning and subsequent MPS of Cr-based powder coating on the jaw crusher plate: a - 3D scanning: distance sensor measures the distance to the surface of the plate (Zi coordinate); b - 3D model reconstructed from scan data to generate manipulator code; c - the end effector of the robot with the microplasmatron moves along a 3D trajectory; d - Cr-based coating of uniform thickness.
Preprints 137738 g008
Table 1. Chemical composition of steel grade 110G13L, wt.%.
Table 1. Chemical composition of steel grade 110G13L, wt.%.
Standard Fe C Mn Cr V Si P S
977-88 — 110G13L base 1.19 12.1 - - 0.39 0.021 0.015
Table 2. Chemical composition of AN-35 composite alloy powder, wt.%.
Table 2. Chemical composition of AN-35 composite alloy powder, wt.%.
Standard Co Cr Ni Si Fe C W
GOST 21448-75 base 28-32 ≤ 3 1.7-2.5 ≤ 3 1.3-1.7 4-5
Table 3. Parameters of MPS of AN-35 powder.
Table 3. Parameters of MPS of AN-35 powder.
MPS parameters Settings
Electric current, I (A) 40
Plasma gas (Ar) flow rate, Q (slpm) 6
Spraying distance, H (mm) 100
Powder feed rate , Vpow, (g min-1) 2
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2024 MDPI (Basel, Switzerland) unless otherwise stated