Basic Electrical Engineering

Chapter 15
Smart Electrical Systems and Future Practice

Bachelor Program in Mechatronics Engineering
Basic Electrical Engineering   •   Bachelor

Smart Electrical Systems and Future Practice

Introduction

Electrical engineering is moving from isolated, manually operated equipment toward connected, adaptive, low-carbon systems. A modern electrical installation may combine photovoltaic generation, battery storage, electric vehicles, intelligent loads, sensors, cloud services, and automated control. These technologies create opportunities for improved efficiency, reliability, resilience, and sustainability, but they also introduce cyber-security, data-governance, safety, and ethical responsibilities.

For mechatronics engineers, smart electrical systems are especially important because they combine electrical power, electronics, instrumentation, communication networks, software, control engineering, and mechanical systems. The engineer must therefore understand not only how energy is generated and consumed, but also how measurements are acquired, how decisions are made, and how automated actions affect people and infrastructure.

Learning Objectives

After studying this chapter, students should be able to:

  1. Explain the structure and operation of renewable-integrated electrical systems.
  2. Describe the functions and limitations of batteries and energy-storage systems.
  3. Distinguish conventional electrical networks from smart grids.
  4. Analyse the role of electrification, IoT monitoring, and predictive maintenance.
  5. Explain appropriate uses and limitations of artificial intelligence in diagnostics.
  6. Identify cyber-security, data-governance, sustainability, and professional-ethics requirements.
  7. Propose a technically sound and responsible smart electrical solution.

1. From Conventional Networks to Smart Electrical Systems

A conventional power system is primarily unidirectional: large generators supply transmission and distribution networks, and consumers receive energy. Monitoring is often limited to substations and major industrial users. A smart electrical system is more interactive. It combines distributed energy resources, digital measurement, communication, local control, and coordinated decision-making.

A smart system normally contains five layers:

LayerMain functionExamples
Physical energy layerProduces, converts, stores, and consumes energyPV arrays, motors, batteries, inverters
Measurement layerAcquires electrical and operating dataSmart meters, current sensors, temperature sensors
Communication layerTransmits information securelyIndustrial Ethernet, wireless networks, fieldbuses
Control and analytics layerInterprets data and determines actionsPLCs, energy-management systems, AI models
Governance layerDefines safety, access, accountability, and complianceStandards, procedures, audit trails

The word “smart” should not be interpreted as “fully autonomous.” A system is smart only when its sensing, communication, decision-making, and control functions produce useful, safe, and explainable outcomes.

Important performance measures include energy efficiency, availability, reliability, power quality, response time, emissions, operating cost, and resilience. These measures may conflict. For example, frequent battery cycling may reduce peak electricity cost but accelerate battery degradation.

2. Renewable-Energy Integration

2.1 Characteristics of renewable sources

Solar photovoltaic and wind generation are variable and weather-dependent. Hydroelectric generation can be dispatchable where water storage is available, while biomass may be controllable but depends on fuel supply. Renewable integration therefore requires coordination between generation, storage, flexible demand, and the grid.

For a photovoltaic array, the electrical output depends on irradiance, cell temperature, module characteristics, and power-electronic conversion. A simplified energy estimate is:

EPV = Prated × Heq × ηsys

where EPV is daily electrical energy in kWh, Prated is rated array power in kW, Heq is equivalent full-sun hours per day, and ηsys is the dimensionless system efficiency factor. The factor includes temperature, inverter, wiring, mismatch, and other losses. This equation is an estimate, not a substitute for irradiance-based simulation.

For example, a 20 kW array with 4.5 equivalent full-sun hours and an overall factor of 0.80 produces:

EPV = 20 × 4.5 × 0.80 = 72 kWh/day

The result assumes the stated average solar resource and does not guarantee the same output every day.

2.2 Grid-interactive converters

Solar panels and batteries normally produce direct current, whereas most distribution networks use alternating current. An inverter provides conversion and may also perform maximum-power-point tracking, reactive-power control, anti-islanding protection, voltage regulation, and fault detection.

Grid-connected systems must satisfy interconnection requirements governing voltage, frequency, harmonics, power factor, fault contribution, and disconnection during abnormal conditions. A system that operates correctly in laboratory conditions may be unsafe if it unintentionally energises a network during a utility outage.

2.3 Integration challenges

Renewable integration creates several engineering challenges:

  • Variability: generation changes with weather and time.
  • Reverse power flow: distribution feeders may export power toward substations.
  • Voltage rise: local generation can increase feeder voltage.
  • Protection coordination: fault-current magnitude and direction may change.
  • Power quality: converters can introduce harmonics or rapid voltage changes.
  • Forecast uncertainty: dispatch decisions depend on imperfect predictions.

Solutions include demand response, energy storage, network reinforcement, advanced inverters, improved forecasting, and flexible tariffs. No single solution is universally optimal; the design must reflect the network, load profile, climate, regulations, and economic conditions.

3. Batteries and Energy Storage

3.1 Electrical and energy quantities

Battery capacity is commonly expressed in ampere-hours, while stored energy is expressed in watt-hours. A simplified relation is:

Enom ≈ Vnom × QAh

where Enom is nominal energy in Wh, Vnom is nominal voltage in V, and QAh is capacity in Ah. The approximation is necessary because battery voltage changes with state of charge, current, temperature, and age.

The usable energy is less than nominal energy. A simplified usable-energy model is:

Eusable = Enom × DoD × ηrt

where DoD is allowable depth of discharge and ηrt is round-trip efficiency. The equation assumes that the selected depth of discharge and efficiency adequately represent operating conditions.

A 48 V, 200 Ah battery has an approximate nominal energy of:

Enom = 48 × 200 = 9600 Wh = 9.6 kWh

If the permitted depth of discharge is 80% and round-trip efficiency is 90%:

Eusable = 9.6 × 0.80 × 0.90 = 6.912 kWh

This value is an engineering estimate. The battery-management system may reserve additional energy for safety and life extension.

3.2 Battery-management systems

A battery-management system (BMS) monitors cell voltage, pack current, temperature, insulation condition, and balancing status. It estimates state of charge (SoC) and state of health (SoH), controls contactors, limits charging and discharging, and detects abnormal conditions.

A basic coulomb-counting estimate is:

SoC(t) = SoC(t0) − (1/Qusable) ∫t0t I(τ)dτ

where I(τ) is battery current, with a sign convention in which positive current represents discharge, and Qusable is usable charge capacity. Real systems include charge/discharge efficiency, sensor bias, temperature effects, and periodic correction using voltage or model-based estimation.

Lithium-ion batteries offer high energy density and efficiency, but thermal runaway, ageing, raw-material impacts, and end-of-life treatment require careful management. Battery installations need ventilation or thermal management, protection against overcurrent, physical segregation where appropriate, fire-risk assessment, and emergency procedures.

3.3 Selecting storage

Storage should be selected according to its service:

ServiceImportant requirement
Energy shiftingHigh energy capacity and adequate cycle life
Peak reductionSufficient power rating and rapid response
Frequency supportFast control and accurate measurement
Backup supplyReliability, islanding control, and load prioritisation
Power-quality supportPower electronics and low response time

Energy capacity alone is insufficient. Engineers must also evaluate power rating, round-trip efficiency, cycle life, calendar ageing, thermal conditions, safety, maintenance, recycling, and total life-cycle cost.

4. Smart Grids and Electrification

A smart grid uses digital technologies to coordinate generation, networks, storage, and loads. It supports two-way power flow and two-way information flow. Its functions may include automated fault isolation, voltage optimisation, demand response, distributed generation coordination, and customer energy feedback.

A microgrid is a bounded electrical system containing loads and one or more energy resources that can operate connected to the utility or, under controlled conditions, in islanded mode. Islanding requires suitable protection, synchronisation, frequency control, load shedding, and safe reconnection.

Electrification replaces fossil-fuel technologies with electrically powered alternatives. Examples include electric vehicles, heat pumps, induction heating, electric boilers, and electrically driven industrial equipment. Electrification can reduce local emissions and improve efficiency, but it increases electrical demand and may require network upgrades.

The environmental benefit depends on the electricity-generation mix, equipment efficiency, manufacturing impacts, and operating pattern. Therefore, “electric” does not automatically mean “sustainable.” A responsible assessment considers the complete life cycle.

Demand response changes the timing or magnitude of consumption in response to price, grid conditions, or control signals. Loads suitable for flexibility include water heating, refrigeration within safe limits, battery charging, ventilation, and some industrial processes. Safety-critical loads must not be interrupted without explicit engineering justification.

5. IoT Monitoring and Data Architecture

The Internet of Things connects physical devices to digital systems through sensors, processors, communication links, and applications. In electrical engineering, IoT monitoring may collect voltage, current, power factor, temperature, vibration, breaker operations, insulation condition, and environmental data.

A useful architecture separates functions:

  1. Sensors and actuators measure conditions and perform physical actions.
  2. Edge controllers filter data, execute fast control, and continue operation if communication fails.
  3. Gateways translate protocols and enforce access policies.
  4. Servers or cloud platforms store data and perform broader analytics.
  5. Human interfaces present alarms, trends, and maintenance recommendations.

Edge processing is important for time-critical control, privacy, communication resilience, and bandwidth reduction. Cloud processing is useful for fleet-wide comparison, long-term storage, and computationally intensive analysis. Control functions should not depend unnecessarily on an external cloud connection.

Data quality is a technical issue, not merely an administrative issue. Engineers should check sensor calibration, timestamps, missing values, sampling rates, outliers, communication loss, and unit consistency. A false temperature reading can produce either an unnecessary shutdown or a dangerous failure to alarm.

6. Predictive Maintenance and AI-Based Diagnostics

Maintenance strategies include:

  • Corrective maintenance: repair after failure.
  • Preventive maintenance: service at planned intervals.
  • Condition-based maintenance: act when measured condition indicates deterioration.
  • Predictive maintenance: estimate future failure risk or remaining useful life from condition and operating data.

For an electrical motor, useful signals may include current spectrum, vibration, winding temperature, bearing temperature, insulation resistance, and start-up behaviour. However, a diagnostic model must distinguish genuine faults from changes in load, speed, ambient temperature, or sensor configuration.

AI methods include supervised classification, regression, clustering, anomaly detection, and time-series modelling. A supervised classifier requires labelled examples of normal and faulty operation. Anomaly detection can be useful when failure labels are scarce, but unusual behaviour is not necessarily a fault.

A diagnostic system should be evaluated using engineering consequences rather than accuracy alone. Important measures include false-alarm rate, missed-detection rate, detection delay, precision, recall, interpretability, and economic value. In safety-critical applications, a model should support—not silently replace—qualified engineering judgement.

A suitable workflow is:

  1. Define the failure modes and decision to be supported.
  2. Identify measurable physical indicators.
  3. Establish sensor quality and baseline operating conditions.
  4. Prepare and label data with traceable procedures.
  5. Train and validate the model using data separated by time or equipment where appropriate.
  6. Test performance under changed loads, seasons, and communication failures.
  7. Deploy with confidence limits, human review, and rollback capability.
  8. Monitor model drift and update it under change control.

A simple residual-based diagnostic compares measured output with model prediction:

r(t) = y(t) − ŷ(t)

where y(t) is measured output and ŷ(t) is predicted output. A large residual may indicate a fault, but it may also result from a changed operating condition or sensor error. Thresholds must therefore be established from evidence and operating context.

7. Cybersecurity and Data Governance

Connecting electrical equipment increases the attack surface. Threats include unauthorised access, malware, ransomware, manipulated measurements, denial of service, unsafe remote commands, and theft of operational or personal data.

A defence-in-depth strategy includes asset inventories, network segmentation, least-privilege access, strong authentication, secure configuration, patch management, backups, logging, intrusion detection, incident response, and recovery testing. Operational technology requires special care because an IT security action, such as an aggressive scan or immediate reboot, may interrupt a physical process.

Cybersecurity objectives are commonly described as confidentiality, integrity, and availability. In control systems, integrity and availability are often particularly important because corrupted commands or unavailable protection functions can create physical hazards.

Data governance defines who may collect, access, modify, retain, share, and delete data. A responsible governance plan specifies data ownership, purpose limitation, retention periods, access roles, quality requirements, auditability, and incident reporting. Smart meters can reveal occupancy patterns, so privacy must be considered even when data are collected for energy management.

Security and safety are linked but not identical. A cyber-secure system can still be unsafe because of poor design, and a physically safe system can become hazardous if its control network is compromised. Both dimensions must be assessed.

8. Sustainability and Professional Ethics

Sustainable electrical engineering considers environmental, social, and economic effects over the life cycle. Relevant questions include:

  • What materials and energy are required to manufacture the equipment?
  • How long will it operate, and how efficiently?
  • Can components be repaired, reused, or recycled?
  • What happens to batteries and electronic waste at end of life?
  • Are workers and communities exposed to unacceptable risks?
  • Does the project create unequal access or environmental burdens?

Professional ethics requires competence, honesty, public safety, confidentiality, fairness, and accountability. Engineers should not claim that an AI system “predicts failures” if it has only detected statistical correlation in a limited dataset. They should disclose assumptions, uncertainty, known failure modes, and validation limits.

Automation also raises responsibility questions. If an algorithm disconnects a feeder or delays maintenance, responsibility cannot be transferred to the software. Organisations must define approval authority, escalation procedures, audit trails, and human override. The more serious the consequence, the stronger the requirement for verification and human supervision.

9. Illustrative Case: Solar-Battery Microgrid for a Technical College

Background

A technical college experiences frequent utility interruptions. Its workshops contain computers, variable-speed drives, refrigeration equipment, and safety systems. The college wishes to reduce electricity cost and maintain essential services during outages.

Problem

The existing proposal installs a large solar array and battery without analysing load priorities, cyber risk, or protection coordination. The proposed design could disconnect unnecessarily, fail to start critical motors, or leave the battery unavailable during an extended outage.

Analysis

An energy audit identifies a daytime average load of 35 kW, a peak load of 80 kW, and essential outage loads of 20 kW. Essential loads include emergency lighting, network equipment, refrigeration, selected laboratory instruments, and communications. Non-essential workshop heating and vehicle charging can be curtailed.

The design team estimates that essential loads require 8 hours of backup:

Eload = Pessential × t = 20 × 8 = 160 kWh

If the battery system is limited to 80% depth of discharge and 90% round-trip efficiency, a simplified nominal-energy estimate is:

Enom ≈ 160 ÷ (0.80 × 0.90) = 222.2 kWh

This calculation does not include inverter losses separately if they are already represented in the efficiency assumption, and it does not guarantee eight hours under cold temperatures, ageing, or unexpected loads. A final design requires detailed simulation and safety assessment.

Approach and solution

The college adopts a grid-connected microgrid with photovoltaic generation, a battery energy-storage system, a bidirectional inverter, an energy-management controller, and a critical-load panel. The controller gives priority to safety systems and maintains a reserve state of charge for outage support. Vehicle charging is delayed during peak demand. Islanding and reconnection are controlled by certified protection equipment rather than by software alone.

Sensors measure feeder power, battery temperature, SoC, inverter status, and critical-load demand. Edge control maintains safe operation if the external network is unavailable. Remote access uses multifactor authentication, role-based privileges, segmented networks, encrypted communication, and a documented incident-response plan.

Maintenance staff receive dashboards showing battery temperature trends, inverter alarms, and abnormal power-quality events. Anomaly detection recommends inspection but does not directly disable equipment without a defined safety rule.

Outcome

The system reduces peak demand, supplies essential loads during short outages, and provides students with a practical platform for studying power electronics and control. The project also reveals that the battery cost is only one part of the investment: protection changes, fire planning, training, cybersecurity, data management, and lifecycle disposal are essential.

Learning points

  1. Storage must be sized for both energy and power.
  2. Critical loads must be defined before equipment is selected.
  3. Islanding requires coordinated protection and control.
  4. AI is most useful when connected to a clear maintenance decision.
  5. Sustainability includes operation, materials, safety, and end-of-life management.

10. Emerging Industry Requirements and Best Practice

Employers increasingly expect graduates to combine electrical fundamentals with digital competence. Important capabilities include reading single-line diagrams, understanding sensors and communication protocols, interpreting power-quality data, writing or reviewing control logic, managing structured data, and communicating uncertainty.

Good practice includes:

  • begin with a verified asset and load inventory;
  • define functional, safety, cybersecurity, and sustainability requirements;
  • use standards and local electrical regulations;
  • separate monitoring from safety-critical control where appropriate;
  • validate instruments and maintain calibration records;
  • test abnormal conditions, communication loss, and recovery procedures;
  • document assumptions, interfaces, permissions, and changes;
  • involve operators and maintainers in design decisions;
  • evaluate life-cycle cost and environmental impact;
  • review AI models for bias, drift, explainability, and failure consequences;
  • retain human accountability for consequential decisions.

Future electrical practice will increasingly involve flexible loads, distributed energy resources, digital twins, advanced power semiconductors, vehicle-to-grid operation, grid-forming inverters, low-carbon industrial processes, and autonomous inspection. These developments will not eliminate foundational electrical engineering. Instead, they increase the importance of sound circuit theory, power-system understanding, measurement, safety, and professional judgement.

Chapter Summary

Smart electrical systems integrate energy conversion, renewable generation, storage, sensors, communication, control, analytics, and governance. Renewable resources reduce dependence on fossil fuels but introduce variability, reverse power flow, voltage, protection, and forecasting challenges. Batteries provide energy shifting, peak reduction, backup, and power-quality services, but their usable capacity, ageing, thermal behaviour, and end-of-life impacts must be considered.

Smart grids and microgrids enable two-way energy and information flows. Electrification can improve efficiency and reduce emissions, but it increases demand and is sustainable only when lifecycle effects and electricity sources are considered. IoT monitoring depends on accurate sensors, suitable architectures, resilient edge control, and disciplined data governance.

Predictive maintenance and AI can support fault detection, but models require representative data, validation, uncertainty management, and human oversight. Cybersecurity must protect confidentiality, integrity, and availability without compromising operational safety. Ethical practice requires transparency, competence, accountability, privacy protection, and honest communication of limitations. The future engineer must combine technical depth with systems thinking, sustainability, cybersecurity, and responsible innovation.

Key Terms

Smart electrical system: An electrical system that combines sensing, communication, computation, and control with physical energy equipment.

Distributed energy resource: A relatively small generation, storage, or controllable-load resource connected near consumers.

Smart grid: A digitally monitored and coordinated electrical network supporting two-way energy and information flows.

Microgrid: A bounded electrical system capable of coordinated grid-connected operation and controlled islanding.

Inverter: A power-electronic converter that changes direct current into alternating current.

Demand response: Intentional adjustment of electricity consumption in response to system or market conditions.

State of charge: An estimate of the remaining usable battery charge, usually expressed as a percentage.

State of health: A measure of battery condition relative to its intended or new performance.

Depth of discharge: The fraction of nominal battery capacity removed during discharge.

Round-trip efficiency: Energy delivered from storage divided by energy supplied to storage.

Battery-management system: Hardware and software that monitors and protects battery cells and packs.

Internet of Things: A network of physical devices that sense, communicate, and sometimes act on data.

Edge computing: Processing performed near the physical equipment rather than exclusively in a remote cloud.

Predictive maintenance: Maintenance planning based on estimated future condition or failure risk.

Anomaly detection: Identification of behaviour that differs significantly from an established baseline.

Defence in depth: Use of multiple independent or layered security controls.

Data governance: Rules defining data access, quality, ownership, use, retention, and accountability.

Model drift: Decline in model performance caused by changes in data or operating conditions.

Life-cycle assessment: Evaluation of environmental impacts across production, use, and end-of-life stages.

Professional accountability: The obligation to accept responsibility for engineering decisions and their consequences.

Review Questions

Short Answer Questions

  1. What distinguishes a smart grid from a conventional electrical network?
  2. Define depth of discharge and round-trip efficiency.
  3. Why is edge processing useful in an electrical control system?
  4. Name three measurements that may support motor predictive maintenance.
  5. What is meant by defence in depth in cybersecurity?

Long Answer Questions

  1. Explain the principal technical challenges of integrating photovoltaic generation into a distribution network.
  2. Describe the functions of a battery-management system and discuss why nominal battery capacity is not equal to usable energy.
  3. Compare corrective, preventive, condition-based, and predictive maintenance.
  4. Discuss how electrification can produce environmental benefits while also creating new engineering challenges.
  5. Explain the ethical responsibilities of an engineer deploying an AI-based electrical diagnostic system.

Analytical / Application Questions

  1. A facility has a 30 kW essential load for 6 hours. Estimate the nominal battery energy required if the permitted depth of discharge is 75% and the applicable overall discharge efficiency is 88%. State the assumptions and explain why the result is not a final design value.
  2. Design a high-level architecture for a cyber-secure solar-battery microgrid serving a hospital or industrial plant. Identify physical equipment, sensors, control layers, communication boundaries, and human approval points.
  3. An AI diagnostic system produces frequent alarms after a motor’s production speed is changed. Analyse at least four possible causes and propose a validation and corrective-action plan.

Multiple Choice Questions with Answers

Question 1

Which feature most directly distinguishes a smart grid from a conventional distribution network?

A. It uses only fossil-fuel generators.

B. It supports coordinated two-way energy and information flows.

C. It eliminates the need for protection systems.

D. It operates without sensors.

Correct Answer: B. It supports coordinated two-way energy and information flows.

Question 2

A 48 V, 200 Ah battery has an approximate nominal energy of:

A. 0.096 kWh

B. 2.4 kWh

C. 9.6 kWh

D. 96 kWh

Correct Answer: C. 9.6 kWh

Question 3

What is the primary function of a battery-management system?

A. To replace all electrical protection devices

B. To monitor and protect battery cells and control operating limits

C. To generate photovoltaic power

D. To increase the nominal voltage of the utility grid

Correct Answer: B. To monitor and protect battery cells and control operating limits

Question 4

Which maintenance strategy uses measured equipment condition to estimate future failure risk?

A. Corrective maintenance

B. Calendar maintenance only

C. Predictive maintenance

D. Emergency replacement without inspection

Correct Answer: C. Predictive maintenance

Question 5

Why is islanding protection required in a grid-connected photovoltaic system?

A. To increase panel temperature

B. To prevent unintended energisation of an isolated utility network

C. To eliminate battery ageing

D. To reduce all communication traffic

Correct Answer: B. To prevent unintended energisation of an isolated utility network

Question 6

Which activity is most appropriate for edge computing?

A. Executing a time-critical local control response

B. Deleting all historical data automatically

C. Replacing electrical measurements with estimates

D. Allowing unrestricted remote access

Correct Answer: A. Executing a time-critical local control response

Question 7

In the residual equation r(t) = y(t) − ŷ(t), what does y(t) represent?

A. The measured output

B. The battery nominal capacity

C. The communication delay

D. The model prediction

Correct Answer: A. The measured output

Question 8

Which cybersecurity principle limits a user or device to only the permissions required for its role?

A. Least privilege

B. Reverse power flow

C. Maximum power tracking

D. Depth of discharge

Correct Answer: A. Least privilege

Question 9

A 20 kW photovoltaic array receives 4 equivalent full-sun hours and has a system factor of 0.80. Its estimated daily energy is:

A. 16 kWh

B. 64 kWh

C. 80 kWh

D. 100 kWh

Correct Answer: B. 64 kWh

Question 10

Which statement about AI-based electrical diagnostics is most accurate?

A. A high accuracy score removes the need for engineering review.

B. An anomaly always proves that a component has failed.

C. Models require representative data, validation, and monitoring for drift.

D. AI systems cannot be affected by sensor errors.

Correct Answer: C. Models require representative data, validation, and monitoring for drift.

Basic Electrical Engineering
Chapter 15 of 15