Visual Requirements Engineering: A Systematic Approach for Automotive Motor Control Units

The evolution of the automotive industry towards software-defined vehicles has fundamentally shifted the paradigm of vehicle ownership and operation. The modern vehicle is no longer merely a conveyance but an integrated, intelligent system where a significant portion of new customer value is delivered through sophisticated electronic control functions. The central nervous system enabling this transformation is the automotive Electronic Control Unit (ECU), or more specifically in the context of powertrain and chassis systems, the motor control unit. This shift places immense pressure on the development processes, making the effective elicitation, analysis, and management of system requirements a critical and challenging task. The failure to accurately capture and translate customer needs into unambiguous, verifiable technical specifications remains a primary cause of project delays, budget overruns, and ultimately, product failure.

The core challenge in developing complex systems like a modern motor control unit lies in the nature of the requirements themselves. They are often vague, subjective, and prone to change. Stakeholders, including customers, marketing, engineers, and suppliers, may have divergent understandings based on their individual perspectives and expertise. Traditional, text-heavy requirement documents are fertile ground for ambiguity, inconsistency, and misinterpretation. A requirement stated as “the system shall prevent overheating” is open to numerous interpretations—what is considered overheating? Under what operating conditions? How is prevention achieved? These ambiguities, if unresolved, cascade through the entire development lifecycle, leading to a design that may be logically sound but functionally misaligned with the original intent. Therefore, a disciplined, visual, and model-based approach to requirements engineering is not merely beneficial but essential for the successful forward development of automotive electronic control systems.

The process of Requirements Development is a structured, iterative endeavor comprising four interrelated activities: Elicitation, Analysis, Specification, and Validation. It begins with gathering the needs, expectations, and constraints from all stakeholders (Elicitation). This raw input is then processed during Analysis to identify implicit needs, resolve conflicts, and decompose high-level goals into detailed statements. The outcome is formally documented in a Requirements Specification, which serves as the single source of truth for what the system must do. Finally, Validation ensures the documented requirements are correct, complete, and testable. The entire process is governed by the principle of “progressive elaboration,” where understanding matures from abstract ideas to precise, technical descriptions.

To manage the inherent complexity of a motor control unit, a hierarchical decomposition of requirements is employed. This follows the classical “V-model” of systems engineering, where the left leg represents the forward design process and the right leg represents the integration and verification process. Requirements are structured from the top down:

  • Customer/User Requirements: High-level statements describing the vehicle’s functional needs from the user’s perspective (e.g., “The driver can request a particulate filter regeneration”).
  • System Requirements: Engineering-level specifications for the top-level motor control unit as a black box, defining its interactions with the external world.
  • Subsystem Requirements: Specifications for the internal logical components of the motor control unit (e.g., input processing, diagnostic manager, regeneration controller).
  • Component/Software Requirements: Detailed specifications for individual software modules or hardware components.

The transition from one level to the next is where ambiguity creeps in. To bridge this gap, we advocate for a Visual Analysis Model-Based approach. This method uses standardized graphical models to analyze and represent the system from multiple viewpoints, making complex relationships and behaviors explicit and easier to understand for all stakeholders.

Visual Analysis Methodology for Requirement Derivation

The proposed methodology employs a suite of visual models from systems modeling languages (like SysML/UML) to systematically decompose and analyze requirements. The process is iterative and centered on transforming abstract customer needs into concrete, low-level specifications for the motor control unit.

The first step is to establish the system boundary. Using a Use Case Diagram, we define the scope of the motor control unit by identifying all external actors (e.g., Driver, Diagnostic Tool, Vehicle Sensors, Actuators) and the high-level services (use cases) it provides to them. For instance, a primary use case for an engine motor control unit is “Manage Particulate Filter Regeneration.” This model clearly separates the system from its environment and focuses on what the system does, not how.

Each use case is then detailed through scenarios, which are specific sequences of interactions. These scenarios are best captured using Activity Diagrams and Sequence Diagrams.

The Activity Diagram is ideal for modeling the control flow and responsibilities within a process. It uses swimlanes to partition activities among the system and its external actors. For example, in the “Trigger Regeneration” process, swimlanes would be defined for the Driver, the motor control unit (ECU), and the Vehicle (representing other subsystems). This visualization makes it immediately clear which actor is responsible for each action—e.g., “Press Regeneration Switch” (Driver), “Evaluate Regeneration Conditions” (ECU), “Display Regeneration Status” (Vehicle). This analysis directly yields functional requirements related to signal acquisition, logic processing, and command issuance for the motor control unit.

The Sequence Diagram complements this by detailing the time-ordered messaging between system components for a specific scenario. It is excellent for defining interface requirements and understanding dynamic behavior. Lifelines represent system components or actors, and arrows between them represent messages (signals, data, calls). Combined fragments can model complex logic like loops (e.g., “while regenerating”), alternatives (e.g., “if temperature is too high”), and concurrency (e.g., “control fuel injection AND manage airflow simultaneously”). Analyzing these interactions generates precise requirements for communication protocols, timing constraints, and the sequence of operations inside the motor control unit.

To define the static structure and internal interfaces of the motor control unit, Block Definition Diagrams (BDD) and Internal Block Diagrams (IBD) are used. The BDD defines the part hierarchy of the system (e.g., the ECU is composed of a Signal Conditioning Subsystem, a Core Control Algorithm Subsystem, and a Diagnostics Subsystem). The IBD then “zooms into” a block to show how its internal parts are connected via ports and interfaces (e.g., the flow of a “Coolant Temperature” signal from the Signal Conditioning part to the Core Control part). This analysis is crucial for deriving interface requirements and allocating functions to specific subsystems within the motor control unit.

The following table summarizes the role of each visual model in the requirement derivation process:

Visual Model Primary Purpose Requirement Type Elicited
Use Case Diagram Define system scope and external interactions. High-level functional features, system boundary.
Activity Diagram Model process flow and actor responsibilities. Functional flow, logical conditions, error handling.
Sequence Diagram Detail time-ordered component interactions. Interface protocols, timing, behavioral sequences.
Block / Internal Block Diagram Define system structure and internal interfaces. Subsystem decomposition, internal data/control flows.

Throughout this modeling activity, derived requirements are captured and linked in a Requirements Diagram. This diagram provides traceability, showing how a high-level customer requirement is satisfied by a set of system requirements, which are in turn refined by subsystem requirements. This visual traceability is vital for impact analysis and verification coverage.

Case Study: Triggering the Particulate Filter Regeneration

To illustrate the methodology, we examine the function of triggering a parked regeneration for a diesel particulate filter (DPF)—a critical emissions control function managed by the engine’s motor control unit.

Step 1: Use Case Analysis. The primary actor is the “Operator” (which can be a Driver or a Service Technician). The motor control unit (ECU) provides the use case “Execute Parked Particulate Filter Regeneration.” Another supporting use case, “Monitor Filter and System State,” is included as it provides essential data (like soot load level) for the regeneration logic.

Step 2: Activity Diagram Analysis. We model the “Trigger Regeneration” activity with swimlanes for Operator, motor control unit (ECU), and Vehicle Platform. The process begins with the Operator initiating a request (via a button or diagnostic tool). The ECU’s responsibilities include: reading the request signal, validating it, checking a set of enabling conditions (e.g., vehicle speed = 0, engine running, fuel level sufficient), estimating the current soot load in the filter, and if all conditions are met, initiating and controlling the regeneration process by sending commands to the vehicle platform (e.g., post-fuel injection, throttle control). This activity model directly generates system-level requirements such as:

REQ-SYS-101: The motor control unit shall read the state of the regeneration request switch.

REQ-SYS-105: The motor control unit shall inhibit regeneration if vehicle speed is greater than a threshold defined in calibration parameter CAL_VSPD_MAX.

REQ-SYS-110: The motor control unit shall calculate the estimated soot mass in the particulate filter.

The soot mass calculation itself can be derived from a model, leading to a potential derived requirement expressed as a formula. For instance, a simple phenomenological model could be:
$$ C_{soot}(t) = C_{soot,0} + \int_{t_0}^{t} (\dot{m}_{in} – \dot{m}_{oxid}) \, dt $$
where $C_{soot}(t)$ is the current soot load, $\dot{m}_{in}$ is the soot inflow rate (a function of engine operating point), and $\dot{m}_{oxid}$ is the passive oxidation rate. This translates into software requirements for the motor control unit related to algorithm implementation.

Step 3: Sequence Diagram Analysis. We detail the “Successful Regeneration Trigger” scenario. The sequence starts with the Operator sending a `Regen_Request` message. The ECU must query the Vehicle for status (`Get_Vehicle_Speed`, `Get_Engine_State`), retrieve the internal soot load estimate (`Get_Soot_Load`), and evaluate the logic. The modeling of combined fragments is key here:

1. An `opt` (option) fragment encloses the condition checking: `[IF Regen_Conditions_Met]`.

2. A `par` (parallel) fragment shows the concurrent execution of `Control_DPF_Temperature` and `Monitor_Abort_Conditions` once regeneration is active.

3. A `loop` fragment surrounds the core regeneration control, indicating it runs iteratively until a `[Regen_Complete OR Abort_Requested]` condition is true.

From this sequence, we derive precise interface and behavioral requirements:

REQ-INT-201: The `Regen_Request` signal shall be a Boolean value received over the CAN bus with a minimum update frequency of 10 Hz.

REQ-BEH-205: The `Control_DPF_Temperature` function shall run concurrently with the `Monitor_Abort_Conditions` function during active regeneration.

Step 4: Structural Decomposition & Traceability. Using block diagrams, we decompose the motor control unit into subsystems like `InputProcessing`, `RegenerationManager`, and `DiagnosticManager`. The Requirements Diagram then links everything: the user need “Ability to clean the particulate filter manually” (`REQ-USER-01`) is satisfied by the system use case, which is implemented by system requirements (`REQ-SYS-101`, `105`, `110`). These system requirements are allocated to and refined by subsystem requirements (e.g., `REQ-SW-INPUT-301: The InputProcessing module shall debounce the Regen_Request signal`). This creates a complete, visually navigable hierarchy of specifications for the motor control unit.

Conclusion

The development of modern automotive electronic control systems, epitomized by the complex motor control unit, demands a rigorous approach to requirements engineering. Relying solely on natural language specifications is a proven source of risk, leading to ambiguity, misinterpretation, and costly errors late in the development cycle. The visual analysis model-based method presented here offers a powerful antidote to these challenges. By employing a structured suite of diagrams—Use Case, Activity, Sequence, and Block Diagrams—teams can systematically deconstruct high-level customer needs into unambiguous, verifiable technical requirements. This approach enforces clarity, exposes hidden relationships and system behaviors early, and provides intuitive artifacts that improve communication across all stakeholders, from management to software developers and testers. The case study on particulate filter regeneration demonstrates the practical application and tangible benefits of the method, showcasing how visual models directly feed into the derivation of functional, interface, and behavioral specifications for the motor control unit. Adopting such a model-based, visual requirements engineering framework is a critical step for automotive organizations aiming to achieve robust forward design, ensure first-time-right quality, and successfully navigate the complexities of software-defined vehicle development.

Scroll to Top