Production & Manufacturing Technology

Chapter 14
Automation, Robotics and Digital Manufacturing

Bachelors Program in Mechnical Engineering
Production & Manufacturing Technology   •   Bachelor

Automation, Robotics and Digital Manufacturing

Introduction and Context

Manufacturing has progressed from manually controlled machines to integrated cyber-physical production systems. Automation combines sensing, decision-making and actuation so that machines can perform operations with reduced human intervention. Robotics extends automation by providing programmable motion and manipulation. Digital manufacturing connects product models, process plans, equipment, production data and business systems through digital technologies.

Contemporary factories are not defined merely by robot density. Their competitiveness depends on reliable data, flexible equipment, interoperable software, safe human–machine collaboration and decisions based on evidence. Technologies such as programmable logic controllers (PLCs), computer-aided manufacturing (CAM), industrial robots, industrial Internet of Things (IIoT), digital twins and artificial intelligence (AI) therefore need to be understood as parts of an integrated manufacturing architecture.

Learning Objectives

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

  1. Explain the functions of sensors, actuators, PLCs and industrial control systems.
  2. Select and evaluate industrial robots for manufacturing tasks.
  3. Describe the relationships among CAD, CAM, CAPP and CIM.
  4. Explain IIoT, smart-factory architectures and digital twins.
  5. Apply manufacturing data and AI to inspection, predictive maintenance and optimization.
  6. Evaluate safety, cybersecurity, ethical and organizational issues in automation projects.

1. Automation as a Manufacturing System

Automation is the use of control systems and information technologies to operate equipment, regulate processes and coordinate production with limited direct manual control. It may be classified as:

TypeMain characteristicTypical application
Fixed automationDedicated equipment and rigid sequenceHigh-volume transfer line
Programmable automationProgram can be changed between batchesCNC machining, batch production
Flexible automationSeveral products can be produced with little changeoverRobotic cell with automatic tooling
Integrated automationEquipment, information and planning systems are connectedSmart factory

A production system normally contains four interacting layers:

  • Physical layer: machines, tools, materials, sensors and actuators.
  • Control layer: PLCs, robot controllers, CNC controllers and distributed control systems.
  • Supervisory layer: human–machine interfaces (HMIs), supervisory control and data acquisition (SCADA), manufacturing execution systems (MES).
  • Enterprise layer: enterprise resource planning (ERP), supply-chain systems, quality and maintenance databases.

Automation should be justified by production requirements rather than by technology novelty. Relevant criteria include production volume, product variety, takt time, repeatability, quality requirements, worker safety, changeover time, maintainability and total cost of ownership.

Essential Performance Measures

For a machine or cell, availability, performance and quality are commonly combined in overall equipment effectiveness (OEE):

OEE = A × P × Q

where A is availability, P is performance efficiency and Q is quality rate. Each factor is dimensionless and normally expressed as a fraction or percentage. A common definition is:

A = Operating time ÷ Planned production time
P = (Ideal cycle time × Total pieces) ÷ Operating time
Q = Good pieces ÷ Total pieces

These definitions assume that the time periods and quantities are measured consistently. OEE is a diagnostic indicator, not a complete measure of factory profitability; it does not directly capture energy, labor cost, delivery performance or inventory.

Worked example. A cell is scheduled for 480 min, experiences 60 min of downtime, produces 800 parts, has an ideal cycle time of 0.45 min/part, and produces 24 rejected parts. Operating time is 420 min. Thus:

A = 420/480 = 0.875; P = (0.45 × 800)/420 = 0.857; and Q = 776/800 = 0.970. Therefore, OEE ≈ 0.875 × 0.857 × 0.970 = 0.727, or approximately 72.7%.

2. Sensors, Actuators and Feedback Control

A sensor converts a physical variable into a usable signal. Common variables include position, speed, force, temperature, pressure, vibration, proximity, light and chemical composition. Sensors may provide discrete signals, such as an inductive proximity switch, or continuous signals, such as a thermocouple or 4–20 mA pressure transmitter.

Important sensor characteristics include range, resolution, accuracy, repeatability, hysteresis, response time, drift, environmental resistance and calibration requirements. Accuracy describes closeness to the true value, whereas repeatability describes consistency under repeated conditions. A sensor can be highly repeatable but systematically inaccurate if it is miscalibrated.

An actuator converts a control signal into physical action. Examples include:

  • electric motors and servo drives;
  • pneumatic cylinders and valves;
  • hydraulic cylinders and proportional valves;
  • solenoids, relays and contactors; and
  • robotic end effectors and grippers.

A feedback control loop measures the output, compares it with a desired setpoint and adjusts the actuator. In a general loop, the error is:

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

where r(t) is the reference or setpoint, y(t) is the measured output and e(t) is the error. The relation assumes that the variables have compatible units and sign conventions.

A proportional–integral–derivative (PID) controller is commonly represented as:

u(t) = Kp e(t) + Ki ∫₀ᵗ e(τ)dτ + Kd de(t)/dt

Here u(t) is the control signal, Kp, Ki and Kd are controller gains, and τ is an integration variable. In practice, derivative action is filtered, integral wind-up is limited, and gains must be tuned for the process. PID control is appropriate for many continuous processes but does not replace specialist control methods when the system is strongly nonlinear, unstable or subject to constraints.

Signal conditioning includes amplification, filtering, isolation, linearization and analog-to-digital conversion. Poor grounding, electromagnetic interference, loose connections and unsuitable sampling rates can make an otherwise excellent sensor unreliable.

3. PLCs and Industrial Control

A PLC is a rugged programmable computer designed for deterministic control of industrial equipment. A typical PLC contains a central processing unit, input and output modules, communications interfaces, power supply and programming memory. It repeatedly performs a scan:

  1. read input states;
  2. execute the control program;
  3. update outputs; and
  4. perform diagnostics and communications.

The scan-cycle model is useful but not universal; high-speed interrupts, motion modules and distributed I/O can operate outside the ordinary scan. PLC programming commonly uses ladder logic, function-block diagrams, structured text and sequential function charts.

A simple interlock may require a motor to run only when the start command is active, the guard is closed, the emergency-stop circuit is healthy and an overload has not tripped. Safety functions should not depend solely on ordinary control logic. Safety-rated relays, safety PLCs, dual-channel circuits and validated risk-reduction measures may be required.

Industrial communication protocols include fieldbus systems and industrial Ethernet technologies. Interoperability requires agreement on physical connections, data formats, timing, addressing, semantics and cybersecurity. A connected machine that cannot provide trustworthy data is not truly digital.

4. Industrial Robotics

An industrial robot is a reprogrammable, multifunctional manipulator capable of moving materials, parts, tools or specialized devices through programmed motions. Major robot types include:

Robot typeStrengthsTypical uses
CartesianSimple geometry and high rigidityGantry handling, machining
SCARAFast planar assemblyPick-and-place, insertion
ArticulatedBroad reach and flexibilityWelding, painting, handling
DeltaVery high speed for light loadsPackaging, sorting
Collaborative robotDesigned for selected human-sharing applicationsAssembly, inspection, machine tending

Robot selection depends on payload, reach, number of axes, repeatability, speed, workspace, wrist orientation, environmental rating, controller capability, tooling and safety requirements. Payload is not merely the mass of the part; it includes the end effector, cables and dynamic loads.

Robot position is described using coordinate frames. Forward kinematics determines the tool pose from joint variables, while inverse kinematics determines joint configurations for a desired pose. A six-axis articulated robot can often reach a pose through multiple configurations, but some poses may be unreachable or near singularities. Near a singularity, small Cartesian motions may require very large joint speeds, reducing control quality.

Robot programming may be performed by teach pendant, offline programming, lead-through methods or higher-level task programming. Good programs include calibrated tool and work-object frames, controlled acceleration, approach and retreat paths, error recovery, safe homing and verification under reduced speed.

End effectors include mechanical grippers, vacuum cups, magnetic grippers, welding guns, spray guns, deburring tools and force-controlled devices. Gripper selection must consider part geometry, surface condition, mass, acceleration, temperature and the consequences of grip loss.

Robot safety requires risk assessment, guarding, presence sensing, safe speed and separation monitoring, emergency stops, lockout/tagout and validated safety controls. Collaborative operation is not automatically safe merely because a robot is marketed as collaborative; the complete application, tool, workpiece, speed and contact hazards must be assessed.

5. CAD, CAM, CAPP and CIM

Computer-aided design (CAD) represents product geometry, materials, tolerances and design intent. Computer-aided manufacturing (CAM) converts product information into manufacturing operations, toolpaths, process parameters and machine code. Computer-aided process planning (CAPP) determines how a product should be manufactured, including operation sequence, machines, tools, fixtures, inspection and estimated times.

CAPP may be:

  • variant: retrieves and modifies a standard plan for a similar part; or
  • generative: creates a plan using rules, feature recognition, databases and optimization.

Computer-integrated manufacturing (CIM) is the coordinated integration of design, planning, production, quality, material handling and business information. CIM is not simply “a factory controlled by computers”; it requires common data structures, disciplined processes and organizational integration.

A typical digital product flow is:

Digital manufacturing information flow CAD CAPP CAM / CNC Production Inspection, MES and process data feedback for design and planning
Digital manufacturing information flow from product design to factory feedback
Figure: Digital manufacturing information flow from product design to factory feedback

Figure: Digital manufacturing information flow with feedback from production to design and planning.

Data exchange standards and product lifecycle management reduce duplicated data entry and configuration errors. Nevertheless, automated generation does not guarantee a manufacturable design. Engineers must verify tolerances, fixturing, tool access, material behavior, machine limits and inspection capability.

6. IIoT, Smart Factories and Digital Twins

The industrial Internet of Things connects industrial assets, sensors, controllers, software and people so that data can be collected and used across operations. A practical IIoT architecture commonly includes:

  1. Devices and edge acquisition: sensors, PLCs, drives and local gateways.
  2. Edge processing: filtering, aggregation, buffering and rapid local decisions.
  3. Connectivity: industrial networks and secure message services.
  4. Data platform: historians, time-series databases and contextualized data models.
  5. Applications: dashboards, MES, quality analytics, maintenance and optimization.
  6. Governance: identity, access control, audit, data ownership and lifecycle management.

A smart factory is not simply a connected factory. It uses contextualized information to adapt operations, coordinate resources and improve decisions. Context may include product identity, tool condition, operator, recipe, material lot, environmental conditions and timestamp.

A digital twin is a digital representation of a physical asset, process or system that is connected to relevant data and can support analysis or decision-making. A static CAD model is not necessarily a digital twin. A useful twin has:

  • a defined physical scope and purpose;
  • a reliable correspondence between physical and digital states;
  • time-stamped data and model assumptions;
  • mechanisms for validation and synchronization; and
  • governance for changes, access and uncertainty.

Digital twins can support commissioning, throughput analysis, energy studies, virtual sensing, maintenance planning and operator training. Their predictions are only as credible as the sensors, models, assumptions and validation procedures supporting them.

7. Manufacturing Data, AI and Decision Support

Manufacturing data may be structured, such as production counts and alarm codes, or unstructured, such as images, maintenance notes and vibration waveforms. The data pipeline includes acquisition, cleaning, synchronization, contextualization, feature construction, modeling, deployment and monitoring.

Inspection and Quality

Machine vision systems typically use lighting, optics, image acquisition, preprocessing, segmentation, feature extraction and classification. AI-based inspection can detect surface defects, dimensional deviations and assembly errors. A model must be evaluated using representative data, including normal variation, rare defects, changes in lighting and new product batches.

A confusion matrix distinguishes:

  • true positive: defect correctly identified;
  • false positive: good part incorrectly rejected;
  • true negative: good part correctly accepted; and
  • false negative: defect missed.

Precision and recall are:

Precision = TP ÷ (TP + FP)
Recall = TP ÷ (TP + FN)

where TP, FP and FN are counts of the respective outcomes. These metrics apply to a defined class and dataset. In safety- or quality-critical inspection, the cost of false negatives and false positives should determine the operating threshold; accuracy alone can be misleading when defects are rare.

Predictive Maintenance

Predictive maintenance estimates developing failure or remaining useful life from condition data. Useful signals include vibration, motor current, temperature, lubricant condition, acoustic emission and alarm history. A simple anomaly score may compare a current feature with a baseline:

z = (x − μ) ÷ σ

where x is the current measurement, μ is the baseline mean and σ is the baseline standard deviation. This standard-score approach assumes a meaningful baseline and is most interpretable when the feature distribution is approximately stable. It is not, by itself, proof of failure.

Predictive maintenance should be compared with preventive and reactive alternatives using total cost, failure consequences, data quality and maintenance capability. False alarms can create unnecessary work, while missed alarms can cause costly downtime.

Optimization and Decision Support

Optimization may address scheduling, tool selection, energy consumption, inventory, routing or process parameters. A generic constrained optimization problem is:

minimize f(x) subject to gi(x) ≤ 0, i = 1,…,m; hj(x) = 0, j = 1,…,p

Here x is the decision vector, f(x) is the objective, and gi and hj represent inequality and equality constraints. The model is useful only when objectives, constraints and parameter estimates reflect physical and business reality. An optimizer should not be allowed to select an unsafe or infeasible operating point merely because it improves a numerical objective.

AI systems may be supervised, unsupervised, reinforcement-based or hybrid physics–data models. In manufacturing, hybrid approaches are often valuable because physical knowledge improves generalization and helps engineers interpret results. Deployment requires version control, drift monitoring, human review and a defined response when confidence is low.

8. Implementation Methodology

A sound automation project proceeds through staged analysis:

  1. Define the business and technical problem using measurable requirements.
  2. Map the existing process, including variation, bottlenecks and failure modes.
  3. Establish safety, quality, cybersecurity and regulatory requirements.
  4. Select sensing, control, robot, software and data architecture.
  5. Develop a small proof of concept with representative conditions.
  6. Validate performance against baseline measures.
  7. Integrate equipment, train personnel and document maintenance procedures.
  8. Commission gradually, beginning with simulation and dry runs.
  9. Monitor outcomes and continuously improve the system.

Economic evaluation should include capital cost, integration, training, software licenses, tooling, utilities, maintenance, downtime during installation and eventual replacement. Simple payback is:

Payback period = Initial investment ÷ Annual net cash benefit

This measure assumes approximately constant annual net benefit and ignores the time value of money; discounted cash-flow methods are preferable for major investments.

9. Illustrative Case: Automated Inspection and Predictive Maintenance Cell

Background. A medium-sized manufacturer produces machined aluminum housings. Operators load parts into a CNC cell, inspect critical bores manually and respond to machine alarms. Quality escapes occur intermittently, and spindle-bearing failures cause unplanned downtime.

Problem. The company needs higher inspection consistency and earlier warning of spindle degradation without removing skilled operators from final decisions.

Analysis. The team maps the process and identifies three information gaps: inspection results are not linked to machine conditions; vibration data are sampled only during scheduled checks; and alarm codes are not classified by severity. A baseline shows 8% scrap or rework, 55 minutes of average daily downtime and inconsistent inspection cycle time.

Approach. A camera, controlled lighting and calibrated dimensional gauges are installed at the inspection station. Each part receives a traceable identity linked to machine, tool, material lot and time. A vibration sensor and spindle-temperature sensor feed an edge gateway. The gateway filters data and sends features to a historian. A classification model flags likely defects, while a rules-based maintenance dashboard identifies abnormal vibration trends. Operators retain authority to confirm rejects and maintenance recommendations.

The system is first tested offline using historical and deliberately varied samples. It is then run in shadow mode, in which predictions are recorded but do not control production. After validation, the inspection model is introduced with a conservative threshold and periodic human audits.

Outcome. In this illustrative case, scrap and rework fall from 8% to 4.5%, and a developing spindle problem is identified during planned downtime rather than through an emergency failure. The improvement is not attributed to AI alone: better lighting, traceability, disciplined calibration and operator involvement are equally important. The company also discovers that a model trained on one aluminum alloy performs poorly on another, demonstrating the need for data stratification and drift monitoring.

Learning points. Automation projects succeed when the process is understood before technology is purchased; data are contextualized; safety and quality decisions remain governed; and performance is measured against a baseline. A pilot should test maintainability and organizational adoption, not merely technical feasibility.

10. Challenges, Governance and Professional Responsibility

Safety

Hazards include unexpected motion, crushing, cutting, stored pneumatic or hydraulic energy, electrical shock, welding radiation and interaction with sharp or hot parts. Risk reduction follows a hierarchy: eliminate hazards where possible, use engineered safeguards, apply administrative controls and provide personal protective equipment. Validation is essential because a safety function that appears correct may fail under a single fault or maintenance condition.

Cybersecurity

Connected production systems are exposed to unauthorized access, ransomware, manipulation of recipes and loss of availability. Good practice includes network segmentation, least-privilege access, multifactor authentication where appropriate, secure backups, patch management, asset inventories, logging, incident response and controlled remote access. Security must be designed into the architecture rather than added after commissioning.

Data and AI Governance

Manufacturing data may reveal worker performance, proprietary processes or supplier information. Governance should define ownership, retention, access, consent where applicable and acceptable uses. AI decisions should be traceable, validated for bias and reviewed by competent personnel. A model should not silently change production limits without change control.

Human Factors and Employment

Automation changes work rather than simply eliminating it. New responsibilities include robot programming, data engineering, process validation, cybersecurity and equipment diagnosis. Training should address both technical competence and the limits of automation. Operators should have clear authority to stop unsafe production and report model failures without penalty.

Limitations

Automation can increase dependence on suppliers, software versions and specialist skills. Poorly designed systems may reduce flexibility, amplify errors at high speed or create hidden single points of failure. Digital models may diverge from physical reality, sensors may drift and AI may perform poorly under conditions absent from its training data. Resilience therefore requires manual fallback procedures, spares, documentation and periodic revalidation.

11. Contemporary Developments and Best Practices

Current development is moving toward interoperable data spaces, edge AI, low-code industrial applications, additive and subtractive hybrid manufacturing, autonomous mobile robots, collaborative workcells, energy-aware scheduling and physics-informed machine learning. These technologies are most valuable when they address a verified operational need.

Best practices include:

  • standardize data names, units, timestamps and asset identities;
  • separate safety control from convenience automation;
  • validate sensors and maintain calibration records;
  • use simulation and offline programming before live commissioning;
  • design for maintainability, access and component replacement;
  • measure quality, delivery, energy and safety—not only utilization;
  • test AI on independent and changing datasets;
  • retain human override and safe-state behavior;
  • document assumptions, versions and responsibility; and
  • improve incrementally through monitored pilots.

Chapter Summary

Automation integrates sensing, control and actuation to perform manufacturing operations consistently and safely. Sensors provide information, actuators create physical action, and PLCs execute deterministic control logic. Industrial robots add programmable manipulation, but selection must account for payload, reach, repeatability, tooling, workspace and safety.

CAD, CAM, CAPP and CIM connect product definition with process planning, machine execution and enterprise information. IIoT architectures extend this connection through edge devices, networks, data platforms and applications. Digital twins provide synchronized digital representations for analysis, commissioning and maintenance, provided their data and assumptions are validated.

Manufacturing data support machine vision, predictive maintenance and optimization. Precision, recall, OEE and anomaly scores are useful only when their definitions, units, baselines and limitations are understood. Successful implementation requires staged pilots, economic analysis, cybersecurity, safety validation, human expertise and governance of AI and data. Smart manufacturing is therefore a socio-technical system, not merely a collection of machines and software.

Key Terms

Automation: Use of control systems to operate processes with limited direct human intervention.

Actuator: Device that converts a control signal into physical action.

Sensor: Device that measures a physical variable and produces a usable signal.

PLC: Industrial computer designed for deterministic machine control.

SCADA: Supervisory system for monitoring and controlling distributed processes.

Industrial robot: Programmable manipulator used to move parts, tools or materials.

End effector: Tool or gripper attached to a robot wrist.

CAD: Computer-aided design of products and geometry.

CAM: Computer-aided generation of manufacturing operations and toolpaths.

CAPP: Computer-aided process planning.

CIM: Integrated computer-based coordination of manufacturing activities.

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

Digital twin: Data-connected digital representation of a physical asset or process.

MES: Manufacturing execution system coordinating and recording production operations.

OEE: Product of availability, performance and quality rates.

Predictive maintenance: Maintenance based on condition or failure predictions.

Machine vision: Automated image-based sensing and inspection.

Edge computing: Processing data near the physical source.

Cyber-physical system: System combining physical processes with computation and communication.

False negative: Defective condition incorrectly classified as acceptable.

Review Questions

Short Answer Questions

  1. Distinguish fixed, programmable and flexible automation.
  2. What are the four principal steps in a PLC scan cycle?
  3. Define a digital twin and explain why a CAD model alone is insufficient.
  4. State the three factors used to calculate OEE.
  5. Differentiate precision from recall in automated inspection.

Long Answer Questions

  1. Explain the architecture of a smart factory from sensors to enterprise systems.
  2. Discuss the engineering factors involved in selecting an industrial robot and end effector.
  3. Explain how CAD, CAM, CAPP and CIM support digital manufacturing.
  4. Describe a complete methodology for implementing predictive maintenance.
  5. Evaluate the safety, cybersecurity and human-factor issues in a connected robotic cell.

Analytical / Application Questions

  1. A production cell is planned for 450 minutes, operates for 390 minutes, produces 720 parts, has an ideal cycle time of 0.50 minutes per part, and produces 18 rejects. Calculate availability, performance, quality and OEE. Interpret the largest loss.
  2. Design an IIoT data architecture for a CNC machine that must support real-time alarms, historical analysis and predictive maintenance. Specify what should occur at the device, edge, platform and application layers.
  3. A vision model has TP = 92, FP = 8 and FN = 10. Calculate precision and recall, then explain whether the threshold should be changed for a safety-critical defect and what additional evidence is required.

Multiple Choice Questions with Answers

Question 1

Which sequence best represents a typical PLC scan cycle?

A. Update outputs, erase inputs, execute CAD, print report

B. Read inputs, execute program, update outputs, perform diagnostics

C. Read outputs, generate toolpath, reset memory, read inputs

D. Execute program, remove inputs, update drawings, stop machine

Correct Answer: B. Read inputs, execute program, update outputs, perform diagnostics

Question 2

A cell has availability 0.90, performance 0.80 and quality 0.95. What is its OEE?

A. 0.684, or 68.4%

B. 0.720, or 72.0%

C. 0.855, or 85.5%

D. 2.650, or 265.0%

Correct Answer: A. 0.684, or 68.4%

Question 3

Which robot type is especially associated with very high-speed handling of lightweight products?

A. Delta robot

B. Hydraulic excavator

C. Cartesian boring mill

D. Manual fixture

Correct Answer: A. Delta robot

Question 4

In the feedback relation e(t) = r(t) − y(t), what does e(t) represent?

A. Actuator capacity

B. Measurement range

C. Control error

D. Sensor resolution

Correct Answer: C. Control error

Question 5

Which statement best distinguishes CAPP from CAM?

A. CAPP plans the process sequence; CAM generates manufacturing operations or toolpaths

B. CAPP measures temperature; CAM performs cybersecurity

C. CAPP is only for robot safety; CAM is only for accounting

D. CAPP replaces product design; CAM replaces quality inspection

Correct Answer: A. CAPP plans the process sequence; CAM generates manufacturing operations or toolpaths

Question 6

If a defect-inspection system has TP = 90, FP = 10 and FN = 5, what is its precision?

A. 90.0%

B. 94.7%

C. 95.0%

D. 98.2%

Correct Answer: B. 94.7%

Question 7

Which feature is essential to a useful digital twin?

A. It must be a printed paper drawing

B. It must be disconnected from the physical asset

C. It must represent a defined physical scope and be synchronized with relevant data

D. It must contain no assumptions or validation procedures

Correct Answer: C. It must represent a defined physical scope and be synchronized with relevant data

Question 8

What is the principal purpose of edge computing in an IIoT architecture?

A. To process selected data near the physical source

B. To eliminate all sensors

C. To replace every enterprise system

D. To guarantee that AI predictions are correct

Correct Answer: A. To process selected data near the physical source

Question 9

Which maintenance approach uses vibration and temperature trends to identify developing faults?

A. Reactive maintenance only

B. Predictive maintenance

C. Purely corrective design

D. Fixed automation

Correct Answer: B. Predictive maintenance

Question 10

Why can overall accuracy be misleading for a rare-defect inspection problem?

A. Accuracy cannot use numerical data

B. A model can appear accurate by mostly classifying common good parts while missing defects

C. Accuracy is always identical to recall

D. Accuracy applies only to robot positioning

Correct Answer: B. A model can appear accurate by mostly classifying common good parts while missing defects

Production & Manufacturing Technology
Chapter 14 of 15