The outcome - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

The outcome

Description:

Xilinx Virtex 4 FPGA, 24200 logic cells 168Kb ram, 100MHz clock ... FPGA clocked at high time-based rate ... a delay of ~12 clock cycles = 120 ns delay ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 30
Provided by: BoboSam3
Category:

less

Transcript and Presenter's Notes

Title: The outcome


1
FPGA Based Engine Feedback Control AlgorithmsA
Virtual Heat Release sensor
The outcome
Carl Wilhelmsson PhD Student, Control
2
Conclusions
  • It is possible to implement an internal
    combustion analysis related algorithm in an
    ASIC/FPGA environment.
  • Disregarding the synchronous thinking between the
    engine and FPGA board enables very low latencies
    without any major drawback.
  • Extraordinary performance can be achieved using
    the described system
  • A sample of Pcyl is processed and corresponding
    Qhr is calculated before any engine can move 0.02
    CAD
  • 50 MHz FPGA throughput (AD converter slowing
    down) ? 12 complete (1205 Sample) HR analysis
    / CAD _at_ 1200rpm

3
FPGA Based Engine Feedback Control AlgorithmsA
Virtual Heat Release sensor
  • Background
  • Algorithm
  • Experimental setup
  • Results
  • Conclusions
  • Publications
  • FPGA Continuation

4
Background
Low temperature combustion
  • As you all know the HCCI engine, and derivates
    are good options for reducing pollutants
  • The drawback shared by the HCCI concepts are
  • High emissions of HC
  • The lack of a direct combustion phasing actuator
  • Limited load range

5
Closed loop HCCI control
Background
  • Much effort spent to achieve feedback control of
    the HCCI engine with the help of different
    actuators
  • HR algorithm needed in a Closed Loop Combustion
    Control system
  • Total amount of energy released
  • Combustion phasing
  • Combustion duration

6
Limited resources
Background
  • HR algorithm not easily implemented in a limited
    capacity system
  • Current direction of feedback systems appear to
    be more and more complex controllers including
    model based controllers, for example MPC

7
New technology
Background
  • An FPGA is a reconfigurable ASIC
  • Using FPGA it is possible to realise small series
    of fully customized hardware
  • The usage of an FPGA gives the possibility of
    very high throughput together with low delay time
    and low jitter
  • Technology already proven in a wide variety of HD
    applications
  • Scientific simulations
  • Batch computing
  • Real time image analysis
  • Real time signal processing

8
Related FPGA-feedback control
Background
  • Wei et al. 10 Implemented and evaluated
    different PID architectures in a FPGA environment
  • He and Ling 11 implemented an MPC controller in
    an FPGA and evaluated this in a HILS system on a
    matlab based aircraft model

9
Setup schematics
Experimental setup
10
FPGA Hardware
Experimental setup
  • Xilinx Virtex 4 FPGA, 24200 logic cells 168Kb
    ram, 100MHz clock
  • Memec Virtex4 LC prototype board (www.memec.com)
  • Expansion header for prototype analog design
  • Ethernet, RS232, 2x20 LDC display etc
  • Memec P160 Analog expansion card
  • Dual 53 MSPS 12 bit, AD converters
  • Dual 165 MSPS 12 bit, DA converters
  • System cost SEK6900, 100.000, 895
    (development software)

11
Engine simulator
Experimental setup
  • Desktop tests carried out during the development
  • An in house device simulating Pcyl
    synchronously with CAD (3600/cycle) and TDC
    pulses (1/cycle)
  • Pcyl emulated using 8bit and 720 samples/cycle
  • DA conversion with R/2R ladder
  • Pcyl originating from Scania D12 _at_ 1200 rpm

12
System frequencies
Experimental setup
fmax45kHz
fCADP7.2-144kHz
fmax200kHz
fclk100-500MHz
fclk50-150MHz
fmax4kHz
13
Design tools
Experimental setup
  • The selection of appropriate development tools
    very important design issue
  • Current implementation carried out using
    Matlab/Simulink
  • Xilinx System generator DSP needed in order to
    use Simulink for design
  • The standard blocks are not possible to use,
    necessary to possess a VHDL implementation (a
    number of those comes with SGDSP)

14
New HR-net algorithmIssues with pressure
derivative
Algorithm
15
Arithmetics
Algorithm
  • Fixed point arithmetics were used for simplicity
  • Input and output word length of 12bit
  • Internal representation occasionally larger but
    still fixed point
  • As many terms as possible mapped in RAM, (dV and
    V)
  • Constants of course calculated and added off-line

16
Engine synchronization
Algorithm
  • Asynchronous operation relative to engine CAD
    enables very low latencies
  • FPGA clocked at high time-based rate
  • Counter based synchronization carried out with
    the CAD pulses
  • The preferred method to obtain low latency

17
Simulink design
Algorithm
18
Successful implementation!
Results
  • Main result, successful implementation
  • Very high performance
  • Current FPGA HR algorithm introduces a delay
    of 12 clock cycles gt 120 ns delay
  • Engine _at_ 1200rpm moves 0.000864 CAD within 100ns,
    (0.01728 CAD _at_ 24000rpm)
  • Negliable latency, virtual Q sensor!
  • 50 MHz FPGA throughput (AD converter slowing
    down) ? 12 complete (1205 Sample) HR analysis
    / CAD _at_ 1200rpm

19
Virtual sensor
Results
20
80 Cycles average
Results
21
Resolution
Results
  • Based on Scania D12 metrics
  • Plsb1465 Pa (0.24 of Pmax)
  • Vlsb5.0510-7 m3 (0.24 of Vmax)
  • dVlsb1.7410-9 m3/CADP (0.24 of dVmax)
  • Qlsb3.85 J

22
Non average
Results
23
Hardware issues
Results
  • The AD converters showed not to be plug n play
  • Input stages had to be thoroughly modified,
    leaving issues with input bias and noise
  • Output trigger signals of the fake engine jitters
    causing the synchronisation to the FPGA to
    sometimes falter
  • CAD detection must be revised in order to
    increase the tolerance of faulty CAD and TDC
    pulses

24
Implementation issues
Results
  • Very difficult to implement the pressure
    derivative, many approaches were tested
  • The transparency of the tool insufficient
  • The support for internal synchronisation etc are
    rudimentary (insufficient)
  • Many design steps had to be taken ad-hoc
  • Very difficult to verify the correct
    number-resolution

25
Conclutions
The posibility of using FPGA was shown
  • It is possible implement an internal combustion
    analysis related algorithm in an ASIC/FPGA
    environment.
  • Disregarding the synchronous thinking between the
    engine and FPGA board enables very low latencies
    without any major drawback.
  • A modified algorithm makes it possible to
    calculate the cumulative heat release without the
    use of any (often noisy) pressure derivative.

26
High gains in performance
Conclutions
  • Extraordinary performance can be achieved using
    the described system
  • A sample of Pcyl is processed and corresponding
    Qhr is calculated before any engine can move 0.02
    CAD
  • A throughput of 50MHz enables the FPGA system to
    perform 12 1205 sample HR analysis within a
    single CAD _at_ 1200rpm
  • Further performance improvement can easily be
    obtained through the use of more powerful hardware

27
Two different publications
  • Paper and Poster, Model based engine control
    using ASICs A Virtual heat release sensor
  • Les Rencontres Scientifiques de lIFP New
    Trends in Engine Control, Simulation and
    Modeling
  • 2-4 October 2006 IFP/Rueil-Malmaison, Paris
  • Paper, F2006P039, FPGA Based Engine Feedback
    Control Algorithms
  • 31st FISITA World Automotive Congress (organised
    by the Society of Automotive Engineers of Japan
    (JSAE) and FISITA).
  • 22-27 October, Yokohama, Japan

28
FPGA Continuation
  • Change development environment
  • Re-implement the HR based on the gained
    experience in the new environment
  • Move on with more complex applications
  • PID
  • MPC
  • Hybrid control

29
Thank you for the attention
Write a Comment
User Comments (0)
About PowerShow.com