Modular, multichannel, exhaust gas recirculation (egr) ratio and lambda measurement system (52 pages)
Summary of Contents for ECM AFX3
Page 1
ENGINE CONTROL AND MONITORING AFX3 Programmer’s Manual REV 1.00 1/27/23...
Page 2
REVISION DATE DESCIPTION SECTION 1.00 1/27/2023 Original Release...
Page 3
Fax: 408-734-3432 Santa Clara, CA 95054 USA www.ecm-co.com COPYRIGHT 2023 by ECM: ENGINE CONTROL AND MONITORING. All Rights Reserved. No part of this manual may be photocopied or reproduced in any form without prior written consent from ECM: ENGINE CONTROL AND MONITORING.
Sensor Calibration Getting Information from the AFX3 Module CANopen Message Types Analog Output Calculation Writing to the AFX3 Module (SDO Write) Reading from the AFX3 Module (SDO Read) Identifying the AFX3 Module User Configuration of the AFX3 Module Modifying the Pre-Broadcast Averaging of Data...
General Notes 1. All numbers are decimal unless preceded by the “0x” suffix which denotes a hexadecimal value: e.g. 0xFF = 255. 2. 1 byte contains 8 bits. 3. One “unsigned character” contains 1 byte (unsigned 8) and has a range of 0x00 –...
Introduction Kit Contents The AFX3 kit is a ceramic sensor-based Lambda, AFR, and O , measurement system with a 0-5 Vdc linear Analog Output (Aout) or Controller Area Network (CAN) communication via the CANopen protocol. Control Module 1 Turn Calibration Pot:...
Specifications Measurable Lambda Range Section 3.4 Lambda Measurement Accuracy Within 0.01 Lambda Supply Voltage 11 to 28 Vdc Input Power Requirement 12 W Steady State Up to 40 W During 25 Start-Up Sensor Tightening Torque 15-20 N⋅m (11-15 lb⋅ft) 850℃ Maximum Exhaust Gas Temperature -40 to 85℃...
Header) is at least 11 V when the sensor is operating. The AFX3 can be configured to output either a 0-5 Vdc linear analog signal or CAN messages with an 11-bit identifier at the default CAN baud rate of 500 kbit/s. The CAN baud rate can be...
4. When connecting other devices on the same CAN bus, ensure that the following CANids are not used. Note that this list applies to EACH AFX3 on the CAN bus: Message type CANid (hex) 0x00 Emergency 0x80 + NID TPDO1...
3. LED Display units: Gasoline AFR Sensor Type, LED Display Units and Analog Output Range can be configured as follows: 1. Disconnect AFX3 from power source. 2. Remove the 2 screws located by the connector, slide the board out from enclosure.
The CAN and Analog Output can be configured as follows: 1. Disconnect AFX3 from power source. 2. Remove the 2 screws located by the connector, slide the board out from enclosure. 3. Locate the 10 position header (JP5) as shown below.
5. The organization and configuration of the CAN messages follows the CANopen protocol. Once the start-up sequence is finished the data provided by the AFX3 module is ready to be used. If there is an error, the 4 digit LED display will show “SEn” or “bAt” followed by a symbol (see photo below.) The Error Codes are listed in...
Output Value = (Aout/5.0) * (5 V Range – 0 V Range) + 0 V Range Example: Calculate the output value in Lambda units for an AFX3 module configured for WIDE 0-5V Range and has a Aout voltage of 3.061V.
Writing to the AFX3 Module (SDO Write) Configuration of the AFX3 module is performed by writing to the Object Dictionary (OD) and by issuing ECM CANopen OS Commands (OS Command). Both of these actions are implemented using a Service Data Object Expedited Write (SDO Write). The format is as follows:...
Reading from the AFX3 Module (SDO Read) During configuration it may be necessary to read certain locations in the Object Dictionary (OD). The format for a Service Data Object Read (SDO Read) is as follows: byte 0 byte 1 byte 2...
Identifying the AFX3 Module Each AFX3 module can be uniquely identified by reading the following four parameters in the Vendor ID (0x000001C6) located at OD address 0x1018, subindex 0x01 (4-byte integer/unsigned 32) Product Code (AFX3 = 0x00000015) located at OD address 0x1018...
User Configuration of the AFX3 Module There are several features in the AFX3 that can be configured by the user. These settings are non- volatile and are stored in EEPROM unless noted otherwise (see Section 3.3). Modifying the Pre-Broadcast Averaging of Data The Lambda sensor output data (Ip1) is averaged before it is used in any Lambda/AFR/ calculation.
The Node ID (NID) can be programmed from 0x01 to 0x7F (1 to 127). To change the NID, several messages must be sent to the AFX3 module. This must be followed by a reset of the module. First place the module(s) into LSS (Layer Select Services) configuration mode. If there is only one CANopen module on the CAN bus this process requires only one message.
Page 20
After the NID has been successfully changed, the module enters pre-operational mode and does not broadcast data. The module can be returned to broadcast mode 1 of 3 ways: i) Power-cycle the module by disconnecting and reconnecting the power. ii) A second method is to send a command instructing the module to perform a hard reset (similar to power-cycling the module but software controlled).
8.5). It is an unsigned 16-bit integer (2 bytes) written least significant byte (LSB) first (Intel format) to OD address 0x1800, subindex 0x05. The default broadcast rate is 20 ms. The format of the SDO Write to the AFX3 module is as follows: CANid...
TPDO2 0x1801 0x280 + NID TPDO3 0x1802 0x380 + NID TPDO4 0x1803 0x480 + NID To enable a TPDO, perform a SDO Write to the Enable OD Address for that particular TPDO as follows: CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5...
Transmit Process Data Object Mapping (TPDO MAPPING) Each TPDO transmits two PROCESS DATA OBJECTS (PDOs). Which PDOs are transmitted by the module in a particular TPDO can be configured by the user. Configuring a TPDO is a 4 step process: Write a 0 to the TPDO Configuration OD Address, subindex 0x00.
Section 8.3 Changing the CAN baud rate To change the CAN baud rate, several messages must be sent to the AFX3 module. This must be followed by a reset of the module. The procedure described below will change the CAN baud rate on ALL modules.
Page 25
MULTIPLE MODULES ON BUS SINGLE MODULE ON BUS CAN id byte 0 byte 1 byte 2 byte 3 byte 4 CAN id byte 0 byte 1 0x7E5 0x04 0x00 0x7E5 0x04 0x01 0x7E5 0x40 0xC6 0x01 0x00 0x00 0x7E5 0x41 Product Code 0x7E5 0x42...
Modifying the LED Display Intensity The LED Display intensity can be modified from its default value. It is an unsigned 8-bit integer (1 bytes) written to OD address 0x509E, subindex 0x00. The format of the SDO Write to the AFX3 module is as follows:...
0x600+NID 0x2F 0x9E 0x50 0x00 Intensity LED Intensity: 0 – Display OFF 1 – Maximum intensity (Default) 10 – Minimum intensity Any values transmitted in byte 4 that are outside of this range (0-10) defaults to 1 (Maximum intensity.) Example: Turn the LED Display OFF for a module with NID = 0x0F. CANid byte 0 byte 1...
ECM CANopen OS Commands A user-specific CANopen OS Command to the AFX3 module is sent using an SDO expedited write message in the following form. These commands apply only to the AFX3 module and are listed on the following page:...
Page 30
0x15 Resets recursive average of Ip1 defAlphaOK 0x00 ResetTPDOs 0x1F Set all TPDOs as delivered from factory. None ResetTPDOs 0x1F Set all TPDOs as delivered from ECM None DisableTPDOCOBreset 0x22 TPDO CANids set by user None EnableTPDOCOBreset 0x23 TPDO CANids default to CANopen standard...
Appendix C: Heartbeat A Heartbeat message is transmitted every 0.5 seconds by the module. During normal operation the module is in operational mode (NMT state = 0x05). CAN id byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x700+NID...
Appendix D: Process Data Objects Address Type Symbol Description 0x2000 single float DUTY Heater Positive Duty Cycle (%) 0x2001 single float 0x2003 single float AOUT Analog Output Voltage (V) 0x2004 single float RPVS Rpvs (Ω) * 1000 0x2005 single float VHCM Commanded Heater Voltage (Vrms) * 1000 0x2006...
Appendix F: Warranty and Disclaimers WARRANTY The products described in this manual, with the exception of the lambda and pressure sensors, are warranted to be free from defects in material and workmanship for a period of 365 days from the date of shipment to the buyer.
Page 35
ENGINE CONTROL AND MONITORING Los Altos, CA 94023-0040 • USA • (408) 734-3433 • Fax: (408) 734-3432 www.ecm-co.com...
Need help?
Do you have a question about the AFX3 and is the answer not in the manual?
Questions and answers