Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Self-powered acceleration sensors arrayed by swarm intelligence for table tennis umpiring system

  • Ke Lu ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Data curation, Investigation, Validation, Writing – original draft

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Chaoran Liu ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Conceptualization, Methodology, Validation, Writing – review & editing

    liucr@hdu.edu.cn (CL); donglinxi@hdu.edu.cn (LD); ruizhi.sha@gmail.com (RS)

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Haiyang Zou ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Writing – review & editing

    Affiliation School of Materials Science and Engineering, Georgia Institute of Technology, Atlanta, GA, United States of America

  • Yishao Wang ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Software, Validation

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Gaofeng Wang ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Funding acquisition

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Dujuan Li ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Formal analysis

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Kai Fan ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Investigation

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Weihuang Yang ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Supervision

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Linxi Dong ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Funding acquisition, Writing – review & editing

    liucr@hdu.edu.cn (CL); donglinxi@hdu.edu.cn (LD); ruizhi.sha@gmail.com (RS)

    Affiliation Ministry of Education Engineering Research Center of Smart Microsensors and Microsystems, College of Electronics and Information, Hangzhou Dianzi University, Hangzhou, China

  • Ruizhi Sha ,

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Data curation, Writing – review & editing

    liucr@hdu.edu.cn (CL); donglinxi@hdu.edu.cn (LD); ruizhi.sha@gmail.com (RS)

    Affiliation State Key Laboratory for Manufacturing Systems Engineering, System Engineering Institute, Xi’an Jiaotong University, Xi’an, China

  • Dongyang Li

    Contributed equally to this work with: Ke Lu, Chaoran Liu, Haiyang Zou, Yishao Wang, Gaofeng Wang, Dujuan Li, Kai Fan, Weihuang Yang, Linxi Dong, Ruizhi Sha, Dongyang Li

    Roles Software

    Affiliation Department of Electronics and Information Engineering, Tongji University, Shanghai, China

Abstract

Table tennis competition is voted as one of the most popular competitive sports. The referee umpires the competition mainly based on visual observation and experience, which may make misjudgments on competition results due to the referee’s subjective uncertainty or imprecision. In this work, a novel intelligent umpiring system based on arrayed self-powered acceleration sensor nodes was presented to enhance the competition accuracy. A sensor node array model was established to detect ball collision point on the table tennis table. This model clearly illuminated the working mechanism of the proposed umpiring system. And an improved particle swarm optimization (level-based competitive swarm optimization) was applied to optimize the arrayed sensor nodes distribution by redefining the representations and update rules of position and velocity. The optimized results showed that the number of sensors decreased from 58 to 51. Also, the reliability of the optimized nodes distribution of the table tennis umpiring system has been verified theoretically. The results revealed that our system achieved a precise detection of the ball collision point with uniform error distances below 3.5 mm. Besides, this research offered an in-depth study on intelligent umpiring system based on arrayed self-powered sensor nodes, which will improve the accuracy of the umpiring of table tennis competition.

Introduction

As one of the hot events in the Olympic Games, table tennis competition has got increasing attention from all countries. However, the umpire in table tennis competition is still entirely determined by the professional ability and subjective judge of the referee [1, 2]. Table tennis competition has the characteristics of fast speed and small ball. It is hard for the referee to make accurate umpire when an edge ball or net ball appears [3]. Furthermore, in a highly strained mental state, professional referees are also prone to mental fatigue, which may lead them to make misjudgments. The collision point of table tennis on the tabletop is a key reference factor for referee to make the final umpire [4]. Therefore, precise positioning of collision point will effectively improve the accuracy of judgment.

Hawk-eye technology can be introduced into table tennis competition to accurately locate the collision point (CP) on the table caused by a ball, thereby reducing misjudgments. But it will cause long pauses, which may impact athlete’s state [5]. Sensor network has been proved as an effective positioning system with potential applications in many fields, such as military affairs [68] and civil engineering [911]. To improve the sensing efficiency of the sensor and save costs, the sensors distribution optimization has been presented. Many approaches have been developed to optimize the sensors deployment, in which the sensors distribution based on particle swarm optimization (PSO) gains wide attentions [1219]. PSO was first proposed by Eberhart and Kennedy [20] in 1995 to solve optimization problems. It is a population-based algorithm inspired from the behaviors of social animals such as birds. The individual in PSO is called particle and each particle has a position and velocity. The position of a particle is viewed as a candidate solution for the target optimization problem. Owing to simplicity and efficiency, PSO has become a vital tool to solve optimization problems [21, 22]. It has been successfully implemented to solve various optimization problems for decades, especially for those intractable NP-hard issues [23]. Unfortunately, the classical PSO easily leads to stagnation or premature convergence [24].

In this work, we presented a real-time and accurate intelligent umpiring system based on arrayed self-powered acceleration sensors to assist referee make precise umpiring. Firstly, a model was established to expound the designed umpiring system which was used to detect the collision point of the ball on the table tennis table. To simplify the arrayed sensor nodes, save costs and optimize nodes distribution, we presented a level-based competitive swarm optimization (LCSO). The representations and update rules of position and velocity could be redefined in LCSO. By LCSO algorithm, the number of sensors reduced from 58 to 51. Finally, we verified the reliability of optimized nodes distribution of the table tennis umpiring system theoretically. This research provided a new strategy for umpire of table tennis competitions, which would make umpiring precise and real-time.

Model

When two dissimilar materials come into contact, their surfaces will generate positive and negative electrostatic charges due to the contact electrification respectively. When the two materials are separated due to the action of mechanical force, the positive and negative charges generated by the contact electrification are also separated. And this charge separation will correspondingly generate an induced potential difference between the upper and lower electrodes of the material. If a load is connected between the two electrodes or the two electrodes are short circuit, the induced potential difference will drive electrons to flow between the two electrodes through an external circuit—this is triboelectric nanogenerator (TENG).

The referee umpires the score mainly based on the ball collision point (CP) on the tabletop [5] in a table tennis competition. It is hard for human eyes to precisely umpire when touching net or edge ball appears. Here, we present an intelligent collision point positioning system by distributing the acceleration sensor on the back surface of the table (Fig 1). We prefer the self-powered acceleration sensor [2527] based on TENG to overcome battery shortcomings such as limited power storage, maintenance required, and large weight. The bottom-up components of the sensor consist of a TENG, an insulating layer, and a mass (Fig 1A). As the table tennis hits the tabletop, the acceleration sensor will detect a tabletop vibration wave and output a voltage signal.

thumbnail
Fig 1. Schematic of the intelligent umpiring system by deploying the self-powered acceleration sensor on the back of the table.

(a) Schematic of the self-powered acceleration sensor. (b) Detection range of a sensor with a maximum detection distance.

https://doi.org/10.1371/journal.pone.0272632.g001

The sensor has a maximal detection distance (Rm). Within the detection range of the sensor, the vibration of any collision point can be detected (Fig 1B). Obviously, more than three sensor nodes are required to uniquely determine a collision point on a two-dimensional plane. One sensor cannot determine the location of the collision point (Fig 2A), while two sensors have a 50% chance to accurately locate the collision point (Fig 2B). Four or more sensors are wasteful, complicating the system and increasing cost (Fig 2D). Therefore, three sensors are the best.

thumbnail
Fig 2.

The possible location of the collision point when the point is detected by (a) a sensor, (b) two sensors, (c) three sensors and (d) four sensors at the same time, respectively.

https://doi.org/10.1371/journal.pone.0272632.g002

The sensor nodes distribution should be optimized to simplify and efficiently detect all possible collision points (CPs) on the entire tabletop. Assuming that infinitely many sensor nodes are installed on the back of the table, a CP position must be located inside a triangle formed by the three nearest sensors. And the distances between the CP and each of the three nearest sensors are less than Rm of sensor. We define the three nearest sensors as the detection sensor set (DSS). It is obvious that different CPs may have the same DSS. And these CPs with the same DSS will completely fill in the triangle formed by their DSS. Based on the assumption, we regard the tabletop as a 2-D rectangle composed of triangles. When we try to expand these triangles synchronously, the number of sensors installed on the back of the table will gradually decrease. The triangle cannot be expanded infinitely because the distance between any CP in triangle and vertexes must be less than Rm. Therefore, the sensor distribution optimization can be converted as the optimization of the triangle area.

Commonly, the distances between any point in a triangle and vertexes are less than the length of the triangle longest edge. The triangles cannot cover the maximum area on the tabletop if they are not isosceles triangles. Therefore, we reduce the number of sensor nodes by optimizing the shape of isosceles triangle. Furthermore, the included angles α and β were explored to optimize the sensor distribution (Fig 3A).

thumbnail
Fig 3.

(a) Isosceles triangle formed by the three nearest sensors of the collision point. (b) Obtaining the position of all sensors in the table by α, β and initial sensor(x,y).

https://doi.org/10.1371/journal.pone.0272632.g003

Based on the above theories, the sensor distribution optimization can be modeled as a function: minsensor = f (α, β, x, y). α is the base angle of the isosceles triangle, which determines the area of the triangle. β is the included angle between the waist of the isosceles triangle and the edge of the table (Fig 3A). x and y are abscissa and ordinate of the initial sensor respectively. With the function minsensor, we will get the positions of other sensors and the number of sensors inside the table after obtaining the angles of α and β and the abscissa x and ordinate y of initial sensor (Fig 3B). The pseudo code of the function minsensor = f (α, β, x, y) is shown as following:

Algorithm 1: The function minsensor = f (α, β, x, y)

  1. Coordinate system: Define the lower left of the table tennis table as the origin and the edge of the table as the coordinate axis to establish a rectangular coordinate system. (0 mm ≤ x ≤ 2740 mm and 0 mm ≤ y ≤ 1525 mm)
  2. Input: base angle α, intersection angle β, the initial sensor(x,y)
  3. Output: the number of sensors inside the table tennis table
  4.  //sensors: store the coordinates of all sensors located inside the table;
  5. 01: Define global variables: sensors;
  6.  //U denotes a set of sensors;
  7. 02: U = Ø;
  8. 03: Store initial sensor(x,y) into U;
  9. 04: while UØ do
  10. 05: randomly select a sensor(x,y) from U;
  11. 06: remove sensor(x, y) from U;
  12.   //The sensor cannot be located outside the table
  13. 07: if x > 2740 or x < 0 or y > 1525 or y < 0 then
  14. 08:  if x > 2740 then
  15. 09:   x = 2740;
  16. 10:  end if
  17. 11:  if x < 0 then
  18. 12:   x = 0;
  19. 13:  end if
  20. 14:  if y > 1525 then
  21. 15:   y = 1525;
  22. 16:  end if
  23. 17:  if y < 0 then
  24. 18:   y = 0;
  25. 19:  end if
  26. 20:  if sensor(x, y) is not the member of sensors then
  27. 21:   Store sensor(x, y) into sensors;
  28. 22:  end if
  29. 23: else
  30. 24:  if sensor(x, y) is not the member of sensors then
  31. 25:   Store sensor(x, y) into sensors;
  32. 26:   Calculate the coordinates of the six sensors around sensor(x, y) based on α,β and Rm;
  33. 27:   Store these six sensors into U;
  34. 28:  end if
  35. 29: end if
  36. 30: end while
  37. 31: if sensor(0, 0) is not the member of sensors then
  38. 32: Store sensor(0, 0) into sensors;
  39. 33: end if
  40. 34: if sensor(0, 1525) is not the member of sensors then
  41. 35: Store sensor(0, 1525) into sensors;
  42. 36: end if
  43. 37: if sensor(2740, 0) is not the member of sensors then
  44. 38: Store sensor(2740, 0) into sensors;
  45. 39: end if
  46. 40: if sensor(2740, 1525) is not the member of sensors then
  47. 41: Store sensor(2740, 1525) into sensors;
  48. 42: end if
  49. 43: return sensors and the size of sensors;

Level-based competitive swarm optimizer

The idea of particle swarm optimization (PSO) originates from the movement of birds, where PSO can search the decision space for promising solutions just like birds searching for food [28]. Each particle in PSO has two attributes (position and velocity). These two attributes represent current feasible solution and moving direction of the particles, respectively. In the optimization process, the velocity and position of each particle are iteratively updated by using the following equations: (1) (2)

Where t is the current number of iterations, and are the position and the velocity of the i-th particle, respectively. is the best position where i-th has achieved so far, Gbest = (gbest1, gbest2,…,gbestD) represents the current best position in the particles swarm. D denotes the dimension size of the objective function, ω is termed as the inertia weight [29]. c1 and c2 are acceleration coefficients adjusted by users. r1 and r2 are two random number generated within (0, 1).

Refer to Eqs (1) and (2), a particle iteratively updates its position and traverses the search space to seek the potential optimum of the objective function. However, this learning strategy commonly causes stagnation and premature convergence. The reason is that PSO shows weak capacity of diversity preservation [30]. To address this issue, a large amount of improvements on PSO can be found in literatures [3139]. The current methods can be mainly classified into the following two categories, adopting cooperatively coevolutionary framework and designing new learning strategies. Methods in the first category focus on the large-scale optimization problems, which divides the original problem into several simultaneous and independently optimized sub-problems, such as the random variable grouping-based algorithms [40], differential grouping-based algorithms [41, 42] and machine learning based algorithms [43]. However, such methods commonly have the problems with high computational cost and inaccurate variable grouping. Methods in the second category aim to improve the search ability of PSO under different learning strategies, including the comprehensive learning and competitive learning for diversity enhancement [31], adaptive parameter adjustments and level-based learning [44] for balancing the convergence and diversity [45]. Nevertheless, these methods still cannot help PSO to effectively address complex problems, since the diversity preservation continue challenging PSO.

Among these methods, CSO [46] and DLLSO [44] are two competitive algorithms proposed in recent years to address optimization problems with large scale dimensionality. With a deep insight into these two algorithms, we find that CSO and DLLSO show several special advantages when comparing with PSO. CSO selects the exploitation exemplars by using a pairwise competition mechanism. And it only updates half of the particles swarm at each generation, which can maximize the diversity of the exemplars and preserve the promising solutions. On the other hand, the level-learning strategy proposed in DLLSO can further diverse the exploration exemplars when compared with CSO. Inspired by CSO and DLLSO, a novel particle swarm optimization method is proposed in this paper. In the proposed method, neither the personal best position of each particle (pbest) nor the global best position (gbest) is involved in updating the particles swarm. Conversely, we introduce a level-based pairwise competition mechanism. In general, the particles swarm will be divided into several levels according to the fitness, similar to the design in DLLSO. Therefore, the particles in higher levels hold more beneficial information which is contributing to guide the particles swarm toward the global optimum area [47, 48]. More specifically, the proposed pairwise competition mechanism is executed in each level to distinguish the particles that need to be updated and the corresponding exploration exemplars. On the other hand, the particles in higher levels should be selected as the exploitation exemplars to guide particles in lower levels to search the solution space for exploitation.

The framework of LCSO is shown in Fig 4. Firstly, particles in the swarm are sorted by fitness in ascending order and divide into several levels. The better particles belong to higher levels and all levels have the same number of particles (L1 is the highest level). Lower-level particles can learn from higher-level particles.

thumbnail
Fig 4. Framework of the proposed level-based competitive swarm optimization.

https://doi.org/10.1371/journal.pone.0272632.g004

The number of candidate exemplars for particles in higher level is fewer, which matches the expectation that better particles should do more exploitation rather than exploration. Then, in each level, two particles are randomly chosen to contest until all particles have participated in at least one competition. After each competition, the winner that having a better fitness will be passed directly to the next generation particles swarm, and the loser will update its position and velocity by learning from the winner and higher-level particles. Since the particles in the first level are the best of the whole particles swarm in the current generation, better solutions are usually found near these ones. The particles in the highest level directly enter the next generation. The position and velocity of the particle that loses the competition will update as follows: (3) (4)

Where t is the iteration number, and are the position vector and the velocity vector of the j-th loser particle from the i-th level (Li) respectively. is the randomly selected exemplars from m-th level (Lm) (m∈[1,i-1]), and represents the winner after competing with Xi,j. r1(t), r2(t), and r3(t) are three random variables in the range [0, 1] and ϕ is the control parameter within [0, 1] which is in charge of the influence of the second exemplar.

The pseudo code of LCSO is outlined in Algorithm 2.

Algorithm 2: Framework of LCSO

  1. Input: swarm P, swarm size NP, number of levels N, level size LS, maximum number of fitness evaluations MAX_FES.
  2. Output: the final solution x and its fitness f(x)
  3. //t denotes the generation number;
  4. 01: t = 0;
  5. 02: fes = 0;
  6. 03: Initialize the swarm P(0) randomly;
  7. 04: while fes < MAX_FES do
  8. 05: calculate the fitness of all particles in P(t);
  9. 06: fes + = NP;
  10. //At each generation, N may different;
  11. 07: Sort particles in ascending order of fitness and divide them into N levels;
  12. //Update particles in LN,…, L2;
  13. 08: for i = {N,…, 2} do
  14. //Ui denotes a set of i-th level particles that have not yet participated in a competition;
  15. 09: while UiФ do
  16. 10: randomly choose two particles X1(t), X2(t) from the i-th level Li;
  17. 11: if f(X1(t)) < f(X2(t)) then
  18. 12: Xw(t) = X1(t), Xl(t) = X2(t);
  19. 13: else
  20. 14: Xw(t) = X2(t), Xl(t) = X1(t);
  21. 15: end if
  22. 16: add Xw(t) into P (t + 1);
  23. 17: Select a level from the top (i-1) levels: Lm;
  24. 18: Randomly select a particles from Lm: Xm,n;
  25. 19: Update particle Xl(t) refer to (3) and (4);
  26. 20: add the updated Xl(t) to P (t + 1);
  27. 21: remove X1(t), X2(t) from Ui;
  28. 22: end while
  29. 23: end for
  30. 24: add the first-level particles into P (t + 1);
  31. 25: t = t + 1;
  32. 26: end while

The difference between LCSO and PSO and its other variants is the proposed level-based pairwise competition mechanism (LCM) of LCSO. Firstly, LCM divides the swarm into several levels based on particles’ fitness. Then, for each particle that lose the pairwise competition, two exemplars are selected from higher level particles and the winner of the pairwise competition to guide its updating for exploitation and exploration.

The complexity, exploration and exploitation of LCSO are theoretically analyzed as follows.

Computational complexity

Since the algorithm usually takes the number of fitness evaluations as the final criterion, this paper assumes using the same swarm size N to compare the computational complexity per generation between the proposed algorithm and PSO. Algorithm structure, computation cost at each generation and the required memory cost are taken into consideration to compare the computational complexity of LCSO and PSO.

Firstly, LSCO has the same structure as PSO, which is easy to implement. Secondly, the extra computational cost of LCSO at each generation are generated in Lines 7–18 in Algorithm 2 to divide the swarm into N levels and execute competition, which both cost O(N). In summary, LCSO only introduces O(2N) extra computational cost at each generation compared with PSO. Last but not least, LCSO has greater advantage in memory cost when comparing with PSO as it does not need to store the historical best particles.

In summary, LCSO is superior in terms of implementation and computational complexity.

Exploration ability

Exploration is crucial to Evolutionary Algorithms (EAs) since it is conducive to find more promising areas in the decision space to avoid premature convergence. One way to enhance the exploration ability of EAs is maintenance of swarm diversity, which can be achieved by diversing the exemplars of particles. The exploration exemplars in LCSO are selected by using a pairwise competition, indicating that all updated particles have different exploration exemplars. However, the exploration exemplars in DLLSO are randomly selected. Therefore, it can be concluded that the exploration exemplars in LCSO have more diversity than that in DLLSO, CSO and the canonical PSO.

Further, we rewrite Eq (3) as Eqs (57): (5) (6) (7)

Similarly, the equation of updated velocity of classical PSO, CSO and DLLSO can be rewritten to (8), (9), (10) respectively.

(8)(9)(10)

Where is the position of the winner and is the average position of the particles swarm in CSO. And in DLLSO, randomly selected from rl1-th level (Lrl1) and randomly selected from rl2-th level (Lrl2) are the two selected exemplars.

From Eqs (5), (8), (9) and (10), the difference between pi (i = 1, 2, 3, 4) and the particle to be updated is the main source of diversity. As for classical PSO (p2), Pbest of each particle is updated only when the particle finds a better position and Gbest is updated only when the swarm finds a better position. It indicates that Pbest and Gbest may be constant for many generations, which limits exploration ability. In CSO (p3), the mean position of the swarm is employed as the exploration exemplar of all the particles. Although the mean position is updated at each generation, it is shared by all particles, which is not beneficial for further diversity enhancement. For DLLSO (p4) based the level-learning strategy, the exploration exemplar Xrl2,k2 is randomly selected from higher levels for each particle in lower levels. However, a higher-level particle may be chosen as the exploration exemplar of multiple lower-level particles. In our proposed LCSO (p1), a level-based pairwise competition mechanism is utilized to select the exploration exemplars, where the exploration exemplars are the winners of each pairwise competition in the same level. This mechanism can ensure that all the exploration exemplars are different.

In summary, the diversity preservation ability of the proposed LCSO is better than DLLSO, CSO, and PSO, which benefits for strengthening the exploration ability.

Exploitation ability

Exploitation is a key point for swarm to refine promising areas, especially when computational resources are limited. Generally, the exploitation ability can be reflected by the difference between the exploitation exemplars and the corresponding updated particles.

The first exemplars in LCSO and DLLSO are the exploitation exemplars, which are randomly selected from the higher level. The differences of the exploitation exemplar selections between LCSO and DLLSO are presented as follows. The exploitation exemplar for a particle in DLLSO is selected from a level that at least two levels higher than the updated particle. However, the exploitation exemplars in LCSO are selected from any higher level. This indicates that LCSO can exploit the exploitation exemplars within a smaller difference when comparing with DLLSO, which is potential in the exploitation of a local area. Similar to the analyses in [39], LCSO theoretically has a faster convergence ability than CSO and classical PSO.

The above analyses clearly verify that LCSO shows superior exploration and exploitation abilities.

To verify the superiority and efficiency of the proposed LCSO, we have compared LCSO with five representative PSO variants [37, 4446, 49] by a series of experiments conducted on the CEC’2013 benchmark sets [50] (Table 1). For fairness, the key parameters in each algorithm are set according to the suggestions in the corresponding papers. The symbols above the p values, “+”, “-”, and “=“, mean that the performance of LCSO is significantly better than, worse than, or statistically equivalent to the compared algorithm on the corresponding benchmark respectively (Table 2). In addition, the bold p means that LCSO is significantly better than other algorithms. Furthermore, w/l/t at the bottom of the table represents the times that LCSO wins/loses/ties in the competitions compared with the corresponding algorithms. Comparing with five state-of-the arts algorithms, LCSO outperforms the compared algorithms on most of the 28 functions, which clearly demonstrates that the proposed LCSO has a better performance.

thumbnail
Table 2. Comparison results of the compared algorithms on CEC’2013 functions with 6 × 105 fitness evaluations.

https://doi.org/10.1371/journal.pone.0272632.t002

Sensors arrayed by proposed LCSO

To optimize the umpiring system, the number of sensor nodes should be minimized by LCSO under the premise that the detection range of the designed intelligent umpiring system covers the entire tabletop. The maximum detection distance (Rm) of the sensor is a key factor for the final result of sensor array optimization, which is decided by the resolution of the sensor and the minimal vibration caused by the table tennis hitting the table during the competition. Obviously, the table will generate a minimal vibration when the ball hits the top of the net and then drops in free fall. The instantaneous velocity (v1) of the ball when colliding with the table can be defined as: (11)

Where h is the height of net, g is the acceleration of gravity. We set downward direction as the positive reference direction, the vibration intensity (a1) at the collision point is given by: (12)

Where m1 is the weight of the table tennis ball, tc and S1 are the contact time and the maximum contact area between the ball and the table respectively, m2 and S2 are the weight and area of the table respectively. v2 is the rebound velocity of the ball, defined as following: (13)

Where COR is the coefficient of restitution [51].

To get the maximum detection distance (Rm), we have carried out the following equation derivation process.

The transfer process of mechanical vibration inside the ping pong table is analyzed by elastic dynamics method. The physical equation, geometric equation and balance equation in polar coordinates are established as Eqs (2022).

(14)(15)(16)

Where u, w are the displacement components of one point in the ping pong table in the r-axis and z-axis directions. σθ, σr and σz are the normal stresses in the θ-axis, r-axis and z-axis directions respectively. τzr is a upward shear stress perpendicular to the zr-plane. εθ, εr and εz are the normal strains in the θ-axis, r-axis and z-axis directions respectively. γzr is a upward shear strain perpendicular to the zr-plane. R is the periodic stress along the r-axis applied to the outer layer of the table. M and K are frequency and amplitude of the vibration source. The constants E, ρ, μ represent the Young’s modulus, density and Poisson’s ratio of the table material, respectively.

To simplify the model, make R = 1e8 × sin(20πt), z = 0. After substituting the geometric equations into the physical equations, we can obtain: (17)

As z approaches infinity, we can ignore the axial displacement w, shear stress τzr, and the axial time-domain equilibrium equation. Then the equation set-up (17) can be reduced to the equation set-up (18).

(18)

Substitute equation set-up (18) into equation set-up (15) to get: (19)

According to the separation of variables method, assume u = y(r) × sin(Mt), then Eq (19) can be simplified to Eq (20), and its analytical Eq (21) can be obtained through MATLAB.

(20)(21)

Where struveH(1, x) is an intrinsic function of software Mathematica. And struveH(n, x) has branch-cut discontinuity in the range of −∞~0 on the complex plane. For some specific variable values, struveH can automatically calculate the exact value and obtain the value of any numerical precision.

Finally, Rm will be obtained by solving the equation set-up (22) [52].

(22)

Where StruveH is a function of software Mathematica. E, ρ, and μ represent the table’s Young’s modulus, density, and Poisson’s ratio, respectively. M and K denote the frequency and the amplitude of the external stress, respectively. r is the propagation distance of the vibration. a2 is the resolution of the sensor.

Based on the designed model, the sensors distribution optimization has been converted to search the minimum value of the function minsensor = f (α, β, x, y) via LCSO. In this work, each particle in the LCSO represents a candidate solution and the return value of the function minsensor = f (α, β, x, y) represents particle’s fitness. The position of the particle is expressed in discrete form and divided into 4 parts, representing α, β, x, and y. During the swarm iteration, the particles that lose the competition learn from the winner and the higher-level particles and update their position and velocity. The winner and the highest-level particles directly enter the next generation. The parameters involved in the experiment are listed in Table 3. Fig 5A–5C show the sensor distribution in different iteration swarms. After LCSO optimization and 1000 iterations, the number of the sensors reduces to 51 (Fig 5D). Overall, the relationship between number of sensors and time of iteration is shown in Fig 5E. It can be observed that the number of sensors decreases gradually as the number of iterations increases. These test results illustrate that the minimum number of sensors is successfully obtained by LCSO, and the optimal solution (α = 60.012°, β = 90.0880°, x = 1371, y = 197) meets the expectation of the largest triangle area.

thumbnail
Fig 5.

Best sensor distribution in different iteration ((a) 6, (b) 35 and (c) 253) swarms. (d) The optimal sensor distribution after LCSO optimization. (e) The number of sensors with different iterations.

https://doi.org/10.1371/journal.pone.0272632.g005

thumbnail
Table 3. Parameters applied in sensors distribution by LCSO.

https://doi.org/10.1371/journal.pone.0272632.t003

The reliability of the designed intelligent umpiring system is crucial for its application. To verify this performance, we randomly generate some points on the table tennis table by Matlab and calculate the coordinates of all points by the designed umpiring system. Based on the final sensor distribution (Fig 5D), the random points and their three nearest sensors are shown in Fig 6A. The coordinate (xn, yn) of each point can be obtained by solving equation set-up (23).

thumbnail
Fig 6.

(a) Comparison of the calculated location and actual location of the random point and (b) corresponding location error.

https://doi.org/10.1371/journal.pone.0272632.g006

(23)

Where n is the serial number of random point, (xan, yan), (xbn, ybn), and (xcn, ycn) are the coordinates of the three nearest sensors respectively, ran, rbn, and rcn are distances between the point Pn to each of its three nearest sensors. The parameters involved in equation set-up (23) are listed in Table 4. The corresponding experimental results are shown in Fig 6A and 6B. All points on the table are accurately located and the location errors are less than 3.39 mm. This proves that our umpiring system has accurate positioning and high stability. In addition, to deeply understand the actual collision output performance of the sensor, we also measured the output voltage of the self-powered acceleration sensor when the sensor sensed actual collision point made by table tennis. In our previous study, we have tested the sensitivity of the sensor and the sensitivity of the sensor is up to 20.4 V/(m/s2) when the range of acceleration is 1–11 m/s2 [25]. The relationship between acceleration and collision distance is shown in Fig 7. The measured acceleration increases with the increasing collision distance. This proves that our sensor has a superior linear output.

thumbnail
Fig 7. The measured acceleration by freeing the Ping-Pong ball with different collision distance.

https://doi.org/10.1371/journal.pone.0272632.g007

Conclusion

In summary, we presented a real-time intelligent umpiring system based on arrayed self-powered acceleration sensor nodes to assist referee to make precise umpiring. To avoid the periodic charging and reduce the number of sensors, high sensitivity self-powered acceleration sensors were installed on the back surface of the table tennis table after arrayed sensor nodes conducted a novel particle swarm optimization (LCSO). A model was established to optimize sensor nodes distribution. To minimize the function minsensor = f (α, β, x, y) based on the model, we presented an improved particle swarm optimization—LCSO. The number of sensors reduced from 58 to 51 via the LCSO algorithm. The simulation results on Matlab showed that the designed intelligent umpiring system had a high accuracy (errors below 3.5 mm). This work proposed a novel sensor positioning model and an effective method to optimize sensor nodes, which would make the umpiring of the table tennis competition precise and real-time.

Although the proposed algorithm showed competitive performance on both numerical comparison and application, the experimental results showed that the proposed algorithm still left room for further improvement. This can be explained by “No free lunch” theory. Thus, in our future work, we will continue to study the proposed algorithm with respect to specific problems. Targeting different kinds of problem, we will design adaptive parameters to improve the robustness of LCSO.

References

  1. 1. Wong PKC. Developing an intelligent table tennis umpiring system: identifying the ball from the scene Asia. 2008 Second Asia International Conference on Modelling & Simulation (AMS). 2008; https://doi.org/10.1109/AMS.2008.110
  2. 2. Wong P, Dooley L. Tracking Table Tennis Balls in Real Match Scenes for Umpiring Applications. British Journal of Mathematics & Computer Science. 2011; 1(4): 228–241. https://doi.org/10.5281/zenodo.8730
  3. 3. Zhao WG. The analysis and thoughts of "Hawk Eye" technology in table tennis matches. Sichuan Sports Science. 2015.
  4. 4. Tang JJ, Liu FD, Cai XL, et al. Research on the influences of rule changes of table tennis on the appreciation of the competition. J. Bjing Sport University. 2007.
  5. 5. Zhang Q, Tang D. Feasibility analysis on introduction of "Hawk-Eye" system for high-level table tennis tournament. Sichuan Sports Science. 2016.
  6. 6. Akyildiz IF, Su WL, et al. A survey on sensor networks. IEEE Communications Magazine. 2002; 40(8): 102–114.
  7. 7. Diamond SM, Ceruti MG. Application of Wireless Sensor Network to Military Information Integration. 2007 5th IEEE International Conference on Industrial Informatics. 2007; https://doi.org/10.1109/INDIN.2007.4384776
  8. 8. Hamdi M, Boudriga N, Obaidat MS. WHOMoVeS: An optimized broadband sensor network for military vehicle tracking. International Journal of Communication Systems. 2008; 21(3): 277–300. https://doi.org/10.1002/dac.890
  9. 9. Elhabyan R, Shi W, et al. Coverage protocols for wireless sensor networks: Review and future directions. Journal of Communications and Networks. 2019; 21(1): 45–60.
  10. 10. Antunes P, Lima H, et al. Optical fiber sensors for static and dynamic health monitoring of civil engineering infrastructures: Abode wall case study. Measurement. 2012; 45(7): 1695–1705. https://doi.org/10.1016/j.measurement.2012.04.018
  11. 11. Caetano E, Silva S, Bateira J. A vision system for vibration monitoring of civil engineering structures. Experimental Techniques. 2011; 35(4): 74–82. https://doi.org/10.1111/j.1747-1567.2010.00653.x
  12. 12. Kulkarni RV, Venayagamoorthy GK. Particle swarm optimization in wireless-sensor networks: A brief survey. IEEE Transactions on Systems, Man, and Cybernetics, Part C (Applications and Reviews). 2011; 41(2): 262–267.
  13. 13. Kukunuru N, Davuluri RL, et al. Sensor deployment using particle swarm optimization. International Journal of Engineering Science and Technology. 2010; 2(10).
  14. 14. Wang X, Wang S, Ma JJ. An improved co-evolutionary particle swarm optimization for wireless sensor networks with dynamic deployment. Sensors. 2007; 7: 354–370.
  15. 15. Kuila P, Jana PK. Energy efficient clustering and routing algorithms for wireless sensor networks: Particle swarm optimization approach. Engineering Applications of Artificial Intelligence. 2014; 33: 127–140. https://doi.org/10.1016/j.engappai.2014.04.009
  16. 16. Singh B, Lobiyal DK. A novel energy-aware cluster head selection based on particle swarm optimization for wireless sensor networks. Human-centric Computing and Information Sciences. 2012.
  17. 17. Aziz NA, Mohemmed AW, et al. A wireless sensor network coverage optimization algorithm based on particle swarm optimization and Voronoi diagram. 2009 International Conference on Networking, Sensing and Control. 2009. https://doi.org/10.1109/ICNSC.2009.4919346
  18. 18. Ni QJ, Du H, et al. An improved dynamic deployment method for wireless sensor network based on multi-swarm particle swarm optimization. Natural Computing. 2017; 16: 5–13.
  19. 19. Li P. Node localization method for massive sensor networks based on clustering particle swarm optimization in cloud computing environment. International Journal of Wavelets, Multiresolution and Information Processing. 2019; 18(1), 1941016. https://doi.org/10.1142/S0219691319410169
  20. 20. Eberhart R, Kennedy J. A new optimizer using particle swarm theory. MHS’95. Proceedings of the Sixth International Symposium on Micro Machine and Human Science. 1995. https://doi.org/10.1109/MHS.1995.494215
  21. 21. Li YH, Zhan ZH, et al. Competitive and cooperative particle swarm optimization with information sharing mechanism for global optimization problems. Information Sciences. 2015; 293: 370–382. https://doi.org/10.1016/j.ins.2014.09.030
  22. 22. Xiong T, Bao YK, et al. Forecasting interval time series using a fully complex-valued RBF neural network with DPSO and PSO algorithms. Information Sciences. 2015; 305: 77–92. https://doi.org/10.1016/j.ins.2015.01.029
  23. 23. Cai Q, Gong MQ, et al. Discrete particle swarm optimization for identifying community structures in signed social networks. Neural Networks. 2014; 58: 4–13. pmid:24856248
  24. 24. El-Abd Mohammed. Preventing premature convergence in a PSO and EDA hybrid. 2009 IEEE Congress on Evolutionary Computation. 2009. https://doi.org/10.1109/CEC.2009.4983330
  25. 25. Liu CR, Wang YS, et al. A self-powered and high sensitivity acceleration sensor with V-Q-a model based on triboelectric nanogenerators (TENGs). Nano Energy. 2020; 67, 104228. https://doi.org/10.1016/j.nanoen.2019.104228
  26. 26. Liu CR, Fang LX, et al. Theoretical investigation and experimental verification of the self-powered acceleration sensor based on triboelectric nanogenerators (TENGs). Extreme Mechanics Letters. 2021; 42, 101021. https://doi.org/10.1016/j.eml.2020.101021
  27. 27. Miao QQ, Liu CR, et al. Toward Self-Powered Inertial Sensors Enabled by Triboelectric Effect. ACS Applied Electronic Materials. 2020; 2(10): 3072–3087.
  28. 28. Gong MQ, Yan JN, et al. Influence maximization in social networks based on discrete particle swarm optimization. Information Sciences. 2016; 367: 600–614.
  29. 29. Shi Y, Eberhart R, et al. A modified particle swarm optimizer. 1998 IEEE International Conference on Evolutionary Computation Proceedings. IEEE World Congress on Computational Intelligence (Cat. No.98TH8360). 1998. https://doi.org/10.1109/ICEC.1998.699146
  30. 30. Parsopoulos KE, Vrahatis MN. On the computation of all global minimizers through particle swarm optimization. IEEE Transactions on Evolutionary Computation. 2004; 8(3): 211–224.
  31. 31. Liang JJ, Qin AK, et al. Comprehensive learning particle swarm optimizer for global optimization of multimodal functions. IEEE Transactions on Evolutionary Computation. 2006; 10(3): 281–295.
  32. 32. Oca MAMD, Stutzle T, et al. Incremental social learning in particle swarms. IEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics). 2011; 41(2): 368–384. pmid:20875976
  33. 33. Zhan ZH, Zhang J, et al. Orthogonal learning particle swarm optimization. IEEE Transactions on Evolutionary Computation. 2011; 15(6): 832–847.
  34. 34. Ren ZG, Zhang AM, et al. A scatter learning particle swarm optimization algorithm for multimodal problems. IEEE Transactions on Cybernetics. 2014; 44(7): 1127–1140. pmid:24108491
  35. 35. Li J, Zhang JQ, et al. Composite particle swarm optimizer with historical memory for function optimization, IEEE Transactions on Cybernetics. 2015; 45(10): 2350–2363. pmid:26390177
  36. 36. Qin QD, Shi C, et al. Particle swarm optimization with interswarm interactive learning strategy. IEEE Transactions on Cybernetics. 2016; 46(10): 2238–2251. pmid:26357418
  37. 37. Chen WN, Zhang J, et al. Particle swarm optimization with an aging leader and challengers. IEEE Transactions on Evolutionary Computation. 2013; 17(2): 241–258.
  38. 38. Li DY, Guo WA, et al. Niching particle swarm optimizer with entropy-based exploration strategy for global optimization. Advances in Swarm Intelligence. 2019; 11655: 118–127.
  39. 39. Li DY, Guo WA, et al. An adaptive particle swarm optimizer with decoupled exploration and exploitation for large scale optimization. Swarm and Evolutionary Computation. 2021; 60, 100789.
  40. 40. Li XD, Yao X. Cooperatively coevolving particle swarms for large scale optimization. IEEE Transactions on Evolutionary Computation. 2012; 16(2): 210–224.
  41. 41. Omidvar MN, Li XD, et al. Cooperative co-evolution with differential grouping for large scale optimization. IEEE Transactions on Evolutionary Computation. 2014; 18(3): 378–393.
  42. 42. Omidvar MN, Yang M, et al. DG2: A faster and more accurate differential grouping for large-scale black-box optimization. IEEE Transactions on Evolutionary Computation. 2017; 21(6): 929–942.
  43. 43. Chen WX, Weise T, et al. Large-scale global optimization using cooperative coevolution with variable interaction learning. International Conference on Parallel Problem Solving from Nature. Springer, Berlin, Heidelberg. 2010: 300–309. https://doi.org/10.1007/978-3-642-15871-1_31
  44. 44. Yang Q, Chen WN, et al. A level-based learning swarm optimizer for large-scale optimization. IEEE Transactions on Evolutionary Computation. 2018; 22(4): 578–594.
  45. 45. Ratnaweera A, Halgamuge SK, et al. Self-organizing hierarchical particle swarm optimizer with time-varying acceleration coefficients. IEEE Transactions on Evolutionary Computation. 2004; 8(3): 240–255.
  46. 46. Cheng R, Jin YC. A competitive swarm optimizer for large scale optimization. IEEE Transactions on Cybernetics. 2015; 45(2): 191–204. pmid:24860047
  47. 47. Cheng R, Jin YC. A social learning particle swarm optimization algorithm for scalable optimization. Information Sciences. 2015; 291: 43–60. https://doi.org/10.1016/j.ins.2014.08.039
  48. 48. Krohling RA, Mendel E. Bare bones particle swarm optimization with gaussian or cauchy jumps. 2009 IEEE Congress on Evolutionary Computation. 2009. https://doi.org/10.1109/CEC.2009.4983361
  49. 49. Qu BY, Suganthan PN, et al. A distance-based locally informed particle swarm model for multimodal optimization. IEEE Transactions on Evolutionary Computation. 2013; 17(3): 387–402.
  50. 50. Liang JJ, Qu BY, Suganthan PN, et al. Problem definitions and evaluation criteria for the CEC 2013 special session on real-parameter optimization. Computational Intelligence Laboratory, Zhengzhou University, Zhengzhou, China and Nanyang Technological University, Singapore, Technical Report. 2013; 201212(34): 281–295.
  51. 51. Zhang XW, Tao Z, et al. Dynamic behaviors of visco-elastic thin-walled spherical shells impact onto a rigid plate. Latin American Journal of Solids and Structures. 2014; 11(14): 2607–2623. https://doi.org/10.1590/S1679-78252014001400009
  52. 52. Liu CR, Yue JZ, et al. Vibration attenuation analysis of compressional gas cushion press nanoimprint lithography system. Journal of Mechanical Engineering Science. 2014; 228 (9): 1634–1642.