90
© BME-MIT 2017 Budapest University of Technology and Economics Department of Measurement and Information Systems Development processes, lifecycle, V-model VIMIMA11 Design and integration of embedded systems

Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

Embed Size (px)

Citation preview

Page 1: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017Budapest University of Technology and EconomicsDepartment of Measurement and Information Systems

Development processes, lifecycle, V-model

VIMIMA11 Design and integration of embedded systems

Page 2: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 2.

Lifecycle of a development

process

Page 3: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 3.

CMMI process areas connected to development life cycle

Page 4: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 4.

Development life cycle processes

CMMI describes the objectives and activities to be performed, but it do not specify a lifecycle

Most of the companies are using existing lifecycle models for this purpose

o Waterfall

o Spiral

o V-model

Page 5: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 5.

The V-model

Requirement analysisLogical design

Technical System design

Subsystem design

Module design

Implementation

Modul test

SubsystemIntegration

and test

System Int.& test

User acceptance test

Modul level

Subsystem level

System level

Page 6: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 6.

The V-model in the real world

Page 7: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 7.

V-model in real world

Implementation

System Level

Subsystem  level

Module level

Controller

AnalogI/O

DigitalI/O

Comm

Sub modulelevel

Hardware

interrupts

Exceptions

Hardware Abstraction Layer

Serial

Device Drivers

Kernel

ISO

C

Ma

th

Libraries

Application

MCU-ARM API

DP

Y-T

RM

Hardware független mitmót API

CO

M-R

04

MIK

RO

P

I/O kezelés

SPI

I2C

Page 8: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 8.

V-model in real world

Initialphase

5-6 month

Planningphase

12-16 month

Preparationphase

7-8 month

Agreementphase

7-8 month

Confirmationphase

14-16 month

Maturityphase

8 month

Logical system architecture

Technical system design

SIL determination

System conception

System specification

4th Iteration

4rd Iteration

2nd Iteration

1st Iteration

Mass production

Maintenance

Software development

Page 9: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 9.

The steps of the V-model

Page 10: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 10.

Analysis of user requirements, designing the logical system architecture

Requirement analysisLogical design

Technical System design

Subsystem design

Module design

Implementation

Modul test

SubsystemIntegration

and test

System Int.& test

User acceptance test

Modul level

Subsystem level

System level

Page 11: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 11.

Analysis of user requirements, designing the logical system architecture

Analysis of user requirements

Specification of logical system architecture

User Requirements

Logical SystemPlan

Test results from user Acceptance or system

test

Use cases

Connectionto the testing

Connectionto the testing

Page 12: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 12.

CMMI process areas of

requirement handling

Page 13: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 13.

Requirements development

SG 1: Develop Customer Requirements

o SP 1.1: Elicit Needs Brainstorming, surveyment, prototype building, demonstrations,

User Stories.

o SP 1.2: Transform Stakeholder Needs into Customer Requirements Translate stakeholder needs, expectations, constraints, and

interfaces into documented customer requirements.

Establish and maintain a prioritization of customer functional and quality attribute requirements.

Define constraints for verification and validation.

Page 14: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 14.

Requirements development

SG 2: Develop Product Requirementso SP 2.1: Establish Product and Product Component Requirements

Transforming the user requirements into technical form, and explicit values.

Example A carryable device: weight <2 kg, Size < 20x30cm, Battery system: voltage of the battey, capacity for 3 days

Reliable: availability 99%

Example: House of Quality Function Deploymenthttp://www.webducate.net/qfd/qfd.html

https://www.youtube.com/watch?v=u9bvzE5Qhjk

o SP 2.2: Allocate Product Component Requirements

o SP 2.3: Identify internal and external Interface Requirements

Page 15: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 15.

Requirements development

SG 3: Analyze and Validate Requirements

o SP 3.1: Establish Operational Concepts and Scenarios

o SP 3.2: Establish a Definition of Required Functionality and Quality Attributes

o SP 3.3: Analyze Requirements: finding the necessary and sufficient requirements.

o SP 3.4: Analyze Requirements to Achieve Balance

o SP 3.5: Validate Requirements with simulation or prototyping

Page 16: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 16.

Requirements management

SG 1: Manage Requirements

o SP 1.1: Understand Requirements

o SP 1.2: Obtain Commitment to Requirements

o SP 1.3: Manage Requirements Changes

o SP 1.4: Maintain Bidirectional Traceability of Requirements

o SP 1.5: Ensure Alignment Between Project Work and Requirements

Typical tools are Excel or specific tool like DOORS

Page 17: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 17.

Requirements management

User Requirements Logical System Architecture

Requirements of Function 1

Technical System Architecture

Mechanics

Elektronics

Hardware

Software

Subsystem

Software system

Module 1

Module 2

Hardware system

Requirements

A RequirementB RequirementC Requirement…

Constraints

X constraintY constraintZ constraint

Requirement

A1 RequirementA2 RequirementC1 RequirementC2 RequirementC3  Requirement…

ConstraintsX1 ConstraintsY1 ConstraintsY2 ConstraintsA3 Constraints…

Requirements

Constraints

Requirements

…Constraints

Requirements

…Constraints

Requirements

Constraints…

Requirements

…Constraints

Page 18: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 18.

Requirements management

User Requirements Logical System Architecture

Requirements of Function 1

Technical System Architecture

Mechanics

Elektronics

Hardware

Software

Subsystem

Software system

Module 1

Module 2

Hardware system

Requirements

A RequirementB RequirementC Requirement…

Constraints

X constraintY constraintZ constraint

Requirement

A1 RequirementA2 RequirementC1 RequirementC2 RequirementC3  Requirement…

ConstraintsX1 ConstraintsY1 ConstraintsY2 ConstraintsA3 Constraints…

Requirements

Constraints

Requirements

…Constraints

Requirements

…Constraints

Requirements

Constraints…

Requirements

…Constraints

Page 19: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 19.

Logical System Design

Page 20: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 20.

Specification of logical system architecture

Goal is to divide the device into componentso What are the main logical components, blocks?

o What is the connection between the main logic blocks?

Analyzing the data path between the input and the outputo How is the output created from the input?

o What are the main stages?

There are many types of Logical architecture representationo Static view: functions and their interconnections

o Dynamic view: Data flow of an incoming data

There are no strict restriction for creating the logical architecture, mainly this is some kind of art requiring much experience

Page 21: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 21.

Specification of logical system architecture

Page 22: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 22.

Specification of logical system architecture

Most widespread technics and toolso structured analysis design technique

o Functional Flow Block Diagrams

o UML, SysML diagram

Page 23: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 23.

Designing of Technical System

Architecture

Page 24: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 24.

Analyzing logical system architecture, specification of the technical system architecture

Function 3 Function 4

Function 3.1

Function 3.3 Function 3.5

Function 3.4Function 3.2Function 3

Node 2

Microcontroller SW

Processing

Calibrations

Sensor

Signal C

on

d.

AD

CC

om

mu

nic

atio

n

Co

mm

inte

rfac

eA

nal

og

ou

tpu

t

Actuator

Logical System Architecture

Technical System Architecture

Page 25: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 25.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Connectionto the testing

Specification of Technical System Architecture

Connectionto the testing

Page 26: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 26.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Connectionto the testing

Specification of Technical System Architecture

Connectionto the testing

Analyzing Control loops

Page 27: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 27.

Analyzing Control loops

User Control Environment

System

SetpointControl

algorithmActuator Sensor

Page 28: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 28.

Analyzing Control loopsinformation can be gathered

Types of internal and external interfaces

The required precision and granularity of signals

Prediction on timing

Prediction on required processing capability

Prediction on physical constraints and layout

Page 29: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 29.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Connectionto the testing

Specification of Technical System Architecture

Connectionto the testing

Analyzing Control loops

Analyzing the Real-time

requirements

Page 30: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 30.

Predictions and requirements on Real-time characteristics

Determining system level real-time requirements

Allocating timing requirements to functions

Process or function

Activation rate

execution time

response time

Process or function

Deadline

Trigger or activation Trigger or activation

Page 31: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 31.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Connectionto the testing

Specification of Technical System Architecture

Connectionto the testing

Analyzing Control loops

Analyzing the Real-time

requirements

AnalyzingSystem

distribution

Page 32: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 32.

Analyzing Distributed System Functions

What functions need to be encapsulated into one device, or separated into different devices? o Processing capacity

o Timing

o Physical layout

What type of communication connection needed between deviceso Bandwidth

o Range

o Communication Technology

Designing of the communication matrixo Messages

o Signals and their encodings

Page 33: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 33.

Signal example

Signal name Min-max Unit

Speed 0 – 250 km/h

Gear state -1 – +5

Engine RPM 0 – 10000 RPM

Cooling Water Temp -20 – 100 C degree

Transmission Control

Speed

Gear state

Motor Control

Engine RPM

Cooling Water Temp

Page 34: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 34.

Signal, example

Signal name Min-max Unit

Speed 0 – 250 km/h

Gear state -1 – +5

Engine RPM 0 – 10000 RPM

Cooling Water Temp -20 – 100 C degree

Transmission Control

Speed

Gear state

Motor Control

Engine RPM

Cooling Water Temp

Conversion Data size

y = x * 4 10 bit

y = x + 1 3 bit

y = x 16 bit

y = (x+20) * 2 8 bit

Page 35: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 35.

Messages and signals

Engine parameters message, ID=0x280

Data field

Engine RPM CoolingWaterTemp

Other Signals

Data field

11 64

0x280

ID Data field

11 64

0x280

ID

Page 36: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 36.

Communication matrix

Vector CANdb editor

o 4 message

o 5 signals

Page 37: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 37.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Connectionto the testing

Specification of Technical System Architecture

Connectionto the testing

Analyzing Control loops

Analyzing the Real-time

requirements

AnalyzingSystem

distributionSafety analyzis

Page 38: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 38.

Safety analysis

Reliability and Safety Analysis

Logical System Plan(functions, requirements, interfaces)

Specifications for safety relevant components and subsystems

Hazard Analysis

Risk, Failure Type, Failure rate

analysis

Identification of Relevant Components and Subsystems

HazardousSituation

System Specific Reliability and Safety requirements

(SIL)

Safety Relevant components

and subsystems

Specification of Verification and

Validation methods

Safety relevant requirement specification for components

and subsystems

Requirement specifications for the development process

Verification and Validation methods

Hardware Specific Safety Requirements

Software Specific Safety Requirements

Development Process Requirements

Page 39: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 39.

Safety Integrity Levels

Page 40: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 40.

Affects of SIL layers to the development

SIL layers, or other Safety Levels give restictions for every step of development process

o Design

o Implementation

o Testing

Activity SIL0 SIL1 SIL2 SIL3

Independent review of functional requirements + + ++ ++

Prototyp 0 0 + ++

Simulation + + ++ ++

FMEA (Failure Mode and Effect Analysis) + + + ++

Statement Coverage + ++ ++ ++

Decision Coverage + + + ++

Page 41: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 41.

Analyzing of Logical System Arch.Specification of Technical System Arch.

Analyzing the Logical System Architecture

LogicalSystem Plan

(functions, interfaces, requirements)

Technical System Plan

Test Results

Test Cases

Specification of Technical System Architecture

Connectionto the testing

Analyzing Control loops

Analyzing the Real-time

requirements

AnalyzingSystem

distributionSafety analyzis

Specification for Control Loops

Specification of Real-Time

Requirements

Specification ofNetworks, and

messages

Safety assurancespecifications

Page 42: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 42.

Branching to subsystem paths

Page 43: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 43.

Branching to subsystem paths – Electronics(Hardware – Software) path

System Design, Technical System specification

System design

Mechanical Subsystem

Design

ModuledesignComponent

level

Subsystem Level

System level

Hardware Subsystem

Design

Software Subsystem

Design

Moduledesign

Implementacion

Page 44: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 44.

Hardware Design Path

Page 45: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 45.

Hardware Architecture Design

Alaysis of Hardware Requirements

HardwareRequirements

Hardware architecture

Test results

Test Cases

Specification of Hardware architecture

Selections of Connectors and

Enclosures

Analysis of, boundaries,Dimensions,

connection points, environmental conditions

Connectionto the testing

Connectionto the testing

Page 46: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 46.

Analysis of boundaries, dimensions, connection points, environmental conditions

Mostly there are predetermined mechanical constraints

o Dimensions

o Weight

o Usable areas, and usable component type (for example because of vibrations)

Selection of Enclosure and Connectors

o Determines the dimension and useable areas of the PCB

o Environmental conditions should be taken into account: IP protection, enclosure type

Page 47: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 47.

Properties of Enclosures and Connectors

Enclosureo IP (Ingress Protection)

o Protection against physical impacts

o UV radiation protection

o Chemical protection

o RF, and magnetic shielding

o Heat conductance

o PCB mounting positions

o Enclosure mounting options

Connectorso Voltage, and current limits

o Number of connections

o Vibration protection

o Shielding

o IP (Ingress Protection)

Page 48: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 48.

IP (Ingress Protection)

IP 65

Level sized Effective against Description

0 —No protection against contact 

and ingress of objects2 >12.5 mm Fingers or similar objects

3 >2.5 mm Tools, thick wires, etc.

4 >1 mmMost wires, slender screws, 

large ants etc.

5 Dust protected

Ingress of dust is not entirely 

prevented, but it must not enter 

in sufficient quantity to interfere 

with the satisfactory operation of 

the equipment.

6 Dust tight

No ingress of dust; complete 

protection against contact (dust 

tight). A vacuum must be 

applied. Test duration of up to 8 

hours based on air flow.

Solid particle protectionLevel Protection against

0 None

4 Splashing of water

Dripping water when 

tilted at 15°2

6 Powerful water jets

3 Spraying water

5 Water jets

1 Dripping water

Water Protection

Page 49: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 49.

Hardware Architecture Design

Alaysis of Hardware Requirements

HardwareRequirements

Hardware architecture

Test results

Test Cases

Specification of Hardware architecture

Selections of Connectors and

Enclosures

Analysis of, boundaries,Dimensions,

connection points, environmental conditions

Connectionto the testing

Connectionto the testing

Separation of functionsin hardware architecture

Analysis ofAnalog, Digital functions

Power electronics

Page 50: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 50.

Separating the analog, digital and power electronics functions

No necessary to different PCB

Identifying the hardware and PCB blocks, and designing the interconnection between them.

Ground coupling

Page 51: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 51.

Hardware Architecture Design

Analysis of Hardware Requirements

HardwareRequirements

Hardware architecture

Test results

Test Cases

Specification of Hardware architecture

Selections of Connectors and

Enclosures

Analysis of, boundaries,Dimensions,

connection points, environmental conditions

Connectionto the testing

Connectionto the testing

Separation of functionsin hardware architecture

Analysis ofAnalog, Digital functions

Power electronics

Designing the power and ground domains

Galvanic isolation EMC

Analysis of requiredPower and

Ground domains.

Page 52: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 52.

EMC Electomagnetic Compatibility

The EMC Gap is closing

1940 2010

Emission

Immunity

Page 53: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 53.

Emission and Immunity

Emission: more and more load to the environment

o Harmonic emission

o Conducted emission

o Radiated emission

Immunity: the ability of the device to resist the environmental noise

o Conducted and radiated RF

o Burst, Surge

o Power supply line problems: voltage changes, voltage drop, period error

o Magnetic field: sinus like change, non sinus like change

o ESD Electro Static Discharge

Page 54: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 54.

Immunity classes

Class A: The device keeps its measurement and functional specifications under the effect of environmental noises.

Class B: The device is operational under the effect of environmental noises, but its measurement precision is effected by the noises.

Class C: After the environmental noise an interaction from an operator is needed to make the device operational again.

Class D: Data loss, functional problem or damage of the equipment is happen by the effect of the environmental noise

Page 55: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 55.

Inter or Intra system problems

Inter System EMC

o The noises emitted from the device to the environment

o There are regularizations for this

Intra System EMC

o Noises that generated inside of the enclosure

o Not regulated, but highly effects the operational ability of the device

Page 56: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 56.

Power supply architecturesPower bus

Simplest, and the most problematic

o Common impedance

PSU Device1

Device2

Device3

Page 57: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 57.

Power supply architecturesPower bus

Simplest, and the most problematic

o Common impedance

PSU Device1

Device2

Device3

Z1 Z2 Z3

Z4Z5Z6

Page 58: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 58.

Power supply architecturesPower bus

Simplest, and the most problematic

o Common impedance

PSU Device1

Device2

Device3

Z1 Z2 Z3

Z4Z5Z6

Page 59: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 59.

Power supply architecturesPower bus

Simplest, and the most problematic

o Common impedance

PSU Device1

Device2

Device3

Z1 Z2 Z3

Z4Z5Z6

Ube

Page 60: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 60.

Power supply architecturesStar point

Much better solution, but harder to wire

PSU Device1

Device2

Device3

Page 61: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 61.

Power supply architecturesStar point

The critical point is the common path of the star

PSU Device1

Device2

Device3

Page 62: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 62.

Power supply architecturesStar point with separated PSU

Costly, but highly reduce to the common mode noises

PSU1

PSU2

PSU3

Device1

Device2

Device3

Page 63: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 63.

Power supply architecturesStar point with separated PSU

Grounding can cause common impedance problems

PSU1

PSU2

PSU3

Device1

Device2

Device3

Page 64: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 64.

Power supply architecturesStar point with isolated PSU

Independent power domain

Only differential signals can be used for communication 

PSU1

PSU2

PSU3

Device1

Device2

Device3

Page 65: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 65.

Power supply hierarchy

There are many voltage levels needed, but it is a design decision how to create them

Linear Voltage Regulatoro Cheap

o Low noise emission

o Bad efficiency

Page 66: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 66.

Power supply hierarchy

There are many voltage levels needed, but it is a design decision how to create them

DC/DC convertero Costly

o Noisy

o Good efficiency

Page 67: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 67.

Galvanic isolation

Protecting against ground loops

Life protection

Page 68: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 68.

Devices for galvanic isolation

Transformatoro For power supply and other signal 

isolation

Opto couplero Fast digital communication

Condensatoro AC coupling

Special purpose single chip isolatorso CAN transciever etc.

Page 69: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 69.

Power Supply protection 

One type of protection is nearly never enough 

Page 70: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 70.

TVS, Zener diode

Zener diode

o Enery in joule

o Operation and Zener Voltage

o Reaction time• N x ns

o Capacity

Page 71: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 71.

Varistor

Variable resistor

o Energy in joule

o Operational Voltage

o Reaction time• N*10 ns

o Maximum current

o Breakdown or clamping voltage

o Energy class

• 8/20 ms

• 10/1000 ms

o Passive resistance• N*10 Mohm

Page 72: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 72.

Polyswitch

Recovering Fuseo Serial resistance

• Ohm

o Operational current

o Breakdown current

o Maximum current

o Recovery time

Page 73: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 73.

I/O pin protection

Fast

Cheap

A reference voltage is needed

Page 74: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 74.

I/O pin protection

Fast

Cheap

A reference voltage is needed

Page 75: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 75.

Output load switching architectures

Typical switching architectures

Page 76: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 76.

High side vs Low side

Page 77: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 77.

Power line filtering

Capacitive filtering

LC filtering

Ꙥ or T filter

Power supply filter

Page 78: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 78.

Hardware module design

Page 79: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 79.

Hardware module design

Analysis of hardware architecture and module spec

Hardware architecturespecification

Hardware moduleplan

Test results

Test Cases

Connectionto testing

Connectionto testing

Hardware module design

Module connectors

and components

selection

Page 80: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 80.

Board – to Board connectors

Size and number of connection points

o Voltage rating

o Power rating

Type of connection material

o Current limit and impedance

o Thin, or gold

Mechanical stability

o Insertion force

Page 81: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 81.

Hardware module design

Analysis of hardware architecture and module spec

Hardware architecturespecification

Hardware moduleplan

Test results

Test Cases

Connectionto testing

Connectionto testing

Hardware module design

Module connectors

and components

selection

Componentplacing

(Thermal issues)

Page 82: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 82.

Component placing

Make easier or harder the PCB wiring

Must cant with the thermal properties too

Tjunction = Tambient + Rthermal(j-a) * P

Page 83: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 83.

Example for thermal conducting

Page 84: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 84.

Hardware module design

Analysis of hardware architecture and module spec

Hardware architecturespecification

Hardware moduleplan

Test results

Test Cases

Connectionto testing

Connectionto testing

Hardware module design

Module connectors

and components

selection

Componentplacing

(Thermal issues)

Wiring(EMC

Problems)

Page 85: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 85.

Wiring problems (EMC)

Capacitive coupling

o Very easy to create such during wiring

o Example: Two wire with the width of0.5mm (20mil) in a 5cm path with the distance of 3mm means: ~ 0,5 - 1 pF(ADC input impedance is ~10pF)

Page 86: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 86.

Wiring problems (EMC)

Capacitive coupling

o Very easy to create such during wiring

o Example: Two wire with the width of0.5mm (20mil) in a 5cm path with the distance of 3mm means: ~ 0,5 - 1 pF(ADC input impedance is ~10pF) I’m cheating we never measure like this!!!

Page 87: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 87.

Wiring problems (EMC)

Protecting against capacitive coupling

o Grounding

o With good wiring strategy

Page 88: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 88.

Wiring problems (EMC)

Inductive coupling

o Protection: make the loop smaller

o Extra attention to the wires with significant current change

o U = M*di/dt

Page 89: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 89.

Typical PCB layers

The price of the PCB is rise significally with the number of layers

o Place more then one ground layer if it is needed

o Layer above each other should be wired perpendicular

Power layer

Ground layer

Signal or clock rate

Signal or clock rate

Page 90: Development processes, lifecycle, V-model - mit.bme.huV-model VIMIMA11 Design and integration of embedded systems ©BME-MIT 2017 2. ... Plan Test results from user Acceptance or system

© BME-MIT 2017 90.

Recommended book

EMC for Product Designers, Fourth Edition 4th Edition

o Tim Williams

o ~500 pages