1 Introduction

1.1 Massive spectroscopic surveys and SDSS-V

Dark energy studies [19] have been revolutionized once the accelerated expansion of the universe was observed [27]. In particular, the evolution of the universe, which has been under intense scrutiny over the recent decades, is found to be correlated with the distribution of dark matter all over the cosmos. A data-driven strategy to obtain the desired distribution requires abundant mass-energy recording of the universe. Accordingly, the map of the observable universe is expected to convey valuable information about the geometry and the evolution of the cosmos. Universe expands over time. Thus, redshift-based observation strategies effectively provide various volumes of the space in the course of different cosmological era associated with the age of the universe. In particular, the measurements of baryonic acoustic oscillations (BAO) [31] have already shed light on the filament-void interactions of the cosmos [13]. So, BAO analysis with respect to various redshift ranges is known to generate spectroscopic surveys which eventually yield a significant repertoire of the cosmological data to investigate the universe’s evolution.

Each spectroscopic survey is defined based on a particular redshift range in which either matter or dark energy mostly dominates. Namely, low-redshift surveys [15] extensively contributes to the study of dark energy, while high-redshift ones [33] are often the target to investigate the universe when its radiation is dominated by its mass. To be specific, the Anglo-Australian Telescope (AAT) [3] was used to generate surveys associated with star-forming galaxies at lower redshifts, say, z < 0.8. Middle-range redshifts, such as 0.7 < z < 2.2, have been widely taken into account by various instruments, e.g., SDSS telescope. The resulting baryonic oscillation spectroscopic survey [9] is supposed to cover almost 1.4 million galaxies and quasars. High-redshift spectroscopic surveys (at 2 < z < 5) are of utmost importance in the space-time inflation studies and dark energy observations [28], as studied by Ferraro et al. [12]. The combination of BAO analysis and redshift-space distortions [30] seems to be promising enough to evaluate General Relativity with respect to various cosmological scales [29]. To this aim, massive spectroscopic surveys have to be planned which essentially include huge numbers of optical fibers, multi-segment focal planes, and vast telescope apertures.

Sloan Digital Sky Survey (SDSS) represents a family of spectroscopic projects aiming to the generation of surveys using various observational technologies in different ground telescopes. Early 2000s witnessed the first generation of these projects, i.e., SDSS-I [39]. This project, based at APO, covered various spectral bands using camera-based photometry. APO later hosted SDSS-II [18] which yielded the first class of the multi-object optical spectroscopic surveys of the SDSS family. This project exclusively used optical fibers to collect visible lights of its desired targets. Then, the researchers’ attention was shifted to near-infrared rays of targets which can also be captured by ground telescopes. Consequently, SDSS-III [1] ended up with the APOGEE survey supported by a near-infrared multi-object spectrograph at APO. The first three classes of SDSS projects were executed at APO in the northern hemisphere. To cover data acquisition from the southern hemisphere, SDSS-IV [4] collected spectroscopic data, based on a regime similar to its predecessors, at Las Campanas Observatory (LCO). This project extensively covered many surveys such as APOGEE-2 [38], MaNGA [36], and the extended Baryon oscillation spectroscopic surveys [10]. SDSS-V [21] is about to conduct multi-object spectroscopic surveys in both hemispheres, namely, using Sloan Foundation telescope at APO in the northern hemisphere [14] and the du Pont telescope at LCO in the southern hemisphere [37]. Both types of optical and near-infrared fibers are used in this project which will be fed into a pair of optical BOSS and near-infrared APOGEE spectrographs. The resulting surveys are expected to extensively contribute to the characterization of Milky Way galaxy.

Massive spectroscopic survey projects such as DESI [11], MOONS [5], PFS [34], LAMOST [7], and in particular SDSS-V, include hundreds to thousands of fibers to maximize the information throughout of each observation. For this purpose, one may increase the aperture size of a host telescope to have a larger focal plane, thereby covering larger number of fibers. Second, fibers have to be placed in more dense formations to tile the area of the focal plane with higher observational resolution. However, fiber multiplexing raises operational challenges. In particular, fibers have to point to different locations of their fields from one observation to another. So, their reconfiguration needs to be performed in the available spare time between consecutive observations. To hit this mark, fibers were manually replaced in early versions of the surveys using SDSS spectrograph [32]. However, given the gradual increment of the employed fibers, robot fiber placement was taken into account in the case of AAT spectrograph. The cited process was inefficient because of the lack of any parallelism in the coordination of fibers. Then, the first generation of robotic multi-fiber spectrographs showed up in the MX spectrometer [16], while recent instruments, such as fiber multi-object spectrograph (FMOS) [20], LAMOST [40], and MOONS [6], are equipped with more fibers whose coordination are more challenging.

1.2 Astrobots and safe complete coordination problem

The state-of-the-art astrobot design [17], called astrobot (see, Fig. 1a and b), is used in SDSS-V to automatically coordinate astrobots according to their target assignment plan. This astrobot is based on a 𝜃ϕ design structure. In particular, each astrobot is a SCARA-like [8] two-degree-of-freedom double-joint manipulator through which a fiber is passed. The fiber tip is located as the end-effector area of its astrobot, called ferrule. The motion of the ferrule in the patrol zone of the astrobot provides the fiber accessibility to various locations of the patrol zone which may host any observational target. The position of a ferrule can be formally modeled according to the rotational kinematics of the arms associated with it with respect to the base of its astrobot as follows.

$$ {\boldsymbol{q}^{\boldsymbol{i}}} = {{\boldsymbol{q}^{\boldsymbol{i}}_{\boldsymbol{b}}}} + \left[\begin{array}{ll}\cos{\theta^{i}} & \cos{(\theta^{i} + \phi^{i})}\\ \sin{\theta^{i}} & \sin{(\theta^{i} + \phi^{i})} \end{array}\right] \boldsymbol{l} $$
(1)

Here, vectors qi and \({\boldsymbol {q}^{\boldsymbol {i}}_{\boldsymbol {b}}}\) are the coordinates of the ferrule and the base of i th astrobot, respectively. Vector l includes the lengths of the first and the second arms. To maximize the focal plane coverage, astrobots are located in hexagonal dense formation next to each other. On the other hand, one needs to have access any point in the focal plane using astrobots. Thus, the overall lengths of the two arms of each astrobot, known as pitch, has to be able to reach the center of any of its neighboring peers. Interested readers in a detailed treatment of the hardware characteristics of astrobots may refer to Hörler et al. [17]; Macktoobian et al. [23]. This requirement guarantees the nominal reachability of any target in the scope of focal plane, but it also brings serious possibilities of deadlocks and collisions among neighboring astrobots. The coordination performances of astrobots are critical similarly to their safety. Astrobots have only a limited amount of time to be coordinated before an observation is initiated. In the case of massive focal planes, any coordination solution has to be fast enough not to jeopardize the on-time preparation of any desired configuration of astrobots.

Fig. 1
figure 1

A typical SDSS-V astrobot and overall focal plane (figures (b) and (c) are reprinted from Macktoobian et al. [22] and the SDSS-V wiki, respectively)

The first solution to the coordination of astrobots fulfills safety using the notion of navigation functions [25] for DESI astrobots [26]. Nonetheless, the convergence rate of astrobots were not satisfactory. Namely, this method could barely coordinate less than 80% of astrobots. Low convergence rates yield low-resolution surveys. Thus, Tao et al. [35] revised the cited strategy by adding a new automaton-based decision layer to the navigator of the algorithm. This layer directly resolves the deadlocks, which can not be handled by the main navigation function, based on a priority-based set of criteria. Thus, convergence rate reached \(\sim \)85%. In the course of the design phase of SDSS-V, Macktoobian et al. [22, 23] proposed a new navigation function, i.e., cooperative artificial potential field (CAPF), to establish a completeness condition for a typical coordination based on the positional characteristics of astrobots and their targets. Thanks to this formulation, the global completeness convergence analysis of astrobots has shown to be localized in neighborhoods. In other words, one only has to check the completeness condition in all neighborhoods, instead of simultaneously solving hundreds of differential equations corresponding to the whole pack of astrobots.

In this paper, we evaluate the experimental behavior of the completeness seeker algorithm (CSA) in the scope of SDSS-V requirements. We also simulate and coordinate larger focal planes to have a glimpse of the CSA efficiency to be applied to future giant spectroscopic surveys, such as MegaMapper [28] which will be composed of \(\sim \)20,000 astrobots. Section 2.1 briefly outlines the control algorithm at the kernel of which CAPF is used. We describe the test bench of this study in Section 2.2. The results of the applied experiments are explained in Section 3. We draw our conclusion in Section 4.

2 Methods

Throughout this paper, scalars are represented by regular symbols. Bold symbols are reserved to denote matrices.

2.1 Theory

Complete coordination of astrobots intend to achieve the maximum data throughput of an observation. A traditional navigation function includes an attractive and a repulsive term [25]. The attractive term of an assigned navigation function to an astrobot attracts it to its target, whereas the repulsive one avoids collisions between the astrobot and its surrounding counterparts. Accordingly, an astrobot’s velocity profile is proportional to the gradient of its potential. Then, once the astrobot reaches its target, the gradient vanishes, thereby stopping at its goal point. Navigation functions of this strategy are selfish, in that once a robot ends up at its target, it refrains any further movements. However, it may block the paths of its peers to reach their targets. In this scenario, the convergence rate may be diverged from achieving the total coordination of astrobots.

Alternatively, the complete coordination theory of astrobots [22] takes a less-selfish scheme into account in that each astrobot is not completely indifferent to the convergence success of its neighbors. According to this formalism, the global convergence of a swarm of astrobots directly depends on the local convergences corresponding to all of their neighborhoods. In particular, each neighborhood encompasses an astrobot in addition to all of its neighboring peers. For this purpose, a CAPF ξ(qi), say, (2), is assigned to the i th astrobot which includes not only attractive and repulsive terms but also a cooperative attractive term varying according to convergence statuses of its neighbors.

$$ \xi({\boldsymbol{q}^{\boldsymbol{i}}}) :=\underbrace{\vphantom{\displaystyle\sum\limits_{j\in\mathcal{I}_{\mathcal{N}^{i}}\backslash\{i\}}}\boldsymbol{\lambda}_{\boldsymbol{1}}\|\boldsymbol{q}^{\boldsymbol{i}}-\boldsymbol{q}^{\boldsymbol{i}}_{\boldsymbol{\mathcal{T}}}\|^{2}}_{\text{attractive term}}+\underbrace{\boldsymbol{\lambda}_{\boldsymbol{3}}\!\!\!\!\!\!\! \displaystyle\underset{j\in\mathcal{I}_{\mathcal{N}^{i}}\backslash\{i\}}{\sum}\|\boldsymbol{q}^{\boldsymbol{j}}-\boldsymbol{q}^{\boldsymbol{j}}_{\boldsymbol{\mathcal{T}}}\|^{2}}_{\text{cooperative attractive term}}+\underbrace{\boldsymbol{\lambda}_{\boldsymbol{2}}\!\!\!\!\!\!\! \displaystyle\underset{j\in\mathcal{I}_{\mathcal{N}^{i}}\backslash\{i\}}{\sum}\!\!\!\!\!\!\!\min\left[\boldsymbol{0},\frac{\|\boldsymbol{q}^{\boldsymbol{i}}-\boldsymbol{q}^{\boldsymbol{j}}\|^{2}-D^{2}}{\|\boldsymbol{q}^{\boldsymbol{i}}-\boldsymbol{q}^{\boldsymbol{j}}\|^{2}-d^{2}}\right]}_{\text{repulsive term}} $$
(2)

Here, qi and \({\boldsymbol {q}^{\boldsymbol {i}}_{\boldsymbol {\mathcal {T}}}}\) are the current and the target positions of the i th astrobot; λ1, λ2, and λ3 are weighting factors; \(\mathcal {N}^{i}\) is the neighborhood of the i th astrobot; D denotes the collision avoidance envelope radius of each astrobot; d represents the safety radius around each astrobot.

Thus, given the kinematic model in (1) and CAPF in (2), the control law associated with the i th astrobot reads as follows.

$$ {\boldsymbol{u}^{\boldsymbol{i}}} := -\nabla_{\theta_{i},\phi_{i}}\xi({\boldsymbol{q}^{\boldsymbol{i}}}) $$
(3)

A coordination process continues until the gradient in (3) vanishes implying that the corresponding i th astrobot has reached its target. Macktoobian et al. [22] showed that the global full convergence of a swarm of astrobots is achieved if the following completeness condition is fulfilled for every neighborhood of that swarm

$$ {\boldsymbol{q}_{\boldsymbol{\mathcal{T}}}} = -(\boldsymbol{\varLambda} + \boldsymbol{\varGamma})^{-1}\boldsymbol{\varTheta}, $$
(4)

where \({\boldsymbol {q}_{\boldsymbol {\mathcal {T}}}}\) is the target position matrix of a neighborhood, and the remainder of the matrices are functions of various constituents of (2). In particular, Λ is a function of attractive and cooperative attractive terms. This matrix represents the required force toward the elements of \({\boldsymbol {q}_{\boldsymbol {\mathcal {T}}}}\). In contrast, Θ and Γ denote the dynamic and static inhibitions to guarantee the safety of the interactions in the neighborhood. Given a particular setting of astrobots’ configurations and target locations associated with an observation, one first has to check whether (4) holds for every neighborhood of a desired focal plane. If the conditions set holds, then the CAPFs of astrobots generate the trajectories which yield to the convergence of all astrobots. Otherwise, the astrobots’ initial configurations and/or their assignment to targets have to be revised for the purpose of fulfilling the completeness conditions for various neighborhoods. The explained procedure is schematically represented in Fig. 2.

Fig. 2
figure 2

Multi-observation control strategy of astrobots. Targets may be selected from any astronomical catalog each of whose objects’ projections can be covered by the patrol zone of at least one astrobot

2.2 Setup

Our hardware setup includes a miniature plate into which 19 astrobots are mounted (Fig. 3). The relative distances between astrobots on this plate resemble those corresponding to the real focal planes of both SDSS-V telescopes. Parameters characterization of astrobots used in our experimental tests are described in Table 1. The specification of CAPF parameters may differ from one coordination scenario to another because the completeness condition requires different setting of parameters to be fulfilled. Thus, we elaborate on various settings of parameters and their impacts on the convergence of the swarm in Section 3. The trajectories are generated by CSA, running on an instrument control system (ICS). The result is a YAML file representing two arrays of velocity data per astrobot each of which is associated with the joint of one of the arms. This file is transferred from the ICS to a communication hub via an Ethernet cable. The communication hub sends the trajectories to a bridge from which a CAN cable feeds the trajectories to astrobots.

Fig. 3
figure 3

The 19-astrobot setup of the applied experimental tests. The characteristics of the 3D printed focal plane resemble the optical and the mechanical properties of the real focal planes of the SDSS telescopes such as pitch and focal distances of optical fibers

Table 1 Parameters of astrobots in the performed tests (The temporal step size can be manipulated as a degree of freedom in command generation

In Section 2.1, we noted that the completeness checking has be to done in a localized manner. The cardinality of astrobots in a neighborhood plays an important role in this analysis. In particular, full neighborhoods, which include 7 astrobots, are more prone to partial convergences compared to incomplete neighborhoods, i.e., those which are formed by less astrobots. So, we planned a radial placement of 19 astrobots as depicted in Fig. 4. Each neighborhood is identified by its central astrobot. For example, the left-hand-side (full) neighborhood of Fig. 4 refers to that of astrobot #10, while the (incomplete) right-hand-side one corresponds to astrobot #8.

Fig. 4
figure 4

The neighborhood types in the experimental focal plane. In a massive focal plane, the majority of neighborhoods are central ones. Thus, the completeness condition, i.e., (4), was obtained based on this critical case in [22]

We conduct our tests according to a real galaxy catalog. Namely, we take various partitions of the eBOSS large-scale structure LRG catalog (data release 14) [2].Footnote 2 In the experimental tests, we randomly select 19 targets, from the data entries of the catalog, whose projections are in the area of the test plane. In each coordination The targets are assigned to astrobots using the optimal target assignment method [24]. So, we obtain the best possible performance in terms of the minimum effort for coordination and the maximum distribution of targets among astrobots to minimize the potential deadlock/collision situations. Macktoobian et al. [22] reported a theoretical framework to completely coordinate astrobots swarms whose cardinality are comparable to those of the SDSS-V telescopes and beyond. In this paper, we supply experimental and simulation tests to both SDSS-V and larger focal planes to validate the efficiency of CSA in safe completeness seeking in massive swarms of astrobots.

3 Results

In the experiments of this paper, CSA is run on a Linux Manjaro 64-bit workstation with an Intel Core-i7 860 CPU, 16GB RAM, and an NVIDIA G94GL FX 1800 graphics card.

3.1 Parameters impacts on complete coordination

In this section,Footnote 4 we report the robustness of CSA in achieving completeness. If a particular setting of parameters do not end up with completeness, the theory requires the modification of those parameters to yield completeness. The intrinsic robustness of CSA in achieving completeness is investigated through 1000 tests applied to the 19-astrobot bench. Accordingly, Fig. 5 indicates that CSA reaches completeness in 97.4% of the applied tests without any parameter modification. In other words, the cooperative kernels of the CAPFs used in CSA are efficiently sufficient to coordinate all of the astrobots given the initial configuration of the system and their targets. The results on the robustness notion may be extended to larger focal planes. Namely, Table 2 illustrates the simulated robustness results corresponding a class of massive focal planes. In this regard, one observes that even in the case of these extremely complicated focal planes, \(\sim \)97% of coordination scenarios are inherently complete. The completeness condition, i.e., (4), is derived based on the local linearization of astrobot’s motions in neighborhoods. Thus, the condition indeed approximates the completeness in a particular neighborhood. The quoted results echoes the efficiency of CSA in view of robustness in this viewpoint, as well. In particular, one observes that the applied linear approximations do not severely undermine the coordination quality in terms of the required modification rounds. To specifically study the impact of parameter variation in completeness seeking, we first note that the parameter Λ is exclusively a function of attractive weight λ1 and cooperative attractive term λ3. On the other hand, Γ and Θ are extremely non-linear parameters which also include target positions. So, varying Λ may be preferred to Γ and Θ because of its more intuitive definition. Λ modification can influence both safety and performance measures of a swarm. First, both constituents of Λ are attractive weights. So, increasing both of them may escalate the collision hazards because of the potential faster motions of astrobots’ arms. Additionally, convergence time may inefficiently increase if one reduce both of these weights because the whole attractive dynamics of the swarm diminish. Thus, given a variation step δλ > 0, we modify Λ based on the following rules.

$$ \begin{array}{l} \lambda_{1} \leftarrow \lambda_{1} -\delta \lambda\\ \lambda_{3} \leftarrow \lambda_{3} +\delta \lambda \end{array} $$
(5)
Fig. 5
figure 5

The number of the required modification rounds to reach completeness in 1000 experimental tests. The first bar indicates that 974 out of 1000 tested scenarios reached their full convergence without necessity of any parameter modification

Table 2 The number of the required modification rounds to reach completeness in 1000 simulated tests (The first column of the modification rounds refers to the coordination which are complete, thereby needing no modifications. The large numbers of this column relative to the other columns per row exhibit the high performance of CSA in achieving completeness without modifications in the majority of situations.)

This update profile preserves safety by decreasing the dominant weight factor, i.e., λ1. The loss in the performance is also relatively compensated by increasing the submissive factor, say, λ3. The smaller the update step δλ is, the less safety is put in jeopardy. So, we report how effective the small variations of δλ are in resolving incomplete coordination scenarios. According to Fig. 5, only 26 scenarios were not inherently coordinated with respect to initial system’s configuration. To resolve these issues, we define an step array \(\overline {\delta \lambda }\) whose entries represent potential updates steps to be used.

$$ \overline{\delta\lambda} := \{0.001, 0.005, 0.01, 0.05, 0.1\} $$
(6)

Since we are interested in the smallest possible variation which fixes an incompleteness, the array is sorted in ascending order. Then, we pick the entries and feed them into a problematic completeness condition. If that new parameter does not resolve the intended incompleteness, the next one is picked to be tested, and so on, to finally find a new parameter to meet the completeness condition. In Fig. 6, we observe that 22 out of 25 incomplete cases of the 19-astrobot bench are resolved using the smallest entry of the step array, say, \(\overline {\delta \lambda } [1]= 0.001\). The second bar of Fig. 6 indicates 2 cases which were handled not by the first but by the second entry of the array. So, two modifications step have to be taken into account to first check \(\overline {\delta \lambda } [1]= 0.001\) and then \(\overline {\delta \lambda } [2]= 0.005\). Overall, there existed only one case in which the first two steps were not able to provide completeness but the third one. No incomplete scenario required larger steps, say, the two last entries of the array.

Fig. 6
figure 6

The number of the required modification steps to reach completeness in 1000 experimental tests. The symbol \(\overline {\delta \lambda }[1:n]\) denotes that the entries 1 to n − 1 of the step array \(\overline {\delta \lambda }\) could not resolve an incompleteness but the n th entry does it. The first bar of this figure refers to \(\overline {\delta \lambda }[1]\) stating that the majority of incomplete cases were simply resolved using the first entry of \(\overline {\delta \lambda }\)

3.2 Convergence time

Coordination are in general conducted from one observation to another. For this purpose, there are two approaches to reconfigure astrobots. The first strategy directly coordinates them from the configuration of the latest observation to that of the upcoming one. This direct convergence is generally fast, but it may be fairly challenging in terms of collision avoidance. Another scheme is a two-phase coordination in which astrobots are first sent to their fully folded state in which 𝜃 = 0 and ϕ = π. Then, they are coordinated to their target configuration. The advantage of this strategy is that astrobots may encounter less potential deadlock situations. However, this way of coordination is at the cost of longer times to reach final coordination. This idea also implies more fluctuations thereby requiring more energy. So, in long runs, astrobots may be more prone to amortization.

The convergence times of both methods associated with 1000 coordinated scenarios on the 19-astrobot bench are represented in Fig. 7. One notes that the direct coordination under the control of CSA are noticeably faster than those executed in the two-phase way. The completeness difference between the two is trivial, in that the two-phase strategy had only achieved six complete coordination more than the direct one. However, all these cases were compensated by only one modification round of parameters. The corresponding samples are signified using dark vertical lines in Fig. 7. So, CSA is efficient enough to simultaneously perform direct coordination and achieve high rates of completeness.

Fig. 7
figure 7

Convergence times of 1000 tests on the experimental setup with respect to both coordination strategies. The vertical black lines represent those scenarios which were complete in two-phase coordination. However, they were complicated enough to require one round of parameter modification to be also complete in direct coordination. Given the minority of these cases (6 occurrences) compared to the overall number of the tests, the direct coordination is the favorite approach

3.3 Target distribution influence on completeness

In previous sections, we used optimal target assignment [24] which supplies the maximum distribution of astrobots, i.e., their safety, and the minimum coordination, i.e., the minimum effort and time, required to arrange them in a desired coordination. In this section, we illustrate that quality of the coordination results of CSA are even resilient to various target distributions. In the sections above, whenever we wanted to supply some targets to coordination computations, we picked a random subset of the targets available in the cluster galaxy catalog, presented by Bautista et al. [2], used in this study. The only selection condition was the reachability of each of those targets by at least one of the astrobots of our tests. In this section, however, we select targets in various unbalanced scenarios in some of which the targets may be distributed in non-uniform fashion over our focal plane. Intuitively, if targets are uniformly dispersed, it is more likely that each astrobot reaches more than one target. Thus, optimal target assignment may enjoy more flexibility in terms of matching astrobots to targets. In contrast, a more biased distribution of targets may degrade the quality of the optimal target assignment, thereby negatively impact the coordination phase. Such biased distributions increase the density of targets in various spots of a focal plane. So, the question is whether CSA may have difficulties to deal with the coordination of astrobots in such dense localities. The following results indeed investigate this question showing that the sensitivity of the CSA performance to the target distribution is not noticeable.

We first define a uniformly distributed set of targets in polar coordinate system (r,𝜃) whose center is assumed to be located at the base of the central astrobot of a swarm, which is astrobot #8 in our experimental test bench.

$$ \begin{array}{l} \theta \sim \mathcal{U}[-\pi;\pi]\\ r^{2} \sim \mathcal{U}(0;r_{\max}^{2}) \end{array} $$
(7)

In the equations above, \(\mathcal {U}\) denotes a uniform distribution generator, and \(r_{\max \limits }\) represents the radius of the focal plane which reads 44.8 mm in the case of our test bench.

We also take a bi-variate normal distribution into account such that the maximum concentration of targets are around the center of the swarm, and the distribution radially degrades while one moves toward the edge of the focal plane in any direction. The probability density function of this bi-variate normal distribution, in Cartesian coordinate system, is defined as

$$ N(x,y)\sim\frac{1}{2 \pi \sqrt{1-\rho^{2}}} \exp \Big\{-\frac{1}{2 (1-\rho^{2})} \big[ x^{2}-2\rho x y+y^{2} \big] \Big\}, $$
(8)

in which variances are assumed to be 1, and the correlation coefficient ρ equals 0.7.

These two distributions are applied to the galaxy catalog of targets as masks to filter those targets which are placed in the patterns similar to the intended distributions. After performing 1000 direct coordination scenarios for each of the uniform and bi-variate normal distributions, the convergence time results are obtained as depicted in Fig. 8. In particular, the average coordination time corresponding to bi-variate normal selection is slightly longer than that of the coordination associated with the uniform selection. However, the performance of CSA in the more crucial case (bi-variate normal selection) closely follows the coordination speed of the less-problematic one (uniform selection). Furthermore, there was only one coordination scenario which was not complete even after one round of parameter modification in the crucial case, whereas it was fully achieved in the uniform case. Thus, we conclude that CSA is efficiently capable of yielding fast and safe coordination even in the case of biased selections of targets in view of their spatial positions.

Fig. 8
figure 8

Convergence times of 1000 tests on the experimental setup with respect to both distribution selections. Uniform selections of targets are simpler to be handled by the optimal target assignment because of the availability of the more pairing options between astrobots and targets. The faster convergences of this selection class are shown in the figure. Nevertheless, the applied bi-variate normal selections’ convergence times are noticeably comparable with those of the uniform selections. Given the fact that target assignments and coordination under bi-variate normal selections are more challenging, we conclude that CSA is efficient under various potential distributions of targets

3.4 Discussion

The results presented in this paper are all based on the assumption that all of the astrobots of a focal plane are functional, thereby participating in their coordination process. However, in a realistic scenario, some astrobots may be disabled for performance or reliability issues. In such cases, the complexity of a coordination process extremely increases because each disabled astrobot may invariably block a considerable percentages of the working spaces of its neighboring peers. So, the set of possible safe trajectories corresponding to such a scenario may be severely constrained. In the case of partial functionality of a pack of swarms, the naive usage of CSA generally leads to extremely inadequate convergence rates. To alleviate this issue, one may imagine two workarounds. First, disabled astrobots have to be removed from the focal plane. So, they do not occupy any working space associated with their adjacent astrobots. Thus, coordination processes need no extra considerations. The drawback of this strategy is that the removal of astrobots, especially in massive swarms, may be time-consuming and labor-intensive.

Alternatively, one may add another constraint to target assignment process, say, given a functional astrobot next to a disabled one, no target located on the opposite side of the disabled astrobot, with respect to the functional one, shall be assigned to the functional astrobot. This supplementary constraint may relax the necessity of accessing the blocked space behind the disabled astrobot by the functional one. So, The trajectory search space of CSA may become smaller, thus achieving faster convergence of the whole swarm. However, the consideration of the quoted requirement in crowded neighborhoods around disabled astrobots may give rise to the appearance of orphan targets, i.e., those targets which cannot be assigned to any astrobot.

4 Conclusion

Throughput maximization in massive spectroscopic observations yields the highest possible resolutions for resulting surveys. The current generation of these surveys are being generated using hundreds to thousands of fibers each of which has to point a new target from one observation to another. Astrobots have been used to automatically coordinate fibers in short amounts of time in a safe manner. However, given the dense structure of astrobots in focal planes, collision avoidance operations have been emerged as barriers in reaching complete convergence of astrobots in previous spectroscopic surveys. In this paper, we took the idea of cooperative artificial potential fields to generally resolve incompleteness coordination. In particular, we examined this strategy as a completeness seeker algorithm using a pack of astrobots similar to the focal planes of the SDSS-V telescopes.

The experimental results illustrated how the algorithm is efficient in achieving completeness in various settings of astrobots configurations and target assignments. We assessed the impact of parameter variations in resolving time-to-time incomplete scenarios by the minimum number of iterations and potential hazards to the safety of astrobots swarms. In view of convergence time, we observed that our algorithm can practically manage the safety through fast direct coordination. The robustness of our strategy considering various distributions of targets was also investigated. In particular, biased distributions of targets whose coordinates are not uniform often make a coordination critical for traditional planners. However, we validated the successful functionality of the proposed method in two uniform and bi-variate normal distributions.