USER MANUAL UMAX030300

Engine Controller – 18 Digital Input to CAN, SAE J1939

USER MANUAL

P/N: AX030300

VERSION HISTORY Version Date Author Modifications 1.0.0 May 15, 2008 Manraj S. Pannu Initial Draft 1.0.1 November 7, 2008 Manraj S. Pannu Warning added to section 2.1 pertaining to setpoint index configuration. 1.0.2 January 18, 2011 Amanda Wilkins Added Technical Specifications 2.0.0 January 15, 2013 Amanda Wilkins Reflects New Hardware Revision for EMC Compliance

ACCRONYMS

ACK Positive Acknowledgement

EA Axiomatic Electronic Assistant (Service Tool for Axiomatic ECUs)

ECU Electronic Control Unit (from SAE J1939 standard)

NAK Negative Acknowledgement

PDU1 A format for messages that are to be sent to a destination address, either specific or global

PDU2 A format used to send information that has been labeled using the Group Extension technique, and does not contain a destination address.

PGN Parameter Group Number (from SAE J1939 standard)

SPN Suspect Parameter Number (from SAE J1939 standard)

Version 2.0.0 Preliminary Documentation – May be Subject to Change ii

TABLE OF CONTENTS 1. GENERAL …………………………………………………………………………………………………..………………. 4 1.1. Description of 18 Digital Input Controller….…………………………………………………………..………... 4 1.2. Introduction to SAE J1939 Features…...………………………………………………………………………... 5 1.3. Dimensions and Pinout……………………………………………………………………………………………. 6 1.4. Installation Instructions……………………………………………………………………………………………. 7 2. ECU SETPOINTS…………………………………………………………………………………………………………… 9 2.1. Input Setpoints…………………………………………………………………………………………………….. 9 2.2. Miscellaneous Setpoints………………………………………………………………………………………….. 9 3. USING ECU WITH AXIOMATIC ELECTRONIC ASSISTANT………………………………………………………… 11 3.1. Installing the Electronic Assistant………………………………………………………………………………… 11 3.2. Screen Captures…………………………………………………………………………………………………… 11 APPENDIX A – Technical Specifications …………………………………………………………………………………….. 14

References

J1939 Recommended Practice for a Serial Control and Communications Vehicle Network, SAE, October 2007

J1939/21 Data Link Layer, SAE, December 2006

J1939/71 Vehicle Application Layer, SAE, November 2006

J1939/73 Application Layer-Diagnostics, SAE, September 2006

J1939/81 Network Management, SAE, May 2003

TDAX030300 Technical Datasheet, Engine Controller – 18 Digital Input to CAN, Axiomatic Technologies 2009

UMAX07050x User Manual, Electronic Assistant and USB-CAN, Axiomatic Technologies

Version 2.0.0 Preliminary Documentation – May be Subject to Change iii

1. GENERAL

1.1. Description of 18 Digital Input Controller

The 18 Digital Input electronic control unit (ECU) is a device that is intended to measure digital inputs and send data to an SAE J1939 CAN network. Each input can be configured for any one of the following options, unless noted otherwise. The properties and behavior of the input in each mode is described below. See section 2.1 for more information.

Input Disabled: The input is not used, no CAN messages associated with this channel will be sent to the network.

Digital (High): The input is configured to read the state of an active high digital input. (Switch is connected to a +V signal when ON.) The ECU will interpret the offset as a state (OFF=0 or ON=1) and the resolution setpoint as state/bit, when sending the message.

Digital (Low): The input is configured to read the state of an active low digital input. (Switch is connected to a GND signal when ON.) The ECU will interpret the offset as a state (OFF=1 or ON=0) and the resolution setpoint as state/bit, when sending the message.

PWM Duty Cycle: The input is configured to measure the duty cycle of a pulse width modulated (PWM) signal in the range of 0 to 100%dc. The ECU will interpret the offset in percent duty cycle (%dc) and the resolution setpoint as %dc/bit, when sending the message.

Frequency/RPM: The input is configured to count the number of pulse that occur over the period of the Measuring Window setpoint, and calculate the frequency of the pulses. If the Pulse per Revolution setpoint is zero, the ECU will interpret the offset in hertz and the resolution setpoint as Hz/bit, when sending the message. If the Pulse per Revolution setpoint is non-zero, the ECU will interpret the offset in rotations per minute (RPM) and the resolution setpoint as RPM/bit, when sending the message.

16-bit Counter: The input is configured to count pulses on the input until the value in the Measuring Window setpoint is reached. While the counter is active, a timer with a 1ms resolution is running in the background. When the count has been reached, the value in the 1ms timer is captured and updated to the input feedback variable. The timer is reset until the count value once again reaches the Measuring Window.

NOTE: The difference between Frequency and Counter mode is that the Frequency mode measures the number of pulses that occur in the Measuring Window period and calculates frequency, while the counter gives the period of time (in milliseconds) it takes for the number of pulses in the Measuring Window to be read at the input.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 4-15

1.2. Introduction to SAE J1939 Features

The software was designed to provide flexibility to the user with respect to messages sent from the AX030300 by providing:  Configurable ECU Instance in the NAME (to allow multiple ECUs on the same network)  Configurable Input Parameters  Configurable PGN and Data Parameters

Note: Configurable parameters are also called setpoints

This document assumes the reader is familiar with the SAE J1939 standard. Terminology from the standard is used, but is not described in this document.

The ECU is compliant with the standard SAE J1939, and supports the following PGNs from the standard.

From J1939-21 - Data Link Layer  Request 59904 ($00EA00)  Acknowledgment 59392 ($00E800)  Transport Protocol – Connection Management 60416 ($00EC00)  Transport Protocol – Data Transfer Message 60160 ($00EB00)  Proprietary B 65280 ($00FF00) to 65535 ($00FFFF)

From J1939-81 - Network Management  Address Claimed/Cannot Claim 60928 ($00EE00)  Commanded Address 65240 ($00FED8)

From J1939-71 – Vehicle Application Layer  All of the temperature SPNs from this section, and their corresponding PGNs. See section 3.1 for more information.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 5-15

1.3. Dimensions and Pinout

Grey Connector Black Connector Pin # Function Pin # Function 1 CAN_H 1 Digital Input 7 2 CAN_L 2 Digital Input 8 3 CAN_Shield 3 Digital Input 9 4 GND 4 Digital Input 10 5 Power- 5 Digital Input 11 6 Power+ 6 Digital Input 12 7 Digital Input 6 7 Digital Input 18 8 Digital Input 5 8 Digital Input 17 9 Digital Input 4 9 Digital Input 16 10 Digital Input 3 10 Digital Input 15 11 Digital Input 2 11 Digital Input 14 12 Digital Input 1 12 Digital Input 13

Version 2.0.0 Preliminary Documentation – May be Subject to Change 6-15

1.4. Installation Instructions

NOTES & WARNINGS  Do not install near high-voltage or high-current devices.  Ground the chassis for safety purposes and proper EMI shielding.  All field wiring must be suitable for the specified operating temperature range.  Install the unit with appropriate space available for servicing and for adequate wire harness access (15 cm) and strain relief (30 cm).  Do not connect or disconnect the unit while the circuit is live, unless the area is known to be non-hazardous.

MOUNTING Mounting holes are sized for ¼ inch or M6 bolts. The bolt length will be determined by the end- user’s mounting plate thickness. The mounting flange of the controller is 0.63 inches (16 mm) thick.

If the module is mounted without an enclosure, it should be mounted to reduce the likelihood of moisture entry.

No wire or cable in the harness should exceed 30 meters in length. The power input wiring should be limited to 10 meters. All field wiring should be suitable for the operating temperature range of the module.

CAN WIRING The CAN wiring is considered intrinsically safe. The power wires are not considered intrinsically safe, therefore in hazardous locations they need to be located in conduit or conduit trays at all times. The module must be mounted in an enclosure in hazardous locations for this purpose.

The CAN port is electrically isolated from all other circuits. The isolation is SELV rated with respect to product safety requirements. Refer to the CAN specification for more information. Use CAN compatible cabling. J1939 cable is recommended as it is rated for on-engine use. Shielded CAN cable is required.

SHIELDING The CAN wiring should be shielded using a twisted conductor pair. The wires should not be exposed for more than 5 cm (2 inches) without shielding.

If the module is installed in a cabinet, shielded wiring can be terminated at the cabinet (earth ground), at the entry to the cabinet or at the ECU.

INPUT POWER The main input to the power supply must be of low-impedance type for proper operation. If batteries are used, an alternator or other battery-charging device is necessary to maintain a stable supply voltage.

Central suppression of any surge events should be provided at the system level.

The installation of the equipment must include overcurrent protection between the power source and the ECU by means of a series connection of properly rated fuses or circuit breakers. Input

Version 2.0.0 Preliminary Documentation – May be Subject to Change 7-15

power switches must be arranged external to the ECU. The power input wiring should be limited to 10 meters.

NETWORK CONSTRUCTION Axiomatic recommends that multi-drop networks be constructed using a “daisy chain” or “backbone” configuration with short drop lines.

TERMINATION It is necessary to terminate the network. An external CAN termination is required. No more than 2 network terminations are recommended on any one network. Termination is a 121 Ohm, 0.25 W, 1% metal film resistor placed between CAN_H and CAN_L terminals at the end two units on the network.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 8-15

2. ECU SETPOINTS

2.1. Input Setpoints

There are three setpoints per channel that are associated with the input and how the data is measured. This section describes how changing these values could affect the measurement accuracy.

Name Range Default Notes 0: Input Disabled 1: Digital (Active High) 1: Digital Input Sensor Type 2: Digital (Active Low) See Section 1.1 for more details about each (Active (IST) 3: PWM Duty Cycle input type. High) 4: Frequency/RPM 5: 16-bit Counter This setpoint is only used if the IST is set to Pulse Per 4=Frequency/RPM, otherwise it is ignored. If set 0 to 1000 0 Revolution to zero, the data is reported in Hertz. If non-zero, the controller reports the input as RPM. If IST is set to 4: Frequency/RPM, this setpoint determines the period at which the controller will measure the pulses to determine the frequency. If IST is set to 5: 16-Bit Counter, the controller IST = 4 will send the counter message to the network 100 to 10000ms once the counter reaches this value, and which Measuring Window 1000ms point the counter is reset. If set to zero, the IST = 5 counter will only be read and reset when the 0 to 60000 pulses controller receives a request for the Transmit PGN from another node on the . If IST is set to anything else, this setpoint is ignored.

WARNING: If more than one channel sharing a PGN has the same data index into the array, the data from the HIGHEST channel will be sent. This problem will also be present if a 2 or 4 byte setpoint is indexed such that the higher bytes of the data will overlap with the data from another channel. If the WORD or DWORD data is from an input channel with lower number, the MSB (s) of the data will be overwritten. If it is from an input channel with a higher number, the MSB(s) of the data will overwrite the LSB(s) of the other channel. It is the responsibility of the user to ensure that this doesn’t happen.

2.2. Miscellaneous Setpoints

NAME Setpoints The AX030300 ECU has the following defaults for the J1939 NAME. The user should refer to the SAE J1939/81 standard for more information on these parameters and their ranges. Arbitrary Address Capable Yes Industry Group 5, Industrial Process Control, Stationary (Gen-Sets) Vehicle System Instance 0 Vehicle System 0, Non-specific system Function 66, I/O Controller Version 2.0.0 Preliminary Documentation – May be Subject to Change 9-15

Function Instance 11, AX030300, Eighteen Digital ECU Instance 0, First Instance Manufacture Code 162, Axiomatic Technologies Corporation Identity Number Variable, based on ECU Serial Number

The only configurable setpoint associated with the NAME is the ECU Instance. Changing this value will allow multiple ECUs of this type to be distinguishable by other ECUs (including Axiomatic Electronic Assistant) when they are all connected on the same network.

ECU Address With this setpoint, the user can change the address of the ECU. The default value of this setpoint is 235 (0xEB), Supplemental Sensor Processing Unit#1, as set by the SAE in J1939 tables B3 to B7. The EA will allow the selection of any address between 0 to 253, and it is the user's responsibility to select an address that complies with the standard. The user must also be aware that since the unit is arbitrary address capable, if another ECU with a higher priority NAME contends for the selected address, the module will continue select the next highest address until it finds one that it can claim. See J1939/81 for more details about address claiming.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 10-15

3. USING ECU WITH AXIOMATIC ELECTRONIC ASSISTANT

3.1. Installing the Electronic Assistant

For instructions on how to install and use the Electronic Assistant (EA), refer to User Manual AX07050x.

3.2. Screen Captures

Image 5.1: CAN port was opened; programmer has recognized the Axiomatic ECU

Image 5.2: ECU Name and Software ID properties displayed

For the AX030300 Software ID, the data in the fields are as follows: (Part Number)*(Version)*(Date)*(Owner)*(Description)*(Serial Number)

Version 2.0.0 Preliminary Documentation – May be Subject to Change 11-15

Image 5.3: Miscellaneous Setpoints

Image 5.4: Input Channel Setpoints

Version 2.0.0 Preliminary Documentation – May be Subject to Change 12-15

Image 5.5: ECU Setpoint File

A setpoint file can be flashed to an ECU by the Program option in the menu. The length of time it will take to flash the file will depend on the number of setpoints associated with that ECU.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 13-15

APPENDIX A – Technical Specifications

Input Specifications Power Supply Input - Nominal 12V, 24VDC nominal (8…36VDC power supply range) Protection Surge and reverse polarity protection are provided. All Inputs Up to 18 digital inputs are selectable by the user. Refer to Table 1.0.

With the CAN model, AX030300, all input channels are completely independent of each other as well as can simultaneously send a message to the J1939 bus. Input Protection Full protection to all other physical pins (any other input, output or power terminal). CAN Commands SAE J1939 {CANopen® (model AX030301)} Ground Connection 1 Digital GND connection is provided. Table 1.0 - Inputs Digital Inputs Up to 18 digital inputs are available. The first 8 digital inputs can be configured for any one of the following options.  Disable Input  Digital Input (Active High 10 KOhm or Active Low 10 KOhm)  PWM signal input (1-10,000 Hz, 0-100% D.C.)  Pulse Input (Hz or RPM) (50 to 10,000 Hz, 50 mV-3V RMS)*  16-bit Counter Input * NOTE: If the Input Maximum setpoint is set for a low frequency (<=50Hz), the controller will use a different technique to measure the frequency. Instead of measuring the pulses in the Measuring Window (this parameter is ignored) it will measure the time between rising edges of the signal. If more than 10 seconds pass without a transition, the input will be read as zero. The frequency range in this mode is 0.5-50Hz, with up to 2 decimal places of resolution.

The last 10 digital inputs are user selectable as Active Low 10 KOhm or Active High 10 KOhm. Threshold 2.5V (Other values are available on request.) Hysteresis 1V Input Accuracy PWM, single channel: +/- 0.05% to +/- 1.25% (over the 500 Hz to 10 kHz range) Frequency/RPM, single channel: +/- 1% 16-bit counter, single channel: +/- 3 mSec (@50 Hz) Input Resolution PWM, single channel: +/- 0.05% to +/- 1.25%, 0 decimal place resolution NOTE: If the Input Maximum setpoint is set for a low frequency (<=50Hz), the controller will use a different technique to measure the frequency. Instead of measuring the pulses in the Measuring Window (this parameter is ignored) it will measure the time between rising edges of the signal. If more than 10 seconds pass without a transition, the input will be read as zero. The frequency range in this mode is 0.5-50Hz, with up to 2 decimal places of resolution. Frequency/RPM (single channel) 0.5 Hz to 50 Hz: +/- 0.01Hz, 0 decimal place resolution 50 Hz to 10kHz: +/- 1Hz, 0 decimal place resolution 16-bit counter, single channel: 1 pulse resolution

Output Specifications CAN Messages SAE J1939

General Specifications Microprocessor DSP56F8346 Control Logic Standard embedded software (Application-specific logic available on request) Quiescent Current Draw 0.06A @24Vdc Compliance CE mark: EMC Directive RoHS Directive Exempt from Low Voltage Directive Communications 1 CAN port (SAE J1939)

Version 2.0.0 Preliminary Documentation – May be Subject to Change 14-15

User Interface (PC-based) Electronic Assistant® for Windows operating systems It comes with a royalty-free license for use.

The Electronic Assistant® requires an USB-CAN converter to link the device’s CAN port to a Windows-based PC. An Axiomatic USB-CAN Converter AX070501 is available as part of the Axiomatic Configuration KIT.

P/N: AX070502, the Axiomatic Configuration KIT includes the following. USB-CAN Converter P/N: AX070501 1 ft. (0.3 m) USB Cable P/N: CBL-USB-AB-MM-1.5 12 in. (30 cm) CAN Cable with female DB-9 P/N: CAB-AX070501 AX070502IN CD P/N: CD-AX070502, includes: Electronic Assistant® software; EA & USB- CAN User Manual UMAX07050X; USB-CAN drivers & documentation; CAN Assistant (Scope and Visual) software & documentation; and the SDK Software Development Kit. CAN 1 CAN port (SAE J1939) Operating Conditions -40 to 85 C (-40 to 185 F) Protection IP67, PCB is conformally coated and protected by the housing. Electrical Connections Deutsch DTM series 24 pin receptacle (DTM13-12PA-12PB-R008) Mating plug: Deutsch DTM06-12SA and DTM06-12SB with 2 wedgelocks (WM12S) and 24 contacts (0462-201-20141). 20 AWG wire is recommended for use with contacts 0462-201-20141.

Use dielectric grease on the pins when installing the controller.

Refer to pinout in Section 1.3.

Wiring to these mating plugs must be in accordance with all applicable local codes. Suitable field wiring for the rated voltage and current must be used. The rating of the connecting cables must be at least 70°C. Use field wiring suitable for both minimum and maximum ambient temperature. Weight 0.50 lbs. (0.23 kg) Packaging and Dimensions High Temperature Nylon housing - Deutsch IPD PCB Enclosure (EEC-325X4B) 4.62 x 5.24 x 1.43 inches 117.42 x 133.09 x 36.36 mm (W x L x H excluding mating plugs) Refer to dimensional drawing in Section 1.3.

Version 2.0.0 Preliminary Documentation – May be Subject to Change 15-15

OUR MISSION

Axiomatic provides electronic machine controls, components, and systems to OUR PRODUCTS the off-highway, commercial vehicle, electric vehicle, military, power generation, material handling and industrial OEM markets. Battery Chargers We provide efficient, innovative solutions that focus on adding value for our customers. CAN bus Controls We emphasize service and partnership with our customers, suppliers, and Current Converters employees to build long term relationships and mutual trust.

QUALITY DESIGN AND MANUFACTURING DC/DC Power Converters Axiomatic is an ISO 9001:2008 registered facility. DC Voltage Signal SERVICE Converters All products to be returned to Axiomatic require a Return Materials Displays Authorization Number (RMA#).

Please provide the following information when requesting an RMA number: Engine Temperature Controls • Serial number, part number • Axiomatic invoice number and date Fan Drive Controllers • Hours of operation, description of problem • Wiring set up diagram, application • Other comments as needed Gateways When preparing the return shipping paperwork, please note the following. The Hydraulic Valve Controllers commercial invoice for customs (and packing slip) should state the harmonized international HS (tariff code), valuation and return goods terminology, as shown I/O Controls in italics below. The value of the units on the commercial invoice should be identical to their purchase price.

LVDT Simulators Goods Made In Canada (or Finland) Returned Goods for Warranty Evaluation, HS: 9813.00 Machine Control Systems Valuation Identical Goods Axiomatic RMA#

Motor Controls WARRANTY, APPLICATION APPROVALS/LIMITATIONS

PID Controls Axiomatic Technologies Corporation reserves the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without Position Sensors, Angle notice. Customers should obtain the latest relevant information before placing Measurement Inclinometers orders and should verify that such information is current and complete. Users should satisfy themselves that the product is suitable for use in the intended Power Supplies application. All our products carry a limited warranty against defects in material and workmanship. Please refer to our Warranty, Application Approvals/Limitations and Return Materials Process as described on PWM Signal www.axiomatic.com/service.html. Converters/Isolators CONTACTS Resolver Signal Conditioners Axiomatic Technologies Corporation Axiomatic Technologies Oy 5915 Wallace Street Höytämöntie 6 Service Tools Mississauga, ON 33880 Lempäälä CANADA L4Z 1Z8 FINLAND TEL: +1 905 602 9270 TEL: +358 3 3595 600 Signal Conditioners FAX: +1 905 602 9279 FAX: +358 3 3595 660 www.axiomatic.com www.axiomatic.fi Surge Suppressors

Copyright 2013