###### Home > Published Issues > 2023 > Volume 12, No. 2, March 2023 >
IJMERR 2023 Vol.12(2): 113-120
DOI: 10.18178/ijmerr.12.2.113-120

## Dimensional Synthesis of a Six-bar Shaper Mechanism with the Genetic Algorithm Optimization Approach

Ali Emran Yazdani 1 and Soroush Abyaneh 2
1. Department of Mechanical engineering, Azad University, Chalous, Iran
2. Department of Mechanical Engineering, Sharif University of Technology, Tehran, Iran

Manuscript received September 26, 2022; revised November 12, 2022; accepted December 10, 2022.

Abstract—This paper provides an approach based on the genetic algorithm for the dimensional synthesis of a six-bar mechanism for a shaper machine. The main purpose of the optimization algorithm is to maintain the velocity of the mechanism’s slider constant within a specified range of the rotational motion of the input link. Therefore, first, an objective function is defined for the slider. Then, the velocity function of the slider is calculated using a set of mathematical relationships and the mechanism’s kinematic constraints. In order for this function to reach the objective function, a cost function is defined. This cost function is minimized, and the output approaches the objective function by selecting the appropriate parameters for the mechanism. To this end, four accuracy points are selected within a specific range of motion of the input link. Subsequently, the distances between the points on the velocity function of the slider and the predetermined function are calculated at these four points. The goal is to minimize these four distances. Hence, a cost function is defined in the form of the squares of the sums of these distances and is minimized using the genetic algorithm. Therefore, this cost function is used to minimize the error between the desired points and the points generated by the mechanism and can be affected by factors such as the lengths of the links, the transmission angles, the Grashof condition, and the mechanism type. In the genetic algorithm, the population, crossover, or mutation determines the accuracy of the results. The purpose of this research is to find the optimal dimensions of the links in order to minimize the error between the ideal and actual slider velocity functions. Ultimately, a numerical example is provided where the optimal dimensions are suggested by the optimization algorithm.

Keywords—Shaper, mechanism, optimization, genetic algorithm

Cite: Ali Emran Yazdani and Soroush Abyaneh, "Dimensional Synthesis of a Six-bar Shaper Mechanism with the Genetic Algorithm Optimization Approach," International Journal of Mechanical Engineering and Robotics Research, Vol. 12, No. 2, pp. 113-120, March 2023. DOI: 10.18178/ijmerr.12.2.113-120

Copyright © 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY-NC-ND 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.