Top Banner
John M. Green (NPS), Joseph Sweeney (NPS), Dr. Jerrell Stracener (SMU) The Application of Black Box Theory to System Development All you wanted to know about Black Boxes and more
26

The Application of Black Box Theory to System Development

Feb 26, 2016

Download

Documents

slone

The Application of Black Box Theory to System Development. All you wanted to know about Black Boxes and more. John M. Green (NPS), Joseph Sweeney (NPS), Dr. Jerrell Stracener (SMU). Overview. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Application of Black Box Theory to System Development

John M. Green (NPS), Joseph Sweeney (NPS), Dr. Jerrell Stracener (SMU)

The Application of Black Box Theory to

System DevelopmentAll you wanted to know about Black Boxes and more

Page 2: The Application of Black Box Theory to System Development

2

Overview• The concept of black boxes has been around since the early days of

systems theory though some attribute the first use to the field of electrical engineering.

• It is a simple concept and has a straightforward definition: we know the inputs and subsequent outputs to a system but the internal workings of the system are not visible to us.

• In the realm of systems engineering the application of black boxes facilitates discussing a system at an abstract level with a focus on input and output rather than the details of how inputs are transformed into outputs.

• Despite this frequent usage in practice, there is little written about black box application beyond usage as an abstraction or simple system representation.

• It is reasonable to say that it is not well understood that black box theory can be extended beyond the basic definition.

• This presentation is an expanded view of black box theory and how it can be used, especially in model-based systems engineering.

Page 3: The Application of Black Box Theory to System Development

3

Building The Case For Black Boxes We address the following questions:

1. How extensible and scalable is black box theory?2. In what domains and under what conditions is

black box theory valid? 3. When is it not valid? 4. What are its limitations? 5. How can it be improved and how is it used with

other theories in a complementary way?

Black Box OutputInput

Page 4: The Application of Black Box Theory to System Development

4

Organization of Presentation• Key System Concepts• Black Boxes and Design• Applications of Black Boxes• Summary• Future Work

Page 5: The Application of Black Box Theory to System Development

5

Key Systems ConceptsA Quick Review

Page 6: The Application of Black Box Theory to System Development

6

Key Systems Concepts 1. Hierarchy of systems2. Behavior of systems3. System structure4. System boundaries

Page 7: The Application of Black Box Theory to System Development

1. Hierarchy of Systems

7

System

System

System

Sibling Systems

ContainingSystem

System-in-Focus

Subsystems

Hitchins’ Systems Hierarchy Model (Hitchins 1992)

Page 8: The Application of Black Box Theory to System Development

8

2. Behavior Of Systems• Checkland notes that an

observer can describe system behavior in one of two ways:

1. By focusing solely on inputs and outputs (black box) or

2. By describing the system’s internal states.

• Oliver provides two requirements to rigorously describe behavior:

1. The ordering of functions and 2. The inputs and outputs to

each function.

InternalRelationship

System· Physical Properties· Capacity· Order· Structure· Information

Environment

Inflow· Energy· Resources· Information

Outflow· Residue· Waste· Product· Dissipation· Information

Contained Systems

Hitchins’ General Systems Model (Hitchins 1992)

Page 9: The Application of Black Box Theory to System Development

3. System Structure

9

Result:· Product· Service· Information

Activitiesor

Steps and Decisions

Triggering Event:· Action or Decision· Time (Temporal Event)· Condition

The Process Model

The Relationship between Process, Function and Objects (Langford 2012)

System

Information Energy

Resources

Dissipation

Residues

System

Information

Energy

Resources

Dissipation

Residues

System

Information

Energy

Resources

Dissipation

Residues

Information Information Information

System

Hitchins’ Complementary Set of Systems (Hitchins 1992)

Oliver argues that once the model of desired behavior is developed then it can be mapped to the structural elements.

Page 10: The Application of Black Box Theory to System Development

4. System Boundaries

10

Mechanism

Control

Functional Boundary(After Mechanism is Enabled)

Behavioral Boundary(After Mechanism is Enabled)

Input

Losses

Output

Physical Boundary(Before Mechanism is Enabled)

Langford’s Model of Boundaries

Page 11: The Application of Black Box Theory to System Development

11

Summary of Characteristics• The four characteristics are what make the black box

so useful in analysis and design. 1. The top level black box is composed of black boxes which

in turn are composed of black boxes. 2. The black box captures behavior through the

transformation of inputs into outputs. 3. This, in turn, gives rise to structure through the allocation of

behavior to objects. 4. Finally, black boxes clearly define system boundaries and,

by extension, system interfaces.

Page 12: The Application of Black Box Theory to System Development

12

Black Boxes in DesignWhere We Look at Some Approaches

Page 13: The Application of Black Box Theory to System Development

Black Boxes And System Design

13

Characteristics of a System

Tools for Analysis

Extreme complexity Black Box

Probabilism Information theory

Self-regulation Feedback principle

Stafford Beer’s System Characteristics versus Analysis Tools.

Page 14: The Application of Black Box Theory to System Development

14

Black Boxes In DesignPage-Jones provided four guidelines as to how black

boxes can be used in the system design process. 1. Each black box should solve one well-defined piece of the

problem2. Partitioning is done such that each black box is easy to

understand; i.e., a function3. Partitioning is done only to connect related elements of the

problem. 4. Partitioning should assume that the connections are as simple

as possible to ensure the independence of the black boxes.

Page 15: The Application of Black Box Theory to System Development

Mill’s Box-structured Methods

Black Box

Stimulus Response

Clear Box

Stimulus

Black Box

State

Black BoxResponse

State Box

Stimulus Response

Black Box

State

Introduce State

Introduce Procedure

Eliminate State

Eliminate Procedure

Concurrent Control Structure Clear Box

Page 16: The Application of Black Box Theory to System Development

16

Control Structures

Concurrent Control Structure Clear BoxIteration Control Structure Clear Box

Alternation Control Structure Clear BoxSequential Control Structure Clear Box

Page 17: The Application of Black Box Theory to System Development

17

Application of Black BoxesWhere We Discuss Specific Applications

Page 18: The Application of Black Box Theory to System Development

18

Application of Black Boxes• Formal Methods• Object-Oriented Paradigm• Performance Analysis• Functional Flow Analysis• Product Lines• Hatley-Pirbhai Process for Systems

Architecture and Requirements Engineering

Page 19: The Application of Black Box Theory to System Development

19

Formal Methods

System

Stimulus Response

f: S*→R

A Mathematical Definition of a Black Box

Mill’s Box Description Language

Page 20: The Application of Black Box Theory to System Development

20

Object-Oriented Paradigm• Because the black box abstracts out the "how," it can

be used at the highest level to represent the system as well as at the lowest level to represent the smallest object contained in the system.

• Booch: abstraction, encapsulation, modularity, hierarchy

• Top-down design - box structure provides framework:• Captures multiple levels of abstraction• Intellectual control in development• System grows one layer at a time

• Object composition – clear box

Page 21: The Application of Black Box Theory to System Development

21

Performance Analysis

Process A Process B Process CStart Outcome

Process A

Process B

Start OutcomeProcess A

Process B

Process CStart Outcome

Page 22: The Application of Black Box Theory to System Development

22

Functional Flow AnalysisPredecessor Successor

And

Function C

Function A

Function B

Function A Function BIT ITAnd

Function C

Function A

Function B And

Or

Function C

Function A

Function B

Or

Function C

Function A

Function B Or

Page 23: The Application of Black Box Theory to System Development

23

Product Lines

The Architecture Template

Reusable Product-line

Assets

Product 1 Product 2

Product n

Application Level

Architecture Components

Domain Level

Page 24: The Application of Black Box Theory to System Development

24

Hatley - Pirbhai

User Interface Processing

Main Processing(Core Functions)

Support Functions

Output ProcessingInput Processing

Page 25: The Application of Black Box Theory to System Development

25

Summary• It is clear that black box theory is extensible and scalable and is

valid in all domains and under all conditions. • If there are limitations, it is because black boxes are viewed too

simplistically. • Examples were given that illustrate how black box theory fits with

other important concepts in systems theory. • How can it be improved? Through application. The more black-

box methods are used, the better the nuances will be understood. Which, in turn, will help to realize the potential of a simple, but powerful paradigm.

Page 26: The Application of Black Box Theory to System Development

26

Future work• Two opportunities for future work are the development of

a formal systems specification language based on the work of Mills and Hevner and the development of computer-based, black-box tools.

• Mill’s and Hevner’s papers and book focused on the application of the Box Description Language to information systems.

• It is a simple but formal language that may well have great value in specifying systems.

• The area of black-box tools is of interest because black boxes are an excellent way to communicate concepts to the customer in a simple manner.