13
1 Design of Gasoline engine control system Design of Gasoline engine control system based on FPGA based on FPGA midterm presentation midterm presentation Presented By Presented By : : Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor Instructor : : Moni Orbach Moni Orbach 10/1/200 7

1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

Embed Size (px)

Citation preview

Page 1: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

1

Design of Gasoline engine control Design of Gasoline engine control system based on FPGAsystem based on FPGA

midterm presentationmidterm presentation

Presented ByPresented By::

Sameh DamuniSameh Damuni

Firas KhairFiras Khair

InstructorInstructor:: Moni OrbachMoni Orbach

10/1/2007

Page 2: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

2

Project GoalProject Goal

Implementation of new generationImplementation of new generation gasoline engine control systemgasoline engine control system based on FPGA.based on FPGA.

The system will be able to control The system will be able to control engine in realengine in real time.time.

The system will work based on The system will work based on informationinformation that it gets fromthat it gets from variedvaried sensors .sensors .

Page 3: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

3

Done till nowDone till now::

Building a Building a block diagram for the for the ECU system .ECU system .

Collecting and studying data Collecting and studying data about all the about all the engine sensors.engine sensors.

Studying Studying LabView and and VHDL(basic level).VHDL(basic level).Setting a Setting a basic time graph for the for the injectors and plugs signals , and injectors and plugs signals , and building a building a diagram showing how showing how the pistons work.the pistons work.

■■Setting the engine sensors Setting the engine sensors lookup tables .lookup tables .

Page 4: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

4

LabViewLabView

LabView is a graphical LabView is a graphical development platform development platform designed for engineers usage :designed for engineers usage :

-It creates tests, measurements -It creates tests, measurements , and control applications with , and control applications with graphical programming.graphical programming.

Page 5: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

5

In this project we will use it In this project we will use it to implement the state to implement the state diagrams , that we will build diagrams , that we will build in the coming few weeks. in the coming few weeks.

We will also use the LabView We will also use the LabView FPGA module to implement FPGA module to implement the ECU we are designing .the ECU we are designing .

Page 6: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

6

Basic Plugs and Injectors Basic Plugs and Injectors signalssignals::

Page 7: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

7

Pistons diagramPistons diagram::

Page 8: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

Lookup tablesLookup tables::RPML

1 O2

A3

D4

(V)5

10001ms2ms3ms4ms5ms20002ms4ms6ms8ms10ms30003ms6ms9ms12m

s15ms

40004ms8ms12ms

16ms

20ms

50005ms10ms

15ms

20ms

25ms

60006ms12ms

18ms

24ms

30ms

CTS(volt)

CTS Factor

00.8

11

21.01

31.02

41.03

51.04

OS(volt)

OS Factor

01.210.8

MAPS

oxygen sensor

CTS

Mass airflow sensorMAS(volt)MAS Factor01.011.0121.0231.0341.0451.05

TPS TPS(volt)TPS Factor

0.251.0

1.01.01

2.01.02

3.01.03

4.01.04

5.01.05

Page 9: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

9

Block diagram for the Block diagram for the ECUECU

Page 10: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

10

This unit calculates the pulse width of This unit calculates the pulse width of each signal of the injectors , by each signal of the injectors , by multiplying the base pulse width multiplying the base pulse width with the factors we get from the with the factors we get from the lookup tables.lookup tables.

P.W.= X(basic) * OS factor * CTS P.W.= X(basic) * OS factor * CTS factor *factor *

MAS factor * TPS factorMAS factor * TPS factor

The X(basic) is calculated by the The X(basic) is calculated by the MAPS and RPM lookup table (in MAPS and RPM lookup table (in msec).msec).

B.W. B.W. BlockBlock

Page 11: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

11

This unit will generate the control This unit will generate the control signals for the plugs and injectors .signals for the plugs and injectors .

The signals frequency will be set using The signals frequency will be set using the value of the RPM input .the value of the RPM input .

The CPS sets when to give each pulse The CPS sets when to give each pulse and to which injector according to and to which injector according to the pistons diagram .the pistons diagram .

The pulse width of the generated The pulse width of the generated injectors signals is supplied to this injectors signals is supplied to this unit .unit .

BasicBasic

Page 12: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

12

SchedulingScheduling

14/1-20/1: Setting the Transmission 14/1-20/1: Setting the Transmission Functions for the sensors.Functions for the sensors.

21/1-10/2: Simulating the sensors 21/1-10/2: Simulating the sensors Transmission Functions on Transmission Functions on LabView.LabView.

11/2-end of semester presentation :Setting 11/2-end of semester presentation :Setting and simulating the engine and simulating the engine Transmission Functions on Transmission Functions on LabView.LabView.

Page 13: 1 Design of Gasoline engine control system based on FPGA midterm presentation Presented By: Sameh Damuni Sameh Damuni Firas Khair Firas Khair Instructor:

13

Thank Thank You!!You!!