Keywords

1 Introduction

Timber is one of the oldest and best-known structural materials, and one of the few renewable natural resources. It also is a desirable material for construction, building house or making furniture because it requires less energy to produce a usable end product than the other materials [1]. There are various species of timber in Malaysia such as Balau, Merbau, Kapur and Meranti. Timber species in Malaysia is grouped according to their strength and has been classified as strength group 1 to strength group 7 in MS 544: part 2: 2001 [2]. Strength group 1 is the strongest and as the strength group increased, the weaker the strength of the species. The timber species selected for this study is Kapur. Kapur species is categorised as medium hardwood and classified as strength group 4. This species is also considered as one of the easiest of supply and commonly use structural members. Nowadays, a cost for a timber is rising and it takes a long time to renew. Timber has been used as a structural material such as beam, column and roof trusses which brings to the use of fasteners and connections.

The competitiveness of a timber structure, relative to other building materials, may be determined by the efficiency of the connections. In most cases the fastening of timber to timber requires little skill or knowledge of design. Very limited publications about the tropical timber connections were found. The connection as reported are such as the shear and bending performance of structural, mortise and tenon connections for tropical timber [35].

Lacking of specific information for Malaysian timber in designing the load carrying capacity of joints and the influence of different end distance has led to this study. End distance is one of the major factors in designing the load carrying capacity of the timber connection. However, the actual load carrying capacity can only be determined using experimental work which incurred cost and time. This study emphasized in finding a simulation method in replacing the experimental laboratory testing method to determine and compare the ultimate shear strength of different end distance. Results of maximum load carrying capacity of single shear strength for Kapur joint compiled from previous laboratory work done by Abu Bakar [6] and Mat Nawi [7] has been taken for simulation. A lot of manual experiments are required to find the appropriate best end distance of a timber joint. Thus, this project aims of developing a system that can give feasible end distance of a timber joint without performing the manual experiment. With automated system, it will omit the cost and time as incurred in the experimental process.

The remainder of this article is organised as follows. Section 2 explains some related works. The PSO is discussed in Sect. 3. Experimental setup is introduced in Sect. 4. Computational results are analysed in Sect. 5; finally, Sect. 6 concludes the paper and presents certain avenues for future research.

2 Single Shear Strength

Shear strength is defined as the maximum load typically applied normal to a fastener’ axis that can be supported prior to fracture. In other common term, the load is applied laterally to the fasteners. There are two typical shear strengths; single and double shear strength. Figures 1 and 2 show the single and the double shear strength [8]. Single shear is when load is applied in one plane that would result in the fastener being cut into two pieces meanwhile double shear is load applied in two planes that would result in three fastener pieces.

Fig. 1
figure 1

Single shear joint

Fig. 2
figure 2

Double shear joint

Method of single shear strength joint is an experiment to determine the maximum load carrying capacity of the joint. These joint can be fastened using the mechanical fasteners such as dowels, bolts and nuts and nails. The length of the centre of the mechanical fasteners to the end of the timber member is known as end distance. The end distance used in this study is at the length of 2 times the diameter (2D) and 3.5 times the diameter of dowels (3.5D). The diameter, D of the dowel is 12.7 mm (Fig. 3). The experimental set up is as shown in Fig. 4.

Fig. 3
figure 3

The geometry of the timber specimen

Fig. 4
figure 4

The set up of the experimental pull-out test

The performance of the two different end distances were also identified [6, 7] and compares the failure modes connection of different end distance based on European Yield Model (EYM) in National Design Specification, (NDS) 2005 [8]. This experiment use Kapur timber as a dowel. It also uses a different diameter of end distance to determine and compare the shear strength of Kapur timber. Figure 5 shows the example of result of 2D and 3.5D for load/deformation.

Fig. 5
figure 5

Average 2D versus 3.5D end distance

3 Solution Using Particle Swarm Optimization

3.1 Computational Solutions

This sections highlights the steps involve in a proposed computational solution. The first step is on the data conversion. The data of manual experiment were converted into graph in excel. This is to compare current experiment result with this project result. The graph is then converted into polynomial. Equation from this conversion is used for fitness identification.

The next step is the application of Particle swarm optimization (PSO). The determination of fitness function is based on the findings from the previous datasets of the traditional laboratory experiments. It was then tested on dataset includes the timber species of Kapur that emphasizes on 2D and 3.5D in diameter of end distance. Several PSO parameters were tested to find the maximum load carrying capacity of timber joint for different end distances.

3.2 Particle Swarm Optimization Implementation

PSO is an optimization approach proposed by Kennedy and Eberhart in 1995 inspired by social behavior of organisms such as a school of fishes and bird flocking [9, 10]. Each fish or bird is illustrated as a particle. Each particle moves stochastically in a search space for feasible solution. Each particle has its own velocity and position. PSO provides a mechanism that can process particle velocity and position in multi-dimensional space. Optimum feasible solution can be achieved by updating both velocity and position. The fitness values comprise of global (Gbest) and personal best (Pbest) derived from the simulated behavior of a group of particles. Pbest is the best solution offered by each particle at local search area while the Gbest is the best solution on global scale.

PSO can be used to solve continuous and discrete problems [10, 11]. Canonical PSO algorithm has been used to solve continuous problems. Algorithm 1 shows PSO algorithm designed by [12].

Algorithm 1: PSO algorithm

1: Begin

2:      Initialize number of particles and populations

3:      Declare W, C 1 and C 2

4:      Initialize V initialize(min) and V initialize(max )

5:      Initialize D min and D max

6:      Calculate Pbest and Gbest value for each particle

7:         Do

8:               For each particle

9:                  Calculate new velocity value, V (new )

10:                  Calculate new position, D (new )

11:                  Calculate Pbest (new )

12:                  Calculate Gbest (new)

13:      While (stopping condition is reached)

14: End

The algorithm starts with the initialization of the population of particles or swarm size, followed by the initialization of inertia weight (W) and acceleration constants (C 1 and C 2 ). Step 4 and 5 initialize the minimum value (V initialize(min) ) and maximum value of velocity (V initialize(max) ) and minimum position (D min ) and maximum value of position (D max ), respectively. Next is the calculation of Pbest and Gbest value for each particle. Step 9 calculates the new velocity value for each particle using Eq. 1. Step 10 updates the new position, D (new) using Eq. 2. Finally, Pbest (new) and Gbest (new) are determined based on the fitness value set for the problem. Iteration starts from step 7 until step 13 to update the current velocity and position of each particle. This iteration will be done until it satisfies the stopping condition.

$$ V_{{id\left( {new} \right)}} = W*V_{id} + C_{1} *r_{1} (Pbest_{{\left( {id} \right)}} - X_{id} + C_{2} *r_{2} *\left( {Gbest_{(id)} - X_{id} })\right) $$
(1)
$$ X_{{id\left( {new} \right)}} \, = \,X_{id} \, + \,V_{{id\left( {new} \right)}} $$
(2)

where:

V id(new) :

new velocity of the ith particle in dth dimension

V id :

current velocity of the ith particle in dth dimension

X id :

current position of the ith particle in dth dimension

X id(new ) :

new position of the ith particle in dth dimension

W :

inertia weight

C 1 and C 2 :

acceleration coefficient

r 1 and r 2 :

random function in the range of [0,1]

Pbest (id ) :

position of the personal best of the ith particle in dth dimension

Gbest (id) :

position of the global best derived from all particles in the swarm.

PSO has the capability to explore regions in the specified search space and exploit the search to refine feasible solutions. These search strategies are influenced by the following parameters; acceleration constants (C 1 and C 1 ) and inertia weight [13, 14] that has been applied in the PSO algorithm.

Cognitive component, C 1  * r 1  * (Pbest (id) X id ) is a combination of acceleration coefficient (C 1 ), random function, and the difference between the old position and personal best position in the local search area. This component reflects the performance of the individual particle i, from the past performance [13].

Social component, C 2  * r 2  * (Gbest (id) X id ) consists of acceleration coefficient (C 2 ), random function, and the difference between the old global position and the global best position after every iteration. This component reflects the performance of the particle i from the past performance that are obtained from all particles in the global search space. Both of these components have stochastic flavor with the contribution of C 1  * r 1 and C 2  * r 2 [13, 15]. As far as velocity update is concerned, the new velocity relies on these components and the inertia weight to ensure the velocity remains in the same direction as the previous velocity. Thus, the setting of these parameters is important to optimize the search space.

4 Experimental Setup

This section discusses the experimentation preparation. The data of manual experiment were converted into graph in excel. The purpose of converting data into coordinate graph is to compare current experiment result with this project result.

To find an equation, the graph is converted into polynomial. The Fig. 6 shows the conversion from the data obtained from laboratory experiment to polynomial for the 2D.

Fig. 6
figure 6

Polynomial graph for 2D

The fitness equation that used in this PSO is based on diameter of end distance in timber joint experiment. Table 1 shows fitness function for 2D and 3.5D. Table 2 is the parameter setting for the PSO parameters.

Table 1 Fitness function
Table 2 Parameter setup

5 Results and Findings

This section discusses the results from the computational experiment of the PSO implementation. Table 3 demonstrates results for 2D using different numbers of iterations. The results show that the maximum end distance obtained at 5th iteration with 8.778. However, 10th and 15th iterations give low end distance value.

Table 3 Result for 2D using velocity of −1 to 1

A few tuning processes were performed to find the most optimal solutions. For 2D, the velocity parameter was adjusted between ranges −3 to 3 and it provides better solution with the maximum of 8.839 end distance at 5th iterations as shown in Table 4.

Table 4 Result for 2D using velocity of −3 to 3

Table 5 shows the results of 3.5D using velocity value between −1 and 1. The result also shows the maximum value for the end distance is at 5th iteration. The result seems similar to 2D by using the same parameter settings. The tuning process is done with the minimum velocity of −3 and maximum velocity of 3. For 2D, the velocity parameter was adjusted between ranges −3 to 3 and ranges of −4 and 4, it provides similar results compared to velocity ranges between −1 and 1. Table 6 provides consistent results with the maximum of 10.085 mm of the end distance.

Table 5 Result for 3.5D using velocity of −1 to 1
Table 6 Result for 2D using velocity of −4 to 4

The results show that the employment of PSO to find the maximum end distances for single shear strength is possible. The maximum end distance obtained is within the range that of obtained from the lab experiments. At only 5th iteration and swarm size of 30, PSO offers good performance for the single shear timber joint connection.

6 Conclusion

The PSO implementation to find possible end distance in a single shear timber joints demonstrates the capability of PSO in solving the optimization problem. The results of 3.5D using velocity value between −1 and 1 show the maximum value for the end distance is at 5th iteration. The result seems similar to 2D by using the same parameter settings. For 2D, the velocity parameter was adjusted between ranges −3 to 3 and ranges of −4 and 4, it provides similar results compared to velocity ranges between −1 and 1. For the particular single shear timber joints, PSO able to obtain the end distance value that accommodates the range provided from the laboratory experiment. The ability of PSO to provide solutions would help the timber researcher in reducing time and cost of material for lab experiment. However, testing on PSO should consider different types timber, joints, and composites may provide a better computational simulation results.