Вы находитесь на странице: 1из 37

slvnvdemo_fuelsys_htmreq.

slx
Design Description
The MathWorks, Inc.

slvnvdemo_fuelsys_htmreq.slx

slvnvdemo_fuelsys_htmreq.slx: Design Description


The MathWorks, Inc.

Publication date 13-Aug-2015 03:52:40


Copyright 2015
For Internal Distribution Only

Table of Contents
1. Model Version ................................................................................................................ 1
2. Root System ................................................................................................................... 2
Description ................................................................................................................. 3
3. Subsystems ..................................................................................................................... 4
Airflow calculation ...................................................................................................... 5
Discrete Transfer Fcn (with initial outputs) ...................................................................... 5
engine gas dynamics .................................................................................................... 6
Fuel Calculation .......................................................................................................... 6
fuel rate controller ....................................................................................................... 7
State Charts ........................................................................................................ 8
Intake Manifold .......................................................................................................... 9
LOW Mode ................................................................................................................ 9
MAP Estimate .......................................................................................................... 10
Mixing & Combustion ................................................................................................ 10
RICH Mode .............................................................................................................. 11
Sensor correction and Fault Redundancy ........................................................................ 12
Speed Estimate .......................................................................................................... 13
Switchable Compensation ............................................................................................ 13
system lag ................................................................................................................ 14
Throttle .................................................................................................................... 14
throttle command ....................................................................................................... 14
Throttle & Manifold ................................................................................................... 15
Throttle Estimate ....................................................................................................... 15
4. System Design Variables ................................................................................................. 16
5. Requirements Traceability ............................................................................................... 28
Model Information for "slvnvdemo_fuelsys_htmreq" ........................................................ 28
Document Summary for "slvnvdemo_fuelsys_htmreq" ...................................................... 28
System - Airflow calculation ........................................................................................ 29
System - MAP Estimate .............................................................................................. 30
Chart - control logic ................................................................................................... 31

iii

List of Figures
2.1. slvnvdemo_fuelsys_htmreq .............................................................................................. 2
3.1. slvnvdemo_fuelsys_htmreq/fuel rate controller/Airflow calculation ......................................... 5
3.2. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/Switchable Compensation/LOW Mode/Discrete Transfer Fcn (with initial outputs) .......................................................... 5
3.3. slvnvdemo_fuelsys_htmreq/engine gas dynamics ................................................................. 6
3.4. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation ............................................. 6
3.5. slvnvdemo_fuelsys_htmreq/fuel rate controller .................................................................... 7
3.6. slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold/Intake Manifold ............... 9
3.7. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/Switchable Compensation/LOW Mode ..................................................................................................................... 9
3.8. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault Redundancy/MAP
Estimate ........................................................................................................................... 10
3.9. slvnvdemo_fuelsys_htmreq/engine gas dynamics/Mixing & Combustion ................................. 10
3.10. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/Switchable Compensation/RICH Mode ................................................................................................................... 11
3.11. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault Redundancy .......... 12
3.12. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault Redundancy/Speed Estimate ....................................................................................................................... 13
3.13. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/Switchable Compensation ....... 13
3.14. slvnvdemo_fuelsys_htmreq/engine gas dynamics/Mixing & Combustion/system lag ................. 14
3.15. slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold/Throttle ...................... 14
3.16. slvnvdemo_fuelsys_htmreq/throttle command .................................................................. 14
3.17. slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold .................................. 15
3.18. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault Redundancy/Throttle Estimate .................................................................................................................... 15

iv

List of Tables
4.1. Design Variables .........................................................................................................
4.2. Functions used in Design Variable Expressions .................................................................
5.1. slvnvdemo_fuelsys_htmreq Version Information ................................................................
5.2. Requirements documents linked in model ........................................................................
5.3. slvnvdemo_fuelsys_htmreq/fuel rate controller/Airflow calculation Requirements ....................
5.4. Blocks in "Airflow calculation" that have requirements .......................................................
5.5. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault Redundancy/MAP
Estimate Requirements .......................................................................................................
5.6. Stateflow objects with requirements ................................................................................

16
27
28
28
29
29
30
31

Chapter1.Model Version
Version: 1.185
Last modified: Thu Jul 30 23:20:32 2015
Checksum: 669780177 24105861 1818860793 2421348619

Chapter2.Root System
Table of Contents
Description ......................................................................................................................... 3

Figure2.1.slvnvdemo_fuelsys_htmreq

Fault-To le rant Fue l Co ntro l S ys te m with HTML Re quire me nts


throttle s e ns or
e ngine s pe e d o2_out
throttle

throttle
comma nd
Nomina l
S pe e d

0
throttle a ngle

e ngine
s pe e d

MAP

e ngine s pe e d

300
700
High
S pe e d
(ra d./s e c.)

fue l ra te

s pe e d s e ns or

fuel

EGO

12

a ir/fue l ra tio

e ngine
ga s
dyna mics

EGO s e ns or
MAP

MAP s e ns or

fue l ra te
controlle r

Me te re d Fue l

a ir/fue l
mixture ra tio

De s c riptio n
This e xa m ple illus tra te s the a s s ocia tion of re quire m e nts for a fa ult-tole ra nt fue l control s ys te m with its m ode l im ple m e nte d
in S im u lin k a n d S ta te flo w.
Ins truc tio ns
-To highlight blocks a s s ocia te d with re quire m e nts , double -click the Hig hlig ht the ite ms with re quire me nts button
b e lo w. Yo u ca n re m o ve th e h ig h lig h tin g b y d o u b le -clickin g th e b u tto n a g a in .
-To vie w re quire m e nts docum e nts a s s ocia te d with m ode l e le m e nts , right-click the highlighte d ite m s a nd s e le ct
Re quire me nts from the conte xt m e nu. The re quire m e nts a re lis te d in a ca s ca de d m e nu. Ite m s with only borde r
highlighting do not ha ve re quire m e nts but inne r conte nts ha ve a s s ocia te d re quire m e nts .
- To ge ne ra te a re port a bout a ll of the re quire m e nts a s s ocia te d with the m ode l a nd its conte nts , double -click the
Ge ne rate Re po rt button be low. S im ulink V&V a utom a tica lly dis pla ys a n HTML re port.
For m ore de ta ils , re fe r to the "R e quire m e nts Tra ce a bility" s e ction of the S im ulink V&V docum e nta tion.

Highlight the items


with requirements
(double -click)

Generate Report
(double -click)

Highlight

Re port

Copyright 1990-2009 The Ma thWorks , Inc.

Root System

Description
Fault-Tolerant Fuel Control System with HTML Requirements This example illustrates the association of
HTML requirements for a fault-tolerant fuel control system with its model implemented in Simulink(R)
and Stateflow(R).

Chapter3.Subsystems
Table of Contents
Airflow calculation .............................................................................................................. 5
Discrete Transfer Fcn (with initial outputs) .............................................................................. 5
engine gas dynamics ............................................................................................................ 6
Fuel Calculation .................................................................................................................. 6
fuel rate controller ............................................................................................................... 7
State Charts ................................................................................................................ 8
Intake Manifold .................................................................................................................. 9
LOW Mode ........................................................................................................................ 9
MAP Estimate .................................................................................................................. 10
Mixing & Combustion ........................................................................................................ 10
RICH Mode ...................................................................................................................... 11
Sensor correction and Fault Redundancy ................................................................................ 12
Speed Estimate .................................................................................................................. 13
Switchable Compensation .................................................................................................... 13
system lag ........................................................................................................................ 14
Throttle ............................................................................................................................ 14
throttle command ............................................................................................................... 14
Throttle & Manifold ........................................................................................................... 15
Throttle Estimate ............................................................................................................... 15

Subsystems

Airflow calculation
Figure3.1.slvnvdemo_fuelsys_htmreq/fuel rate controller/Airflow calculation

Intake Airflo w Es timatio n and Clo s e d-Lo o p Co rre c tio n


Throttle tra ns ie nt
corre ction

0.01z-0.01
z-0.8

throttle a ngle

1
e s t.
a ir
flow

e ngine s pe e d, N

Demux

1
s e ns _in

P umping Cons ta nt
ma nifold pre s s ure , P m

Fe e dfo rward Co ntro l


0.5

Ra mp
Ra te (Ki)

EGO, re s idua l
e xha us t oxyge n

e1

<=

double

T
K Ts
z-1

e0

0.5
F

Oxyge n S e ns or
S witching Thre s hold

UY

Fa ilure s

2
fe e dba ck
corre ction

hold
inte gra tor

Fe e dbac k Co ntro l

NOR
e na ble inte gra tion

3
mode

O2 fa il
(wa rmup)

Inte gra tor

e2

LOW

~=
not norma l ope ra tion

Discrete Transfer Fcn (with initial outputs)


Figure 3.2. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/
Switchable Compensation/LOW Mode/Discrete Transfer Fcn (with initial outputs)

x(n+1)=Ax(n)+Bu(n)
y(n)=Cx(n)+Du(n)

In 1

O u t1
Dis cre te
S ta te S pa ce

Subsystems

engine gas dynamics


Figure3.3.slvnvdemo_fuelsys_htmreq/engine gas dynamics
Mixing & Combus tion

fue l

fue l ra te

Engine S pe e d, N

Ma s s Airflow Ra te

o2_out

air flow

o2_out
3

a ir/fue l ra tio

e ngine s pe e d

a ir/fue l ra tio
Throttle Ang.

MAP (ba r)

MAP
Throttle & Ma nifold

throttle a ngle

Fuel Calculation
Figure3.4.slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation
Fue l Rate Calc ulatio n

1
e s t.
a ir
flow

1/14.6
F/A Norm
1/(14.6*0.8)
F/A Rich

0
mode

fe e dforwa rd fue l ra te

1
2

mode

*, 3

S hutdown

fue l ra te

4
3

Fa ilure s

Fa ilure s

fe e dba ck corre ction

fe e dba ck
corre ction
S witcha ble
Compe ns a tion

limit
output

fue l
ra te

Subsystems

fuel rate controller


Figure3.5.slvnvdemo_fuelsys_htmreq/fuel rate controller
1

S e ns or corre ction a nd
Fa ult Re dunda ncy

throttle

Mux

S e ns ors
Corre cte d

Airflow ca lcula tion

Fue l Ca lcula tion

s e ns _in
est. air flow

Fa ilure s

est. air flow

2
Fa ilure s

e ngine
s pe e d

fe e dba ck corre ction


mode

fe e dba ck corre ction


fue l ra te

throt
fa il_s ta te

EGO

Fa ilure s

s pe e d
Ego
fue l_mode

mode

pre s s

MAP
control logic

fue l rate c o ntro lle r

1
fue l
ra te

Subsystems

State Charts
Chart
1

O2

P re s s ure

fa il
e ntry: fa il_s ta te [O2] = 1;
wa rmup
e ntry: fa il_s ta te [O2] = 1;

[pre s s > ma x_pre s s | pre s s < min_pre s s ]


/Fa il.INC

[Ego < ma x_e go] /


Fa il.DEC

[t > o2_t_thre s h]

norma l
e ntry: fa il_s ta te [P RES S ] = 0

[Ego > ma x_e go]/


Fa il.INC

norma l
e ntry: fa il_s ta te [O2] = 0;

[pre s s > min_pre s s & pre s s < ma x_pre s s ] /


Fa il.DEC

Throttle

S pe e d
[throt> ma x_throt | throt < min_throt]/
Fa il.INC

fa il
e ntry: fa il_s ta te [P RES S ] = 1

norma l
e ntry: fa il_s ta te [THROT] = 0;

[s pe e d==0 & pre s s < ze ro_thre s h]/


Fa il.INC

fa il
e ntry: fa il_s ta te [THROT] = 1;

norma l
e ntry: fa il_s ta te [S P EED] = 0

fa il
e ntry: fa il_s ta te [S P EED] = 1

[s pe e d > 0] /
Fa il.DEC

[throt > min_throt & throt < ma x_throt]


/ Fa il.DEC

Fa il
Multi
INC

One

None

INC

Two

INC

Fue ling_Mode
[ s pe e d > ma x_s pe e d ]
Running

H
[in(Fa il.One )]

Norma l

Four

Fue l_Dis a ble d


e ntry: fue l_mode = DIS ABLED

Low_Emis s ions
e ntry: fue l_mode = LOW

INC

DEC

DEC

DEC

DEC

Thre e
2

Ove rs pe e d
Rich_Mixture
e ntry: fue l_mode = RICH

S ingle _Fa ilure

[in(S pe e d.norma l) & ...


s pe e d < (ma x_s pe e d - hys )]

[!in(Fa il.Multi)]
1

[in(Fa il.None )]
1
2

[in(Fa il.One )]

e nte r(Fa il.Multi)

[in(Fa il.Multi)]
2
S hutdown

Wa rmup

e xit(Fa il.Multi)

[in(O2.norma l)]

5 6

O2
Pressure [31]
Throttle
Speed
Fail
Fueling_Mode

Subsystems

Intake Manifold
Figure3.6.slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold/
Intake Manifold
2
Ma nifold P re s s ure ,
P m (ba r)

1
mdot Input
(g/s )

1
s

0.41328
RT/Vm

p0 = 0.589 ba r

Mux

-0.366 + 0.08979*u[1]*u[2] - 0.0337*u[2]*u[1]*u[1] + 0.0001*u[1]*u[2]*u[2]


P umping

2
N (ra d/s e c)

1
mdot to
Cylinde r
(g/s )

Intake Manifo ld Vac uum

LOW Mode
Figure 3.7. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/
Switchable Compensation/LOW Mode

8.7696z-8.5104
z-0.74082

Dis cre te
Tra ns fe r Fcn
(with initia l outputs )

Subsystems

MAP Estimate
Figure3.8.slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and
Fault Redundancy/MAP Estimate

MAP Es timatio n

s pe e d

1
S e ns ors

1
ma p

throttle

P re s s ure Es tima te (2-D)

Ena ble

Mixing & Combustion


Figure3.9.slvnvdemo_fuelsys_htmreq/engine gas dynamics/Mixing & Combustion
a ir flow

2
1

max

fue l
ra te

3
s+3
s ys te m la g

(1-ta nh(4*(u[1]-14.6)))/2

EGO S e ns or

o2_out

2
a ir/fue l
ra tio

0 .1

10

Subsystems

RICH Mode
Figure 3.10. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/
Switchable Compensation/RICH Mode

0.25918
z-0.74082

Dis cre te
Tra ns fe r Fcn
(with initia l outputs )

11

Subsystems

Sensor correction and Fault Redundancy


Figure3.11.slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and
Fault Redundancy
Throttle Es tima te

S e ns ors

throttle

throttle

S pe e d Es tima te
S e ns ors

we

s pe e d

Mux

1
Corre cte d

Demux

EGO

MAP Es tima te
S e ns ors

RT

1
throttle s e ns or fa ilure
s pe e d s e ns or fa ilure

MAP

S e ns ors

ma p

Demux

Fa ilure s
pre s s ure s e ns or fa ilure

12

Subsystems

Speed Estimate
Figure3.12.slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and
Fault Redundancy/Speed Estimate

Ena ble

throttle

S e ns ors

1
we
Ma nifold pre s s ure

S pe e d
Ta ble (2-D)

Switchable Compensation
Figure 3.13. slvnvdemo_fuelsys_htmreq/fuel rate controller/Fuel Calculation/
Switchable Compensation
2
mode

==

LOW

NAND
LOW

==

UY
RICH

Fa ilure s

O2 fa il
(wa rmup)

8.7696z-8.5104
z-0.74082
1
LOW Mode

1
fe e dforwa rd
fue l ra te

==

1
fue l ra te

RICH
4
0.25918
z-0.74082

fe e dba ck
corre ction

RICH Mode

S hutoff
Mode

Lo o p Co mpe ns atio n and Filte ring

13

*, 3

Subsystems

system lag
Figure 3.14. slvnvdemo_fuelsys_htmreq/engine
Combustion/system lag
x' = Ax+Bu
y = Cx+Du

1
In 1

gas

dynamics/Mixing

&

1
O u t1

S ta te S pa ce

Throttle
Figure3.15.slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold/
Throttle
Throttle Angle ,
the ta (de g)

f(the ta )

2.821 - 0.05231*u[1] + 0.10299*u[1]*u[1] - 0.00063*u[1]*u[1]*u[1]

2
g(pra tio)

Ma nifold P re s s ure ,
P m (ba r)

min

pra tio

2*s qrt(u - u*u)


1

3
1.0
Atmos phe ric P re s s ure ,
Pa (bar)

S onic Flow

thre s hold
= 0.5

dire ction

Thro ttle Flo w vs . Valve Ang le and Pre s s ure

throttle command
Figure3.16.slvnvdemo_fuelsys_htmreq/throttle command
f(u)
Clock

Fcn1

1
Look-Up Ta ble

14

o u t_ 1

Throttle
Flow, mdot
(g/s )

Subsystems

Throttle & Manifold


Figure3.17.slvnvdemo_fuelsys_htmreq/engine gas dynamics/Throttle & Manifold
2
Throttle Ang.

Throttle Angle , the ta (de g)

Limit to P os itive

1.0

Ma nifold P re s s ure , P m (ba r)

Throttle Flow, mdot (g/s )

Atmos phe ric P re s s ure , P a (ba r)

Atmos phe ric


P re s s ure , P a
(ba r)

Throttle

mdot Input (g/s )

mdot to Cylinde r (g/s )

1
Ma s s Airflow Ra te

N (ra d/s e c)

Engine S pe e d, N

Ma nifold P re s s ure , P m (ba r)

Inta ke Ma nifold

2
MAP (ba r)

Air-Fue l Intake Dynamic s

Throttle Estimate
Figure3.18.slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and
Fault Redundancy/Throttle Estimate

1
S e ns ors

s pe e d

1
throttle
Ma nifold pre s s ure

Thrott Es tima tion


Ta ble (2-D)

Ena ble

15

Chapter4.System Design Variables


Table4.1.Design Variables
Variable
Name

Parent Blocks

Size

Bytes

Class

Value

A1

LOW Mode

1x2

16

double

[1 -0.74082 ]

A2

RICH Mode

1x2

16

double

[1 -0.74082 ]

B1

LOW Mode

1x2

16

double

[8.7696 -8.5104 ]

B2

RICH Mode

1x2

16

double

[0 0.25918 ]

Ki

Ramp Rate (Ki)

1x1

double

0.0120

LOW

disablemode
F/A Norm
F/A Norm3

1x1

uint8

PressEst

Pressure Estimate (2-D)

18x17

2448

double

[ 0.80625 0.87758 0.95774 0.98515 0.99389 0.99709 0.99845 0.99909


0.99943 0.99962 0.99974 0.99985 0.99994 0.99997 0.99998 0.99999
0.99999 ;
0.55314 0.68705 0.88493 0.9595 0.98336 0.99208 0.99577 0.99753 0.99845 0.99897 0.99929
0.99958 0.99983 0.99991 0.99995 0.99996 0.99997 ;
0.37152 0.48261 0.77251 0.91783 0.9662 0.98393 0.99142 0.99499 0.99686 0.99792 0.99856
0.99915 0.99965 0.99982 0.99989 0.99992 0.99994 ;
0.27767 0.35422 0.6346
0.85816 0.9412 0.97202
0.98506 0.99128 0.99454 0.99638 0.99749 0.99852 0.9994 0.99969 0.99981 0.99986 0.99989;
0.2202 0.27841 0.49951
0.78092 0.90726 0.95573 0.97636 0.9862 0.99135 0.99427 0.99602 0.99765 0.99905 0.9995
0.99969 0.99979 0.99983 ;

16

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
0.18129 0.228 0.39895
0.69064 0.86371 0.93448 0.96495 0.97953 0.98717 0.9915 0.9941 0.99652 0.99858 0.99926
0.99955 0.99968 0.99975 ;
0.1532 0.192 0.33091
0.59565 0.81067 0.90775 0.95049 0.97105 0.98186 0.98797 0.99165
0.99507 0.998 0.99896
0.99936 0.99955 0.99965 ;
0.11543 0.14403 0.24398 0.42979 0.68244 0.83688 0.91118 0.94781
0.96723 0.97826 0.98491 0.99109 0.99637 0.99812 0.99884 0.99918
0.99936 ;
0.091307 0.11364 0.19066 0.32878 0.54507 0.74462 0.85666 0.91488
0.94632 0.96431 0.9752
0.98534 0.99403 0.9969
0.99809 0.99866 0.99894 ;
0.074652 0.09276 0.15469 0.26351 0.42851 0.63919 0.78714 0.87115
0.91808 0.94533 0.96193 0.97746 0.99081 0.99522 0.99705 0.99793
0.99837 ;
0.062523 0.077601 0.12888 0.21782 0.34927
0.53303 0.7058 0.81646
0.88175 0.92058 0.94451 0.96706 0.98654 0.993 0.99568 0.99696 0.99761 ;
0.053338 0.066146 0.10954 0.18412 0.29255
0.44075 0.61855 0.75213 0.83713 0.88955 0.92242 0.95376 0.98105
0.99013 0.99391 0.99572 0.99663 ;
0.046172 0.057223 0.094558 0.15831 0.24996

17

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value

RICH

F/A Norm1
F/A Norm2

1x1

uint8

SpeedEst

Speed Table (2-D)

17x19

2584

double

[471.83784 279.6084
203.37157 161.87875
135.70949 117.7089 104.59755 94.653591 86.884133 80.675803 75.323599 70.305093 65.474236 60.694495 55.820766 50.674343 44.9951-

0.37283 0.53226 0.68101 0.78476 0.85201 0.89528 0.93719 0.97414


0.98651 0.99167 0.99414 0.99539 ;
0.035783 0.04431 0.073003 0.12158 0.19041
0.28061 0.3944 0.53428
0.66337 0.7589 0.82535
0.89314 0.95535 0.9766
0.98553 0.98981 0.99198 ;
0.028687 0.035503 0.058385 0.09692 0.15105
0.22108 0.30779 0.4126
0.53623 0.6494 0.73692
0.83376 0.92877 0.9624
0.97669 0.98356 0.98705 ;
0.023586 0.02918 0.047926 0.079385 0.12333
0.17973 0.2488 0.33102
0.42724 0.53713 0.63734 0.76034 0.89336 0.94307 0.96454 0.97495
0.98025 ;
0.019778 0.024462 0.040141 0.066389 0.10291 0.14954 0.20623 0.27309 0.35037 0.43854
0.5367 0.67703 0.84867
0.91787 0.94851 0.96351 0.97119 ;
0.016849 0.020835 0.034167 0.056447 0.087363 0.12669 0.17426 0.23 0.29393 0.36614 0.44684 0.58998 0.79518
0.88632 0.92809 0.94883 0.95952 ]

18

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
65 38.318991 29.505666;
550.8094 330.6733 242.26853 193.74716 162.95755 141.67967 126.1235 114.28922 105.0188 97.594252 91.173706 85.129934 79.290677 73.49292 67.561147 61.276519 54.317229 46.104092 35.205561;
777.55931 480.41744
358.00216 289.5742 245.54331 214.77633 192.07791 174.67769 160.95649 149.90211 140.2786 131.15361 122.27782 113.40938 104.28099 94.550933 83.705558 70.803161 53.477965;
1080.9243 685.3721 519.09206 424.67617 363.14567 319.69205 287.34187 262.34512 242.49287 226.39422 212.29232 198.84629 185.70213 172.50933 158.87187 144.27245 127.91792 108.32691 81.706391;
1418.368 916.85138 703.22985 580.6031 499.94001 442.51023 399.44551 365.95159 339.18994 317.36435 298.15191 279.76411 261.73087 243.57997 224.76945 204.58017 181.89257 154.58319 117.11708;
1769.7469 1160.1314
898.23899 746.78781
646.5086 574.68898 520.54106 478.21411 444.23295 416.39149 391.79121 368.18663 344.98827 321.59808 297.32223 271.22986 241.855-

19

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
61 206.38696 157.38258;
2125.3731 1407.7645
1097.7038 917.47366
797.57791 711.33506
646.04735 594.8144 553.5292 519.57918 489.49455 460.57576 432.11419 403.38595 373.54492 341.44708 305.27709 261.51958 200.76255;
2480.2035 1655.7576
1298.0973 1089.428 950.13274 849.60769 773.27021 713.1853 664.62371 624.57284 589.00154 554.76404 521.03431 486.96446 451.55817 413.46086 370.51058 318.49279 246.01895;
2831.378 1901.8087 1497.3558 1260.7346 1102.3652 987.78662 900.56436 831.74772 775.99717 729.90799 688.89985 649.39062 610.43928 571.07659 530.15924 486.1265 436.47668
376.30859 292.28278 ;
3177.1401 2144.4928
1694.1919 1430.189 1253.1312 1124.7767 1026.8767 949.48632 886.66884 834.63616 788.27199 743.56858 699.47269 654.8967 608.55399 558.6829 502.45058
434.28575 338.94008 ;
3516.3292 2382.8675
1887.7518 1596.9897
1401.667 1259.8443 1151.4997 1065.717 995.97643 938.11557 886.496 836.69549 787.55149 737.86114 686.19844 630.60638 567.93016 491.94693 385.54975;

20

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
4064.9042 2768.8586
2201.5125 1867.6316
1642.8763 1479.3446
1354.1568 1254.8317
1173.9107 1106.6289
1046.5091 988.46384
931.15492 873.19467
812.93368 748.10208
675.02977 586.45121
462.28328 ;
5187.5537 3559.9378
2845.3998 2423.6811
2138.9681 1931.1999
1771.6718 1644.715 1540.9593 1454.4145 1376.9015 1301.9843 1227.9689 1153.0936 1075.2574 991.55928 897.29033 783.08547 622.87145 ;
7058.8124 5120.0763
3415.6725 2916.598 2579.0843 2332.3523 2142.5652 1991.2465 1867.3436 1763.7878 1670.9063 1581.0804 1492.3044 1402.4888 1309.138 1208.7998 1095.8596 959.12425 767.31263;
7905.2133 4857.3045
3902.681 3337.7441 2955.276 2675.3676 2459.8106 2287.7381 2146.6651 2028.6053 1922.6162 1820.0748 1718.7102 1616.1553 1509.5797 1395.0642 1266.2281 1110.3327 891.70021;
7710.468 5340.4795 5138.0226 3678.5455 3259.7736 2953.0713 2716.6999 2527.8617 2372.9149 2243.1323 2126.5472 2013.7266 1902.1861 1789.3344 1672.0717 1546.1029 1404.4306 1233.0741 992.82368;

21

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
8213.0112 5695.3866
5427.4738 3928.9604
3483.5454 3941.979 2905.5307 2704.3859 2539.2539 2400.8638 2276.4979 2156.1291 2037.1163 1916.7041 1791.5952 1657.2191 1506.1273 1323.4295 1067.3335]

SpeedVect Pumping Constant [30]


Pressure Estimate (2-D)
Thrott Estimation Table (2-D)

1x18

144

double

[50 75 100 125 150 175


200 250 300 350 400
450 500 600 700 800
900 1000 ]

ThrotEst

18x19

2736

double

[000000000000
0000000;
0000000000000
0 0 0 0 6.38557 8.36079;
0 0 0 0 0 0 0 1.68952 2.58459 0 0 0 0 0 5.72109
6.37502 7.20564 8.39976 10.6118 ;
0 0 0 0 0 1.76802 2.92604 3.68765 4.28271 0
0 0 6.14796 6.65738 7.23481 7.92705 8.82335
10.1353 12.6118 ;
0 0 0 0 2.23555 3.4539
4.29428 4.96177 5.52152 6.00443 6.45575 6.91762 7.40646 7.9433 8.55895 9.30473 10.2797
11.7206 14.47 ;
0 0 0 2.00945 3.5698 4.57395 5.35855 6.01267
6.57608 7.07069 7.53898 8.02326 8.54038 9.11265 9.77342 10.5788
11.638 13.2127 16.2389;
0 0 0 3.26513 4.54952
5.50261 6.28151 6.94609 7.52691 8.0421 8.53384 9.04579 9.59562
10.2072 10.9165 11.7847 12.931 14.6423 17.9486 ;
0 0 3.2694 4.93994 6.12849 7.08786 7.90293

Thrott Estimation Table (2-D)

22

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
8.61479 9.2471 9.81495
10.3624 10.9372 11.559
12.2551 13.0672 14.0664 15.3925 17.3835 21.2601 ;
0 1.97905 4.68685 6.25862 7.47142 8.48241 9.35723 10.1308 10.8244
11.4521 12.0612 12.704
13.4026 14.1879 15.1073 16.2426 17.7544 20.0332 24.4971 ;
0 3.49935 5.83083 7.42063 8.69253 9.77171
10.716 11.5578 12.3175
13.0088 13.6828 14.3968 15.1754 16.0531 17.0836 18.3591 20.0623
22.6377 27.7107 ;
0 4.57613 6.84535 8.49319 9.83955 10.9951
12.0141 12.928 13.7568 14.5144 15.2557 16.0433 16.9044 17.8775
19.0223 20.4425 22.343
25.2253 30.9341 ;
0 5.48999 7.78335 9.50825 10.9375 12.1744
13.2716 14.2603 15.1605 15.9864 16.7971 17.6606 18.6066 19.6778
20.9404 22.5096 24.6141 27.8151 34.192 ;
1.88135 6.31516 8.67099 10.4838 12.0013 13.323 14.501 15.5666 16.5403 17.4364 18.3184
19.2597 20.2931 21.4653 22.8494 24.5725 26.8883 30.4214 37.5048 ;
3.7985 7.81435 10.3498
12.3572 14.0618 15.5608 16.9068 18.132 19.258 20.3 21.3303 22.4339 23.6495 25.0328
26.6716 28.719 31.4829
35.7286 44.3714 ;
5.11556 9.19732 11.9492 14.1669 16.0687 17.7531 19.2745 20.6667
21.9522 23.1474 24.33-

23

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value

ThrotVect

Pressure Estimate (2-D)


Speed Table (2-D)

1x17

136

double

[0 3 6 9 12 15 18 21 24
27 30 35 46 57 68 79
90 ]

press

Pumping Constant [30]


Speed Table (2-D)
Thrott Estimation Table (2-D)

1x19

152

double

[0.05 0.1 0.15 0.2 0.25


0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8
0.85 0.9 0.95 ]

pumpCon

Pumping Constant [30]

18x19

2736

double

[ -0.055635 0.018533
0.041948 0.052676 0.058328 0.061443 0.063108 0.063866 0.064021
0.063752 0.063176 0.062369 0.061384 0.060261 0.059025 0.057699
0.056299 0.054836 0.053321 ;
-0.0022828 0.046509 0.061466 0.067964 0.071079 0.072502 0.072958
0.07281 0.07226 0.071427 0.07039 0.069198
0.067888 0.066486 0.065009 0.063471 0.061884 0.060255 0.058592 ;
0.025693 0.061797 0.072524 0.076908 0.078-

39 25.609 27.0178 28.6261 30.5375 32.935 36.1882 41.2277 51.6991 ;


6.24242 10.5135 13.502
15.9405 18.0477 19.925
21.6291 23.1955 24.6483 26.0046 27.3561 28.8129 30.4275 32.2766
34.4824 37.2615 41.0562 46.9992 59.7146 ;
7.27207 11.7882 15.0267 17.6946 20.0148 22.0924 23.9867 25.7353
27.3636 28.8898 30.416
32.0663 33.9014 36.0104 38.5367 41.7367 46.1412 53.1409 68.8121 ;
8.24308 13.0359 16.5349 19.4401 21.9807 24.2661 26.3588 28.2982
30.1113 31.8174 33.5296 35.3871 37.4598 39.8516 42.7308 46.4023
51.5085 59.792 79.904 ]

24

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
754 0.079331 0.079183
0.078582 0.077679 0.076565 0.075296 0.073913 0.07244 0.070898 0.0693 0.067657 0.065977 0.064265 0.062527 ;
0.043519 0.07201 0.0802 0.083314 0.084399
0.084469 0.083958 0.083086 0.081971 0.080687 0.079281 0.077782
0.076212 0.074586 0.072915 0.071209 0.069472 0.067711 0.065929 ;
0.056269 0.079685 0.086183 0.088452 0.089029 0.088761 0.088009
0.086954 0.085699 0.084302 0.082803 0.081227 0.079592 0.077911
0.076192 0.074443 0.072669 0.070875 0.069063 ;
0.066119 0.08591 0.0912 0.092865 0.093079
0.092569 0.091644 0.090461 0.089104 0.087627 0.086062 0.084432
0.08275 0.081029 0.079275 0.077496 0.075696 0.073878 0.072044 ;
0.074157 0.091229 0.095612 0.096824 0.096767 0.096075 0.095021
0.09374 0.092309 0.090771 0.089157 0.087485 0.085768 0.084017
0.082238 0.080436 0.078616 0.07678 0.074931;
0.08697 0.10024 0.10335 0.10393 0.10349 0.10254 0.10131 0.099892
0.098355 0.096732 0.095049 0.093319 0.091554 0.089761 0.087946
0.086112 0.084264 0.082403 0.080531 ;
0.097245 0.10797 0.11024 0.1104 0.1097 0.10859 0.10723 0.10573 0.-

25

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
10412 0.10244 0.10071
0.098942 0.097144 0.095323 0.093484 0.091629 0.089762 0.087885
0.085998 ;
0.10607 0.11499 0.11665 0.1165 0.11563 0.11439 0.11295 0.11138 0.10972 0.108 0.10624 0.10444 0.10262 0.10078
0.098926 0.097056 0.095175 0.093286 0.091389 ;
0.11399 0.12154 0.12276 0.12238 0.12137 0.12005 0.11854 0.11692
0.11522 0.11347 0.11169 0.10987 0.10803 0.10618 0.10431 0.10243
0.10054 0.098637 0.096732 ;
0.1213 0.1278 0.12866
0.12811 0.127 0.1256
0.12404 0.12238 0.12066 0.11889 0.11708 0.11525 0.1134 0.11153 0.10965 0.10776 0.10586
0.10395 0.10204 ;
0.1282 0.13385 0.13443
0.13373 0.13253 0.13108 0.12948 0.1278 0.12605 0.12426 0.12243 0.12059 0.11873 0.11685
0.11496 0.11306 0.11116 0.10925 0.10733 ;
0.14113 0.14552 0.14567 0.14477 0.14344 0.1419 0.14025 0.13851 0.13673 0.13491 0.13306
0.1312 0.12932 0.12743
0.12553 0.12362 0.12171 0.11979 0.11787 ;
0.15335 0.15682 0.15668 0.15562 0.1542 0.15261 0.15091 0.14914 0.14733 0.14549 0.14363
0.14175 0.13986 0.13796 0.13605 0.13414 0.13222 0.13029 0.12836 ;
0.16511 0.1679 0.16753
0.16636 0.16488 0.163-

26

System Design Variables


Variable
Name

Parent Blocks

Size

Bytes

Class

Value
23 0.1615 0.15971 0.15788 0.15603 0.15415 0.15226 0.15036 0.14846
0.14654 0.14462 0.1427
0.14077 0.13883 ;
0.17656 0.17883 0.17828 0.17703 0.17549 0.17381 0.17205 0.17024
0.1684 0.16653 0.16465
0.16275 0.16085 0.15893 0.15701 0.15509 0.15316 0.15122 0.14929 ;
0.18781 0.18965 0.18896 0.18764 0.18606 0.18435 0.18257 0.18075
0.17889 0.17702 0.17513 0.17322 0.17131 0.16939 0.16747 0.16554
0.16361 0.16167 0.15973 ]

Table4.2.Functions used in Design Variable Expressions


Function Name

Parent Blocks

Calling string

pi

p0 = 0.589 bar
p0 = 0.589 bar

pi
-pi

27

Chapter5.Requirements Traceability
Table of Contents
Model Information for "slvnvdemo_fuelsys_htmreq" ................................................................
Document Summary for "slvnvdemo_fuelsys_htmreq" ..............................................................
System - Airflow calculation ................................................................................................
System - MAP Estimate .....................................................................................................
Chart - control logic ...........................................................................................................

28
28
29
30
31

Model Information for "slvnvdemo_fuelsys_htmreq"


Table5.1.slvnvdemo_fuelsys_htmreq Version Information
ModelVers- 1.185
ion

ConfigurationMan-
ager

Created

Creator

The MathWorks, Inc.

LastModifiedBy

The MathWorks, Inc.

Tue Jun 02 12:11:43 1998

LastModifi- Thu Jul 30 23:20:32 2015


edDate

Document Summary for "slvnvdemo_fuelsys_htmreq"


Table5.2.Requirements documents linked in model
ID

Artifact names stored by RMI

Last modified

DOC1

fuelsys_requirements.htm [file:///mathworks/devel/bat/BR2- 17-Jan-2011 18:32:16


015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm]

28

# links
12

Requirements Traceability

System - Airflow calculation


Intake Airflo w Es timatio n and Clo s e d-Lo o p Co rre c tio n
Throttle tra ns ie nt
corre ction

0.01z-0.01
z-0.8

throttle a ngle

1
e s t.
a ir
flow

e ngine s pe e d, N

Demux

s e ns _in

P umping Cons ta nt
ma nifold pre s s ure , P m

Fe e dfo rward Co ntro l


0.5

Ra mp
Ra te (Ki)

EGO, re s idua l
e xha us t oxyge n

e1

<=

T
K Ts
z-1

e0

double

0.5
F

Oxyge n S e ns or
S witching Thre s hold

UY

Fa ilure s

O2 fa il
(wa rmup)

Inte gra tor

2
fe e dba ck
corre ction

hold
inte gra tor

Fe e dbac k Co ntro l

NOR
e na ble inte gra tion

3
mode

e2

LOW

~=
not norma l ope ra tion

Table5.3.slvnvdemo_fuelsys_htmreq/fuel rate controller/Airflow calculation Requirements


Li- Link Description
nk#

Link Target (document name and location ID)

1.

fuelsys_requirements.htm, at "REQ1" [file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ1]

"Using a few parameters to estimate the mass airflow


through the engine"

Table5.4.Blocks in "Airflow calculation" that have requirements


Linked Object

Requirements Traceability Data

hold integrator

1. "Correction factor being held constant


when oxygen sensor fails or in wamup
mode"

Integrator

1. "Use an exhaust sensor to adust the esti- fuelsys_requirements.htm, at "REQ3"


mated airflow"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ3]

29

fuelsys_requirements.htm, at "REQ6"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ6]

Requirements Traceability
Linked Object

Requirements Traceability Data

Pumping Constant

1. "Use a calibratible table to determine


the pumping efficiency of the engine"

fuelsys_requirements.htm, at "REQ2"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ2]

System - MAP Estimate


MAP Es timatio n

s pe e d

S e ns ors

1
ma p

throttle

P re s s ure Es tima te (2-D)

Ena ble

Table 5.5. slvnvdemo_fuelsys_htmreq/fuel rate controller/Sensor correction and Fault


Redundancy/MAP Estimate Requirements
Li- Link Description
nk#
1.

Link Target (document name and location ID)

"When pressure sensor in failure mode, manifold pres- fuelsys_requirements.htm, at "REQ8" [file:///mathwsure will be estimated"
orks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ8]
.

30

Requirements Traceability

Chart - control logic


1

O2

P re s s ure

fa il
e ntry: fa il_s ta te [O2] = 1;
wa rmup
e ntry: fa il_s ta te [O2] = 1;

[pre s s > ma x_pre s s | pre s s < min_pre s s ]


/Fa il.INC

[Ego < ma x_e go] /


Fa il.DEC

[t > o2_t_thre s h]

norma l
e ntry: fa il_s ta te [P RES S ] = 0

[Ego > ma x_e go]/


Fa il.INC

norma l
e ntry: fa il_s ta te [O2] = 0;

[pre s s > min_pre s s & pre s s < ma x_pre s s ] /


Fa il.DEC

Throttle

S pe e d
[throt> ma x_throt | throt < min_throt]/
Fa il.INC

fa il
e ntry: fa il_s ta te [P RES S ] = 1

norma l
e ntry: fa il_s ta te [THROT] = 0;

[s pe e d==0 & pre s s < ze ro_thre s h]/


Fa il.INC

fa il
e ntry: fa il_s ta te [THROT] = 1;

norma l
e ntry: fa il_s ta te [S P EED] = 0

fa il
e ntry: fa il_s ta te [S P EED] = 1

[s pe e d > 0] /
Fa il.DEC

[throt > min_throt & throt < ma x_throt]


/ Fa il.DEC

Fa il
Multi
INC

One

None

INC

Two

INC

Fue ling_Mode
[ s pe e d > ma x_s pe e d ]
Running

H
[in(Fa il.One )]

Norma l

Four

Fue l_Dis a ble d


e ntry: fue l_mode = DIS ABLED

Low_Emis s ions
e ntry: fue l_mode = LOW

INC

DEC

DEC

DEC

DEC

Thre e
2

Ove rs pe e d
Rich_Mixture
e ntry: fue l_mode = RICH

S ingle _Fa ilure

[in(S pe e d.norma l) & ...


s pe e d < (ma x_s pe e d - hys )]

[!in(Fa il.Multi)]
1

[in(Fa il.None )]
1
2

[in(Fa il.One )]

e nte r(Fa il.Multi)

[in(Fa il.Multi)]
2
S hutdown

Wa rmup

e xit(Fa il.Multi)

[in(O2.norma l)]

5 6

O2
Pressure [31]
Throttle
Speed
Fail
Fueling_Mode

Table5.6.Stateflow objects with requirements


Linked Object

Requirements

Pressure

1. "When output voltage is out of range it


detects failures in the pressure sensor"

31

fuelsys_requirements.htm, at "REQ7"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ7]

Requirements Traceability
Linked Object

Requirements

[Ego < max_ego] / Fail.DEC

1. "Detect faults in oxygen sensor when


measured voltage is shorted to Vbat"

[t > o2_t_thresh]

1. "Oxygen sensor correction will be disa- fuelsys_requirements.htm, at "REQ4"


bled during a calibratible warm up peri- [file:///mathworks/devel/bat/BR2015bod"
d/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ4]

fuelsys_requirements.htm, at "REQ5"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ5]

[speed==0 & press < zero_- 1. "System will detect speed sensor failur- fuelsys_requirements.htm, at "REQ9"
thresh]/ Fail.INC
es when certain conditions are met"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ9]
Overspeed

1. "System disables fuel when engine spe- fuelsys_requirements.htm, at "REQ12"


ed exceeds a threshold"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ12]

Shutdown

1. "System will disable fuel when two or


more sensors fail"

Rich_Mixture

1. "System uses an enriched mixture whe- fuelsys_requirements.htm, at "REQ10"


never a sensor fails"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ10]

32

fuelsys_requirements.htm, at "REQ11"
[file:///mathworks/devel/bat/BR2015bd/build/matlab/toolbox/slvnv/rmidemos/fuelsys_requirements.htm#REQ11]