Artificial Intelligence in Mechatronics Applications

Chapter 1
Foundations of AI-Enabled Mechatronics

Bachelor Program in Mechatronics Engineering
Artificial Intelligence in Mechatronics Applications   •   Bachelor

Foundations of AI-Enabled Mechatronics

Introduction and Context

Mechatronics integrates mechanical engineering, electrical and electronic engineering, control engineering, computer engineering, and increasingly artificial intelligence (AI). A conventional mechatronic product may sense its environment, compute a control action, and move an actuator. An AI-enabled mechatronic system adds the ability to infer hidden conditions, recognize patterns, adapt to variation, and support or execute decisions under uncertainty.

Examples include robotic manipulators that detect objects, autonomous mobile robots that map facilities, predictive-maintenance systems that identify developing faults, intelligent vehicles, medical devices, agricultural machines, and flexible manufacturing equipment. In each case, AI is not a replacement for mechanics, sensing, control, or safety engineering. It is an additional capability embedded within a physical system.

This chapter establishes the conceptual foundation required to design, analyze, and responsibly deploy such systems. It distinguishes artificial intelligence from machine learning, explains autonomy and cyber-physical systems, examines common mechatronic architectures and feedback loops, and identifies the roles of sensing, computation, actuation, and communication. It also emphasizes practical constraints: latency, bandwidth, energy, reliability, safety, uncertainty, cybersecurity, and regulatory responsibility.

Learning Objectives

After studying this chapter, a student should be able to:

  1. Define AI, machine learning, autonomy, and cyber-physical systems in an engineering context.
  2. Distinguish rule-based automation, conventional control, machine learning, and autonomous behavior.
  3. Explain the functions of sensors, computation, actuators, and communication in a mechatronic architecture.
  4. Analyze open-loop, closed-loop, supervisory, and hybrid control structures.
  5. Describe levels of autonomy and explain why autonomy is task- and context-dependent.
  6. Identify application constraints affecting AI-enabled mechatronic systems.
  7. Evaluate an AI-enabled mechatronic application using safety, performance, ethical, and operational criteria.

1. Artificial Intelligence as an Engineering Capability

Artificial intelligence is the field concerned with computational systems that perform tasks normally associated with human or animal intelligence, such as perception, reasoning, learning, planning, language use, and decision-making. The phrase does not imply that a machine possesses human consciousness. In engineering practice, AI usually refers to methods that transform data and system states into predictions, classifications, plans, or actions.

AI methods can be grouped broadly into:

  • Symbolic or rule-based AI: explicit rules, logic, search, planning, and knowledge representation.
  • Statistical AI: probabilistic inference, optimization, and statistical decision methods.
  • Machine learning: algorithms that estimate useful relationships from data rather than relying entirely on hand-written rules.
  • Deep learning: machine learning based largely on multilayer neural networks, often effective for images, audio, and complex sensor data.
  • Hybrid AI: combinations of learned models, physical models, rules, optimization, and conventional control.

A mechatronic application may use several of these simultaneously. For example, a warehouse robot may use a neural network for camera-based object detection, a probabilistic localization algorithm for position estimation, a graph-search planner for route selection, and a feedback controller for wheel velocity.

AI should therefore be understood functionally. The relevant question is not “Does the machine think like a human?” but “What information-processing capability is required, and which method provides it reliably within the physical constraints of the machine?”

AI, Automation, and Control

Automation executes a process with limited human intervention. It may be entirely rule-based. A thermostat that switches a heater on below a threshold is automated, but it is not necessarily an AI system. Conventional control uses a mathematical or algorithmic relationship between measured variables and actuator commands to regulate a process. AI may improve control by estimating disturbances, tuning parameters, detecting faults, or selecting among control strategies, but AI and control are not synonyms.

A useful distinction is:

  • Automation: execution of predefined procedures.
  • Control: regulation of a dynamic system toward desired behavior.
  • AI: computational capabilities for inference, learning, planning, or intelligent decision-making.
  • Autonomy: the capability of a system to achieve assigned goals with limited external intervention while managing relevant uncertainty.

These categories overlap. An autonomous robot normally contains automation and control, and may contain AI, but autonomy cannot be inferred merely from the presence of a machine-learning model.

2. Machine Learning in Mechatronics

Machine learning (ML) is a set of methods that enables a computational model to improve its performance on a task through data or experience. In supervised learning, the model is trained using input-output examples. In unsupervised learning, it identifies structure without supplied target labels. In reinforcement learning, an agent learns action policies through interaction and reward signals.

For a supervised regression problem, a model can be represented abstractly as:

ŷ = f(x; θ)

Here, x is an input vector, ŷ is the predicted output, f is the model structure, and θ represents learned parameters. The notation is general; it does not specify a particular algorithm. Inputs may include temperature, vibration, motor current, position, velocity, or images. Outputs may include a predicted remaining useful life, estimated pose, object location, or required control adjustment.

Training commonly minimizes a loss function. For a dataset containing N examples and a mean-squared-error objective:

J(θ) = (1/N) ∑ᵢ₌₁ᴺ (yᵢ − ŷᵢ)²

where yᵢ is the measured target and ŷᵢ is the prediction for example i. This loss is appropriate for many continuous-output problems when large errors should be penalized strongly. It is not universally appropriate: classification often uses cross-entropy, and safety-critical applications may require task-specific or risk-sensitive objectives.

The training data should be separated into training, validation, and test data. The training set estimates model parameters; the validation set supports model selection and tuning; the test set provides an approximately unbiased final evaluation if it remains isolated until the end. Random splitting is not always valid. Time-series data, machine data, and production data can contain temporal or machine-specific correlations. A time-based or machine-based split may better represent deployment.

Typical ML Tasks in Mechatronics

TaskExample inputExample outputTypical use
ClassificationVibration spectrumFault categoryCondition monitoring
RegressionTemperature and loadPredicted temperatureThermal management
DetectionCamera imageObject or defect locationRobot perception
EstimationEncoder and inertial dataPosition or velocityState estimation
ClusteringMultisensor historiesOperating modesProcess discovery
Planning or policy learningState and environmentAction selectionNavigation or manipulation

A model that performs well in a laboratory may fail in operation because of distribution shift. Lighting, tool wear, payload, temperature, sensor aging, and operator behavior may differ from training conditions. Consequently, engineering validation must consider representative variation, not only average test accuracy.

3. Autonomy and Levels of Decision Authority

Autonomy is the ability of a system to sense relevant conditions, interpret them, select actions, execute those actions, and respond to changing conditions without continuous human control. Autonomy is multidimensional. A device can be highly autonomous in navigation but not in maintenance; it can operate independently in a structured factory but require supervision in an unstructured outdoor environment.

A practical conceptual scale is:

LevelDescriptionExample
0: ManualHuman performs sensing, decision, and controlManually operated machine
1: AssistanceSystem supports a human actionCollision warning or torque assist
2: Partial automationSystem controls some functions; human remains responsibleAutomated speed and steering under conditions
3: Conditional autonomySystem performs the task within a defined operational domain and requests intervention when necessaryMobile robot navigating a mapped facility
4: High autonomySystem manages the task within a restricted domain with minimal interventionRobot fleet in a controlled warehouse
5: Broad autonomySystem operates across intended conditions without task-specific human interventionA theoretical fully general system

These levels are not universal scientific units. Different standards and industries use different terminology. The important engineering questions are: What task is automated? In which operational design domain? What failures are tolerated? Who is responsible for intervention? What happens when the system leaves its validated conditions?

Autonomy requires more than an intelligent algorithm. It requires a complete operational loop:

  1. Perception: obtain and interpret information.
  2. State estimation: infer variables that cannot be measured directly.
  3. Planning and decision: choose an objective-consistent action.
  4. Control: convert the selected action into actuator commands.
  5. Execution and monitoring: observe outcomes and detect abnormal behavior.
  6. Fallback: enter a safe state or transfer authority when necessary.

4. Cyber-Physical Systems

A cyber-physical system (CPS) tightly integrates computation, communication, and physical processes. The physical process produces measurements; computational elements analyze them and generate commands; actuators alter the physical process; communication links coordinate components and may connect the system to external services.

Unlike a purely software application, a CPS is constrained by physical time, energy, materials, dynamics, and safety. A delayed command may be inconvenient in a business application but dangerous in a robot or power converter. A sensor fault is not merely a data-quality issue; it can cause physical motion or damage.

Cyber-physical mechatronic system feedback architecture Physical process plant / mechanism Sensors measurements Computation estimation / AI / control Actuators motors / valves Network coordination physical measurements commands
Cyber-physical mechatronic system feedback architecture
Figure: Cyber-physical mechatronic system feedback architecture

Figure: A simplified cyber-physical feedback architecture linking the physical process, sensors, computation, actuators, and communication network.

A CPS may be local, distributed, or cloud-connected. Local computation generally reduces communication latency and dependence on external connectivity. Cloud computation may provide greater processing capacity and centralized fleet learning, but introduces latency, availability, privacy, and cybersecurity concerns. Edge computing places computation near the physical process and is often useful for time-critical inference.

5. Mechatronic Architectures

Open-Loop Architecture

In an open-loop system, the command is generated without measuring the resulting output. A timed dispensing mechanism is an example. Open-loop designs can be simple, inexpensive, and predictable when the process is stable. They perform poorly when disturbances, component variation, or environmental changes significantly affect the output.

Closed-Loop Architecture

A closed-loop system measures output and uses the measurement to modify the command. If the desired value is r(t) and the measured output is y(t), the tracking error is:

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

The variables must represent comparable quantities and units. A controller uses the error, and possibly its history and rate of change, to produce a control input. Feedback can reduce the effect of disturbances and model uncertainty, but poor sensor quality, delay, excessive gain, or actuator saturation can create oscillation or instability.

A proportional-integral-derivative controller is often written:

u(t) = Kₚe(t) + Kᵢ∫₀ᵗ e(τ)dτ + Kd de(t)/dt

where u(t) is the control command, Kₚ, Kᵢ, and Kd are controller gains, and τ is an integration variable. The terms have different physical roles: proportional action responds to present error, integral action accumulates error, and derivative action responds to the rate of error change. In a practical digital implementation, sampling, filtering, anti-windup protection, derivative noise amplification, and actuator limits must be addressed. The formula assumes a sufficiently smooth signal and is not by itself a guarantee of stability.

Supervisory and Hierarchical Architecture

Many intelligent machines use layers:

  • Device layer: sensors, drives, valves, and embedded controllers.
  • Regulation layer: fast position, velocity, force, or temperature control.
  • Coordination layer: sequencing, task allocation, and mode management.
  • Planning layer: route planning, scheduling, manipulation planning, or optimization.
  • Enterprise or fleet layer: production monitoring, maintenance analytics, and long-term learning.

AI is frequently placed at the perception, estimation, planning, diagnostics, or supervisory layers rather than directly replacing the lowest-level safety-critical controller. This arrangement separates fast deterministic regulation from slower, probabilistic reasoning.

Hybrid Architecture

Hybrid systems combine continuous physical dynamics with discrete modes. A robot may switch between searching, grasping, transporting, charging, and emergency-stop modes. AI can estimate which mode is active, while explicit state machines and safety rules constrain permitted transitions. Such combinations are often more interpretable and verifiable than an unconstrained end-to-end model.

6. The Roles of Sensing, Computation, Actuation, and Communication

Sensing

Sensors convert physical quantities into signals. Encoders measure angular or linear position; inertial sensors measure acceleration and angular rate; cameras measure reflected light; force sensors measure interaction; microphones measure pressure variation; and temperature sensors measure thermal state.

Important sensor properties include range, resolution, accuracy, precision, sampling rate, latency, noise, calibration stability, field of view, and failure behavior. A high-resolution sensor is not automatically accurate. A fast sensor is not necessarily useful if its measurements are poorly calibrated.

Sensor fusion combines multiple sources to improve estimation or robustness. Fusion may be complementary, such as combining camera and inertial data, or redundant, such as using two position sensors to detect disagreement. Sensor redundancy is valuable only if failure modes are sufficiently independent.

Computation

Computation includes signal conditioning, estimation, AI inference, planning, control, logging, and diagnostics. Selection of hardware depends on computational load, memory, energy, temperature, operating system, real-time requirements, and safety certification.

A model’s accuracy must be considered alongside latency and resource use. For a control loop with sampling period Tₛ, all required sensing, computation, communication, and actuation should complete within the available timing budget, with adequate margin. Inconsistent timing can degrade control performance even when the average computation time appears acceptable.

Actuation

Actuators transform commands into physical effects. Motors, hydraulic cylinders, pneumatic actuators, solenoid valves, and piezoelectric devices are common examples. Actuation is limited by force, torque, speed, stroke, power, thermal capacity, backlash, friction, saturation, and mechanical wear.

An AI system may request an infeasible command. Therefore, a command-shaping or safety layer should enforce limits such as maximum speed, acceleration, torque, workspace, and safe contact force. The actuator interface should also define behavior during communication loss, sensor failure, or computation failure.

Communication

Communication links exchange measurements, commands, status, and diagnostic information. They may be wired or wireless and may connect components within a machine, machines within a factory, or equipment to cloud services.

Relevant properties include bandwidth, latency, jitter, packet loss, synchronization, availability, authentication, and integrity. Safety-critical local control should not depend unnecessarily on a remote network. When communication is essential, the design should specify timeout behavior, degraded modes, and safe recovery.

7. Constraints and Performance Measures

AI-enabled mechatronics must be assessed as complete systems. Useful measures include:

  • Task performance: success rate, accuracy, cycle time, tracking error, or energy use.
  • Real-time behavior: worst-case latency and timing jitter, not only average latency.
  • Robustness: performance under noise, disturbances, wear, environmental variation, and unusual inputs.
  • Safety: likelihood and severity of hazardous outcomes, effectiveness of safeguards, and fail-safe behavior.
  • Reliability and maintainability: availability, diagnostic quality, calibration needs, and ease of repair.
  • Explainability and traceability: ability to justify or reconstruct decisions.
  • Security: resistance to unauthorized access, data manipulation, and denial of service.
  • Resource efficiency: processor load, memory, power, and network use.

A classification accuracy of 99% may be inadequate if the remaining 1% consists of dangerous false negatives. Metrics must reflect the cost of errors. In a safety inspection system, missing a defect may be more serious than falsely flagging a good part. In a collaborative robot, an overly sensitive detector may reduce productivity but may be preferable to failing to detect a person.

8. Worked Example: Sampling and Timing Budget

Consider a vision-assisted pick-and-place robot whose perception and control update period is 100 ms. The camera exposure and readout require 25 ms, data transfer requires 10 ms, inference requires 30 ms, planning requires 15 ms, and command transmission requires 5 ms.

The total nominal processing time is:

Ttotal = 25 ms + 10 ms + 30 ms + 15 ms + 5 ms = 85 ms

The nominal margin is:

Tmargin = 100 ms − 85 ms = 15 ms

Thus, the nominal schedule fits within the period. However, this conclusion applies only if the listed times are representative and if synchronization, operating-system overhead, actuator response, and worst-case variation are addressed. If inference occasionally takes 50 ms instead of 30 ms, then the total becomes 105 ms, exceeding the update period. An engineering response could include model compression, faster hardware, a longer update period if dynamics permit, or a separate fast low-level controller that maintains safe motion while perception is delayed.

This example illustrates a central principle: AI performance is a systems property, not merely a model-accuracy property.

9. Applied Case: Illustrative Autonomous Warehouse Robot

Background

Consider an illustrative autonomous mobile robot used to transport bins between storage racks and a packing station. The robot operates indoors on marked floors and shares some aisles with human workers.

Problem

A manually driven fleet causes congestion, inconsistent travel times, and occasional collisions with carts. Management proposes adding AI-based perception and autonomous navigation. The robot must identify people and obstacles, localize itself, select routes, stop safely, and report faults.

Analysis

The robot contains wheel encoders, an inertial measurement unit, laser ranging, and cameras. Encoders provide motion information but accumulate error. The inertial unit responds quickly but drifts. Laser ranging supplies geometric information, while cameras support semantic recognition. Combining these sensors improves localization and obstacle interpretation.

The architecture is hierarchical. A low-level controller regulates wheel velocity. A state estimator combines encoder, inertial, and range data. A perception model detects people and carts. A planner selects a collision-free path. A supervisory state machine manages modes such as operating, waiting, charging, degraded operation, and emergency stop.

The operational design domain must be specified: indoor floor conditions, maximum speed, lighting range, aisle width, permitted slopes, and human-traffic patterns. The robot should not silently continue when localization confidence is low or a sensor is obstructed. It should reduce speed, stop, or request assistance according to predefined rules.

Approach and Solution

The proposed design uses:

  1. Sensor calibration and time synchronization.
  2. Redundant obstacle detection using range and vision where practical.
  3. A learned perception model bounded by geometric collision checks.
  4. A conventional feedback controller for wheel motion.
  5. Local planning that accounts for robot dimensions and stopping distance.
  6. A safety-rated stop mechanism independent of the primary AI computer.
  7. Event logging for model predictions, system states, interventions, and faults.
  8. Periodic monitoring for changes in lighting, floor layout, payload, and sensor performance.

The AI model does not directly command unlimited motor torque. Instead, its outputs are passed through validated planning, control, and safety constraints. This separation makes the system easier to test and limits the consequences of an incorrect prediction.

Outcome

In a pilot deployment, the robot may improve consistency and reduce routine manual travel, but success should be measured using collision and near-miss rates, intervention frequency, delivery time, energy consumption, uptime, and performance across operating conditions. A demonstration in an empty aisle is insufficient evidence of safe autonomy.

Learning Points

  • Autonomy depends on the whole sensing–decision–action loop.
  • AI should be combined with geometry, control, and explicit safety mechanisms.
  • The operational domain must be stated precisely.
  • Human supervision and fallback behavior are engineering requirements, not afterthoughts.
  • Field monitoring is necessary because deployed conditions can differ from training conditions.

10. Safety, Ethics, Governance, and Security

Physical AI systems can injure people, damage equipment, or disrupt essential services. Safety engineering should begin with hazard identification, risk estimation, protective measures, verification, and validation. Important practices include independent safety functions, conservative limits, fault detection, emergency stops, controlled restart, watchdog timers, redundancy where justified, and clear human-machine interfaces.

AI-specific hazards include biased or incomplete training data, distribution shift, adversarial inputs, unanticipated interactions, opaque decisions, and unsafe behavior outside the design domain. A model should not be treated as reliable merely because it achieved a high aggregate test score.

Ethical governance includes accountability, privacy, transparency, fairness, and proportionality. Cameras and operational logs may contain personal information. Data collection should have a legitimate purpose, access controls, retention limits, and appropriate protection. Workers should be informed when automated monitoring affects their tasks or evaluation.

Cybersecurity is part of physical safety. Authentication, authorization, secure updates, network segmentation, encryption where appropriate, vulnerability management, and incident response reduce the risk that an attacker can alter commands or disable safeguards. Security controls must be designed with real-time and availability requirements in mind.

Engineers should maintain traceability: requirements, data versions, model versions, calibration records, test results, approvals, and operational changes should be documented. Applicable laws, standards, and sector-specific regulations must be identified before deployment. No general AI technique eliminates the obligation to comply with machinery, electrical, functional-safety, privacy, and workplace requirements.

11. Contemporary Developments and Best Practices

Current development is moving toward edge AI, digital twins, multimodal perception, collaborative robots, fleet learning, foundation models for robotics, and physics-informed or hybrid learning. These developments may improve adaptability, but they also increase validation complexity. A large general-purpose model is not automatically suitable for a real-time, safety-critical actuator interface.

Recommended practices for undergraduate engineering projects and professional prototypes include:

  1. Define the task, operating domain, hazards, and success metrics before selecting an AI method.
  2. Establish a reliable sensor and data-acquisition pipeline.
  3. Use baseline rules or conventional control for comparison.
  4. Separate training, validation, and final testing without leakage.
  5. Test rare, adverse, and boundary conditions deliberately.
  6. Measure latency, energy, memory, and failure behavior in target hardware.
  7. Constrain AI outputs using physical limits and safety logic.
  8. Include human override, degraded modes, and safe shutdown.
  9. Log decisions and system states for diagnosis and improvement.
  10. Revalidate after software, model, hardware, environment, or workload changes.

Chapter Summary

AI-enabled mechatronics combines physical mechanisms with sensing, computation, actuation, communication, control, and intelligent inference. AI is a broad field; machine learning is one family of methods within it. Automation executes predefined procedures, control regulates physical behavior, and autonomy concerns goal-directed operation with limited intervention.

Cyber-physical systems connect computational decision-making to physical processes through feedback. Their architecture commonly includes sensors, state estimation, AI or planning, controllers, actuators, communication, supervision, and safety functions. Open-loop systems do not use output feedback, whereas closed-loop systems compare desired and measured behavior and respond to error. Hierarchical and hybrid architectures are especially useful because they combine fast deterministic control with higher-level learning and planning.

Successful deployment depends on more than prediction accuracy. Timing, uncertainty, sensor quality, actuator limits, communication reliability, energy, safety, cybersecurity, privacy, accountability, and operational-domain definition are equally important. The warehouse robot case demonstrates that robust autonomy is achieved through system integration, constrained decision-making, fallback behavior, and continuous validation.

Key Terms

Artificial intelligence: Computational methods that perform tasks involving inference, learning, planning, perception, or decision-making.

Machine learning: Methods that estimate patterns or policies from data or interaction.

Deep learning: Machine learning using multilayer neural-network models.

Automation: Execution of a process with limited human intervention, often through predefined procedures.

Control system: A system that regulates a process by generating inputs based on desired and measured behavior.

Feedback: Use of measured output information to modify future system actions.

Autonomy: Ability to pursue assigned goals with limited external intervention while handling relevant uncertainty.

Cyber-physical system: An integrated system in which computation and communication interact directly with physical processes.

Sensor: A device that measures a physical quantity and produces a usable signal.

Actuator: A device that converts a command into physical action.

State estimation: Inference of system variables from measurements and a model or algorithm.

Perception: Interpretation of sensor data to identify objects, conditions, or events.

Inference: Production of a prediction or decision from a trained or programmed model.

Operational design domain: The conditions and environment in which a system is intended and validated to operate.

Distribution shift: Change between the data conditions used for development and those encountered during deployment.

Edge computing: Processing data near the physical source rather than relying entirely on a remote cloud.

Latency: Time between an input or event and the corresponding system response.

Jitter: Variation in timing or latency between repeated operations.

Fail-safe behavior: A response designed to reduce hazard when a fault or abnormal condition occurs.

Sensor fusion: Combination of multiple sensor sources to improve estimation, detection, or robustness.

Review Questions

5 Short Answer Questions

  1. Define artificial intelligence and explain how it differs from automation.
  2. What is the purpose of feedback in a mechatronic control system?
  3. Identify four important properties of a sensor used in an AI-enabled machine.
  4. Explain why autonomy is task- and context-dependent.
  5. What is distribution shift, and why can it cause an ML model to fail?

5 Long Answer Questions

  1. Compare open-loop, closed-loop, supervisory, and hybrid mechatronic architectures.
  2. Explain the roles of sensing, computation, actuation, and communication in a cyber-physical system.
  3. Discuss how machine learning can support perception, diagnosis, estimation, and planning in mechatronics.
  4. Explain why prediction accuracy alone is insufficient for evaluating an AI-enabled physical system.
  5. Describe the safety, ethical, governance, and cybersecurity issues that should be addressed before deploying an autonomous robot.

3 Analytical / Application Questions

  1. Design a conceptual architecture for an autonomous agricultural robot. Specify its sensors, computational functions, actuators, communication links, feedback loops, and fallback behavior.
  2. A machine-learning inspection system has high overall accuracy but misses rare dangerous defects. Propose an evaluation and redesign strategy that accounts for unequal error costs and operational risk.
  3. Analyze the illustrative warehouse robot case. Identify at least three possible failure modes, their physical consequences, detection methods, and appropriate mitigation measures.

Multiple Choice Questions with Answers

Question 1

Which statement best distinguishes machine learning from conventional rule-based automation?

A. Machine learning always operates without sensors.

B. Machine learning estimates patterns or decisions from data or interaction rather than relying only on explicit fixed rules.

C. Machine learning is identical to mechanical actuation.

D. Machine learning cannot be used for prediction.

Correct Answer: B. Machine learning estimates patterns or decisions from data or interaction rather than relying only on explicit fixed rules.

Question 2

In a closed-loop system, the tracking error is defined as which expression?

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

B. e(t) = r(t) + y(t)

C. e(t) = r(t)y(t)

D. e(t) = y(t) − r(t) in all control conventions

Correct Answer: A. e(t) = r(t) − y(t)

Question 3

Which component converts a computational command into a physical effect?

A. Sensor

B. Actuator

C. Dataset

D. Validation set

Correct Answer: B. Actuator

Question 4

What is a defining characteristic of a cyber-physical system?

A. It contains only mechanical components.

B. It integrates computation and communication with a physical process.

C. It must use cloud computing for every control action.

D. It cannot contain feedback.

Correct Answer: B. It integrates computation and communication with a physical process.

Question 5

A processing cycle has a period of 100 ms. Its listed stages take 25 ms, 10 ms, 30 ms, 15 ms, and 5 ms. What is the nominal timing margin?

A. 5 ms

B. 10 ms

C. 15 ms

D. 25 ms

Correct Answer: C. 15 ms

Question 6

Why can a high aggregate classification accuracy be inadequate in a safety inspection application?

A. Accuracy is never useful in engineering.

B. The model may have an unacceptable rate of dangerous false negatives.

C. Classification models cannot process sensor data.

D. High accuracy always causes excessive actuator power.

Correct Answer: B. The model may have an unacceptable rate of dangerous false negatives.

Question 7

Which architecture most directly separates fast regulation from higher-level planning and coordination?

A. Hierarchical architecture

B. Purely open-loop architecture

C. Manual architecture

D. Unconnected sensor architecture

Correct Answer: A. Hierarchical architecture

Question 8

What is distribution shift?

A. A change between development data conditions and deployment conditions

B. A method for physically distributing motor torque

C. The replacement of sensors by actuators

D. A guarantee that a model will generalize

Correct Answer: A. A change between development data conditions and deployment conditions

Question 9

Which practice best limits the consequences of an incorrect AI prediction in a robot?

A. Allowing the model to bypass all physical limits

B. Removing feedback from the robot

C. Passing AI outputs through validated planning, control, and safety constraints

D. Using only average latency measurements

Correct Answer: C. Passing AI outputs through validated planning, control, and safety constraints

Question 10

Which property describes variation in repeated communication or computation timing?

A. Resolution

B. Jitter

C. Calibration

D. Stroke

Correct Answer: B. Jitter

Artificial Intelligence in Mechatronics Applications
Chapter 1 of 15