Hostname: page-component-74656f9884-j7cmm Total loading time: 0 Render date: 2026-11-07T03:24:05.505Z Has data issue: false hasContentIssue false

Using assembly representations to enable evolutionary design of Lego structures

Published online by Cambridge University Press:  07 November 2003

MAXIM PEYSAKHOV
Affiliation:
Department of Computer Science, College of Engineering, Drexel University, Philadelphia, Pennsylvania 19104, USA
WILLIAM C. REGLI
Affiliation:
Department of Computer Science, College of Engineering, Drexel University, Philadelphia, Pennsylvania 19104, USA
Rights & Permissions [Opens in a new window]

Abstract

This paper presents an approach to the automatic generation of electromechanical engineering designs. We apply messy genetic algorithm (GA) optimization techniques to the evolution of assemblies composed of LegoTM structures. Each design is represented as a labeled assembly graph and is evaluated based on a set of behavior and structural equations. The initial populations are generated at random, and design candidates for subsequent generations are produced by user-specified selection techniques. Crossovers are applied by using cut and splice operators at the random points of the chromosomes; random mutations are applied to modify the graph with a certain low probability. This cycle continues until a suitable design is found. The research contributions in this work include the development of a new GA encoding scheme for mechanical assemblies (Legos), as well as the creation of selection criteria for this domain. Our eventual goal is to introduce a simulation of electromechanical devices into our evaluation functions. We believe that this research creates a foundation for future work and it will apply GA techniques to the evolution of more complex and realistic electromechanical structures.

Information

Type
Research Article
Copyright
2003 Cambridge University Press
Figure 0

A diagram of the genetic algorithm.

Figure 1

The genetic algorithm specialized for evolving Lego assemblies.

Figure 2

An example Lego structure with an assembly graph.

Figure 3

An example of the nodes and edges. (a) Lego blocks (left) with labeled nodes (right) and (b) Peg coordinates and Snap connections.

Figure 4

A Lego block with both official Lego units and metric dimensions.

Figure 5

Examples of Lego grammar rules.

Figure 6

An assembly graph for the Lego car.

Figure 7

An example of the Lego car.

Figure 8

The chromosome of the example structure.

Figure 9

The sample structure with a mutated beam and its genome.

Figure 10

A demonstration of cut and splice operators. (a) The sample structure after a cut operator is applied at point 3 and (b) head and tail subgraphs spliced with one random edge.

Figure 11

An example of the blocks sharing the same physical space (left) and infeasible connection edges (right).

Figure 12

An example of the light structure with the desired size of 10 × 10 × 10: (a) 10 × 10 × 6.8 and (b) 10 × 10 × 10.

Figure 13

An example of the pillar structure.

Figure 14

An example of the wall structure.

Figure 15

A staircase example of (a) a 10-step structure and (b) a 7-step structure.