Papers
Topics
Authors
Recent
Search
2000 character limit reached

SCAPSO Algorithm for WSN Localization

Updated 7 July 2026
  • SCAPSO Algorithm is a hybrid localization method combining Sine Cosine Algorithm for global search and Particle Swarm Optimization for local exploitation.
  • It adapts initialization, fitness evaluation, and switching logic based on network topology and ranging data to significantly reduce localization errors.
  • Experimental evaluations demonstrate faster convergence and lower error rates compared to conventional methods such as DV-Hop, standard PSO, and the non-adaptive SCAPSO.

Searching arXiv for the specified paper to ground the article in the source. SCAPSO, as defined in "AdapSCA-PSO: An Adaptive Localization Algorithm with AI-Based Hybrid SCA-PSO for IoT WSNs" (Zhang et al., 30 Jul 2025), is a hybrid wireless sensor network localization algorithm that combines the Sine Cosine Algorithm (SCA) with Particle Swarm Optimization (PSO). In that formulation, SCA is used for global exploration and PSO for local exploitation, with the hybrid intended to broaden early search while refining promising regions later. The same paper uses an "unoptimized SCAPSO algorithm" as a baseline and proposes an adaptive variant, AdapSCA-PSO, that redesigns initialization, fitness evaluation, parameter settings, and the switching logic between SCA and PSO.

1. Definition and algorithmic role

In the paper, SCAPSO is not presented as a weighted fusion of SCA and PSO, nor as a simultaneous mixed update in which both operators are applied in one step. It is instead framed as a switching hybrid in which a selector chooses either an SCA update or a PSO update during optimization (Zhang et al., 30 Jul 2025). The intended division of labor is explicit: SCA is “effective in global search,” whereas PSO “excels at local search.”

This positioning matters because the paper’s SCAPSO is not merely a generic label for any SCA-PSO combination. The hybrid is motivated by the standard exploration–exploitation decomposition of meta-heuristics. SCA is used early to explore the search space broadly and to avoid poor local minima; PSO is used later to exploit candidate regions and improve final localization accuracy. In this sense, SCAPSO is a two-operator localization optimizer whose conceptual structure depends on temporal differentiation between broad search and local refinement.

A central interpretive issue is that the paper repeatedly compares against an “unoptimized SCAPSO algorithm” but does not fully specify that baseline in formal algorithmic detail. The most reasonable reading is that the baseline is a non-adaptive SCA-PSO hybrid lacking the paper’s redesigned initialization, direct ranging-based fitness, and adaptive switching schedule. The paper does not provide exact pseudocode or equations for the baseline SCAPSO, so any stronger characterization is inferential rather than directly stated.

2. Localization problem setting

The algorithm is developed for localization in wireless sensor networks for Internet of Things applications, especially industrial IoT, in a two-dimensional deployment space (Zhang et al., 30 Jul 2025). The node set is partitioned into anchor nodes, whose coordinates are known, and unknown nodes, whose coordinates must be estimated.

The paper assumes a localization model with the following inputs: anchor coordinates, hop counts from unknown nodes to anchors, one-hop neighborhood information, measured distances djkd_{jk} between neighboring nodes, and communication range LL. The output is the estimated 2D coordinates of all unknown nodes. The search space is explicitly two-dimensional, xR2x \in \mathbb{R}^2.

Each particle encodes a candidate coordinate for an unknown node in 2D, written as Xj=(xj,yj)X_j = (x_j, y_j). The discussion of “the unknown node’s particle” suggests per-node localization optimization rather than a jointly encoded high-dimensional representation for all unknown nodes. The paper assumes one-hop communication neighborhoods, nearest-anchor information via hop count, and the availability of inter-node distance measurements for neighbors, but it does not state a detailed RSSI or ToA noise model or an explicit ranging error distribution.

These modeling choices locate SCAPSO within a class of geometry- and topology-aware WSN localization methods. A plausible implication is that the algorithm’s behavior is shaped as much by neighborhood structure and anchor placement as by the intrinsic dynamics of the hybrid meta-heuristic.

3. Hybrid dynamics: SCA, PSO, and adaptive switching

The PSO component is given by the standard velocity and position updates (Zhang et al., 30 Jul 2025): vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)

xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)

where xi(t)x_i(t) is the particle position, vi(t)v_i(t) its velocity, pip_i its personal best, gg the global best, and LL0 are the usual PSO parameters. The inertia weight is updated linearly from LL1 to LL2.

The SCA component updates position according to

LL3

with amplitude decay

LL4

The paper explains that LL5 decreases over time to encourage convergence, LL6 controls oscillation, LL7 modifies directional pull, and LL8 switches between sine and cosine.

The adaptive variant replaces a non-adaptive or less specialized hybrid schedule with an explicit switching rule: LL9 where xR2x \in \mathbb{R}^20, xR2x \in \mathbb{R}^21 controls the transition rate, xR2x \in \mathbb{R}^22 is the current iteration, and xR2x \in \mathbb{R}^23 is the maximum number of iterations. The implied switching probability for SCA is approximately

xR2x \in \mathbb{R}^24

This means that SCA is selected almost always at the beginning of optimization and then decays exponentially in favor of PSO. The criterion is iteration-progress based rather than fitness-improvement based. The paper explicitly notes that there is no reinforcement learning, classifier, or neural policy; the “AI-based” terminology refers to adaptive meta-heuristic control rather than a learned model.

4. Initialization, fitness design, and workflow

The paper attributes much of the performance difference between the baseline SCAPSO and AdapSCA-PSO to WSN-specific redesigns in initialization and fitness evaluation (Zhang et al., 30 Jul 2025). Instead of standard random initialization, the method exploits network topology. For each unknown node, it finds the anchor node with the fewest hops, constrains the initial particle position to lie within one-hop radius of that nearest anchor, and scales the initial velocity according to hop count.

The corresponding formulas are

xR2x \in \mathbb{R}^25

and

xR2x \in \mathbb{R}^26

where xR2x \in \mathbb{R}^27 is the hop count from unknown node xR2x \in \mathbb{R}^28 to its nearest anchor, xR2x \in \mathbb{R}^29 is the coordinate of that anchor, Xj=(xj,yj)X_j = (x_j, y_j)0 is the one-hop communication range, and Xj=(xj,yj)X_j = (x_j, y_j)1 is an adjustable base velocity coefficient. The paper interprets this as sampling initial positions within a disk of radius Xj=(xj,yj)X_j = (x_j, y_j)2 around the nearest anchor, while allowing initial velocity magnitude to grow with hop count.

Fitness evaluation is defined by a localization-specific cost: Xj=(xj,yj)X_j = (x_j, y_j)3 where Xj=(xj,yj)X_j = (x_j, y_j)4 is the set of one-hop neighbors of node Xj=(xj,yj)X_j = (x_j, y_j)5, Xj=(xj,yj)X_j = (x_j, y_j)6 is the measured distance between nodes Xj=(xj,yj)X_j = (x_j, y_j)7 and Xj=(xj,yj)X_j = (x_j, y_j)8, and Xj=(xj,yj)X_j = (x_j, y_j)9 depends on node type: vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)0 if node vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)1 is an anchor and vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)2 if node vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)3 is an unknown node. The optimizer thus minimizes the squared mismatch between measured inter-node distances and distances induced by candidate coordinates.

The workflow described in the paper is: initialize candidate coordinates, velocity, and fitness; choose SCA or PSO adaptively at each iteration; update the particle accordingly; evaluate fitness; update personal best and global best; stop at the maximum number of iterations; and return the estimated coordinates. This structure makes clear that the proposed method is not simply a hybrid update rule, but a localization pipeline specialized to WSN topology and ranging information.

5. Experimental evaluation and reported performance

The simulation study uses a vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)4 deployment area with two node counts, 100 and 200; communication distance vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)5 m for 100 nodes and vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)6 m for 200 nodes; anchor ratios of 10% and 20%; four scenarios in total; and 50 simulations per scenario (Zhang et al., 30 Jul 2025). The baselines are DV-Hop, standard PSO, unoptimized SCAPSO, and the proposed AdapSCA-PSO.

Scenario SCAPSO AdapSCA-PSO
100 nodes, 30 m, 10% anchors 8.6088 m 0.6722 m
100 nodes, 30 m, 20% anchors 6.4436 m 0.4778 m
200 nodes, 15 m, 10% anchors 5.7791 m 1.4689 m
200 nodes, 15 m, 20% anchors 4.5987 m 0.9194 m

Across the four scenarios, the paper reports that AdapSCA-PSO reduces average localization error by 89.77% relative to DV-Hop, 84.97% relative to PSO, and 84.84% relative to SCAPSO. The paper also states that the proposed method significantly reduces the number of required iterations and that Figure 1 shows faster convergence, but no exact iteration counts or percentage reduction values are numerically reported in the provided text.

The interpretation offered in the paper is that AdapSCA-PSO begins with lower initial fitness because of informed initialization; that SCA reduces fitness faster in the early stage; and that adaptive switching plus optimized parameters yields faster convergence and the lowest final fitness. Within the reported experiments, this places the adaptive variant as the strongest of the compared methods in both convergence profile and final localization error.

6. Parameterization, limitations, and reproducibility

The paper provides the following parameter values for the proposed method: vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)7, vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)8, vi(t+1)=wvi(t)+c1rand(pixi(t))+c2rand(gxi(t))v_i(t+1)=w\,v_i(t)+c_1\,\mathrm{rand}\,\bigl(p_i-x_i(t)\bigr)+c_2\,\mathrm{rand}\,\bigl(g-x_i(t)\bigr)9, xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)0, xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)1, and xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)2, with xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)3 or xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)4 depending on scenario (Zhang et al., 30 Jul 2025). At the same time, several values are not recoverable from the reproduced text: the numerical value of xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)5, the exact maximum number of iterations xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)6, and the particle count xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)7. The stopping criterion stated in the paper is the maximum number of iterations xi(t+1)=xi(t)+vi(t+1)x_i(t+1)=x_i(t)+v_i(t+1)8, and no additional stopping condition is mentioned.

The paper does not provide formal computational complexity. It also does not provide a complete formal definition of the baseline SCAPSO, including whether that baseline uses fixed-stage SCA then PSO, fixed-probability switching, or another hybridization scheme. This is the principal reproducibility issue surrounding SCAPSO as presented in the paper. Any implementation of the baseline from this source alone requires assumptions.

Several additional limitations are explicitly visible from the text. The evaluation appears to be simulation-only rather than based on physical deployment. The paper does not provide a detailed ranging noise or error model. It also notes that for dense networks with shorter communication range, AdapSCA-PSO may suffer a slight rise in error due to fewer effective one-hop neighbors. These points do not invalidate the reported results, but they delimit the extent to which the method can be reconstructed or generalized from the paper alone.

A common misconception would be to interpret the method’s “AI-based” characterization as implying a learned policy or neural decision module. The paper does not support that reading. Another possible misconception would be to treat SCAPSO in this source as a fully specified canonical algorithm. The text supports a narrower conclusion: SCAPSO is a hybrid SCA-PSO baseline whose motivating principle is clear, but whose exact baseline instantiation is only partially documented, whereas AdapSCA-PSO is specified in substantially greater detail.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to SCAPSO Algorithm.