Difference between revisions of "Logical Architecture"
Line 93: | Line 93: | ||
*system design documents (describe the selected logical and physical architectures) | *system design documents (describe the selected logical and physical architectures) | ||
*system design justification documents (traceability matrices and design choices) | *system design justification documents (traceability matrices and design choices) | ||
+ | |||
+ | The content, format, layout and ownership of these artifacts will vary depending on who is creeating them and what domains they are for. Between them the outputts of the process activities should cover the information identified in the first part of this artical. | ||
Logical architecture descriptions use modeling techniques that are grouped under the following types of models. Several methods have been developed to support these types of models (some are executable models): | Logical architecture descriptions use modeling techniques that are grouped under the following types of models. Several methods have been developed to support these types of models (some are executable models): |
Revision as of 18:06, 6 April 2013
The purpose of logical architecture definition (or design) is to work out the functionality and behavior of the system while in service. The logical architecture of a system is composed of a set of related technical concepts and principles that support the logical operation of the system. It is described with views corresponding to viewpoints, and includes a functional architecture view, a behavioral architecture view, and a temporal architecture view. Other additional views are suggested in architectural frameworks, depending on the domain (refer to the Department of Defense (DoD) Architecture Framework (DoDAF) (DoD 2010), The Open Group Architectural Framework (TOGAF) (The Open Group 2011), etc).
Concepts and Principles
Functional Architecture View
A functional architecture is a set of functions and their sub-functions that defines the transformations performed by the system to achieve its mission.
Function and Input-Output Flow - A function is an action that transforms inputs and generates outputs, involving data, materials, and/or energies. These inputs and outputs are the flow items exchanged between functions. The general mathematical notation of a function is y = ƒ( x ,t), in which y and x are vectors that may be represented graphically and t = time.
In order to define the complete set of functions of the system, one must identify all the functions necessitated by the system and its derived requirements as well as the corresponding inputs and outputs of those functions. Generally speaking, there are two kinds of functions:
- Functions that are directly deduced from functional and interface requirements. These equations express the expected services of a system necessary to meet its system requirements and
- Functions that are derived and issued from the alternative solutions of physical architecture and are dependent upon the result of the design; additionally, they rely upon on technology choice to implement the logical architecture elements.
Functional Hierarchy/Decomposition of Functions – At the highest level of a hierarchy (Figure 1), it is possible to represent a system as a unique, central function (defined as the system's mission) that in many ways is similar to a "black box" ("F0" in plan A-0 in Figure 1). In order to understand in detail, what the system does, this "head-of-hierarchy" (F0) is broken down into sub-functions (F1, F2, F3, F4) grouped to form a sub-level of the hierarchy (plan A0), and so on. Functions of the last level of a functional hierarchy can be called leaf-functions (F21, F22, F23, F24 in plan A2). Hierarchies (or breakdowns) decompose a complex or global function into a set of functions for which physical solutions are known, feasible, or possible to imagine. But a static functional hierarchy does not represent well how the flows of inputs and outputs are exchanged.
Behavioral Architecture View
A behavioral architecture is an arrangement of functions and their sub-functions as well as interfaces (inputs and outputs) that defines the execution sequencing, conditions for control or data-flow, and performance level necessary to satisfy the system requirements (ISO/IEC 26702 2007). A behavioral architecture can be described as a set of inter-related scenarios of functions and/or operational modes.
Control (Trigger) - A control flow is an element that activates a function as a condition of its execution. The state of this element, or the condition it represents, activates or deactivates the function (or elements thereof). A control flow can be a signal or an event, such as a switch being moved to the on position, an alarm, a trigger, a temperature variation, or the push of a key on a keyboard.
Scenario (of Functions) - A scenario of functions is a chain of functions performed as a sequence, synchronizes by a set of control flows to achieve a global transformation of inputs into outputs, as seen in the figures below. A scenario of functions expresses the dynamic of an upper level function. A behavioral architecture is developed by considering both scenarios for each level of the functional hierarchy and for each level of the system hierarchy. When representing scenarios of functions and behavioral architectures it is appropriate to use modeling techniques using diagrams, such as functional flow block diagrams (FFBD) (Oliver, Kelliher, and Keegan 1997) or activity diagrams, developed with SysML (OMG 2010). Figures 2 and 3 provide examples of these diagrams.
Operational Mode - A scenario of functions can be viewed by abstracting the transformation of inputs into outputs of each function and focusing on the active or non-active state of the function and its controls. This view is called a scenario of modes - a chain of modes performed as a sequence of transitions between the various modes of the system. The transition from one mode to another is triggered by the arrival of a control flow (event/trigger). An action (function) can be generated within a transition between two modes following the arrival of an event or a trigger, as demonstrated in Figure 4 below.
Behavioral Patterns - When designing scenarios or behavioral architectures, architects may opt to recognize and use known models to represent the expected transformations and behaviors. Patterns are generic basic models that may be more or less sophisticated depending on the complexity of the treatment. A pattern can be represented with different notations. Behavioral design patterns are classified into several categories, which can be seen in the following examples:
- Basic patterns or constructs linking functions - such as sequence, iteration, selection, concurrence, multiple exits, loops with an exit, and replication.
- Complex patterns - such as monitoring a treatment, exchanging a message, man machine interfaces, modes monitoring, real-time monitoring of processes, queue management, and continuous monitoring with supervision.
- Failure detection, identification, and recovery (FDIR) patterns- such as passive redundancies, active redundancies, semi-active redundancies, and treatments with reduced performance.
Temporal Architecture View
A temporal architecture is a classification of the functions of a system that are derived according to the frequency level of execution. Temporal architecture includes the definition of synchronous and asynchronous aspects of functions. The decision monitoring that occurs inside a system follows the same temporal classification because the decisions are related to the monitoring of functions.
Temporal and Decisional Hierarchy Concept – Not every function of a system is performed at the same frequency. The frequencies change depending on the time and the manner in which the functions are started and executed. One must therefore consider several classes of performance. There are synchronous functions that are executed cyclically and asynchronous functions that are executed following the occurrence of an event or trigger.
To be more specific, real-time systems and command-control systems combine cyclical operations (synchronous) and factual aspects (asynchronous). Cyclical operations consist of sharing the execution of functions according to frequencies, which depend on either the constraints of capture or dispatching the input/output and control flows. Two types of asynchronous events can be distinguished:
- Disturbances on high frequencies (bottom of figure 5) - Decisions that are made at either the level they occur or one level above. The goal is to deter disturbances from affecting the low frequencies so that the system continues to achieve its mission objectives. This is the way to introduce exception operations, with the typical example relating to operations concerns, breakdowns, or failures.
- Changes happening on low frequencies (top of figure 5) - Decisions pertaining to changes that are made at the upper levels. The ultimate goal is to transmit them toward bottom levels to implement the modifications. A typical example relates to operator actions, maintenance operations, etc.
Process Approach
Purpose
The purpose of the logical architecture design process is to define, select, and synthesize a system’s logical architecture to provide a framework against which to verify that a future system will satisfy its system requirements in all operational scenarios; and within which trade-offs between system requirements can be explored in developing such systems.
Generic inputs to the process include system requirements, generic design patterns that designers identify and use to answer requirements, outcomes from system analysis processes, and feedback from system verification and validation processes. Depending on the Life Cycle Model used their will be an element of iterative design through which these inputs and outputs, and the relationships between them evolve and change throughout the process.
Generic outputs from the process are either a single logical architecture or else a set of candidate logical architectures together with the selected independent logical architecture and a rationale for its selection. They include, at minimum, views and models. These involve functional, behavioral, and temporal views, a traceability matrix between logical architecture elements and system requirements.
Activities of the Process
Major activities and tasks performed during this process include the following:
- Identify and analyze functional and behavioral elements:
- Identify functions, input-output flows, operational modes, transition of modes, and operational scenarios from system requirements by analyzing the functional, interface, and operational requirements.
- Define necessary inputs and controls (energy, material, and data flows) to each function and outputs that result in the deduction of the necessary functions to use, transform, move, and generate the input-output flows.
- Assign system requirements to functional and behavioral elements:
- Formally characterize functions expression and their attributes through the assignment of performance, effectiveness, and constraints requirements. In particular, study the temporal aspects from requirements to assign duration, response time, and frequency to functions.
- Formally characterize the input, output, and control flows expression and their attributes through assignment of interface, effectiveness, operational, temporal and constraints requirements.
- Establish traceability between system requirements and these functional and behavioral elements.
- Define candidate logical architectures. For each candidate
- Analyze operational modes as stated in the system requirements (if any) and/or use previously defined elements to model sequences of operational modes and the transition of modes. Eventually decompose the modes into sub-modes and then establish for each operational mode one or several scenarios of functions recognizing and/or using relevant generic behavioral patterns.
- Integrate these scenarios of functions in order to get a behavioral architecture model of the system (a complete picture of the dynamic behavior).
- Decompose previously defined logical elements as necessary to look towards implementation.
- Assign and incorporate temporal constraints to previously defined logical elements, such as the period of time, duration, frequency, response-time, timeout, stop conditions, etc.
- Define several levels of execution frequency for functions that correspond to levels of decision in order to monitor system operations, prioritize processing on this time basis, and share out functions among those execution frequency levels to get a temporal architecture model.
- Perform functional failure modes and effects analysis and update the logical architecture elements as necessary.
- Execute the models with simulators (when possible) and tune these models to obtain expected characteristics.
- Synthesize the selected independent logical architecture:
- Select the logical architecture by assessing the candidate logical architectures against assessment criteria (related to system requirements) and compare them, using the system analysis process to perform assessments (see the System Analysis Topic). This selected logical architecture is called independent logical architecture because, as much as possible, it is independent of implementation decisions.
- Identify and define derived logical architecture elements created for the necessity of design and corresponding with the derived system requirements and assign these requirements to the appropriate system (current studied system or external systems).
- Verify and validate the selected logical architecture models (using as executable models as possible), make corrections as necessary, and establish traceability between system requirements and logical architecture elements.
- Feedback logical architecture definition and system requirements (this activity is performed after the physical architecture definition (design) process):
- Model the allocated logical architecture to systems and system elements, if such a representation is possible, and add any functional, behavioral, and temporal elements as needed to synchronize functions and treatments.
- Define or consolidate derived logical and physical elements induced by the selected logical and physical architectures. Define the corresponding derived requirements and allocate them to appropriate logical and physical architectures elements. Incorporate these derived requirements in requirements baselines of impacted systems.
Artifacts, Methods and Modeling Techniques
This process may create several artifacts, such as
- system design documents (describe the selected logical and physical architectures)
- system design justification documents (traceability matrices and design choices)
The content, format, layout and ownership of these artifacts will vary depending on who is creeating them and what domains they are for. Between them the outputts of the process activities should cover the information identified in the first part of this artical.
Logical architecture descriptions use modeling techniques that are grouped under the following types of models. Several methods have been developed to support these types of models (some are executable models):
- Functional models – these include models such as the structured analysis design technique (SADT/IDEF0), system analysis & real time (SA-RT), enhanced Functional Flow Block Diagrams (eFFBD), and the function analysis system technique (FAST).
- Semantic models- these include models such as entities-relationships diagrams, class diagrams, and data flow diagrams.
- Dynamic models – these include such models as state-transition diagrams, state-charts, eFFBDs, state machine diagrams (SysML), activity diagrams (SysML) (OMG. 2010), and petri nets.
Depending on the type of domain (defense, enterprise), architecture frameworks such as DoDAF (DoD 2010), TOGAF (The Open Group 2011), the Zachman framework (Zachman 2008), etc. provide descriptions that can help to represent additional aspects/views of architectures - see section 'Enterprise Architecture Frameworks & Methodologies' in Enterprise Systems Engineering Key Concepts. See also practical means for using general templates related to ISO/IEC/IEEE 42010 (2011), which are available at: [1]
Practical Considerations
As stated above, the purpose of the logical architecture is to provide a description of what a system must be able to do to satisfy the stated need. This should help to ensure that the needs of all stakeholders are addressed by any solution; and that innovative solution as well as those based on current solution technologies can be considered. In practice it is human nature for problem stakeholders to push their own agenda's and for solution designers to offer their familiar solutions. If a logical architecture is not properly enforced with the chosen life cycle, it is easy for both problem and solution stakeholders to ignore it and revert to their own biases (see Part 5 Enabling Systems Engineering). This is made worse if the logical architecture becomes an end in its own right or disconnected from the main lifecycle activities. This can either be through the use of abstract language or notations; levels of detail or simply time taken and complexity of the final architecture which do not match the purpose for which it was created. If the language, scope and timeliness of the architecture are not matched to the problem stakeholder or solution providers it is easier for them to ignore it. Key pitfalls and good practices which can help to avoid problems related to logical architecture design are described in the next two sections.
Pitfalls
Some of the key pitfalls encountered in planning and performing logical architecture design are provided in Table 1.
Pitfall | Description |
---|---|
Problem relevance | The logical architecture should relate back to the operational scenarios produced by mission analysis . If the architecture is developed without input from the problem stakeholders, or cannot be understood and related back to their problems it might loose the buy in of the stakeholder community. |
Inputs for design | The major input for design activity is the set of system requirements and there are times that they do not address the right level of design. The consequence is that the designer lets the requirements fall to the side and invents a solution with what he or she understands through the input. |
Decomposition too deep | A common mistake many beginners in design make that consists of decomposing the functions too deeply or having too many functions and input/output flows in scenarios or in the functional architecture of the current system block. |
Not considering inputs and outputs together with functions | A current mistake is to consider only the actions supported by functions and decomposing them, while forgetting the inputs and the outputs or considering them too late. Inputs and outputs are integrated parts of a function. |
Considering static decomposition of functions only | Static function decomposition is the smallest functional design task and answers the question, "How is this done?" The purpose of the status decomposition is to facilitate the management or navigation through the list of functions. The static decomposition should be established only when scenarios have been created and the logical design almost finished. |
Mixing governance, management, and operation | Governance (strategic monitoring), management (tactical monitoring), and basic operations are often mixed in complex systems. Functional design should deal with behavioral design and with temporal design. |
Proven Practices
Some proven practices gathered from the references are provided in Table 2.
Practice | Description |
---|---|
Constitute scenarios of functions | Before constituting a decomposition tree of functions, one must model the behavior of the system, establishing scenarios of functions, and decompose functions as scenarios of sub-functions. |
Analysis and synthesis cycles | When facing a system that seems to contain a lot of functions, try to synthesize functions into higher abstraction levels of functions with the help of criteria. Do not perform analysis only, but instead, small cycles of analysis (decomposition) and synthesis. The technique of using scenarios includes this design practice. |
Alternate functional and behavioral views | A function (action verb; e.g. "to move") and its state of execution/operational mode (e.g. "moving") are two similar and complimentary views. Use this to consider a behavioral view of the system that transitions from one operational mode to another. |
Order to create a scenario of functions | When creating a scenario of functions, it is more efficient from a mouthed viewpoint to first establish the (control) flow of functions, then to add input and output flows, and finally to add triggers or signals for synchronization. |
References
Works Cited
DoD. 2010. DoD Architecture Framework, version 2.02. Arlington, VA: U.S. Department of Defense. Accessed August 29, 2012. Available at: http://dodcio.defense.gov/Portals/0/Documents/DODAF/DoDAF_v2-02_web.pdf.
Gamma, E., R. Helm, R. Johnson, and J. Vlissides. 1995. Design Patterns: Elements of Reusable Object-Oriented Software. Boston, MA, USA: Addison-Wesley. ISO/IEC/IEEE. 2008. Systems and Software Engineering - System Life Cycle Processes. Geneva, Switzerland: International Organization for Standardization (ISO)/International Electronical Commission (IEC), Institute of Electrical and Electronics Engineers. ISO/IEC/IEEE 15288:2008 (E).
ISO/IEC/IEEE. 2011. Systems and software engineering - Architecture description. Geneva, Switzerland: International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC)/Institute of Electrical and Electronics Engineers (IEEE), ISO/IEC/IEEE 42010.
Oliver, D., T. Kelliher, and J. Keegan. 1997. Engineering complex systems with models and objects. New York, NY, USA: McGraw-Hill.
OMG. 2010. OMG Systems Modeling Language specification, version 1.2, July 2010. http://www.omg.org/technology/documents/spec_catalog.htm.
The Open Group. 2011. TOGAF, version 9.1. Hogeweg, The Netherlands: Van Haren Publishing. Accessed August 29, 2012. Available at: https://www2.opengroup.org/ogsys/jsp/publications/PublicationDetails.jsp?catalogno=g116.
Zachman, J. 2008. "John Zachman's Concise Definition of The Zachman Framework™ (online)". Zachman International Enterprise Architecture. Accessed August 29, 2012. Available at: http://www.zachman.com/about-the-zachman-framework.
Primary References
ANSI/IEEE. 2000. Recommended practice for architectural description for software-intensive systems. New York, NY: American National Standards Institute (ANSI)/Institute of Electrical and Electronics Engineers (IEEE), ANSI/IEEE 1471-2000.
INCOSE. 2011. INCOSE Systems Engineering Handbook: A Guide for System Life Cycle Processes and Activities, version 3.2.1. San Diego, CA, USA: International Council on Systems Engineering (INCOSE), INCOSE-TP-2003-002-03.2.1.
ISO/IEC. 2007. Systems Engineering – Application and Management of the Systems Engineering Process. Geneva, Switzerland: International Organization for Standards (ISO)/International Electronical Commission (IEC), ISO/IEC 26702:2007.
ISO/IEC/IEEE. 2008. Systems and Software Engineering - System Life Cycle Processes. Geneva, Switzerland: International Organization for Standardization (ISO)/International Electronical Commission (IEC), Institute of Electrical and Electronics Engineers. ISO/IEC/IEEE 15288:2008 (E).
ISO/IEC/IEEE. 2011. Systems and Software Engineering - Architecture Description. Geneva, Switzerland: International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC)/Institute of Electrical and Electronics Engineers (IEEE), ISO/IEC/IEEE 42010.
Maier, M., and E. Rechtin. 2009. The Art of Systems Architecting. 3rd ed. Boca Raton, FL, USA: CRC Press.
OMG. 2010. MDA Foundation Model. Needham, MA, USA: Object Management Group. ORMSC/2010-09-06.
Additional References
Alexander, C., S. Ishikawa, M. Silverstein, M. Jacobson, I. Fiksdahl-King, and S. Angel. 1977. A Pattern Language: Towns, Buildings, Construction. New York, NY, USA: Oxford University Press.
Buede, D.M. 2009. The engineering design of systems: Models and methods. 2nd ed. Hoboken, NJ, USA: John Wiley & Sons Inc.
Faisandier, A. 2012. Systems Architecture and Design. Belberaud, France: Sinergy'Com.
Oliver, D., T. Kelliher, and J. Keegan. 1997. Engineering Complex Systems with Models and Objects. New York, NY, USA: McGraw-Hill.
Thome, B. 1993. Systems Engineering, Principles & Practice of Computer-Based Systems Engineering. New York, NY, USA: Wiley.
SEBoK Discussion
Please provide your comments and feedback on the SEBoK below. You will need to log in to DISQUS using an existing account (e.g. Yahoo, Google, Facebook, Twitter, etc.) or create a DISQUS account. Simply type your comment in the text field below and DISQUS will guide you through the login or registration steps. Feedback will be archived and used for future updates to the SEBoK. If you provided a comment that is no longer listed, that comment has been adjudicated. You can view adjudication for comments submitted prior to SEBoK v. 1.0 at SEBoK Review and Adjudication. Later comments are addressed and changes are summarized in the Letter from the Editor and Acknowledgements and Release History.
If you would like to provide edits on this article, recommend new content, or make comments on the SEBoK as a whole, please see the SEBoK Sandbox.
blog comments powered by Disqus