Upload
others
View
8
Download
0
Embed Size (px)
Citation preview
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
MathWorks Annual/ Cheng Hui / 2015.6.18 Slide 1
基于模型的设计在汽车功能安全项目中的应用
The application of MBD in automotive functional safety projects
Cheng Hui
KOSTAL ASIA
2015.06.18
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 2
1.MBD status in KOSTAL ASIA科世达亚洲MBD现状
2.KOSTAL ASIA software develop process(MBD)科世达亚洲软件开发流程
3.The application of MBD in functional safety projectsMBD在功能安全项目中的应用
Agenda
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 3
1.MBD status in KOSTAL ASIA科世达亚洲MBD现状
Agenda
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 4
KOSTAL Sites and Workforce
Zdice
Cenkov
(1,836)
KOCR
KKS-CR
Workforce
Source: acc. to IRT, average 2014
Lüdenscheid
+8 Standorte
(3,599)
LK
KOA
KKS-A
KOI
KOSPA
KSE-SPA
KOMEX
KOBRA
Shanghai
Changchun
(2,597)
KOCHI-MGT
KOCHI-SH
KOCHI-CH
KOCHI
KKS-CHI
KOJA
KOFRA
KSE-FRA
KOB
Kiew
Pereyaslav
(866)
KOUKOKOR
Ranipet
(227)
KOIN
KOBU
KOBU-SL
Sofia
Smolian
(806)
Thessaloniki
(4)
KSE-GR
Sales
R&D
Production
Kawasaki
Hiroshima
(30)
Seoul
(12)
Detroit
Rochester Hills
(313)
Querétaro
Acambaro
(2,175)
Sao Paulo
Cravinhos
Manaus
(1,299)
KITA
KSE-ITA
Turin
Rivoli
(21)
Abbeyfeale
Mallow
(903)
Barcelona
Valencia
(907)
Paris
(18)
Goldthorpe
(741)
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 5
KONA -Engineering Center NAFTA
KOBRA
KOSTAL ASIAEngineering Center ASIA
KOIN
LK Engineering Center
KOCR
Worldwide Footprint
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 6
Business Area: Automotive Electrical systems - Product Mix
Electronics
Mechatronics
Steering Column Modules
E-Shifter
Body Access Electronics
Seat
Door
Seat sw. / Module
Door sw. / Module
Faceplate
Steering
Wheel sw.
Roof Module
On-Board Charger (OBC)
DAC / RLS
Operating Elements & Switches
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 7
Projects with MBD
BFM
ESCL SCM
PEPS
First Sop: 2014.05
Next Sop: 2015.08
ASIL-D required
Sop: 2016
Light and wiper controller
Sop: 2013.12
Steering switch with LIN
Sop: 2016
© 2
008,
Leopold
Kosta
l G
mbH
& C
o.
KG
. C
onte
nts
and p
resenta
tio
n a
re p
rote
cte
d w
orld
-
wid
e.
Any k
ind o
f usin
g,
copyin
g e
tc. is
pro
hib
ited w
ithout
prio
r perm
issio
n. A
ll rig
hts
-in
cl. Industr
ial pro
pert
y
rig
hts
-are
reserv
ed.
Occasion / Author / Date Slide 8
MBD Cooperation
Training/ Technical Supporting
Workshop/ Alignment for
Process, Tools, Methods
GermanyASIA
ASIA
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 9
Agenda
2.KOSTAL ASIA software develop process(MBD)科世达亚洲软件开发流程
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 10
V-Model
System Integration Test
Software Testing
Software Integration
Software Construction
Software Requirement
Analysis
Software design
System Architecture
Design
system -Requirements
analysis
Do
main
: E
lec
. H
ard
ware
Do
main
: M
ech
an
ical
Do
main
: S
oft
ware
System Test
Mech
atr
on
ics l
evel
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 11
V-Model
System Integration Test
Software Testing
Software Integration
Software Construction
Software Requirement
Analysis
Software design
System Architecture
Design
system -Requirements
analysis
Do
main
: E
lec
. H
ard
ware
Do
main
: M
ech
an
ical
Do
main
: S
oft
ware
System Test
Mec
hatr
on
ics
le
vel
MBD in component level especially for application layer
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 12
Flowchart of Model Based Design
MBD Process
Coding
Design
Validation & Verification/
Step 1
Requirement Analysis
Step 2
Architecture Design
Step 3
Model Design
Step 5
Integration Test
Step 6
Code Generation
Step 7
Back to Back Test
Product
Customer Requirement
System Requirement
Product
Software Requirement
Requirement Analysis
EA/
DaVinCi
/Kostal RTEProduct
Model Structure
Interface definition
arxml/xml
ProductSimulink/
Stateflow
Step 4
Unit TestEmbedded
Tester /
Simulink
Tester/V&V
Product
Model Check Report
Unit Test Model
Test cases
Unit Test Report
Coverage Report
Product
Integ. Test Model
Integ. cases
Integ. Test Report
Embedded
Tester
Product
Source Code
Code Generation Report
Product
Back to Back test Report
Embedded
Tester
DOORs
Data Dictionary
Model design docs
Model file
Execution order list
Matlab Coder/
Simulink Coder/
Embedded
Coder
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 13
3.The application of MBD in functional safety projectsMBD在功能安全项目中的应用
Agenda
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 14
Structure of ISO26262
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 15
KOSTAL has many years of experience in safety management, starting with IEC61508 projects in 2003 (SIL3)
ISO26262 is managed by KOSTAL since 2010
There are 18 engineers have AFSP(Automotive Functional Safety Professional) certificate
ISO 26262 references (assessed projects)
ASIL-C/D:
• VW PQ25 Steering Angle Sensor (ASIL-D)• SGM Electric Steering Column Lock(ASIL-D)• Daimler BR222 Steering Angle Sensor (ASIL-D)
ASIL-B:
……
Safety relevant functionalities
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 16
Safety relevant functionalities
Example
转向锁止作动器 (带转向锁止ECU)
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 17
Safety relevant functionalities
Example
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 18
Safety PathSafety Path
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 19
What’s New for software development?
Software unit testingMethods
ASIL
A B C D
1a Requirements-based test (a) ++ ++ ++ ++
1b Interface test ++ ++ ++ ++
1c Fault injection test (b) + + + ++
1d Resource usage test (c) + + + ++
1e Back-to-back comparison test between model and code, if applicable (d) + + ++ ++
MethodsASIL
A B C D
1a Analysis of requirements ++ ++ ++ ++
1b Generation and analysis of equivalence classes (a) + ++ ++ ++
1c Analysis of boundary values (b) + ++ ++ ++
1d Error guessing (c) + + + +
Methods for deriving test cases for Software unit testing
MethodsASIL
A B C D
1a Statement coverage ++ ++ + +
1b Branch coverage + ++ ++ ++
1c MC/DC (Modified Condition/Decision Coverage) + + + ++
Structural coverage metrics at the software unite level
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 20
Back to Back TEST
PIL TEST
SIL TEST
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 21
Test ReportTest Report
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 22
The benefit of MBD at unit test phase
• Long test time
• Multi Test Tools
• More Test Cases
Manual code
• More effective when executive test
• Test case reuse saves time
• Test result visualizationModel
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 23
Conclusion
Time
Efficiency
© 2
00
8,
Le
op
old
Ko
sta
lG
mb
H &
Co
. K
G. C
on
ten
ts a
nd
pre
se
nta
tio
n a
re p
rote
cte
d w
orl
d-w
ide
. A
ny k
ind
of u
sin
g,
co
pyin
g e
tc. is
pro
hib
ite
d w
ith
ou
t p
rio
r p
erm
issio
n.
All r
igh
ts -
incl. In
du
str
ial p
rop
ert
y r
igh
ts -
are
re
se
rve
d.
Mathworks Annual / Cheng Hui / 2015.6.18 Slide 24
Thank You