Next Article in Journal
Multi-Mechanism Artificial Lemming Algorithm for Global Optimization and Color Multi-Threshold Image Segmentation
Next Article in Special Issue
Silent Signals: Correlating Plant Bioelectric Activity with Human Emotional States via Wearable Sensing
Previous Article in Journal
Prediction of Three-Dimensional Ground Reaction Forces in the Golf Swing Using Wearable Inertial Measurement Units and Biomimetic Deep Learning Models
Previous Article in Special Issue
Enhancing Flight Connectivity via Synchronization of Arrivals and Departures in Hub Airports with Evolutionary and Swarm-Based Metaheuristics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Four-Bar Linkage Path Generation Problems Using a New TLBO and Optimum Path Repairing Technique

by
Seksan Winyangkul
1,
Mahmoud Alfouneh
2 and
Suwin Sleesongsom
3,*
1
Department of Logistic Engineering and Management, Faculty of Industrial Technology, Chiang Rai Rajabhat University, Chiangrai 57100, Thailand
2
Department of Mechanical Engineering, Zabol University, Zabol 98615-538, Iran
3
Department of Aeronautical Engineering, International Academy of Aviation Industry, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
*
Author to whom correspondence should be addressed.
Biomimetics 2026, 11(3), 160; https://doi.org/10.3390/biomimetics11030160
Submission received: 12 January 2026 / Revised: 13 February 2026 / Accepted: 23 February 2026 / Published: 28 February 2026
(This article belongs to the Special Issue Advances in Digital Biomimetics)

Abstract

A self-adaptive variant of teaching–learning-based optimization, incorporating a diversity archive and referred to as ATLBO-DA, has been proposed. Combined with a new path repairing technique (PRT), it efficiently accomplishes the four-bar linkage path generation problem, but an upgraded version is needed. An update of ATLBO-DA to self-adaptive teaching–learning-based optimization with evenness factor archive (ATLBO-EFA) and a new path repairing technique are proposed at the present. The diversity archive idea of the original version is replaced with the evenness factor archive to increase the exploitation and exploration performance of the TLBO. An optimum path repairing technique (OPRT) is proposed. This novel approach is used to identify the optimum combination of four-bar mechanism types by employing the concept of Degree of Limiting (DL). Moreover, in this article, a comparative analysis of present update and the previous version use to solve four-bar linkage path generation problems is performed. Several path generation problems are solved using both techniques. The results demonstrate that the updated technique consistently outperforms the earlier version, giving superior values for both mean and minimum descriptive statistics. In addition, the results make it clear that ATLBO-EFA and OPRT are superior to the original version. The result of non-parametric statistic testing using Friedman test indicate that ATLBO-EFA ranks 1st at p-value (0.0455) < α (0.05). It can be concluded that ATLBO-EFA with OPRT offers the best solution for solving the four-bar path synthesis problems.

1. Introduction

The design of four-bar linkages (FBL) for path synthesis is crucial in various engineering applications including aircraft systems, mechanisms like landing gear, control surfaces, and flaps, which rely on complex linkages for smooth and reliable movement. Achieving optimal path synthesis for these systems requires advanced computational techniques to handle the intricate nonlinearities and constraints involved.
Four-bar linkage is a common mechanical mechanism that is applied in many devices used in daily life and production operations such as in front wheel suspensions [1], oil wells [2], and windshield wipers [3]. This mechanism’s original design may be divided into three categories. The most popular is ranking from path, motion, and function generation, respectively. The goal of an FBL path generation problem is to minimize the summed squared error (SSE) between predefined target points and the actual points traced by a coupler link. The problem is constructed as an optimization problem in which the mechanism’s link lengths and other parameters must be found.
To ensure the mechanism works as intended, certain conditions need to be met, like having a crank-rocker motion type, which requires specific relationships between the linkage lengths. These constraints make the optimization process more challenging because they limit the range of possible solutions and create a complicated search space. Traditional methods, like gradient-based approaches, struggle to handle these constraints and non-linearities effectively. Later, the optimization problem solving turned toward metaheuristic algorithms. Classical techniques such as Genetic Algorithms (GA), Differential Evolution (DE), and Teaching-Learning-Based Optimization (TLBO), etc., have been used in solving complex problems because they do not rely on gradients and easy to handle diverse constraints [4,5,6]. At present this group of techniques is called metaheuristics (MHs).
For constraint handling, the most popular approach for managing constraints in path synthesis problems in recent years is the penalty function (PF) method. To decrease the likelihood of selecting solutions that violate specific constraints in subsequent optimization iterations, this method imposes a large penalty by augmenting the objective function value of such solutions. But this method frequently results in an elimination of most of the initial population, if not all of them, particularly when strict guidelines, such as sequence constraints, are applied [7,8,9,10,11,12,13]. Because it usually takes a much larger population to find practical solutions, this problem can make optimization inefficient and considerably increase computational costs [14].
To address these challenges, researchers have devised multiple approaches to enhance sustainability and efficiency. In order to lessen the possibility of constraint violations in subsequent iterations, early work proposed methods to reorder input angles in the initial population [8]. Furthermore, a refinement procedure was proposed to reassign link lengths for individuals that do not satisfy Grashof’s criteria, which are essential for crank-rocker behavior. This was subsequently broadened by a different method that allows sequence conditions to be neglected until the very end of optimization by rearranging input angles both at initialization and at each iteration [12].
According to an additional study, the early optimization phases could be made simpler by creating an initial population that automatically satisfies Grashof’s conditions [13]. Whereas more recent study has developed ways to produce individuals that satisfy both Grashof’s law and sequence constraints, these approaches frequently produce completely new individuals instead of maintaining beneficial characteristics from earlier generations [10,11].
Despite their flexibility, metaheuristics still face issues with constraint handling in four-bar linkage problems. Common approaches, like penalty functions that add a cost to infeasible solutions, do not always work reliably, especially with linkage constraints that are highly specific. To address these limitations, recent studies have explored alternative methods, such as adjusting infeasible solutions to make them meet constraints, and a strategy known as path repairing technique (PRT) [4,5,6]. These techniques can increase computation time, but it guarantees a reliable result. Furthermore, more recent efforts have focused on adaptive optimization methods, where control parameters are adjusted dynamically during the search process to improve performance, which also approved increasing performance in design of the four-bar linkage path generation problems [4,5,6].
In this study, we propose a new approach for optimizing four-bar linkage path generation problem with a new optimum path repairing technique for handling constraint. Our method builds on the Teaching-Learning-Based Optimization (TLBO) algorithm, adding a self-adaptive mechanism and an evenness factor archive (ATLBO-EFA) in teaching phase, while a new optimum path repairing technique (OPRT) is improved with adding degree of limiting (DL). By dynamically adjusting parameters and maintaining a diverse set of solutions, we aim to improve both the reliability and quality of path synthesis results. This approach addresses some of the key challenges in the new optimizer and constraint handling and provides a better way to approach four-bar linkage design. Highlights of this research are:
(i)
To propose a new self-adaptive variant of teaching–learning-based optimization, incorporating an evenness factor archive (ATLBO-EFA).
(ii)
To propose a new optimum path repairing technique (OPRT).
(iii)
A comparative study found that the new ATLBO-EFA with OPRT outperformed ATLBO-DA with PRT, which can enhance searching ability requiring for path generation problem in both precision and reliability.

2. Position Analysis of Four-Bar Linkages

A simple kinematic diagram for path generation problems of four-bar linkage is shown in Figure 1. It is composed of four simple links as its name suggests, which are connected with four revolute joints (name denoted by capital letters). One of the four links is designated as a frame and named as link number 1, and the remaining links are named, respectively, 2–4 as shown in Figure 1. Gruebler’s equation confirms this kind of linkage needs only a single input as it possesses one degree of freedom for a planar mechanism. This linkage is called a constrained chain mechanism. Its applications are related to its motion. The law used to classify its motion is called Grashof’s criterion. It is called type I, if the sum of shortest and longest links is less than the sum of remaining two links. Otherwise, it is called type II, if the former is greater than the latter. It is always a double rocker, which means there is no one linkage completely rotated. In cases where the sums are equal, it is a parallelogram.
In the case of the type I configuration, the mechanism is categorized as the crank-rocker. In this configuration, the shortest link serves as the input link where one of the links besides functions as a frame. Only input link can completely rotate a circle. It is a double rocker, if the link opposite to the shortest link is a frame. The last one is a double crank (both input and output links complete a circle, if the shortest link is set as a frame.
Linkage lengths (r1, r2, r3, r4) and other parameters are the four-bar linkage path generation problem design variables, which is called a dimensional synthesis design problem. The objective of this optimization problem is to minimize error of actual trace points (xP, yP) and desired path (xd, yd). The actual points (xP, yP) of traced point P are on the coupler link when the crank moves with complete cycle then the actual trace path is performed. For kinematic model, more details can be found in [14]. From Figure 1, a target point on coupler link in the global coordinate system is expressed as
x P = x O 2 + r 2 cos ( θ 2 + θ 0 ) + L 1 cos ( φ 0 + θ 3 + θ 0 ) , y P = y O 2 + r 2 sin ( θ 2 + θ 0 ) + L 1 sin ( φ 0 + θ 3 + θ 0 )
where xO2 and yO2 are the pin joint O2 coordinates in the global coordinate system. With using law of cosine to the couple link BCP, ϕ0 can be obtained:
φ 0 = cos 1 L 1 2 + r 3 2 L 2 2 2 L 1 r 3
From the above equations, objective function evaluation can be evaluated in a simple way. Distance z is measured in diagonal direction from point O4 to B, and it is used to calculate following variables. The values of angles θ3, θ4, β, α and γ depend on geometrical link lengths r1, r2, r3 and r4 at any crank angle (θ2), which is calculated as follows:
z 2 = r 1 2 + r 2 2 2 r 1 r 2 cos θ 2 ,   z 2 = r 3 2 + r 4 2 2 r 3 r 4 cos γ ,
γ = cos 1 r 3 2 + r 4 2 r 1 2 r 2 2 + 2 r 1 r 2 cos θ 2 2 r 3 r 4 ,
γ = cos 1 r 3 2 + r 4 2 z 2 2 r 3 r 4 ,   α = cos 1 z 2 r 3 2 + r 4 2 2 z r 4 ,
β = cos 1 z 2 + r 1 2 r 2 2 2 z r 1 ,   θ 3 = π ( α + β + γ ) ,
θ 4 = π ( α + β ) .

3. Optimization Problem and Constraint Handling

This research proposes a comparative test of a new variant of TLBO in solving path generation problems and a new PRT for managing constraint. The path generation problem can be expressed as an optimization task, and the objective here is to minimize the error between desired target curve and the actual trajectory traced by the coupler link, as shown in (3). The position error is derived in form of a sum squares error between each pair of points Pd and Pa. Pd is the set of target or desired points, while Pa is the set of actual points. The design variables x is linkage geometry including r1, r2, r3, r4, target point position (rpx and rpy), the global position of O2 (xO2, yO2) and the angle of frame 1 (θ0). This kind of linkage can be controlled through input crank angle (θ2). The optimization problem that predefined input crank angles θi2 is called a prescribed timing. If such input crank angles are included to design variables, the problem is called the without prescribed timing. In addition, the angle sequence constraints (ascending or descending order) are necessarily assigned in optimization problem to protect the mechanism from suddenly changing its direction motion (4). Furthermore, the second constraint is set to obtain linkage that corresponds to Grashof’s criterion (5)–(6). The remaining constraint is assigned for setting limit of design variables (7). The optimization problem can be expressed as
f ( x ) = i = 1 N ( x d , i x P , i ) 2 + ( y d , i y P , i ) 2
Subject to:
θ21 < θ22 < … < θ2i< … < θ2N
min(r1, r2, r3, r4) = crank (r2)
2min(r1, r2, r3, r4) + 2max(r1, r2, r3, r4) < (r1 + r2 + r3 + r4)
xlxxu
where overall design variables vector is x = {xO2, yO2, r1, r2, r3, r4, rpx, rpy, θ0, θi2}T, N is number of predefined points (xd, yd) on the prescribed or target curve and xl and xu are lower and upper limits of the design variables x, respectively.

4. Function Evaluation and Constraint Handling

How can we deal with constraints in solving with MHs? This was a question in the past. The traditional exterior penalty function was one option chosen in the past to handle the constraints. Unlike Deb’s feasibility rule, which introduces a more nuanced ranking of feasible and infeasible solutions, the exterior penalty method relies on a binary penalization mechanism. It functions like an on-off switch in an electric circuit [5]. If the constraints (4)–(6) do not fulfill at the solution x, each penalty parameter hi of constraints (i = 1 … n) is added a large number to modify the objective function value. This state is an “on” state. Else, at an “off” state, hi = 0. The objective is not modified with an additional penalty term. With such an idea, if hi is assigned with a small value, the obtained solution is infeasible. Otherwise, if the number is too large, the optimizer will struggle to search for the optimum solution. These reasons make this technique inefficient and have motivated the previous work [4,5] to propose a new technique for constraint handling in path synthesis, but the previous technique still needs additional improvement. The previous technique is called the path repairing technique (PRT) [5], which has proved that its performance outperforms the traditional penalty technique. The PRT technique is composed of two parts. The first and second parts are concerned with repairing the link angle constraints (4) and repairing link length constraints (5)–(6), respectively. Previous workers [5] showed that introducing a combination of mechanism types within the population often yielded promising results. Populations containing a blend of crank–rockers, double–cranks, and double–rockers were shown to possess enhance diversity and solution quality. However, in general, this type of mixing cannot be built into the optimum design problem due to a lack of knowledge of the specific characteristics and function of each mechanism type. Thus, the contemporary technique still needs to be updated to make it more powerful in solving four-bar linkage path synthesis. The overall scheme of proposed techniques is presented in Figure 2, including constraint handling (Algorithm 1), function evaluation (Algorithm 2), OPRT (Algorithm 3), and ATLBO-EFA (Algorithm 4).

4.1. Input Link Angle Constraint

The path generation problem without prescribed timing requires an angle reassigning technique to protect the crank motion in a sudden change in direction. The algorithm is activated if its sequence obeys the constraint (4) as shown in Algorithm 1. The performance of this technique has been proven [5]. The reassigning technique will automatically update solution x to a new feasible design solution without constraint violation. First state of this technique, N uniform random numbers {α1, …, αN} are generated, where αi ∈ (0, 1). If the sum of αi > 2π radian, all values are scaled down so that the total does not exceed 2π. In this work, the sum is scaled down to less than one revolution at 1.99π. To generate an ascending input crank angle, the initial value of crank angle θ21 is first assigned with α1 (unit in radian). Then, the next value of αi for i = 2, …, N is accumulated to the next input crank angle until the last value is obtained as θ2N = θ21 + α2 + … + αN. With the reassigning technique, the new time sequence (all N input link angles) is absolutely rearranged in ascending order. Following this reordering, step, a portion of the design solution vector, corresponding to the input angles, is replaced with the updated set. For more information, please see [5].
Algorithm 1. Reassigning technique for timing constraint [5]
Reassigning Technique for Timing Constraint
Input infeasible x at the elements θ 2 i , θ 2 i + 1 , , θ 2 N
Output feasible x at the elements θ 2 i , θ 2 i + 1 , , θ 2 N
Random numbers {α1,…, αN} are uniformly generated, αi ∈ (0, 1).
If (α2 + … +αN) ≥ 2π, scale down all of them and modify each values as:
               For i = 2 to N
                      Generate αi = 1.99παi/(α2 + … +αN)
               End
For i = 1 to N
Step 1 If i = 1, θi2 = α1.
Step 2 Otherwise, θi2 = θ2i−1 +αi.
End

4.2. Grashof’s Criterion Constraint

A four-bar linkage can be categorized with Grashof’s criterion into two groups as Grashof’s and non-Grashof’s mechanism. In general, a crank rocker is in a group of Grashof’s mechanism, while the second group is a mechanism that fails to meet the crank rocker criteria. The second group is called non-Grashof’s mechanism. A crank rocker is commonly used in manufacturing applications, which requires only a single input crank that undergoes continuous full rotation. In such systems, the output link undergoes only partial or incomplete rotation. The geometric design of a four-bar mechanism must satisfy constraints derived from Grashof’s criterion in order to ensure its classification as either a double crank or crank rocker type. To check the possibility of usability, Grashof’s criterion can be transformed as per constraints (4)–(6).
If the geometry link length {r1, r2, r3, r4} violates the constraints (5)–(6), the new link length repairing technique is activated. This procedure proceeds according to Grashof’s criteria. A non-Grashof’s mechanism can be repaired to be a double-crank mechanism without requiring a penalty function by applying the repairing technique, which reassigns the link lengths in accordance with Grashof’s criterion. This technique can increase the likelihood of discovering improved solutions during optimization search, unlike the traditional penalty approach, which simply eliminates non-Grashof mechanism from consideration. Firstly, the numbers {δ1, δ2, δ3}, δi ∈ (0,1) are generated uniformly at random, which presents the auxiliary variables as provide the basis for subsequent calculations, as outlined below.
S1 = δ3
S2 = δ1
S3 = δ1 + δ2
S4 = δ1 + δ2 + δ3.
The new auxiliary variable (AV) Si is used in analysis instead of ri due to its proportional relationship.
According to the above Equations (8)–(11), if δ3 < δ1, the shortest link is S1 and the longest link is S4. Thus, the constraint (6) is holding if
2δ3 < δ1
This condition guarantees that the design mechanism functions as a double crank (moderately desirable case) by assigning the shortest link (S1) as frame. Otherwise (worst-case), if condition (12) is not satisfied, and the crank-rocker and double-crank never occurred, and the mechanism fails to achieve continuous rotation. To avoid the worst-case scenario in which a double rocker configuration is continually obtained, the AVs are modified when the condition 2δ3 > δ1 is met, as shown as follows:
S1 = δ1
S2 = 2δ3
S3 = 2δ3 + δ2
S4 = 2δ3 + δ2 + δ1
If conditions (13)–(16) are satisfied, the mechanism may operate as a double-rocker. In this case, condition (6) still holds if δ1 < δ3. Basically, MHs search for an optimum through iterative reproduction based on population evolution. Maintaining diversity within the populations often leads to improved results. In addition, in the real world, an effective population often consists in several crank rockers (most desirable), some double-cranks (second most desirable), and a few double-rockers (least desirable). The performance of such systems has been proved in [5]; however, further in-detail research is still needed. To avoid the attainment of a double rocker configuration, when the condition δ3 > δ1, is met, the AVs can modify as shown as follows:
S1 = δ1
S2 = δ3
S3 = δ3 + δ2
S4 = δ3 + δ2 + δ1
According to the above Equations (17)–(20), if δ3 is longer than δ1, the shortest and longest links are S1 and S4, respectively. Thus, the condition (6) holds if
2δ1 < δ3
The above Equation (21) introduces an additional condition that restricts the occurrence of non-Grashof’s mechanism. In parallel equations (14) and (18) quantify the extent of this restriction, expressed in the form of the degree of limiting (DL), denoted as kop as shown as follows.
S2 = kopδ3
where kop = (1,2). The degree of limiting (DL) factor is utilized to regulate the inclusion of non-Grashof’s mechanism within the population, enhancing the exploratory capability of the metaheuristic algorithm as previously discussed. The key question is whether or not the DL factor provides the most effective solution to the problem. Answering this requires an optimization design approach, which systematically evaluates its impact on both search performance and solution quality. Then the optimization problem in Equations (3)–(7) can be rearranged to include the kop variable in a simple way. It is included as one of the original design variables. The function evaluation (3)–(7) as an algorithm is also shown in Algorithm 2.
Algorithm 2. Function evaluation
Function Evaluation
Input x = { r1, r2, r3, r4, rpx, rpy, θ0, xO2, yO2, θi2, kop}
Output f, x and constraints
Evaluate constraints
Step 1. In case optimization problem is the without-prescribed-timing problem and if θi2 cannot fulfill constraint (4), activate Algorithm 1 to reassign the angle values.
Step 2. If constraints (5–6) are infeasible, activate Algorithm 3 to reassign link lengths.
Position analysis and function evaluation
Step 1. Otherwise, solve Equations (2)–(7) for all values of θ2 and solve Equation (1) for rp at each θ2.
Step 2. Compute the objective function values and constraints according to Equations (4)–(7).
Algorithm 3 will be detailed in next.
The auxiliary variables including DL factor are modified as follows:
S1 = δ1
S2 = kopδ3
S3 = S2 + δ2
S4 = S3 + δ1
If we hold the conditions (23)–(26), it means that there is a possibility of having a mixture variety of four-bar mechanism types in population. Meanwhile, the optimum DL factor for each problem is determined in the process of solving the FBL path generation task. However, the solving optimum DL factor for repairing mechanisms can introduce nested problems, which may lead to unsuccessful runs. At this point, the successful run of OPRT led to the implementation of the present upgrade of the ATLBO-EFA. This task will be detailed in the results and discussions. Moreover, the optimum factor DL will be discussed in the design results section. With the optimum path repairing technique, Algorithm 3 is used to allow the necessary double rockers to be included in the population evolution with optimum DL factor.
Algorithm 3. Repairing Grashof’s criterion constraint with the optimum path repairing technique
Optimum Repairing the Grashof’s Criterion Constraint
Input infeasible {r1, r2, r3, r4, kop}
Output feasible {r1, r2, r3, r4, kop}
Step 1. A set of numbers {δ1, δ2, δ3}, δi ∈ (0,1) is generated uniformly at random.
Step 2. If the constraints (5–6) are violated.
Step 3. Assign values.
S1 = δ1
S2 = kopδ3
S3 = S2 + δ2
S4 = S3 + δ1
Step 4. If max(S1, S2, S3, S4) > 1, compute δi = δi/2 and compute step (3) until
max(S1, S2, S3, S4) < 1
Step 4. Compute ri = rmin + (rmaxrmin)Si for i = 1, …, 4.
The last step in Algorithm 3 converses the value Si to ri.
Next, we look at an example of the use of Algorithm 3. Here, Algorithm 3 is applied by randomly generating set of four-bar linkage dimensions {r1, r2, r3, r4} = (5, 60) five trials. The generated four-bar linkage dimensions metric is as follows:
[ r 1 r 2 r 3 r 4 ] T = 57 . 1681 55 . 7495 20 . 9226 51 . 6144 36 . 3427 47 . 3164 35 . 2147 22 . 5519 30 . 2991 15 . 2488 18 . 8837 40 . 9425 54 . 7345 24 . 4822 39 . 3775 8 . 2695 43 . 9372 17 . 7668 43.1215 30.3183
Checking Grashof’s criterion (6) for all dimensions reveals that the sets in columns 1 and 5 satisfy the condition, thereby passing the Grashof’s criterion check. The percentage of Grashof’s mechanism is 40% and non-Grashof’s mechanism is 60%. In more detail, the four-bar mechanism corresponding to columns 1 and 5 are classified as crank rocker type due to r1 (frame) of both dimensions is longer than r2 (crank). However, it is still possible to obtain a double crank type if the random r1 (frame) is shorter than r2 (crank). In general, the probability of generating a crank rocker and double crank is approximately 0.5. For the remaining dimensions that did not satisfy Grashof’s criterion, Algorithm 3 is applied to regenerate possible dimensions. The process begins by considering the probability of transforming a non-Grashof mechanism into a Grashof mechanism, as expressed in the conditions (23–26) below:
S1 = δ1
S2 = kopδ3
S3 = kopδ3 + δ2
S4 = kopδ3 + δ2 + δ1
It is possible to satisfy Grashof’s criterion (6) if S1 + S4 < S2 + S3 holds, the mechanism type is a double crank. The requirement for this improvement can be stated as:
1 < kopδ3
If kop = 1, the condition is met with (21):
1 < δ3
The probability of transforming a non-Grashof’s mechanism into a Grashof’s mechanism is 0.25 (remaining probability of the non-Grashof’s mechanism is 0.75).
If kop = 2, the condition is
δ1 < δ3
The probability of generating a Grashof’s mechanism is 0.5 (a half of non-Grashof’s mechanism).
In conclusion, the probability of generating a Grashof’s mechanism is (0.25,0.5) if kop = (1,2). The processing in OPRT can be utilized to search for the optimum degree of limiting (DL) factor, which serves to limit the occurrence of non-Grashof mechanisms. After performing OPRT, we see in the present example the generation of a mixture of mechanism types: crank–rocker mechanisms account for approximately 40%, double–crank mechanisms range between 15–30%, and double–rocker mechanisms range between 30–45%. The proportions of double–crank and double–rocker mechanisms can be adjusted through the application of the optimum DL factor. Thus, the proportions of double–crank and double–rocker mechanisms can be adjusted through the application of the optimum DL factor.
Follow step 1, the parameters {δ1, δ2, δ3}, δi ∈ (0,1) are randomly generated for 3 times, as follows:
[ δ 1 δ 2 δ 3 ] T = 0.7135 0.5370 0.2563 0.8439 0.1462 0.8956 0.7530 0.4067 0.1177
In Step 3, the auxiliary variables are calculated by considering three distinct cases that depend on the degree of limiting factor kop = {1, 2, 1.5}. This division facilitates the study of the characteristics of the limiting behavior under different levels of restriction.
For example, δi in column 1 and kop = 1 are chosen to perform step 3:
S1 = δ1 = 0.2563
S2 = kopδ3 = (1)(0.7530) = 0.7530
S3 = S2 + δ2 = 0.7530 + 0.8439 = 1.5969
S4 = S3 + δ1 = 1.5969 + 0.2563 = 1.8532
Check step 4, if max(S1, S2, S3, S4) > 1, compute δi = δi/2 and repeatedly perform step 3.
δi = 0.1281, 0.4219, 0.3765 where i = 1, …, 3.
S1 = δ1 = 0.1281
S2 = kopδ3 = (1)(0.2034) = 0.3765
S3 = S2 + δ2 = 0.3765 + 0.4219 = 0.7984
S4 = S3 + δ1 = 0.7984 + 0.1281 = 0.9265
Check step 4, if max(S1, S2, S3, S4) < 1, Stop.
The repairing technique in Algorithm 3 is used to limit the mechanism type, which is fulfilling the Grashof criterion (S1 + S4 < S2 + S3). The double rocker can change to a double crank if S1 < S2.
Next is a continuation of the example but with δi in column 2 and kop = 2 selected to perform step 3:
S1 = δ1 = 0.4067
S2 = kopδ3 = (2)(0.5370) = 1.0740
S3 = S2 + δ2 = 1.0740 + 0.1462 = 1.2202
S4 = S3 + δ1 = 1.2202 + 0.4067 = 1.6269
Check step 4, if max(S1, S2, S3, S4) > 1, compute δi = δi/ 2 and perform step 3
δi = 0.2034, 0.0731, 0.2685 where i = 1, …, 3.
S1 = δ1 = 0.2034
S2 = kopδ3 = (2)(0.2685) = 0.5370
S3 = S2+ δ2 = 0.5370 + 0.0731 = 0.6101
S4 = S3+ δ1 = 0.6101 + 0.2034 = 0.8135
Check step 4, if max(S1, S2, S3, S4) < 1, Stop.
In Algorithm 3, the repairing technique is applied to restrict the mechanism type classified as a double-rocker to be a double crank (S1 < S2), which is fulfilled with the Grashof’s criterion (S1 + S4 < S2 + S3).
In the last case, the values δi in column 3 and kop = 1.5 are chosen for operation with OPRT. Under these conditions, the mechanism cannot be regenerated to satisfy the Grashof criterion since the inequality 2δ1 < kopδ3 is not satisfied. Then, it is a double rocker configuration (non-Grashof’s criterion) characterized by S1 < S2. Moreover, the value of the double rocker can be changed to that of double crank (S1 < S2) using the evolutionary technique, giving the second most desirable type for the path generation problem.
Then, the mixing of the crank rocker, double crank and double rocker (S1 < S2) can occur by switching the degree of limiting (DL) using the OPRT algorithm.

5. A New TLBO

5.1. TLBO

The performance of teaching-learning-based optimization (TLBO), which was proposed by [15] in 2011 as a tool for solving a wide range of engineering problems was judged favorably in previous research [4,5,14,16,17,18,19,20,21,22,23,24,25]. The performance of TLBO in solving path generation problems has been proved as has its ability to outperform others [4,5,14]. The TLBO performance is attributed to being parameter-less, which is one of the main features of this algorithm that makes it superior to some other algorithms. This technique is a population-based algorithm that mimics the teaching and learning processes that occur in general classroom teaching. It has two main reproduction processes, which start with the teacher phase, which is followed by the learning phase. In the first phase, students study and receive knowledge from a teacher; however, they cannot acquire all they need to know. In the learning phase, the students learn from their group study, and interaction with their peers, and their knowledge base builds accordingly. By analogy, in the case of the algorithm, iterations of the search process are reproduced through both phases, and the best solutions identified are then selected to form the next generation. The teacher’s phase starts with a class with a group of nP students, which denotes a design solution.

5.2. Self-Adaptive TLBO with an Evenness Factor Archive (ATLBO-EFA)

The present technique is improved from self-adaptive TLBO with diversity factor archive (ATLBO-DA) [5]. The original TLBO, teaching and learning phases are employed to create two new populations of equal sizes by two different reproduction operators. Both phases have different mission, the teaching phase emphasizes the search intensification, while the learning phase emphasizes the diversification. Premature convergence may occur at the teaching phase if the teaching operator relies on the position of the best solution. In this work, the probability of premature convergence similar to that reported in [5]—can be reduced by employing a group of teachers. The teachers are maintained within an evenness factor archive rather than a diversity factor archive. This archive stores a set of teachers designed to balance exploitation and exploration Such balance is achieved by mixing individuals from both the current and previous populations. Next, Pareto solutions (non-dominated solutions) of the bi-objective optimization problem are iteratively stored in the archive, and the two objectives dealt with are the original objective function (f(x)) and the evenness factor objective function (fEV). The evenness objective function values for 2NP solutions are calculated as follows:
f E ( x ) = w 1 f ( x ) + w 2 f 2 ( x )
where wi, i = 1, … 2, are weighting factors and w1 + w2 =1.
The second objective function f2 of the union set of solution xi in the previous and current populations can be computed based on the following previous work [26], as can be seen in Figure 3:
E V k = cos θ k = N ( μ k X p j ) N ( μ k X p j )
Algorithm 4. ATLBO-EFA algorithm
ATLBO-EFA Algorithm
Input: Define maximum number of generations and population size in form of nit and nP, respectively.
Output: xbest, fbest
Initialization:
Step I. np initial students {xi} are generated and function evaluations {fi}.
Step II. Generate four matrices: LRR_Success, LRR_Fail TRR_Success, and TRR_Fail, size 1 × 2, which is initially start with each element is unity.
Main procedure
Step 1. While termination criterion is not met, do the inner loop.
{Teacher Phase}
Step 2. Calculate Mavg (the mean position of solutions {xi}).
Step 3. Calculate TRR (the probabilities of choosing intervals)
P T R R j = T R R _ S u c c e s s j T R R _ S u c c e s s j + T R R _ F a i l j .
Step 4. For i = 1 to nP.
Step 4.1. Perform roulette wheel selection with PTRRj.
Step 4.1.1. If j = 1 is selected, TRR = 0.4 + 0.1 rand is sampled.
Step 4.1.2. Else, if j = 2 is selected, TRR = 0.5 + 0.1 rand is sampled.
Step 4.2. Generate Pr = rand and select a teacher.
Step 4.2.1. If PrTRR, set the best solution as a teacher Mbest.
Step 4.2.2. Else, if Pr > TRR, randomly select a solution in AE and set it as a teacher Mbest.
Step 4.3. Create xinew using following formular and perform the evenness objective function evaluation (27).
xnew = xold + Difference_Mean
where Difference_Meani = ri (Mi, bestTfMi,avg), and Tf = round(1 + ri).
Step 4.3.1. If xinew is better than xi, add 1 point to the j-th element of TRR_Success.
Step 4.3.2. Else, add 1 point to the j-th element of TRR_Fail.
Step 5. Replace {xi} by nP best solutions from {xi}∪{xinew}.
{Learning Phase}
Step 6. Calculate LRR (the probabilities of selecting intervals), which is similar to TRR in step 3.
Step 7. For i = 1 to nP
Step 7.1. Perform roulette wheel selection with PLRRj.
Step 7.1.1. If j = 1 is selected, LRR = 0.4 + 0.1 rand is sampled.
Step 7.1.2. Else, if j = 2 is selected, TRR = 0.5 + 0.1 rand is sampled.
Step 7.2. Generate Pr = rand.
Step 7.2.1. If PrLRR, create xinew using two-student learning and perform function evaluation.
Step 7.2.2. Else, create xinew using three-student learning and perform function evaluation.
Step 7.3. Update LRR_Success and LRR_Fail.
Step 7.3.1. If xinew is better than xi, add 1 point to the j-th element of LRR_Success.
Step 7.3.2. Else, add 1 point to the j-th element of LRR_Fail.
Step 8. Replace {xi} by nP best solutions from {xi}∪{xinew}. Calculate the evenness objective function value of xinew(27).
Step 9. Update the evenness archive (AE) with the non-dominated solutions obtained from {xi}old∪{xi}new.
Step 10. End While.
where μ1 = dij, it is needed to calculate the maximum Euclidean distance between xi and xj,
| d ij | = x i 2 + x j 2     i , j   =   1 , ,   n ( n 1 ) / 2
μ2 = f(x) is the original objective function. The new design criteria (2-d) can be used to calculate the evenness factor. The distribution evenness factor lies between 0 and 1 such that the factor closes to 0 means that the solution set is more even, but the factor closes to 1 means that the solution set is less even.
The ascending order ranking is needed, then the minimum is presented as the evenness factor:
f 2   =   E F = min ( E V k )
With such an indicator, the less crowded and high evenness is represented by the lower f2, thus it is a good selection for exploration. Meanwhile, the search direction is guided by f1. By combining these objectives, the algorithm simultaneously preserves direction and exploration. This balance is achieved through the weighted sum technique in (27). Therefore, the weighted sum in the function fE is a balance between exploitation and exploration. However, the values of w1 and w2 are randomly generated to create diversity for fE. The weighted sum has been studied with sensitivity analysis and it has been shown that it plays a crucial role in the computation of the ranking of alternatives, which makes this technique able to enhance the diversity of the population [27,28]. A new merit function vector is defined by f(x) = {f(x), fE(x)}T, which follows the non-dominated sorting process.
To judge whether x1 dominates x2, if at least one element of f(x1) is strictly lower than the corresponding element in f(x2) (f(x1) ≤ f(x2) for all elements). ATLBO-EFA uses similar scheme for choosing teachers in the self-adaptive TLBO in the way non-dominated solutions are properly set as teachers.
Then the teacher can be either the best solution or randomly chosen one from the evenness factor archive. At this state, the teaching reproduction rate TRR is used to determine the probability of choosing the best solution as a teacher. On the other hand, based on the work by [5], with respect to the learning phase, the learning between two students is replaced by self-learning by three students. The self-learning by three students is achieved in such a way that three solutions are randomly selected from the current population. The best of them is assigned as xp while the other two are randomly assigned as xi1 and xi2 as shown in (31).
xinew = xiold + rand(rand(xp − xi1) + rand(xp − xi2))
where a uniform random number is generated by rand ∈ [0, 1]. This relationship is used to maintain population diversity in the three-student operator.

6. Numerical Experiments

Four path synthesis test problems of four-bar are used to evaluate the performance of the proposed technique and the previous improvement. Performance testing of the new approach is compared with the base-line technique (ATLBO-DA) and the previous results [4,5,14,29]:
Problem 1.
Path generation without prescribed timing (straight line target path) 
Design variables: 
x = {r1, r2, r3, r4, rpx, rpy, θ0, x2, y2,θ21,θ22,θ23, θ24, θ25, θ26, kop}T.
Target points are rdi = {(20,20), (20,25), (20,30), (20,35), (20,40), (20,45)} 
Limits of the design variables: 
5 ≤ r1, r2, r3, r4 ≤ 60
−60 ≤ rpx, rpy, x2, y2 ≤ 60
0 ≤ θ0, θ21,θ22,θ23, θ24, θ25, θ26 ≤ 2π.
Problem 2.
Path generation problem with prescribed timing (circular target path)
Design variables:
x = {r1, r2, r3, r4, rpx, rpy, θ0, x2, y2, kop}T
θ 2 i = π 6 , π 3 , π 2 , 2 π 3 , 5 π 6 , π
Target points are rdi = {(0,0), (1.9098,5.8779), (6.9098, 9.5106), (13.09, 9.5106), (18.09,5.8779), (20,0)}.
Limits of the design variables are:
5 ≤ r1, r2, r3, r4 ≤ 50
−50 ≤ rpx, rpy, x2, y2 ≤ 50
0     θ 0     2 π .
Problem 3.
Path generation problem without prescribed timing (elliptical target path)
Design variables are
x = {r1, r2, r3, r4, rpx, rpy, θ0, x2, y2,θ21,θ22,θ23, θ24, θ25, θ26, θ27, θ28, θ29, θ210, kop}T.
Target points are:
rdi = {(20,10), (17.66,15.142), (11.736,17.878), (5,16.928), (0.60307,12.736), (0.60307,7.2638), (5,3.0718), (11.736, 2.1215), (17.66,4.8577), (20,10)}.
Limits of the design variables are:
5 ≤ r1, r2, r3, r4 ≤ 80
−80 ≤ rpx, rpy, x2, y2 ≤ 80
0 ≤ θ0, θ21,θ22,θ23, θ24, θ25, θ26, θ27, θ28, θ29, θ210 ≤ 2π
Problem 4.
A GA–DE Hybrid Evolutionary Algorithm for Path Synthesis of Four-Bar Linkage.
Design variables are
x = {r1, r2, r3, r4, rpx, rpy, θ0, x2, y2,θ21, kop}T.
Target points are:
rdi = {(0.5,1.1), (0.4,1.1), (0.3,1.1), (0.2,1.0), (0.1,0.9), (0.005,0.75), (0.02,0.6), (0.0, 0.5), (0.0,0.4), (0.03,0.3), (0.1,0.25), (0.15,0.2), (0.2,0.3), (0.3,0.4), (0.4,0.5), (0.5,0.7), (0.6,0.9), (0.6,1.0)} and θ2i = [θ21, θ21 + 20°*i] (i = 1,2, …, 17)
Limits of the design variables are:
0 ≤ r1, r2, r3, r4 ≤ 50
−50 ≤ rpx, rpy, x2, y2 ≤ 50
0 ≤ θ0, θ2i ≤ 2π
The optimizers used to tackle the test problems are the original ATLBO-DA [5] and newly developed meta-heuristics (ATLBO-EFA) with optimum DL. The optimization input parameter is set as population size nP = 100, while the total number of iterations or generations for each optimization run is set to be 500. Its termination criterion is set up with the total number of function evaluations as 100 × 500. All problems are run 30 times to measure their convergence rate and consistency of both algorithms.

7. Design Results

The optimum dimensions of the four-bar linkage are the main purpose of the path generation of four-bar mechanisms, which minimize the objective function. Four case studies with and without prescribed timing are considered for performance testing of the new optimizer and optimum path repairing technique. The minimum value of the objective represents its performance in searching for finding the best optimum point, while the mean values are used as the reliable indicator, the higher the mean, the less reliable optimizer. The optimum DL factor is represented the best mixing of mechanism type for each problem case.
The results of Problem 1, which are obtained using the comparative optimizers together with the new optimum path repairing technique, are presented in the first three columns of Table 1. In the table, 30 optimization runs are used for descriptive statistics including: Mean (the mean objective function values), Max (the worse result), Min (the best result), and Std (the standard deviation). The table also indicates the best design variables identified by each algorithm. The statistic test is computed from the sum of squares of the distances between the desired points, and the actual points, while the term “Error” is the mean sum of squares of the distances between them. The error can be compared with the previous report. From the results, it is seen that the proposed method and the path repairing technique is far superior to those of the previous technique. From all 30 runs of Problem 1, the optimizer that gives the best results is ATLBO-EFA for both the mean value (fobj = 0.092709) and the best min (fobj = 1.5 × 10−6). The new technique can strongly reduce Max and Std. For Problem-1, the optimum DL factor converges to value of 1.7929 for ATLBO-DA and 1.0449 for ATLBO-EFA. This means that the OPRT transforms a double rocker into double crank with probabilities of occurrence close to 0.5 and 0.25, respectively. The higher value corresponds to poorer performance in this case, meaning that the closer the DL factor is to the lower bound, the better the outcome. Higher performance is achieved by regenerating with the addition of Grashof’s mechanism (double crank) for 26.12% of the non-Grashof mechanism type. Ultimately, the optimum degree of limiting (DL) aligns with the final mechanism choice for this case, identified as the crank rocker (Figure 4). Although link 2 can rotate in a complete a circle, it works partially in a circle. This indicates that the optimum mechanism operates as a double rocker, according to the selected optimum degree of limiting (DL). The chosen DL maintains the mixing of the double rocker as close as possible to its highest feasible limit. Significantly, the new technique is able to enhance consistency in convergence toward the optimum solution. Thus the new technique gives more reliable results than did the previous. The optimum path traced by the coupler point of the best solution and the kinematic diagram of the best linkage is shown in Figure 4a and Figure 4b, respectively. It is found that ATLBO-EFA with OPRT gives the best result (Error = 4.58 × 10−4) compared to the original version (0.0026) in the present run, which are better than the results reported in the literature [5,11,12], including the constraint handling with Deb’s feasibility rule [29]. The best four-bar linkage obtained from the best solution as shown in Figure 4b can completely rotate in an ascending direction.
For Problem 2 with the number of target points at 6, the results obtained from using the previous ATLBO-DA and the new technique with OPRT are shown in Table 1, columns 4–6. The coupler curves and the best linkages obtained from TLBO are shown in Figure 5a and Figure 5b respectively. In this case, the new approach demonstrates a significant improvement in the mean and min, as well as the other statistic parameters, compared to previous results. For this case, the optimum DL converge to 1.0609 for ATLBO-DA and 1.2082 for ATLBO-EFA. Both approaches demonstrate a similar convergence trend, though with slightly different DL values. For this problem, a slightly elevated value of DL achieves better results. In this case, the value of kop converges close to the lowest bound, which is reflected in the optimum DL trend. This means that the OPRT algorithm transforms the double rocker into a double crank with a probability close to 0.25. By regenerating with the addition of Grashof’s mechanism (double crank) for 30.20% of the non-Grashof mechanism type. The optimum DL aligns with the final optimum mechanism choice for this case, confirming that the best solution is crank rocker. Although link 2 can rotate in a complete a circle, it operates in a partial circle (Figure 5b). This means that the optimum mechanism functions as a double rocker, determined by the selected optimum degree of limiting (DL). The chosen DL keeps the mixing of the double rocker slightly below its highest allowable limit. As was the case in Problem-1, the new technique can increase consistency in convergence to the optimum solution better than the previous technique can [5,11,12]. From all 30 runs of Problem 2, the optimizer that gives the best mean is ATLBO-EFA (fobj = 6.814966), while the best result (fobj = 0.761388) is obtained from the present technique. The new technique can strongly reduce Max and Std rather than the previous variant [present run, 5, 11,12]. For Problem-2, each optimizer yields the best error value of 0.3073, demonstrating improved consistency across runs. The four-bar linkage obtained from the best solution, illustrated in Figure 5b, is capable of completing a full rotation in the ascending direction.
In Problem 3 with the prescribed curve with 10 points, the results obtained by the new algorithms with the optimum path repairing technique are shown in Table 2 (first three columns of the table). The coupler curve and the best linkage are shown in Figure 6a and Figure 6b, respectively. From the results, it is found that ATLBO-EFA gives the best results for both the mean objective function value and the best result when using OPRT. For this case, the optimum DL factor converges to 1.0149 for ATLBO-DA and 1.9105 for ATLBO-EFA. Unlike the earlier cases, here the higher value corresponds to better performance, indicating that ATLBO-EFA achieves superior results when the DL factor trends toward the upper limit. In this case, kop converges close to the highest value, which is reflected in the optimum DL trend. This means that the OPRT algorithm transforms the double rocker into a double crank with probabilities close to 0.25 and 0.5, respectively. Higher performance is achieved by regenerating with the addition of Grashof’s mechanism (double crank) for 47.76% of the non-Grashof mechanism type. The optimum DL therefore aligns with the final optimum mechanism of choice for this case, which is crank rocker. In this case, link 2 is able to rotate through a complete circle, achieving full rotation (Figure 6b). This shows that the optimum mechanism functions as a true crank-rocker, determined by the selected optimum DL. The chosen DL keeps the mixing of the double rocker close to the lower limit, ensuring that the mechanism remains stable. Then here, the new techniques is better able to increase consistency in converge to the optimum solution than the previous technique [5,11,12]. From all 30 runs of Problem 3, the optimizer that gives the best mean is ATLBO-EFA (fobj = 0.291322), while the best result (fobj = 9.54 × 10−4) is obtained from the present technique. Similarly to the previous problems, the new technique greatly improved its performance in searching. The best result from ATLBO-EFA achieves an error of 0.0086, which is clearly superior to that of the original version (0.0234) in the present run. In addition, this performance is also superior to previous results reported in the literature [5,11,12], including the constraint handling with Deb’s feasibility rule [29]. The linkage obtained from the best solution as shown in Figure 6b can completely rotate in an ascending direction.
In Problem 4 with the prescribed closed-loop curve, the results obtained by the new algorithms with the optimum part repairing technique are shown in Table 2 (fourth–sixth column of the table). The coupler curve and the best linkage are shown in Figure 7a and Figure 7b, respectively. From the results, it is found that ATLBO-EFA gives the best results for both the mean objective function value and the best result when using OPRT. The optimum DL converges to value for ATLBO-DA (kop = 1.8124) and ATLBO-EFA (kop = 1.1989) in such a way that the lower becomes better. This case, the OPRT algorithm transforms the double rocker into a double crank with probabilities close to 0.5 and 0.25, respectively. Superior performance is thus achieved by transformation with the addition of Grashof’s mechanism (double crank) for 29.97% of the non-Grashof type. Although link 2 is capable of completing a full rotation, in practice it operates only partially within a circle (Figure 7b). This means that the optimum mechanism operates as a double rocker, determined by the selected optimum degree of limiting (DL). The chosen DL keeps the mixing of the double rocker slightly below its highest limit, in a manner similar to Problem 2. Furthermore, it means that the new technique can better increase consistency of convergence to the optimum solution than the previous technique [5,11,12]. From all 30 runs of Problem 2, the optimizer that gives the best mean is ATLBO-EFA (fobj = 0.286989), while the best result (fobj = 0.029717) is obtained from the present technique. Similarly to the previous problems, the new technique greatly improves its performance in searching. The best result from ATLBO-EFA gives the best error of 0.037, which is better than original version (0.039) in the present run and better than the previous result in the literature [5,11,12]. The linkage obtained from the best solution as shown in Figure 7b can completely rotate in an ascending direction in accordance with the elliptic target path.
The previous tables rely on descriptive statistic discussions, the non-parametric statistic test with the Friedman test is presented in Table 3. It is shown that ATLBO-EFA with OPRT is superior to the ATLBO-DA OPRT. In this study, the Friedman test and the Tukey–Kramer test are used for comparing the results. Based on the Friedman test, ATLBO-EFA ranks 1st at p-value (0.0455) < α (0.05), as shown in Table 3. It can be summarized that ATLBO-EFA is the best performer for solving the four-bar path synthesis problems cases 1–4. Based on the Tukey–Kramer test, the mean column ranks of both ATLBOs are significantly different.
Computational time required by the new method is approximated twice as the previous version as shown in Table 4, but the performance of the present is strongly increased as shown in Table 1 and Table 2. The new technique offers high returns, but it requires high investment. Then, the computational time is less significant than the performance.
The convergence history plots comparing the original TLBO and the new ATLBO-EFA show that the search histories of ATLBO-EFA fluctuate more strongly than those of TLBO-DA, as shown in Figure 8 and Figure 9 (including the enlarges views). This extended fluctuation reflects the exploration capability of ATLBO-EFA.
Importantly, the incorporation of the Evenness Factor Archive (EFA) effectively prevents premature convergence, allowing the algorithm to maintain diversity and achieve superior optimization performance compared to the baseline approach.
A further look inside the diversity metric reveals that ATLBO-DA employs a diversity factor, while the ATLBO-EFA uses an evenness factor. Both metrics are used to control diversity of population, which is expected against premature convergence. As illustrated in Figure 10, convergence history of the best minimum values across the four problems highlight the role of these metrics in maintaining diversity and supporting effective exploration during optimization. The diversity metric is modified using 1/max(FD), where FD represents the diversity factor in Euclidean norm. This adjustment ensures the metric behaves directionally similar to the evenness factor (EV), with both tending toward zero—where lower values indicate better performance. The smaller 1/max(FD) means less diversity, while the evenness factor close to zero means greater evenness. Convergence history plots of all problems show the evenness factor fluctuates more strongly and for longer durations than the diversity factor. It means the diversity of population can be handled by evenness factors rather than by direct diversity factor. The sustained fluctuation of EV helps prevent premature convergence and supports the search for optimal solutions. In the ATLBO-DA case, fluctuations diminish after approximately 50 iterations, signaling reduced exploration. However, ATLBO-EFA maintains fluctuations until the end of the run, thereby sustaining diversity throughout the optimization process. This persistent variability explains why the new technique achieves superior results.

8. Conclusions

In conclusion, optimizing four-bar linkage path generation through a self-adaptive teaching–learning approach incorporating an evenness factor archive demonstrates significant potential. The ATLBO-EFA combined with an optimum path repairing technique significantly improves four-bar linkage path synthesis by minimizing path error and enhancing solution consistency. Across all cases, ATLBO-EFA achieved lower mean errors, best objective values, and reduced variability, consistently outperforming previous methods in aligning the actual and target paths. A non-parametric statistical analysis using the Friedman test confirms ATLBO-EFA to be the best-ranking method, with p-value (0.0455) < α (0.05). It can be summarized that ATLBO-EFA is the best performer for solving the four-bar path synthesis problems cases 1–4. This novel approach provides robust handling of complex constraints, making it both effective and efficient for systems requiring precise and reliable path generation.
For future work, this technique will be used to synthesize a variable camber mechanism to control a variable camber wing or morphing wing.

Author Contributions

Conceptualization, S.S.; methodology, S.S.; software, S.S.; validation, S.S., M.A. and S.W.; formal analysis, S.S., M.A. and S.W.; investigation, S.S., M.A. and S.W.; writing—original draft preparation, S.S., M.A. and S.W.; writing—review and editing, S.S.; supervision, S.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available in article.

Acknowledgments

The authors are grateful for the support provided by King Mongkut’s Institute of Technology Ladkrabang.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Pichandi, M.; Mohan, B.; Jagadeesh, S.; Balaji, S. Conventional Four-bar Linkage Steering System Adoption for Underslung Front Suspension. ARAI J. Mobil. Technol. 2022, 2, 249–255. [Google Scholar] [CrossRef]
  2. Yin, X.; Du, Z.; Wang, Y.; Lu, S.; Li, Y.; Zhao, T. Analysis and experimental study of oil well indicator diagram based on electric parameter method. Energy Rep. 2022, 8, 734–745. [Google Scholar] [CrossRef]
  3. Esmail, L.E.; Juber, H.A.; Hussap, H.A. Reconfigurable four-bar linkages for mechanism design laboratory. Int. J. Mech. Eng. 2018, 9, 897–907. [Google Scholar]
  4. Sleesongsom, S.; Bureerat, S. Optimal Synthesis of Four-Bar Linkage Path Generation Through Evolutionary Computation with a Novel Constraint Handling Technique. Comput. Intell. Neurosci. 2018, 2018, 5462563. [Google Scholar] [CrossRef]
  5. Bureerat, S.; Sleesongsom, S. Constraint handling technique for four-bar linkage path generation using self-adaptive teaching–learning-based optimization with a diversity archive. Eng. Optimiz. 2020, 53, 513–530. [Google Scholar] [CrossRef]
  6. Grabski, J.K.; Sopa, M.; Mrozek, A. Application of the path-repairing technique and virus optimization algorithm for the dimensional synthesis of four-bar mechanisms. Arch. Civ. Mech. Eng. 2023, 23, 134. [Google Scholar] [CrossRef]
  7. Cabrera, J.A.; Simon, A.; Prado, M.; Munoz, S. Optimal synthesis of mechanisms with path generation tasks by using Genetic Algorithms. Mech. Mach. Theory 2002, 37, 327–343. [Google Scholar] [CrossRef]
  8. Smaili, A.; Diab, N. Optimum synthesis of hybrid-task mechanisms using ant-gradient search method. Mech. Mach. Theory 2007, 42, 115–130. [Google Scholar] [CrossRef]
  9. Cabrera, J.A.; Nadal, F.; Muñoz, J.P.; Simon, A. Multiobjective constrained optimal synthesis of planar mechanisms using a new evolutionary algorithm. Mech. Mach. Theory 2007, 42, 791–806. [Google Scholar] [CrossRef]
  10. Bulatović, R.R.; Orević, S.R. On the optimum synthesis of a four-bar linkage using differential evolution and method of variable controlled deviations. Mech. Mach. Theory 2009, 44, 235–246. [Google Scholar] [CrossRef]
  11. Acharyya, S.K.; Mandal, M. Performance of EAs for four-bar linkage synthesis. Mech. Mach. Theory 2009, 44, 1784–1794. [Google Scholar] [CrossRef]
  12. Lin, W.Y. A GA–DE hybrid evolutionary algorithm for path synthesis of four-bar linkage. Mech. Mach. Theory 2010, 45, 1096–1107. [Google Scholar]
  13. Cabrera, J.A.; Ortiz, A.; Nadal, F.; Castillo, J.J. An evolutionary algorithm for path synthesis of mechanisms. Mech. Mach. Theory 2011, 46, 127–141. [Google Scholar] [CrossRef]
  14. Sleesongsom, S.; Bureerat, S. Four-bar linkage path generation through self-adaptive population size teaching-learning based optimization. Knowl.-Based Syst. 2017, 135, 180–191. [Google Scholar] [CrossRef]
  15. Rao, R.V.; Savsani, V.J.; Vakharia, D.P. Teaching-Learning-Based Optimization: A Novel Method for Constrained Mechanical Design Optimization Problems. Comput.-Aided Des. 2011, 43, 303–315. [Google Scholar] [CrossRef]
  16. Satapathy, S.C.; Naik, A. Modified Teaching-Learning-Based Optimization Algorithm for Global Numerical Optimization—A Comparative Study. Swarm Evol. Comput. 2014, 16, 28–37. [Google Scholar]
  17. Yang, Y.; Li, K.; Niu, Q.; Xue, Y.; Foley, A. A Self-Learning TLBO Based Dynamic Economic/Environmental Dispatch Considering Multiple Plug-in Electric Vehicle Loads. J. Mod. Power Syst. Clean Energy 2014, 2, 298–307. [Google Scholar] [CrossRef]
  18. Bureerat, S.; Pholdee, N.; Park, W.W.; Kim, D.K. An Improved Teaching-Learning Based Optimization for Optimization of Flatness of a Strip During a Cooling Process. In Proceedings of the Tenth International Workshop, MIWAI, Chiang Mai, Thailand, 7–9 December 2016; Springer: Cham, Switzerland, 2016. [Google Scholar]
  19. Pholdee, N.; Bureerat, S. Hybrid TLBO and BFGS for Structural Health Monitoring Optimization Problems. Adv. Eng. Res. 2016, 93, 198–204. [Google Scholar]
  20. Shao, W.; Pi, D.; Shao, Z. A Hybrid Discrete Optimization Algorithm Based on Teaching Probabilistic Learning Mechanism for No-Wait Flow Shop Scheduling. Knowl.-Based Syst. 2016, 107, 219–234. [Google Scholar] [CrossRef]
  21. Yu, K.; Wang, X.; Wang, Z. An Improved Teaching-Learning-Based Optimization Algorithm for Numerical and Engineering Optimization Problems. J. Intell. Manuf. 2016, 27, 831–843. [Google Scholar] [CrossRef]
  22. Wang, Y.; Feng, X.; Lyu, X.; Li, Z.; Liu, B. Optimal Targeting of Nonlinear Chaotic Systems Using a Novel Evolutionary Computing Strategy. Knowl.-Based Syst. 2016, 107, 261–270. [Google Scholar] [CrossRef]
  23. Zou, F.; Chen, D.; Xu, Q. A survey of teaching–learning-based optimization. Neurocomputing 2019, 335, 366–383. [Google Scholar] [CrossRef]
  24. Li, W.; Fan, Y.; Xu, Q. Teaching-Learning-Based Optimization Enhanced with Multiobjective Sorting Based and Cooperative Learning. IEEE Access 2020, 8, 65923–65937. [Google Scholar] [CrossRef]
  25. Fan, Q.; Zhang, Y.; Wang, Z. Improved teaching learning-based optimization and its application in parameter estimation of solar cell models. Intell. Autom. Soft Comput. 2018, 26, 1–12. [Google Scholar] [CrossRef]
  26. Sleesongsom, S. Multiobjective optimization with even Pareto filter. In Proceedings of the 2008 Fourth International Conference on Natural Computation, Jinan, China, 18 October 2008; IEEE: Piscataway, NJ, USA, 2008; pp. 92–96. [Google Scholar]
  27. Kumar, G.; Parimala, N. A Sensitivity Analysis on Weight Sum Method MCDM Approach for Product Recommendation. In Distributed Computing and Internet Technology. ICDCIT 2019; Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioin-formatics); Springer: Cham, Switzerland, 2019; Volume 11319, pp. 185–193. [Google Scholar]
  28. O’Shea, R.; Deeney, P.; Triantaphyllou, E.; Diaz-Balteiro, L.; Tarim, S.A. Weight Stability Intervals for Multi-Criteria Decision Analysis Using the Weighted Sum Model. Expert Syst. Appl. 2026, 296, 128460. [Google Scholar] [CrossRef]
  29. Sleesongsom, S.; Bureerat, S. Alternative constraint handling technique for four-bar linkage path generation. In Proceedings of the 5th International Conference on Mechanical Engineering, Materials Science and Civil Engineering, Kuala Lumpur, Malaysia, 15–16 December 2017. [Google Scholar]
Figure 1. Kinematic diagram of a four-bar linkage in a global coordinate system.
Figure 1. Kinematic diagram of a four-bar linkage in a global coordinate system.
Biomimetics 11 00160 g001
Figure 2. Flow diagram: (a) ATLBO-EFA; (b) function evaluation including OPRT.
Figure 2. Flow diagram: (a) ATLBO-EFA; (b) function evaluation including OPRT.
Biomimetics 11 00160 g002
Figure 3. Distribution evenness factor.
Figure 3. Distribution evenness factor.
Biomimetics 11 00160 g003
Figure 4. (a) Best coupler curve obtained in Problem 1. (b) Best mechanism obtained in Problem 1.
Figure 4. (a) Best coupler curve obtained in Problem 1. (b) Best mechanism obtained in Problem 1.
Biomimetics 11 00160 g004
Figure 5. (a) Best coupler curve obtained in Problem 2. (b) Best mechanism obtained in Problem 2.
Figure 5. (a) Best coupler curve obtained in Problem 2. (b) Best mechanism obtained in Problem 2.
Biomimetics 11 00160 g005
Figure 6. (a) Best coupler curve obtained in Problem 3. (b) Best mechanism obtained in Problem 3.
Figure 6. (a) Best coupler curve obtained in Problem 3. (b) Best mechanism obtained in Problem 3.
Biomimetics 11 00160 g006
Figure 7. (a) Best coupler curve obtained in Problem 4. (b) Best mechanism obtained in Problem 4.
Figure 7. (a) Best coupler curve obtained in Problem 4. (b) Best mechanism obtained in Problem 4.
Biomimetics 11 00160 g007
Figure 8. Search history of ATLBO-DA and ATLBO-EFA. (a) Problem 1. (b) Problem 2. (c) Enlarged search history of Problem 1. (d) Enlarged search history of Problem 2.
Figure 8. Search history of ATLBO-DA and ATLBO-EFA. (a) Problem 1. (b) Problem 2. (c) Enlarged search history of Problem 1. (d) Enlarged search history of Problem 2.
Biomimetics 11 00160 g008
Figure 9. Search history of ATLBO-DA and ATLBO-EFA. (a) Problem 3. (b) Problem 4. (c) Enlarged search history of Problem 3. (d) Enlarged search history of Problem 4.
Figure 9. Search history of ATLBO-DA and ATLBO-EFA. (a) Problem 3. (b) Problem 4. (c) Enlarged search history of Problem 3. (d) Enlarged search history of Problem 4.
Biomimetics 11 00160 g009
Figure 10. Diversity metric of ATLBO-DA and ATLBO-EFA plot over time. (a) Problem 1. (b) Problem 2. (c) Problem 3. (d) Problem 4.
Figure 10. Diversity metric of ATLBO-DA and ATLBO-EFA plot over time. (a) Problem 1. (b) Problem 2. (c) Problem 3. (d) Problem 4.
Biomimetics 11 00160 g010aBiomimetics 11 00160 g010b
Table 1. Comparative results of Problems 1 and 2.
Table 1. Comparative results of Problems 1 and 2.
Problem 1With Optimum DLProblem 2With Optimum DL
ParametersATLBO-DAATLBO-EFAParametersATLBO-DAATLBO-EFA
r141.362215.4197r147.331947.3318
r28.40465.1258r28.95948.9594
r324.383030.9560r326.141526.1415
r428.355922.5307r450.000050.0000
rpx3.779556.5099rpx43.529643.5295
rpy43.5926−60rpy−27.9914−27.9916
x254.1462−57.2968x216.822416.8224
y25.571940.5854y2−50.0000−50.0000
θ00.37580.0013θ00.84410.8441
θ120.31711.7766Mean9.8880426.814966
θ220.58032.1189Min0.7613880.761388
θ320.83502.4517Max16.9056316.90563
θ421.11032.7785Std7.841767.325533
θ521.45313.1020Error0.30730.3073
θ622.30743.4283kop1.06091.2082
Mean0.3618160.092709
Min6.52 × 10−51.5 × 10−6
Max3.2050111.03494
Std0.8106620.259242
Error0.00264.58 × 10−4
kop1.79291.0449
Table 2. Comparative results of the Problem case 3–4.
Table 2. Comparative results of the Problem case 3–4.
Case 3With Optimum DLCase 4With Optimum DL
ParametersATLBO-DAATLBO-EFAParametersATLBO-DAATLBO-EFA
r144.966479.1735r13.905738.2658
r28.04758.0181r20.27520.3898
r328.216050.5317r37.407238.6554
r426.874142.6833r43.89650.9075
rpx−6.3206−10.6619rpx1.552218.0488
rpy−0.7395−3.1406rpy1.391511.9765
x210.762210.9675x21.62745.9630
y216.259621.0606y2−0.8826−20.2262
θ00.75610.7024θ01.26091.2325
θ126.5672 × 10−49.3801 × 10−4θ121.26091.2325
θ220.70370.7023Mean0.5582810.286989
θ321.40321.4053Min0.0336550.029717
θ422.11892.1186Max2.5416452.146459
θ522.84602.8310Std0.8447480.403582
θ623.56033.5365Error0.0390.037
θ724.25154.2280kop1.81241.1989
θ824.92924.9118
θ925.60815.5956
θ1026.28096.2831
Mean1.1651780.291322
Min0.007560.000954
Max17.941886.402288
Std3.7685561.223671
Error0.02340.0086
kop1.01491.9105
Table 3. Average ranking and p-value of performance index of ATLBO-DA and ATLBO-EFA achieved by Friedman test.
Table 3. Average ranking and p-value of performance index of ATLBO-DA and ATLBO-EFA achieved by Friedman test.
p-ValueAverage Ranking of Both Techniques
Friedman
ATLBO-DAATLBO-EFA
0.045521
(2)(1)
Table 4. Average running time(s) of ATLBO-DA and ATLBO-EFA applied to path synthesis problems.
Table 4. Average running time(s) of ATLBO-DA and ATLBO-EFA applied to path synthesis problems.
ProblemsATLBO-DAATLBO-EFA
I11.689727.8276
II11.620727.3448
III11.620727.5517
IV11.758627.5862
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

Winyangkul, S.; Alfouneh, M.; Sleesongsom, S. Four-Bar Linkage Path Generation Problems Using a New TLBO and Optimum Path Repairing Technique. Biomimetics 2026, 11, 160. https://doi.org/10.3390/biomimetics11030160

AMA Style

Winyangkul S, Alfouneh M, Sleesongsom S. Four-Bar Linkage Path Generation Problems Using a New TLBO and Optimum Path Repairing Technique. Biomimetics. 2026; 11(3):160. https://doi.org/10.3390/biomimetics11030160

Chicago/Turabian Style

Winyangkul, Seksan, Mahmoud Alfouneh, and Suwin Sleesongsom. 2026. "Four-Bar Linkage Path Generation Problems Using a New TLBO and Optimum Path Repairing Technique" Biomimetics 11, no. 3: 160. https://doi.org/10.3390/biomimetics11030160

APA Style

Winyangkul, S., Alfouneh, M., & Sleesongsom, S. (2026). Four-Bar Linkage Path Generation Problems Using a New TLBO and Optimum Path Repairing Technique. Biomimetics, 11(3), 160. https://doi.org/10.3390/biomimetics11030160

Article Metrics

Back to TopTop