Abstract
The tube-notching process is widely used to manufacture structural joints and ducting systems for fluid transport. In these applications, accurate intersection angles and proper fit-up geometry are essential to ensure reliable assembly and system performance. Consequently, CNC-based automation is increasingly adopted to improve productivity in operations where precision and cycle time are critical. The main problem, however, lies in the complexity of generating accurate cutting trajectories for tube–tube intersections and converting them into machine-executable commands. This study addresses this gap by proposing a simple, novel mathematical model for toolpath generation capable of producing intersection profiles at arbitrary joint angles, including lateral offset (non-coaxial) configurations. A systematic procedure was developed to convert the resulting trajectories into G-code, which was processed in a low-cost CNC plasma cutter designed to experimentally validate the toolpaths. The machine incorporates a fourth axis to enable bevel cutting during tube processing. Experimental results demonstrate stable operation, high dimensional accuracy (error ±0.1°), and consistent cut quality for trajectories generated by the proposed model, confirming the feasibility of the low-cost CNC plasma system and its scalability to diverse fabrication requirements.
1. Introduction
The structural integrity of modern industrial infrastructure, encompassing large-scale building trusses and complex fluid transportation systems, is fundamentally contingent upon the quality of structural joints. Within this framework, tube notching, or coping, constitutes a critical manufacturing process. This operation involves machining curved, saddle-shaped (fishmouth) profiles into tube ends to ensure a precise, flush fit-up against intersecting perpendicular or angled members. Although notching offers high repeatability in welded structures, executing arbitrary-angle intersections presents a significant geometric challenge. In space-frame trusses, these complex geometries are vital for optimal load distribution. Conversely, minor deviations in cutting precision lead to tolerance stack-up, compromising structural safety and necessitating costly manual rework. Similarly, fluid networks require high-precision cuts to minimize flow turbulence and localized pressure drops at junctions. Consequently, the transition toward automated CNC technology is driven by the requirement to resolve these geometric complexities while achieving levels of precision and productivity unattainable by traditional methods [1,2,3,4].
However, a key limitation of this automation approach is the complexity of generating an accurate cutting trajectory and the cost of developing a system capable of performing the task [5,6,7].
Another critical factor following tube cutting is joint preparation for welding. It is highly recommended to cut a small bevel after cutting to facilitate proper penetration of the filler material and improve the quality of the welded joint. When performed manually, this beveling process can be even more time-consuming than generating the cutting template and the cutting operation, particularly for larger tube diameters [8].
A further benefit of automating the cutting process is improving operator safety. Thermal cutting generates metal fumes and hazardous chemical byproducts that can pose significant health risks, particularly to the respiratory system. By minimizing direct operator exposure through automation, safer working conditions can be achieved while maintaining consistent cutting quality [9,10,11].
With respect to the cutting process required for this operation, plasma cutting is considered a suitable alternative due to its capability to cut thick metallic materials. Furthermore, it presents lower operational costs than laser systems and produces better surface quality than oxy-fuel cutting. These advantages are supported by several industrial practices and technical manuals [12]. S. M. Ilii et al. [13] presented a study on the cost analysis of plasma arc cutting aimed at maximizing both theoretical and economic efficiency in industrial cutting processes. The study demonstrates that plasma cutting offers several unique capabilities and advantages, providing an optimal balance among cut quality, productivity, and operating cost for materials such as mild steel, stainless steel, and aluminum across a wide range of thicknesses, while maintaining competitive capital equipment costs. These findings support the choice of plasma cutting as an effective process to automate within a CNC cutting machine. Other researchers, such as G. İrsel et al. [14], presented a comparative study of different cutting processes, analyzing their advantages and disadvantages for cutting structural steels. Their results show that laser beam cutting provides higher accuracy than plasma cutting, but at a significantly higher cost. Moreover, laser cutting is more suitable for thin materials, whereas plasma arc cutting performs better over a broader range of thicknesses. Although the choice of the cutting process depends on the application, the study indicates that plasma arc cutting represents the most cost-effective option.
Jamsari et al. [15] highlight the substantial potential of plasma cutting to achieve high-quality finishes through advanced optimization. By successfully applying the Jaya algorithm to 12 mm plates, they demonstrated that even in thicker sections—where thermal gradients are more pronounced—it is possible to significantly refine surface roughness and minimize taper angles.
Sawdatkar et al. [16] provided a comprehensive bibliometric overview of plasma arc cutting (PAC), emphasizing its strategic advantages over laser-based processes in heavy-duty applications due to its superior power-to-cost ratio. Their analysis highlights PAC’s essential role in processing high-strength materials; however, it also identifies a significant research gap regarding energy efficiency, noting that the minimization of energy consumption in such robust thermal processes remains an under-studied area in literature.
Regarding the application of plasma cutting on CNC machines, Mohamed et al. [17] proposed a system driven by a commercial robotic plasma-cutting machine to automate steel plate beveling by adapting cutting parameters and toolpaths based on real-time ultrasonic thickness measurements, thereby improving accuracy and reducing manual intervention.
Kudrna et al. [18] discussed the influence of plasma cutting on the cutting quality of CNC machines. The article describes the basic design of a CNC machine with at least three controlled axes (X, Y, and Z) for flat-surface machining.
Abdus Subhan et al. [19] designed and simulated a full CNC (3-axis) plasma cutting system to leverage plasma cutting as a non-conventional machining process in steel plates. Their work describes the selection of controllers, worktable design, and operational software for the machining system, using specific coordinate definitions.
Fred P. Liza and Cameron B. Yao [20] developed a low-cost, computer-based digital controller for a plasma-cutting machine that regulates the three primary motion axes and the plasma power source. Their system achieved effective torch height control (THC) during cutting, enabling precise, clean, and sharp cut edges.
Lermen et al. [21] designed a CNC plasma-cutting machine for didactic purposes using stepper motors and Mach3 control. The system operates on three axes and demonstrated satisfactory performance in the X and Y directions for executing the programmed toolpath. The authors reported that deviations in cut quality were mainly associated with inconsistent settings such as irregular arc current, gas flow rate, and cutting speed relative to the steel plate thickness and the torch stand-off height. They note that these issues can be mitigated through additional testing and parameter tuning, and they ultimately highlight the strong potential of CNC-controlled plasma cutting.
Khairil Zain et al. [22] validated the use of PC-based control architectures, such as Mach3, for three-axis plasma cutting. Their research emphasizes that stepper-driven systems can achieve high-dimensional precision through features like automated axis tuning, providing a cost-effective yet flexible alternative to proprietary industrial controllers. This open-platform approach is particularly conducive to the integration of custom monitoring and sensing systems.
Suwanratchatamanee et al. [23] developed an advanced plasma-cutting system utilizing an articulated robotic arm integrated with wireless IMU sensors for precise torch alignment. Their approach demonstrates remarkable efficiency in complex tasks such as bevel cutting, significantly outperforming traditional methods in both accuracy and setup time. Nevertheless, the technical sophistication and the specialized hardware required may pose challenges regarding capital investment and operational complexity. Additionally, as the system is primarily optimized for large-scale structural steel components, there remains a research interest in more versatile or cost-effective alternatives for different manufacturing scales.
In a similar vein, Cajner et al. [24] utilized Design of Experiments (DoE) to optimize kerf values and assess the dimensional accuracy of CNC plasma cutting. Their findings underscore how machine architecture, specifically the use of monolithic versus segmented guides, introduces anisotropic errors in the X and Y axes. Furthermore, they demonstrated that complex trajectories such as bore cutting, exacerbate inaccuracies due to cumulative interpolation errors.
Some methodologies have been developed to advance CNC plasma cutting for piping systems. For instance, Shi et al. [25] proposed a torch-path-planning method for accurate pipe-hole cutting in set-in branch connections by integrating plasma beam radius compensation. Their approach uses position analysis of intersecting pipes and single-V welding grooves to enable adjustable groove angles and to generate theoretical cutting lines through dynamic kerf-width adjustment. Although this framework provides a robust theoretical foundation for commercial applications, the high mathematical complexity of the formulation—coupled with the absence of high-level algorithmic abstractions or pseudo-code—hinders the direct replication of their results.
Separately, Keraita et al. [26] developed a three-axis automated system that generates G-code trajectories directly from CAD models. Despite demonstrating functional integration of CAD-to-CNC workflows, the mathematical logic governing trajectory generation lacks the explicit detail needed to ensure full reproducibility. Furthermore, their architectural design relies on servo-driven systems; although high-performing, these components significantly increase capital expenditure.
To address the automated cutting of intersecting pipes, Liu Yan et al. [27] investigated the complexities of geometric modeling, error compensation, and collision avoidance. They proposed a model-driven robotic plasma-cutting approach that maps detailed intersection geometries, incorporates plasma radius and taper compensation, and generates collision-free toolpaths for Y-groove pipe joints.
In the present work, a new approach to automate the tube-notching process is presented. The method is based on a novel mathematical model that computes the projection coordinates required to generate toolpaths for any arbitrary intersection angle. The formulation explicitly accounts for joint configurations with laterally offset tube axes, increasing versatility for practical fabrication scenarios. In addition, a systematic procedure is proposed to convert the resulting geometric projections into CNC-ready G-code.
To validate the approach, a low-cost, four-axis CNC prototype equipped with plasma cutting was designed and manufactured from the ground up to produce tube intersection profiles with a simple bevel, using the fourth axis to manipulate the plasma torch. The system employs stepper motors rather than servomotors, providing adequate positioning accuracy while significantly reducing overall control-system costs. A dedicated control interface was also developed to generate tube-notching paths, define cutting parameters, and output the complete G-code.
Experimental trials on tubes of various sizes confirmed the correctness of both the mathematical model and the G-code conversion procedure, as demonstrated by consistent dimensional accuracy and high-quality cuts with minimal burr formation. The proposed mathematical framework offers a distinct advantage over existing models due to its streamlined derivation from a purely geometric perspective, making it highly intuitive for implementation without the computational complexity often found in previous literature. Furthermore, this research does not merely adapt commercial equipment; it introduces novel machine architecture. Integrating a cost-effective fourth axis for beveling provides a functional solution for industrial welding preparation, reliably translating mathematical theory into physical manufacturing.
2. Methodology for Generating Tube-Notching Toolpaths
2.1. Mathematical Model
To ensure conceptual clarity and maintain technical precision throughout the following analytical framework, a comprehensive nomenclature is established. Table 1 systematically catalogs the symbols, geometric parameters, and standardized units employed in the subsequent derivations, serving as a foundational reference for the mathematical modeling of the pipe-notching trajectories.
Table 1.
Nomenclature and symbols utilized in the mathematical model, the toolpath algorithm, and the control system.
The coordinate generation for the notching process involves mapping the lateral and top projections of the intersecting tubes (Figure 1). By segmenting the diameters according to the inclination angle, the resulting intersections on the base tube perimeter define the spatial coordinates of the notch profile.
Figure 1.
Geometric parameters of interest in the conventional tube-notching path.
Figure 2 shows a zoomed-in view of the proposed geometries that were used to obtain the intersections required to generate the complete tube-notching path.
Figure 2.
Location of the proposed geometries for the trigonometric analysis of the tube-notching path.
The trigonometric analysis is based on four reference points (A, B, C, and D) identified on the intersection profile (Figure 1 and Figure 2), from which the following governing equations are derived:
where (distance S does not appear in Figure 3, but it is a variable that represents a geometric adjustment associated with offset tube axes).
Figure 3.
Proposed trigonometric analysis for the base-tube-notching path.
Finally, Equation (9) provides the general expression for the tube-notching path at each angular position with respect to the tube circumference measured from the horizontal axis, denoted as .
Two conditions must be satisfied: the first is related to the radius of the branch tube and radius of the base tube r ≤ R. For the second condition, the offset radii must be less than or equal to the difference between the two radii e ≤ (R − r).
The code developed in this paper allows not only for automatic tube notching but also for export of a dwg file that can be printed and used for manual cutting. To facilitate the manual cutting if needed, the Z distance is useful. However, Z distance can be omitted for automatic methods.
For structural applications in which the pipe is used as a truss member, cutting only the inserted pipe is typically sufficient. For applications involving the transport of fluids or other products, a geometric projection analysis is also proposed to define the cut profile on the receiving pipe. Figure 3 illustrates the geometric location of the points generated by projecting the inserted pipe onto the receiving pipe.
The process to derive an equation for cutting a hole in the receiving pipe is the same as for the branch pipe. The coordinate points required to construct the base-cut geometry of the insertion originate from triangle HFG. Among these, is the simplest to compute, because it depends only on the divisional angle and on the radius of the branch tube.
The distance corresponds to the projection of distance from Figure 3. To compute it, the segment is divided into the segments and , which are calculated as a function of the insertion angle as follows:
Finally:
To demonstrate the practical application of the analytical model, Equations (9) and (13) were numerically implemented using geometric specifications for standard schedule-40 piping. The test case considered a 1.5-inch NPS branch tube intersecting a 3-inch NPS base tube at a non-perpendicular angle of 60°. The resulting spatial coordinates, which characterize the complex intersection profile, were utilized to generate the notching path previews presented in Figure 4.
Figure 4.
Predicted tube-notching paths for joining a 3 in base tube to a 1.5 in branch tube at a 60° intersection angle: (a) branch-tube-notching path with concentric axes; (b) base-tube-notching path with concentric axes; (c) branch-tube-notching path with a 0.5 in radial offset; (d) base-tube-notching path with a 0.5 in radial offset.
2.2. G-Code Generation
The discretization of the mathematical model with Equations (9) and (13) produces a set of N points, , representing the intersection profile. To transform these discrete coordinates into a continuous, machine-executable toolpath, an automated selection algorithm for G02 (CW) and G03 (CCW) interpolation is implemented.
The logic considers three consecutive points at a time:. First, the radius () of the unique circle passing through these three points is calculated (Figure 5a). Subsequently, to determine the direction of the arc, two vectors are defined in the XY plane:
Figure 5.
Schematic proposed procedure for (a) generating arcs using the three consecutive points of each notching path; (b) possible combinations of rotation directions.
The cross-product yields a vector perpendicular to the motion plane (along the Z-axis) and the sign of the scalar component indicates the convexity/concavity of the path segment, which dictates the G-code selection (Figure 5b).
An algorithm was developed to automate interpolation selection (G01, G02, G03) based on the vector cross-product of consecutive segments. This approach effectively handles the complex, bidirectional trajectories required for branch tube notching, with representative G-code outputs summarized in Table 2.
Table 2.
Example of G-code snippets obtained for the cutting trajectories of the branch tube (left) and the base tube (right).
To validate the conversion algorithm, a custom Python-based G-code (Python version 3.10) parser was developed to reconstruct and visualize the toolpath. The high fidelity between the commanded trajectory and the theoretical notch geometry (Figure 6) confirms the mathematical consistency of the proposed equations.
Figure 6.
Results of the match G-code toolpath with notching path equations.
2.3. Toolpaths
To implement the proposed toolpath methodology, this study proposes a machine with at least three axes. A representative configuration includes one rotary axis to rotate the pipe and two translational axes to position the torch. This architecture provides the kinematic flexibility required to generate a wide range of pipe–pipe intersection geometries while maintaining a mechanically robust and relatively simple structure. Figure 7a illustrates an example notching contour defined on the branch tube, whereas Figure 7b shows the corresponding unwrapped notching path in a planar representation, where the x-axis spans the full perimeter of the branch tube.
Figure 7.
Toolpath representation for torch motion over the branch tube: (a) Notching path defined on the cylindrical surface; (b) corresponding unwrapped (planar) representation of the executed notching path.
3. Design of the CNC Plasma
3.1. Prototype Architecture
A four-axis machine was designed to experimentally validate the proposed tool paths. The X-axis is a rotary axis that drives the chuck, enabling continuous 360° rotation of the pipe about its longitudinal axis. The Y-axis is a linear axis that provides longitudinal motion along the guides supporting the plasma torch. The Z-axis controls the vertical stand-off distance between the torch and the pipe surface. Finally, the A-axis is an auxiliary rotary axis that adjusts the torch inclination, enabling bevel cutting and allowing alignment with the local surface normal.
Table 3 summarizes the four motion axes, including their type and primary function within the manipulator.
Table 3.
Summary of the manipulator axes.
The A-axis is intended to generate simple bevels and is limited by the torch geometry. The general dimensions appear in Figure 8.
Figure 8.
Axes and overall dimensions of the machine.
3.2. Shaft Analysis
The most critical subsystem is the 1 in chuck shaft, because it supports the entire weight of the pipes. The analysis considers the heaviest case, a 5 in nominal-diameter, schedule-40 stainless steel tube with a length of 23.5 in.
Figure 9 illustrates a simplified diagram of the axis assembly analyzed via finite element analysis. It details the boundary conditions and the applied loads, including the weights of the heaviest chuck and pipe specimens, representing the most critical operating scenario for the structure. The variables and represent the vertical reaction forces at the support points of the axis bar.
Figure 9.
Simplified loading diagram and boundary conditions for the principal axis.
The magnitudes and parameters of the loads used in the numerical simulation for the axis are summarized in Table 4.
Table 4.
Summary of applied loads and parameters for the axis structural analysis.
The structural integrity was evaluated via finite element analysis (FEA), utilizing a wireframe model discretized with BEAM188 elements. To ensure numerical convergence in capturing stress gradients and nodal displacements, a uniform meshing strategy with a refined element size of 0.01 was implemented. This high-density discretization minimizes discretization errors, thereby validating the shaft’s structural response. The resulting stress distributions and displacement fields are illustrated in Figure 10.
Figure 10.
Contour results: (a) displacement contour along the Y-axis and (b) von Mises stress contour of the shaft.
Figure 10 shows the shaft’s displacement contour in the Y-direction and indicates a maximum deflection of 0.0254 mm, which is exceedingly small and can be considered negligible. Regarding the maximum von Mises stress, the analysis yields 10.6 MPa.
The shaft material is AISI 1045 steel with a yield strength of 530 MPa; therefore, the design does not reach yielding, and failure does not occur.
The plasma-torch carriage uses HIWIN HGH20 linear guides specifically designed for CNC machines, with a dynamic load capacity of up to 2762 kg. Since the moving assembly weighs less than 15 kg, the design operates well below this limit, and failure is not expected.
3.3. Structure Analysis
Figure 11 illustrates the frame’s static loading scheme, with fixed boundary conditions applied to the four support legs. The structure was discretized using BEAM188 elements with a uniform element size of 0.05. The model simulates the most critical scenario—the carriage centered on the guides—by incorporating reaction forces through and , from the previous axis analysis. Additionally, and account for the gravitational weights of the Y-axis motor and the X-axis motor–reducer assembly, ensuring a rigorous validation of structural stiffness.
Figure 11.
Simplified loading diagram and boundary conditions for the main structure.
The magnitudes and parameters of the loads used in the numerical simulation for the structure are summarized in Table 5.
Table 5.
Summary of applied loads and parameters for the frame structural analysis.
Figure 12 and Figure 13 present the simulation results, illustrating the structural response of the assembly in terms of von Mises stress distribution and total nodal displacement, respectively.
Figure 12.
von Mises stress distribution in the machine structure.
Figure 13.
Contour plot of the resultant displacement magnitude for the machine structure.
Figure 12 indicates that the highest stresses are concentrated at the shaft-support region of the structure, where the maximum von Mises stress reaches 12.9 MPa under the applied loading conditions. The machine frame was fabricated from 14-gauge 1.5 in × 1.5 in square steel tubing and is modeled as ASTM A36 steel with a nominal yield strength of 250 MPa. Because the computed stress level is substantially below the yield limit, the design remains in the elastic regime and yielding-induced failure is not expected.
Figure 13 presents the resultant displacement field, showing that the maximum deflection occurs at the upper-left region of the structure near the attachment of one linear rail. The peak resultant displacement is 0.158 mm, dominated by the out-of-plane (Z-axis) component of 0.150 mm; the in-plane components remain below 0.025 mm along both the X and Y-axes. These displacements are sufficiently small and are not expected to compromise the performance or alignment of the linear guide system.
3.4. Motor Selection for the CNC Tube-Notching System
Selecting a motor with similar applications depends primarily on tube thickness and material, because these parameters constrain the feed-rate range required for plasma cutting. The cutting source used in this study is a Miller Spectrum 875, Miller Electric, Appleton, WI, USA, equipped with an XT60 torch (40–60 A), from the same manufacturer, which is rated for a thicknesses of 0.05–0.88 in and corresponds to recommended feed rates of approximately 254–11,557 mm/min, respectively. Accordingly, the drive motors must operate reliably across this velocity range while providing sufficient torque to accelerate and translate the payload (tube and fixture) without loss of steps.
Special consideration is given to the rotary (X) axis because the pulse-to-distance conversion varies with the tube perimeter. The motion controller commands the rotary axis in angular increments (steps or degrees), which are mapped to an equivalent linear displacement along the unwrapped tube circumference. Therefore, the controller requires a perimeter-dependent transformation to convert angle-per-pulse into linear motion; this conversion is implemented using the following relation:
Regarding the mechanical specifications, denotes the impulses per millimeter for the rotary axis, while represents the reduction ratio of the motor speed reducer. Additionally, the parameter characterizes the stepper motor’s degrees-per-pulse relationship, and specifies the diameter of either the branch or the base tube.
Equation (16) explicitly accounts for the presence of a reduction gearbox in the drive train when one is incorporated into the system.
4. Control System Architecture for the Prototype
The proposed system uses an STB4100, RATTMMOTOR, China control board, which supports up to four CNC-controlled axes. The maximum step-pulse frequency is 100 kHz, and the board is compatible with both servomotors and stepper motors. The system integration is centered around the STB4100 USB breakout board, as illustrated in Figure 14, which was configured using a free version of DrufelCNC. The free license supports up to 5000 lines of code, which is sufficient to validate the generated cutting trajectories. The STB4100 controller supports up to four stepper motors via their dedicated driver cards, with a regulated 12 V–24 V DC power supply providing power to the input channels. Notably, the spindle control channels have been repurposed to manage plasma activation, enabling the software to trigger the plasma torch during the cutting process. Furthermore, the interface facilitates manual positioning through an MPG handwheel and incorporates essential safety peripherals, including limit sensors and an emergency stop (E-stop) button.
Figure 14.
Basic connection diagram of the STB4100, RATTMMOTOR, China.
Since the prototype is intended to operate as a low-cost system, this work uses stepper motors instead of servomotors. Table 6 lists the motors used in the system.
Table 6.
Summary of the motors used.
5. Graphical User Interface for Cutting Definition
The Python-based GUI streamlines the tube-notching process by requiring only essential geometric inputs: pipe diameters, wall thickness, insertion angle, and axial alignment (concentric or offset). As illustrated in Figure 15, the interface supports G-code generation and includes a real-time path preview, allowing operators to verify the joint geometry before fabrication.
Figure 15.
Graphical interface for notching path generation: (a) branch notching path; (b) base notching path.
The developed program also incorporates cutting parameters recommended by the plasma power source manufacturer (Miller Spectrum 875, Miller Electric, Appleton, WI, USA), which are selected according to the pipe wall thickness, operating current, and material type. Figure 16 presents the interface tab dedicated to this function. In addition, the interface allows the user to specify an alternative cutting speed, if it is required.
Figure 16.
Interface section showing the cutting property configuration.
Finally, after the configuration is selected, the program generates and exports the corresponding G-code as a .txt file for execution on the CNC system.
Figure 17 presents the pseudocode describing the operation of the user interface developed in this investigation.
Figure 17.
Pseudocode for the user interface operation.
6. Experimental Setup and Test Procedure
The dimensions of the pipes used to test the designed machine and the methodology for G-code generation are shown in Table 7.
Table 7.
Pipes to test the notching trajectories.
To evaluate the utility and robustness of the proposed mathematical model, six arbitrary angles were randomly selected for experimental testing. These non-standard configurations were chosen to validate the algorithm’s performance across a diverse operational envelope. Specifically, the methodology encompasses a testing range of intersection angles spanning from 25° to 85°, integrated with six distinct pipe diameters to ensure broad applicability. The complete experimental test matrix is summarized in Table 8.
Table 8.
Notching properties.
To ensure precise geometric alignment within the chuck, longitudinal reference lines are marked around the pipe perimeter, matching the physical workpiece to the G-code’s zero-datum (Figure 18). The automated sequence utilizes M4/M5 commands for torch control, incorporating a 1.0 s dwell time (G04) to guarantee complete plasma arc penetration before the feed motion begins. Furthermore, the toolpath initiates with a 10 mm lead-in offset within the scrap section to prevent thermal piercing craters and preserve the integrity of the final joint geometry.
Figure 18.
Sectioned tube mounted on the proposed plasma-cutting machine.
To ensure conciseness and avoid visual redundancy, Figure 19 and Figure 20 illustrate representative examples of the 2D toolpath previews, mapped as unwrapped planar trajectories. Specifically, Figure 19 displays the developed notched profiles for the branch pipes, while Figure 20 shows the corresponding hole-path contours for the initial experimental configurations. During the physical trials, the cutting feed rate was calibrated according to material thickness, operating at 500 mm/min for the thickest pipes to ensure stable arc penetration, and at 750 mm/min for the remaining ones.
Figure 19.
Branch-notching path previews: (a) metric (55) to 3″ NPS 73°, (b) metric (55) to 3″ NPS 84.5° with offset radii of 15 mm and (c) 3″ NPS–4″ NPS 73.38°.
Figure 20.
Base-notching path previews: (a) metric (55) to 3″ NPS 73°, (b) metric (55) to 3″ NPS 84.5° with offset radii of 15 mm and (c) 3″ NPS–4″ NPS 73.38°.
The machining G-code was systematically generated through the custom interface and executed in real time using DrufelCNC software (version 1.21, DrufelCNC) for machine motion control. To demonstrate this workflow, Table 9 details a representative segment of the resulting sequence for a 4″ to 3″ NPS branch-base intersection cut at an arbitrary angle of 73.38°.
Table 9.
Example of notching-path G-code generated by the user interface.
7. Results
This section reports the pipe-notching results for each proposed case. Figure 21 and Figure 22 illustrate the intersection angle measured using a BOSCH PRO GLM 50-27, Robert Bosch GmbH, Gerlingen, Germany laser distance meter with ±0.2° of tolerance precision. The experimental design was structured to validate both primary scenarios of the proposed mathematical model: concentric intersections (zero offset) and laterally offset configurations (eccentric intersections).
Figure 21.
Notching pipe measurements: (a) metric (55) to 3″ NPS 73°, (b) metric (55) to 3″ NPS 84.5° with offset radii of 15 mm and (c) 3″ NPS–4″ NPS 73.38°.
Figure 22.
Notching pipe measurements: (a) 3″ NPS–4″ NPS 64.5° with offset radii of 10 mm, (b) metric (55) to 3″ NPS 28.2° and (c) metric (55) to 3″ NPS 82.5° with offset radii of 8 mm.
Figure 21, Figure 22, Figure 23, Figure 24 and Figure 25 indicate that the prototype achieves consistent performance across experimental trials, producing tube intersections that closely match the prescribed notch geometries. Specifically, the profiles in Figure 21, Figure 23, Figure 24 and Figure 25 illustrate the highest correlation with the theoretical dimensions summarized in Table 8. Conversely, the configurations in Figure 22 exhibit a minor dimensional deviation of ± 0.1°. This marginal offset is acceptable for the prototype’s application scale and is primarily due to mechanical misalignment tolerances during the physical mounting and clamping of the tubes. Ultimately, these empirical results confirm that the kinematic configuration and the analytical trajectory-generation workflow yield the positional repeatability required for precise tube fit-up.
Figure 23.
Notching pipe measurements: (a) metric (29)–3″ NPS 30.4°, (b) metric (29)–3″ NPS 54.3° and (c) metric (29)–3″ NPS 70.5°.
Figure 24.
Notching pipe measurements: (a) 2″ NPS–3″ NPS 35.6°, (b) 2″ NPS–3″ NPS 43.2° and (c) 2″ NPS–3″ NPS 77.5°.
Figure 25.
Notching pipe measurements: (a) 1 1/4″ NPS–3″ NPS 27.5°, (b) 1 1/4″ NPS–3″ NPS 48.9° and (c) 1 1/4″ NPS–3″ NPS 83.5°.
Figure 26 shows the base-tube cuts produced to join 55 mm diameter pipes to an 89.6 mm diameter pipe under both concurrent (conventional) and non-concurrent (offset notching) conditions at 73.38°. A frontal view of the base tube is included to highlight the geometric differences between concurrent and non-concurrent.
Figure 26.
Different views: (a) base tube holes; (b) concurrent tubes for metric (55) to 3″ NPS 73°; (c) non-concurrent tubes with radii of 15 mm for metric (55) to 3″ NPS–4″ NPS 73.38°.
Figure 27 illustrates a simple bevel produced by the machine and other cutting examples.
Figure 27.
Beveling and cutting examples: (a) simple bevel at 60.1° 3″ NPS; (b) pipe with bevel over base tube; (c) non-concurrent and concurrent notching pipes.
Figure 26 and Figure 27 further demonstrate that plasma cutting generates well-defined intersection profiles with a good surface finish and minimal burr formation. The results also show that the four-axis configuration enables the fabrication of bevel features, which becomes particularly relevant for thicker-walled tubes where beveling improves fit-up and facilitates subsequent joining operations.
Overall, these experiments successfully validate the proposed mathematical model and its direct conversion to G-code. Moreover, the prototype-based verification demonstrates that the approach can be scaled and adapted to different tube sizes, cutting capacities, and manufacturing requirements according to the intended application.
8. Challenges, Limitations, and Research Perspectives
While the proposed mathematical model and the CNC prototype demonstrate a robust approach for tube notching, certain technical boundaries and opportunities for further development have been identified.
Regarding the cutting process, the current toolpath generation does not yet incorporate automated plasma beam (kerf) compensation. While this can be addressed through experimental trial-and-error and manual adjustments, it remains a point for optimization.
Concerning control hardware, stepper motors exhibit inherent torque and speed limitations compared to more robust servomotors. Consequently, the current prototype is intended for simple, experimental testing. For deployment in industrial environments, the system can be modified and scaled according to the specific material and pipe requirements of the application.
Additionally, a current limitation of the software interface is the requirement to manually update the pulses-per-millimeter settings whenever the tube diameter or geometry changes. Work is underway to automate these calculations within the control software to improve the user workflow.
Despite these prototype-level limitations, the system’s scalability for industrial-grade applications is highly promising. The trajectory generation algorithm has proven to be exceptionally reliable. By integrating the presented axis configuration and beveling system with reinforced hardware—such as high-torque actuators and a high-stiffness frame—the methodology can be optimally scaled for heavy-duty industrial manufacturing.
Future research will be directed toward the following areas:
Mathematical Optimization: Integration of automated kerf-compensation logic directly into the analytical trajectory equations.
Hardware Enhancement: Improving the structural stiffness of the frame to accommodate industrial-scale dynamical loads and high-speed operations.
Beveling Automation: Leveraging the capabilities of the integrated fourth axis to fully automate bevel-cutting operations based on the material thickness input. This will significantly enhance process efficiency by enabling single-stage weld edge preparation.
Advanced Control: The tube alignment process for the developed prototype is highly straightforward, exhibiting a maximum geometric deviation of only 0.5 mm, which yielded highly efficient cutting results. For applications involving more pronounced tube imperfections or variations, a more robust control system could be implemented to dynamically adjust the torch height during the process. This automated adaptation is critical for maintaining optimal operating conditions, particularly when utilizing plasma-cutting systems.
9. Conclusions
The proposed mathematical model is successfully validated through experimental testing, confirming its ability to generate notching paths in a simple form directly and rapidly from user-defined geometric and process parameters, including arbitrary joint angles and offset configurations. By eliminating manual path layout and iterative fitting adjustments, the approach reduces setup effort and overall operation time while improving process consistency.
The Python-based interface designed in this study reliably performs the equation-to-G-code conversion required for coordinated multi-axis motion, and the reconstructed and executed trajectories demonstrate accurate tracking of the intended notching path. Experimental cuts produced with the four-axis CNC plasma prototype exhibit high dimensional accuracy, good surface finish, and low burr formation. In addition, the system enables the generation of simple bevels without demanding complex toolpath strategies.
Compared with commercially available pipe-notching solutions, the proposed system achieves competitive performance at a substantially lower cost. Future work will extend beveling capability by implementing continuous, synchronized control of torch height and inclination to improve bevel surface quality and to produce fully continuous bevels. Overall, the demonstrated accuracy, repeatability, and automation support the scalability of the methodology and its adaptation to different tube sizes, cutting capacities, and manufacturing requirements.
Author Contributions
Conceptualization, V.M.V.-G. and I.M.-R.; methodology, V.M.V.-G. and J.A.O.-C.; software, V.M.V.-G. and J.A.O.-C.; validation, V.M.V.-G., I.M.-R. and J.A.O.-C.; formal analysis, V.M.V.-G.; investigation, V.M.V.-G.; resources, V.M.V.-G., S.S.-R. and F.J.T.; data curation, V.M.V.-G., S.S.-R. and M.E.G.-R.; writing—original draft preparation, V.M.V.-G.; writing—review and editing, I.M.-R., J.A.O.-C. and F.J.T.; visualization, V.M.V.-G. and I.E.-T.; supervision, M.E.G.-R. and I.M.-R.; project administration, I.E.-T.; funding acquisition, I.M.-R. and V.M.V.-G. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by CONAHCYT doctoral scholarship No. 1263678 and by the University of Guanajuato through the “POA 2025 Mechanical engineering department” and “POA 2025 Electronic Engineering Department” programs.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Papulová, Z.; Gažová, A.; Šufliarský, Ľ. Implementation of Automation Technologies of Industry 4.0 in Automotive Manufacturing Companies. Procedia Comput. Sci. 2022, 200, 1488–1497. [Google Scholar] [CrossRef] [Scilit]
- Soori, M.; Jough, F.K.G.; Dastres, R.; Arezoo, B. Robotical Automation in CNC Machine Tools: A Review. Acta Mech. Autom. 2024, 18, 434–450. [Google Scholar] [CrossRef] [Scilit]
- Newman, S.T.; Nassehi, A.; Xu, X.W.; Rosso, R.S.U.; Wang, L.; Yusof, Y.; Ali, L.; Liu, R.; Zheng, L.Y.; Kumar, S.; et al. Strategic Advantages of Interoperability for Global Manufacturing Using CNC Technology. Robot. Comput.-Integr. Manuf. 2008, 24, 699–708. [Google Scholar] [CrossRef] [Scilit]
- Xu, L.; Zou, Y.; Lu, Y.; Chang-Richards, A. Automation in Manufacturing and Assembly of Industrialised Construction. Autom. Constr. 2025, 170, 105945. [Google Scholar] [CrossRef] [Scilit]
- [Hot Item] 1000–4000 W Round Tube Pipe Fiber Laser Cutter/Cutting Machine with Automatic Loading/Unloading Laser Machine Laser Cutting Machinery. Available online: https://cnclaser.en.made-in-china.com/product/FKLQZtXywNpS/China-1000-4000W-Round-Tube-Pipe-Fiber-Laser-Cutter-Cutting-Machine-with-Automatic-Loading-Unloading-Laser-Machine-Laser-Cutting-Machinery.html (accessed on 20 January 2026).
- Company Overview—Shandong Soar Machinery Co., Ltd. Available online: https://soarmachinery.en.alibaba.com/ (accessed on 20 January 2026).
- PN-1/2A Accesorio Para Taladro Corte Boca de Pescado en Tubo Hasta 2” Con Base Para Operación Vertical u Horizontal Kayka Industrial. Available online: https://www.kaykaindustrial.com.mx/products/kaka-pn-1-2a-base-corte-boca-de-pez-para-muescas-en-tubos (accessed on 20 January 2026).
- Mateo, A.A., Jr.; Magallanes, J.P.; Euldan, J.A.L.; Bendanillo, A.A. Manual Pipe Beveling Machine: An Innovative Technology Research in Preparing Weld Materials. Sci. Educ. 2024, 5, 593–617. [Google Scholar]
- Mozaffari, S.; Heibati, B.; Jaakkola, M.S.; Lajunen, T.K.; Kalteh, S.; Alimoradi, H.; Nazari, M.; Karimi, A.; Jaakkola, J.J.K. Effects of Occupational Exposures on Respiratory Health in Steel Factory Workers. Front. Public Health 2023, 11, 1082874. [Google Scholar] [CrossRef] [Scilit]
- Li, K.; Aghazadeh, F.; Hatipkarasulu, S.; Ray, T.G. Health Risks from Exposure to Metal-Working Fluids in Machining and Grinding Operations. Int. J. Occup. Saf. Ergon. 2003, 9, 75–95. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Hoang, T.; Floyd, E.L.; Regens, J.L. Characterization of Particulate Fume and Oxides Emission from Stainless Steel Plasma Cutting. Ann. Work Expo. Health 2017, 61, 311–320. [Google Scholar] [CrossRef] [Scilit]
- Weman, K. Welding Processes Handbook, 2nd ed.; Woodhead Pub: Oxford, UK; Philadelphia, PA, USA, 2012; ISBN 978-0-85709-510-7. [Google Scholar]
- Ilii, S.M.; Coteaţă, M. Plasma Arc Cutting Cost. Int. J. Mater. Form. 2009, 2, 689–692. [Google Scholar] [CrossRef] [Scilit]
- Írsel, G.; Güzey, B.N. Comparison of Laser Beam, Oxygen and Plasma Arc Cutting Methods in Terms of Their Advantages and Disadvantages in Cutting Structural Steels. J. Phys. Conf. Ser. 2021, 2130, 012022. [Google Scholar] [CrossRef] [Scilit]
- Jamsari, N.S.; Lim, Z.X.; Lim, C.S.; You, K.Y.; Tan, M.L.P. The Optimization of Cut Surface for Computer Numerical Control Plasma Cutting Machine. PaperASIA 2024, 40, 157–164. [Google Scholar] [CrossRef] [Scilit]
- Sawdatkar, P.; Parmar, V.; Singh, D. Review of Plasma Arc Cutting Process and Its Comparative Analysis with Laser Beam Machining Process in Terms of Energy Consumption. Mater. Manuf. Process. 2024, 39, 1163–1186. [Google Scholar] [CrossRef] [Scilit]
- Mohamed, A.; Loukas, C.; Vasilev, M.; Sweeney, N.; Dobie, G.; Macleod, C. Ultrasonic-Driven Adaptive Control of Robotic Plasma Arc Cutting for Bevel Applications. Int. J. Adv. Manuf. Technol. 2025, 137, 3783–3797. [Google Scholar] [CrossRef] [Scilit]
- Kudrna, L.; Fries, J.; Merta, M. Influences on Plasma Cutting Quality on CNC Machine. Multidiscip. Asp. Prod. Eng. 2019, 2, 108–117. [Google Scholar] [CrossRef] [Scilit]
- Subhan, A.; Shankara, M.; Hemanth, H.S.; Kishore, K.; Krishnamurthy, L.; Rakesh, M. Design, Development and Simulation of CNC Plasma (or Oxy-Fuel) Cutting Gantry. IJRESM 2020, 3, 422–426. [Google Scholar]
- Liza, F.P.; Yao, C.B.; Luces, J.L.; Manabat, V.B.E.; Baldovino, R.G. Development of a Low-Cost Controller for the 3-Axis Computer Numerically-Controlled (CNC) Plasma Cutting Machine. Proc. World Congr. Eng. Comput. Sci. 2015, 1, 372–376. [Google Scholar]
- Lermen, R.T.; Dos Passos, R.M.; Lisboa, C.P.; Pilotto, T.L.; Silva, R.D.A. Development of a CNC Plasma Cutting Machine: Design and Construction for Didactic Purposes. Rev. Arquitetura IMED 2023, 12, 100. [Google Scholar] [CrossRef] [Scilit]
- Zain, K. Electrical Design and Construction of 3 Axis CNC Plasma Metal Cutting Machine. J. Tek. Mesin Dan Mekatronika J. Mech. Eng. Mechatron. 2023, 8, 121–134. [Google Scholar]
- Suwanratchatamanee, K.; Yap, H.E.; Sawada, H.; Hashimoto, S. A Novel Plasma Cutting Articulated Robot System with Torch Angle Sensor and Its Applications in Industry. In Proceedings of the 2025 IEEE International Conference on Mechatronics and Automation (ICMA), Beijing, China, 3–6 August 2025; IEEE: New York, NY, USA, 2025; pp. 222–227. [Google Scholar]
- Križanić, V.; Opetuk, T.; Trstenjak, M.; Cajner, H. Optimisation of Parameters for Metal Part Cutting on a CNC Plasma Cutting Machine. Teh. Glas. 2024, 18, 122–128. [Google Scholar] [CrossRef] [Scilit]
- Shi, L.; Song, R.; Tian, X. Plasma Beam Radius Compensation-Integrated Torch Path Planning for CNC Pipe Hole Cutting with Welding Groove. Int. J. Adv. Manuf. Technol. 2017, 88, 1971–1981. [Google Scholar] [CrossRef] [Scilit]
- Keraita, J.N.; Kim, K.-H. PC-Based low-cost cnc automation of plasma profile cutting of pipes. ARPN J. Eng. Appl. Sci. 2007, 2, 1–7. [Google Scholar]
- Liu, Y.; Tang, Q.; Tian, X.-C. Model-Driven Path Planning for Robotic Plasma Cutting of Branch Pipe with Single Y-Groove Based on Pipe-Rotating Scheme. Adv. Manuf. 2024, 12, 94–107. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.


























