Beruflich Dokumente
Kultur Dokumente
Automotive Engineering
System Specification
- X-by-Wire, ABS, ESP
- Automatic climate control
- Automatic transmission
System Simulation
- Functional test
- Parametrisation
- Configuration
Controller Design
- ECU
- FPGA
- ASIC
Mentor Graphics Users Group, October 2003
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
Objective
Objective
Vehicle modelling
Controller design
Simulator coupling
System simulation
Exact environment modelling
for controller design
Model VEHICLE
Model CONTROL
Simulation
VEHICLE
Simulation
CONTROL
Model VEHICLE
Model CONTROL
Test environment
VHDL
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
Shift logic
Mentor Graphics Users Group, October 2003
Threshold Up_Shift
Threshold Down_Shift
Simulation Input
Simulation Output
Driver activity
Vehicle behaviour
Throttle
Speed
Gear
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
VHDL-Design Controller
VHDL-Design Controller
FSM 1
Gear Switching
FSM 2
Shift Selection
VHDL-Design Controller
Transformation of the FSM
Gear Switching
VHDL-Design Controller
Transformation of the FSM
Shift Selection
VHDL-Design Controller
Transformation of Shift Schedule
Gear
Throttle [%]
10.0
30.0
50.0
10
10.0
30.0
50.0
20
10.0
30.0
50.0
30
13.0
30.0
50.0
40
18.0
34.0
54.0
50
23.0
42.0
60.0
60
27.0
48.0
70.0
70
32.0
56.0
80.0
80
36.0
63.0
90.0
90
40.0
80.0 100.0
100
40.0
80.0 100.0
LookUp-Table Up_Shift
Mentor Graphics Users Group, October 2003
VHDL-Design Controller
VHDL-Testbench in HDL-Designer
Stimuli
Throttle
Speed
MUT
Response
Gear
Reset
Clock
Test pattern
Comparing responses
with Shift Schedule
VHDL-Design Controller
Gear
Speed
Throttle
ModelSim Wavetool
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
Simulator Coupling
Solution
Simulator Coupling
Gear
Data transfer
Speed
Throttle
Simulator Coupling
Matlab/Simulink
ModelSim-Coupler
S-Function (DLL)
TCP/IP
Socket-Channel
Matlab-Coupler
C-Architecture (DLL)
Gear
Speed
Throttle
ModelSim
Simulator Coupling
Synchronisation
Sample period
Sample period
t_Simulink
Matlab/
Simulink
simulate to t1
ModelSim
t0
simulate to t2
t1
t2
t_ModelSim
Simulator Coupling
Simulator Coupling
Matlab_Coupler
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
System Simulation
System testbench
Matlab/Simulink
Vehicle model
ModelSim
Gear
Throttle
Speed
Reset
Clock
Shift logic
System Simulation
Matlab/Simulink
ModelSim-Coupler
Data from ModelSim
Data to ModelSim
TCP/IP
ModelSim
Matlab-Coupler
Data to Matlab
System Simulation
Diagrams
Driver activity
Vehicle behaviour
Control signals
Outline
Objective
VHDL-Design Controller
Simulator Coupling
System Simulation
Summary
Summary
Model VEHICLE
Model CONTROL
Vehicle modelling
Controller design
Simulation
VEHICLE
Model VEHICLE
Simulator coupling
Simulation
CONTROL
Model CONTROL
Test environment
System simulation
Exact environment modelling
for controller design
VHDL
Summary
RTL Schematic
of automaton
Shift Selection