원시데이터 수집 시스템
선정목록으로

Optimal synthesis of four-bar linkages for path generation using the individual repairing method

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Xinyuan Yao — Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
  2. Xingdong Wang — Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
  3. Wei Sun — Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
  4. Jianyi Kong — Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
  5. Zhongkang Lin — Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China
DOI
10.5194/ms-13-79-2022
저널
Mechanical sciences
발행년도
2022
발행기관
Copernicus Publications
피인용수
4
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.5194/ms-13-79-2022
토픽
Gear and Bearing Dynamics Analysis
OpenAlex ID
W4213270166

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract. Constraints are one of the main factors that hinder the optimal synthesis of linkages to obtain the global optimum. At present, the most commonly used constraint handling method is called the penalty function (PF) method, but this technique has proven to be inefficient and unreliable in path synthesis. In this paper, a novel and effective constraint handling method called the individual repairing (IR) method is developed for the optimization model of four-bar mechanisms for path synthesis. The function of the IR method is to check the conformity of each individual to the Grashof condition, the sequence condition, and the variable range condition after population initialization and each iteration as well as to repair all unreasonable individuals according to the corresponding repairing technique to make them all satisfy the constraint conditions. In other words, the new constraint handling method establishes a transformation method so that each infeasible point in the search space uniquely corresponds to a feasible point. Based on the IR method, the optimization of path synthesis can be effectively carried out. Finally, the validity and reliability of the new constraint handling method are verified using three examples.

본문 36,794자

본문 펼치기
Mech. Sci., 13, 79–87, 2022 https://doi.org/10.5194/ms-13-79-2022 © Author(s) 2022. This work is distributed under the Creative Commons Attribution 4.0 License. # Optimal synthesis of four-bar linkages for path generation using the individual repairing method Xinyuan Yao, Xingdong Wang, Wei Sun, Jianyi Kong, and Zhongkang Lin Key Laboratory of Metallurgical Equipment and Control Technology, Ministry of Education, Wuhan University of Science and Technology, Wuhan 430081, China Correspondence: Xingdong Wang (wangxingdong@wust.edu.cn) Received: 17 September 2021 – Revised: 5 January 2022 – Accepted: 13 January 2022 – Published: 15 February 2022 Abstract. Constraints are one of the main factors that hinder the optimal synthesis of linkages to obtain the global optimum. At present, the most commonly used constraint handling method is called the penalty function (PF) method, but this technique has proven to be inefficient and unreliable in path synthesis. In this paper, a novel and effective constraint handling method called the individual repairing (IR) method is developed for the optimization model of four-bar mechanisms for path synthesis. The function of the IR method is to check the conformity of each individual to the Grashof condition, the sequence condition, and the variable range condition after population initialization and each iteration as well as to repair all unreasonable individuals according to the corresponding repairing technique to make them all satisfy the constraint conditions. In other words, the new constraint handling method establishes a transformation method so that each infeasible point in the search space uniquely corresponds to a feasible point. Based on the IR method, the optimization of path synthesis can be effectively carried out. Finally, the validity and reliability of the new constraint handling method are verified using three examples. 1 Introduction A linkage mechanism is a kind of commonly used mechanism that is employed to realize the motion transformation and power transmission (Sandor and Erdman, 1984; Erdman et al., 1984). Among various linkage mechanisms, the fourbar mechanism is essential and widely used due to its simple structure, stable output, and the fact that it is easy to control and maintain (Bu´skiewicz, 2019; Kadarno et al., 2021; Lee et al., 2021; Yildiz, 2021; Zhao et al., 2014). A class of design tasks for linkage mechanisms is called path synthesis. The purpose of path synthesis is to find the optimal dimensional parameters of a mechanism so that a point on the coupler link can move along a desired curve (Fox and Willmert, 1967; Han, 1966; Li et al., 2020; Khan et al., 2015). In general, the desired curve of path synthesis usually refers to a sequence of precision points. Because of the high nonlinearity of the problem, the path synthesis task is usually treated as an optimization problem (Marín and González, 2003). In order to ensure the rationality of the final linkage solution, three constraints are usually introduced into the op Published by Copernicus Publications timization model of path synthesis of four-bar mechanisms, including the Grashof condition, the sequence condition, and the variable range condition. However, the introduction of constraints leads to a highly discontinuous search space. In general, constraints are considered to be one of the main factors hindering the optimal synthesis of linkages to obtain the global optimum (Angeles et al., 1988; Acharyya and Mandal, 2009; Lin, 2010; Peñuñuri et al., 2011; Ebrahimi and Payvandy, 2015; Sleesongsom and Bureerat, 2018; Bureerat and Sleesongsom, 2021). At present, the penalty function (PF) method is the most commonly used method to deal with the constraint conditions in path synthesis. The principle of the PF method is to add a very large value to the objective function of individuals who do not meet the constraint conditions so that these individuals will be eliminated in the optimization. However, this causes the vast majority or even all of the individuals of the initial population to be eliminated by the penalty function, especially when dealing with the sequence condition (Acharyya and Mandal, 2009; Peñuñuri et al., 2011). As a re 80 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method sult, the PF method usually requires a very large population, otherwise the optimization will be inefficient or will even fail (Sleesongsom and Bureerat, 2018; Bureerat and Sleesongsom, 2021). However, a large population is accompanied by a sharp increase in the computational cost. In this context, researchers have made some useful explorations. Acharyya and Mandal (2009) first proposed a method to rearrange the randomly generated input angles in the initial population to reduce the probability of individuals being rejected in the next iteration. Additionally, they proposed a refinement scheme to ensure that all individuals in the initial population satisfy the Grashof condition by reassigning link lengths to individuals that do not satisfy the abovementioned condition. Lin (2010) further introduced the method of rearranging input angles during both population initialization and each iteration, so that the sequence condition of input angles could be ignored until the end of the optimization. Ebrahimi and Payvandy (2015) developed an innovative technique to generate the initial population that satisfies the Grashof condition. Sleesongsom and Bureerat (2018) and Bureerat and Sleesongsom (2021) designed two new individual generation techniques for the Grashof condition and the sequence condition, respectively, which can ensure the generation of individuals that satisfy the constraints. However, the individual generation techniques that they designed did not take the parameters of the original individual into account and, instead, generated a completely new individual. In this paper, a novel and effective constraint handling method called the individual repairing (IR) method is introduced. The principle of the IR method is to develop the corresponding repairing technique for each constraint condition of the optimization model, so as to ensure that all of the individuals in the optimization always meet the constraints. The design of these repairing techniques follows the same criterion, which is to transform the original unreasonable individual into a unique corresponding reasonable individual. In other words, the IR method transforms every infeasible point in the search space into a unique corresponding feasible point. This is the difference between this study and other relevant studies and is also the main innovation described in this work. Based on the new constraint handling method, the optimization of path synthesis can be effectively carried out. In Sect. 2, the kinematics analysis and the classic optimization model of four-bar mechanisms for path synthesis are described. Section 3 then introduces three repairing techniques corresponding to the three constraint conditions of the classic optimization model of four-bar mechanisms for path synthesis. Following this, Sect. 4 shows the optimization results using the new IR method through three classical path synthesis tasks. Finally, the conclusions of the paper and the plan for future work are presented in Sect. 5. Figure 1. The planar four-bar mechanism and its parameters. 2 Problem formulation 2.1 Kinematics analysis The schematic diagram of a planar four-bar mechanism is shown in Fig. 1. The mechanism is represented by nine independent design variables: _X_ = [ _l_ 1 _,l_ 2 _,l_ 3 _,l_ 4 _,r,α,θ,x_ 0 _,y_ 0] _._ (1) Here, _l_ 1 is the length of the fixed link _AD_, _l_ 2 is the length of input link _AB_, and _l_ 3 and _l_ 4 represent the lengths of coupler link _BC_ and output link _CD_, respectively. The coupler point _P_ is a point on the coupler link _BC_ which generates a continuous curve, and _r_ and _α_ determine the position of _P_ relative to the coupler link _BC_ . _x_ 0, _y_ 0 and _θ_ determine the offset and rotation angle of the fixed link _AD_ relative to the coordinate system _xoy_, respectively. Based on the variable definition shown in Fig. 1, the position of the coupler point _P_ can be formulated as follows: - _Px_ = _l_ 2 cos( _φ_ + _θ_ ) + _r_ cos( _α_ + _β_ + _θ_ ) + _x_ 0 _,_ (2) _Py_ = _l_ 2 sin( _φ_ + _θ_ ) + _r_ sin( _α_ + _β_ + _θ_ ) + _y_ 0 where the variable _β_ represents the angle between the coupler link _BC_ and the fixed link _AD_ . Actually, the variable _β_ is a dependent variable, and Freudenstein (1954) provides the relation equation of the variable _β_, the input angle _φ_, and the dimensional parameters of the mechanism. _K_ 1 + _K_ 2 cos _φ_ + _K_ 3 cos _β_ = cos( _φ_ - _β_ ) _,_ (3) where  _K_ 1  _._ (4) <u>4</u> <sup>−</sup> <sup>_<u>l</u>_</sup> <u>3</u> <sup>2−</sup> <sup>_<u>l</u>_</sup> <u>2</u> <sup>2−</sup> <sup>_<u>l</u>_</sup> <u>1</u> <sup>3</sup> _K_ 1 = <sup>_<u>l</u>_</sup> <sup>2</sup> 2 _l_ 2 _l_ 3 _K_ 2 = _l_ <sup>_<u>l</u>_</sup> 3 <sup><u>1</u></sup>  _K_ 1 = <sup>_<u>l</u>_</sup> <u>4</u> <sup>2</sup> _K_ 2 = _l_ <sup>_<u>l</u>_</sup> 3 <sup><u>1</u></sup> _K_ 3 = <sup>_<u>l</u>_</sup> _l_ <sup><u>1</u></sup> 2 _l_ 2 The following simplified equation can then be derived: _β_ = 2arctan <sup>−</sup> <sup>_<u>B</u>_</sup> <sup>±</sup> ~~√~~ _<u>B</u>_ <sup>2</sup> - <u>4</u> _<u>AC</u>_ _,_ (5) 2 _A_ Mech Sci 13 79–87 2022 https://doi org/10 5194/ms-13-79-2022 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method 81 where  _A_  _._ (6)  _A_ = ( _K_ 2 + 1)cos _φ_ + _K_ 1 − _K_ 3 _B_ = −2sin _φ_ _C_ = ( _K_ 2 − 1)cos _φ_ + _K_ 1 + _K_ 3 The two solutions of Eq. (5) represent two respective branches of the four-bar mechanism. In summary, the Eq. (2) can be simplified as follows: _P_ = _f_ ( _X,_ _φ_ ) _._ (7) 2.2 Classic optimization model The path synthesis problem is usually considered to be an optimization problem, and an objective function is specified to minimize the difference between the desired curve and an actual generated curve. The tracking error is the most commonly used objective function to quantify this difference, and it is defined as the sum of the squares of the Euclidian distances between the target points and the same number of comparison points on the generated curve. In order to obtain these comparison points, the classical model introduces _N_ input angles as optimization variables in addition to the nine design variables of the four-bar mechanism, where _N_ is equal to the number of target points. In addition, the Grashof condition, the sequence condition, and the variable range condition are used as constraint functions in the classic optimization model of four-bar mechanisms for path synthesis. Therefore, the optimization variables of the classic model usually include the following: _X_ 0 = [ _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 _,_ _r,_ _α,_ _θ,_ _x_ 0 _,_ _y_ 0 _,_ _φ_ 1 _,_ _φ_ 2 _,...,_ _φN_ ] _._ (8) As a result, the classic model can be defined as follows: <sup>_x_</sup> _i_ <sup>−</sup> <sup>_D_</sup> _i_ <sup>_x_</sup> _i_ <sup>_x_</sup> <sup>)2</sup> _f_ obj = �� _N_ _i_ =1 �( _G_ <sup>_x_</sup> _i_ +( _G_ <sup>_y_</sup> _i_ <sup>_y_</sup> _i_ <sup>−</sup> <sup>_D_</sup> _i_ <sup>_y_</sup> _i_ <sup>_y_</sup> <sup>)2��</sup> min subject to (a) _l_ 2 _<_ min( _l_ 1 _,_ _l_ 3 _,_ _l_ 4) && _l_ 2 +max( _l_ 1 _,_ _l_ 3 _,_ _l_ 4) _<_ sum( _l_ 1 _,_ _l_ 3 _,_ _l_ 4) −max( _l_ 1 _,_ _l_ 3 _,_ _l_ 4) _,_ (b) _φj_ _< φ_ mod( _j_ +1 _,N_ ) _< ..._ _< φ_ mod( _j_ + _N_ −1 _,N_ ) _,_ (c) _xi_ ∈[ _Li,_ _Ui_ ] _,_ ∀ _xi_ ∈ _X_ 0 _,_ (9) so the link _AB_ is directly defined as the shortest link in constraint (a). In addition, it should be mentioned that the purpose of the sequence condition is to restrict the rotation direction of the crank so that it cannot be rotated backwards. Currently, some literature forces input angles to be arranged in increasing order, which overdefines the sequence condition and may lead to a reduced potential for the optimization to obtain the optimal solution. As far as we know, a reasonable expression for the sequence condition was first proposed by Cabrera et al. (2002), but they miswrote the comparison symbol in the formula. The correct definition of the sequence condition is represented in constraint (b). Finally, constraint (c) ensures that all optimization variables are within their respective predetermined reasonable ranges. 3 Individual repairing (IR) method Although it is the most common constraint handling method in path synthesis, the PF method has been proven to be inefficient and to have poor repeatability (Sleesongsom and Bureerat, 2018; Bureerat and Sleesongsom, 2021; Acharyya and Mandal, 2009; Lin, 2010; Peñuñuri et al., 2011; Ebrahimi and Payvandy, 2015). Actually, using PF methods to deal with constraint functions will result in most or all of the individuals in the initial population being eliminated by penalty functions, especially when dealing with the sequence condition. The probability that a uniform random sequence is already sorted is 1 _/n_ ! (Peñuñuri et al., 2011). Therefore, the probability of randomly generated individuals meeting the sequence condition is 1 _/_ ( _n_ - 1)!. A simple example is illustrated here. For the path synthesis task with six target points, 3 000 000 individuals were randomly generated by a uniform distribution to form the initial population. Among them, the proportion of individuals conforming to the Grashof condition is 12.4944 %, the proportion of individuals conforming to the sequence condition is 0.8356 %, and the proportion of individuals conforming to both constraints is 0.1039 %. This means that the vast majority of randomly generated individuals do not satisfy the constraint conditions. In this case, the PF method will lead to the majority or even all of the individuals in the initial population being eliminated, resulting in the inefficiency or even failure of the optimization. In addition, it is easy to understand that even if the optimization is successful, the optimization completed by a few initial individuals conforming to the constraints will not have satisfactory repeatability. This is especially problematic when there are more target points. Therefore, a new constraint handling method called the IR method is developed in this section. The principle of the IR method is to develop different individual repairing techniques corresponding to each constraint condition, so as to repair the individuals that do not meet the constraint condition after the initial population generation and each iter <sup>_x_</sup> _i_ <sup>_,Gy_</sup> _i_ _i_ <sup>_x,D_</sup> _i_ <sup>_y_</sup> where ( _G_ <sup>_x_</sup> _i_ where ( _G_ <sup>_x_</sup> _i_ <sup>_,Gy_</sup> _i_ <sup>) is the position of the actual generated preci-</sup> sion points for comparison, ( _Di_ <sup>_x,D_</sup> _i_ <sup>_y_</sup> <sup>) is the prescribed posi-</sup> tion of the target point, _φj_ = min{ _φ_ 1 _,φ_ 2 _,...,φN_ }, mod( _m,n_ ) is the remainder of the quotient of _m/n_ (set mod( _m,m_ ) = _m_ ), _xi_ is the _i_ th parameter in _X_ 0, and _Li_ and _Ui_ are the lower and upper limits of the variable _xi_, respectively. Constraint conditions (a)–(c) in Eq. (9) represent the Grashof condition, the sequence condition, and the variable range condition, respectively. It should be noted that this paper uses the crank–rocker mechanism as the research object, https://doi org/10 5194/ms-13-79-2022 Mech Sci 13 79–87 2022 82 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method Figure 3. Schematic diagram of the linkage repairing technique. Figure 4. Schematic diagram of the angle repairing technique. Figure 2. The flow of the linkage repairing technique. ation. The repairing techniques corresponding to the constraint conditions of the optimization model for path synthesis of four-bar mechanisms are described below. 3.1 Grashof condition repairing technique The Grashof condition is a constraint on the link lengths of a four-bar mechanism. Its purpose is to ensure the existence of a crank in the four-bar mechanism. In this work, a linkage repairing technique is proposed to transform all of the non-Grashof linkage solutions into reasonable solutions in the optimization process. The flow of the linkage repairing technique is shown in Fig. 2. As shown in Fig. 2, the linkage repairing technique is mainly divided into two steps, making the link lengths meet the two respective inequality constraints of the Grashof condition as shown in Eq. (9). The function of the first step is to ensure that link _AB_ becomes the shortest link, which is easy to understand. The function of the second step is to ensure that the sum of the shortest link and longest link is less than the sum of the other two links, which may be difficult to intuitively understand. The principle of the second step is presented in Fig. 3. Assuming that the link length values are arranged on a positive line as shown in Fig. 3, the second inequality constraint of the Grashof condition can be transformed into a more graphical representation: the thick dashed line representing the average length _M_ 1 of the longest and shortest links must be to the left of the thin dashed line representing the average length _M_ 2 of the remaining two links. For linkages that do not satisfy this inequality constraint, Fig. 3 shows an ingenious repairing technique that takes _x_ = _M_ 1 as the axis of symmetry and then redefines the values of _lm_ and _ln_ . In contrast to the work of Ebrahimi and Payvandy (2015), Sleesongsom and Bureerat (2018), and Bureerat and Sleesongsom (2021), the linkage repairing technique developed in this study is based on the parameters of the irrational linkage solution itself, rather than regenerating another completely unrelated linkage solution. Based on this new technique, the repaired linkage solution is more likely to remain competitive in the next iteration. 3.2 Sequence condition repairing technique Similar to the studies of Acharyya and Mandal (2009), Lin (2010), and Ebrahimi and Payvandy (2015), this study also adopted the method of rearranging input angles in increasing order to ensure that all individuals meet the sequence condition in the optimization process. However, in contrast to the method of Acharyya and Mandal (2009) and Ebrahimi and Payvandy (2015), who randomly selected an input angle as the first angle, and the method of Lin (2010), who selected the smallest input angle as the first angle, this study keeps the original first input angle unchanged. Figure 4 shows the schematic of the angle repairing technique used in this study. Assuming that a randomly generated set of input angles is arranged on a positive line, the angles’ arrangement is likely to be chaotic, as shown in Fig. 4. The function of the angles repairing technique is to give this set of angles a new order so that the angles are neatly arranged on the positive line according to the sequence condition. Mech Sci 13 79–87 2022 https://doi org/10 5194/ms-13-79-2022 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method 83 factor, the global learning weight, the local learning weight, and the scaling factor, respectively. Additionally, the population number _N_ p is set to 100, and the maximum iteration number _I_ max is set to 1000. Finally, results from other studies using the same optimization algorithms were compared with the results of this study. Figure 5. Schematic diagram of the variables repairing technique. 4.1 Example 1: six target points and 15 optimization variables 3.3 Variable range condition repairing technique In the iterative process of population, some parameters of some individuals are likely to break through the predetermined range. At present, the commonly used optimization technique is to set the parameter value of the breakthrough range as the boundary value, but there is no relevant research on path synthesis to describe this handling technique of the variable range condition. Figure 5 illustrates the principle of this variable range repairing technique in detail. Similarly, suppose that a parameter value and its corresponding boundary value of an individual in the population are arranged on a positive line as shown in Fig. 5. The principle of variables repairing technique is to set parameters beyond the upper boundary as the upper boundary and parameters beyond the lower boundary as the lower boundary. 3.4 Application of the IR method in optimization Based on the three individual repairing techniques shown above, the elitism of population was guaranteed during the whole optimization procedure. Finally, the application method of these repairing techniques in the path synthesis of four-bar mechanism is shown in Fig. 6. In Fig. 6, the variable _N_ p represents the population number and _I_ max represents the maximum iteration number. 4 Numerical examples In order to verify the validity and reliability of the new constraint handling method, three classic path synthesis tasks are discussed in this section, including one path synthesis task without prescribed timing and two path synthesis tasks with prescribed timing. Additionally, three classical optimization algorithms are selected to search for the optimal solution. The parameters of these optimization algorithm are set as follows: 1. for the genetic algorithm (GA), _C_ p = 0.8 and _M_ p = 0.2; 2. for the particle swarm optimization (PSO), _w_ = 0 _._ 7, _c_ 1 = 1 _._ 49, and _c_ 2 = 1 _._ 49; 3. for the differential evolution (DE), _F_ = 0 _._ 5 and _C_ p = 0.9. Here, the parameters _C_ p, _M_ p, _w_, _c_ 1, _c_ 2, and _F_ represent the crossover probability, the mutation probability, the inertia (13 _._ 09 _,_ 9 _._ 5106); (18 _._ 09 _,_ 5 _._ 8779); (20 _,_ 0) This example is a path synthesis task without prescribed timing for a straight-line path with six target points. The range of the design variables in this example is defined as follows: _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 ∈[0 _,_ 60]; _r_ ∈[0 _,_ 85]; _x_ 0 _,_ _y_ 0 ∈[−60 _,_ 60]; _α,_ _θ_ ∈[0 _,_ 2 _π_ ] _._ The target points are _Di_ = �(20 _,_ 20); (20 _,_ 25); (20 _,_ 30); (20 _,_ 35); (20 _,_ 40); (20 _,_ 45)� _._ The optimization variables are _X_ 0 = - _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 _,_ _r,_ _α,_ _θ,_ _x_ 0 _,_ _y_ 0 _,_ _φ_ 1 _,_ _φ_ 2 _,_ _φ_ 3 _,_ _φ_ 4 _,_ _φ_ 5 _,_ _φ_ 6 - _._ Table 1 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 1. In addition, the results from Acharyya and Mandal (2009) using the same optimization algorithms are also shown in Table 1. It is worth noting that the original literature does not show the tracking error; instead, it shows the square root of the tracking error. As can be seen from Table 1, the results obtained by adopting the IR method are better than those obtained using other constraint handling methods in previous work under the same optimization algorithm. Figure 7 shows the coupler curve of the linkage solutions obtained in this study for Example 1. 4.2 Example 2: six target points and nine optimization variables This example is a path synthesis task with prescribed timing for a semicircular arc path with six target points. The range of the design variables in this example is defined as follows: _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 ∈[5 _,_ 50]; _r_ ∈[0 _,_ 70]; _x_ 0 _,_ _y_ 0 ∈[−50 _,_ 50]; _α,_ _θ_ ∈[0 _,_ 2 _π_ ]; and - _<u>π</u>_ _φi_ = _._ 6 <sup>_,_</sup> <sup>_<u>π</u>_</sup> 3 <sup>_,_</sup> <sup>_<u>π</u>_</sup> 2 <sup>_,_</sup> <sup><u>2</u></sup> 3 <sup>_<u>π</u>_</sup> <sup>_,_</sup> <sup><u>5</u></sup> 6 <sup>_<u>π</u>_</sup> <sup>_,_</sup> <sup>_π_</sup> The target points are _Di_ = �(0 _,_ 0); (1 _._ 9098 _,_ 5 _._ 8779); (6 _._ 9098 _,_ 9 _._ 5106); - _._ https://doi org/10 5194/ms-13-79-2022 Mech Sci 13 79–87 2022 84 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method Figure 6. Schematic diagram of the application of the IR method with different optimization algorithms. Table 1. Linkage solutions and structural errors obtained in previous work and in this study for Example 1. Items Acharyya and Mandal (2009) This study GA PSO DE GA PSO DE _l_ 1 28.77133 31.15501 35.02074 59.872763 59.773883 52.835237 _l_ 2 5.00000 5.00000 6.404196 3.298685 15.000139 38.326176 _l_ 3 35.36548 23.84561 31.60722 7.794386 50.323659 46.117030 _l_ 4 59.13681 45.80352 50.59949 57.905560 52.089966 47.017087 _r_ 14.85037 43.16960 46.46126 25.684854 36.695059 7.376249 _α_ (rad.) 1.570796 0.44310 1.106544 2.187849 6.174492 2.734335 _θ_ (rad.) 5.287474 0.419837 0.000000 5.751193 0.835326 5.960828 _x_ 0 29.91329 59.99999 60.00000 42.637044 21.210247 −10.897282 _y_ 0 32.60228 17.91696 18.07791 27.043827 −6.069651 42.266521 _φ_ 1 6.283185 4.842412 6.283185 6.117190 4.897992 6.174433 _φ_ 2 0.318205 0.404684 0.264935 0.578030 5.317514 6.280820 _φ_ 3 0.638520 0.657415 0.500377 0.990195 5.650686 0.092750 _φ_ 4 0.979950 0.922086 0.735321 1.372455 5.957097 0.185154 _φ_ 5 1.412732 1.247066 0.996529 1.792472 0.000025 0.280859 _φ_ 6 2.076254 2.298727 1.333549 3.214281 0.517108 0.382803 Error 1.212161 0.298620 0.015065 0.190457 0.021008 0.008009 Mech Sci 13 79–87 2022 https://doi org/10 5194/ms-13-79-2022 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method 85 Figure 7. Coupler curves obtained in this study for Example 1. Figure 8. Coupler curves obtained in this study for Example 2. The optimization variables are _X_ 0 = [ _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 _,_ _r,_ _α,_ _θ,_ _x_ 0 _,_ _y_ 0] _._ Table 2 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 2. Similarly, it can be seen from Table 2 that the error of the linkage solutions obtained by the IR method is smaller than the error of the linkage solutions obtained by previous work (Acharyya and Mandal, 2009) using the same three optimization algorithms. Figure 8 shows the coupler curve of the linkage solutions obtained in this study for Example 2. 4.3 Example 3: 18 target points and 10 optimization variables This example is a path synthesis task with prescribed timing for a path with 18 target points. The range of the design variables in this example is defined as follows: Figure 9. Coupler curves obtained in this study for Example 3. _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 ∈[5 _,_ 50]; _r_ ∈[0 _,_ 70]; _x_ 0 _,_ _y_ 0 ∈[−50 _,_ 50]; _α,_ _θ_ ∈[0 _,_ 2 _π_ ]; and _φi_ = _φ_ 1 + <sup>_<u>π</u>_</sup> 9 <sup>× (</sup> <sup>_i_</sup> <sup>−</sup> <sup>1)</sup> <sup>_,_</sup> <sup>_i_</sup> <sup>= 1</sup> <sup>_,...,_</sup> <sup>18</sup> <sup>_._</sup> The target points are The optimization variables are _X_ 0 = [ _l_ 1 _,_ _l_ 2 _,_ _l_ 3 _,_ _l_ 4 _,_ _r,_ _α,_ _θ,_ _x_ 0 _,_ _y_ 0 _,_ _φ_ 1] _._ Table 3 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 3. Additionally, this example has also been studied by Cabrera et al. (2002) and Peñuñuri et al. (2011) using the GA and DE algorithms, respectively. As can be seen from Table 3, the results obtained by adopting the IR method are better using the same optimization algorithms. Figure 9 shows the coupler curve of the linkage solutions obtained in this study for Example 3. 5 Conclusions In this paper, different constraint handling methods are discussed in detail, and a new constraint handling method based on the idea of individual repairing is proposed for the path synthesis of four-bar mechanisms. The function of the new method is to transform individuals that do not meet the constraints into the individuals that meet the constraints in time, so as to ensure the success and effectiveness of the optimization. More precisely, the principle of the new constraint (0 _._ 5 _,_ 1 _._ 1); (0 _._ 4 _,_ 1 _._ 1); (0 _._ 3 _,_ 1 _._ 1); (0 _._ 2 _,_ 1); (0 _._ 1 _,_ 0 _._ 9); (0 _._ 005 _,_ 0 _._ 75); (0 _._ 02 _,_ 0 _._ 6); (0 _,_ 0 _._ 5); (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)    _Di_ =    _._ https://doi org/10 5194/ms-13-79-2022 Mech Sci 13 79–87 2022 86 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method Table 2. Linkage solutions and structural errors obtained in previous work and in this study for Example 2. Items Acharyya and Mandal (2009) This study GA PSO DE GA PSO DE _l_ 1 50.000000 49.994859 50.000000 46.708666 30.594392 49.999202 _l_ 2 9.164414 5.000000 5.000000 10.242772 2.326187 1.453396 _l_ 3 16.858082 5.915643 5.905345 24.358503 2.378136 1.454160 _l_ 4 50.000000 49.994867 50.000000 46.464121 30.555384 49.999966 _r_ 38.458978 18.925715 18.819312 50.850501 13.346511 12.251352 _α_ (rad.) 0.002343 0.000000 0.000000 6.115540 6.283170 6.283185 _θ_ (rad.) 0.877212 0.467287 0.463633 1.398690 0.432376 0.328582 _x_ 0 32.328282 14.472475 14.373772 49.998698 11.477908 10.746899 _y_ 0 −29.537054 −12.494409 −12.444295 −30.914128 −5.320837 −3.718896 Error 10.055318 5.547239 5.520688 7.195559 2.665684 1.676753 Table 3. Linkage solutions and structural errors obtained in previous work and in this study for Example 3. Items Cabrera et al. (2002) Peñuñuri et al. (2011) This study GA DE GA PSO DE _l_ 1 3.057878 1.08913 23.592008 2.137358 1.058790 _l_ 2 0.237803 0.42259 0.476490 0.341195 0.425581 _l_ 3 4.828954 0.96444 1.668684 0.486898 0.944797 _l_ 4 2.056456 0.58781 23.905760 1.997033 0.577871 _r_ 2.003475 0.581069 0.888519 0.326521 0.554013 _α_ (rad.) 1.177913 0.831816 0.000113 5.128309 0.792913 _θ_ (rad.) 1.002168 0.32195 5.803712 3.469284 0.336728 _x_ 0 1.776808 0.27892 −0.030425 0.509889 0.262429 _y_ 0 −0.641991 0.11673 −0.156170 0.736264 0.143922 _φ_ 1 0.226186 0.86323 1.477457 3.383511 0.837502 Error 0.034839 0.0104565 0.034460 0.013726 0.009912 processing method is to build a converter based on the constraints of the optimization model, so as to transform any infeasible point in the search space into a unique corresponding feasible point. Experimental results show that, compared with other constraint handling methods, the proposed method can obtain better linkage solutions using the same optimization algorithm for the same path synthesis task. The core innovation of this research is the constraint handling method based on the idea of individual repairing, which is universal in theory and can be matched with different optimization algorithms, so as to be applied to other constrained engineering optimization problems. In the future, it is planned to extend the constraint handling method based on the idea of individual repairing to the kinematics synthesis of six-bar mechanisms, eight-bar mechanisms, and other mechanisms in the field of mechanical design, including not only path synthesis but also motion synthesis and function synthesis. Code and data availability. The code and data used in this paper can be obtained upon request from the corresponding author. Author contributions. XY provided the ideas and wrote the first draft of the paper, XW designed the comparative experiment, WS and JK completed the code, and ZL helped modify the paper. Competing interests. The contact author has declared that neither they nor their co-authors have any competing interests. Disclaimer. Publisher’s note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Financial support. This work was supported in part by the National Natural Science Foundation of China (grant no. 51875418); the Youth Fund of the Education Department of Hubei Province (grant no. B2020011); the WUST National Defense Pre-research Foundation (grant no. GF201906); and the Hubei Provincial High Value Patent Cultivation, Transformation and Industrialization Project (grant no. 2019-41). Mech Sci 13 79–87 2022 https://doi org/10 5194/ms-13-79-2022 X. Yao et al.: Optimal synthesis of four-bar linkages for path generation using the IR method 87 Review statement. This paper was edited by Daniel Condurache and reviewed by three anonymous referees. References Acharyya, S. K. and Mandal, M.: Performance of EAs for four-bar linkage synthesis, Mech. Mach. Theory, 44, 1784–1794, 2009. Angeles, J., Alivizatoss, A., and Akhras, R.: An unconstrained non linear least-square method of optimization of RRRR planar path generators, Mech. Mach. Theory, 23, 343–353, 1988. Bureerat, S. and Sleesongsom, S.: Constraint handling technique for four-bar linkage path generation using self-adaptive teaching– learning-based optimization with a diversity archive, Eng. Optimiz., 53, 513–530, 2021. Bu´skiewicz, J.: The optimum distance function method and its ap plication to the synthesis of a gravity balanced hoist, Mech. Mach. Theory, 139, 443–459, 2019. Cabrera, J. A., Simon, A. S., and Prado. M.: Optimal synthesis of mechanisms with genetic algorithms, Mech. Mach. Theory, 37, 1165–1177, 2002. Ebrahimi, S. and Payvandy, P.: Efficient constrained synthesis of path generating four-bar mechanisms based on the heuristic optimization algorithms, Mech. Mach. Theory, 85, 189–204, 2015. Erdman, A. G., Sandor, G. N., and Kota, S.: Mechanism Design: Analysis and Synthesis, edited by: Horton, M., Prentice-Hall, Englewood Cliffs, 344 pp., ISBN 0-13-040872-7, 1984. Fox, R. L. and Willmert, K. D.: Optimum design of curve generating linkages with inequality constraints, J. Eng. Ind., 89, 144–152, 1967. Freudenstein, F.: An analytical approach to the design of four-link mechanisms, T. ASME, 76, 483–492, 1954. Han, C. Y.: A general method for the optimum design of mecha nisms, J. Mech., 1, 301–313, 1966. Kadarno, P., Barrinaya, M. A., Manurung, A. O., Riyand wita, B. W., Hastuty, S., Rahmawan, Y., Pradanawati, S. A., Widiyati, K., Putra, I. S., and Purbolaksono, J.: Mechanism analysis of a main landing gear of transporting aircraft: A design learning perspective, Eng. Fail. Anal, 119, 105015, [https://doi.org/10.1016/j.engfailanal.2020.105015, 2021.](https://doi.org/10.1016/j.engfailanal.2020.105015) Khan, N., Ullah, I., and Al-Grafi, M.: Dimensional synthesis of me chanical linkages using artificial neural networks and Fourier de[scriptors, Mech. Sci., 6, 29–34, https://doi.org/10.5194/ms-6-29-](https://doi.org/10.5194/ms-6-29-2015) [2015, 2015.](https://doi.org/10.5194/ms-6-29-2015) Lee, J., Li, L., Shin, S. Y., Deshpande, A. D., and Sulzer, J.: Kinematic comparison of single degree-of-freedom robotic gait trainers, Mech. Mach. Theory, 159, 104258, [https://doi.org/10.1016/j.mechmachtheory.2021.104258, 2021.](https://doi.org/10.1016/j.mechmachtheory.2021.104258) Li, X., Wei, S., Liao, Q., and Zhang, Y.: A novel analytical method for four-bar path generation synthesis based on Fourier series, Mech. Mach. Theory, 144, 1–24, 2020. Lin, W. Y.: A GA–DE hybrid evolutionary algorithm for path syn thesis of four-bar linkage, Mech. Mach. Theory, 45, 1096–1107, 2010. Marín, F. T. and González, A. P.: Global optimization in path syn thesis based on design space reduction, Mech. Mach. Theory, 38, 579–594, 2003. Peñuñuri, F., Peón-Escalante, R., Villanueva, C., and Pech-Oy, D.: Synthesis of mechanisms for single and hybrid tasks using differential evolution, Mech. Mach. Theory, 46, 1335–1349, 2011. Sandor, G. N. and Erdman, A. G.: Advanced Mechanism Design: Analysis and Synthesis, edited by: Skrable, K., Prentice-Hall, New Jersey, Vol. 2, ISBN 0-13-011437-5, 1984. Sleesongsom, S. and Bureerat, S.: Optimal Synthesis of Four-Bar Linkage Path Generation through Evolutionary Computation with a Novel Constraint Handling Technique, Comput. Intell. Neurosci., 2018, 5462563, [https://doi.org/10.1155/2018/5462563, 2018.](https://doi.org/10.1155/2018/5462563) Yildiz, A.: Parametric synthesis of two different trunk lid mechanisms for sedan vehicles using population-based optimisation algorithms, Mech. Mach. Theory, 156, 104130, [https://doi.org/10.1016/j.mechmachtheory.2020.104130, 2021.](https://doi.org/10.1016/j.mechmachtheory.2020.104130) Zhao, J., Yan, Z., and Ye, L.: Design of planar four-bar linkage with n specified positions for a flapping wing robot, Mech. Mach. Theory, 82, 33–55, 2014. https://doi org/10 5194/ms-13-79-2022 Mech Sci 13 79–87 2022

섹션 본문 48문단 · 22,712자

(제목 없음)

1Constraints are one of the main factors that hinder the optimal synthesis of linkages to obtain the global optimum. At present, the most commonly used constraint handling method is called the penalty function (PF) method, but this technique has proven to be inefficient and unreliable in path synthesis. In this paper, a novel and effective constraint handling method called the individual repairing (IR) method is developed for the optimization model of four-bar mechanisms for path synthesis. The function of the IR method is to check the conformity of each individual to the Grashof condition, the sequence condition, and the variable range condition after population initialization and each iteration as well as to repair all unreasonable individuals according to the corresponding repairing technique to make them all satisfy the constraint conditions. In other words, the new constraint handling method establishes a transformation method so that each infeasible point in the search space uniquely corresponds to a feasible point. Based on the IR method, the optimization of path synthesis can be effectively carried out. Finally, the validity and reliability of the new constraint handling method are verified using three examples.Published by Copernicus Publications.

Introduction

2A linkage mechanism is a kind of commonly used mechanism that is employed to realize the motion transformation and power transmission . Among various linkage mechanisms, the fourbar mechanism is essential and widely used due to its simple structure, stable output, and the fact that it is easy to control and maintain (Buśkiewicz, 2019;Kadarno et al., 2021;Lee et al., 2021;Yildiz, 2021;Zhao et al., 2014).

3A class of design tasks for linkage mechanisms is called path synthesis. The purpose of path synthesis is to find the optimal dimensional parameters of a mechanism so that a point on the coupler link can move along a desired curve (Fox and Willmert, 1967;Han, 1966;Li et al., 2020;Khan et al., 2015). In general, the desired curve of path synthesis usually refers to a sequence of precision points. Because of the high nonlinearity of the problem, the path synthesis task is usually treated as an optimization problem (Marín and González, 2003). In order to ensure the rationality of the final linkage solution, three constraints are usually introduced into the op-timization model of path synthesis of four-bar mechanisms, including the Grashof condition, the sequence condition, and the variable range condition. However, the introduction of constraints leads to a highly discontinuous search space. In general, constraints are considered to be one of the main factors hindering the optimal synthesis of linkages to obtain the global optimum (Angeles et al., 1988;Acharyya and Mandal, 2009;Lin, 2010;Peñuñuri et al., 2011;Ebrahimi and Payvandy, 2015;Sleesongsom and Bureerat, 2018;Bureerat and Sleesongsom, 2021).

4At present, the penalty function (PF) method is the most commonly used method to deal with the constraint conditions in path synthesis. The principle of the PF method is to add a very large value to the objective function of individuals who do not meet the constraint conditions so that these individuals will be eliminated in the optimization. However, this causes the vast majority or even all of the individuals of the initial population to be eliminated by the penalty function, especially when dealing with the sequence condition (Acharyya and Mandal, 2009;Peñuñuri et al., 2011). As a re-sult, the PF method usually requires a very large population, otherwise the optimization will be inefficient or will even fail (Sleesongsom and Bureerat, 2018;Bureerat and Sleesongsom, 2021). However, a large population is accompanied by a sharp increase in the computational cost. In this context, researchers have made some useful explorations. Acharyya and Mandal (2009) first proposed a method to rearrange the randomly generated input angles in the initial population to reduce the probability of individuals being rejected in the next iteration. Additionally, they proposed a refinement scheme to ensure that all individuals in the initial population satisfy the Grashof condition by reassigning link lengths to individuals that do not satisfy the abovementioned condition. Lin (2010) further introduced the method of rearranging input angles during both population initialization and each iteration, so that the sequence condition of input angles could be ignored until the end of the optimization. Ebrahimi and Payvandy (2015) developed an innovative technique to generate the initial population that satisfies the Grashof condition. Sleesongsom and Bureerat (2018) and Bureerat and Sleesongsom (2021) designed two new individual generation techniques for the Grashof condition and the sequence condition, respectively, which can ensure the generation of individuals that satisfy the constraints. However, the individual generation techniques that they designed did not take the parameters of the original individual into account and, instead, generated a completely new individual.

5In this paper, a novel and effective constraint handling method called the individual repairing (IR) method is introduced. The principle of the IR method is to develop the corresponding repairing technique for each constraint condition of the optimization model, so as to ensure that all of the individuals in the optimization always meet the constraints. The design of these repairing techniques follows the same criterion, which is to transform the original unreasonable individual into a unique corresponding reasonable individual. In other words, the IR method transforms every infeasible point in the search space into a unique corresponding feasible point. This is the difference between this study and other relevant studies and is also the main innovation described in this work. Based on the new constraint handling method, the optimization of path synthesis can be effectively carried out.

6In Sect. 2, the kinematics analysis and the classic optimization model of four-bar mechanisms for path synthesis are described. Section 3 then introduces three repairing techniques corresponding to the three constraint conditions of the classic optimization model of four-bar mechanisms for path synthesis. Following this, Sect. 4 shows the optimization results using the new IR method through three classical path synthesis tasks. Finally, the conclusions of the paper and the plan for future work are presented in Sect. 5.

Kinematics analysis

7The schematic diagram of a planar four-bar mechanism is shown in Fig. 1. The mechanism is represented by nine independent design variables:

8Here, l 1 is the length of the fixed link AD, l 2 is the length of input link AB, and l 3 and l 4 represent the lengths of coupler link BC and output link CD, respectively. The coupler point P is a point on the coupler link BC which generates a continuous curve, and r and α determine the position of P relative to the coupler link BC. x 0 , y 0 and θ determine the offset and rotation angle of the fixed link AD relative to the coordinate system xoy, respectively. Based on the variable definition shown in Fig. 1, the position of the coupler point P can be formulated as follows:

9where the variable β represents the angle between the coupler link BC and the fixed link AD. Actually, the variable β is a dependent variable, and Freudenstein (1954) provides the relation equation of the variable β, the input angle φ, and the dimensional parameters of the mechanism.

10where

11The following simplified equation can then be derived:

12where

13The two solutions of Eq. (5) represent two respective branches of the four-bar mechanism. In summary, the Eq. (2) can be simplified as follows:

Classic optimization model

14The path synthesis problem is usually considered to be an optimization problem, and an objective function is specified to minimize the difference between the desired curve and an actual generated curve. The tracking error is the most commonly used objective function to quantify this difference, and it is defined as the sum of the squares of the Euclidian distances between the target points and the same number of comparison points on the generated curve. In order to obtain these comparison points, the classical model introduces N input angles as optimization variables in addition to the nine design variables of the four-bar mechanism, where N is equal to the number of target points. In addition, the Grashof condition, the sequence condition, and the variable range condition are used as constraint functions in the classic optimization model of four-bar mechanisms for path synthesis. Therefore, the optimization variables of the classic model usually include the following:

15As a result, the classic model can be defined as follows:

16min subject to

17where (G x i , G y i ) is the position of the actual generated precision points for comparison, (D x i , D y i ) is the prescribed position of the target point, φ j = min{φ 1 , φ 2 , . . ., φ N }, mod(m, n) is the remainder of the quotient of m/n(set mod(m, m) = m), x i is the ith parameter in X 0 , and L i and U i are the lower and upper limits of the variable x i , respectively.

18Constraint conditions (a)-(c) in Eq. (9) represent the Grashof condition, the sequence condition, and the variable range condition, respectively. It should be noted that this paper uses the crank-rocker mechanism as the research object, so the link AB is directly defined as the shortest link in constraint (a). In addition, it should be mentioned that the purpose of the sequence condition is to restrict the rotation direction of the crank so that it cannot be rotated backwards. Currently, some literature forces input angles to be arranged in increasing order, which overdefines the sequence condition and may lead to a reduced potential for the optimization to obtain the optimal solution. As far as we know, a reasonable expression for the sequence condition was first proposed by Cabrera et al. (2002), but they miswrote the comparison symbol in the formula. The correct definition of the sequence condition is represented in constraint (b). Finally, constraint (c) ensures that all optimization variables are within their respective predetermined reasonable ranges.

Individual repairing (IR) method

19Although it is the most common constraint handling method in path synthesis, the PF method has been proven to be inefficient and to have poor repeatability (Sleesongsom and Bureerat, 2018;Bureerat and Sleesongsom, 2021;Acharyya and Mandal, 2009;Lin, 2010;Peñuñuri et al., 2011;Ebrahimi and Payvandy, 2015). Actually, using PF methods to deal with constraint functions will result in most or all of the individuals in the initial population being eliminated by penalty functions, especially when dealing with the sequence condition.

20The probability that a uniform random sequence is already sorted is 1/n! (Peñuñuri et al., 2011). Therefore, the probability of randomly generated individuals meeting the sequence condition is 1/(n − 1)!. A simple example is illustrated here. For the path synthesis task with six target points, 3 000 000 individuals were randomly generated by a uniform distribution to form the initial population. Among them, the proportion of individuals conforming to the Grashof condition is 12.4944 %, the proportion of individuals conforming to the sequence condition is 0.8356 %, and the proportion of individuals conforming to both constraints is 0.1039 %. This means that the vast majority of randomly generated individuals do not satisfy the constraint conditions. In this case, the PF method will lead to the majority or even all of the individuals in the initial population being eliminated, resulting in the inefficiency or even failure of the optimization. In addition, it is easy to understand that even if the optimization is successful, the optimization completed by a few initial individuals conforming to the constraints will not have satisfactory repeatability. This is especially problematic when there are more target points.

21Therefore, a new constraint handling method called the IR method is developed in this section. The principle of the IR method is to develop different individual repairing techniques corresponding to each constraint condition, so as to repair the individuals that do not meet the constraint condition after the initial population generation and each iter- ation. The repairing techniques corresponding to the constraint conditions of the optimization model for path synthesis of four-bar mechanisms are described below.

Grashof condition repairing technique

22The Grashof condition is a constraint on the link lengths of a four-bar mechanism. Its purpose is to ensure the existence of a crank in the four-bar mechanism. In this work, a linkage repairing technique is proposed to transform all of the non-Grashof linkage solutions into reasonable solutions in the optimization process. The flow of the linkage repairing technique is shown in Fig. 2.

23As shown in Fig. 2, the linkage repairing technique is mainly divided into two steps, making the link lengths meet the two respective inequality constraints of the Grashof condition as shown in Eq. (9). The function of the first step is to ensure that link AB becomes the shortest link, which is easy to understand. The function of the second step is to ensure that the sum of the shortest link and longest link is less than the sum of the other two links, which may be difficult to intuitively understand. The principle of the second step is presented in Fig. 3.

24Assuming that the link length values are arranged on a positive line as shown in Fig. 3, the second inequality constraint of the Grashof condition can be transformed into a more graphical representation: the thick dashed line representing the average length M 1 of the longest and shortest links must be to the left of the thin dashed line representing the average length M 2 of the remaining two links. For linkages that do not satisfy this inequality constraint, Fig. 3 shows an ingenious repairing technique that takes x = M 1 as the axis of symmetry and then redefines the values of l m and l n . In contrast to the work of Ebrahimi and Payvandy (2015), Sleesongsom and Bureerat (2018), and Bureerat and Sleesongsom (2021), the linkage repairing technique developed in this study is based on the parameters of the irrational linkage solution itself, rather than regenerating another completely unrelated linkage solution. Based on this new technique, the repaired linkage solution is more likely to remain competitive in the next iteration.

Sequence condition repairing technique

25Similar to the studies of Acharyya andMandal (2009), Lin (2010), and Ebrahimi and Payvandy (2015), this study also adopted the method of rearranging input angles in increasing order to ensure that all individuals meet the sequence condition in the optimization process. However, in contrast to the method of Acharyya and Mandal (2009) and Ebrahimi and Payvandy (2015), who randomly selected an input angle as the first angle, and the method of Lin (2010), who selected the smallest input angle as the first angle, this study keeps the original first input angle unchanged. Figure 4 shows the schematic of the angle repairing technique used in this study.

26Assuming that a randomly generated set of input angles is arranged on a positive line, the angles' arrangement is likely to be chaotic, as shown in Fig. 4. The function of the angles repairing technique is to give this set of angles a new order so that the angles are neatly arranged on the positive line according to the sequence condition.

Variable range condition repairing technique

27In the iterative process of population, some parameters of some individuals are likely to break through the predetermined range. At present, the commonly used optimization technique is to set the parameter value of the breakthrough range as the boundary value, but there is no relevant research on path synthesis to describe this handling technique of the variable range condition. Figure 5 illustrates the principle of this variable range repairing technique in detail.

28Similarly, suppose that a parameter value and its corresponding boundary value of an individual in the population are arranged on a positive line as shown in Fig. 5. The principle of variables repairing technique is to set parameters beyond the upper boundary as the upper boundary and parameters beyond the lower boundary as the lower boundary.

Application of the IR method in optimization

29Based on the three individual repairing techniques shown above, the elitism of population was guaranteed during the whole optimization procedure. Finally, the application method of these repairing techniques in the path synthesis of four-bar mechanism is shown in Fig. 6.

30In Fig. 6, the variable N p represents the population number and I max represents the maximum iteration number.

Numerical examples

31In order to verify the validity and reliability of the new constraint handling method, three classic path synthesis tasks are discussed in this section, including one path synthesis task without prescribed timing and two path synthesis tasks with prescribed timing. Additionally, three classical optimization algorithms are selected to search for the optimal solution. The parameters of these optimization algorithm are set as follows:

321. for the genetic algorithm (GA), C p = 0.8 and M p = 0.2; 2. for the particle swarm optimization (PSO), w = 0.7, c 1 = 1.49, and c 2 = 1.49;

333. for the differential evolution (DE), F = 0.5 and C p = 0.9.

34Here, the parameters C p , M p , w, c 1 , c 2 , and F represent the crossover probability, the mutation probability, the inertia factor, the global learning weight, the local learning weight, and the scaling factor, respectively. Additionally, the population number N p is set to 100, and the maximum iteration number I max is set to 1000. Finally, results from other studies using the same optimization algorithms were compared with the results of this study.

Example 1: six target points and 15 optimization variables

35This example is a path synthesis task without prescribed timing for a straight-line path with six target points. The range of the design variables in this example is defined as follows: The optimization variables are X 0 = l 1 , l 2 , l 3 , l 4 , r, α, θ, x 0 , y 0 , φ 1 , φ 2 , φ 3 , φ 4 , φ 5 , φ 6 . Table 1 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 1. In addition, the results from Acharyya and Mandal (2009) using the same optimization algorithms are also shown in Table 1. It is worth noting that the original literature does not show the tracking error; instead, it shows the square root of the tracking error. As can be seen from Table 1, the results obtained by adopting the IR method are better than those obtained using other constraint handling methods in previous work under the same optimization algorithm. Figure 7 shows the coupler curve of the linkage solutions obtained in this study for Example 1.

Example 2: six target points and nine optimization variables

36This example is a path synthesis task with prescribed timing for a semicircular arc path with six target points. The range of the design variables in this example is defined as follows:

37l 1 , l 2 , l 3 , l 4 ∈ [5, 50]; r ∈ [0, 70];

38x 0 , y 0 ∈ [−50, 50]; α, θ ∈ [0, 2π ]; and

39The target points are The optimization variables are X 0 = [l 1 , l 2 , l 3 , l 4 , r, α, θ, x 0 , y 0 ]. Table 2 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 2. Similarly, it can be seen from Table 2 that the error of the linkage solutions obtained by the IR method is smaller than the error of the linkage solutions obtained by previous work (Acharyya and Mandal, 2009) using the same three optimization algorithms. Figure 8 shows the coupler curve of the linkage solutions obtained in this study for Example 2.

Example 3: 18 target points and 10 optimization variables

40This example is a path synthesis task with prescribed timing for a path with 18 target points. The range of the design variables in this example is defined as follows: l 1 , l 2 , l 3 , l 4 ∈ [5, 50]; r ∈ [0, 70];

41x 0 , y 0 ∈ [−50, 50]; α, θ ∈ [0, 2π ]; and

42The target points are

43The optimization variables are X 0 = [l 1 , l 2 , l 3 , l 4 , r, α, θ, x 0 , y 0 , φ 1 ]. Table 3 shows the optimization results of the new method proposed in this study using the three optimization algorithms for Example 3. Additionally, this example has also been studied by Cabrera et al. (2002) and Peñuñuri et al. (2011) using the GA and DE algorithms, respectively. As can be seen from Table 3, the results obtained by adopting the IR method are better using the same optimization algorithms. Figure 9 shows the coupler curve of the linkage solutions obtained in this study for Example 3.

Conclusions

44In this paper, different constraint handling methods are discussed in detail, and a new constraint handling method based on the idea of individual repairing is proposed for the path synthesis of four-bar mechanisms. The function of the new method is to transform individuals that do not meet the constraints into the individuals that meet the constraints in time, so as to ensure the success and effectiveness of the optimization. More precisely, the principle of the new constraint processing method is to build a converter based on the constraints of the optimization model, so as to transform any infeasible point in the search space into a unique corresponding feasible point. Experimental results show that, compared with other constraint handling methods, the proposed method can obtain better linkage solutions using the same optimization algorithm for the same path synthesis task. The core innovation of this research is the constraint handling method based on the idea of individual repairing, which is universal in theory and can be matched with different optimization algorithms, so as to be applied to other constrained engineering optimization problems. In the future, it is planned to extend the constraint handling method based on the idea of individual repairing to the kinematics synthesis of six-bar mechanisms, eight-bar mechanisms, and other mechanisms in the field of mechanical design, including not only path synthesis but also motion synthesis and function synthesis.

45Code and data availability. The code and data used in this paper can be obtained upon request from the corresponding author.

46Author contributions. XY provided the ideas and wrote the first draft of the paper, XW designed the comparative experiment, WS and JK completed the code, and ZL helped modify the paper.

47Competing interests. The contact author has declared that neither they nor their co-authors have any competing interests.

48Disclaimer. Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Review statement. This paper was edited by Daniel Condurache and reviewed by three anonymous referees.

참고문헌 19건

  1. Synthesis of mechanisms for single and hybrid tasks using differential evolution Mechanism and Machine Theory · Elsevier BV · 2011 10.1016/j.mechmachtheory.2011.05.013
  2. Global optimization in path synthesis based on design space reduction Mechanism and Machine Theory · Elsevier BV · 2003 10.1016/s0094-114x(03)00010-7
  3. Design of planar four-bar linkage with n specified positions for a flapping wing robot Mechanism and Machine Theory · Elsevier BV · 2014 10.1016/j.mechmachtheory.2014.07.006
  4. Efficient constrained synthesis of path generating four-bar mechanisms based on the heuristic optimization algorithms Mechanism and Machine Theory · Elsevier BV · 2014 10.1016/j.mechmachtheory.2014.11.021
  5. A general method for the optimum design of mechanisms Journal of Mechanisms · Elsevier BV · 1966 10.1016/0022-2569(66)90031-0
  6. Dimensional synthesis of mechanical linkages using artificial neural networks and Fourier descriptors Mechanical sciences · Copernicus Publications · 2015 10.5194/ms-6-29-2015
  7. A GA–DE hybrid evolutionary algorithm for path synthesis of four-bar linkage Mechanism and Machine Theory · Elsevier BV · 2010 10.1016/j.mechmachtheory.2010.03.011
  8. Optimum Design of Curve-Generating Linkages With Inequality Constraints Journal of Engineering for Industry · ASM International · 1967 10.1115/1.3609986
  9. An unconstrained nonlinear least-square method of optimization of RRRR planar path generators Mechanism and Machine Theory · Elsevier BV · 1988 10.1016/0094-114x(88)90048-1
  10. Performance of EAs for four-bar linkage synthesis Mechanism and Machine Theory · Elsevier BV · 2009 10.1016/j.mechmachtheory.2009.03.003
  11. Optimal synthesis of mechanisms with genetic algorithms Mechanism and Machine Theory · Elsevier BV · 2002 10.1016/s0094-114x(02)00051-4
  12. Optimal Synthesis of Four-Bar Linkage Path Generation through Evolutionary Computation with a Novel Constraint Handling Technique Computational Intelligence and Neuroscience · Hindawi Publishing Corporation · 2018 10.1155/2018/5462563
  13. The optimum distance function method and its application to the synthesis of a gravity balanced hoist Mechanism and Machine Theory · Elsevier BV · 2019 10.1016/j.mechmachtheory.2019.05.006
  14. A novel analytical method for four-bar path generation synthesis based on Fourier series Mechanism and Machine Theory · Elsevier BV · 2019 10.1016/j.mechmachtheory.2019.103671
  15. Constraint handling technique for four-bar linkage path generation using self-adaptive teaching–learning-based optimization with a diversity archive Engineering Optimization · Taylor & Francis · 2020 10.1080/0305215x.2020.1741566
  16. Parametric synthesis of two different trunk lid mechanisms for sedan vehicles using population-based optimisation algorithms Mechanism and Machine Theory · Elsevier BV · 2020 10.1016/j.mechmachtheory.2020.104130
  17. Mechanism analysis of a main landing gear of transporting aircraft: A design learning perspective Engineering Failure Analysis · Elsevier BV · 2020 10.1016/j.engfailanal.2020.105015
  18. Kinematic comparison of single degree-of-freedom robotic gait trainers Mechanism and Machine Theory · Elsevier BV · 2021 10.1016/j.mechmachtheory.2021.104258
  19. An Analytical Approach to the Design of Four-Link Mechanisms Transactions of the American Society of Mechanical Engineers · ASM International · 1954 10.1115/1.4014881