scania - idasimna73/teaching/reap/ht13/scania.pdf · corporate statement scania’s goal is to...
TRANSCRIPT
![Page 1: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/1.jpg)
Scania Software development and testing
1
![Page 2: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/2.jpg)
Agenda
• General info about Scania
• Software development at Scania
• Scania’s electrical system
• Integration testing
• Distribution of real-time data
2
![Page 3: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/3.jpg)
Main message
• Scania is a software company
• Scania has a high degree of in-house development of ECUs
• A lot of freedom and possibilities to learn new things
3
![Page 4: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/4.jpg)
Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses,
engines, and services, offer our customers the best total
economy and thereby be the leading company in our business
segment. The foundation is Scania’s core values, our focus on
methods and our motivated coworkers.
![Page 5: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/5.jpg)
Premium products and services
Haulage
City and intercity
Construction
Network and services
Intercity and coach
Distribution Special purpose
Engines
![Page 6: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/6.jpg)
Modular product system
![Page 7: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/7.jpg)
R&D Factory 7
![Page 8: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/8.jpg)
Scania Technical Center
![Page 9: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/9.jpg)
9
SESAMM – Scanias electrical system
![Page 10: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/10.jpg)
Modular Product System
•Well balanced performance steps
•Standardised interfaces
•Same need - identical solution
10
![Page 11: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/11.jpg)
•One common electrical system for all vehicle types
•Function allocation independent of vehicle specification
•Backward compatible
•Rebuildability
•High level of functionality in degraded mode
•Segments
•In-house development of SW in strategic nodes
•CEPPSS (Continuous Evolution of Properties Planned in Small
Steps)
Scania Electrical System - Principles
11
![Page 12: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/12.jpg)
User Functions
– A User Function describes a vehicle function from which the user has a direct benefit
–The complete set of User Functions describes Scanias electrical system
More examples:
UF 352 ”Bus Stop Brake”
UF 415 ”Hill Hold”
UF 511 ”Rear Wheel Steering”
Opticruise –
UF 493 ”Transmission automatic”
12
![Page 13: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/13.jpg)
Allocation Elements
AE
UF
AE AE
CAN
– An Allocation Element describes a logical component of a User Function as implemented in an ECU
ECU ECU
13
![Page 14: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/14.jpg)
Benefits • Scalable
• Few ECUs on low cost vehicles
• Possibility to add systems and segments for increased content
• Modularised
• Encapsulation and modularisation reduces communication need and complexity
• Possible to chose degree of centralisation
• Clear organisational responsibility for components and functions
• Evolution
• CEPPSS
• Balancing complexity and backwards compatibility
• Testing
• ECU system level testing possible locally before delivery to integration test
• Stepwise integration possible
• Isolation between ECU systems
• Easier to prove freedom of interference and avoid unnecessary mixed criticality
• Flexibility in subsegments
• Possibility to adapt interfaces quickly to new systems without affecting main segments
• Often in-house SW in main nodes
• Builds on proven concept
14
![Page 15: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/15.jpg)
15
Where are we in the organisation?
Mainly RE and NE developing SW, but also RB, RC and NB.
![Page 16: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/16.jpg)
16
• Our E/E system is ONE system
• We have to see it as a whole system
and not only separate parts of it
• ”Small changes” can have/lead to
unexpected dependencies
• We have to analyse each change to
evaluate its consequence(s)
• Development of the E/E-system is
performed parallel in many areas
• It is important to have a process for
synchronisation
The release process is Scanias
process for packaging the
electric/electronic system in our
vehicles
Aim
![Page 17: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/17.jpg)
17
1. Release planning 2. Analyse 3. Packaging
?
What is the release process?
![Page 18: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/18.jpg)
18
A complete delivery of the electrical system per SOP
SW n development processes
Product documentation (System och function)
Release process Safety analysis
Production tools (PSM/PSE/SPCT)
Integration test report
Field test report
Communications specification
Support for after market (Scomm, MSC)
Tools for aftermarket (SDP3)
Drivers manual
Aftermarket process
SOP-release
ECU-system development
Electric
![Page 19: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/19.jpg)
19
Development of SW
Dependency analysis Integration tests
Safety analysis
Field tests
Production tools
Analyse/
Modularisation
Support for after market
Code-Development
SOP
Function- and module tests
SW-projects (working method e.g.. RUP, SCRUM)
PD Phase1: D ”Impact on electrical system defined” Release process
ECU-system
Complete E/E-System
![Page 20: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/20.jpg)
20
Software Development
PD CD
SW development
Dependency
analysis
Analysis /
Modularisation Integration tests
Field tests
Production tools
Support for after
market
Embedded System Development Process
SOP
Test planning
Electrical system,
HW & SW
Test
Utgåva 1, 2009-03-31 Info class Internal RESA/Staffan Persson Releaseprocessen
![Page 21: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/21.jpg)
21
CR
CR
Release process
CR
Release process is a flow with a pulse
Each planned change is flagged with a CR
Abbreviations:
CR = Change Request, P1 = Integr.test 1, P2 = Integr.test 2, P3 =Integr.test 3
CR
CR
![Page 22: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/22.jpg)
SCRUM Methodology for SW development
22
![Page 23: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/23.jpg)
SCRUM is determined by
• Iterative
• Increments
• Focused work in short cycles
• Priorization
• Self-organized team
• Everything is timeboxed
• Transparant
• Face to face
• Periodic delivieries
23
![Page 24: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/24.jpg)
Req. from,
customers, teams etc.
Product owner Team
SCRUM master
Backlog Sprintlog Deliverable product increment
Planning
Daily SCRUM
Retrospective
Demo
Role
s
Cere
monie
s
Arte
facts
24
![Page 25: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/25.jpg)
•
25
Test environments for integration testing
![Page 26: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/26.jpg)
26
I-lab: Hardware-In-the-Loop
Signal
handling of
control
signals
Dynamic vehicle model
HW
Signal
handling of
sensors
Fault
injection
System under test
HW+ SW Load
simulation
Fault
injection
Electrical signals Electrical signals
Fysikaliska signaler
![Page 27: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/27.jpg)
Haulage
City traffic Long range
Construction
SOPS +
~180 TC
Test report ~250 TC per night
27
![Page 28: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/28.jpg)
Distribution of real-time data
• Our new integration test lab has a CAN bus solution where
maximum CAN length is reached
• To reduce CAN length, buses are not accessible in all
cabinets
• However, we still want to get one real-time view of all CAN
buses
• This requires a distributed solution
28
![Page 29: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/29.jpg)
Distribution of real-time data
• We allocate one CAN bus as a synch bus
• A synch messsage is sent periodically
• The synch bus is accessible from each computer node
• Each computer node receives CAN frames on CAN buses,
including synch, and sends them to a merger
• How should the merger be implemented such that it
• Can cope with the expected number of messages
• Can present a merged data stream without too much delay
29
![Page 30: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/30.jpg)
Distribution of real-time data
30
computer
computer
computer
Synch bus
Merged
stream merger
![Page 31: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/31.jpg)
Distribution of real-time data
• One program for sending synch messages
• One program per computer for receiving and forwarding
CAN frames
• One program for sorting frames in correct order
• One program for visualizing CAN frames
31
![Page 32: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/32.jpg)
Distribution of real-time data
• Merging
• Robust
• Handle all kinds of edge cases
• Maintainable
• Development
• A C++ version has been implemented. Single-threaded.
• A prototype using Actor pattern has been implemented.
We consider this one to be more robust and maintainble.
• Programming language with thread local heaps
32
![Page 33: Scania - IDAsimna73/teaching/REAP/HT13/Scania.pdf · Corporate statement Scania’s goal is to deliver optimized heavy trucks, buses, engines, and services, offer our customers the](https://reader034.vdocuments.site/reader034/viewer/2022042800/5a74cf4b7f8b9ad22a8c188e/html5/thumbnails/33.jpg)
Distribution of real-time data
33
Receiv
er TCP/IP
filter1
Filter n
synch
merger
distribut
er
distr TCP/IP