Leanpub Header

Skip to main content

Robotic Factory Design

Volume II Smart Factory Applications: AI, IIoT, Safety, Cybersecurity, Commissioning and Case Studies

Transform your factory from automated to intelligent.

The factories that will dominate the next decade aren’t just automated — they’re aware. Machines learn. Robots collaborate. Systems adapt before failure ever happens. This is the evolution of manufacturing intelligence, and this book is your blueprint to master it.

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$

...Or Buy With Credits!

You can get credits with a paid monthly or annual Reader Membership, or you can buy them here.
PDF
About

About

About the Book

Transform your factory from automated to intelligent.

The factories that will dominate the next decade aren’t just automated — they’re aware. Machines learn. Robots collaborate. Systems adapt before failure ever happens. This is the evolution of manufacturing intelligence, and this book is your blueprint to master it.

Robotic Factory Design: Volume II picks up where Smart Factory Foundations left off — and takes you straight into the real-world battlefield of Industry 4.0 implementation. You’ll step beyond theory into the applied engineering of live, connected, data-driven factories.

Inside these pages you’ll discover how AI, Industrial IoT, cybersecurity, and safety systems combine to create resilient, self-optimizing production networks. You’ll understand how commissioning, predictive analytics, and digital-twin verification turn a plant into a living organism that learns from every cycle. You’ll see how engineers orchestrate robotics, control logic, and cloud data to squeeze every second of uptime and every ounce of performance.

This isn’t a futurist’s fantasy — it’s a field manual for the professionals designing tomorrow’s manufacturing empires today.

If Volume I taught you the architecture, Volume II shows you the execution — the applied intelligence, the integration, the discipline that separates vision from reality.

Bring intelligence, safety, and speed to every layer of your factory. The next revolution in production begins here.

Bundles

Bundles that include this book

Author

About the Author

gareth thomas

Gareth Morgan Thomas is a qualified expert with extensive expertise across multiple STEM fields. Holding six university diplomas in electronics, software development, web development, and project management, along with qualifications in computer networking, CAD, diesel engineering, well drilling, and welding, he has built a robust foundation of technical knowledge.

Educated in Auckland, New Zealand, Gareth Morgan Thomas also spent three years serving in the New Zealand Army, where he honed his discipline and problem-solving skills. With years of technical training, Gareth Morgan Thomas is now dedicated to sharing his deep understanding of science, technology, engineering, and mathematics through a series of specialized books aimed at both beginners and advanced learners.

Contents

Table of Contents

Chapter 14. AI, Machine Learning, and Predictive Analytics

Section 1. AI in Manufacturing: Use Cases

  • Process optimization and adaptive control
  • Defect detection and quality prediction
  • Energy management and anomaly recognition
  • Autonomous decision-making systems

Section 2. Data Collection and Preparation

  • Sensor Data and Feature Engineering
  • Data Labeling and Annotation
  • Data cleansing and normalization pipelines

Section 3. Machine Learning Pipelines

  • Supervised and Unsupervised Learning
  • Model Training and Validation
  • Reinforcement learning for robotic control

Section 4. ML Platforms and Tools

  • TensorFlow and PyTorch
  • MATLAB and Simulink
  • AutoML: Dataiku and DataRobot
  • Edge-based ML frameworks and accelerators

Section 5. Predictive Maintenance

  • Anomaly Detection
  • Remaining Useful Life (RUL) Prediction
  • Condition-based monitoring using IoT data

Section 6. Model Deployment and MLOps

  • MLflow and Kubeflow
  • Edge Inference with TensorFlow Lite
  • Model retraining and version control

Section 7. Real-Time Optimization and Adaptive Control

  • Closed-loop optimization systems
  • Integration with PLC and SCADA environments
  • Feedback learning and continuous adaptation

Chapter 15. Cloud, Edge Computing, and IIoT Platforms

Section 1. Cloud vs. Edge: Architecture Decisions

  • Latency, bandwidth, and data ownership considerations
  • Hybrid edge-cloud deployment strategies
  • Real-time vs. batch processing trade-offs

Section 2. Industrial IoT Platforms

  • PTC ThingWorx
  • Siemens MindSphere
  • AWS IoT Core and Azure IoT Hub
  • Google Cloud IoT and Anthos
  • Integration with existing MES/ERP infrastructure

Section 3. Edge Computing Frameworks

  • EdgeX Foundry
  • Azure IoT Edge
  • AWS Greengrass
  • Container-based edge orchestration

Section 4. Data Analytics and Visualization

  • Power BI and Tableau
  • Grafana for Real-Time Dashboards
  • Data contextualization and KPI visualization

Section 5. Containerization and Orchestration

  • Docker at the Edge
  • Kubernetes for Industrial Applications
  • Lightweight orchestration with K3s and Podman
  • Security and resource management for edge nodes

Chapter 16. Functional Safety and Safety Systems

Section 1. Safety Lifecycle: IEC 61508

  • Hazard identification and risk reduction
  • Safety lifecycle stages and validation
  • Compliance documentation and verification

Section 2. Risk Assessment and Hazard Analysis

  • HAZOP and FMEA
  • Safety Integrity Level (SIL) Determination
  • Risk matrix evaluation and mitigation actions

Section 3. Safety-Rated PLCs and Controllers

  • Pilz PNOZmulti
  • Siemens S7 F-Systems
  • Rockwell GuardLogix
  • Parameterization, redundancy, and diagnostics

Section 4. Safety Network Protocols

  • PROFIsafe
  • CIP Safety
  • Safety over EtherCAT (FSoE)
  • Deterministic communication and error handling

Section 5. Physical Safety Devices

  • Safety Light Curtains and Laser Scanners
  • Emergency Stop Systems
  • Interlocks and Guard Monitoring
  • Safety relays and logic modules

Section 6. Collaborative Robot Safety

  • Power and Force Limiting
  • Speed and Separation Monitoring
  • Hand-guided operation and human proximity detection

Section 7. Safety Analysis Tools

  • SISTEMA
  • medini analyze
  • Reliability block diagrams and fault tree analysis

Chapter 17. Cybersecurity in Industrial Control Systems

Section 1. Threat Landscape in Manufacturing

  • Common attack vectors: ransomware, phishing, and insider threats
  • Supply chain vulnerabilities and firmware tampering
  • Legacy system risks and unpatched equipment

Section 2. Defense-in-Depth Strategy

  • Multi-layer security model
  • Network zoning and segmentation
  • Endpoint protection and anomaly detection

Section 3. IEC 62443: Industrial Network Security

  • Zones and Conduits
  • Security Levels (SL)
  • Asset inventory and threat modeling

Section 4. Network Segmentation and Firewalls

  • DMZ implementation and industrial demilitarization
  • VLAN segmentation and access control lists
  • Next-generation firewalls and deep packet inspection

Section 5. Identity and Access Management

  • Role-based access control (RBAC)
  • Multi-factor authentication
  • Credential vaulting and policy enforcement

Section 6. Intrusion Detection Systems (IDS)

  • Nozomi Networks
  • Claroty xDome
  • Dragos Platform
  • Anomaly vs. signature-based detection

Section 7. Secure Remote Access

  • VPN and zero-trust frameworks
  • Secure tunneling and remote maintenance
  • Audit logging and access time restrictions

Section 8. Incident Response and Recovery

  • Containment and forensic analysis
  • Backup restoration and disaster recovery
  • Root cause analysis and policy updates

Section 9. Cybersecurity Audits and Compliance

  • Internal vs. external audits
  • Continuous monitoring and security KPIs
  • Training and awareness for plant personnel

Chapter 18. Commissioning, Testing, and Validation

Section 1. Commissioning Process Overview

  • Pre-commissioning planning and documentation
  • System integration and subsystem validation
  • Collaboration between mechanical, electrical, and software teams

Section 2. Factory Acceptance Testing (FAT)

  • Test plan preparation and acceptance criteria
  • Functional, performance, and safety verification
  • Vendor collaboration and issue resolution

Section 3. Site Acceptance Testing (SAT)

  • On-site installation and validation procedures
  • Environmental and operational testing
  • Compliance verification and final approvals

Section 4. Performance Qualification (PQ)

  • Load and stress testing
  • Throughput and cycle time validation
  • Reliability and endurance tests

Section 5. Testing Tools and Diagnostics

  • PLC Simulation: PLCSIM and Emulate 3D
  • Network Diagnostics and Protocol Analyzers
  • Real-time data logging and fault isolation

Section 6. Calibration and Fine-Tuning

  • Sensor alignment and encoder calibration
  • PID tuning and control loop optimization
  • Validation of robotic accuracy and repeatability

Section 7. Documentation and Training

  • User manuals and maintenance documentation
  • Operator and technician training programs
  • Knowledge transfer and certification

Section 8. Handover and Operations & Maintenance (O&M)

  • Final audit and acceptance report
  • Spare parts and maintenance schedules
  • Post-commissioning support and warranty management

Chapter 19. Continuous Improvement and Lean Principles

Section 1. Overall Equipment Effectiveness (OEE)

  • Availability, performance, and quality factors
  • OEE dashboards and KPI monitoring
  • Benchmarking and trend analysis

Section 2. Root Cause Analysis

  • Fishbone Diagrams
  • 5 Whys Analysis
  • Failure mode categorization and corrective actions

Section 3. Statistical Process Control (SPC)

  • Control charts and process capability indices
  • Variability reduction and process stability
  • Integration with MES and real-time monitoring

Section 4. Lean Manufacturing and Six Sigma

  • Waste elimination and value stream mapping
  • DMAIC methodology
  • Kaizen events and continuous refinement

Section 5. Kaizen and Continuous Improvement Culture

  • Employee empowerment and participation
  • Suggestion systems and Gemba walks
  • Daily management and incremental innovation

Section 6. Data-Driven Optimization

  • Minitab and JMP
  • Design of Experiments (DOE)
  • Advanced analytics for yield and quality optimization

Section 7. Feedback Loops from Digital Twins

  • Closed-loop performance monitoring
  • Predictive optimization via twin insights
  • Continuous learning and adaptive process updates

Chapter 20. Version Control, DevOps, and Modern Development Practices

Section 1. Version Control for Automation Code

  • Git for PLC Projects
  • TIA Portal Openness API
  • Repository management and branching strategies
  • Traceability and rollback mechanisms for control logic

Section 2. Continuous Integration/Continuous Deployment (CI/CD)

  • Automated build and deployment pipelines
  • Simulation-based testing prior to release
  • Integration with version control and test frameworks

Section 3. Containerization at the Edge

  • Docker in Industrial Environments
  • Kubernetes for IIoT Applications
  • Lightweight container orchestration and sandboxing
  • Resource isolation and real-time performance management

Section 4. Collaborative Development Workflows

  • Multi-disciplinary version management
  • Review cycles and peer validation
  • Continuous feedback and documentation updates

Section 5. Documentation as Code

  • Automated generation of technical documentation
  • Integration with Markdown, LaTeX, and Git workflows
  • Consistent style enforcement and revision history

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub