ni engine control system software

28
1 ni.com | CUSTOMER CONFIDENTIAL

Upload: marcell-connor

Post on 01-Jan-2016

60 views

Category:

Documents


0 download

DESCRIPTION

NI Engine Control System Software. Renato Yapaulo Staff Systems Engineer Powertrain Controls Group – San Antonio TX. Outline. Overview FPGA VIs FPGA 1 Cam/Crank Signal Mapping EPT FPGA Setup FPGA 2 RT VIs Main Timed Loop Read Inputs VI Processing/Control Frame Write Outputs VI - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: NI Engine Control System Software

1ni.com | CUSTOMER CONFIDENTIAL

Page 2: NI Engine Control System Software

ni.comni.com

Page 3: NI Engine Control System Software

ni.com

NI Engine Control SystemSoftwareRenato Yapaulo

Staff Systems EngineerPowertrain Controls Group – San Antonio TX

Page 4: NI Engine Control System Software

4ni.com

Outline• Overview• FPGA VIs

FPGA 1 Cam/Crank Signal Mapping EPT FPGA Setup

FPGA 2

• RT VIs Main Timed Loop Read Inputs VI Processing/Control Frame Write Outputs VI Combustion Analysis Option Optional Items RT Demo

Creating RT App with Template VIs

• ECS User Interface• ECS DemoConclusion

Page 5: NI Engine Control System Software

5ni.com

Overview

• Open Source and downloadable for FREE!• Software requirements (separate items)

LabVIEW 2012 (32-bit) or later LabVIEW RT Module LabVIEW FPGA Module NI-RIO Device Drivers Xilinx Tools for compiling FPGA Powertrain Control Device Drivers Software Calibration Management Toolkit

• Optional Software: NI Combustion Analysis System Software for LabVIEW (NI-CASS)

• Project structure

Page 6: NI Engine Control System Software

6ni.com

FPGA 1

OptionalLoops

Input Modules

Async Modules

EngineSynchronousModules

RelayControls

Final Cam/Crank to FPGA 2 via DiffIO for sync

Final InputTo EPT

EPT Block

Cam/CrkSignalMapping

SignalManipulati

on

Encoder Signals Optional

NI-CASS FPGA

OptionalLoops

Input Modules

Async Modules

EngineSynchronousModules

RelayControls

Final Cam/Crank to FPGA 2 via DiffIO for sync

Final InputTo EPT

EPT Block

Cam/CrkSignalMapping

SignalManipulati

on

Encoder Signals Optional

NI-CASS FPGA

Page 7: NI Engine Control System Software

7ni.com

Input Modules

Async Modules

EngineSynchronousModules

RelayControls

Final Cam/Crank to FPGA 2 via DiffIO for sync

Final InputTo EPT

EPT BlockSignalManipulati

on

Encoder Signals Optional

NI-CASS FPGA

FPGA 1 - Cam/Crank Signal Mapping

Cam/CrkSignalMapping

Page 8: NI Engine Control System Software

8ni.com

FPGA 1 - EPT FPGA Setup

Input Modules

Async Modules

EngineSynchronousModules

RelayControls

Final Cam/Crank to FPGA 2 via DiffIO for sync

Final InputTo EPT

Cam/CrkSignalMapping

SignalManipulati

on

Encoder Signals Optional

NI-CASS FPGA

Supported Patterns: •120-3600 ppr ENC•N-M•N+1

EPT Block

Page 9: NI Engine Control System Software

9ni.com

FPGA 2

EngineSynchronousModules

EPT Block - replicate setup in FPGA 1

Chan 7 & 8 configured as inputs to receive

Cam/Crank Signals from DiffIO 1 Module in Drawer

A

Input Modules

Async Modules

EngineSynchronousModules

RelayControls

Final Cam/Crank to FPGA 2 via DiffIO for sync

Final InputTo EPT

EPT BlockSignalManipulati

on

Encoder Signals Optional

NI-CASS FPGA

Cam/CrkSignalMapping

Page 10: NI Engine Control System Software

10

ni.com

RT – Top Level

Page 11: NI Engine Control System Software

11

ni.com

Timed Loop – 10 msec period Timed Loop

RT – Main Timed Loop

• Flow: Read sensorsProcessControl Actuators• Notice the use of CalPoints instead of Native Controls/Indicators (NI-SCM

features)• Native Indicators are used for passing local variables for neatness and

for diagnostic purposes

Page 12: NI Engine Control System Software

12

ni.com

RT – Read Inputs VI

• Collection of readings from EPT block and input modules: 9411 Digital Input, AD Combo, 9853 CAN• Also includes many critical parameters reported from all modules such as module temperatures,

critical voltage levels, faults, etc• There is also user-defined thresholds for critical engine parameters: Oil P, Coolant T & P• Variables to be used for controls are bundled into a type-def cluster for neatness

Page 13: NI Engine Control System Software

13

ni.com

RT – Processing/Control Frame

• This frame consists of SubVIs shown on the right

• These subVIs typically contains 1D or 2D Table(s), PID controller or user-defined calculations

• Each subVI is customizable

• There is a VI template for every subVI for reference and for building RT app from scratch

Page 14: NI Engine Control System Software

14

ni.com

RT – Write Outputs VI

• Write commands to various Drive Modules

• Leverage SubVIs built in the PC Device Drivers

• Note extensive use of CalPoints

Page 15: NI Engine Control System Software

15

ni.com

RT – Combustion Analysis Option

• When Combustion Analysis Toolkit is purchased, a license will be provided

• This will allow user to interface with the DAQ hardware and have access to Combustion Analysis VIs

• These VIs are to be dropped into the Top Level RT VI just like that of the FPGA VI

Page 16: NI Engine Control System Software

16

ni.com

RT -- Next Cycle Control Capability

Combustion data from CAS

Closed Loop Fuel timing control on CA 50

Page 17: NI Engine Control System Software

17

ni.com

RT – Other Items

2. Slow Speed Loop available for logging slow speed, asynchronous data.

1. DI Scope VI can be added for each DI Driver Module for quick diagnostic of current profile when operating Solenoid injectors. Don’t forget to turn Scope ON in

the FPGA

Page 18: NI Engine Control System Software

18

ni.com

ECS User Interface

IndicatorsControls

TCP/IP

Page 19: NI Engine Control System Software

19

ni.com

ECS Demo

Demo Time!!!

Page 20: NI Engine Control System Software

20

ni.com

Conclusion

• NI-PCG has designed and constructed a flexible/modular Engine Control System with sufficiently large I/O counts, and open-source application

• Optional Combustion data acquisition and analysis software which lends itself to feedback control (Next Cycle Control)

• This Open source application will be polished within the next few months prior to its projected release in Q4 this year

Page 21: NI Engine Control System Software

21

ni.com | CUSTOMER CONFIDENTIAL

Thank you for your attention

Questions?Contact:

NI Powertrain Controls Group12001 network Blvd, Ste 110

San Antonio, TX 78249Email: [email protected]

Telephone: +1 210.248.9308

Page 22: NI Engine Control System Software

22

ni.com | CUSTOMER CONFIDENTIAL

Page 23: NI Engine Control System Software

23

ni.com | CUSTOMER CONFIDENTIAL

Appendix

Page 24: NI Engine Control System Software

24

ni.com

Host - Example Host Items

Target Items (CalPoints)

These are to be directly paired

Page 25: NI Engine Control System Software

25

ni.com

Host – Indirect Pairing Host to Target Items

Host Items Target Items

These itemsare directly paired

Page 26: NI Engine Control System Software

26

ni.com

Application Launch via SCM – Pairing Host items to Target Items

Page 27: NI Engine Control System Software

27

ni.com

Host – Combustion Analysis Host VIs

Page 28: NI Engine Control System Software

28

ni.com

Application Launch via SCM – Saving Calibration Files