Graphical Abstract Figure
Graphical Abstract Figure
Close modal

Abstract

This article introduces a novel methodology based on conditional β-variational autoencoder (cβ-VAE) architecture to generate diverse types of planar four-bar mechanisms for a given coupler curve. Central to our contribution is the novel integration of cross- and self-attention layers within the VAE framework, facilitating an encoding and decoding process that captures the complex interdependencies of mechanism parameters and associated coupler curves. We propose a unified representation scheme for four-bar mechanisms with both revolute and prismatic joints, utilizing a consistent set of joints to describe each mechanism type. To support and validate our methodology, we have compiled an extensive dataset featuring both open and closed coupler curves of the aforementioned mechanism types. Furthermore, the article introduces three metrics aimed at quantifying the efficacy of our model, alongside an innovative algorithm designed to enhance the predictive outcomes by identifying and computing cognate mechanisms.

References

1.
Wampler
,
C. W.
,
Morgan
,
A. P.
, and
Sommese
,
A. J.
,
1992
, “
Complete Solution of the Nine-Point Path Synthesis Problem for Four-Bar Linkages
,”
ASME. J. Mech. Des.
,
114
(
1
), pp.
153
159
.
2.
Bai
,
S.
, and
Angeles
,
J.
,
2015
, “
Coupler-Curve Synthesis of Four-Bar Linkages Via a Novel Formulation
,”
Mech. Mach. Theory
,
94
(
1
), pp.
177
187
.
3.
Hoskins
,
J.
, and
Kramer
,
G.
,
1993
, “
Synthesis of Mechanical Linkages Using Artificial Neural Networks and Optimization
,”
International Conference on Neural Networks (ICNN)
,
San Francisco, CA
,
Mar. 28–Apr. 1
.
4.
Zahn
,
C. T.
, and
Roskies
,
R. Z.
,
1972
, “
Fourier Descriptors for Plane Closed Curves
,”
IEEE Trans. Comput.
,
C-21
(
3
), pp.
269
281
.
5.
Chuang
,
G.-H.
, and
Kuo
,
C.-C.
,
1996
, “
Wavelet Descriptor of Planar Curves: Theory and Applications
,”
IEEE Trans. Image Process.
,
5
(
1
), pp.
56
70
.
6.
Mcgarva
,
J. R.
,
1994
, “
Rapid Search and Selection of Path Generating Mechanisms From a Library
,”
Mech. Mach. Theory
,
29
(
2
), pp.
223
235
.
7.
Mcgarva
,
J.
, and
Mullineux
,
G.
,
1993
, “
Harmonic Representation of Closed Curves
,”
Appl. Math. Model.
,
17
(
4
), pp.
213
218
.
8.
Vasiliu
,
A.
, and
Yannou
,
B.
,
2001
, “
Dimensional Synthesis of Planar Mechanisms Using Neural Networks: Application to Path Generator Linkages
,”
Mech. Mach. Theory
,
36
(
2
), pp.
299
310
.
9.
Galan-Marin
,
G.
,
Alonso
,
F. J.
, and
Del Castillo
,
J. M.
,
2009
, “
Shape Optimization for Path Synthesis of Crank-Rocker Mechanisms Using a Wavelet-Based Neural Network
,”
Mech. Mach. Theory
,
44
(
6
), pp.
1132
1143
.
10.
Erkaya
,
S.
, and
Uzmay
,
I.
,
2008
, “
Optimization of Transmission Angle for Slider-Crank Mechanism With Joint Clearances
,”
Struct. Multidiscipl. Optim.
,
37
(
5
), pp.
493
508
.
11.
Ahmadi
,
B.
,
Nariman-zadeh
,
N.
, and
Jamali
,
A.
,
2016
, “
Path Synthesis of Four-Bar Mechanisms Using Synergy of Polynomial Neural Network and Stackelberg Game Theory
,”
Eng. Optim.
,
49
(
6
), pp.
932
947
.
12.
Khan
,
N.
,
Ullah
,
I.
, and
Al-Grafi
,
M.
,
2015
, “
Dimensional Synthesis of Mechanical Linkages Using Artificial Neural Networks and Fourier Descriptors
,”
Mech. Sci.
,
6
(
1
), pp.
29
34
.
13.
Li
,
X.
, and
Chen
,
P.
,
2017
, “
A Parametrization-Invariant Fourier Approach to Planar Linkage Synthesis for Path Generation
,”
Math. Probl. Eng.
,
2017
(
1
), pp.
1
16
.
14.
Yim
,
N. H.
,
Lee
,
J.
,
Kim
,
J.
, and
Kim
,
Y. Y.
,
2021
, “
Big Data Approach for the Simultaneous Determination of the Topology and End-Effector Location of a Planar Linkage Mechanism
,”
Mech. Mach. Theory
,
163
(
1
), p.
104375
.
15.
Yim
,
N. H.
,
Ryu
,
J.
, and
Kim
,
Y. Y.
,
2023
, “
Big Data Approach for Synthesizing a Spatial Linkage Mechanism
,”
International Conference on Robotics and Automation (ICRA)
,
London, UK
,
May 29–June 2
, pp.
7433
7439
.
16.
Verstraten
,
E.
,
2012
,
Cognate Linkages the Roberts–Chebyshev Theorem
,
Springer
,
Netherlands
, pp.
505
519
.
17.
Kingma
,
D. P.
, and
Welling
,
M.
,
2014
, “Auto-Encoding Variational Bayes,”
Computing Research Repository
, abs/1312.6114.
18.
Goodfellow
,
I. J.
,
Pouget-Abadie
,
J.
,
Mirza
,
M.
,
Xu
,
B.
,
Warde-Farley
,
D.
,
Ozair
,
S.
,
Courville
,
A.
, and
Bengio
,
Y.
,
2014
, “
Generative Adversarial Networks
,”
Conference on Neural Information Processing Systems
,
Montreal, Canada
,
Dec. 8 –13
.
19.
Deshpande
,
S.
, and
Purwar
,
A.
,
2020
, “
An Image-Based Approach to Variational Path Synthesis of Linkages
,”
ASME J. Comput. Inf. Sci. Eng.
,
21
(
2
), p.
021005
.
20.
Deshpande
,
S.
, and
Purwar
,
A.
,
2019
, “
Computational Creativity Via Assisted Variational Synthesis of Mechanisms Using Deep Generative Models
,”
ASME. J. Mech. Des.
,
141
(
12
), p.
121402
.
21.
Taunk
,
K.
,
De
,
S.
,
Verma
,
S.
, and
Swetapadma
,
A.
,
2019
, “
A Brief Review of Nearest Neighbor Algorithm for Learning and Classification
,”
International Conference on Intelligent Computing and Control Systems (ICCS)
,
Madurai, India
,
May 15–17
.
22.
Sharma
,
S.
, and
Purwar
,
A.
,
2022
, “
A Machine Learning Approach to Solve the Alt-Burmester Problem for Synthesis of Defect-Free Spatial Mechanisms
,”
ASME J. Comput. Inf. Sci. Eng.
,
22
(
2
), p.
021003
.
23.
Nurizada
,
A.
,
Dhaipule
,
R.
,
Lyu
,
Z.
, and
Purwar
,
A.
,
2025
, “
A Dataset of 3M Single-DOF Planar 4-, 6-, and 8-bar Linkage Mechanisms With Open and Closed Coupler Curves for Machine Learning-Driven Path Synthesis
,”
ASME J. Mech. Des.
,
147
(
4
), p.
041701
.
24.
Chen
,
C.-H.
,
2023
, “
Application of Multiple Deep Neural Networks to Multi-Solution Synthesis of Linkage Mechanisms
,”
Machines
,
11
(
11
), p.
1018
.
25.
Kapsalyamov
,
A.
,
Hussain
,
S.
,
Brown
,
N. A.
,
Goecke
,
R.
,
Hayat
,
M.
, and
Jamwal
,
P. K.
,
2023
, “
Synthesis of a Six-Bar Mechanism for Generating Knee and Ankle Motion Trajectories Using Deep Generative Neural Network
,”
Eng. Appl. Artif. Intell.
,
117
(
1
), p.
105500
.
26.
Vermeer
,
K.
,
Kuppens
,
R.
, and
Herder
,
J.
,
2018
, “
Kinematic Synthesis Using Reinforcement Learning
,”
ASME 2018 International Design Engineering Technical Conferences and Computers and Information in Engineering Conference (IDETC/CIE)
,
Quebec City, Quebec, Canada
,
Aug. 26–29
.
27.
Fogelson
,
M. B.
,
Tucker
,
C.
, and
Cagan
,
J.
,
2023
, “
GCP-HOLO: Generating High-Order Linkage Graphs for Path Synthesis
,”
ASME J. Mech. Des.
,
145
(
7
), p.
073303
.
28.
Nurizada
,
A.
, and
Purwar
,
A.
,
2024
, “
An Invariant Representation of Coupler Curves Using a Variational AutoEncoder: Application to Path Synthesis of Four-Bar Mechanisms
,”
ASME J. Comput. Inf. Sci. Eng.
,
24
(
1
), p.
011008
.
29.
Raina
,
A.
,
McComb
,
C.
, and
Cagan
,
J.
,
2019
, “
Learning to Design From Humans: Imitating Human Designers Through Deep Learning
,”
ASME J. Mech. Des.
,
141
(
11
), p.
111102
.
30.
Puentes
,
L.
,
Raina
,
A.
,
Cagan
,
J.
, and
McComb
,
C.
,
2020
, “
Modeling a Strategic Human Engineering Design Process: Human-Inspired Heuristic Guidance Through Learned Visual Design Agents
,”
16th International Design Conference
,
Virtual
,
Oct. 26–29
, pp.
355
364
.
31.
Raina
,
A.
,
Cagan
,
J.
, and
McComb
,
C.
,
2022
, “
Design Strategy Network: A Deep Hierarchical Framework to Represent Generative Design Strategies in Complex Action Spaces
,”
ASME J. Mech. Des.
,
144
(
2
), p.
021402
.
32.
Regenwetter
,
L.
,
Nobari
,
A. H.
, and
Ahmed
,
F.
,
2022
, “
Deep Generative Models in Engineering Design: A ReviewJ
,”
ASME J. Mech. Des.
,
144
(
7
), p.
071704
.
33.
Xie
,
J.
, and
Chen
,
Y.
,
2007
, “
Application Back Propagation Neural Network to Synthesis of Whole Cycle Motion Generation Mechanism
,”
12th IFToMM World Congress
,
Besançon, France
,
June 17–21
, pp.
17
21
.
34.
Mo
,
X.
,
Ge
,
W.
,
Zhao
,
D.
, and
Zhang
,
Y.
,
2019
,
Path Synthesis of Crank-Rocker Mechanism Using Fourier Descriptors Based Neural Network
,
Springer
,
Singapore
, p.
32
.
35.
Yu
,
S.-C.
,
Chang
,
Y.
, and
Lee
,
J.-J.
,
2022
, “
A Generative Model for Path Synthesis of Four-Bar Linkages Via Uniform Sampling Dataset
,”
Proc. Inst. Mech. Eng., Part C: J. Mech. Eng. Sci.
,
237
(
4
), pp.
811
829
.
36.
Purwar
,
A.
, and
Chakraborty
,
N.
,
2023
, “
Deep Learning-Driven Design of Robot Mechanisms
,”
ASME J. Comput. Inf. Sci. Eng.
,
23
(
6
), p.
060811
.
37.
Kullback
,
S.
, and
Leibler
,
R. A.
,
1951
, “
On Information and Sufficiency
,”
Ann. Math. Stat.
,
22
(
1
), pp.
79
86
.
38.
Irina
,
H.
,
Matthey
,
L.
,
Pal
,
A.
,
Christopher
,
B.
,
Xavier
,
G.
,
Matthew
,
B.
,
Shakir
,
M.
, and
Alexander
,
L.
,
2016
, “
beta-VAE: Learning Basic Visual Concepts With a Constrained Variational Framework
,”
5th International Conference on Learning Representations
,
Toulon, France
,
Apr. 24–26
.
39.
Sohn
,
K.
,
Lee
,
H.
, and
Yan
,
X.
,
2015
, “
earning Structured Output Represen-tation using Deep Conditional Generative Models
,”
29th Conference on Neural Information Processing Systems
,
Montreal, Canada
,
Dec. 7–12
.
40.
Bahdanau
,
D.
,
Cho
,
K.
, and
Bengio
,
Y.
,
2014
, “
Neural Machine Translation by Jointly Learning to Align and Translate
,”
3rd International Conference on Learning Representations
,
San Diego, CA
,
May 7–9
.
41.
Yang
,
Z.
,
Yang
,
D.
,
Dyer
,
C.
,
He
,
X.
,
Smola
,
A.
, and
Hovy
,
E.
,
2016
, “
Hierarchical Attention Networks for Document Classification
,”
Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies
,
San Diego, CA
,
June 12–17
, pp.
1480
1489
.
42.
Anderson
,
P.
,
He
,
X.
,
Buehler
,
C.
,
Teney
,
D.
,
Johnson
,
M.
,
Gould
,
S.
, and
Zhang
,
L.
,
2018
, “
Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering
,”
IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)
,
Salt Lake City, UT
,
June 18–22
.
43.
Chorowski
,
J.
,
Bahdanau
,
D.
,
Serdyuk
,
D.
,
Cho
,
K.
, and
Bengio
,
Y.
,
2015
, “
Attention-Based Models for Speech Recognition
,”
28th Conference on Neural Information Processing Systems (NeurIPS 2015)
,
Montreal, Canada
,
Dec. 7–12
.
44.
Vaswani
,
A.
,
Shazeer
,
N.
,
Parmar
,
N.
,
Uszkoreit
,
J.
,
Jones
,
L.
,
Gomez
,
A. N.
,
Kaiser
,
L.
, and
Polosukhin
,
I.
,
2017
, “
Attention Is All You Need
,”
31st Conference on Neural Information Processing Systems (NeurIPS 2017)
,
Long Beach, CA
,
Dec. 4–9
.
45.
Cordonnier
,
J.
,
Loukas
,
A.
, and
Jaggi
,
M.
,
2020
, “
Multi-Head Attention: Collaborate Instead of Concatenate
,”
9th International Conference on Learning Representations (ICLR 2021)
,
Virtual Conference
,
May 3–7
. https://arxiv.org/abs/2006.16362
46.
Pearce
,
T.
,
Brintrup
,
A.
, and
Zhu
,
J.
,
2021
, “
Understanding Softmax Confidence and Uncertainty
,”
37th Conference on Uncertainty in Artificial Intelligence
,
Virtual Conference
,
July 27–30
. https://arxiv.org/abs/2106.04972
47.
Agarap
,
A. F.
,
2018
, “
Deep Learning using Rectified Linear Units (ReLU)
,”
CoRR
.
48.
Srivastava
,
N.
,
Hinton
,
G.
,
Krizhevsky
,
A.
,
Sutskever
,
I.
, and
Salakhutdinov
,
R.
,
2014
, “
Dropout: A Simple Way to Prevent Neural Networks From Overfitting
,”
J. Mach. Learn. Res.
,
15
(
1
), pp.
1929
1958
.
49.
Ba
,
J. L.
,
Kiros
,
J. R.
, and
Hinton
,
G. E.
,
2016
, “Layer Normalization.”
50.
Tavenard
,
R.
,
Faouzi
,
J.
,
Vandewiele
,
G.
,
Divo
,
F.
,
Androz
,
G.
,
Holtz
,
C.
,
Payne
,
M.
,
Yurchak
,
R.
,
Rußwurm
,
M.
,
Kolar
,
K.
, and
Woods
,
E.
,
2020
, “
Tslearn, A Machine Learning Toolkit for Time Series Data
,”
J. Mach. Learn. Res.
,
21
(
118
), pp.
1
6
.
51.
Nobari
,
A. H.
,
Srivastava
,
A.
,
Gutfreund
,
D.
, and
Ahmed
,
F.
,
2022
, “
LINKS: A Dataset of a Hundred Million Planar Linkage Mechanisms for Data-Driven Kinematic Design
,”
International Design Engineering Technical Conferences and Computers and Information in Engineering Conference
,
St. Louis, MO
,
Aug. 14–17
.
52.
Lyu
,
Z.
,
Purwar
,
A.
, and
Liao
,
W.
,
2024
, “
A Unified Real-Time Motion Generation Algorithm for Approximate Position Analysis of Planar N-Bar Mechanisms
,”
ASME. J. Mech. Des.
,
146
(
6
), p.
063302
.
53.
Ying
,
X.
,
2019
, “
An Overview of Overfitting and Its Solutions
,”
J. Phys.: Conf. Ser.
,
1168
(
1
), p.
022022
.
54.
Sëylemez
,
E.
,
2023
,
Four-Bar and Slider-Crank Cognates
,
Springer Nature
,
Switzerland
, pp.
265
285
.
55.
Dijksman
,
E. A.
, and
Smals
,
A. T.
,
2000
, “
How to Exchange Centric Inverted Slider Cranks With λ-Formed Four-Bar Linkages
,”
Mech. Mach. Theory
,
35
(
2
), pp.
305
327
.
You do not currently have access to this content.