Industrial Training / Internship

Chapter 11
Automation, Digital Transformation, AI and Cybersecurity

Bachelors Program in Electrical Engineering
Industrial Training / Internship   •   Bachelor

Automation, Digital Transformation, AI and Cybersecurity

Introduction

Industrial facilities are increasingly integrated cyber-physical systems. Machines, sensors, controllers, communication networks, software platforms, operators and business systems now exchange information continuously. This integration can improve productivity, quality, energy efficiency, safety and maintenance; it also creates dependencies on data quality, software, communications and cybersecurity.

For electrical engineers, automation is no longer limited to wiring control panels or programming programmable logic controllers (PLCs). Professional practice requires understanding the complete information path: a physical process generates measurements; sensors convert them into signals; controllers make decisions; actuators change the process; supervisory systems record and visualize events; analytical and artificial-intelligence systems support decisions; and cybersecurity controls protect the entire environment.

Digital transformation should therefore be treated as an engineering and organizational change, not simply as the purchase of software. A successful transformation aligns operational technology (OT), information technology (IT), people, procedures, safety requirements and business objectives.

Learning Objectives

After studying this chapter, the reader should be able to:

  1. Explain industrial automation architectures and distinguish PLC, SCADA, DCS and MES functions.
  2. Select and evaluate industrial sensors, actuators and communication arrangements.
  3. Describe industrial IoT, edge computing, cloud platforms and digital twins.
  4. Explain responsible uses of AI for predictive maintenance and anomaly detection.
  5. Apply basic performance measures and interpret industrial data.
  6. Develop practical data-governance and cybersecurity controls for industrial environments.
  7. Evaluate automation projects from technical, operational, ethical and employability perspectives.

1. Industrial Automation as a Layered System

Industrial automation uses measurement, decision logic and controlled action to operate a process with limited manual intervention. A feedback loop normally contains a process, sensor, controller and actuator. In a temperature-control example, a thermocouple measures temperature, a PLC compares the measurement with a set point, and a control output adjusts a heater or valve.

A simplified error relationship is:

e(t) = r(t) − y(t)

Here, r(t) is the desired reference or set point, y(t) is the measured process output, and e(t) is the control error. The equation assumes that the reference and measurement represent the same physical quantity and use compatible units. A controller uses the error according to a control strategy; the equation alone is not a complete controller.

A proportional controller, for example, may be represented by:

u(t) = Kp e(t)

where u(t) is the control signal and Kp is the proportional gain. This relationship is useful for an introductory model but does not account for integral action, derivative action, saturation, delays or nonlinearities. Industrial systems frequently use PID control, sequencing logic, interlocks and safety instrumented functions together.

Automation hierarchy

A practical automation hierarchy includes:

  • Field level: sensors, transmitters, switches, motors, valves and actuators.
  • Control level: PLCs, remote terminal units (RTUs), distributed control system (DCS) controllers and safety controllers.
  • Supervisory level: human–machine interfaces (HMIs), SCADA servers, historians and alarm systems.
  • Operations level: manufacturing execution systems (MES), production scheduling, quality systems and asset management.
  • Enterprise and analytical level: resource planning, engineering analytics, cloud services and decision-support applications.

The hierarchy is useful for allocating functions, but modern architectures may connect levels through industrial Ethernet, wireless networks, gateways and application programming interfaces. The levels should not be interpreted as permission to connect every system directly. Segmentation and controlled data flows remain essential.

PLC, SCADA and DCS

A PLC is a rugged industrial controller designed for deterministic logic, sequencing, motion and process control. It commonly executes a cyclic scan: inputs are read, the program is executed, outputs are updated and diagnostics are performed. Scan time, interrupt behavior and communication delays must be considered in time-critical applications.

SCADA means supervisory control and data acquisition. A SCADA system collects information from geographically distributed equipment, presents process status to operators, records historical data and may issue supervisory commands. SCADA is not itself a substitute for local control or safety systems. Loss of the SCADA server should not normally cause an unsafe process state.

A DCS distributes control functions across controllers and is common in continuous-process industries such as chemicals, power and refining. PLC and DCS boundaries are less distinct than in the past. Selection depends on process dynamics, scale, safety requirements, vendor ecosystem, maintainability and lifecycle cost.

Safety systems deserve separate treatment. Emergency shutdown systems, safety PLCs, protective relays and mechanical protection are designed according to hazard analysis and applicable standards. A normal control system should not be assumed to provide an adequate independent safety function.

2. Sensors, Signals and Industrial Data

A sensor responds to a physical variable, while a transmitter conditions the response and produces a standardized signal. Common industrial signals include 4–20 mA current loops, 0–10 V voltage signals, pulse outputs and digital protocols. In a 4–20 mA loop, 4 mA commonly represents the lower calibrated range and 20 mA the upper range. The nonzero lower value permits detection of some open-circuit faults.

For a linearly scaled measurement, the engineering value can be calculated as:

x = xmin + (I − Imin)/(Imax − Imin) × (xmax − xmin)

where I is measured current, Imin and Imax are the calibrated current limits, and xmin and xmax are the engineering-unit limits. The formula assumes linear calibration and a valid current within the intended range.

Worked example. A pressure transmitter is calibrated from 0 to 10 bar for 4–20 mA. If the measured current is 12 mA:

x = 0 + (12−4)/(20−4) × 10 = 5 bar

The result is 5 bar. In practice, the engineer must also assess calibration uncertainty, loop resistance, grounding, electromagnetic interference, signal dropout and whether the process pressure is within a safe operating range.

Important sensor characteristics include range, resolution, sensitivity, accuracy, repeatability, hysteresis, response time, drift and environmental rating. A highly precise sensor is not automatically accurate, and high-resolution data cannot correct a poorly calibrated instrument.

Data quality dimensions include:

  • Completeness: required values are present.
  • Validity: values conform to permitted formats and ranges.
  • Accuracy: values represent the physical process adequately.
  • Consistency: related systems use compatible definitions and units.
  • Timeliness: data arrive sufficiently quickly for the decision.
  • Traceability: the origin, transformation and responsible system are known.

Alarm design is also an engineering issue. Excessive alarms produce alarm floods, while poorly configured limits can hide genuine hazards. Alarm priorities should reflect consequence and required response time, and each important alarm should have a documented operator action.

3. Industrial Communication and IIoT

Industrial communication connects devices and applications. Examples include Modbus TCP, OPC UA, PROFINET, EtherNet/IP, HART, CAN-based systems and industrial wireless technologies. Protocol selection should consider determinism, interoperability, latency, bandwidth, environmental conditions, diagnostics, vendor support and security.

The industrial Internet of Things (IIoT) extends conventional automation by connecting assets, data platforms and analytical applications. A typical flow is:

sensor → controller → edge gateway → message broker → data platform → analytics → operator or maintenance workflow

IIoT does not necessarily mean sending every raw signal to the public cloud. High-frequency, safety-critical or proprietary data may be processed locally, while selected summaries are transmitted to centralized platforms.

Edge and cloud computing

Edge computing places computation near the equipment. It can reduce latency, limit bandwidth use, continue operation during loss of external connectivity and support local privacy. Cloud computing offers scalable storage, centralized analytics, fleet-level comparisons and managed services. A hybrid architecture commonly uses both.

A design decision should examine:

  1. What response time is required?
  2. What happens if the network or cloud service is unavailable?
  3. Which data may leave the facility?
  4. Who owns and governs the data?
  5. How will software updates and identities be managed?
  6. Can the system be restored after failure?

4. Digital Twins

A digital twin is a maintained digital representation of a physical asset, process or system, linked to relevant operational data. It is more than a static three-dimensional model. Depending on purpose, a twin may support condition monitoring, simulation, commissioning, production optimization or operator training.

A useful twin requires:

  • a clearly defined physical scope;
  • an identifiable relationship between physical and digital entities;
  • synchronized data with known timestamps and units;
  • models whose assumptions are documented;
  • validation against observations; and
  • governance for revisions and ownership.

Digital twins have limitations. A model may be inaccurate because of unknown operating conditions, sensor bias, changes in equipment, incomplete failure data or incorrect assumptions. A twin should support engineering judgment rather than create unjustified confidence.

5. Artificial Intelligence in Industrial Practice

AI systems identify patterns, estimate states or classify conditions from data. In industry, suitable uses include predictive maintenance, quality inspection, energy optimization, demand forecasting and anomaly detection. The engineering question is not whether AI is fashionable, but whether it improves a defined decision under acceptable risk.

Predictive maintenance

Preventive maintenance is scheduled by time or usage. Predictive maintenance uses condition information to estimate degradation or failure risk. Useful inputs may include vibration, temperature, current, pressure, lubricant condition, operating load and maintenance history.

A simple anomaly score can be defined as:

z = (x − μ)/σ

where x is a current observation, μ is the reference mean and σ is the reference standard deviation. This score is meaningful only when the reference population is reasonably stable and the standard deviation is nonzero. A large absolute score may indicate an anomaly, but it does not prove a fault. Operating mode, sensor faults and process changes must be considered.

For a normally distributed and stable variable, a threshold such as |z| > 3 is sometimes used as an initial screening rule. It is not universal: industrial data are often non-normal, autocorrelated, seasonal and multimodal.

A maintenance decision should combine model output with consequence, inspection evidence, asset criticality and technician judgment. False negatives may permit equipment damage; false positives may cause unnecessary shutdowns and erode trust.

Responsible AI

Responsible industrial AI requires:

  • documented purpose and decision authority;
  • representative, high-quality and legally usable data;
  • validation on data not used for training;
  • monitoring for drift and changing operating conditions;
  • explainable outputs appropriate to the user;
  • human review for consequential decisions;
  • cybersecurity of models, data and interfaces; and
  • a rollback or safe fallback procedure.

AI should not silently override protective interlocks or safety functions. If an AI recommendation affects a safety-critical operation, its role, validation evidence and human authorization must be explicit.

6. Data Governance and Interoperability

Data governance defines how data are created, classified, accessed, protected, retained, corrected and deleted. An industrial data-governance program should assign owners and custodians, establish naming conventions, define master data, maintain metadata and record lineage.

A tag such as P-101.PV should have a documented meaning, unit, location, sampling rate, quality status, timestamp convention and responsible system. Without these definitions, combining data from different plants can produce apparently precise but invalid analyses.

Governance must address:

  • access rights and least privilege;
  • retention and archival periods;
  • personally identifiable information where worker data are collected;
  • intellectual property and supplier restrictions;
  • data residency and contractual obligations;
  • backup, recovery and evidential integrity; and
  • change management.

Interoperability is both technical and semantic. A common protocol may transport data successfully while different systems interpret tags, states or units differently. Information models and controlled vocabularies are therefore important.

7. Industrial Cybersecurity

Industrial cybersecurity protects confidentiality, integrity and availability while also respecting safety, reliability and process continuity. In OT, availability and predictable behavior may be more urgent than confidentiality, although all three remain relevant.

Threats include ransomware, credential theft, removable-media malware, insecure remote access, supply-chain compromise, exploitation of outdated devices, denial of service and unauthorized logic changes. Consequences may include production loss, environmental release, equipment damage, unsafe conditions and compromise of proprietary information.

Layered controls

Effective security uses defense in depth:

  1. Asset inventory: identify devices, software, owners, versions and communication paths.
  2. Risk assessment: evaluate threats, vulnerabilities, likelihood and consequence.
  3. Segmentation: separate enterprise IT, industrial DMZ, supervisory networks, control networks and safety-related systems as appropriate.
  4. Identity control: use unique accounts, strong authentication, least privilege and controlled vendor access.
  5. Secure configuration: disable unnecessary services, manage passwords and harden endpoints.
  6. Patch and vulnerability management: test changes before deployment and provide compensating controls where patching is unsafe.
  7. Monitoring: collect logs, network events, authentication records and engineering-change evidence.
  8. Backup and recovery: maintain offline or protected backups and test restoration.
  9. Incident response: define detection, containment, communication, recovery and lessons-learned procedures.
  10. Training: develop operator, engineer, contractor and management awareness.

Controls must be implemented without disrupting deterministic control or safety. Passive monitoring may be preferable to intrusive scanning on fragile legacy devices. Remote access should be time-limited, approved, logged and terminated when work is complete.

Common reference points include the ISA/IEC 62443 family for industrial automation and control-system security, the NIST Cybersecurity Framework and sector-specific safety and privacy requirements. Organizations should use current editions and applicable national regulations rather than treating a standard as a substitute for risk assessment.

8. Applied Case: Illustrative Packaging-Line Transformation

Background

A fictional food-packaging plant operates several motor-driven conveyors, fillers and sealers. Unplanned failures of conveyor bearings stop the line. The plant has PLC control and an HMI, but vibration data are recorded only during occasional inspections.

Problem analysis

An engineering team first inventories assets and identifies the conveyor drive bearings as high-criticality items. It finds that motors operate at different speeds and loads, so a single vibration threshold would generate misleading alarms. Existing tag names also differ between the PLC, maintenance database and historian.

Approach

The team installs vibration and temperature sensors with suitable environmental ratings. A local edge gateway collects data, attaches asset identity and operating-mode information, and forwards selected features to an analytical platform. The PLC retains control authority; the AI system provides a maintenance recommendation only.

A baseline is established for each asset and operating mode. The analytics calculates features such as root-mean-square vibration and temperature trend, then compares current behavior with validated reference data. Maintenance personnel receive a recommendation containing asset identity, evidence, confidence, suggested inspection and a link to the relevant procedure.

Cybersecurity measures include network segmentation, unique accounts, multifactor authentication for remote maintenance, allow-listed communications, signed configuration backups and an incident-response exercise. The plant also defines data ownership, retention and model-monitoring responsibilities.

Outcome

In this illustrative case, the plant reduces unexpected stoppages after technicians confirm deteriorating bearings during planned maintenance. The result is not attributed solely to AI: improved sensing, asset data, work procedures, operator training and disciplined maintenance planning all contribute. The model is reviewed after a production change because operating modes and baseline distributions have shifted.

Learning points

The case demonstrates that successful industrial AI depends on instrumentation, contextual data, workflow integration, human expertise, cybersecurity and governance. A technically accurate model that produces no actionable maintenance process has little operational value.

9. Implementation, Evaluation and Employability

A disciplined transformation normally proceeds through discovery, risk assessment, pilot implementation, validation, controlled scaling and continuous improvement. Pilot selection should balance business value, technical feasibility, safety and reversibility. Success measures may include availability, mean time between failures, mean time to repair, energy intensity, scrap rate, alarm rate, false-alarm burden and cybersecurity response time.

Mean time between failures (MTBF) is commonly calculated as:

MTBF = total operating time / number of failures

Mean time to repair (MTTR) is commonly calculated as:

MTTR = total corrective-maintenance time / number of repairs

These measures require consistent definitions. For example, the organization must specify whether planned downtime, standby time and partial failures are included. MTBF and MTTR should not be compared across assets without considering duty cycle, operating environment and failure-reporting practices.

Electrical engineering interns can contribute by documenting I/O lists, checking signal scaling, testing interlocks under authorization, analyzing historian data, validating sensor installation, preparing network diagrams, reviewing backups, writing operating procedures and participating in hazard and cybersecurity assessments. Professional conduct requires respecting change-control procedures, never bypassing safety controls without authorization, protecting credentials and reporting anomalies promptly.

10. Challenges, Ethics and Future Directions

Automation can displace some tasks while creating demand for controls engineers, data engineers, cybersecurity specialists and technicians capable of interdisciplinary work. Reskilling should accompany deployment. Worker monitoring requires proportionality, transparency and respect for privacy. AI-based performance evaluations can reproduce bias if data reflect unequal work assignments or faulty measurement.

Other limitations include vendor lock-in, legacy equipment, uncertain return on investment, poor connectivity, insufficient maintenance data, model drift and the difficulty of proving cybersecurity resilience. Technology choices should account for lifecycle cost, spare parts, licensing, training, obsolescence and exit strategies.

Contemporary developments include time-sensitive networking, private industrial wireless networks, zero-trust approaches adapted to OT, federated analytics, autonomous inspection, energy-aware control and increased use of digital engineering models. These developments do not eliminate fundamentals: sound instrumentation, deterministic control, safe design, clear data definitions, tested recovery and accountable human decisions remain essential.

Chapter Summary

Industrial automation integrates sensors, controllers, actuators, supervisory systems and operational software. PLCs provide local deterministic control, SCADA provides supervision and data acquisition, and DCS architectures distribute process-control functions. Sensor selection and signal scaling require attention to calibration, units, uncertainty and environmental conditions.

IIoT connects industrial assets with edge and cloud platforms, but architecture must reflect latency, resilience, privacy and security requirements. Digital twins are maintained digital representations that require valid identity links, synchronized data, documented assumptions and validation. AI can support predictive maintenance and anomaly detection, but its outputs must be contextualized, monitored and subject to human and safety controls.

Data governance provides trustworthy definitions, ownership, access control, lineage and retention. Industrial cybersecurity uses defense in depth, including inventories, segmentation, identity management, secure configuration, monitoring, recovery and incident response. The central professional lesson is that digital transformation is a socio-technical engineering project: value depends on people, process, technology, safety and governance acting together.

Key Terms

Automation: Use of measurement, logic and actuation to operate a process with limited manual intervention.

PLC: Programmable logic controller used for industrial control, sequencing and automation.

SCADA: Supervisory control and data acquisition system for monitoring and supervisory operation.

DCS: Distributed control system used especially for large continuous processes.

HMI: Human–machine interface through which operators view and interact with equipment.

IIoT: Industrial Internet of Things connecting industrial assets, data and applications.

Edge computing: Processing data near the physical source or industrial equipment.

Cloud computing: Shared, scalable computing and storage delivered through networked platforms.

Digital twin: Maintained digital representation linked to a physical asset or process.

Predictive maintenance: Maintenance planning supported by condition and degradation information.

Anomaly detection: Identification of observations or patterns that differ from expected behavior.

Data governance: Policies and responsibilities controlling data quality, access, use and lifecycle.

Operational technology: Systems that monitor or control physical industrial processes.

Industrial DMZ: Controlled network zone mediating communication between enterprise and industrial networks.

Defense in depth: Use of multiple independent or complementary security layers.

Least privilege: Granting only the access required for an authorized task.

Model drift: Degradation of an analytical model as data or operating conditions change.

MTBF: Mean operating time between recorded failures.

MTTR: Mean time required to restore equipment through repair.

Review Questions

Short Answer Questions

  1. What are the principal functions of a PLC and a SCADA system?
  2. Why is 4–20 mA commonly used in industrial instrumentation?
  3. Distinguish edge computing from cloud computing.
  4. What is meant by data lineage?
  5. Name four controls used in industrial cybersecurity.

Long Answer Questions

  1. Explain a layered industrial automation architecture and discuss the responsibilities of field, control, supervisory and operations levels.
  2. Discuss the technical and organizational requirements for deploying predictive maintenance responsibly.
  3. Explain how digital twins can support maintenance and commissioning, including their limitations.
  4. Develop a defense-in-depth cybersecurity plan for a legacy industrial control network.
  5. Evaluate the role of data governance in integrating PLC, historian, maintenance and cloud data.

Analytical / Application Questions

  1. A 4–20 mA transmitter is scaled from 0 to 250 °C and reads 16 mA. Calculate the indicated temperature, state the linearity assumption, and identify two practical error sources.
  2. A plant’s anomaly model produces many alarms after a new product is introduced. Analyze possible causes and propose a validation and governance response.
  3. Design a high-level architecture for connecting a remote pumping station to an edge platform and enterprise analytics. Explain segmentation, fallback operation, identity management and incident recovery.

Multiple Choice Questions with Answers

Question 1

Which system is primarily responsible for supervisory monitoring, visualization and historical data acquisition?

A. SCADA

B. Actuator

C. Safety valve

D. Signal isolator

Correct Answer: A. SCADA

Question 2

A 4–20 mA transmitter scaled from 0 to 10 bar produces 12 mA. What pressure does the linear scaling equation indicate?

A. 2.5 bar

B. 5 bar

C. 7.5 bar

D. 8 bar

Correct Answer: B. 5 bar

Question 3

What is a principal advantage of edge computing in an industrial application?

A. It guarantees that all data are public.

B. It removes the need for sensors.

C. It can provide local processing during loss of external connectivity.

D. It eliminates all cybersecurity risks.

Correct Answer: C. It can provide local processing during loss of external connectivity.

Question 4

Which statement best describes a digital twin?

A. A static photograph of a machine

B. A maintained digital representation linked to a physical asset or process

C. A replacement for every safety system

D. A network cable standard

Correct Answer: B. A maintained digital representation linked to a physical asset or process

Question 5

In the standardized score z = (x−μ)/σ, what does σ represent?

A. The current observation

B. The reference mean

C. The reference standard deviation

D. The control output

Correct Answer: C. The reference standard deviation

Question 6

Why should an AI recommendation generally not directly override a safety interlock?

A. AI cannot use numerical data.

B. Safety functions require explicitly validated and controlled protection mechanisms.

C. Interlocks are designed only for office networks.

D. AI recommendations are always slower than sensors.

Correct Answer: B. Safety functions require explicitly validated and controlled protection mechanisms.

Question 7

Which cybersecurity practice most directly limits the damage caused by a compromised user account?

A. Least privilege

B. Increasing screen brightness

C. Removing all alarms

D. Using identical passwords for all users

Correct Answer: A. Least privilege

Question 8

Which data-quality dimension concerns whether a value arrives sufficiently quickly for its intended decision?

A. Completeness

B. Timeliness

C. Ownership

D. Compression

Correct Answer: B. Timeliness

Question 9

A maintenance department reports 600 operating hours and 3 failures. Using MTBF = total operating time ÷ number of failures, what is the MTBF?

A. 20 hours

B. 200 hours

C. 597 hours

D. 1,800 hours

Correct Answer: B. 200 hours

Question 10

Which approach is most appropriate when patching a legacy controller could disrupt a critical process?

A. Patch it immediately without testing

B. Ignore the vulnerability permanently

C. Test the patch and apply compensating controls where necessary

D. Disconnect all safety systems

Correct Answer: C. Test the patch and apply compensating controls where necessary

Industrial Training / Internship
Chapter 11 of 15