1. Introduction
As the level of robotisation continues to rise, so does the range of technological applications for robotic systems. One notable area of application is conventional subtractive manufacturing, where industrial robots have proven particularly useful in the manufacturing of large and bulky components. Robotic machining offers an efficient solution for the production of complex parts from materials such as polymers, composites and aluminium alloys. Robots carrying processing heads (end-effectors) can perform a variety of operations, including milling, grinding, deburring and other multi-axis processes, with high repeatability and flexibility.
The primary advantages of using robots in machining are their extensive working range and lower acquisition cost compared to conventional CNC machines. However, due to their relatively low static stiffness and high dynamic compliance, industrial robots are generally not employed in high-power machining applications, where it is difficult to consistently achieve the required precision [
1]. To address these limitations, optimisation methods are being developed to enhance the functional characteristics of robotic control. In particular, advanced optimisation algorithms are being integrated into the pre-processing phase of robot programming to improve machining accuracy.
Brunete et al. [
2] proposed an advanced model for robotic stiffness that accounts for the torsional stiffness of individual robot sub-joints, with sub-stiffness values derived from static stiffness measurements. They also introduced a cutting process model that includes the calculation of cutting forces and machining stability. Using these two models in offline toolpath optimisation enables the adjustment of the target end-effector coordinates to achieve a compensated machining position, thereby enhancing accuracy. In addition, advanced calibration techniques—such as those employing machine learning and neural networks for geometric error correction—have been shown to further improve robotic control system accuracy, as demonstrated by Wang et al. [
3]. A notable trend in robotic machining involves the processing of thin-walled components, where the robot functions as a support device to increase overall system stability and accuracy. This concept has been validated in both machine tool applications, as described by Ozturk et al. [
4], and dual-robot cooperative systems, where one robot is equipped with a milling spindle and the other with a support mechanism, as detailed by Zhang et al. [
5]. An unconventional but innovative approach involves the use of two robots machining opposite to each other, as presented by Wang et al. [
6]. This setup incorporates vibration analysis and dynamic modelling to enhance machining stability.
Robotic operation optimisation must also address vibration suppression, which is essential for achieving high-quality surface finishes. Vibrations can be mitigated through the selection of appropriate cutting parameters, improved tool clamping and the use of passive or active damping systems on the robot end-effector, as explored by Yuan et al. [
7] and Sun et al. [
8]. Strategies for optimising spindle speed to eliminate chatter and enhance process stability—which is particularly important given the high dynamic compliance of robots—are discussed by Cordes et al. [
9] and Xin et al. [
10]. Low-frequency oscillations, typically in the range of 10–20 Hz, have been analysed using various approaches, as presented by Wu et al. [
11] and Busch et al. [
12]. Liu et al. [
13] proposed a process model for chatter detection in robotic machining, along with an optimisation algorithm that adjusts the robot’s joint configuration to improve the surface roughness of the machined part. Liu et al. [
14] further developed an extended method for identifying self-excited chatter in robotic machining. In this approach, the tool–workpiece system is modelled as a mass–spring system, where the maximum allowable depth of cut is dependent on the robot’s kinematic configuration. More compliant configurations result in reduced stability and a lower allowable depth of cut.
Six-axis industrial robots possess one additional degree of freedom—often referred to as a redundant degree of freedom—beyond what is required for five-axis machining. This redundancy allows for multiple kinematically valid joint configurations during motion, enabling the selection of specific joint rotations based on the machining context, as discussed by Zhu et al. [
15]. While the primary use of this redundancy in robotic control is typically to avoid collisions, optimisation algorithms have been developed to exploit specific joint configurations to increase static stiffness. This, in turn, reduces the deviation between the actual and desired end-effector positions during machining operations, as shown by Chen et al. [
16]. A key approach involves utilising the redundant rotational degree of freedom of the end-effector about its own axis to identify configurations that maximise overall system stiffness while maintaining the relative position between the tool and the workpiece. This concept is demonstrated in studies by Xiong et al. [
17] and Schneider et al. [
18]. A similar method was proposed by Guo et al. [
19], who focused on increasing stiffness in the direction of the primary cutting force during the drilling of large aerospace components. Kratena et al. [
20] implemented a genetic algorithm to find the best settings of the redundant degree of freedom so that the workpiece’s optimal position relative to the robot has the highest stiffness. Comparative studies of static stiffness and dynamic compliance models, such as the study by Cvitanic et al. [
21], suggest that when machining parameters are appropriately set, the performance differences between these models are minimal, provided that the robot’s natural frequency remains sufficiently distant from the excitation frequency acting on the end-effector. Ratiu et al. [
22] presented additional applications of optimisation strategies leveraging the robot’s redundant degree of freedom, including techniques aimed at maximising productivity or minimising unnecessary reversal movements. Erdős et al. [
23] highlighted the use of the redundant degree of freedom in robotic systems for optimising control strategies aimed at reducing production cycle time in laser welding applications. Their proposed optimisation algorithm identifies joint rotation configurations that minimise overall production time. Similarly, Flacco et al. [
24] demonstrated how actuator accelerations and torques can be effectively managed by optimising the velocity profiles of individual robot axes. This approach may also be applied to energy optimisation by minimising abrupt changes in acceleration and torque.
A study by Garcia et al. [
25] investigates key contributors to energy consumption in robotic operations, reporting, for example, that up to 28% of a robot’s total energy use can occur during idle states. Certain robot postures are associated with higher energy demands due to inertia and gravitational effects; hence, it is advisable to minimise servo motor activation time when a robot is stationary. Khalaf et al. [
26] proposed a novel approach to robotic structure design based on regenerative drive mechanisms, which utilise ultracapacitors to store and recover energy. Their work introduces new control and modelling techniques that enhance energy regeneration efficiency and facilitate direct energy transfer between robot joints. Finally, Soori et al. [
27] provided a comprehensive overview of the key factors involved in developing energy-efficient robotic systems. Within the context of NC programme design, they emphasised the importance of minimising unnecessary motions, optimising toolpaths and controlling movement speeds. The use of simulation tools and machine learning algorithms was highlighted as an effective means of identifying energy-efficient toolpaths for end-effector motion relative to the workpiece. Feng et al. [
28] presented an approach that leverages the multiple possible joint rotation configurations available to industrial robots during point-to-point motion in manipulation tasks. By optimising joint rotations and applying global task scheduling, the method enables more efficient energy utilisation in cyclic industrial operations. The proposed strategy is adaptable to real-world production environments and holds potential for integration into production planning software. In a related study, Zhou et al. [
29] developed a comprehensive model of energy consumption for robotic laser operations, incorporating both robotic motion and process-specific energy requirements. The model was subsequently simplified to operate within a defined range of robot feed rate, enabling accurate energy consumption predictions while reducing computational complexity. Despite this simplification, the model remains detailed and includes parameters such as joint friction coefficients. An alternative to physics-based modelling is the use of data-driven approaches, which apply machine learning techniques to estimate energy consumption. The key advantage of these models is that they do not require detailed knowledge of the physical parameters of each robotic component. However, these methods depend on the availability of sufficient training data. An example of this approach was provided by Zhang et al. [
30], who proposed a machine learning model aimed at identifying optimal robot axis operating parameters such as velocities and accelerations to minimise energy consumption without the need for complex mathematical modelling of robot kinematics and dynamics.
As demonstrated by the reviewed literature, there are several principal approaches for optimising robot control. Most of the work is focused on increasing stiffness during machining. Some papers also deal with optimising control to reduce energy consumption by utilising the robot’s sixth (redundant) degree of freedom to identify optimal joint configurations or minimise energy consumption during point-to-point movements. However, when a robot is required to follow a predefined toolpath continuously—such as during manufacturing operations where the end-effector has to maintain precise motion relative to the workpiece—existing optimisation strategies that exploit redundancy for energy reduction are generally not applicable as they often assume flexibility in the toolpath itself.
To address this gap, this paper proposes a discretisation-based algorithm that utilises the robot’s redundant degree of freedom to identify a joint rotation configuration that minimises energy consumption during continuous toolpath processing operations. The aim is to develop the algorithm to be applicable to any industrial six-axis robot, regardless of the processing technology used (or the specific end-effector used). The prerequisite is that the robotic operation with the specific end-effector allows one to change its orientation around its axis.
4. Conclusions
This paper presented a novel approach for exploiting redundant degrees of freedom in six-axis robot applications for manufacturing operations. The proposed method is based on a simplified calculation of an energy consumption criterion for robotic manufacturing processes. This criterion is integrated into a discretisation algorithm that processes the toolpath and automatically selects the optimal rotation angle of the effector around its axis, such that the specific rotations of the robot’s individual axes (joints) minimise power consumption during the manufacturing operation. The algorithm searches for the optimal angle for each tool pass along the entire toolpath in cases of “zig,” “zag” or “zig-zag” operations, excluding any unused traversal sections of the toolpath.
Due to the algorithm’s simplicity, its implementation is straightforward and was incorporated as an additional function within the postprocessor when generating NC programmes from the CAM system for the robot. It was verified by measuring power consumption directly from the robot. The results indicate that the discretisation algorithm does not yield significant benefits for three-axis manufacturing operations. However, substantial energy savings were observed in multi-axis toolpath operations, with a 7.5% reduction in total energy consumption when using the NC programme generated by the proposed algorithm compared to the default NC programme obtained conventionally from the CAM system.
Consequently, the algorithm is applicable in various production applications, including operations performed by end-effectors with rotary tools (spindles), such as machining, polishing and grinding, as well as non-rotary tools (heads) involved in additive technologies (e.g., welding, large-format 3D printing), laser processing, waterjet cutting and certain part manipulation tasks. The presented solution offers an innovative approach that achieves significant power savings while maintaining user-friendliness, making it readily applicable to many robot-based manufacturing operations.
With regard to the practical implementation of the proposed optimisation method, it is essential to consider limitations related to potential collisions. A key concern is the possible collision between the end effector and the workpiece, which may occur due to the effector’s specific orientation around its axis. However, collision detection is a standard task for technologists working with CAM systems and is routinely incorporated into the NC programme preparation process, particularly in robotic applications. In practice, once a collision is detected, the technologist can select an alternative axis configuration from the ranked list of robot individual configurations generated by the optimisation (from least to most energy-intensive). While this step could be automated (since some CAM systems can generate collision detection reports), its reliability depends on the accuracy of the 3D kinematic models of the robot, end effector and any fixtures involved. In real-world scenarios, these may not exactly match the modelled geometry (especially with regard to the fixtures). Therefore, it remains advisable for the technologist to manually perform the final check in order to account for any potential discrepancies in the visualisation.
Future research may focus on the development of a user-friendly add-on for robot postprocessors, enabling the implementation and selection of various robot types from a predefined library. Such a tool would facilitate broader adoption of the proposed method among robot users. Additionally, further enhancement of the method could involve the variation of the redundant angle C along the process phase of the technological operation. This feature is currently not included due to its high computational complexity.