Skip to Content
SystemsSystems
  • Article
  • Open Access

17 August 2026

20 Pages

Architecture-Driven Hardware-in-the-Loop Verification: A Bidirectional MBSE Framework Demonstrated on a Low-Cost UAV

,
and
1
Department of Industrial, Manufacturing and Systems Engineering, University of Wisconsin-Milwaukee, Milwaukee, WI 53211, USA
2
Department of Industrial Manufacturing and Systems Engineering, The University of Texas at El Paso, El Paso, TX 79968, USA
*
Author to whom correspondence should be addressed.

Highlights

Please indicate how your work links to systems science via your contributions to systems practice, theory, and/or methodology.
  • The study contributes to systems methodology by introducing a four-layer, MBSE-enabled hardware-in-the-loop framework. This framework integrates the system definition, model translation, execution and monitoring, and feedback synchronization layers into a traceable, architecture-driven workflow.
  • The work demonstrates how an MBSE model can go beyond documentation and act as a reference for validating physical system behavior through runtime engineering values.
What are the main findings and/or the implications of the main findings?
  • A Ryze Tello UAV case study demonstrated that mission parameters modeled in Capella via PVMT can be extracted with Python4Capella, converted into MATLAB commands, run on physical hardware, and assessed using telemetry data.
  • The experiment showed consistency between the model and execution across three flight conditions, confirming the viability of low-cost, MBSE-driven HIL verification. It also highlighted the need for future ground-truth tracking and model adaptation.

Abstract

Integrating Model-Based Systems Engineering (MBSE) with Digital Twins (DTs) offers a promising way to transform static system models into dynamic, runtime-connected representations that enable execution, monitoring, and validation. Much current research in this area remains focused on descriptive modeling, simulation-based workflows, or unidirectional data flow, leaving a gap in methods that link architectural models directly to physical system behavior in a closed-loop system. This study fills that gap by proposing and demonstrating a four-layer framework that supports traceable, bidirectional interaction between a system’s architecture and its physical implementation. The framework consists of four interconnected layers: System Definition, Model Translation and Integration, Execution and Monitoring, and Feedback and Synchronization. The System Definition Layer captures mission goals, functional responsibilities, subsystem decomposition, and mission parameters in Capella using the Arcadia methodology. The Model Translation and Integration Layer translates these properties into executable commands via Python4Capella, converting architecture-level parameters into actionable instructions. The Execution and Monitoring Layer executes these commands in MATLAB, while the Feedback and Synchronization Layer returns runtime data to the model, supporting validation, model awareness, and refinement. A UAV case study is used to validate the framework: the UAV architecture is decomposed into key logical subsystems, and mission behaviors such as takeoff, movement, turning, and landing were modeled parametrically using the Property Values Management Tool (PVMT). These properties were translated into MATLAB commands, executed on a physical UAV, and evaluated based on telemetry-based mission distance accuracy. This work demonstrates that an MBSE model can serve not only as a design artifact but also as an authoritative, execution-connected component of a digital twin workflow. The framework contributes to MBSE-driven digital twin research by providing a structured process for integrating architecture, translation, execution, monitoring, and synchronization in a traceable manner. Overall, the study provides a scalable foundation for future developments in hardware-in-the-loop testing and digital twin applications for cyber–physical systems, and further empirical evaluation is needed to assess the framework’s transferability across domains.

1. Introduction

Modern cyber–physical systems across fields such as aerospace, healthcare, manufacturing, and energy are becoming increasingly complex as they integrate various hardware components, embedded software, communication networks, and real-time data analytics within a single environment [1]. This growing complexity requires a more robust design approach that enables simulation, control, and continuous validation throughout the system’s life cycle. Model-based systems engineering (MBSE) has proven to be a promising approach, offering a systematic framework for the specification, design, analysis, and validation of complex systems from conception to deployment [2]. Although MBSE aids in understanding and organizing complex systems, it does not specify how a system will perform during actual operation in its runtime environment. Digital twins (DTs) fill this gap, serving as operational instances of the models in the early stages of development [3]. Because digital twins require real-time data from their physical counterparts to mirror their operational state and enable informed decision-making, an MBSE approach to DT design enables design decisions that can be checked against actual operational data [4,5]. Madni et al. argue that while MBSE provides the “structural rigor” for design, the Digital Twin (DT) requires real-time data to remain valid [6]. From an MBSE perspective, several studies indicate that current MBSE tools and modeling environments focus only on descriptive modeling of the architecture and lack validation of behavior against physical systems [3,7]. While MBSE helps define the logical and functional architecture of a digital twin, it is necessary to verify requirements against the physical asset before deployment to ensure the underlying logic is accurate. Research highlights that hardware-in-the-loop (HIL)-enabled verification enables real-time detection of control logic errors, providing a sound basis for the Digital Twin’s operation [8]. Moving a system from simulation to reality, HIL verification offers a critical bridge within MBSE for testing and verifying system constraints, such as latency and tolerances [9].
This paper introduces a hardware-in-the-loop (HIL) verification framework powered by MBSE, which connects system models with real-time data collection and control systems to establish a communication link between the system architecture and its physical implementation, answering the research question: How can MBSE models be expanded to support synchronization between actual physical systems and their virtual counterparts? While some studies indicate a conceptual link between MBSE and DT, fewer studies demonstrate how architecture-level specifications can be directly implemented in a physical system [10,11,12]. This study shifts MBSE from a primarily descriptive, static approach to a dynamic, executable architecture that allows for real-time validation.
The proposed framework, enabled by the Property Values Management Tool (PVMT) engine within Capella, converts an architectural model for execution in Hardware-in-the-Loop (HIL) testing. Here, we refer to HIL as the technique for integrating physical and virtual models to validate the logic and architecture of modeled systems. While the core Arcadia methodology specifies a system’s functions, PVMT focuses on defining its physical implementation, which is crucial for connecting virtual logic with real hardware. A case study of an unmanned aerial vehicle (UAV) mission illustrates how the proposed framework works. In this framework, mission semantics and system models are established in the system definition layer. These are then retrieved through domain-specific model extraction (APIs), transformed into executable commands, and deployed across the physical UAV. Telemetry data is fed back to the system definition layer, forming an MBSE workflow that links design architecture to actual runtime behavior.
The rest of the paper is structured as follows: Section 2 surveys relevant literature and places the contribution within the context of MBSE and digital twins, highlighting the importance of Hardware-in-the-Loop testing. Section 3 presents the proposed framework. Section 4 covers the framework’s application, including the methodology, Capella model, integration architecture, and telemetry-based experiment design and results. Section 5 addresses the limitations of the work, with conclusions provided in Section 6.

2. A Review of the Intersection of MBSE and Digital Twins to Establish the Relevance of Hardware-in-the-Loop Testing

A review of the MBSE application for developing digital twins (DTs) highlights SysML as the primary foundation within the MBSE framework. Tools such as Cameo Systems Modeler, MATLAB/Simulink, and Python are commonly used to integrate both functional and physical simulations for DTs. Developing a DT, system architecture, and models, together with sensor data and enabling Internet of Things (IoT) technologies, leads to real-time synchronization of a virtual and a physical system. A key challenge in creating digital twins (DTs) is building their virtual counterparts, which involves developing accurate digital models of the system’s assemblies and individual components [13].
From an MBSE perspective, developing digital twins requires considerable effort in defining and integrating ontologies, establishing sensor networks, and managing data processing, data handling, and configuration procedures [4]. Previous research by the authors [14] has identified challenges in integrating Model-Based Systems Engineering (MBSE) with Digital Twins. Creating digital twins involves combining multiple tools and technologies, including MATLAB/Simulink for simulations and sensors for data collection and control. This process requires testing both hardware and software, ensuring consistent data flow and compatibility.
Research on MBSE-driven digital twin development emphasizes the use of modeling frameworks [15,16], tools, and techniques to define digital twin architectures and system behaviors across various sectors such as aviation, energy, and product development [13,17,18]. Efforts have focused on integrating MBSE artifacts into the simulation environment to aid in design verification, optimization, and requirements validation [1,19,20]. However, model execution mainly takes place on simulated platforms, and the flow of information between architectural models and physical systems is mostly one-way. To improve this, researchers have used data-driven and IoT-based digital twin implementations, primarily by synchronizing sensor data in real time between physical and digital systems [4,10]. While these approaches offer real-time data feedback, MBSE still functions mainly as a documentation tool rather than an authoritative execution platform [3,7]. Ongoing research seeks to bridge this gap by transforming MBSE artifacts into operational models, linking parametric data to real-time streams, or conducting parallel simulations to verify behavior [1,21,22].
In summary, the literature on MBSE–digital twins consistently emphasizes the importance of system models and architectures as fundamental components of digital twin development. Bickford et al. argue that MBSE provides the formal framework needed to operationalize digital twins by linking requirements, architecture, behavior, and lifecycle reasoning. However, they also emphasize that digital twins should ultimately enable interaction with operational data and system behavior, rather than serve as static abstractions [3].
A notable gap remains: most implementations focus on model creation and simulation integration, rather than establishing a direct hardware-connected execution. This gap motivates the introduction of the concept of Hardware-in-the-Loop (HIL), emphasizing that simulation alone is insufficient for digital twins to remain synchronized with their physical counterparts. The literature on HIL with SysML models indicates that hardware-connected execution is essential for verifying that model semantics hold under actual device behavior, timing, interfaces, and sensor inputs. This positions HIL as a means of linking system models to real-world execution environments, rather than limiting them to purely analytical or simulated domains. Furthermore, researchers see HIL as a way to shift from descriptive modeling toward direct, model-based control and hardware interaction. Overall, these studies show that HIL is vital because it serves as the key experimental connection between architectural design and physical implementation [8,9].
The literature on MBSE–Digital Twins increasingly characterizes digital twins as dynamic, evidence-based system models operational at runtime, rather than static simulation tools. This shift highlights the importance of hardware-in-the-loop (HIL) testing. To ensure that a digital twin preserves its architectural design while accurately representing physical behavior, validation should be performed both through simulations and on physical hardware.
In summary, the literature on MBSE and DTs can be divided into three areas. First, MBSE is used to structure DT architectures, define system requirements, and depict logical and functional relationships, with the system model mainly serving as a descriptive tool. Second, MBSE artifacts are employed to create simulated environments for validating requirements and verifying designs, though these are limited to virtual or co-simulated settings rather than physical system interactions. Third, IoT and other data-driven approaches involve sensor data synchronized with digital models to provide real-time awareness, but they lack a definitive source of executable behavior. This highlights a specific gap in the literature, where there is a need for an MBSE-powered HIL verification framework that integrates system architecture, model translation, hardware execution, and engineering-based evidence within a unified, traceable workflow.
The proposed framework addresses this gap by implementing a bidirectional integration process that seamlessly connects architectural models with their execution environments via APIs and communication middleware. Unlike conventional architectural models, which are primarily static design artifacts, this framework empowers models to transfer ownership details, such as mission parameters, to the execution environment for subsequent action. The principal contribution of this work lies in establishing an architecture-driven verification pattern that maintains traceability of model elements and quantitative properties throughout the entire lifecycle. This spans from system definition and command translation to physical execution and runtime evidence collection. Unlike approaches focused on simulation-based MBSE and digital twins, the framework treats architecture-level parameters as authoritative inputs for hardware deployment, linking runtime observations with the same model context used to define the mission. This framework’s implementation on a UAV demonstrates this approach through an open, lightweight toolchain that combines Capella, Python for Capella, and MATLAB.

3. Proposed Framework

The proposed framework, illustrated in Figure 1, is organized into four layers that together support interaction between the architecture model and the physical system: (1) System Definition, (2) Model Translation and Integration, (3) Execution and Monitoring, and (4) Feedback and Synchronization. The framework is developed so that the applied UAV case study in this paper can be interpreted as a single implementation instance rather than the only possible application. Table 1 summarizes the key intent, function, inputs, and outputs of each aforementioned layer.
Figure 1. A Two-way Architecture-Driven Hardware-in-the-Loop Testing Framework.
Table 1. Intent and data flow across layers of the proposed MBSE–Digital Twin Integration Framework.

3.1. System Definition Layer

At the system definition layer, system models serve as the authoritative representation of stakeholder intent, system functions, logical architecture, and mission parameters. It establishes what the system is expected to do, how it has to be structured, which behaviors are required, and which parameters must be met during execution. In this paper, we use Capella to model using the Arcadia-based methodology. At this layer, stakeholder needs, operational scenarios, functional requirements, constraints, and mission parameters—such as movement distances, turning instructions, and telemetry-related variables—are formalized into architectural artifacts. These include operational capabilities, system functions, logical components, and Property Values Management Tool (PVMT) property values. The key output of this layer is a traceable system model that serves as the source of truth.

3.2. Model Translation and Integration Layer

The model translation and integration layer plays a vital role in connecting the system’s descriptive model and executable environments. Its main purpose is to transform the engineering information defined in the system definition layer into an executable form, ensuring that the meaning embedded in the system models is not lost.
From an implementation perspective, system models developed using MBSE toolchains such as CATIA Magic, Enterprise Architect, or Capella, and MATLAB (as used in this case) fundamentally operate differently: either by representing system structure, behavior, and decomposition or by requiring execution logic. In this paper, Python for Capella (P4C) V 1.4.0 is used as middleware to extract mission-relevant PVMT parameters and their associated properties for interpretation by MATLAB version R2025a. In Capella, the Property Values Management Tool is the mechanism that transitions an architectural model to a quantitative baseline. This is the foundational layer for ensuring that a Digital Twin can simulate performance and validate operational scenarios within real-world constraints. While standard MBSE tools focus on structure and logic, PVMT enables extending the metamodel to include domain-specific numerical data and engineering values. Model artifacts and mission parameters defined in the system definition layer serve as input to this layer, with the output being a map of model entities to runtime variables, thus enabling system models to drive the physical system.

3.3. Execution and Monitoring Layer

The operational core of the framework is the execution and monitoring layer, which helps to transfer the architecture parameter values to the physical system, as well as in a simulation environment. This layer triggers the translation of the architecture and intent defined in the system definition and model translation and integration layers, thereby enabling real-time system dynamics. Structured command sequences and runtime control logic defined in the integration layer serve as input, while executed mission behavior and engineering values describing the actual real-time execution are the layer’s output. In this paper, MATLAB serves as the execution environment that issues commands to a UAV and records runtime variables such as battery level, speed, height, and related execution data, thereby providing evidence for digital twins that model-driven execution yields runtime data, transforming a design-centric workflow into a stable environment.

3.4. Feedback and Synchronization Layer

The feedback and synchronization layer aims to close the loop between the system architecture and its real-time execution. Providing runtime evidence to the system model, which can be interpreted, validated, and used to refine the architecture, allows this framework’s bidirectional nature to create real-time digital twins instead of just a one-way control pipeline. This layer receives telemetry streams and runtime logs from the Execution and Monitoring Layer, along with expected values, mission definitions, and traceability relationships defined upstream. Run-time observations of engineering values can be compared with model-defined expected values using metrics such as absolute error, percentage error, and Root Mean Square Error (RMSE). The output of this layer provides validation evidence, such as performance metrics and engineering insight, that can inform future model refinement, calibration, and real-time experimentation and calibration of a physical system. In this paper, in the context of a UAV, telemetry-derived distance is compared with model-commanded distance to determine how closely the physical system executed the intended mission.

4. Framework Application—A Low-Cost UAV as a Representative Physical System

To validate the proposed framework, an RYZE Tello unmanned aerial vehicle (UAV) is selected for its accessibility, open SDK, and compatibility with MATLAB and Python. The intent was not just to build an integrated tool chain but to evaluate whether the proposed framework produced measurable evidence that the behavior of the physical system, in this case the UAV, remained consistent with the model-defined mission. Figure 2 illustrates the application of this framework to the proposed case study.
Figure 2. Framework implementation for the UAV case study. The figure maps the UAV implementation activities to the four layers introduced in Figure 1. Capella/Arcadia modeling and PVMT mission parameter definition instantiate the System Definition Layer; Python4Capella extraction and command packaging instantiate the Model Translation and Integration Layer; MATLAB simulation, physical UAV execution, and telemetry capture instantiate the Execution and Monitoring Layer; and telemetry-based verification and model-linked evidence return instantiate the Feedback and Synchronization Layer.
The application of this framework consisted of developing a UAV model in Capella using the Acradia methodology, defining mission parameters using PVMT and logical components, extracting and translating parameters using P4C into MATLAB executable commands, executing the mission on a physical Ryze Tello UAV platform and simultaneously collecting telemetry engineering values, and evaluating the model for telemetry consistency using experimental trials.
The System Definition layer is instantiated with Operational Analysis (OA), during which the mission purpose, system boundary, and key stakeholders are identified. For the UAV case study, stakeholders include the operator, the autonomous control system, and the operational environment. The main mission goal is to achieve autonomous indoor flight with real-time observation of UAV behavior. The mission is structured into five stages, i.e., pre-flight prep, takeoff, navigation, landing, and post-flight telemetry reporting, showing when commands are sent, physical actions are performed, and system observations are made. Additionally, it emphasizes the importance of consistent communication and well-organized command sequences.
The operational entity diagram illustrated in Figure 3 clarifies system boundaries by identifying the UAV, operator, autonomous control system, and environment as distinct operating entities. The operator entity assists in system monitoring, while the autonomous control system executes commands and manages mission behavior. The environment entity encompasses external factors that affect navigation and flight stability, highlighting the importance of autonomous operation. These dynamics are incorporated into operational analysis by defining system interactions, ensuring a clear separation between system intent and execution, and accounting for realistic operational dynamics.
Figure 3. Operational entity diagram (OED) for UAV mission.
At the System Analysis level, the operational needs are translated into functional capabilities of the said UAV. Figure 4 illustrates the UAV’s system architecture, showing its principal functions and interactions with external entities.
Figure 4. System architecture diagram of the UAV.
It indicates that the UAV is responsible for flight control, navigation, thrust generation, communication, structural integrity, and battery management while interacting with the communication network and the surrounding environment. This representation lays the foundation for the telemetry-based evaluation, explained in later sections, which depends on understanding how command logic, communication, and runtime data are situated within the overall system architecture.
The transition from the Systems Analysis level to the Logical Architecture directly connects the case study to the proposed framework. At this level, illustrated in Figure 5, the UAV is decomposed into interacting logical subsystems, including the flight control system, navigation system, propulsion system, airframe, power system, communication system, vehicle management system, and emergency handling system. This representation is intended to facilitate understanding of the architectural roles of the main subsystems—for example, the flight control system manages stabilization and path execution, the navigation system provides directional and motion-related information, the power system supplies and monitors energy, and the emergency handling system supports safe landing under extreme conditions.
Figure 5. Logical architecture diagram of the UAV system.
Figure 6 presents an improved logical architecture that emphasizes the framework’s bidirectional nature. It clearly separates the command chain from the telemetry chain. The blue command chain illustrates how mission commands are generated within the autonomous control environment and transmitted through the communication and control structure to the propulsion and flight subsystems, enabling UAV movement. The red telemetry chain depicts the flow of engineering values, such as battery and status information, from the UAV subsystems back to the model environment. This separation demonstrates that the system is designed not only to execute commands defined by the model but also to send runtime evidence back to the model environment, thereby providing an architectural foundation for telemetry-based validation analysis.
Figure 6. UAV logical movement and feedback architecture.
To enable execution of this logical architecture, the Property Values Management Tool (PVMT) add-on [23,24] is used at the logical level to assign specific quantitative mission parameters to relevant model elements. These include actions like takeoff, forward movement, turning, and landing, along with their associated movement distances and rotation angles. This process converts the logical model from a descriptive framework into a parametric representation of mission behavior. In framework terms, this step shifts from the System Definition Layer to the Model Translation and Integration Layer, since the architecture now incorporates explicit quantitative values that can be extracted and transformed into executable commands.
The implementation map of the integration layer, i.e., the bidirectional communication workflow between Capella, Python4Capella, MATLAB, and the Ryze Tello UAV, is shown in Figure 7. PVMT-defined properties are retrieved from the Capella model using Python4Capella, converted into ordered mission commands, and passed into MATLAB for execution. The algorithm outlining the procedure for extracting model-defined UAV commands, executing them on the physical Tello drone, and comparing the resulting trajectory with the expected trajectory generated by the Capella model is presented in Algorithm 1.
Algorithm 1. MBSE-Driven Command to Telemetry Distance Verification
Input: Capella .aird model containing UAV mission commands as PVMT properties; logical component representing the Flight Control System; MATLAB-Tello interface; sampling interval (0.10 s).
Output: Expected trajectory, observed trajectory.
  • Initialize the MBSE model interface
    Load the Capella model using Python4Capella and identify the logical component containing the UAV flight-control parameters.
  • Extract model-defined mission commands
    Retrieve the PVMT command values associated with the mission sequence:
    C = {Takeoff, MoveForward_1, Turn_1, MoveForward_2, Land}
    Store each command as a command-value pair:
    Commands = {(c_1,v_1),(c_2,v_2),…,(c_n,v_n)}
  • Generate the expected trajectory from the MBSE model
    Initialize the expected UAV position as:
    P_{exp,0} = (0,0)
    For each forward-movement command, update the expected X- or Y-position based on the current movement axis. For each turn command, update the active movement direction. Store each resulting waypoint as part of the expected trajectory:
    P_{exp} = {(x_{exp,1},y_{exp,1}),…,(x_{exp,n},y_{exp,n})}
  • Establish the physical execution interface
    Start the MATLAB engine from Python and connect to the Ryze Tello UAV using the MATLAB drone interface.
  • Execute the model-derived mission commands
    Send the corresponding physical command to the UAV. Execute takeoff, forward movement, turn, and landing commands according to the values extracted from the Capella model.
  • Collect observed motion data during execution
    During each forward-movement segment, sample UAV speed data at interval (0.10 s). Estimate observed displacement using:
    x_{obs,k} = x_{obs,k-1} + v_x \Delta t
    y_{obs,k} = y_{obs,k-1} + v_y \Delta t
    Accumulate the observed displacement for each movement segment and store the resulting observed trajectory:
    P_{obs} = {(x_{obs,1},y_{obs,1}),…,(x_{obs,n},y_{obs,n})}
  • Compute commanded-versus-observed trajectory error
    Compare the final expected and observed positions along each axis:
    e_x = x_{obs} - x_{exp}
    e_y = y_{obs} - y_{exp}
    The axis-wise endpoint errors are computed as:
    E_x = \sqrt{e_x^2}
    E_y = \sqrt{e_y^2}
  • Report validation outcome
    Use the axis-wise error values to evaluate the degree of agreement between the MBSE-defined mission intent and the physical UAV response.
Figure 7. Bidirectional communication workflow between Capella Model, Python4Capella, MATLAB, and the Ryze Tello UAV.
In PVMT, each property signifies an action like takeoff, forward movement, rotation, or landing, along with relevant parameters such as distance in meters or rotation angle in radians. Python4Capella allows these architectural properties to be used programmatically, retrieving them as floatProperty values from the Flight Control System component after navigating the logical architecture of the .aird project file. These properties are collected in the order they are defined in the model to ensure the execution sequence matches the architectural design. An example of the modeled properties dataset is shown in Figure 8 along with the PVMT property schema used, illustrated in Table 2. The extracted movement data is then converted into a list of commands compatible with MATLAB. The MATLAB Engine API for Python is used to match each specified MATLAB control command to its corresponding property. For example, a PVMT property for turning 1.5708 radians (90 degrees) and moving forward 2.0 m is directly translated into a MATLAB command. This command sequence is then executed on the physical UAV using the MATLAB Support Package for Ryze Tello drones. MATLAB manages the connection to the UAV, performs initial system checks, and executes the full command sequence in accordance with the architectural model. This process enables the UAV to take off, move forward, rotate, and land systematically, demonstrating that the logic outlined in the architectural model is implemented in the physical system. The translated mission commands are executed in MATLAB, which, together with the physical Ryze Tello UAV, instantiates the Execution and Monitoring Layer of the framework.
Figure 8. An example of the modeled properties dataset defined for the UAV case study.
Table 2. PVMT Property Schema Used.
The final component of the framework is the Feedback and Synchronization Layer, which transmits runtime telemetry from the physical UAV back to the model environment. In this case study, the initial display shows engineering data, including battery status, distance, and speed. However, the framework is designed so that the same synchronization process can be extended to include additional variables and indicators of system behavior. This layer is important because it keeps the model connected to the physical system even after execution. Instead of just ending with command delivery, it allows runtime data to be reintegrated into the engineering context. This enables a quantitative comparison between the model’s expected behavior and actual performance.

4.1. Commanded Versus Telemetry-Derived Distance Fidelity Experiment—Validating the UAV Case Study

Semantic consistency is the key to translating MBSE artifacts to operational models; i.e., the data definitions, mathematical behaviors, and structural relationships must stay aligned as a system moves from the conceptual design phase to a real-time environment. For instance, an engineering variable might appear as a property in the model, as a runtime variable in MATLAB, and as a telemetry value returned by the physical system. For validation, the Capella model continued to serve as the authoritative source for mission definition. Extracted parameters are associated with named commands instead of anonymous values. Units and assumptions are standardized at the integration boundary. Additionally, telemetry data received during execution is considered as runtime evidence connected to the mission context.

4.1.1. UAV Flight Conditions

To evaluate the consistency of the translational mission execution, the UAV was instructed to perform three structured indoor flight conditions. Each involved a takeoff and a series of straight-line segments separated by 90° turns. The total distance traveled varies across conditions, but the overall maneuver pattern remains the same.
  • Condition 1: Takeoff → travel 1 m → turn 90° → travel 1 m → land
Expected total translational distance = 2 m
  • Condition 2: Takeoff → travel 1 m → turn 90° → travel 1 m → turn 90°→ travel 1 m → turn 90°→ travel 1 m → land
Expected total translational distance = 4 m
  • Condition 3: Takeoff → travel 1 m → turn 90° → travel 2.5 m → turn 90°→ travel 1 m→ land
Expected total translational distance = 4.5 m

4.1.2. Commanded Distance Formulation

For every mission condition, the anticipated translational distance is calculated by summing all straight-line segments outlined in the Capella model. Rotational maneuvers are not included in this total since they alter the UAV’s heading but do not directly increase linear displacement. If a given mission contains m translational segments denoted by d 1 , d 2 , … , d m , then the total expected distance is
D e x p = ∑ j = 1 m d j
For example, for a two-leg condition represented by Condition 1 with two commanded 1 m translations,
D e x p = 1 + 1 = 2   m
Since these values are directly extracted from the PVMT-defined command parameters in Capella, they are inherently fixed and do not vary across repeated tests of the same condition.

4.1.3. Telemetry-Derived Distance Estimation

The standard Tello platform lacks direct global position data; the drone’s traveled distance is estimated from telemetry rather than onboard position coordinates. During flight, the drone’s speed is recorded continuously, and the total translational distance is calculated by integrating this speed over time.
Let v k denote the telemetry-derived speed at sample k , and let Δ t k denote the elapsed time between samples k − 1 and k . The total telemetry-derived distance for a flight is then estimated as
D t e l e = ∑ k = 1 N v k Δ t k
where N is the number of telemetry intervals observed during the translational portions of the mission.
For a segment-level analysis, the telemetry-derived distance for segment j can be written as
d t e l e , j = ∑ k ∈ j v k Δ t k
With a resulting full mission distance of
D t e l e = ∑ j = 1 m d t e l e , j

4.1.4. Experimental Procedure

Each condition follows a standard procedure to ensure consistency. The drone is placed at a fixed, easily reproducible takeoff point within the indoor test area. Checks are performed on the battery level, connection stability, and system readiness. A mission relevant to the environment, defined by Capella, is loaded. Telemetry logging begins prior to takeoff. The drone then performs a sequence of takeoff, translational movements, a 90° turn, additional translational movements, and landing. During the entire process, telemetry data—including timestamp, speed, battery level, and active maneuver label—is continuously recorded. After each mission, the total distance traveled is derived from the telemetry data. This sequence is repeated 10 times per condition to ensure sufficient data is collected. The UAV’s velocity telemetry was sampled every 0.10 s. During each forward command, MATLAB’s readSpeed function retrieved the UAV’s velocity components along the (x) and (y) axes. To address potential variations in measurement timing caused by communication delays between Python, the MATLAB engine, and the UAV, system timestamps were used to determine the actual elapsed time between samples. The overall position was calculated by cumulatively tallying the incremental displacements throughout each maneuver.

4.1.5. Error Metrics Used

The following metrics were identified to measure how well the model-defined mission distance matches the telemetry-derived executed distance.
For each trial, the absolute distance error is defined as:
E a b s =   ∣ D e x p − D t e l e ∣
This metric quantifies the magnitude of the deviation between the expected and actual translational distance. Further, to normalize error across conditions, a percentage error metric is used to enable meaningful cross-condition comparisons.
E % = ∣ D e x p − D t e l e ∣ D e x p × 100
For multiple trials of a specific condition to measure both average deviation and consistency across the mission, the root mean-squared error metric is employed, with n representing the number of trials for that condition.
R M S E = 1 n ∑ i = 1 n ( D e x p − D t e l e , i ) 2

4.1.6. Data Analysis

Three testing conditions were evaluated, each with 10 trials. The targeted translational distances increased from 2.0 m in Condition 1 to 4.0 m in Condition 2 and 4.5 m in Condition 3. Motion was assessed via telemetry-derived distances, with fidelity evaluated through absolute error, percentage error, and RMSE. In Condition 1 (Table 3), the average telemetry distance was 1.8739 m—below the 2.0 m target—along with a standard deviation of 0.2096 m, an RMSE of 0.2354 m (Table 6), and a mean percentage error of 11.00%. Trial results ranged from 1.6202 m to 2.1912 m, showing moderate variation. The largest errors were in Trials 4 and 9, at 0.3609 m and 0.3798 m, both exceeding 18%.
Table 3. Individual trial data for condition 1.
In Condition 2 (Table 4), the mean telemetry distance was 3.9945 m, close to the goal of 4.0 m. The standard deviation was 0.4170 m, the RMSE was 0.3957 m (Table 6), and the mean percentage error was lowest at 8.63%. Trial distances ranged from 3.4462 m to 4.6033 m, with some undershoot and overshoot. Despite a larger absolute RMSE than in Condition 1, the normalized error indicated better proportional accuracy. In Condition 3 (Table 5), the target was 4.5 m, but the mean telemetry reading was 4.3448 m, indicating slight underperformance. This condition exhibited the highest standard deviation, 0.5374 m, and the largest RMSE, 0.5329 m (Table 6). The mean percentage error was 10.56%, higher than Condition 2 but slightly lower than Condition 1. Trial data ranged from 3.5757 m to 5.0051 m. The largest absolute error occurred in Trial 6, with a telemetry distance of 3.5757 m, yielding an absolute error of 0.9243 m and a percentage error of 20.54%. Overall, the results show that the executed distance derived from telemetry remained close to the model-predicted distance across all three conditions. Nonetheless, variability grew as the mission distance extended.
Table 4. Individual trial data for condition 2.
Table 5. Individual trial data for condition 3.
Table 6. Data Comparing Conditions 1, 2, and 3.
Note that the measured distances across all reported conditions may be influenced by variability in physical execution and uncertainty in telemetry-based estimates, which are calculated by integrating recorded timestamps. Turn maneuvers and hover stabilization can also induce translational movements not explicitly considered in the commanded-distance model. Additional sources of variability include Wi-Fi latency and UAV thrust responses that depend on battery level. These factors were not individually isolated during the trials, so the results should be viewed as reflecting an overall combined discrepancy.

5. Discussion and Limitations

Applying the proposed framework to a low-cost UAV, the results show that the mission distances defined by MBSE were effectively translated into physical drone actions, maintaining measurable accuracy. In all three conditions, the average distance from telemetry measurements remained near the expected value, indicating that the framework pipeline preserved the core intent of the translation embedded in the model. This is significant because it means the architecture model was not just a descriptive tool but also served as an operational reference for defining and evaluating system behavior. Condition 1 showed the highest mean percentage error (11.00%) despite having the smallest RMSE (0.2354 m). Condition 2 demonstrated the best overall proportional performance, with a mean telemetry-derived distance of 3.9945 m, very close to the expected 4.0 m, and the lowest mean percentage error at 8.63%. This indicates that, for the tested mission geometry, the 4 m condition aligned most closely with the drone’s telemetry-based motion estimate. Condition 3 had the largest RMSE and greatest variability, with a standard deviation of 0.5374 m and an RMSE of 0.5329 m. Several larger deviations, particularly in Trials 6, 7, and 10, suggest that longer missions may amplify the cumulative effects of speed fluctuations, turn transitions, and variability in communication timing. These variations may have resulted from transient effects in speed estimation, controller adjustments during turns, or slight differences in hover stabilization before movement [25], which are to be further explored.
Overall, the results validate the proposed experimental framework. Although the model distances were not perfectly reproduced, they were close enough to establish a consistent, measurable relationship between model intent and actual execution.
A primary limitation of this validation study is that the observed distance is obtained from telemetry data rather than external measurement methods. Consequently, the reported error metrics do not accurately represent the true geometric path accuracy in physical space; instead, they measure the correspondence between the model-commanded mission distance and the distance indicated by the drone’s onboard telemetry. Additionally, the three mission conditions employed in this validation do not establish environmental robustness or operational scalability. Rather, they merely demonstrate technical feasibility and repeatability within a controlled indoor environment. Further testing involving more complex trajectories and varying environmental and communication conditions is necessary before the framework can be considered robust.
The framework developed in this study creates a command path from the model to the hardware and a telemetry return path from the hardware back to the model. The bidirectionality is demonstrated through preserving the traceability between the architecture and the physical system in both directions. Downstream, model-defined mission parameters are not manually recreated in the execution environment; they are extracted from Capella/PVMT properties linked to logical model elements and translated into executable commands. Upstream, telemetry data are seen not as standalone runtime measurements but as linked to the mission context and model-defined parameters that originated the execution. This linkage enables comparing runtime data with model expectations and using it as evidence for verification. Currently, runtime values are linked to the original mission definitions and used for verifying performance after execution. However, features such as automatic online modification of Capella model elements, runtime recalibration, and telemetry-driven mission adjustments have not been implemented yet. These functionalities are considered future enhancements to increase the framework’s maturity.

6. Conclusions

This paper proposes a structured MBSE-enabled framework that facilitates HIL verification and showcases its application using a Ryze Tello UAV case study, developed in Capella and operationalized via Python4Capella and MATLAB. This research addresses a recurring challenge at the intersection of MBSE and digital twins: while MBSE effectively structures architectures, traceability, and system abstractions, many digital twin implementations are often descriptive, tool-specific, or loosely linked to physical systems. To address this, the study proposes a four-layer framework comprising System Definition, Model Translation and Integration, Execution and Monitoring, and Feedback and Synchronization layers, aiming to establish a traceable, bidirectional connection between the system architecture and its physical counterpart.
The paper’s contribution is both conceptual and practical. Conceptually, the framework explains how an MBSE model can go beyond static representations to become an active part of execution and validation. The System Definition Layer formalizes mission intent, system functions, subsystem breakdown, and mission parameters using Arcadia-based modeling in Capella. The Model Translation and Integration Layer demonstrates how these architectural definitions can be converted into executable mission logic via Python4Capella, maintaining semantic consistency between model intent and runtime control. The Execution and Monitoring Layer demonstrates how these commands can be applied to a physical UAV in MATLAB, while the Feedback and Synchronization Layer ensures that runtime data is fed back into the model for validation and future updates. The four-layer abstraction could potentially be applied to other cyber–physical systems that offer an authoritative system model, a programmable execution interface, and a measurable feedback channel. This study showcases this architecture on a single UAV platform; however, further empirical evaluation is needed to assess its transferability across domains and scalability.

Author Contributions

Conceptualization, A.A.; methodology, A.A.; software, M.R.I.; validation, M.R.I. and A.A.; formal analysis, A.A.; investigation, M.R.I.; resources, A.A.; data curation, M.R.I.; writing—original draft preparation, M.R.I.; writing—review and editing, A.A.; visualization, M.R.I.; supervision, A.A. and S.A.L.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

During the preparation of this manuscript, the author(s) used the Grammarly tool for the purposes of English writing.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Schluse, M.; Atorf, L.; Rossmann, J. Experimentable digital twins for model-based systems engineering and simulation-based development. In Proceedings of the 2017 Annual IEEE International Systems Conference (Syscon); IEEE: New York, NY, USA, 2017. [Google Scholar]
  2. Estefan, J.A. Survey of Model-Based Systems Engineering (MBSE) Methodologies; Incose MBSE Focus Group: San Diego, CA, USA, 2007; Volume 25, pp. 1–12. [Google Scholar]
  3. Bickford, J.; Van Bossuyt, D.L.; Beery, P.; Pollman, A. Operationalizing digital twins through model-based systems engineering methods. Syst. Eng. 2020, 23, 724–750. [Google Scholar] [CrossRef] [Scilit]
  4. Madni, A.M.; Purohit, S. Augmenting MBSE with Digital Twin Technology: Implementation, Analysis, Preliminary Results, and Findings. In Proceedings of the IEEE International Conference on Systems, Man and Cybernetics, Melbourne, Australia, 17–20 October 2021; pp. 2340–2346. [Google Scholar] [CrossRef] [Scilit]
  5. Boschert, S.; Rosen, R. Digital Twin—The Simulation Aspect. In Mechatronic Futures; Springer: Berlin/Heidelberg, Germany, 2016; pp. 59–74. [Google Scholar] [CrossRef] [Scilit]
  6. Madni, A.M.; Madni, C.C.; Lucero, S.D. Leveraging digital twin technology in model-based systems engineering. Systems 2019, 7, 7. [Google Scholar] [CrossRef] [Scilit]
  7. Gill, M.S.; Reif, J.T.; Jeleniewski, T.R.; Weigand, M.; Fay, A. Application potentials of semantic technologies for digital twins in aircraft design, manufacturing and maintenance. In dtec.bw-Beiträge der Helmut-Schmidt-Universität/Universität der Bundeswehr Hamburg: Forschungsaktivitäten im Zentrum für Digitalisierungs- und Technologieforschung der Bundeswehr dtec.bw; Schulz, D., Fay, A., Matiaske, W., Schulz, M., Eds.; Helmut-Schmidt-Universität/Universität der Bundeswehr Hamburg: Hamburg, Germany, 2022; Volume 1, pp. 266–271. [Google Scholar] [CrossRef] [PubMed]
  8. Philipp, H.; Schramm, G. Hardware-in-the-Loop with SysML and Cameo Systems Modeler. In Proceedings of the INCOSE International Symposium, Dublin, Ireland, 2–6 July 2024; Volume 34. [Google Scholar]
  9. Yeiser, A.; Pavalkis, S.; Yakimenko, O. Exploring the executable SYSML capabilities to integrate and operate hardware in the loop. INCOSE Int. Symp. 2024, 34, 2489–2508. [Google Scholar] [CrossRef] [Scilit]
  10. Wang, J.; Wang, X.; Dong, S. Construction of MBSE-based smart beam yard system. In Proceedings of the International Conference on Smart Transportation and City Engineering (STCE 2023); SPIE: Bellingham, WA, USA, 2024; Volume 62. [Google Scholar] [CrossRef] [Scilit]
  11. Keskin, B.; Salman, B.; Koseoglu, O. Architecting a BIM-Based Digital Twin Platform for Airport Asset Management: A Model-Based System Engineering with SysML Approach. J. Constr. Eng. Manag. 2022, 148, 04022020. [Google Scholar] [CrossRef] [Scilit]
  12. Zhang, X.; Wang, H.; Hu, Y.; Zhang, X.; Zhao, F.; Wan, C. Applying model-based system architecture process method for a human-robot digital twin system. In Proceedings of the 2021 International Conference on Cyber-Physical Social Intelligence (ICCSI), Beijing, China, 18–20 December 2021; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
  13. Wang, Y.; Steinbach, T.; Klein, J.; Anderl, R. Integration of model based system engineering into the digital twin concept. Procedia CIRP 2021, 100, 19–24. [Google Scholar] [CrossRef] [Scilit]
  14. Zou, X.; Liu, Z.; Zhao, W.; Wang, L. Design and implementation of a hardware-in-the-loop simulation platform for a tail-sitter UAV. Aircr. Eng. Aerosp. Technol. 2023, 95, 985–994. [Google Scholar] [CrossRef] [Scilit]
  15. Roques, P. Systems Architecture Modeling with the Arcadia Method; Elsevier: Amsterdam, The Netherlands, 2018. [Google Scholar]
  16. Islam, R.; Akundi, A.; Luna, S. Navigating Digital Twins: Challenges and Implementation Techniques through the lens of MBSE. Procedia Comput. Sci. 2025, 268, 234–241. [Google Scholar] [CrossRef] [Scilit]
  17. Laukotka, F.; Hanna, M.; Krause, D. Digital twins of product families in aviation based on an MBSE-assisted approach. Procedia CIRP 2021, 100, 684–689. [Google Scholar] [CrossRef] [Scilit]
  18. Kovalyov, S.P. Design and Development of a Power System Digital Twin: A Model-based Approach. In Proceedings of the 2021 3rd International Conference on Control Systems, Mathematical Modeling, Automation and Energy Efficiency, SUMMA, Lipetsk, Russia, 10–12 November 2021; pp. 843–848. [Google Scholar] [CrossRef] [Scilit]
  19. Wilking, F.; Sauer, C.; Schleich, B.; Wartzack, S. SysML 4 Digital Twins—Utilization of System Models for the Design and Operation of Digital Twins. Proc. Des. Soc. 2022, 2, 1815–1824. [Google Scholar] [CrossRef] [Scilit]
  20. Lee, E.B.K.; Van Bossuyt, D.L.; Bickford, J.F. Digital twin-enabled decision support in mission engineering and route planning. Systems 2021, 9, 82. [Google Scholar] [CrossRef] [Scilit]
  21. Bouhali, I.; Idasiak, V.; Martinez, J.; Mhenni, F.; Choley, J.Y.; Palladino, L.; Kratz, F. A Collaboration Framework Using Digital Twin for Dynamic Simulation and Requirements Verification Based on MBSE and the MIC Concept. In Proceedings of the SysCon 2024—18th Annual IEEE International Systems Conference, Montreal, QC, Canada, 15–18 April 2024. [Google Scholar] [CrossRef] [Scilit]
  22. Ramirez, C.A.; Agrawal, P.; Thompson, A.E. An Approach Integrating Model-Based Systems Engineering, IoT, and Digital Twin for the Design of Electric Unmanned Autonomous Vehicles. Systems 2025, 13, 73. [Google Scholar] [CrossRef] [Scilit]
  23. Baron, C.; Grenier, L.; Ostapenko, V.; Xue, R. Using the ARCADIA/Capella Systems Engineering Method and Tool to Design Manufacturing Systems—Case Study and Industrial Feedback. Systems 2023, 11, 429. [Google Scholar] [CrossRef] [Scilit]
  24. Vertemati, D. Architecture Definition of a Thermal Management System for a Hybrid-Electric Aircraft with a MBSE Approach. Doctoral Dissertation, Politecnico di Torino, Turin, Italy, 2023. Available online: http://webthesis.biblio.polito.it/id/eprint/26942 (accessed on 10 April 2026).
  25. Usman, M. Quadcopter Modelling and Control with Matlab/Simulink Implementation. Bachelor’s Thesis, LAB University of Applied Sciences, Lappeenranta, Finland, 2020. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.