ECM NH3CAN Скачать руководство пользователя страница 16

16 

Example: A module with NID = 0x02 has a NH

3

 sensor which is currently transmitting a reading 

19.5ppm NH

3

 (0x419C0000). The desired or true value is 20.95ppm (0x41A7999A). 

The following messages are sent to the module perform the SPAN: 

 

CANid 

byte 0 

byte 1 

byte 2 

byte 3 

byte 4 

byte 5 

byte 6 

byte 7 

0x602 

0x23 

0x00 

0x50 

0x00 

0x00 

0x00 

0x9C 

0x41 

0x602 

0x23 

0x01 

0x50 

0x00 

0x9A 

0x99 

0xA7 

0x41 

0x602 

0x2F 

0x23 

0x10 

0x01 

0x0E 

 

 

 

 
If  the  ECM  Error  Code  is  from  0x10  to  0x3F  inclusive,  there  is  a  problem  with  the  module 
and/or  the  sensor  memory.  Therefore  the  SPAN  will  be  ignored.  A  successful  SPAN  can  be 
determined by reading locations 0x5000 and 0x5001 in the OD by performing an SDO Read. If 
the SPAN was successful those locations will read as 99999.0. There is an OS Command Reply 
which can be read as well to determine if the SPAN was successful (see Appendix B). 

 
 

8.2   

Canceling (Erasing) the ZERO and SPAN 

 
The  following  command,  when  sent  to  the  NH

3

CAN  module,  erases  the  user  NH

3

  ZERO  and 

SPAN information stored in the sensor’s connector.  Thus, the NH

3

 sensor reverts to the factory 

calibration: 
 

CANid 

byte 0 

byte 1 

byte 2 

byte 3 

byte 4 

byte 5 

byte 6 

byte 7 

0x600+NID 

0x2F 

0x23 

0x10 

0x01 

0x12 

 

 

 

 

 
8.3 

Modifying the Pre-Broadcast Averaging of Data 

 
The NH

3

 sensor output (CEL1 and CEL2) voltage data is averaged prior to being broadcast. Each 

is averaged by the module every 5ms independent of the TPDO broadcast rate (see section 8.6). 
The  averaging  filter  (

α

)  can  range  from  0.001  (heavy  averaging)  to  1.000  (no  averaging).  The 

averaging  filters  (also  called  recursive  averaging  filters  or  digital  low-pass  filters)  are  used  as 
follows: 
 
              AvgData

n+1

 = 

α

 x Data

n

 + (1 – 

α

) x AvgData

   

 
Where: 
AvgData

n+1

 = Current averaged data value broadcast by the module. 

α

 = User-programmable averaging filter, also called “alpha”. (Range 0.001 to 1.000) 

Data

n

 = Current data value measured by the module. 

AvgData

n

 = Previous averaged data value broadcast by the module 5ms ago. 

 
There  is  one 

α

  for  CEL1  and  one 

α

  for  CEL2.  The  defaults  are  0.375  and  are  stored  in  non-

volatile memory (EEprom) in the module. Note that NH

3

 is calculated from both the CEL1 and 

CEL2 measurements and therefore are affected by both 

α

 

averaging values. For best performance 

set both alphas to the same value. 

Содержание NH3CAN

Страница 1: ...NH3CAN NH3 CAN Module Instruction Manual REV 1 00 2 5 2015 ECM ECM ECM ECM ENGINE CONTROL AND MONITORING...

Страница 2: ...com COPYRIGHT 2015 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 AN...

Страница 3: ...SPANing 15 8 2 Canceling Erasing the ZERO and SPAN 16 8 3 Modifying the Pre Broadcast Averaging of Data 16 8 4 Returning the Pre Broadcast Averaging to Factory Default 17 8 5 Changing the NID 17 8 6 C...

Страница 4: ...4...

Страница 5: ...2 bytes unsigned 16 and has a range of 0x0000 0xFFFF 0 65535 6 One unsigned long contains 4 bytes unsigned 32 and has a range of 0x00000000 0xFFFFFFFF 0 4294967295 7 One single float contains 4 bytes...

Страница 6: ...software CD 13 01 1 Optional Pressure Compensation add P to kit part number 10 Pressure Sensor 0 75 psia 517 kPa 07 01 USA or 1 07 02 metric 11 Pressure Extension Cable 10 04 1m 1 12 Pressure Sensor...

Страница 7: ...7 P N 02 12 P N 06 07...

Страница 8: ...constant the NH3 value output by the module can be used Typically this takes 5 minutes when the sensor is in the exhaust of a running engine as much as 30min when hanging in free air or in a cold mani...

Страница 9: ...ex NMT 0x00 Emergency 0x80 NID TPDO1 0x180 NID TPDO2 0x280 NID TPDO3 0x380 NID TPDO4 0x480 NID SDO Tx 0x580 NID SDO Rx 0x600 NID Heartbeat 0x700 NID LSS 0x7E4 0x7E5 Note this list applies to EACH ECM...

Страница 10: ...on the CAN bus See ECM Error codes in Appendix A Approximately 5 seconds after power is applied the unit will start broadcasting CAN messages at a CAN baud rate of 500kbps All messages are related to...

Страница 11: ...e see section 8 6 to determine minimum broadcast rate A TPDO contains two data values each data value corresponds to a measured parameter e g NH3 These data values are referred to as PROCESS DATA OBJE...

Страница 12: ...yte write OD lo low byte of OD address OD hi hi byte of OD address Sub Subindex of OD address Data0 always contains the Least Significant Byte LSB of the data to be written to the OD A SDO Write will...

Страница 13: ...e 7 0x580 NID Size OD lo OD hi Sub Data0 Data1 Data2 Data3 Size 0x4F 1 byte response 0x4B 2 byte response 0x43 4 byte response OD lo low byte of OD address OD hi hi byte of OD address Sub Subindex of...

Страница 14: ...s 0x1018 subindex 0x02 4 byte integer unsigned 32 iii Revision Number located at OD address 0x1018 subindex 0x03 4 byte integer unsigned 32 iv Serial Number located at OD address 0x1018 subindex 0x04...

Страница 15: ...The procedure is as follows i SDO Write to OD address 0x5000 of the current NH3 value output by the module ii SDO Write to OD address 0x5001 of the true correct NH3 value iii OS Command to ZERO SPAN N...

Страница 16: ...in the sensor s connector Thus the NH3 sensor reverts to the factory calibration CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x600 NID 0x2F 0x23 0x10 0x01 0x12 8 3 Modifying the Pre...

Страница 17: ...0x50 0x08 0x00 0x01 8 4 Returning the Pre Broadcast Averaging to Factory Default The averaging values can be reset to factory default 375 by issuing the ECM OS Command 0x15 see Appendix B CANid byte 0...

Страница 18: ...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 disconnect...

Страница 19: ...x1800 subindex 0x05 The format of the SDO Write to the LambdaCAN module is as follows CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x600 NID 0x2B 0x00 0x18 0x05 Broadcast rate lo Broa...

Страница 20: ...D 0x08 has 4 TPDOs enabled Minimum Broadcast Rate ms 3 1 4 2 4 4 4 4 x 0 3125 8 125ms Since the broadcast rate is valid only in increments of 1ms round 8 125ms up to the next integer value 9ms Therefo...

Страница 21: ...t CANid lo Transmit CANid hi 0x00 0xC0 Example Enable TPDO1 for the module with NID 0x10 EnableOD Address 0x1800 Transmit CANid 0x180 0x10 0x190 CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6...

Страница 22: ...s hi Configure the 2nd PDO by performing a SDO Write follows CANid byte 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 0x600 NID 0x23 ConfigOD Address lo ConfigOD Address hi 0x02 0x20 0x00 PDO OD...

Страница 23: ...FF Device Software 0x6100 61FF Device Software Internal 0x6200 62FF Device Software User 0x6300 63FF Device Software Data set 0x7000 70FF Additional Modules 0x8000 80FF Monitoring 0x8100 81FF Monitori...

Страница 24: ...1wire parameter sensor type 0x0025 Pulse Red 2x 2s 1 wire data format not compatible old rev 0x0031 Pulse Red 3x 2s Vsw 6 for 7sec 0x0032 Pulse Red 3x 2s Vsw 32V 0x0041 Pulse Red 4x 2s VS too high 0x...

Страница 25: ...0 0x02 Status The values that may be returned are listed below Status 0x00 Last command completed No error occurred No reply 0x01 Last command completed No error occurred The reply can now be read 0x0...

Страница 26: ...00 old value and 0x5001 desired value defZeroSpanSuccessful 0x00 defSenModNotReady 0xFD defZeroSpanDataInvalid 0xFE defOWZeroSpanWrFail 0xFF SpanNH3 0x10 Set span for NH3 requires write to OD 0x5000 o...

Страница 27: ...ert mode password required None HtrPidEnable 0xE1 Enable heater PID control None HtrPidDisable 0xE2 Disable heater PID control None RvsEnable 0xE3 Enable RVS measurement None RvsDisable 0xE4 Disable R...

Страница 28: ...0 5 seconds by the NH3CAN 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 NMT state NMT state...

Страница 29: ...ure deg C 100 0x200C single float C1R PDO Data Cell1 raw bits 0x200D single float C2R PDO Data Cell2 raw bits 0x200E single float ERFL PDO Data Error bit flags 0x200F single float ERCD PDO Data ECM CA...

Страница 30: ...ection 4 0 and section 8 6 The module must be properly configured in EIB mode or Stand alone mode depending on how it will be used To convert from one mode to the other requires software reprogramming...

Страница 31: ...d start the Configuration Tool software Click on the Module tab Select the CAN adapter being used Then start the communication 3 Click on the Set to EIB Mode Wait for Done Message Stop communication a...

Страница 32: ...can be on the EIB with a display To convert a module from EIB to Stand alone Mode The process is similar to the previously described procedure Note that in EIB mode the module will not show up in the...

Страница 33: ...bility and fitness for purpose whether express implied or arising by operation of law trade usage or course of dealing are hereby disclaimed The warranty is void if the display head is opened LIMITATI...

Страница 34: ...34 Los Altos CA 94023 0040 USA 408 734 3433 Fax 408 734 3432 www ecm co com ECM ECM ECM ECMENGINE CONTROL AND MONITORING...

Страница 35: ...M300 SIM400 To which this declaration relates are in conformity with the essential requirements of the following standards EN61326 1997 A2 2001 Class A Annex A EN61010 1 2001 Electrical Safety And the...

Отзывы: