Next Article in Journal
Machine Learning and Regression-Based Multimodal Intelligent Injury Severity Modeling of Median Crossover Crashes
Previous Article in Journal
Parallel Axial Attention and ResNet-Based Bearing Fault Diagnosis Method
Previous Article in Special Issue
Contact-Aware Diffusion Sampling for RRT-Based Manipulation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Integration of Hybrid Prefilter and Corner Trajectory Planning for Simultaneously Suppressing Residual Vibration and Reducing Cornering Error of SCARA Robots

1
Department of Mechanical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
2
Institute of Mechatronic Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
*
Author to whom correspondence should be addressed.
Electronics 2026, 15(4), 900; https://doi.org/10.3390/electronics15040900
Submission received: 31 December 2025 / Revised: 13 February 2026 / Accepted: 20 February 2026 / Published: 23 February 2026
(This article belongs to the Special Issue Intelligent Perception and Control for Robotics)

Abstract

During high-speed cornering, the motion accuracy and efficiency of SCARA robots are often compromised by residual vibrations and cornering errors. Conventional control methods often fail to address these two coupled problems simultaneously. Therefore, this study developed an integrated design strategy to simultaneously suppress residual vibrations and restrict cornering errors for improving the cornering performance of the SCARA robot. The core of this design strategy is to develop a hybrid prefilter via the convolution of an input shaper and a finite impulse response filter, thereby creating a prefilter with robust, high-performance residual vibration suppression. Subsequently, to accommodate the asymmetric acceleration and deceleration generated by the hybrid prefilter, this study developed a systematic corner trajectory planning method that can calculate the cornering trajectory parameters based on a preset value of the cornering error to restrict the cornering error and ensure the cornering accuracy of the SCARA robot. Experimental results indicated that under the condition of a restricted cornering error, the developed hybrid prefilter can reduce residual vibration by >85%. Thus, the hybrid prefilter designed with the corner trajectory planning method can mitigate the coupled problem of residual vibration and cornering error, suppressing the residual vibration without compromising cornering accuracy.

1. Introduction

SCARA robots are widely used in point-to-point motion applications such as material handling and part assembly. In particular, owing to their rapid motion and compliance characteristics, cornering applications of SCARA robots have attracted significant attention in manufacturing and machining industries. However, because of the inherent mechanical structure of a SCARA robot, when its end effector performs cornering, the residual vibration and cornering accuracy of the end effector become critical issues. With the increasing demand from industry for higher motion speed and accuracy, residual vibration suppression and cornering control of the end effector have become important topics in the cornering control of SCARA robots.
Input shaping is a feedforward control technique that is widely used to reduce residual vibrations in robotic systems. The core principle involves convolving a command signal with a sequence of impulses known as an input shaper. This process creates a shaped command that guides the robot to its desired position by reducing the residual vibrations after the movement is complete. The simplest form is the zero-vibration (ZV) shaper. Additionally, a more robust version—the zero-vibration-derivative (ZVD) shaper—has been developed to handle uncertainties in the system’s residual vibration properties. Although input shaping is effective, it faces challenges in systems with complex, time-varying, and multimodal vibrations. For example, for robots whose dynamic properties depend significantly on their configuration, a fixed-input shaper is suboptimal. Thomsen et al. [1] presented a method for identifying and mapping the dominant vibration modes of a robot and then applied a multimode fractional-delay time-varying input-shaping technique. This allows the shaper parameters to be updated in real time based on the configuration of the robot, reducing residual vibration. Pham et al. [2] implemented a time-varying input shaper in a two-stage controller, where a recursive Newton–Euler algorithm updated the feedforward link inertia during motion.
To address highly complex and time-varying dynamics that are difficult to model analytically, several studies have proposed combining input shaping with machine learning. For instance, İlman et al. [3] use a C4.5 decision-tree algorithm to generalize the parameter tuning for a multi-link manipulator, accurately predicting vibration levels. Newman et al. [4] employed an artificial neural network and transfer learning to predict a robot’s natural frequency in any pose, even with varying payloads, experimentally achieving vibration reduction. Zhang et al. [5] proposed a deep reinforcement learning-based method to optimize the input-shaper parameters by interacting directly with a robot, thereby avoiding complex modeling. Input shaping is often integrated directly into the trajectory planning stage. Zhang et al. [6] proposed a time-optimal and smooth trajectory planning algorithm that uses input shaping to smooth the trajectory and suppress vibrations while compensating for the inherent signal delay. Zhang et al. [7] adopted input shaping with a time-delay compensation strategy for a 3-CRU parallel robot, improving positioning accuracy while ensuring a fixed running time. Zou et al. [8] proposed a learning exponential jerk trajectory planning method that uses an iterative learning strategy to adjust the parameters of an exponential filter online, achieving superior residual vibration suppression compared with standard ZV and ZVD shapers. Although input shaping is a feedforward technique, it can be combined with feedback controllers. Kumar et al. [9] designed a hybrid controller that integrated command shaping with a proportional–derivative (PD) feedback controller for a two-link flexible manipulator. The PD controller ensured accurate trajectory tracking, whereas the input shaper suppressed vibrations. Pham et al. [2] used a two-stage controller, where input shaping functioned as the feedforward component and a generalized Smith predictor, proportional–integral–derivative compensator, and feedback low-pass filter were used in the second stage to improve disturbance rejection. Although numerous studies indicate that input shapers can effectively suppress residual vibration of the end effector, few have addressed the cornering errors that arise during continuous-path corner motions. In other words, while input shaping reduces residual vibration, it does not affect the variation in cornering error, which can limit the cornering accuracy of the end effector.
Cornering control is critical for the contour motions of mechanical systems because it balances motion speed with accuracy. A machine must decelerate to a complete stop at sharp corners to maintain accuracy, which significantly increases the motion time. However, maintaining high speed causes cornering errors and induces residual vibrations, degrading the motion accuracy. Therefore, effective cornering control smooths the motion path, allowing the machine to navigate corners quickly while minimizing cornering errors and residual vibrations. Diverse cornering control methods have been developed for CNC machine tools; for instance, several advanced interpolation algorithms have been developed to improve cornering performance using finite impulse response (FIR) filters [10,11,12,13,14,15]. However, few methods have focused on robotic systems to address discontinuities at the corners of motion paths, which can cause residual vibrations and degrade motion performance.
Several studies have been conducted on the development of algorithms to smooth the motion paths of robotic manipulators. Sun et al. [16] introduced an online tool-path smoothing algorithm for 6R robot manipulators that uses an FIR filter interpolation method. This approach achieved geometric smoothness and motion interpolation in a single step. A key contribution of this study is a simplified method to constrain the joint velocity and acceleration by directly establishing the relationship between the joint motion and tool motion, thus avoiding complex inverse kinematics. A tool-path smoothing algorithm for a 6R manipulator was proposed by Sun et al. [17], which considers pose-dependent dynamics by designing asymmetric FIR filters. This method aims to fully utilize the joint drive capability by establishing a simplified dynamic model that accounts for both tangential and joint dynamic constraints. In contrast to FIR filter-based methods, Peng et al. [18] presented an analytical method for the decoupled local smoothing of linear paths. This method smooths the tool position path in the reference frame and the tool orientation in the rotation parameter space using quintic B-splines to achieve G3 continuity. A notable feature is that the orientation smoothing error is analytically constrained, and the resulting smooth-orientation path is invariant with the selection of the reference frame. Zhang et al. [19] proposed a transition method based on Bezier curves for trajectory planning in the Cartesian space to smooth the trajectory between two adjacent curves. This method guarantees G2 continuity and uses cubic and quartic Bezier curves to minimize calculations. The paper discusses transitions between lines, a line and a circle, and two circles. Zhu et al. [20] proposed a trajectory planning method for delta parallel robots that combines Cartesian and joint spaces. The trajectory of the end effector is planned in the Cartesian space and then mapped to the joint space, where a fifth-order B-spline curve is used for smoothing. This approach was shown to reduce the peak trajectory tracking error and peak torque change.
Several studies have focused on interpolation techniques and corner smoothing to ensure continuous and smooth motion. Li et al. [21] presented an interpolation design using the velocity-profile overlap (VPO) method, with an S-shaped profile for each line segment. This approach allows specified corner-tolerance constraints to be satisfied by defining an overlapping time parameter. The proposed VPO method demonstrated higher accuracy and lower cycle time than conventional methods involving acceleration and deceleration (ACC/DEC) after interpolation. Tajima et al. [22] proposed a kinematic tool-path smoothing algorithm for six-axis industrial machining robots. Their approach achieved linear interpolation in the workspace by decoupling the position commands into Cartesian coordinates and the orientation commands into spherical coordinates. The kinematic local corner smoothing method generates smooth trajectories at the corners using a three-segment constant-jerk profile. Although numerous studies have indicated that existing cornering control methods can effectively limit the cornering error by considering the motion characteristics of the manipulator, the prevalent use of symmetric trajectory planning and filter-parameter design constrains the cornering motion of the end effector. Furthermore, the significant residual vibrations induced during cornering have received little attention in the literature. Thus, the development of cornering control methods capable of suppressing residual vibrations in the end effector during high-speed cornering is necessary.
When a SCARA robot performs cornering, a change in the direction of motion is often required. This produces an impact-like effect on the mechanical structure of the robot, and the end effector generates residual vibrations after the cornering motion. Although an input shaper can effectively suppress residual vibration, it produces a discontinuous and asymmetric cornering acceleration and deceleration process, and the cornering motion is prone to generating a cornering error due to an inappropriate cornering speed. Therefore, the residual vibration suppression and cornering-error constraint for the cornering motion of a SCARA robot’s end effector are not independent problems but are intrinsically related. Accordingly, this study integrates residual vibration suppression and cornering-error constraint to develop a hybrid prefilter design and corner trajectory planning method applicable to the cornering of a SCARA robot’s end effector.
In this study, a hybrid prefilter that integrates the advantages of an input shaper and an FIR filter is proposed, which enables the end effector of the SCARA robot to more effectively suppress residual vibration when performing cornering. The step response, frequency response, and sensitivity curves of the undamped natural frequency and damping ratio for the input shaper, FIR filter, and hybrid prefilter were compared and analyzed. It was concluded that the hybrid prefilter achieves the best balance among suppressing residual vibration, improving system response, and improving robustness. Moreover, this study designed a corner trajectory planning method that considers the asymmetric cornering acceleration and deceleration processes caused by a hybrid prefilter. A systematic approach was employed to analyze the relationship between the cornering time and cornering error and to design cornering trajectory parameters, such as the cornering time and delay time, for restricting the cornering error and balancing the performance and accuracy of the cornering motion. Therefore, by integrating the hybrid prefilter design and corner trajectory planning method developed in this study, it is possible to not only suppress residual vibration but also restrict the cornering error when a SCARA robot’s end effector performs cornering. Experiments were performed on a SCARA robot test bench, and the input shaper, FIR filter, and hybrid prefilter were compared. Regardless of whether the cornering error was restricted to 0 or 500 µm, the hybrid prefilter exhibited excellent end effector residual vibration-suppression performance, with reduction rates of >85% for both the maximum amplitude and the root-mean-square (RMS) value of the residual vibration.
The remainder of this paper is organized as follows: Section 2 presents the preliminary work of this study, including the designs of the input shaper and FIR filter, trajectory planning method for the SCARA robot, and definitions of corner trajectory planning and cornering errors. Section 3 details the design of the hybrid prefilter and compares and analyzes the step response, frequency response, and sensitivity curves of the undamped natural frequency and damping ratio for different input shapers, FIR filters, and hybrid prefilters. Section 4 describes the causes of the cornering error, analyzes the relationship between the cornering error and the cornering trajectory parameters, and develops design steps for the cornering trajectory parameters to restrict the cornering error. End effector cornering experiments were performed on a SCARA robot test bench to quantitatively compare and analyze the residual vibration-suppression performance of different input shapers, FIR filters, and hybrid prefilters under different restricted cornering errors. The results are discussed in Section 5. Finally, Section 6 concludes the paper.

2. Preliminary Work

2.1. Input-Shaper Design

The design goal of an input shaper is to reduce the residual vibration in a flexible system and improve the settling time and positioning accuracy of the system. This feedforward open-loop control operates by performing a convolution of a series of impulse signals with different amplitudes and time delays with the system’s input command to generate a shaped command, which is then input to the system to actuate its motion. Here, the input shaper only needs to identify the undamped natural frequency and damping ratio of the residual vibration of the system and does not require an accurate system model. Therefore, this design has the advantage of not requiring the installation of a feedback sensor, does not cause a stability problem, and is suitable for systems for which accurate modeling is difficult.
Common input-shaper designs include ZV and ZVD. If the transfer function of the controlled system is given by Equation (1), the ZV input-shaper design can be expressed by Equation (2) [23,24]:
G s = ω n 2 s 2 + 2 ζ ω n   s + ω n 2
F Z V I S s = 1 1 + K + K 1 + K e T d 2 s
where ω n denotes the undamped natural frequency and ζ denotes the damping ratio. K = e ζ π 1 ζ 2 and T d = 2 π ω n 1 ζ 2 . The ZVD input-shaper design F Z V D I S s is expressed by Equation (3) [23,24]:
F Z V D I S s = 1 1 + 2 K + K 2 + 2 K 1 + 2 K + K 2 e T d 2 s + K 2 1 + 2 K + K 2 e T d s .
The ZV input shaper generates a shaped command to the controlled system in two stages, and the delay time of the second-stage command is half the vibration period. Therefore, although the ZV input shaper can effectively suppress residual vibration, it has a delay time of half the vibration period. Compared to the ZV input shaper, the ZVD input shaper has superior robustness owing to additional zero-derivative restrictions, implying that its vibration-suppression effect is less influenced by the parameter uncertainty of the controlled system. However, because the input command is input to the controlled system in three stages, the ZVD input shaper has a longer delay time, and its delay time is equal to the vibration period. Input shapers often exhibit a tradeoff between robustness and time delay.

2.2. FIR-Filter Design

For the motion control of mechatronic systems, an FIR filter is often applied to trajectory planning, smoothing position and velocity commands to enable the mechatronic system to have smooth motion [15,25]. In addition, for flexible systems, the filtered command generated by the convolution operation of an FIR filter with the input command of the controlled system can effectively suppress residual vibration [26].
If the transfer function of the controlled system is given by Equation (1), the FIR-filter design F F I R s is expressed by Equation (4) [15]:
F F I R s = 1 e T d s T d s .
Clearly, in the time domain, the unit impulse response of the FIR filter, as given by Equation (4), is a rectangular pulse with a unit area, and the FIR-filter design can be based on the residual vibration period of the controlled system. Therefore, the delay time is equal to the vibration period. In addition, from the frequency response of the FIR filter, it is known that the FIR filter not only has low-pass characteristics but also can suppress the dominant and harmonic frequency components of the residual vibration and attenuate the input command that induces high-frequency residual vibration. Nevertheless, the residual vibration-suppression performance of the FIR filter is affected by the uncertainty of the system parameters (i.e., the undamped natural frequency and damping ratio).

2.3. Trajectory Planning

SCARA robot trajectory planning can be performed in the task and joint spaces [27]. Task-space trajectory planning refers to designing the motion trajectory of the SCARA robot’s end effector in the workspace. Then, through inverse kinematics, this planned trajectory is converted into the motion trajectories for the robot joints, which actuate the robot to follow the desired path. Because the trajectory planning is performed in the task space, a prefilter can be used, enabling the SCARA robot’s end effector to have appropriate motion characteristics in the task space.
Task-space trajectory planning can provide the SCARA robot with higher motion accuracy; therefore, it was adopted in this study, as shown in Figure 1. Task-space trajectory planning can plan a feedrate command for the motion of the SCARA robot’s end effector in the task space, as shown in Figure 1. A prefilter can process the feedrate command, enabling the end effector’s motion to have different acceleration and deceleration processes; as shown in Figure 1, designing the prefilter as a ZV input shaper can shape the constant feedrate command into a shaped feedrate command with segmented acceleration and deceleration processes to suppress the residual vibration of the end effector’s motion. An interpolator can refer to the shaped feedrate command to generate position commands in the task space for the end effector’s motion path. As shown in Figure 1, the interpolator references the shaped feedrate command to generate position commands for the end effector’s linear path motion in the task space, which has acceleration and deceleration processes to suppress the end effector’s residual vibration. Using inverse kinematics, the task-space position commands generated by the interpolator can be converted into joint-space position commands to actuate the motion of the end effector of the SCARA robot in the task space.

2.4. Cornering Error

This study discusses corner trajectory planning and the definition of cornering error, as shown in Figure 2, where, θ 1 , θ 2 , and β denote the angle of the first path, the angle of the second path, and the change angle, respectively; P s and t s denote the start position and time of the cornering, respectively; P e and t e denote the end position and time of the cornering, respectively; P c denotes the corner position between the first path and the second path; and P m denotes the position on the corner path, where the vector P c P m is perpendicular to the tangent vector P ˙ m t m at time t m . In addition, P e denotes the position at which cornering motion fully transitions onto the second path, whereas P c denotes the intersection point of the first and second paths. f D E C 1 t and f A C C 2 t denote the deceleration function of the first path and the acceleration function of the second path, respectively. t c denotes the cornering time, and t d denotes the delay time of the acceleration function for the second path. Therefore, the time for the first-path deceleration function t D E C 1 (i.e., the time for the first-path deceleration process) is the sum of the cornering time t c and the delay time t d (i.e., t D E C 1 = t c + t d ). The time for the first-path deceleration function t D E C 1 is generally known in advance (owing to the deceleration function f D E C 1 t being predesigned). Thus, the cornering error e c is defined as the Euclidean norm of vector P c P m (i.e., e c = P c P m ), and the cornering time t c and delay time t d are the corner trajectory planning parameters to be designed in this study (owing to the acceleration function f A C C 2 t also being predesigned).

3. Hybrid Prefilter Design

An input shaper convolutes the input command of the system using a series of impulse signals with different amplitudes and time delays to produce a shaped input command. The FIR filter convolutes the input command of the system using a unit-area rectangular pulse signal to produce a filtered input command. Both the shaped and filtered input commands can reduce the residual vibration and shorten the system’s settling time; however, the input shaper and FIR filter have different characteristics and each influence the suppression of the system’s residual vibration. To clarify the influence of the input shaper and the FIR filter on the system’s output vibration, this study considers a control structure with a prefilter and a second-order system, as shown in Figure 3. The prefilter can be an input shaper or an FIR filter, and the damping ratio ζ and undamped natural frequency ω n are the parameters of the second-order system. After performing a convolution operation on the original input command, the prefilter produces a filtered input command, which is then input to the second-order system to suppress the vibration of the system output.
Figure 4 shows the simulation results for the step response, frequency response, and sensitivity curve of the control structure, where the damping ratio is 0.1 and the undamped natural frequency is 1.0 Hz. “Without PF” indicates that the control structure does not use a prefilter, and “ZV,” “ZVD,” and “FIR” indicate that the prefilter is a ZV input shaper, a ZVD input shaper, and an FIR filter, respectively. In terms of the step response, “without PF” has the fastest starting response; however, it also has the largest overshoot and longest settling time. ZV provides a smooth starting response, has a slight overshoot, and has the shortest settling time; however, its response time is longer than that “without PF.” Although ZVD has the smallest overshoot, its response time is long, and its settling time is longer than that of ZV. The response time of FIR is between that of ZV and ZVD but is accompanied by more significant overshoot and oscillation; although the settling time is shorter than that of “without PF,” it is longer than those of ZV and ZVD. In terms of the frequency response, for ZV and ZVD, the magnitude crests occur at even multiples of the fundamental frequency and remain at a constant and high value of 1.0 throughout the frequency range. However, the magnitude crests of FIR occur between zero frequency and integer multiples of the fundamental frequency, and they decrease significantly as the frequency increases. Although the magnitude values for all three prefilters are close to zero, the magnitude trough of ZV is higher than that of ZVD, and both occur at odd multiples of the fundamental frequency. Meanwhile, the magnitude trough value for FIR is zero, and its troughs occur at integer multiples of the fundamental frequency. Moreover, at the magnitude troughs, ZV and ZVD exhibit a flatter magnitude change than FIR, indicating that they have a higher selection margin for the suppression frequency. In terms of the sensitivity curve, when the actual value is close to the model value, ZVD has the best robustness for both the undamped natural frequency and damping ratio. In other words, when there is a deviation between the actual value and the model value, ZVD can suppress vibration over the widest variation ranges of the damping ratio and undamped natural frequency and maintain the lowest vibration percentage. When the actual undamped natural frequency is higher than the model undamped natural frequency, FIR exhibits better robustness for the undamped natural frequency and can still effectively suppress vibration, whereas the robustness of ZV and ZVD deteriorates, and their vibration-suppression effect rapidly worsens. Moreover, when the actual damping ratio is higher than the model damping ratio, ZV is more sensitive to changes in the damping ratio. In other words, when the model damping ratio changes, the vibration-suppression effect deteriorates rapidly, becoming even worse than that of FIR. For both the undamped natural frequency and damping ratio, when the actual value is lower than the model value, the vibration-suppression effect of FIR is between those of ZV and ZVD.
The ZV input shaper has a rapid response but exhibits poor robustness to system parameters, and it is suitable for systems with a narrow vibration frequency band. The ZVD input shaper is more robust than the ZV input shaper but has a longer delay time; therefore, a tradeoff between robustness and time delay is often necessary in its application. In addition to suppressing the main frequency vibration, the FIR filter has low-pass filter characteristics that attenuate the input commands that induce high-frequency vibrations. A hybrid prefilter convolutes an input shaper and an FIR filter to integrate the characteristics of the input shaper and the FIR filter, thereby providing diverse vibration-suppression effects and parameter robustness. Figure 5 indicates the simulation results for the step response, frequency response, and sensitivity curve of different prefilters; here, the prefilters are the FIR filter (FIR), a hybrid prefilter formed by the convolution of an FIR filter and a ZV input shaper (FIR-ZV), and a hybrid prefilter formed by the convolution of an FIR filter and a ZVD input shaper (FIR-ZVD).
In terms of the step response, compared to FIR, FIR-ZV and FIR-ZVD have longer rise and delay times but have nearly zero overshoot, and FIR-ZV has the shortest settling time. In terms of the frequency response, the magnitude crests of both FIR-ZV and FIR-ZVD occur between the zero frequency and integer multiples of the fundamental frequency and decrease as the frequency increases. Although the magnitude values for both FIR-ZV and FIR-ZVD are close to zero, the magnitude troughs at odd multiples of the fundamental frequency have flatter magnitude changes, and FIR-ZVD has the widest magnitude trough, as well as a higher selection margin for the suppression frequency. Regarding the sensitivity curve, when the actual value is close to the model value, both the FIR-ZV and FIR-ZVD have good robustness for both the undamped natural frequency and damping ratio. When the actual undamped natural frequency is lower than the model undamped natural frequency, the robustness of FIR-ZV and FIR-ZVD deteriorates, and the vibration-suppression effect also rapidly deteriorates. However, when the actual undamped natural frequency is higher than the model undamped natural frequency, FIR-ZV and FIR-ZVD can still effectively suppress vibration, and FIR-ZVD has a better vibration-suppression effect. FIR-ZVD also has better damping ratio robustness. Although FIR-ZV has a slightly inferior vibration-suppression effect to FIR-ZVD when the damping ratio deviates, it can still effectively suppress the vibration, and the vibration-suppression effect does not deteriorate rapidly.
The design purpose of the hybrid prefilter is to combine the characteristics of the input shaper and FIR filter to achieve a better balance between reducing residual vibration, shortening the system response time, and enhancing robustness. Compared to the input shaper and the FIR filter, the hybrid prefilter is generally less sensitive to changes in system parameters, such as the undamped natural frequency and damping ratio, and can effectively suppress vibration even when there are discrepancies between the actual parameters and the model parameters. However, for applications that are more sensitive to parameter uncertainty, a hybrid prefilter can be selected with an input shaper that has better robustness. The hybrid prefilter still induces a time delay, which originates from both the input shaper and the FIR filter. Therefore, when designing a hybrid prefilter, a tradeoff between the time delay and the vibration-suppression effect is necessary.

4. Corner Trajectory Planning

Figure 6 shows the feedrate command for the end effector of the SCARA robot along the planned path. In the acceleration process (ACC), the feedrate increases smoothly from zero to a constant value and can be represented by an acceleration function. In the deceleration process (DEC), the feedrate smoothly decreases from a constant value to zero and can be represented by a deceleration function. If the acceleration and deceleration functions exhibit mirror symmetry, they are referred to as symmetric ACC/DECs, and if they do not, they are referred to as asymmetric ACC/DECs. When the feedrate has an appropriate ACC/DEC ratio, the end effector can move smoothly along the planned path and reach the target position accurately. However, as shown in Figure 2, when the planned path contains a corner, the ACC/DEC feedrate causes the corner path to generate a cornering error.
Figure 7 presents the influence of the ACC/DEC feedrate on the cornering error for a corner path, which is composed of the first and second paths; the position where the paths connect is the corner position. When the second path presents the blue feedrate, the cornering error is zero because the deceleration of the first path’s feedrate is completed before the acceleration of the second path’s feedrate begins. However, when the second path presents the maroon feedrate, a cornering error is generated because the acceleration of the second path’s feedrate starts before the deceleration of the first path’s feedrate is completed. Moreover, when the second path presents the green feedrate, the acceleration of the feedrate of the second path begins even earlier, causing a larger cornering error. In other words, if the SCARA robot’s end effector performs the cornering at a lower feedrate, it has a smaller cornering error, and the cornering motion time is extended. Conversely, if the cornering is performed at a higher feedrate, although the cornering motion time is shortened, a larger cornering error occurs at the corner position. Therefore, the feedrate ACC/DEC planning for the first and second paths should consider restricting the cornering error to balance the performance and accuracy of the cornering motion.
Referring to the variables shown in Figure 2, the first and second paths form a corner path in the XY plane. Therefore, during the cornering motion of the SCARA robot’s end effector, the motion velocities of the X-axis and Y-axis are given by Equations (5) and (6), respectively:
f x t = f D E C 1 t cos θ 1 + f A C C 2 t cos θ 2 ,   t t s , t e
f y t = f D E C 1 t sin θ 1 + f A C C 2 t sin θ 2 ,   t t s , t e .
Furthermore, the relationship between the start position P s = P s x P s y T and the position P m = P m x P m y T can be expressed as given by Equations (7) and (8):
P m x = t s t m f x t d t + P s x = t s t m f D E C 1 t d t cos θ 1 + t s t m f A C C 2 t d t cos θ 2 + P s x
P m y = t s t m f y t d t + P s y = t s t m f D E C 1 t d t sin θ 1 + t s t m f A C C 2 t d t sin θ 2 + P s y .
The corner position P c = P c x P c y T can be calculated using Equations (9) and (10):
P c x = t s t s + t c f D E C 1 t cos θ 1 d t + P s x = t s t s + t c f D E C 1 t d t cos θ 1 + P s x
P c y = t s t s + t c f D E C 1 t sin θ 1 d t + P s y = t s t s + t c f D E C 1 t d t sin θ 1 + P s y .
The vector P c P m can then be calculated using Equation (11):
P c P m = P c x P m x P c y P m y = t m t s + t c f D E C 1 t d t cos θ 1 sin θ 1 t s t m f A C C 2 t d t cos θ 2 sin θ 2 .
The tangent vector P ˙ m t m can be calculated using Equation (12):
P ˙ m t m = P ˙ m x t m P ˙ m y t m = f D E C 1 t m cos θ 1 sin θ 1 + f A C C 2 t m cos θ 2 sin θ 2 .
The vector P c P m must be perpendicular to the tangent vector P ˙ m t m at time t m (i.e., the inner product of P ˙ m t m and P c P m must be zero), as given by Equation (13):
t m t s + t c f D E C 1 t d t f D E C 1 t m t s t m f A C C 2 t d t f A C C 2 t m + t m t s + t c f D E C 1 t d t f A C C 2 t m t s t m f A C C 2 t d t f D E C 1 t m cos β = 0 ,
where β = θ 2 θ 1 . Therefore, Equation (13) can be used to calculate the time t m . By substituting the calculated time t m into Equation (11) to calculate the vector P c P m and its Euclidean norm, the cornering error e c can be obtained as follows:
e c = t m t s + t c f D E C 1 t d t 2 + t s t m f A C C 2 t d t 2 2 t m t s + t c f D E C 1 t d t t s t m f A C C 2 t d t cos β .
Here, 0 t m t s t c . In other words, t c = 0 , t m t s = 0 and t s = t m = t e ; however, when t c > 0 , t m t s < t c and t m > t s .
As shown in Figure 2, this study uses a local time axis (t-axis) and places the zero of the local time axis at the start time of the first path’s deceleration process (i.e., the start time of the first path’s deceleration function is set to zero). Therefore, t s = t d , t e = t d + t c , and the time t m are calculated from the zero of the local time axis to simplify calculations. In other words, Equation (13) can be rewritten as Equation (15), and Equation (14) can be rewritten as Equation (16):
t m t d + t c f D E C 1 t d t f D E C 1 t m t d t m f A C C 2 t d t f A C C 2 t m + t m t d + t c f D E C 1 t d t f A C C 2 t m t d t m f A C C 2 t d t f D E C 1 t m cos β = 0
e c = t m t d + t c f D E C 1 t d t 2 + t d t m f A C C 2 t d t 2 2 t m t d + t c f D E C 1 t d t t d t m f A C C 2 t d t cos β .
Moreover, because the time for the deceleration function of the first path t D E C 1 is known in advance and t D E C 1 = t d + t c , the cornering time t c , and the delay time t d are dependent variables, the cornering error e c can be expressed as a function of t c . Therefore, by setting a restricted value for the cornering error, the corresponding t c can be calculated. Using the result, t d can be calculated to complete the design of the cornering trajectory parameters that restrict the cornering error. Algorithm 1 outlines the steps for computing the cornering trajectory parameters.
Algorithm 1. Computation of Cornering Trajectory Parameters
Input: First path, second path, deceleration function for the first path f D E C 1 t , acceleration function for the second path f A C C 2 t , and restricted cornering error.
Output: Cornering time t c and delay time t d .
1: Determine the change angle β between the first and second paths.
2: Determine the deceleration time t D E C 1 from the given f D E C 1 t .
3: Define a local time axis starting at the initiation of the deceleration function.
4: Use Equation (15) to calculate the error time t m .
5: Substitute the error time t m into Equation (16) to calculate the cornering error e c .
6: Set the cornering error e c to the restricted value, and calculate the cornering time t c .
7: Calculate the delay time t d using the relationship t d = t D E C 1 t c .
Because the deceleration function for the first path f D E C 1 t and the acceleration function for the second path f A C C 2 t are not restricted to be symmetric, the foregoing design steps for the cornering trajectory parameters are applicable to both symmetric and asymmetric ACC/DEC functions. Furthermore, the method is not limited to linear corner paths. Although β is simply defined as the change angle between two intersecting lines, this study extends its definition to accommodate corners formed by linear and circular paths. For any corner, β is defined as the change angle between the tangent vectors of the path at the corner. For example, for an arc-to-line corner, this corresponds to the angle between the tangent of the arc at the corner and the direction of the line.
By applying the corner trajectory parameter design of this study to the trapezoidal ACC/DEC corner trajectory planning shown in Figure 8, a symmetric ACC/DEC function was used, where the time for the deceleration function of the first path t D E C 1 was equal to the time for the acceleration function of the second path t A C C 2 , and both were equal to the time t D A . F denotes the constant feedrate value. The error time t m = t d + t c 2 and cornering error e c = F t c 2 8 t D A 2 1 cos β can be derived by applying the cornering trajectory parameter design of this study, and the result is the same as that published by Sencer et al. [15]. By setting restricted value e c t a r for the cornering error and e c e c t a r , the cornering time t c 8 e c t a r t D A F 2 1 cos β and the delay time t d = t D A t c = t D E C 1 t c can be determined. The corner trajectory planning method developed in this section is intended to operate in conjunction with the hybrid prefilter described in Section 3. Although the deceleration and acceleration functions used in the derivation are assumed to be standard and symmetric, the actual profiles generated when the hybrid prefilter processes a feedrate command are often asymmetric. The cornering trajectory parameter design of this study can also be applied to the asymmetric ACC/DEC shown in Figure 9, where the corner trajectory planning adopts a ZV input shaper to suppress the residual vibration of the end effector cornering motion of the SCARA robot.

5. Experimental Results

This study performed cornering control experiments using the SCARA robot test bench shown in Figure 10 and the test path shown in Figure 11 to evaluate the feasibility and performance of the integrated hybrid prefilter and corner trajectory planning developed in this study as applied to the SCARA robot’s cornering control. The SCARA robot was primarily composed of four joints: joints #1, #2, and #4 were revolute joints, and joint #3 was a prismatic joint. All joints were actuated by servomotors, enabling the flexible end effector installed on the SCARA to perform vertical (Z-axis) and planar (X-axis and Y-axis) motions. An FPGA-based cRIO control console developed by the National Instruments Corporation (NI) controlled the servomotors installed on the SCARA robot’s joints via EtherCAT, and NI LabVIEW 2016 software was applied to design and realize the SCARA robot’s motion-control system, including the operating interface and signal measurement. An ADXL335 accelerometer developed by Analog Devices, Inc. (ADI, Wilmington, United States) was installed on the SCARA robot’s end effector and measured the vibration of the end effector during cornering to evaluate the vibration-suppression performance of the hybrid prefilter designed in this study. An NI-9215 analog input module with a 16-bit A/D converter was installed on the FPGA-based cRIO control console to receive the measured signal. The FPGA-based cRIO control console, integrated with the interface modules, sent motion commands to and received measured signals from the joint servomotors with a sampling period of 1.0 ms.
Real-time computational burden is mitigated by dividing the proposed method into two stages: offline corner trajectory planning and real-time interpolation. In the offline corner trajectory planning stage, the hybrid prefilter is applied to the original feedrate command. The convolution operation generates the filtered feedrate command such that the cornering trajectory parameters can be determined using the computational steps described in Section 4. The planned feedrate is finally generated by referring to the cornering trajectory parameters. In the real-time interpolation stage, the interpolator generates position commands based on the planned feedrate profile at each sampling interval. The NI FPGA-based cRIO controller leverages both a real-time processor and an FPGA to achieve deterministic performance. Therefore, in this study, the FPGA functions as a high-speed and deterministic input/output (I/O) bridge. Its primary role is to handle low-level data acquisition from interface modules with precise timing, ensuring that there is no jitter in the sampling. The acquired raw data are then passed to a real-time processor, which executes the main 1.0 ms control loop. This includes interpolation and managing communication with the servomotor drives over EtherCAT.
The cornering control experiment in this study used a test path with line and arc connections as well as obtuse and acute angle geometric features. The test path started at position (180, 0) mm, sequentially passed through L1 (an arc), L2 (a line), L3 (a line), L4 (a line), and L5 (a line), and finally reached the position (270, 0) mm. The end effector preset feedrate of the SCARA robot was 9600 mm/min. The residual vibration of the end effector measured by the accelerometer when the SCARA robot stopped after the cornering is shown in Figure 12a, and the corresponding fast Fourier transform (FFT) result is shown in Figure 12b. This study employed the identification method proposed by Aribowo et al. [28] to estimate a dominant vibration frequency of 6.340 Hz and a damping ratio of 0.022.
Based on the estimated vibration frequency and damping ratio, a ZV input shaper (ZV), ZVD input shaper (ZVD), FIR filter (FIR), and hybrid prefilters (FIR-ZV and FIR-ZVD) were designed. Figure 13 shows the original and filtered feedrate commands, where the prefilters clearly generate an asymmetric ACC/DEC. Therefore, this study referred to the test path presented in Figure 11 and designed the cornering trajectory parameters as shown in Table 1 and Table 2 to satisfy the cornering-error conditions of 0 and 500 μm, respectively. Here, cornering-error values of 0 and 500 µm were selected to represent maximum-precision and high-throughput scenarios, respectively, to validate the performance of the proposed method across a range of operational demands. The different prefilter designs had different deceleration times; ZV and FIR-ZVD had the shortest and longest deceleration times, respectively. ZVD and FIR had the same deceleration times. To achieve a 0 μm cornering error, for all prefilter designs, the delay time was the same as the deceleration time, despite different change angles. In other words, the cornering time was zero, and the error time was the same as the deceleration time. However, when the cornering error was restricted to 500 μm, the error time, cornering time, and delay time all depended on the change angle. For all prefilter designs, a larger change angle resulted in a shorter cornering time; moreover, ZV had a shorter cornering time than FIR-ZVD.
This study applies different prefilters to the task-space trajectory planning for the SCARA robot’s motion along the test path, which can generate the planned feedrate shown in Figure 14. Here, Figure 14a,b present the planned feedrates for a 0 μm cornering error, and Figure 14c,d present the planned feedrates for a 500 μm cornering error. Because FIR-ZVD has the longest deceleration time, it also has the longest planned feedrate time; i.e., the SCARA robot motion control using FIR-ZVD requires the longest time to perform and complete the test path motion. Because ZV has the shortest deceleration time, it has the shortest planned feedrate time, and it also has the shortest time required for the SCARA robot to complete the test path motion. From the planned feedrates for FIR, as well as FIR-ZV and FIR-ZVD, it can be clearly observed that to achieve a 0 μm cornering error, the cornering feedrate of the test path must be zero; however, for the 500 μm cornering-error restriction, the cornering feedrate of the test path decreases and is not required to be zero; therefore, the planned feedrate time is shorter than that for the 0 μm cornering-error restriction. Moreover, for a test path with an acute angle geometric feature, because the change angle is larger, the cornering feedrate is lower to restrict the cornering error.
Referring to the planned feedrate, the interpolator can generate a position command for the task space motion path of the end effector, as shown in Figure 15. Here, to emphasize the influence of different planned feedrates, Figure 15 indicates the corner path referring to the planned feedrates in Figure 14c,d, with a 500 μm cornering error as the restriction. Figure 15 clearly indicates that with the planned feedrates of FIR, as well as FIR-ZV and FIR-ZVD, the interpolated corner path is smoother than those for ZV and ZVD, even though all corner paths conform to the 500 μm cornering-error restriction. Because the input shaper attempts to suppress residual vibration through a destructive interference approach, ZV and ZVD produce a relatively discontinuous corner path, although they also conform to the 500 μm cornering-error restriction.
Figure 16 presents the vibration signal measured by the accelerometer during the test path motion of the end effector, which can be used to evaluate the vibration-suppression performance of the different prefilters. The experimental results indicated that without a prefilter, the accelerometer measured significant vibration, with a maximum amplitude of 0.727 and an RMS value of 0.215 ; in comparison, the planned feedrate generated using the prefilters exhibited significant vibration-suppression performance under both the 0 and 500 µm cornering-error restrictions.
Regarding the maximum vibration amplitude, FIR-ZVD exhibited the best performance. At a cornering error of 0 µm, its maximum amplitude was 0.102 , and even at a cornering error of 500 µm, its maximum amplitude was 0.104 , with its vibration-suppression performance remaining the best. Therefore, FIR-ZVD can effectively suppress the maximum amplitude of vibration under different cornering-error restrictions. ZVD, FIR, and FIR-ZV also significantly suppressed the maximum vibration amplitude; at a cornering error of 0 µm, ZVD and FIR-ZV had similar and smaller maximum amplitudes of approximately 0.181 , and at a cornering error of 500 µm, FIR-ZV had a smaller maximum amplitude of 0.158 . Although ZV can also effectively suppress vibration, it exhibited poorer vibration suppression under both the 0 and 500 µm cornering-error restrictions; when the cornering error was 0 and 500 µm, its maximum amplitudes were 0.380 and 0.374 , respectively. Thus, the hybrid prefilter exhibited better vibration suppression than ZVD and FIR.
Regarding the RMS value of the vibration, FIR-ZVD similarly performed best, effectively suppressing the end effector’s vibration. For both 0 and 500 µm cornering errors, its RMS value was approximately 0.032 . ZVD, FIR, and FIR-ZV also effectively suppressed vibrations. For both the 0 and 500 µm cornering-error restrictions, FIR-ZV exhibited smaller RMS values of 0.043 and 0.041 , respectively. However, FIR exhibited larger RMS values of 0.047 and 0.044 , respectively. ZV had the largest RMS values of 0.066 and 0.068 , respectively, indicating that its vibration-suppression performance was inferior to that of the other prefilters in both cases. Therefore, the hybrid prefilter outperformed the individual prefilters in suppressing vibrations.
Overall, the experimental results confirm that the hybrid prefilter can combine the advantages of different prefilters to achieve better residual vibration suppression and that FIR-ZVD can achieve the best vibration-suppression performance. Moreover, because the hybrid prefilter produces asymmetric ACC/DEC, the cornering trajectory parameters designed in this study can generate a planned feedrate, such that the interpolated corner path can restrict the cornering error.

6. Conclusions

The cornering performance of a SCARA robot is often influenced by two significant factors: the residual vibration, which prolongs the settling time, and the cornering error, which influences the motion speed and accuracy. Conventional methods often address these two problems independently, ignoring their interrelationships. Therefore, this study developed an integrated control strategy to simultaneously mitigate these two core problems—residual vibration and cornering error—for improving the cornering performance of the SCARA robot.
To effectively suppress residual vibration, a hybrid prefilter design was developed, with the aim of overcoming the limitations of a single prefilter. Conventional input shapers, such as ZV and ZVD, which are capable of suppressing residual vibration, are sensitive to deviations between the actual and model values of the vibration parameters. However, the FIR filter, which possesses good robustness and high-frequency noise attenuation capability, has inferior residual vibration-suppression performance to input shapers. Therefore, this study integrated an input shaper and an FIR filter and designed a hybrid prefilter that combines the advantages of both, which can simultaneously realize vibration suppression and enhance robustness.
The application of a hybrid prefilter to trajectory planning often generates asymmetric ACC/DEC, which poses a challenge to cornering control. Therefore, this study further developed a corner trajectory planning method such that when a SCARA robot performs cornering, it can not only suppress the residual vibration but also restrict the cornering error, even with the asymmetric ACC/DEC generated by trajectory planning. This study established design steps for the cornering trajectory parameters that can calculate the cornering time and delay time based on the ACC/DEC functions, the change angle of the corner path, and a preset allowable value for the cornering error. The advantage of this method is its ability to ensure that the hybrid prefilter can fully exert its vibration-suppression function without compromising cornering accuracy.
Experimental results from the SCARA robot test bench indicated that in the absence of a prefilter, the SCARA robot’s end effector exhibited significant residual vibration, achieving a maximum amplitude of 0.727 and an RMS value of 0.215 . In comparison, the developed FIR-ZVD hybrid prefilter demonstrated excellent vibration-suppression performance; under the cornering-error restriction, the maximum amplitude of the vibration was reduced to 0.104 (by 85.69 % ), and the RMS value was reduced to 0.032 (by 85.12 % ). Moreover, the corner trajectory planning and cornering trajectory parameter design established in this study can ensure that the cornering error is restricted to the preset value. Thus, the experimental results confirm that the developed methods can effectively suppress the residual vibration of the cornering of SCARA robots without degrading the cornering accuracy.
The primary focus of this study is the development of an integrated trajectory planning method. Therefore, the cornering error is constrained at the reference trajectory level. The experimental validation using an accelerometer was designed to confirm that the hybrid prefilter suppressed the residual vibration when executing these carefully planned trajectories. Direct measurement of the end effector path using external metrology would provide more complete validation of the motion performance of the SCARA robot. However, this is beyond the scope of the present study, which focuses on precise command trajectory generation with residual vibration suppression. Such validation of the robot’s actual motion accuracy remains a compelling direction for future research. Moreover, although the experimental validation in this study focused on suppressing a single dominant vibration mode for a specific feedrate, the proposed integrated framework is inherently modular. For systems exhibiting significant multimode vibrations, the single-mode prefilter can be replaced with more advanced multimode designs. The corner trajectory planning method presented herein remains directly applicable, because it systematically determines the necessary cornering trajectory parameters based on the filtered feedrate commands generated by any given prefilter.

Author Contributions

Conceptualization, S.-S.Y. and M.-H.Y.; Data curation, S.-S.Y. and M.-H.Y.; Formal analysis, S.-S.Y. and M.-H.Y.; Funding acquisition, S.-S.Y.; Investigation, S.-S.Y. and M.-H.Y.; Methodology, S.-S.Y. and M.-H.Y.; Project administration, S.-S.Y.; Resources, S.-S.Y.; Software, M.-H.Y.; Supervision, S.-S.Y.; Validation, S.-S.Y. and M.-H.Y.; Visualization, S.-S.Y. and M.-H.Y.; Writing—original draft, S.-S.Y. and M.-H.Y.; Writing—review and editing, S.-S.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded in part by the National Science and Technology Council, Taiwan, grant number NSTC114-2221-E-027-038.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to thank Chen-Chou Hsieh (Shihlin Electric & Engineering Corp., Taiwan) for his valuable comments on the design of PMSM servo drives.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Thomsen, D.K.; Søe-Knudsen, R.; Balling, O.; Zhang, X. Vibration control of industrial robot arms by multi-mode time-varying input shaping. Mech. Mach. Theory 2021, 155, 104072. [Google Scholar] [CrossRef]
  2. Pham, M.N.; Hazel, B.; Hamelin, P.; Liu, Z. Vibration control of flexible joint robots using a discrete-time two-stage controller based on time-varying input shaping and delay compensation. J. Dyn. Syst. Meas. Control Trans. ASME 2021, 143. [Google Scholar] [CrossRef]
  3. İlman, M.M.; Yavuz, Ş.; Taser, P.Y. Generalized input preshaping vibration control approach for multi-link flexible manipulators using machine intelligence. Mechatronics 2022, 82, 102735. [Google Scholar] [CrossRef]
  4. Newman, M.; Lu, K.; Khoshdarregi, M. Suppression of robot vibrations using input shaping and learning-based structural models. J. Intell. Mater. Syst. Struct. 2021, 32, 1001–1012. [Google Scholar] [CrossRef]
  5. Zhang, T.; Chu, H.; Zou, Y.; Liu, T. A deep reinforcement learning-based optimization method for vibration suppression of articulated robots. Eng. Optim. 2023, 55, 1189–1206. [Google Scholar] [CrossRef]
  6. Zhang, T.; Zhang, M.; Zou, Y. Time-optimal and smooth trajectory planning for robot manipulators. Int. J. Control Autom. Syst. 2021, 19, 521–531. [Google Scholar] [CrossRef]
  7. Zhang, T.; Cao, Y.; Ma, G. Trajectory planning of 3-CRU parallel robot with linear kinematics equation. Proc. Inst. Mech. Eng. Part C J. Mech. Eng. Sci. 2022, 236, 9589–9609. [Google Scholar] [CrossRef]
  8. Zou, Y.; Liu, T.; Zhang, T.; Chu, H. A learning trajectory planning for vibration suppression of industrial robot. Ind. Robot 2023, 50, 861–869. [Google Scholar] [CrossRef]
  9. Kumar, S.; Saha, S.K.; Singla, A.; Singh, S.P.; Bera, T.K. Command shaped trajectory tracking control for a two-link flexible manipulator. Multibody Syst. Dyn. 2023, 60, 581–597. [Google Scholar] [CrossRef]
  10. Huang, R.Y.; Cheng, C.W.; Tsai, M.C.; Lee, A.C. Acceleration-based FIR filters for trajectory interpolation with different kinematic constraints and target velocities for NC systems. Control Eng. Pract. 2022, 124, 105204. [Google Scholar] [CrossRef]
  11. Huang, R.Y.; Cheng, C.W.; Lee, A.C. Parametric FIR filtering for G-code interpolation with corner smoothing and zero circular contour error for NC systems. Int. J. Adv. Manuf. Technol. 2023, 125, 4379–4397. [Google Scholar] [CrossRef]
  12. Song, D.N.; Ma, J.W.; Zhong, Y.G.; Yao, J.J. Global smoothing of short line segment toolpaths by control-point-assigning-based geometric smoothing and FIR filtering-based motion smoothing. Mech. Syst. Signal Process. 2021, 160, 107908. [Google Scholar] [CrossRef]
  13. Liu, Y.; Wan, M.; Qin, X.B.; Xiao, Q.B.; Zhang, W.H. FIR filter-based continuous interpolation of G01 commands with bounded axial and tangential kinematics in industrial five-axis machine tools. Int. J. Mech. Sci. 2020, 169, 105325. [Google Scholar] [CrossRef]
  14. Hayasaka, T.; Minoura, K.; Ishizaki, K.; Shamoto, E.; Burak, S. A lightweight interpolation algorithm for short-segmented machining tool paths to realize vibration avoidance, high accuracy, and short machining time. Precis. Eng. 2019, 59, 1–17. [Google Scholar] [CrossRef]
  15. Sencer, B.; Ishizaki, K.; Shamoto, E. High speed cornering strategy with confined contour error and vibration suppression for CNC machine tools. CIRP Ann.—Manuf. Technol. 2015, 64, 369–372. [Google Scholar] [CrossRef]
  16. Sun, H.W.; Yang, J.X.; Li, D.W.; Ding, H. An on-line tool path smoothing algorithm for 6R robot manipulator with geometric and dynamic constraints. Sci. China Technol. Sci. 2021, 64, 1907–1919. [Google Scholar] [CrossRef]
  17. Sun, H.; Yang, J.; Ding, H. A novel tool path smoothing algorithm of 6R manipulator considering pose-dependent dynamics by designing asymmetrical FIR filters. Robot. Comput.-Integr. Manuf. 2024, 86, 102681. [Google Scholar] [CrossRef]
  18. Peng, J.; Huang, P.; Ding, Y.; Ding, H. An analytical method for decoupled local smoothing of linear paths in industrial robots. Robot. Comput.-Integr. Manuf. 2021, 72, 102193. [Google Scholar] [CrossRef]
  19. Zhang, S.; Jing, F.; Wang, S. A transition method based on Bezier curve for trajectory planning in Cartesian space. High Technol. Lett. 2017, 23, 141–148. [Google Scholar] [CrossRef]
  20. Zhu, D.; He, Y.; Yu, X.; Li, F. Trajectory smoothing planning of delta parallel robot combining Cartesian and joint space. Mathematics 2023, 11, 4509. [Google Scholar] [CrossRef]
  21. Li, H.M.; Tsai, M.S.; Zhang, T.H.; Cheng, C.C. Smooth interpolation design with consideration of corner tolerance constraints for robotics. Appl. Sci. 2023, 13, 8789. [Google Scholar] [CrossRef]
  22. Tajima, S.; Iwamoto, S.; Yoshioka, H. Kinematic tool-path smoothing for 6-axis industrial machining robots. Int. J. Autom. Technol. 2021, 15, 621–630. [Google Scholar] [CrossRef]
  23. Singer, N.C.; Seering, W.P. Preshaping command inputs to reduce system vibration. J. Dyn. Syst. Meas. Control Trans. ASME 1990, 112, 76–82. [Google Scholar] [CrossRef]
  24. Rew, K.H.; Ha, C.W.; Kim, K.S. An impulse-time perturbation approach for enhancing the robustness of extra-insensitive input shapers. Automatica 2013, 49, 3425–3431. [Google Scholar] [CrossRef]
  25. Li, D.; Zhang, L.; Yang, L.; Mao, J. Accurate interpolation and contouring control algorithm based on FIR filters for the corner transition. Int. J. Adv. Manuf. Technol. 2020, 109, 1775–1788. [Google Scholar] [CrossRef]
  26. Economou, D.; Mavroidis, C.; Antoniadis, I.; Lee, C. Maximally robust input preconditioning for residual vibration suppression using low-pass FIR digital filters. J. Dyn. Syst. Meas. Control Trans. ASME 2002, 124, 85–97. [Google Scholar] [CrossRef]
  27. Liu, Y.; Cao, Y.; Sun, L.; Zheng, X. Accurate and steady control on trajectory tracking for the wafer transfer robot. Ind. Robot 2010, 37, 552–561. [Google Scholar] [CrossRef]
  28. Aribowo, W.; Yamashita, T.; Terashima, K.; Masui, Y.; Saeki, T.; Kamigaki, T.; Kawamura, H. Vibration control of semiconductor wafer transfer robot by building an integrated tool of parameter identification and input shaping. IFAC Proc. Vol. 2011, 44, 14367–14373. [Google Scholar] [CrossRef]
Figure 1. Task-space trajectory planning adopted in this study.
Figure 1. Task-space trajectory planning adopted in this study.
Electronics 15 00900 g001
Figure 2. Definitions of corner trajectory planning and cornering error in this study.
Figure 2. Definitions of corner trajectory planning and cornering error in this study.
Electronics 15 00900 g002
Figure 3. Control structure integrating the prefilter and second-order system.
Figure 3. Control structure integrating the prefilter and second-order system.
Electronics 15 00900 g003
Figure 4. Comparison of ZV, ZVD, and FIR.
Figure 4. Comparison of ZV, ZVD, and FIR.
Electronics 15 00900 g004aElectronics 15 00900 g004b
Figure 5. Comparison of FIR-ZV and FIR-ZVD.
Figure 5. Comparison of FIR-ZV and FIR-ZVD.
Electronics 15 00900 g005aElectronics 15 00900 g005b
Figure 6. Acceleration and deceleration of planned path.
Figure 6. Acceleration and deceleration of planned path.
Electronics 15 00900 g006
Figure 7. Feedrate of ACC/DEC and cornering error.
Figure 7. Feedrate of ACC/DEC and cornering error.
Electronics 15 00900 g007
Figure 8. Symmetric ACC/DEC corner trajectory planning (trapezoidal ACC/DEC).
Figure 8. Symmetric ACC/DEC corner trajectory planning (trapezoidal ACC/DEC).
Electronics 15 00900 g008
Figure 9. Asymmetric ACC/DEC corner trajectory planning (ZV input shaper).
Figure 9. Asymmetric ACC/DEC corner trajectory planning (ZV input shaper).
Electronics 15 00900 g009
Figure 10. SCARA robot test bench used in this study.
Figure 10. SCARA robot test bench used in this study.
Electronics 15 00900 g010
Figure 11. Test path used in the motion-control experiment (unit: mm).
Figure 11. Test path used in the motion-control experiment (unit: mm).
Electronics 15 00900 g011
Figure 12. Residual vibration of the end effector measured by the accelerometer.
Figure 12. Residual vibration of the end effector measured by the accelerometer.
Electronics 15 00900 g012
Figure 13. Filtered feedrate commands generated by different prefilters.
Figure 13. Filtered feedrate commands generated by different prefilters.
Electronics 15 00900 g013
Figure 14. Task-space trajectory planning using different prefilters.
Figure 14. Task-space trajectory planning using different prefilters.
Electronics 15 00900 g014
Figure 15. Interpolated corner paths (cornering error: 500 μm; corresponding to the planned feedrate in Figure 14c,d).
Figure 15. Interpolated corner paths (cornering error: 500 μm; corresponding to the planned feedrate in Figure 14c,d).
Electronics 15 00900 g015aElectronics 15 00900 g015b
Figure 16. Vibration signal measured by the accelerometer.
Figure 16. Vibration signal measured by the accelerometer.
Electronics 15 00900 g016
Table 1. Cornering trajectory parameters (cornering error: 0 μm).
Table 1. Cornering trajectory parameters (cornering error: 0 μm).
PrefilterChange Angle
β (Degree)
Deceleration Time
t D E C 1 (s)
Error Time
t m (s)
Cornering Time
t c (s)
Delay Time
t d (s)
ZV66.0380.0790.07900.079
47.9250.0790.07900.079
158.9630.0790.07900.079
90.0000.0790.07900.079
ZVD66.0380.1580.15800.158
47.9250.1580.15800.158
158.9630.1580.15800.158
90.0000.1580.15800.158
FIR66.0380.1580.15800.158
47.9250.1580.15800.158
158.9630.1580.15800.158
90.0000.1580.15800.158
FIR-ZV66.0380.2370.23700.237
47.9250.2370.23700.237
158.9630.2370.23700.237
90.0000.2370.23700.237
FIR-ZVD66.0380.3160.31600.316
47.9250.3160.31600.316
158.9630.3160.31600.316
90.0000.3160.31600.316
Table 2. Cornering trajectory parameters (cornering error: 500 μm).
Table 2. Cornering trajectory parameters (cornering error: 500 μm).
PrefilterChange Angle
β (Degree)
Deceleration Time
t D E C 1 (s)
Error Time
t m (s)
Cornering Time
t c (s)
Delay Time
t d (s)
ZV66.0380.0790.0730.0120.067
47.9250.0790.0710.0160.063
158.9630.0790.0720.0070.072
90.0000.0790.0740.0090.070
ZVD66.0380.1580.1450.0240.134
47.9250.1580.1410.0310.127
158.9630.1580.1400.0140.144
90.0000.1580.1470.0180.140
FIR66.0380.1580.1280.0600.098
47.9250.1580.1230.0700.088
158.9630.1580.1350.0450.113
90.0000.1580.1310.0530.105
FIR-ZV66.0380.2370.1930.0860.151
47.9250.2370.1860.0990.138
158.9630.2370.2040.0640.173
90.0000.2370.1980.0750.162
FIR-ZVD66.0380.3160.2530.1210.195
47.9250.3160.2430.1400.176
158.9630.3160.2680.0900.226
90.0000.3160.2600.1060.210
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.

Share and Cite

MDPI and ACS Style

Yeh, S.-S.; You, M.-H. Integration of Hybrid Prefilter and Corner Trajectory Planning for Simultaneously Suppressing Residual Vibration and Reducing Cornering Error of SCARA Robots. Electronics 2026, 15, 900. https://doi.org/10.3390/electronics15040900

AMA Style

Yeh S-S, You M-H. Integration of Hybrid Prefilter and Corner Trajectory Planning for Simultaneously Suppressing Residual Vibration and Reducing Cornering Error of SCARA Robots. Electronics. 2026; 15(4):900. https://doi.org/10.3390/electronics15040900

Chicago/Turabian Style

Yeh, Syh-Shiuh, and Ming-Han You. 2026. "Integration of Hybrid Prefilter and Corner Trajectory Planning for Simultaneously Suppressing Residual Vibration and Reducing Cornering Error of SCARA Robots" Electronics 15, no. 4: 900. https://doi.org/10.3390/electronics15040900

APA Style

Yeh, S.-S., & You, M.-H. (2026). Integration of Hybrid Prefilter and Corner Trajectory Planning for Simultaneously Suppressing Residual Vibration and Reducing Cornering Error of SCARA Robots. Electronics, 15(4), 900. https://doi.org/10.3390/electronics15040900

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop