Presentation is loading. Please wait.

Presentation is loading. Please wait.

Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Systems.

Similar presentations


Presentation on theme: "Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Systems."— Presentation transcript:

1 Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Systems Architecture A-7E Avionic System: A Case Study in Utilizing Architectural Structures

2 Instructor: Tasneem Darwish2 Outlines  Relationship to the Architecture Business Cycle  Requirements and Qualities  Architecture for the A-7E Avionics System

3 Instructor: Tasneem Darwish3 Relationship to the ABC  The figure shows the ABC as it pertains to the A-7E avionics system described in this chapter.  The system was constructed beginning in 1977 for the naval aviators who flew the A-7E aircraft and was paid for by the U.S. Navy. The developing organization was the software engineering group at the U.S. Naval Research Laboratory

4 Instructor: Tasneem Darwish4 Requirements and qualities  The figure shows the A-7E Corsair II.  It is a single-seat, carrier-based attack aircraft used by the U.S. Navy throughout the 1960s, 1970s, and 1980s.  An earlier version, the A-7C, was among the very first production aircraft in the world to be equipped with an onboard computer to help the pilot with navigation and "weapon delivery"

5 Instructor: Tasneem Darwish5 Requirements and qualities  The A-7E's onboard computer is a small, special- purpose IBM machine for which no compiler exists;  programming is in assembly language only.  The computer has special registers connected to analog- to-digital and digital-to-analog converters that let it receive and send data to almost two dozen devices in the aircraft's avionics suite.  In broad terms, the A-7E software is responsible for reading sensors and updating cockpit displays that help the pilot drop weapons on a target.  The A-7E software does not actually fly the aircraft, as more modern avionics systems do.

6 Instructor: Tasneem Darwish6 Requirements and qualities  The following are the primary sensors the software reads and manages: 1.An air probe that measures barometric pressure and air speed 2.A forward-looking radar that returns the straight-line range to the point on the ground at which it is pointed. 3.A Doppler radar that reports ground speed and drift angle 4.An inertial measurement set (IMS) that reports accelerations along each of three orthogonal axes 5.An interface to the aircraft carrier's inertial measurement system, through which the aircraft can compute its current position while on board a ship

7 Instructor: Tasneem Darwish7 Requirements and qualities  The following are the primary sensors the software reads and manages: 6.Sensors that report which of the A-7E's six under wing bomb racks hold weapons and which of more than 100 kinds of weapons in the aircraft's repertoire they are 7.A radar altimeter that measures the distance to the ground

8 Instructor: Tasneem Darwish8 Requirements and qualities  The pilot communicates the location of a ground target to the software in a number of ways: 1.Keying in its latitude and longitude via the keypad 2.slewing the map using a joystick until its coordinates are under the center crosshairs and then "designating" it by pushing a special button on the control stick 3.Aiming the forward-looking radar to the point and designating it  The software then provides navigational information (direction, distance, time to go) and directional indication on the heads-up display that take the aircraft to the designated location.

9 Instructor: Tasneem Darwish9 Requirements and qualities  The pilot can choose from over two dozen direction- finding modes, based on which sensors are most reliable under the conditions of the moment.  The software has at least five direct and indirect ways to calculate the aircraft's current altitude.  There are more than 20 weapon delivery modes, all demanding in terms of the real-time calculations (repeated 25 times every second) necessary to maintain the A-7E's bombing accuracy.

10 Instructor: Tasneem Darwish10 Requirements and qualities

11 Instructor: Tasneem Darwish11 Architecture for the A-7E Avionics system  The architecture for the A-7E avionics system is centred around three architectural structures 1.Decomposition, a structure of modules 2.Uses, a structure of modules 3.Process, a structure of components and connectors

12 Instructor: Tasneem Darwish12 DECOMPOSITION STRUCTURE  we must think how the work will be divided into units that can be implemented separately and how those modules will interact.  The unit of the decomposition structure is the module.  A module may be thought of as defining a group of procedures plus a set of private data structures.  The relation among modules in the decomposition structure is "is-a-submodule-of" or "shares-a-secret- with."

13 Instructor: Tasneem Darwish13 DECOMPOSITION STRUCTURE  Prior to 1977, performance was the overriding goal of embedded systems.  The goal of the A-7E designers was to balance performance with modifiability and demonstrate that it was possible to achieve modifiability without compromising performance.

14 Instructor: Tasneem Darwish14 DECOMPOSITION STRUCTURE  The A-7E module decomposition is based on information hiding  information hiding works by encapsulating system details that are likely to change independently in different modules  The interface of a module reveals only those aspects considered unlikely to change;

15 Instructor: Tasneem Darwish15 DECOMPOSITION STRUCTURE  For example, if a device such as an aircraft altitude sensor is likely to be replaced over the life of an avionics program.  the information-hiding principle makes the details of interacting with that device the secret of one module.  The interface to the module consist perhaps of a single program that returns the most recent value measured by the sensor.  because all replacement sensors probably share this capability. If the sensor is ever replaced, only the internal parts of that module need to change; the rest of the software is unaffected.

16 Instructor: Tasneem Darwish16 DECOMPOSITION STRUCTURE  Information hiding is enforced by requiring that modules interact only via a defined set of public facilities (their interfaces).  Each module provides a set of access procedures, which may be called by any other module in the system.   The access procedures provide the only inter-module means for interacting with information encapsulated in a module

17 Instructor: Tasneem Darwish17 DECOMPOSITION STRUCTURE  A module may consist of submodules, or it may be considered a single implementation unit.  If it contains submodules, a guide to its substructure is provided.  The decomposition into submodules and their design is continued until each module is small enough to be discarded and begun again if the programmer assigned to it leaves the project.

18 Instructor: Tasneem Darwish18 DECOMPOSITION STRUCTURE  Specific goals of module decomposition are as follows: 1.Each module's structure should be simple enough to be understood fully. 2.It should be possible to change the implementation of one module without knowledge of the implementation of other modules and without affecting the behaviour of other modules. 3.The ease of making a change in the design should bear a reasonable relationship to the likelihood of the change being needed. Only very unlikely changes should require changes in the interfaces of widely used modules. 4.It should be possible to make a major software change as a set of independent changes to individual modules

19 Instructor: Tasneem Darwish19 DECOMPOSITION STRUCTURE  The documentation of the decomposition structure is sometimes called a module guide.  It defines the responsibilities of each of the modules.  Its purpose is to avoid duplication and gaps, to achieve separation of concerns, and, most of all, to help a maintainer find out which modules are affected by a problem report or change request.

20 Instructor: Tasneem Darwish20 DECOMPOSITION STRUCTURE  The guide states the criteria used to assign a particular responsibility to a module  The guide arranges the modules in such a way that we can find the necessary information without searching through unrelated documentation.  The guide does not describe any runtime relationship among the modules:  It doesn't talk about how modules interact with each other while the system is executing; it simply describes a design-time relationship among the implementation units that constitute the design phase of a project.


Download ppt "Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Software Systems."

Similar presentations


Ads by Google