Академический Документы
Профессиональный Документы
Культура Документы
org
More vehicle functions means more electronic control modules (ECU) with
more and complex software. Due to the complexity and size of the control
software, it’s mandatory to use a development process which shall
improve the overall quality of the software, increase development e ciency
and eliminate systematic software bugs.
Recent Comments
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 1/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Patreon
Function Requirements
The process starts with the analysis of the function requirements. This is a
very important step because it de nes what is expected from the control
software in terms of functionality. There is an entire engineering area
dedicated to requirements, which is called requirements engineering. Recent Posts
Some companies have dedicated requirements engineers working on a
daily basis de ning requirements. Most of the time, the system engineer is
Exhaust Gas Recirculation
responsible with requirement de nition.
(EGR) complete guide –
components
The function requirements describes what the software should do from the
functional point of view. When de ning requirements, the author will use Exhaust Gas Recirculation
(EGR) complete guide –
dedicated keywords, which have a precise meaning. The keywords are
introduction
de ned in the document RFC2119 as:
Effects of vehicle pollution on
Keyword Meaning human health
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 2/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
MAY This word, or the adjective “OPTIONAL”, mean that an Terms and Conditions
item is truly optional. One vendor may choose to include
the item because a particular marketplace requires it or
because the vendor feels that it enhances the product
while another vendor may omit the same item. An
implementation which does not include a particular
option MUST be prepared to interoperate with another
implementation which does include the option, though
perhaps with reduced functionality. In the same vein an
implementation which does include a particular
option MUST be prepared to interoperate with another
implementation which does not include the option
(except, of course, for the feature the option provides.)
Source: RFC2119
“ The engine control software MUST limit the engine speed at 6500
rpm. ”
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 3/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Function Development
Once the function requirements are clearly de ned and agreed between the
developer (function engineer) and requirements/systems engineer, the
function development can start. The function development is performed by
the function developer and consists in using a model based development
(MBD) environment to design and test the required functionality.
For the requirement above the engine speed limiting function can be
designed as:
Notice that the function developer has also de ned how the speed
limitation is going to be achieved. When the measured engine speed
( EngN_rpm ) is bigger than the limit ( EngNMaxLim_Cal_rpm ) the
requested engine torque ( EngTqReq_Nm ) will be set to 0 Nm . Otherwise,
if the engine speed is below maximum limit, the requested engine torque
will be equal to the raw engine torque ( EngTqRaw_Nm ). We will assume
that the raw engine torque is calculated based on accelerator pedal
position.
After the function design is complete, the function developer will run a
series of tests. These tests are called Model in the Loop (MiL) tests since
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 4/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Once the MiL test are complete and the results are meeting expectations,
the model (*.mdl, *.xcos) will be send to the software developer for the
software design phase.
Software Development
At this stage of development there are more details regarding the
functionality. In addition to the algorithm which needs to be coded, the
software developer needs to know what data types needed for each of the
software variables. The software developer is also responsible in delivering
an optimized C code, in terms of memory resources and CPU loading.
For the engine speed limitation function, an equivalent C code for the block
diagram above could be:
#include <EngNCalc.h>
#include <EngTqPedlCalc.h>
void EngSpdLimFct(void)
{
extern float EngN_rpm;
extern float EngTqRaw_Nm;
extern float EngTqReq_Nm;
float EngNMaxLim_Cal_rpm;
A NETFLIX FILM
Software integration
Most of the time, integration test are performed using Hardware in the
Loop (HiL) techniques.
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 6/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Affordable
Ad Long ser
system, stab
Bodor® Laser
Learn mor
The HiL tests are veri cation tests. Veri cation con rms that the
software properly re ect the speci ed requirements. In other words,
veri cation ensures that ”you built it right.”
Function integration
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 7/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Image: Vehicle testing using laptop with logging and calibration software tools
Credit: Bosch (vehicle)
The laptop must be equipped with proper tools for accessing software
variables (INCA, Canape) and network bus messages (Canalyzer). These
tools connect to the target ECU using different communication standards
(ETK, CAN, etc.)
The function integration tests are validation tests. Validation con rms that
the product, as provided, will ful ll its intended use. In other words,
validation ensures that ”you built the right thing.”
Function calibration
The last step in software development is the function calibration. This task
is performed by a calibration/tuning engineer.
Most of the software control function are generic, they are suitable for
different vehicle applications (variants). The role of the calibration engineer
is to set the right parameters for the software functions. For our example,
the calibration is the value of the maximum speed limit. Depending on the
engine type, it can have different values (e.g. 6500 rpm for gasoline
engines, 4500 rpm for diesel engines).
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 8/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
Advantages Disadvantages
For any questions or observations regarding this tutorial please use the
comment form below.
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pro… 9/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
One Response
asp
Leave a Reply
Comment Text*
Name*
Email*
Website
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pr… 10/11
7/9/2019 Essential aspects of the V-cycle software development process – x-engineer.org
x-engineer.org
Engineering Tutorials
https://x-engineer.org/graduate-engineering/modeling-simulation/model-based-design/essential-aspects-of-the-v-cycle-software-development-pr… 11/11