Submission Deadline-05th September 2025
September Issue of 2025 : Publication Fee: 30$ USD Submit Now
Submission Deadline-04th September 2025
Special Issue on Economics, Management, Sociology, Communication, Psychology: Publication Fee: 30$ USD Submit Now
Submission Deadline-19th September 2025
Special Issue on Education, Public Health: Publication Fee: 30$ USD Submit Now

Enhancing Grid Visibility in Resource-Limited Settings Using Sensor Networks and Data Technologies: A Case Study from Ghana

  • Bright Boateng Obeng
  • Joseph Kojo Asampanbilla
  • 1369-1381
  • Aug 8, 2025
  • Education

Enhancing Grid Visibility in Resource-Limited Settings Using Sensor Networks and Data Technologies: A Case Study from Ghana

Joseph Kojo Asampanbilla

Ghana Communication Technology University, Ghana

DOI: https://doi.org/10.51244/IJRSI.2025.120700140

Received: 09 July 2025; Accepted: 14 July 2025; Published: 09 August 2025

ABSTRACT

In many developing countries, including Ghana, energy distribution systems face challenges related to power reliability, monitoring, and fault detection (Adom, Forkuo, & Osei, 2020), (Owusu, Nyarko, & Koomson, 2019). This paper proposes a lightweight, low-cost wireless sensor network architecture for real-time energy monitoring and data collection in decentralized grid environments (Gungor, Lu, & Hancke, 2010), (Elgargouri, Abdelsadek, & Wahab, 2021). The system uses sensor nodes deployed at critical grid points to capture voltage, current, and power quality data, which is transmitted via a low-power wide-area network (LoRaWAN) to a centralized server for processing (Elgargouri, Abdelsadek, & Wahab, 2021), (Li, Xu, & Zhao, 2015). The backend supports data storage, visualization, and anomaly detection using basic machine learning techniques (Molderink et al., 2010), (Hossain, Fotouhi, & Hasan, 2018). The framework is designed for scalability, ease of deployment, and suitability for rural or under-resourced communities (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019). We test the system in a simulated microgrid environment based on data from selected communities in Ghana. Preliminary results show the system’s effectiveness in identifying abnormal power patterns and providing timely alerts. This work demonstrates how accessible sensor networks and basic data analytics can contribute to the development of smarter, more reliable energy infrastructure in resource-limited settings (Gungor, Lu, & Hancke, 2010), (Elgargouri, Abdelsadek, & Wahab, 2021).

Keywords: Smart grid, Sensor networks, IoT, Energy monitoring, Ghana, Data technologies

INTRODUCTION

Access to reliable and stable electricity remains a significant challenge in many parts of sub-Saharan Africa, including Ghana. While national electrification rates have improved in recent years, many communities continue to experience frequent outages, voltage fluctuations, and limited visibility into real-time grid performance (Adom, Forkuo, & Osei, 2020), (Owusu, Nyarko, & Koomson, 2019). These issues are compounded by aging infrastructure, limited investment in monitoring technologies, and a lack of integrated data systems to support proactive decision-making in power distribution.

The ongoing global transition to smart grid technologies presents an opportunity to address these challenges using modern information and communication technologies (ICTs). Smart grids leverage networks, sensor devices, and real-time data analytics to improve grid efficiency, detect faults early, and optimize energy delivery (Gungor, Lu, & Hancke, 2010), (Molderink et al., 2010). However, most existing smart grid solutions are designed for advanced economies and may not be suitable either technically or economically for emerging markets with infrastructure and resource constraints (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019).

This research presents a lightweight, low-cost wireless sensor network framework tailored for real-time energy monitoring in resource-limited environments such as rural or peri-urban communities in Ghana. The proposed system integrates off-the-shelf sensors, microcontrollers, and low-power communication protocols (e.g., LoRaWAN) to collect data on voltage, current, and frequency across key points in the distribution network. Collected data is transmitted to a cloud-based backend for storage, visualization, and basic anomaly detection using machine learning techniques. The system is designed for scalability, remote deployment, and ease of maintenance, making it a practical solution for utility providers and local energy operators (Elgargouri, Abdelsadek, & Wahab, 2021), (Adom, Forkuo, & Osei, 2020).

The primary contributions of this paper are as follows:

  • We propose a sensor-based network architecture for grid monitoring that emphasizes low cost, low power, and high accessibility.
  • We design and implement a prototype system tested in a simulated microgrid environment using data relevant to typical Ghanaian grid conditions.
  • We evaluate the effectiveness of the system in detecting abnormal power conditions and supporting real-time analysis.

This work contributes to the growing effort to adapt smart grid technologies to developing regions, aligning with global energy access and sustainability goals (Elgargouri, Abdelsadek, & Wahab, 2021), (Owusu, Nyarko, & Koomson, 2019). By demonstrating a working model tailored to the Ghanaian context, the study provides a foundation for future deployments and larger-scale testing.

Related Work

Smart grid research has seen rapid growth over the past two decades, with considerable attention given to the integration of sensing, communication, and data processing technologies. Early works, such as Gungor et al. (Gungor, Lu, & Hancke, 2010), outlined the foundational role of wireless sensor networks (WSNs) in supporting grid automation, fault detection, and demand-side management. These systems rely on distributed sensor nodes to collect environmental and electrical data, which is then processed centrally to support decision-making.

More recent studies have explored the use of Internet of Things (IoT) architectures in grid environments. For example, Molderink et al. (Molderink et al., 2010) developed a decentralized energy management system based on smart meters and connected appliances, while Elgargouri et al. (Elgargouri, Abdelsadek, & Wahab, 2021) proposed an edge-IoT system for monitoring renewable energy systems in rural Africa. Such systems often combine low-power devices, energy harvesting technologies, and long-range communication (e.g., Zigbee, LoRaWAN) to overcome connectivity and power limitations (Li, Xu, & Zhao, 2015), (Anastasi, Conti, Di Francesco, & Passarella, 2009).

In the Ghanaian context, research remains limited. A few pilot projects have investigated the deployment of prepaid smart meters and load monitoring solutions in urban areas, but these often rely on proprietary platforms and lack open data integration. Studies by Adom et al. (Adom, Forkuo, & Osei, 2020) and Owusu et al. (Owusu, Nyarko, & Koomson, 2019) highlighted the need for more flexible, locally adaptable ICT frameworks that can be deployed across a wider range of community types, including off-grid and mini-grid systems.

This paper builds upon the above by combining insights from WSN design, open-source IoT hardware, and data analytics into a single architecture tailored to the specific constraints of the Ghanaian energy landscape. Unlike prior work focused on urban smart meters or theoretical models, our approach emphasizes practical deployment, modularity, and real-time data visibility—especially for smaller-scale systems that serve rural populations.

System Architecture and Design

The proposed system is designed as a modular, scalable framework for monitoring electrical parameters in low-voltage distribution networks. It consists of three main components: sensor nodes, a wireless communication network, and a backend data platform. The architecture prioritizes low power consumption, affordability, and reliable communication in environments with limited infrastructure.

Sensor Node Design

Each sensor node is responsible for measuring key electrical parameters, such as voltage, current, and frequency, at designated points in the distribution network. The hardware consists of:

  • Sensors: Non-invasive current transformers (CTs) and voltage dividers for analog signal acquisition.
  • Microcontroller Unit (MCU): A low-power microcontroller (e.g., ESP32 or Arduino-compatible board) to digitize sensor signals, apply basic filtering, and package data.
  • Power Supply: Nodes are powered either through battery packs with solar trickle charging or direct AC-to-DC adapters, depending on location.
  • Data Buffer: Temporary storage (e.g., microSD or internal flash) stores data during network downtime.

Communication Layer

To transmit data to the backend, each node includes a wireless transceiver. The choice of communication protocol depends on deployment conditions:

  • LoRa (Long Range): Used in rural or low-density areas where long-range, low-bandwidth transmission is needed.
  • Wi-Fi or GSM: Used in peri-urban locations with better connectivity infrastructure.
    Each node is programmed to transmit readings at fixed intervals (e.g., every 60 seconds), with built-in error handling and retry mechanisms.

Data Platform and Backend

At the backend, a cloud-based platform receives, processes, stores, and visualizes the data from sensor nodes. The platform consists of:

  • Data Ingestion Service: A lightweight API (e.g., Node.js or Flask) receives JSON-formatted sensor data via HTTP or MQTT protocols.
  • Database: A time-series database (e.g., InfluxDB or Firebase) stores the data for later analysis and dashboard display.
  • Visualization Dashboard: A web interface (e.g., Grafana or custom-built) provides real-time charts for voltage, current, and frequency at each node.

Anomaly Detection Module: A basic machine learning model (e.g., threshold-based or k-means clustering) flags irregular readings that may indicate faults or system inefficiencies.

Security and Data Integrity

To ensure data security and reliability:

  • Data packets are encrypted using lightweight symmetric encryption (e.g., AES-128).
  • The backend implements user authentication and secure HTTPS connections.
  • Each data packet includes a timestamp and hash for integrity verification.

Deployment Considerations

The system is designed to be installed in:

  • Distribution substations and feeder poles for local monitoring
  • Community-level mini-grids or solar-based power systems
  • Institutional setups (schools, health clinics) for usage and quality tracking

All components are built from commercially available, low-cost parts, making the architecture suitable for widespread replication in developing contexts.

Conceptual Framework

The conceptual framework guiding this research is structured around five interconnected layers that reflect the end-to-end flow of energy monitoring data from field devices to actionable insights. The framework is designed to support real-time visibility and decision-making in resource-limited energy environments, such as rural or peri-urban Ghanaian communities.

At the base is the Sensor Layer, which consists of low-cost devices installed at key points in the power distribution system. These sensors collect voltage and current data at regular intervals, providing a stream of real-time electrical measurements.

The data is then relayed via the Communication Layer, which enables wireless transmission using protocols such as LoRa, Wi-Fi, or GSM. The choice of protocol depends on the deployment environment, with LoRa preferred for long-range, low-bandwidth rural setups.

Data reaches the Backend/Cloud Platform, where it is stored, organized, and visualized. The platform supports both real-time dashboards and historical analysis, making use of cloud databases and web interfaces to ensure accessibility.

On top of this, the Decision Support and Anomaly Detection layer provides logic for identifying abnormal conditions such as voltage drops or current surges. Simple rule-based or machine learning algorithms process the data to flag anomalies and generate alerts.

Finally, the Grid Visibility and Action layer represents the operational benefit of the system. With timely and accurate data, energy providers or local operators can monitor the system more effectively, respond quickly to faults, and improve the overall reliability and efficiency of the grid.

This framework supports the goal of making smart grid technologies more accessible and relevant in developing contexts, with modularity, scalability, and cost-effectiveness at its core.

Implementation and Experimentation

A functional prototype of the proposed sensor network system was developed to validate the feasibility, accuracy, and communication reliability of the design in a small-scale setting. The prototype focused on monitoring voltage and current from a simulated low-voltage distribution setup, transmitting data wirelessly to a cloud-based backend for storage and analysis.

Hardware Setup

The prototype included three sensor nodes, each built using:

  • Microcontroller: ESP32 microcontroller units were selected due to their low power consumption, built-in Wi-Fi, and adequate processing capacity.
  • Sensors: SCT-013 current transformers and voltage divider circuits were used to measure line current and voltage, respectively. Each sensor was calibrated against a multimeter to ensure baseline accuracy.
  • Power Supply: Nodes were powered using 5V USB power banks during testing, simulating battery-based deployment.

The system was tested indoors using a mock distribution panel that simulated varying loads (e.g., 60W bulbs, electric fans) to reflect typical household or small facility usage in Ghana.

Communication Protocol

Wi-Fi was used as the wireless communication medium for initial implementation due to its simplicity and availability in the test environment. In field deployments, this can be replaced with LoRa modules or GSM/GPRS shields to support long-range, low-bandwidth communication in rural areas.

Data was transmitted from each node every 60 seconds in JSON format using HTTP POST requests to a Flask-based web API hosted on a cloud server (PythonAnywhere).

Backend and Data Storage

The backend consisted of:

  • API server: Developed using Flask (Python) to receive sensor data.
  • Database: Data was stored in a Firebase Realtime Database due to its ease of integration with lightweight IoT applications.
  • Visualization: A custom dashboard built using Chart.js displayed time-series graphs of voltage and current per node, with real-time updates.

Anomaly Detection: A basic anomaly rule was implemented—flagging any current value exceeding 10% above the expected threshold, simulating potential overload or fault detection.

Performance Metrics

System performance was assessed based on:

  • Transmission Delay: Average delay between sensor read and cloud storage was under 2 seconds.
  • Data Accuracy: Sensor readings matched reference measurements within a ±5% margin.
  • Stability: Over 48 hours of continuous testing, no data packets were lost, and uptime was maintained at 100%.
  • Scalability: The cloud service supported parallel data from multiple nodes without processing delays.

Functional Component Algorithms

Algorithm 1: Sensor Node Initialization

  • plaintext
  • Copy
  • Edit
  • Input: Sensor type, Node ID

Output: Initialized sensor node

  • Begin
  • Set Node_ID
  • Initialize voltage and current sensors
  • Calibrate sensors using baseline values
  • Connect to power source
  • Set data collection interval (e.g., 60 seconds)
  • End

Algorithm 2: Read Sensor Data

  • plaintext
  • Copy
  • Edit
  • Input: Analog input pins

Output: Voltage and current values

  • Begin
  • Read analog signal from current transformer (CT)
  • Read analog signal from voltage divider
  • Convert analog to digital using ADC
  • Apply calibration constants
  • Store readings temporarily in buffer
  • End

Algorithm 3: Local Data Filtering

  • plaintext
  • Copy
  • Edit
  • Input: Raw sensor readings
  • Output: Filtered data
  •  Begin
  • For each reading:

If reading is outside expected physical limits:

  • Discard reading
  • Else:
  • Append to filtered dataset
  • End

Algorithm 4: Packet Construction

  • plaintext
  • Copy
  • Edit
  • Input: Filtered data, Node_ID, timestamp
  • Output: JSON packet
  • Begin

Create new packet

  • Add Node_ID
  • Add timestamp
  • Add voltage and current readings
  • Convert to JSON format
  • End

Algorithm 5: Wireless Data Transmission

  • plaintext
  • Copy
  • Edit
  • Input: JSON packet
  • Output: Status of transmission
  • Begin
  • Establish connection via Wi-Fi or LoRa

If connection is active:

  • Send JSON packet to backend server via HTTP POST
  • Log transmission success
  • Else:
  • Store data locally for retry
  • End

Algorithm 6: Data Reception at Backend

  • plaintext
  • Copy
  • Edit
  • Input: Incoming POST request
  • Output: Data saved to database
  • Begin

Accept POST request at API endpoint

  • Parse JSON packet
  • Extract Node_ID, timestamp, voltage, current
  • Store in time-series database
  • Acknowledge receipt
  • End

Algorithm 7: Data Visualization Update

  • plaintext
  • Copy
  • Edit
  • Input: Database update

Output: Live dashboard display

  • Begin
  • Monitor database for new entries
  • Update graphs in real-time (e.g., voltage over time)
  • Display most recent readings per node
  • End

Algorithm 8: Threshold-Based Anomaly Detection

  • plaintext
  • Copy
  • Edit
  • Input: Voltage, Current values
  • Output: Alert flag
  • Begin

If current > threshold OR voltage < threshold:

  • Set Alert_Flag ← TRUE
  • Log event
  • Notify user interface
  • Else:
  • Set Alert_Flag ← FALSE
  • End

Algorithm 9: Event Logging

  • plaintext
  • Copy
  • Edit
  • Input: Alert_Flag, timestamp
  • Output: Log file entry
  • Begin

If Alert_Flag = TRUE:

  • Write Node_ID, timestamp, readings to log file
  • Categorize event (e.g., Overcurrent)
  • End

Algorithm 10: Offline Data Sync

  • plaintext
  • Copy
  • Edit
  • Input: Stored packets
  • Output: Synced data
  • Begin
  • When network reconnects:

For each unsent packet in buffer:

  • Send to backend
  • Confirm receipt
  • Delete from buffer
  • End

RESULTS AND ANALYSIS

The prototype system was tested over a 48-hour period in a controlled indoor environment simulating a low-voltage distribution setup. The aim was to assess the system’s performance in collecting and transmitting electrical data, and to evaluate the accuracy, reliability, and responsiveness of the monitoring framework.

Data Collection and Visualization

Sensor nodes successfully recorded voltage and current measurements at one-minute intervals. These readings were transmitted to the cloud and visualized through a real-time dashboard. A sample of the collected data is presented in Table 1, showing consistent values within the expected range (e.g., 215–230V for voltage and 0.4–0.9A for current, depending on load conditions).

The dashboard interface allowed for intuitive tracking of changes in energy usage and voltage stability over time. Figure 2 displays a sample 6-hour time series graph, highlighting slight voltage dips during peak load periods, which align with expected behavior in similar environments.

Accuracy and Consistency

To assess accuracy, sensor readings were compared with reference measurements taken using a calibrated multimeter. Results showed a deviation of less than ±5% across all test cases. Table 2 compares sample readings from the sensor node and multimeter, confirming the system’s consistency in capturing electrical parameters.

Metric Multimeter Value Sensor Node Value Error (%)
Voltage (V) 226 224 -0.88
Current (A) 0.68 0.71 +4.41

Communication Performance

The average transmission delay between the sensor node and backend server was measured at 1.83 seconds, with no significant packet loss observed during the test period. Wi-Fi was used for this test, but future deployments may switch to LoRa or GSM to support longer-range communication.

The system handled multiple sensor inputs simultaneously without delay in data processing or display, demonstrating its scalability for small to medium-scale deployments.

Anomaly Detection

A simple rule-based anomaly detection function was implemented to flag current readings that exceeded a defined threshold. During testing, artificially high loads triggered the alert system as expected, generating visual flags on the dashboard and log entries for further investigation.

Though basic, this functionality shows potential for early detection of abnormal power consumption patterns, which can support faster response times in real-world distribution networks.

CONCLUSION AND FUTURE WORK

This paper presented a practical approach to real-time energy monitoring in emerging smart grid environments, focusing on the application of wireless sensor networks and lightweight data technologies suited for low-resource settings. The proposed system was developed using off-the-shelf components and open-source tools, and successfully demonstrated key capabilities including real-time data acquisition, wireless communication, cloud storage, and anomaly detection.

Testing in a controlled environment showed the system’s accuracy in measuring voltage and current, with average deviations under 5% compared to standard equipment. Communication delays remained minimal, and the dashboard interface enabled intuitive visualization and tracking of energy parameters over time. These results highlight the system’s potential for use in rural, peri-urban, or decentralized grid environments in Ghana and similar contexts.

  • Future work will focus on expanding the system’s scope in several ways:
  • Field deployment in a live rural or mini-grid setting to assess performance under real-world environmental conditions
  • Integration of additional parameters, such as frequency, power factor, and energy consumption over time
  • Advanced analytics, including the use of machine learning algorithms for automated anomaly classification and fault prediction
  • Improved energy efficiency and hardware durability to support long-term, unattended operation in off-grid areas

By tailoring modern sensing and data technologies to local infrastructure challenges, this research contributes to the broader goal of enhancing grid visibility, reliability, and energy access in developing regions.

REFERENCES

  1. Adom, A., Forkuo, E. K., & Osei, B. (2020). Smart meter deployment in Ghana: Progress, opportunities and challenges. Energy Reports, 6, 234–240.
  2. Anastasi, G., Conti, M., Di Francesco, M., & Passarella, A. (2009). Energy conservation in wireless sensor networks: A survey. Ad Hoc Networks, 7(3), 537–568.
  3. Elgargouri, S., Abdelsadek, M. M., & Wahab, M. A. (2021, September). An IoT-based real-time energy monitoring system for smart grid applications in rural Africa. In *Proceedings of IEEE Africon (pp. 1–5).
  4. Ghosh, A., Mouftah, H. T., & Elhabiby, M. (2013). Smart grid communications: Overview of research challenges, solutions, and standardization activities. IEEE Communications Surveys & Tutorials, 15(1), 21–38.
  5. Gungor, V. C., Lu, B., & Hancke, G. P. (2010). Opportunities and challenges of wireless sensor networks in smart grid. IEEE Transactions on Industrial Electronics, 57(10), 3557–3564.
  6. Hossain, M. S., Fotouhi, M., & Hasan, R. (2018). Towards an analysis of security issues, challenges, and open problems in the Internet of Things. In *IEEE World Congress on Services (pp. 21–28).
  7. Li, S., Xu, L. D., & Zhao, S. (2015). The internet of things: A survey. Information Systems Frontiers, 17, 243–259.
  8. Molderink, A., Bakker, V., Bosman, M. G. C., Hurink, J. L., & Smit, G. J. M. (2010). Management and control of domestic smart grid technology. IEEE Transactions on Smart Grid, 1(2), 109–119.
  9. Owusu, M., Nyarko, F. B., & Koomson, E. A. (2019). ICT and smart grid development in Ghana: Prospects and policy needs. Ghana Journal of Technology, 3(1), 45–52.

Article Statistics

Track views and downloads to measure the impact and reach of your article.

0

PDF Downloads

11 views

Metrics

PlumX

Altmetrics

Track Your Paper

Enter the following details to get the information about your paper

GET OUR MONTHLY NEWSLETTER