Dimensional synthesis of mechanical linkages using artificial neural networks and Fourier descriptors
모빌리티 소재 · (3) 자동차 인테리어 소재
기본 정보
- 저자
- DOI
- 10.5194/ms-6-29-2015
- 저널
- Mechanical sciences
- 발행년도
- 2015
- 발행기관
- Copernicus Publications
- 피인용수
- 29
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.5194/ms-6-29-2015
- 토픽
- Gear and Bearing Dynamics Analysis
- OpenAlex ID
- W2019813067
평가 내용
- 관련도
- 사업분야
- 모빌리티 소재 · (3) 자동차 인테리어 소재
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- LLM(gemma-4-26b-a4b-it) 평가로 '모빌리티 소재 > 자동차 인테리어 소재' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 22,496자
본문 펼치기
섹션 본문 48문단 · 14,874자
(제목 없음)
1Dimensional synthesis of mechanisms to trace given paths is an important problem with no exact solution.In this paper, the problem is divided into representation of curve shape and learning the relation between curve shape and mechanism dimensions.Curve shape is represented by Fourier descriptors of cumulative angular deviation of the curve, which do not depend on the position or scale of the curve.An artificial neural network (ANN) is trained to learn the (unknown) relation between the Fourier descriptors of a planar curve and the dimensions of the mechanism tracing that curve.Presented with any simple, closed, planar curve, the ANN suggests the dimensions of a four-bar whose coupler curve is similar in shape.A local optimization procedure further refines the results.Examples presented indicate the method is successful as long as the curve shape is such that the mechanism is able to trace it.
Introduction
2Mechanical linkages are used extensively for transforming motion and transmitting power in industrial machinery, agriculture, construction, automobiles and household gadgets.The design of linkages involves determining dimensions of constituting links so that the linkage moves in a manner necessary to carry out the required task (Sandor and Erdman, 1988).
3Figure 1 shows a common four-bar linkage whose tracer point P generates a path known as the coupler curve when the input link rotates.The problem of dimensional synthesis for path generation requires calculation of suitable dimensions for the linkage so that point P traces a desired continuous path.An exact solution for this problem is not possible because of the limited number of dimensions available, but various techniques have been used for approximate solutions.The most common techniques used include conventional optimization methods (Tomas, 1968;Sancibrian et al., 2004;Diab and Smaili, 2008), using atlases of mechanisms (Zhang et al., 1984), simulated annealing (Ullah and Kota, 1996), and genetic algorithms or evolutionary algorithms (Cabrera et al., 2002;Laribi et al., 2004;Starosta, 2008;Lin, 2010).
4In this research, normalized Fourier descriptors are used to represent the shape of coupler curves and artificial neural networks (ANNs) are used for approximating the inverse relationship between curve shape and linkage dimensions.A brief introduction to Fourier descriptors is presented below, followed by review of the relevant research.
5Fourier descriptors are functions used for description of shapes of object boundaries (or of any two-dimensional, simple closed curve).The boundary of a shape is represented by a periodic function that, when expanded in a Fourier series, yields a set of coefficients containing the shape information.Different types of Fourier descriptors have been proposed in the literature, including Fourier descriptors of the boundary (McGarva and Mullineux, 1993;Persoon and Fu, 1986) and Fourier descriptors of the angular orientation of the curve (Zahn and Roskies, 1972;Buskiewicz et al., 2009).The latter method is used here, which describes shape using the net amount of angular bend of the curve relative to the starting angle as a function of arc length φ(l) = θ(l) − θ (0), as shown in Fig. 2. The main advantage of using this formulation is invariance to translation, rotation and scaling of the curve so that the shape of a coupler curve is represented, independently of the position and size of the linkage producing it.The Fourier descriptors can also be normalized to Published by Copernicus Publications.remove dependence on starting point of the curve, direction of traversing the curve and to remove the difference between mirror image curves; these properties are irrelevant to synthesis of mechanisms.
6After a change of variable to remove length dependence, t = 2πl L , and addition of a linear part to remove discontinuities, the function to be expanded in a Fourier series is given by Eq. (1).
7where L is the total length of the curve.This periodic function is expanded in a Fourier series and the coefficients of the series are termed the Fourier descriptors.Work on linkage synthesis using ANNs is not extensive.Hoskins and Kramer (1993) used a radial basis function (RBF) ANN in combination with optimization techniques to construct an approximate inverse model of four-bar linkage.In that work, coupler curve shape is represented by power spectrum Fourier transform of curvature versus length.The RBF. ANN used consists of 50 input nodes, 50 to 750 nodes in the single hidden layer and 5 nodes in the output layer.A constrained local optimization technique is used to refine linkage parameters.Vasiliu and Yannou (2001) use normalized Fourier descriptors of the boundary to represent curve shape and then use an ANN with 17 input neurons, 2 hidden layers of 22 neurons each and 5 output neurons to synthesize four-bar mechanisms for path generation.Xie and Chen (2007) discuss motion synthesis of a crank-rocker based on neural networks.The angle of the coupler link and the position of the coupler point are first mapped onto a curve in image space, which is then described by a two-dimensional Fourier transform.A separate three-layered ANN is designed for relating each link dimension to the curve shape.It is not clear, however, how a network can model the relation of curve shape to one link dimension, without reference to other links.Galan-Marin et al. (2009) use wavelet descriptors and neural networks for linkage synthesis.Peñuñuri et al. (2011) propose combined synthesis for function, path, and motion generation by combining the objective functions of all three.Kim and Yoo (2012) demonstrate simultaneous number and dimension synthesis for function generation problems.Ebrahimi and Payvandy (2015) use the structural error objective function but add a penalty for violation of workspace limits.They demonstrate the use of the imperial competitive algorithm, a variation of genetic algorithms, to solve the problem.
8In the next section, the methodology of the work is outlined, including the equations used.Section 3 presents the design of the ANN, including the structure of network and details of training and testing, followed by some example problems.Finally, a discussion of the results is presented and conclusions drawn in Sect. 4.
Methodology
9The methodology used in this work comprises the following steps:
101. Dimensions for a large number of four-bar mechanisms were generated at random, keeping link length ratios within a reasonable limit and ensuring all mechanisms are crank-rockers so that the coupler curves produced are closed curves.
112. Coupler curves of the generated mechanisms were obtained, each as a set of points in the plane.
123. Each coupler curve was transformed into its Fourier descriptors and descriptors were normalized.
134. An ANN was designed to take Fourier descriptors of the generated curves as the input and corresponding mechanism dimensions as the output or target values.The ANN was trained using the data generated.5.The trained network was tested by presenting new data to it.Results were confirmed by numerical as well as visual comparison of desired and proposed curves.
146. To determine the four-bar mechanism that will reproduce any desired curve, the curve is first converted to its Fourier descriptors, which are then presented as input to the trained ANN.The mechanism dimensions produced by the ANN are further refined by using a local optimization procedure.
15Each step is explained below in some detail.
Generation of crank-rockers
16With reference to Fig. 3, a four-bar linkage can be represented by the lengths of its four links plus two variables for locating the coupler point P, the path tracing point, on link 3.For scale independence, the length of link 2 is taken as unity and limits are imposed on the lengths of other links to obtain a practical linkage.The five variables selected to represent a four-bar are as given in Eq. (2).
171 ≤ r i ≤ 5 i = 1, 3, 4, 5 and 0
18Link lengths are generated at random but still meeting the Grashof conditions, as follows:
19-Choose 1 ≤ p ≤ 5 at random.
20-Choose l at random such that p ≤ l ≤ 5.
21-Choose q at random such that s + l ≤ p + q ≤ p + l, where s = r 2 to ensure a crank-rocker.
22-The three lengths p, q, and l are arbitrarily assigned to r 1 , r 3 , and r 4 .
23The other two variables are generated at random between chosen limits.Five thousand random crank-rocker linkages were generated using this procedure.
Calculation of coupler curves
24As shown in Fig. 3, the positions of various links are represented as variables in the complex plane.All link lengths are known, as well as angles of r 1 (taken as zero) and r 2 .The following calculations (Eqs.3-8) determine the position of the coupler point P.
25arg(r 5 ) = arg(r 3 ) + θ c (7)
26Repeating the calculations by varying the crank angle in the range ≤ θ 2 ≤ 2π , a set of complex numbers, V i , are obtained, which are the vertices of the coupler curve.
Calculation of Fourier descriptors
27The curve is converted from vertices to length-angle representation, using Eqs.( 9)-( 11).
28where l i is the ith side of the polygonal curve, l i is the length from the first to the ith vertex, and ∅ i is the change in angle at the ith vertex.The Fourier descriptors of the curve, 2m + 1 in number, are then calculated from Eqs. ( 12)-( 16) (Zahn and Roskies, 1972).The polar form of Fourier descriptors was selected as it is easier to normalize.
29The amplitudes A k are already normalized, while the phase angles α k are normalized as follows to remove dependence on starting point, direction of curve traversal and mirroring (Buskiewicz et al., 2009).α = α j j , where j is the index of the first non-zero harmonic.
30For k = 1, . .., m,
Design of artificial neural network
31An artificial neural network (ANN) is a mathematical structure that takes a vector of inputs (22 normalized Fourier descriptors of a curve) and produces a set of outputs (the five dimensions of a four-bar mechanism).To train the network, it is provided with a large set of inputs and corresponding outputs so that it "learns" the relationship between inputs and outputs.After the network has been trained and tested, it can be used by providing an input (Fourier descriptors of a desired curve) and obtaining the output (dimensions of the mechanism that will produce a curve shaped like the desired curve).
32A multilayer feed-forward neural network was selected and trained using back propagation.After some experimentation, m = 11 was selected in the above equations so that a total of 22 Fourier descriptors were generated for each curve.Accordingly, the neural network had 22 neurons in the input layer.The output layer had 5 neurons, representing linkage dimensions.The number of hidden layers and the number of neurons in each layer were varied until satisfactory performance was obtained.Specifications of the final network architecture are shown in Table 1.The functions named in that table are Matlab Neural Network Toolbox ™ functions.
33It is useful to scale the inputs and outputs before training the neural network so that they fall within a specific range.This allows for efficient training but requires keeping track of scaled and unscaled values.Matlab mapping function mapminmax was used to provide linear scaling in the range [−1, 1].Training was carried out using the Broyden- Fletcher-Goldfarb-Shanno algorithm to reduce the performance function msereg, which is the average squared error between actual output and the desired output of the network.
Simulation and testing
34After designing and training the neural network using 5000 cases, it was tested for a new set of 50 coupler curves not used in training.The dimensions of 50 four-bar linkages output by the network were then used to construct coupler curves.Checking of results was carried out by comparing dimensions of linkages and values of Fourier descriptors as well as visual comparison of the shapes of curves.
Example problems
35In the first two example problems, a four-bar was chosen at random, the Fourier descriptors of its coupler curve calculated and supplied as input to the trained ANN.The ANN output dimensions of a four-bar were then optimized to minimize the difference between Fourier descriptors of input and output curves.Table 2 shows the comparison of linkage dimensions for the original four-bar, the output of ANN, and the final, optimized four-bar for each example.Figure 4 shows the comparison of the curve shapes in each case.For comparison, the output curves were superposed on the original curve as follows (Buskiewicz et al., 2009): the output curve is translated so that its centroid is positioned over the centroid of the original curve.The curve is then rotated about the centroid so that the orientations of the principal axes of the two curves match and finally the curve is scaled so that the lengths of the two curves match.
36In the third example, a general desired curve was chosen rather than a coupler curve, as shown in Fig. 5 (20)
Discussion and conclusions
37In the first two examples presented, the desired curve was a coupler curve obtained from a known four-bar mechanism.
38The algorithm was able to find the same four-bar mechanism in the first case but converged to a different four-bar having similar coupler curve.This was observed in other example cases also.Sometimes the curve obtained is a mirror image of the original curve; however, that problem is easily corrected by "flipping" the four-bar.
39In the third example, a general desired curve (not being a coupler curve) was used to determine the dimensions of a four-bar that will produce a coupler curve similar in shape.The results show that although the algorithm gets close, a significant difference remains in curve shape.This is most likely due to the limitations of available coupler curves that a four-bar can generate, rather than problems in the algorithm.
40In conclusion, a new method for approximate dimensional synthesis of planar linkages has been proposed and examples of application presented.The method is seen to be successful provided the desired path is close to the type of curves the mechanism is able to create.Although four-bar coupler curves have wide-ranging shapes, it should be noted that the method is limited to simple, closed curves; open curves (such as those produced by double-rocker mechanisms) and curves with crunodes are excluded.Edited by: L. Birglen Reviewed by: two anonymous referees
Figure 1 .
41Figure 1.A four-bar linkage.
Figure 2 .
42Figure 2. Net angular bend of curve boundary as a function of curve length.
Figure 3 .
43Figure 3. Four-bar representation for analysis.
Figure 4 .
44Figure 4. Example 1 (top row) and 2 (bottom row).On the left, the ANN output and on the right the optimized curve, both superposed on the original curve.
Figure 5 .
45Figure 5. Example 3. (Left panel) The original curve, and (right panel) the original and the final curves compared.
46(left panel).The four-bar mechanism obtained has the coupler curve shown in Fig.5(right panel) and the following dimensions: r 1 = 1.1711, r 3 = 13.8151,r 4 = 13.8736,r 5 = 2.6779, θ c = −0.8907rad.
Table 1 .
47Structure of ANN used.
Table 2 .
48Results for examples 1 and 2.
참고문헌 20건
- Application of genetic algorithm and Fourier coefficients (GA-FC) in mechanism synthesis Journal of Theoretical and Applied Mechanics/Mechanika Teoretyczna i Stosowana · Exeley Inc · 2008
- 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
- Unified synthesis of a planar four-bar mechanism for function generation using a spring-connected arbitrarily sized block model Mechanism and Machine Theory · Elsevier BV · 2011 10.1016/j.mechmachtheory.2011.10.013
- 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
- Dimensional synthesis of planar mechanisms using neural networks: application to path generator linkages Mechanism and Machine Theory · Elsevier BV · 2001 10.1016/s0094-114x(00)00037-9
- Shape Discrimination Using Fourier Descriptors IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 1986 10.1109/tpami.1986.4767799
- Optimization of parameters for specified path generation using an atlas of coupler curves of geared five-bar linkages Mechanism and Machine Theory · Elsevier BV · 1984 10.1016/0094-114x(84)90052-1
- 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
- Harmonic representation of closed curves Applied Mathematical Modelling · Elsevier BV · 1993 10.1016/0307-904x(93)90109-t
- On the application of the curve curvature in path synthesis Mechanism and Machine Theory · Elsevier BV · 2008 10.1016/j.mechmachtheory.2008.08.001
- Gradient-based optimization of path synthesis problems in planar mechanisms Mechanism and Machine Theory · Elsevier BV · 2004 10.1016/j.mechmachtheory.2004.02.012
- A combined genetic algorithm–fuzzy logic method (GA–FL) in mechanisms synthesis Mechanism and Machine Theory · Elsevier BV · 2004 10.1016/j.mechmachtheory.2004.02.004
- Shape optimization for path synthesis of crank-rocker mechanisms using a wavelet-based neural network Mechanism and Machine Theory · Elsevier BV · 2008 10.1016/j.mechmachtheory.2008.09.006
- Optimum exact/approximate point synthesis of planar mechanisms Mechanism and Machine Theory · Elsevier BV · 2008 10.1016/j.mechmachtheory.2007.12.006
- Optimal synthesis of mechanisms with genetic algorithms Mechanism and Machine Theory · Elsevier BV · 2002 10.1016/s0094-114x(02)00051-4
- Fourier Descriptors for Plane Closed Curves IEEE Transactions on Computers · Institute of Electrical and Electronics Engineers · 1972 10.1109/tc.1972.5008949
- The synthesis of mechanisms as a nonlinear programming problem Journal of Mechanisms · Elsevier BV · 1968 10.1016/0022-2569(68)90351-0
- Synthesis of mechanical linkages using artificial neural networks and optimization IEEE International Conference on Neural Networks · 2002 10.1109/icnn.1993.298663
- Advanced mechanism design: Analysis and synthesis Mechanism and Machine Theory · Elsevier BV · 1985 10.1016/0094-114x(85)90062-x
- Globally-Optimal Synthesis of Mechanisms for Path Generation Using Simulated Annealing and Powell’s Method 1996 10.1115/96-detc/mech-1225