Anda di halaman 1dari 9

Engine Control System Interface Preliminary Requirements Engine Control Module Diagnostic Interface ................................................................................. 2 Components ................................................................................................................................

2 System Features .......................................................................................................................... 2 Interface Board, SW and Sensor ..................................................................................................... 3 Board Features ............................................................................................................................ 3 Features ....................................................................................................................................... 4 Acquisition Board Sensor (Optional).......................................................................................... 4 Display ........................................................................................................................................ 4 Keypad ........................................................................................................................................ 5 Host (PC) Configuration Application ............................................................................................. 5 Host ECM Emulator ....................................................................................................................... 6 Appendix A Data Format ............................................................................................................. 6 Appendix B Project Notes ........................................................................................................... 6 Appendix C CML-5282 (Preferred)............................................................................................. 7 Appendix D OBD II Codes .......................................................................................................... 9 Revision Information Version Date Draft 1/25/2013 By Mayes Comments Draft Version - Uncontrolled

Engine Control Module Diagnostic Interface - Requirements

Engine Driven Pump

Engine Control Module Diagnostic Interface


Diagnostic information used to ensure energy efficient and therefore clean operation can be extracted from intelligent controllers called Engine Control Modules or ECMs found on current generation diesel engines. This Project involves the development of a Diagnostic Interface that will connect to and extract diagnostic information from an engine driven pump via a CAN interface. It is anticipated that an actual Pump ECM will not be available for development and debug. Therefore an OBDII emulator will be developed. In the event an Engine Control Module is not available, the OBDII interface in a car will be used to augment software development as well as for the final test of the system.

Components
Box containing Interface Board, Acquisition Daughter Board, Software and Sensor Host Configuration Software Host ECM Emulator

System Features
Stand-alone Box Multi protocol Interface Battery operated w connection for external supply/charger Rechargeable Batteries Well documented Extensible and extendable will add custom OBD II style commands later

Version: Draft (uncontrolled)

2 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements Interface Board, SW and Sensor
Board Features
Based on CLM5282 (preferred) Interrogate the ECM and Acquire and Display Engine Diagnostic Data on a 24 Character by 4-line display Acquire 3-axis shock data (Optional) o Shock Range: 1-10 G o Resolution < .1 G o Settable trigger point (.1 G steps) o Selectable trigger axis (X and/or Y and/or Z) o 25 KHz acquisition rate (min) 1 second Data Buffer 0 to 0.25 seconds pre trigger selectable USB connection to a Host PC for setup and remote monitor o Optionally Zigbee wireless Other interfaces supported: RS232, USB, I2C,..

4 line x 22 Character VFD Display

4 x 4 Keypad

123456789012345678901234 123456789012345678901234 123456789012345678901234 123456789012345678901234

A B C D

1 4 7 *

2 5 8 0

3 6 9 #

USB Connection to PC

MODBUS

CLM5282 LP Filter

Connection to ECM (OBDII)

CAN (OBDII) Interface


3 Axis Accelerometer

Version: Draft (uncontrolled)

3 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements


Acquisition Board SW

Features
Written in C Some assembly allowed Must be well documented

Acquisition Board Sensor (Optional)


3-axis Accelerometer: 1.5-10 KHz frequency response Anti-aliasing filter 3-axis voltage output Accelerometer 100 G measurement Hard mounted (Glued) to the device-under-test

Display
VFD o High Bright o Works to low temperature o Suggest Noritake Y series Monitor 4 data points at a time Monitor and Display Error Codes 4 line by 24 Character RS232 Interface

Engine Speed 4000 RPM Engine Temp 172 DegC 123456789012345678901234 *X-Axis High Vib Alarm* 24x4 Display and Keypad

A B C D

1 4 7 *

2 5 8 0

3 6 9 #

Version: Draft (uncontrolled)

4 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements

Keypad
16 Keys 4x4 o A-D Keys Context Sensitive

Select Data To Display Engine Speed

Up Cancel Select Down

A B C D

1 4 7 *

2 5 8 0

3 6 9 #

Context Sensitive Menu

Host (PC) Configuration Application


The host application: Written in VB or C provides a interface to the Acquisition Board o USB Allows for the configuration of Acquisition Board Acquires, saves, recalls and displays acquired data Displays data in real-time as its received Data is displayed as OBDII Diagnostic Information Accelerometer alarm setpoints Frequency analysis of acquired vibration data o Spectrogram would be nice Communicate to PC via MODBUS commands Everything is configurable from the host PC, including: Sample rate, 0 to min Buffer Size Trigger Channel Trigger counts, volts, and Gs mV/G per channel

Version: Draft (uncontrolled)

5 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements Host ECM Emulator


CAN Interface Other interfaces supported: RS232, I2C, Outputs OBD II and Later, ECM protocol data and error codes

Appendix A Data Format


Modbus

Appendix B Project Notes


1. This document represents the Preliminary Project Requirements 2. Emphasis of this project is Product Development with appropriate Requirements Engineering and Documentation 3. These Requirements must be completed and approved by the Project Stakeholders before a Specification Document is written 4. The Project Specification must be completed and approved by the Project Stakeholders before the Design substantially begins 5. A Technical Design Document must be completed and delivered as part of the Project Deliverables. This document must be complete enough to enable subsequent extension of the interface to other communications protocols and interfaces. CAN, USB, RS232 and I2C must be supported. 6. Project Stakeholders: a. Company Representative: Jim Mayes b. University Representative: UH Professor c. Project Team: Student 1, Student 2, Student n 7. Deliverables a. Working Prototype b. Host Application c. Complete Documentation, including Schematics, commented code and a Technical Design Documents d. Users Manual e. BOM f. SW Projects are huge efforts. This project may need to be divided into intermediate milestones (proof of concepts).

Version: Draft (uncontrolled)

6 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements Appendix C CML-5282 (Preferred)


Description: Low cost development kit for the Freescale MCF5282 Coldfire microcontroller

Product Summary: The CML-5282-DEV is a low cost development kit for the Freescale MCF5282 Coldfire microcontroller. Application development is quick and easy with the included Axiom CML-5282 application board, DB9 serial cable, Ethernet cable, RTXC Quadros RTOS (RTXC/ss LITE), OpenTCP Networking Stack, Motorola dBUG monitor and GNU Software Tool Package that includes C compiler and source level debug utilities. The BDM port is compatible with standard Coldfire BDM / JTAG development cables. The installed monitor software allow easy application debugging and development. Features:

MCF5282 CPU o 512K Byte Flash (on chip) o 64K Byte Ram (on chip) o 2K Byte Cache Ram (on chip) o DMA Controller w/ Timers o Interrupt Controller o 8 Channel 10 BIT queued A/D o SPI, IIC, and CAN Serial Ports
7 of 9
Author: Jim Mayes

Version: Draft (uncontrolled)

Engine Control Module Diagnostic Interface - Requirements


3 x SCI UART Ports with DMA capability Edge / Interrupt Port 2 x 4 channel GPT Timers BDM / JTAG Port 3.3V operation Up to 66Mhz operation 2M Byte Flash (16 bit, external) 16M Bytes SDRAM (32 bit, external) 8Mhz reference crystal, up to 66Mhz operation MCU Port, 50 pin I/O port CONTROL Port, 26 pin BUS and CPU control signals BUS Port, 60 pins, Address and Data Bus BDM / JTAG Port, 26 Pins, development port. COM1 Port (UART0) w/ RS232 DB9-S Connector 10/100TX Ethernet Port w/ RJ45 Connector, 4 status Indicators, Auto MDI-X crossover. CAN port w/ 1Mbaud transceiver, 3pin header RESET switch and indicator ABORT (IRQ7) switch Regulated +3.3V and +2.5V power supply w/ indicators
o o o o o o

Specifications:

Board Size: 3.5 x 4.0 Power Input: +5 - +30VDC, 9VDC typical Current Consumption: 120ma @ 9VDC input

Package Contents: Board, DB9 Serial Cable, Cat 5E Ethernet cable, Utility / Support CD, Manuals, and a universal wall adapter power supply.

Version: Draft (uncontrolled)

8 of 9

Author: Jim Mayes

Engine Control Module Diagnostic Interface - Requirements Appendix D OBD II Codes


For development Purposes, the ECM Reader should Monitor general Obd-2 data: Fuel system (open/closed loop status), Engine load, Coolant temperature, Manifold Pressure, Engine Rpm, Intake air temperature Intake air flow rate Throttle position Secondary air status In addition it should be able to read codes and display diagnostic data, such as: P0001 Fuel Volume Regulator Control Circuit/Open P0002 Fuel Volume Regulator Control Circuit Range/Performance P0003 Fuel Volume Regulator Control Circuit Low P0004 Fuel Volume Regulator Control Circuit High P0005 Fuel Shutoff Valve "A" Control Circuit/Open P0006 Fuel Shutoff Valve "A" Control Circuit Low P0007 Fuel Shutoff Valve "A" Control Circuit High P0008 Engine Positions System Performance Bank 1 P0009 Engine Position System Performance Bank 2

Version: Draft (uncontrolled)

9 of 9

Author: Jim Mayes