In-Network Distributed Solar Current Prediction

Elizabeth Basha, Raja Jurdak, Daniela Rus

TL;DR

Wireless sensor networks rely heavily on solar energy, but predicting exactly how much power they will harvest is notoriously difficult due to local weather variability. This paper introduces a distributed Multiple Linear Regression (MLR) model that allows tiny, resource-constrained sensor nodes to collaborate with their neighbors to predict future solar energy. By cleverly distributing the heavy matrix math across the network, the system achieves a ~40% improvement in prediction accuracy over standard methods, using a microscopic amount of energy to do so.

What Problem Does This Paper Address?

For remote wireless sensor networks (WSNs) to operate indefinitely, they must carefully balance the energy they consume with the energy they harvest from the environment. To do this effectively, nodes need to know how much solar energy they can expect to gather in the coming days.

Historically, nodes have predicted future energy using simple local heuristics, like assuming tomorrow will be exactly like today (Persistence) or using a moving average of recent days (EWMA). However, these methods ignore the broader environmental context and are highly susceptible to local variability (e.g., a single cloud passing over).

While sending all network data to a powerful central gateway to run complex weather models is an option, it creates a single point of failure, drains communication energy, and doesn't work for disconnected or remote networks. The challenge is: How can we run complex, multi-variable prediction models directly on low-power microcontrollers without draining the batteries we are trying to save?

Methods

The authors propose using Multiple Linear Regression (MLR) to predict future daily average solar current. Instead of just looking at a node's own past solar data, the MLR model incorporates environmental variables (humidity, temperature, wind) and the solar readings of neighboring nodes.

The core technical contribution is how they compute this. Calculating MLR coefficients requires finding the pseudoinverse of a data matrix—a mathematically heavy operation that would normally crash a tiny sensor node due to memory and processing limits.

To solve this, the authors developed a distributed pseudoinverse algorithm tailored for sensor networks:

  1. Distributed QR Decomposition: Nodes share the load of shrinking the large historical data matrix into a smaller, manageable square matrix.
  2. Centralized SVD: One node takes this much smaller matrix and runs a Singular Value Decomposition (SVD).
  3. Distributed Combination: The nodes collaborate again to multiply the resulting matrices and find the final weighting coefficients.

Once calibrated, nodes use these weights to locally predict their future solar energy.

Datasets

The authors validated their approach using two main datasets:

  • Simulation Data (Springbrook): Over 20 months of real-world data from a rainforest deployment in Springbrook, Australia. This dataset includes solar current, humidity, soil moisture, air temperature, leaf wetness, and wind metrics.
  • Field Implementation (CSIRO): Live data generated by deploying Fleck3b sensor nodes (powered by AA batteries and 2.4W solar panels) at the CSIRO ICT campus. They ran a 3-node test for 7 weeks, followed by a 10-node test for 4 months.

Key Insights and Ideas

  • Teamwork makes the dream work: Incorporating spatial data (neighbors' solar readings) significantly beats isolated local predictions. A node's neighbors act as a distributed sensor array for incoming weather patterns.
  • Diversity beats homogeneity: When grouping nodes to share data, mixing "sunny" and "shady" nodes yielded better predictions than grouping only sunny nodes together. Diverse perspectives prevent the model from overfitting to one specific microclimate.
  • Conservative predictions are a feature, not a bug: The MLR model naturally tended to slightly underpredict available solar energy (by about 1.4mA on average). In power management, this is ideal. Overpredicting causes a node to overspend and die; underpredicting forces conservative energy use, ensuring the node survives unexpected cloudy streaks.
  • Heavy math can be decentralized: By breaking down matrix decompositions, complex regression can run on 8MHz microcontrollers with just 8K of RAM, proving that advanced machine learning doesn't always require a cloud backend.

Key Results

  • Accuracy: In physical field tests, the distributed MLR model reduced the Root Mean Square Error (RMSE) by 39.7% compared to EWMA, and 63.9% compared to Persistence for daily predictions.
  • Energy Efficiency: The computational and communication overhead for the distributed calibration was incredibly tiny—just 4.5mJ. This represents roughly $10^{-7}\%$ of the weekly harvested energy. The energy saved by having a smarter power-management policy vastly outweighs the cost of running the math.
  • Reliability: The distributed algorithm proved robust in the real world, achieving a 96.6% success rate in completing its calibration cycles during the initial field test, gracefully handling single-node dropouts and low-battery states.

Limitations and Future Work

  • Fault Tolerance: While the system handles single-node dropouts, the calibration phase will fail if multiple nodes (especially the temporary "master" node) die simultaneously. The authors suggest adding data redundancy to fix this.
  • Static Parameters: The time windows for calibration and prediction are currently hardcoded. Future iterations should dynamically adjust these windows based on seasonal trends and incoming data volatility.
  • Automated Clustering: The study manually grouped nodes into "sunny" or "shady" clusters for spatial analysis. Future work needs to explore algorithms that automatically cluster nodes based on physical proximity or solar profile similarities.

Summary updated

BibTeX
@article{basha2015network,
  author = {Elizabeth Basha and Raja Jurdak and Daniela Rus},
  title = {{In-Network Distributed Solar Current Prediction}},
  journal = {ACM Trans. Sens. Networks},
  year = {2015},
  doi = {10.1145/2629593},
}
Figure