Vorlesung Automotive Software Engineering Teil 7 Normen und...

34
INFORMATIK CONSULTING SYSTEMS AG Vorlesung Automotive Software Engineering Teil 7 Normen und Standards (4) Sommersemester 2013 Prof. Dr. rer. nat. Bernhard Hohlfeld [email protected] Technische Universität Dresden, Fakultät Informatik Honorarprofessur Automotive Software Engineering

Transcript of Vorlesung Automotive Software Engineering Teil 7 Normen und...

Page 1: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

INFORMATIK ▪ CONSULTING ▪ SYSTEMS AG

Vorlesung Automotive Software EngineeringTeil 7 Normen und Standards (4)

Sommersemester 2013

Prof. Dr. rer. nat. Bernhard Hohlfeld

[email protected]

Technische Universität Dresden, Fakultät InformatikHonorarprofessur Automotive Software Engineering

Page 2: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Vorlesung Automotive Software Engineering

2

Motivation und ÜberblickMotivation und ÜberblickMotivation und Überblick

Beispiele aus der Praxis

SW-Entwicklung

Normen und Standards

Beispiele aus der Praxis

E/E-Entwicklung

Normen und Standards

Beispiele aus der Praxis Das Automobil Normen und

StandardsBeispiele aus

der Praxis

Die Automobilherstellung

Normen und Standards

Beispiele aus der Praxis

Die Automobilbranche

Normen und Standards OSEK/ VDX

ASAM

ISO 26262 Road vehicles - Functional safety

Page 3: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Lernziele Normen und Standards

Die Bedeutung von Normen und Standards für industrielle Entwicklung verstehen.

AUTOSAR Automotive Open System Architecture kennenlernen

Motivation

Technik

Beispiele

ISO 26262 Road Vehicles Functinal Safety kennenlernen

Den Begriff COTS einordnen

Entwurfs- und Codierstandards kennenlernen

3

Page 4: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

2

1. AUTOSAR

2. ARTOP

3. ISO 26262 - Road Vehicles - Functional Safety

4. COTS

5. Entwurfs- und Codierstandards

7. Normen und Standards

4

Page 5: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungEigenentwicklung

5

Software-Architektur

Systementwurf

Integration und Softwaretest

Komponenten-test

Integration und Systemtest

Spezifikation der SW-Einheiten

Software-Implementierung

Page 6: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungEigenentwicklung

5

Software-Architektur

Systementwurf

Integration und Softwaretest

Komponenten-test

Integration und Systemtest

Spezifikation der SW-Einheiten

Software-Implementierung

Lieferspezifikation

Page 7: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungEigenentwicklung

5

Software-Architektur

Systementwurf

Integration und Softwaretest

Komponenten-test

Integration und Systemtest

Spezifikation der SW-Einheiten

Software-Implementierung

Lieferspezifikation

Beschaffung

Page 8: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungEigenentwicklung

5

Software-Architektur

Systementwurf

Integration und Softwaretest

Komponenten-test

Integration und Systemtest

Spezifikation der SW-Einheiten

Software-Implementierung

Lieferspezifikation

Beschaffung Qualifizierung

Page 9: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

QualifizierungBeschaffung

Lieferspezifikation

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungIntegration von Software aus externen Quellen

6

Software-Architektur

Systementwurf

Integration und Softwaretest

Integration und Systemtest

Page 10: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

QualifizierungBeschaffung

Lieferspezifikation

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungIntegration von Software aus externen Quellen

6

Software-Architektur

Systementwurf

Integration und Softwaretest

Integration und Systemtest

EingangstestKonformitätstest

Page 11: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Software aus externen Quellen - Externe Elemente

Ein Externes Element ist eine Systemelement, das von aussen beschafft wird. Dabei kann es sich um ein Fertigprodukt oder um ein Element handeln, das im Rahmen eines Unterauftrags entwickelt wird. Ein Externes Element realisiert die Anforderungen und Vorgaben der Lieferspezifikation.

Wird das Externe Element im Rahmen eines Unterauftrages erstellt, so wird es gemäß der Abnahmekriterien der zugehörigen Lieferspezifikation geprüft.

Handelt es sich um ein Fertigprodukt, so wird es einer Eingangsprüfung gemäß der Lieferspezifikation unterzogen.

Nach erfolgreicher Prüfung wird das Externe Element gemäß Konfigurationsmanagementplan in die Produktbibliothek übernommen.

Die Integration des Externen Elementes erfolgt analog zu der eines internen Systemelements gemäß Integrationsplan.

7

Page 12: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Software aus externen Quellen - Externe Elemente

Ein Externes Element ist eine Systemelement, das von aussen beschafft wird. Dabei kann es sich um ein Fertigprodukt oder um ein Element handeln, das im Rahmen eines Unterauftrags entwickelt wird. Ein Externes Element realisiert die Anforderungen und Vorgaben der Lieferspezifikation.

Beauftragung

Fertigprodukt: COTS

Fertigprodukt: Open Source

8

Page 13: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Software aus externen Quellen - Externe Elemente

9

Externes Element

Kosten:-Beschaffung-Installation-Betrieb-Schulung

Rechtliche Aspekte

Beauftragung -hoch-gering bis mittel-mittel

Geregelt im Liefervertrag, insbesondere Exklusivität auf Kunden- und Lieferantenseite

Fertigprodukt: COTS

-gering bis hoch-gering bis mittel-gering bis hoch

Geregelt im Kaufvertrag, Lieferant bleibt i.a. Eigentümer, Nutzungsrecht, keine Weitergabe, Vorsicht bei Nutzung in Kundenprojekten

Fertigprodukt: Open Source

-sehr gering-gering bis mittel-gering bis hoch

Vorsicht bei Nutzungsbedingungen: Modifizierte Open Source muss Open Source bleiben, Vorsicht bei Nutzung in Kundenprojekten

Page 14: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Komponentenentwicklung und Systementwicklung

Komponentenentwicklung

Analyse und Entwurf von Komponenten

Computerspiele

SAP

Keine oder wenig Bezug zu realer Umwelt

Benutzer und betriebliche Abläufe müssen sich der EDV anpassen, nicht umgekehrt

Systementwicklung

Analyse und Entwurf des Systems als Ganzes

Liefert Vorgaben für Komponentenentwicklung

Embedded Systems

Automotive

Luftfahrt

Bahnen

Medizin

Hoher Bezug zu realer Umwelt

Systeme haben sich z.B. der Physik anzupassen

10

Page 15: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Komponentenentwicklung und Systementwicklung

Komponentenentwicklung

Analyse und Entwurf von Komponenten

Computerspiele

SAP

Keine oder wenig Bezug zu realer Umwelt

Benutzer und betriebliche Abläufe müssen sich der EDV anpassen, nicht umgekehrt

Systementwicklung

Analyse und Entwurf des Systems als Ganzes

Liefert Vorgaben für Komponentenentwicklung

Embedded Systems

Automotive

Luftfahrt

Bahnen

Medizin

Hoher Bezug zu realer Umwelt

Systeme haben sich z.B. der Physik anzupassen

10

COTS kommt nicht davon, dass es dem Benutzer bei manchen

Systemen schlecht wird

Page 16: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

COTS

Als commercial off-the-shelf, oder auch components-of-the-shelf (englisch für Kommerzielle Produkte aus dem Regal) oder kurz COTS werden seriengefertigte Produkte aus dem Elektronik- oder Softwaresektor (vgl. Standardsoftware) bezeichnet, die in großer Stückzahl völlig gleichartig (ugs. „von der Stange“) aufgebaut verkauft werden. Dies kann beispielsweise bei Office-Produkten oder Warenwirtschaftssystemen praktiziert werden.

Dadurch, dass ab Werk keine Anpassungen an die Bedürfnisse des Individualkunden vorgenommen werden, erhofft sich der Nutzer weitgehende Kosteneinsparungen, da hier die Entwicklungskosten nicht vom Auftraggeber alleine, sondern vom Markt getragen werden. Vor allem im Behördenbereich, sowie bei militärischen Anwendungen findet gerade ein weitgehender Umstieg zu COTS statt; beim Militär ganz besonders von eigens entwickelten, robusten Geräten hin zu Lösungen mit Standard-PC-Hardware.

Quelle: Wikipedia (deutsch)

11

Page 17: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

COTS

In the United States, Commercially available Off-The-Shelf (COTS) is a Federal Acquisition Regulation (FAR) term defining a nondevelopmental item (NDI) of supply that is both commercial and sold in substantial quantities in the commercial marketplace, and that can be procured or utilized under government contract in the same precise form as available to the general public. For example, technology related items, such as computer software, hardware systems or free software with commercial support, and construction materials qualify, but bulk cargo, such as agricultural or petroleum products, do not...

COTS purchases are alternatives to in-house developments or one-off government-funded developments. COTS typically requires configuration that is tailored for specific uses. The use of COTS has been mandated across many government and business programs, as such products may offer significant savings in procurement, development, and maintenance.

Quelle: Wikipedia (englisch)

12

Page 18: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Beispiel: ISO 26262 Road vehicles - Functional safetysiehe auch 5. Entwurfs- und Codier-Standards

13

THIS DOCUMENT IS A DRAFT CIRCULATED FOR COMMENT AND APPROVAL. IT IS THEREFORE SUBJECT TO CHANGE AND MAY NOT BEREFERRED TO AS AN INTERNATIONAL STANDARD UNTIL PUBLISHED AS SUCH.

IN ADDITION TO THEIR EVALUATION AS BEING ACCEPTABLE FOR INDUSTRIAL, TECHNOLOGICAL, COMMERCIAL AND USER PURPOSES, DRAFTINTERNATIONAL STANDARDS MAY ON OCCASION HAVE TO BE CONSIDERED IN THE LIGHT OF THEIR POTENTIAL TO BECOME STANDARDS TOWHICH REFERENCE MAY BE MADE IN NATIONAL REGULATIONS.

RECIPIENTS OF THIS DRAFT ARE INVITED TO SUBMIT, WITH THEIR COMMENTS, NOTIFICATION OF ANY RELEVANT PATENT RIGHTS OF WHICHTHEY ARE AWARE AND TO PROVIDE SUPPORTING DOCUMENTATION.

DRAFT INTERNATIONAL STANDARD ISO/DIS 26262-6

© International Organization for Standardization, 2009

INTERNATIONAL ORGANIZATION FOR STANDARDIZATION ! ! ORGANISATION INTERNATIONALE DE NORMALISATION

ISO/TC 22/SC 3

Voting begins on:2009-07-08

Secretariat: DIN

Voting terminates on:2009-12-08

Road vehicles — Functional safety —

Part 6:Product development: software level

Véhicules routiers — Sécurité fonctionnelle —

Partie 6: Développement du produit: niveau logiciel

ICS 43.040.10

In accordance with the provisions of Council Resolution 15/1993 this document is circulated inthe English language only.

Conformément aux dispositions de la Résolution du Conseil 15/1993, ce document est distribuéen version anglaise seulement.

To expedite distribution, this document is circulated as received from the committee secretariat.ISO Central Secretariat work of editing and text composition will be undertaken at publicationstage.

Pour accélérer la distribution, le présent document est distribué tel qu'il est parvenu dusecrétariat du comité. Le travail de rédaction et de composition de texte sera effectué auSecrétariat central de l'ISO au stade de publication.

B55EB1B3C7662F79D1B59483A53B9F2F82C98BEEB7939A886DDF7AB3C3E2189A28D0410691E85F9399A267FE7B5ADE88E52D9EBF30D5357EB70734FC629C3D886D62F49643000AFE4E28060604BE236AF0B86435B4ADBF8BE77472DB5C845220E40CBEBD

Nor

men

-Dow

nloa

d-B

euth

-Info

rmat

ik C

onsu

tling

Sys

tem

s A

G-K

dNr.8

3109

6-Lf

Nr.4

7689

3100

1-20

10-0

1-21

11:

53

Page 19: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

7 Software architectural design7.4 Requirements and recommendations

7.4.6 Every safety-related software component shall be categorised as one of the following:a) newly developed;b) reused with modifications;c) reused without modifications;d) or a COTS product.

7.4.7 Safety-related software components that are newly developed or reused with modifications shall be developed in accordance with ISO 26262:—.

7.4.8 Safety-related software components that are reused without modifications or that are COTS products shall be qualified in accordance with ISO 26262-8:—, Clause 12.

NOTE The use of qualified software components does not affect the applicability of Clauses 10 and 11. However, some activities described in Clauses 8 and 9 may be omitted.

8 Software unit design and implementation

9 Software unit testing.

10 Software integration and testing

11 Verification of software safety requirements

14

Page 20: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

7 Software architectural design7.4 Requirements and recommendations

7.4.6 Every safety-related software component shall be categorised as one of the following:a) newly developed;b) reused with modifications;c) reused without modifications;d) or a COTS product.

7.4.7 Safety-related software components that are newly developed or reused with modifications shall be developed in accordance with ISO 26262:—.

7.4.8 Safety-related software components that are reused without modifications or that are COTS products shall be qualified in accordance with ISO 26262-8:—, Clause 12.

NOTE The use of qualified software components does not affect the applicability of Clauses 10 and 11. However, some activities described in Clauses 8 and 9 may be omitted.

8 Software unit design and implementation

9 Software unit testing.

10 Software integration and testing

11 Verification of software safety requirements

14

Nummerierungen in diesem Abschnitt beziehen sich aufISO/DIS 26262 Road vehicles - Functional safety

Part 6: Product development: software level

Page 21: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Figure 2Reference phase model for the software development

15

Entfällt teilweise

Gilt unverändert

Page 22: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Zur Erinnerung:

16

Page 23: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

QualifizierungBeschaffung

Lieferspezifikation

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungIntegration von Software aus externen Quellen

17

Software-Architektur

Systementwurf

Integration und Softwaretest

Integration und Systemtest

Page 24: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

QualifizierungBeschaffung

Lieferspezifikation

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

(Vereinfachtes) V-Modell der SoftwareentwicklungIntegration von Software aus externen Quellen

17

Software-Architektur

Systementwurf

Integration und Softwaretest

Integration und Systemtest

EingangstestKonformitätstest

Page 25: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (1)

18

12.1 Objectives

The first objective of the qualification of software components is to enable the re-use of existing software components as part of items, systems or elements developed in compliance with ISO 26262 without completely re-engineering the software components.

The second objective of the qualification of software components is to show their suitability for re-use.

12.2 General

The re-use of qualified software components avoids re-development for software components with similar or identical functionality.

NOTE Software components are understood to be software libraries from third-party suppliers (COTS), as well as in-house components already in use in electronic control units or generic components designed and developed for re-use across projects.

EXAMPLE Graphical libraries, mathematical libraries, operating systems, operating system services, databases, device driver software

Page 26: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (1)

18

12.1 Objectives

The first objective of the qualification of software components is to enable the re-use of existing software components as part of items, systems or elements developed in compliance with ISO 26262 without completely re-engineering the software components.

The second objective of the qualification of software components is to show their suitability for re-use.

12.2 General

The re-use of qualified software components avoids re-development for software components with similar or identical functionality.

NOTE Software components are understood to be software libraries from third-party suppliers (COTS), as well as in-house components already in use in electronic control units or generic components designed and developed for re-use across projects.

EXAMPLE Graphical libraries, mathematical libraries, operating systems, operating system services, databases, device driver software

Nummerierungen in diesem Abschnitt beziehen sich aufISO/DIS 26262 Road vehicles - Functional safety

Part 8: Supporting Processes

Page 27: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (2)

19

12.3 Inputs to this clause

12.3.1 Prerequisites

The following information shall be available:

Pre-determined maximum target ASIL

Requirements of the software component.

12.3.2 Further supporting information

The following information may be considered:

Results of previous verification measures of the software component.

Page 28: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (3)

20

12.4 Requirements and recommendations

12.4.1 To be able to treat a software component as qualified, the following shall be available:

a)specification of the software component (see 12.4.3.1);

b)evidence that the software component complies with its requirements (see 12.4.3.2, 12.4.3.3, and 12.4.3.4);

c)evidence that the software component is suitable for its intended use (see 12.4.4).

NOTE Some re-engineering activities can be performed to comply with this subclause in case of previously developed software components.

Page 29: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (4)

12.4.2 The planning of qualification of a software component shall determine:

unique identification of the software component;

the pre-determined maximum target ASIL of any safety requirement which might be violated if the software component performs incorrectly (siehe 8. Entwurfs- und Codier-Standards); and

the activities that shall be carried out to qualify the software component.

12.4.3 Qualification of a software component (1)

12.4.3.1 The specification of the software component shall include:

a)requirements of the software component;

EXAMPLE 1:

Functional requirements;

Accuracy of algorithm or numerical accuracy, ..;

behaviour in case of failure;

response time;

resource usage;

requirements on the runtime environment; and

behaviour in an overload situation (robustness).

21

Zurück

Page 30: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (5)

12.4.3 Qualification of a software component (2)

12.4.3.1 The specification of the software component shall include:

a)requirements of the software component;

b)description of the configuration;

NOTE 1 For software components that contain more than one software unit, the description of the configuration includes the unique identification and configuration of each software unit.

c)interfaces description;

d)application manual;

e)description of the software component integration;

NOTE 2 Description might include the development tools required to integrate and use the software component;

f) reactions of the functions under anomalous operating conditions;

EXAMPLE 2 Re-entrant calling of non-re-entrant software component functions.

g)dependencies with other software components; and

h)description of known anomalies with corresponding work-around measures.

22

Zurück

Page 31: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

Re-entrant / eintrittsinvariantQuelle: Wikipedia

Eintrittsinvarianz

Eine Routine bzw. Methode wird als eintrittsinvariant (engl. reentrant) oder auch wiedereintrittsfähig bezeichnet, wenn sie so implementiert ist, dass sie von mehreren Prozessen gleichzeitig ausgeführt werden kann. Dabei dürfen sich die gleichzeitig ausgeführten Instanzen nicht in die Quere kommen. Die Ausführung jeder Instanz läuft also gleich ab, egal wie viele andere Instanzen es noch von dieser Methode gibt.

Das Ziel eines Designs für eine eintrittsinvariante Methode ist es, sicherzustellen, dass kein Teil des Programmcodes selbst durch die Methode geändert wird und dass prozesseigene Informationen wie beispielsweise lokale Variablen in getrennten Speicherbereichen gehalten werden.

Eintrittsinvariante Programmkonstrukte sind die Basis für viele Multitasking-Systeme (Threadsicherheit).

23

Page 32: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (6)

12.4.3 Qualification of a software component (3)

12.4.3.2 To show that a software component complies with its requirements the verification of this software component shall meet the following criteria:

a)the verification shall show a requirement coverage in accordance with ISO 26262-6:—, Clause 9 for the maximum target ASIL;

NOTE This verification is primarily based on requirement-based testing. The results of requirement-based tests of the software component executed during its development or during previous integration tests can be used.

EXAMPLE 1 Application of a dedicated qualification test suite, analysis of all the tests already executed during the implementation and any integration of the software component.

b)The verification shall cover both normal operating conditions and behavior in case of failure;

c) The software component errors occurring during verification shall be analysed; together with information on their possible consequences and with measures to avoid or detect them.

EXAMPLE 2 Functional errors, runtime errors, incorrect timing, violation of data integrity, erroneous operating and resource usage

24

Page 33: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (7)

12.4.3 Qualification of a software component (4)

12.4.3.3 This subclause applies to ASIL D in accordance with 4.3.

The structural coverage shall be measured in accordance with ISO 26262-6:—, Clause 9 to evaluate the completeness of the test cases. If necessary, additional test cases shall be specified or a rationale shall be provided.

12.4.3.4 The verification shall only be valid for an unchanged implementation of the software component.

12.4.3.5 The qualification of a software component shall be documented including the following information:

a)unique identification and configuration of the software component;

b)person or organisation who carried out the qualification;

c) the environment used for qualification;

d)results of the verification measures applied to qualify the software component; and

e)the pre-determined maximum target ASIL of any safety requirement which might be violated if the software component performs incorrectly.applied.

25

Zurück

Page 34: Vorlesung Automotive Software Engineering Teil 7 Normen und …st.inf.tu-dresden.de/files/teaching/ss12/ASE12/07 ASE SS... · 2013-07-12 · Automotive Software Engineering Teil 7

Prof. Dr. Bernhard Hohlfeld: Automotive Software Engineering, TU Dresden, Fakultät Informatik, Sommersemester 2013

12 Qualification of software components (8)

12.4.4 Verification of qualification of a software component

12.4.4.1 The results of qualification of a software component together with the validity of these results regarding the intended use of the software component shall be verified. If necessary, additional measures shall be applied.

NOTE The validity of the qualification may be influenced when the qualification has been performed in the context of another industrial or automotive domain.

EXAMPLE Engine control, body control and chassis control are different automotive domains. Railways and civil avionics are different industrial domains.

12.4.4.2 The specification of the software component shall comply with the requirements of the planned use of this software component.

12.5 Work products

12.5.1 Software component documentation resulting from requirement 12.4.3.1.

12.5.2 Software component qualification report resulting from requirements 12.4.3.5.

12.5.3 Safety plan (refined), resulting from requirements 12.4.2

26