ni engine control system software
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 PresentationTRANSCRIPT
1ni.com | CUSTOMER CONFIDENTIAL
ni.comni.com
ni.com
NI Engine Control SystemSoftwareRenato Yapaulo
Staff Systems EngineerPowertrain Controls Group – San Antonio TX
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
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
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
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
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
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
10
ni.com
RT – Top Level
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
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
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
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
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
16
ni.com
RT -- Next Cycle Control Capability
Combustion data from CAS
Closed Loop Fuel timing control on CA 50
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
18
ni.com
ECS User Interface
IndicatorsControls
TCP/IP
19
ni.com
ECS Demo
Demo Time!!!
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
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
22
ni.com | CUSTOMER CONFIDENTIAL
23
ni.com | CUSTOMER CONFIDENTIAL
Appendix
24
ni.com
Host - Example Host Items
Target Items (CalPoints)
These are to be directly paired
25
ni.com
Host – Indirect Pairing Host to Target Items
Host Items Target Items
These itemsare directly paired
26
ni.com
Application Launch via SCM – Pairing Host items to Target Items
27
ni.com
Host – Combustion Analysis Host VIs
28
ni.com
Application Launch via SCM – Saving Calibration Files