| - sf_carConfiguration
Engine
Mux
User Inputs
Vehicle
engine RPM
shift_logic
transmission
vehicle mph (yellow) & throttle %
impeller torque
output torque
transmission speed
vehicle speed
gear
Double-click to open the GUI and select an input maneuver
Copyright 1997-2016 The MathWorks, Inc.
sf_car
sfun
rtw
[237,54,64,60]
[622,249,9,35]
[22,151,129,66]
[622,83,119,62]
[337,102,34,34]
[227,137,84,84]
[417,69,139,80]
[647,252,34,34]
[319,179,28,20]
[36,219,91,78]
[303,319,195,20]
- EngineTi
throttle
Integrator
Sum
engine torque
engine + impeller inertia
Ne[25,22,29,16]
[25,51,29,18]
[315,48,34,34]
[185,45,34,35]
[105,50,34,35]
[250,42,44,46]
[385,57,29,16]
- User InputsBrake
Throttle
Passing Maneuver
Gradual Acceleration
Hard braking
Coasting
- Vehiclebrake torque
transmission output torque
Sign
Sum
Sum1
final drive ratio1
final drive ratio2
linear speed
mph
road load
signed load
vehicle inertia
wheel speed
vehicle speed
transmission output speed
Vehicle[52,215,24,24]
[52,35,24,24]
[607,130,34,34]
[197,33,29,48]
[657,156,29,97]
[122,28,39,38]
[592,39,39,36]
[382,153,64,58]
[462,153,64,58]
[562,166,69,32]
[712,114,29,126]
[247,39,39,36]
[317,45,24,24]
[777,100,24,24]
[777,45,24,24]
[350,317,59,26]
- shift_logicgear_state
selection_state during: [down_th,up_th] = calc_th(gear,throttle);
gear_state
fourth
third
second
first
UP
UP
UP
DOWN
DOWN
DOWN
fourth
third
second
first
selection_state during: [down_th,up_th] = calc_th(gear,throttle);
steady_state
upshifting
downshifting
[down_th,up_th] = calc_th(gear,throttle)
[speed > up_th]
[speed < down_th]
[speed > down_th]
after(TWAIT,tick) [speed <= down_th] {send(gear_state.DOWN)}
after(TWAIT,tick) [speed >= up_th] {send(gear_state.UP)}
[speed < up_th]
steady_state
upshifting
downshifting[4,2,572,81]
[2,90,581,289]
[4,2,572,81]
[466,19,89,44]
[325,21,91,41]
[179,22,90,41]
[42,24,89,41]
[466,19,89,44]
[325,21,91,41]
[179,22,90,41]
[42,24,89,41]
[2,90,581,289]
[245,130,98,43]
[450,226,78,41]
[42,231,90,38]
[184,311,226,52]
[245,130,98,43]
[450,226,78,41]
[42,231,90,38]
- calc_thgear
throttle
f
Look-Up
interp_down
interp_up
down_th
up_th[36,144,34,18]
[36,79,34,18]
[21,21,24,24]
[106,133,69,40]
[341,178,54,55]
[341,74,54,53]
[451,199,34,18]
[451,94,34,18]
- Look-Upfunction out = fcn(gear)
%#codegen
table = [1 2 3 4];
switch(gear)
case gearType.fourth;
out=table(4);
case gearType.third;
out=table(3);
case gearType.second;
out=table(2);
otherwise; % gearType.first
out=table(1);
end
end[-2,-2,196,19]
[30,13,76,19]
[30,28,148,19]
[30,43,100,19]
[62,58,172,19]
[94,73,108,19]
[62,88,164,19]
[94,103,108,19]
[62,118,172,19]
[94,133,108,19]
[62,148,220,19]
[94,163,108,19]
[30,178,28,19]
[-2,193,4,19]
[-2,208,28,19]
[-2,223,4,19]
- interp_downLUT: interp_down
downth
downtab
- interp_upLUT: interp_up
upth
uptab
- transmissionNe
gear
Nout
Torque Converter
transmission ratio
Ti
Tout
turbine torque[22,30,34,18]
[22,100,34,18]
[22,135,34,18]
[137,22,59,59]
[297,53,64,62]
[407,30,34,18]
[407,60,34,18]
- Torque ConverterNe
Nin
K factor
Torque ratio
impeller
quotient
speed ratio
turbine
Ti
Tt
TORQUE CONVERTER[22,91,29,18]
[22,61,29,18]
[182,58,54,54]
[332,112,59,56]
[327,49,64,42]
[262,32,49,71]
[92,54,54,62]
[437,57,49,46]
[507,22,29,16]
[507,72,29,16]
[188,190,137,22]
- transmission ratioTin
gear
Nout
Look-Up Table
Product
Product1
Tout
Nin[21,22,34,18]
[21,67,34,18]
[331,157,34,18]
[96,56,44,40]
[231,21,34,35]
[241,141,34,35]
[331,32,34,18]
[21,152,34,18]
- Look-Up Tablefunction out = fcn(gear)
%#codegen
table = [2.393 1.450 1.000 0.677];
switch(gear)
case gearType.fourth;
out=table(4);
case gearType.third;
out=table(3);
case gearType.second;
out=table(2);
otherwise; % gearType.first
out=table(1);
end
end[-2,-2,196,19]
[30,13,76,19]
[30,28,276,19]
[30,43,100,19]
[62,58,172,19]
[94,73,108,19]
[62,88,164,19]
[94,103,108,19]
[62,118,172,19]
[94,133,108,19]
[62,148,220,19]
[94,163,108,19]
[30,178,28,19]
[-2,193,4,19]
[-2,208,28,19]
[-2,223,4,19]
|
|
| |