1 / 28

NI Engine Control System Software

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

Télécharger la présentation

NI Engine Control System Software

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NI Engine Control SystemSoftware RenatoYapaulo Staff Systems Engineer Powertrain Controls Group – San Antonio TX

  2. 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 Demo • Conclusion

  3. 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

  4. FPGA 1 Relay Controls Relay Controls Async Modules Async Modules Encoder Signals Encoder Signals Input Modules Input Modules Optional NI-CASS FPGA Optional NI-CASS FPGA Signal Manipulation Signal Manipulation Final Input To EPT Final Input To EPT EPT Block EPT Block Engine SynchronousModules Engine SynchronousModules Final Cam/Crank to FPGA 2 via DiffIO for sync Final Cam/Crank to FPGA 2 via DiffIO for sync Cam/Crk Signal Mapping Cam/Crk Signal Mapping Optional Loops Optional Loops

  5. User-selectable Crank/Cam ChannelAssignment FPGA 1 - Cam/Crank Signal Mapping Relay Controls Async Modules Encoder Signals Input Modules Optional NI-CASS FPGA Signal Manipulation Final Input To EPT EPT Block Engine SynchronousModules Final Cam/Crank to FPGA 2 via DiffIO for sync Cam/Crk Signal Mapping

  6. FPGA 1 - EPT FPGA Setup Relay Controls Async Modules Encoder Signals Input Modules Optional NI-CASS FPGA Signal Manipulation Final Input To EPT EPT Block Engine SynchronousModules • Supported Patterns: • 120-3600 ppr ENC • N-M • N+1 Final Cam/Crank to FPGA 2 via DiffIO for sync Cam/Crk Signal Mapping

  7. FPGA 2 Relay Controls Engine SynchronousModules Async Modules Encoder Signals Input Modules EPT Block - replicate setup in FPGA 1 Optional NI-CASS FPGA Signal Manipulation Final Input To EPT EPT Block Engine SynchronousModules Final Cam/Crank to FPGA 2 via DiffIO for sync Cam/Crk Signal Mapping Chan 7 & 8 configured as inputs to receive Cam/Crank Signals from DiffIO 1 Module in Drawer A

  8. RT – Top Level

  9. RT – Main Timed Loop Timed Loop – 10 msec period Timed Loop • Flow: Read sensorsProcessControl 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

  10. 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

  11. 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

  12. RT – Write Outputs VI • Write commands to various Drive Modules • Leverage SubVIs built in the PC Device Drivers • Note extensive use of CalPoints

  13. 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

  14. RT -- Next Cycle Control Capability Closed Loop Fuel timing control on CA 50 Combustion data from CAS

  15. RT – Other Items • 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 • Slow Speed Loop available for logging slow speed, asynchronous data.

  16. ECS User Interface TCP/IP Indicators Controls

  17. ECS Demo Demo Time!!!

  18. 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

  19. Thank you for your attention Questions? Contact: NI Powertrain Controls Group 12001 network Blvd, Ste 110 San Antonio, TX 78249 Email: powertraincontrolsinfo@ni.com Telephone: +1 210.248.9308

  20. Appendix

  21. Host - Example Host Items These are to be directly paired Target Items (CalPoints)

  22. Host – Indirect Pairing Host to Target Items Host Items Target Items These items are directly paired

  23. Application Launch via SCM – Pairing Host items to Target Items

  24. Host – Combustion Analysis Host VIs

  25. Application Launch via SCM – Saving Calibration Files

More Related