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
![Page 1: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/1.jpg)
1ni.com | CUSTOMER CONFIDENTIAL
![Page 2: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/2.jpg)
ni.comni.com
![Page 3: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/3.jpg)
ni.com
NI Engine Control SystemSoftwareRenato Yapaulo
Staff Systems EngineerPowertrain Controls Group – San Antonio TX
![Page 4: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/4.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/5.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/6.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/7.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/8.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/9.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/10.jpg)
10
ni.com
RT – Top Level
![Page 11: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/11.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/12.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/13.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/14.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/15.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/16.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/17.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/18.jpg)
18
ni.com
ECS User Interface
IndicatorsControls
TCP/IP
![Page 19: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/19.jpg)
19
ni.com
ECS Demo
Demo Time!!!
![Page 20: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/20.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/21.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/22.jpg)
22
ni.com | CUSTOMER CONFIDENTIAL
![Page 23: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/23.jpg)
23
ni.com | CUSTOMER CONFIDENTIAL
Appendix
![Page 24: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/24.jpg)
24
ni.com
Host - Example Host Items
Target Items (CalPoints)
These are to be directly paired
![Page 25: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/25.jpg)
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](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/26.jpg)
26
ni.com
Application Launch via SCM – Pairing Host items to Target Items
![Page 27: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/27.jpg)
27
ni.com
Host – Combustion Analysis Host VIs
![Page 28: NI Engine Control System Software](https://reader035.vdocuments.site/reader035/viewer/2022081421/56813090550346895d966ef8/html5/thumbnails/28.jpg)
28
ni.com
Application Launch via SCM – Saving Calibration Files