SKIM USER S GUIDE SMART KAN INTERFACE MODULE 2 & 8 I/O
Kongsberg Automotive: Christopher Martin Road Basildon, Essex England SS143ES Tel: +44(0)1268 522861 Fax: +44(0)1268 282994 90, 28e Rue Grand-Mere (Qc) Canada G9T 7E9 Tel: (819)533-3201 Fax:(819)533-5317 Email: skim.info@ka-group.com www.kongsbergautomotive.com C Kongsberg Automotive 2011 Specifications subject to change without notice. Any trademark used are recognised and are the property of thier respective owners. Part Number: P03882A00 December 2011
The SKIM User's Guide Thank you for choosing the SKIM 2 or 8 I/O gateway. These pages provide a brief introduction to CADET and provide operating instructions for the KGCT application used for managing configuration into SKIM gateway. Please read throught the guide before use. We hope you will be very happy with this product and have many years of trouble-free operation. If you have any problems or ideas for improvement then we would like to hear from you. For more information please see the web site: http://www.kongsbergautomotive.com/
Section/Contents Page 1. Installing CADET and KGCT Applications...2 2. Understanding KGCT Functionality...3 3. KGCT Application...5 4. SKIM Frequency Output Limitation...17 5. SKIM Limp Home Mode...18 6. Typical J1939 Signal Ranges...19 7. SKIM 2 I/O Electrical Connection...20 8. SKIM 8 I/O Electrical Connection...21 9. Electrical Specifications...23 10. Typical J1939 wiring topology...25 11. SKIM Typical I/O Applications...26 12. Mechanical characteristics...30 13. Maintenance and troubleshooting...31 14. Glossary...32 15. Important safety and legal information...33
1. Installing CADET and KGCT Applications If you whish to change the SKIM behaviour, the first step is to download CADET and KGCT applications. Both applications are available on the following web site: https://www.ezkeycode.com You need to get a user account and request for the profile KA Generic Product. Please note that the software requires at least Windows XP and one of the following USB to CAN interface: IXXAT interface Kvaser interface NEXIQ interface (USB-Link only) ifak system interface You will need to install the CAN interface drivers from the manufacturer website or the CD. Be aware that the drivers may not be compatible with your operating system. page 2
2. Understanding KGCT Functionality Because KGCT software is a plugin of CADET software, CADET must be started prior to access SKIM gateway. Then, you have to click on Read "button" or double-click on "CCP Node" in order to read the SKIM internal information datas: page 3
2.1 CADET "Module ID" tab Once the SKIM gateway is read, module information datas are displayed in read only mode. For this reason, no changes could be done here on datas. Note that customer parameters section could be modify to fit your needs. But to be able to do such operations, SKIM module must be place in bootloader mode (see below). 2.2 CADET "Commands" tab The following actions could be done (4 buttons available): Program a configuration (by loading a configuration file from disk and saving it into the SKIM memory). Get the internal configuration and start automatically KGCT application. Launch KGCT application (without getting internal SKIM configuration). Start bootloader mode. SKIM must be read again. In bootloader mode, customer parameters and firmware could be updated. 2.3 CADET firmware update When in bootloader mode, SKIM application firmware can be updated by clicking the Firmware button and following the information on screen. Note that firmware update could only be done from CADET. page 4
3. KGCT Application Basically, KGCT is used to create, edit, save (on disk) or write (in SKIM) different configurations for general I/O pins. Each I/O pin could be configured individually as an input or an output to do one of the following functions: PWM Output Mode Ohm Meter Mode Frequency Meter Mode Volt Meter Mode Ampere Meter Mode Pulse counter Mode Square Wave Output Mode Switch Input Mode Low Side Output Mode The next sections will describe how to configure the I/O pins for each of the functions listed above. page 5
3.1 PWM Output Mode In this mode, the I/O is configured as PWM output generator like the following: Used to set the frequency output. Frequency range is from 0.067 Hz to 25 khz. Used to enable or disablethe internal 6.8 kω pullup resistor. Used to set the PWM output polarity: Ex.: PWM = 25% with active pulse HIGH Ex.: PWM = 25% with active pulse LOW Used to set the initial output duty cyle. Also used as limp home value when no J1939 messages detected. Also used as limp home value when no J1939 messages detected. Duty cycle range is from 0% to 100% When "Enable" is checked, output duty cycle value is read directly from the CAN bus. Used to select PGN number, data index (from which byte data will be retrieved) and data size (expressed in byte). page 6
3.1 PWM Output Mode - continued Used to scale the incoming data. If fields are left empty, up to unsigned 32-bits input data is taken as is (%). Otherwise, linear interpolation is done according to the programmed fields to obtain duty cycle value from J1939 network. Once the configuration is completed: you can save it on disk with "Save" button you can write it into SKIM with "Write" button. * The way to save configurations is the same for all I/0 functions. page 7
3.2 Ohm Meter Mode In this mode, the I/O is configured as ohm meter input like the following: Resistor input range is from 0 to 400 Ω. This is a fixed range. Used to scale the outgoing data. If fields are left empty, up to unsigned 32-bits output data is taken as is (ohms). Otherwise, linear interpolation is done according to the programmed fields to obtain J1939 value (to be broadcasted) from resistor input value. Used to select the PGN number, priority and destination address. Used to select data index (from which byte data will be sent), data size (expressed in byte) and the desired message transmission rate. Note that 2 different messages could be send in this mode. page 8
3.3 Frequency Meter Mode In this mode, the I/O is configured as frequency meter input like the following: Used to select on which edge the SKIM will trig. Frequency input range is from 1 to 2500 Hz. Used to scale the outgoing data. If fields are left empty, up to unsigned 32-bits output data is taken as is (Hz). Otherwise, linear interpolation is done according to the programmed fields to obtain J1939 value (to be broadcasted) from frequency input value. Used to select the PGN number, priority and destination address. Used to Select data index (from which byte data will be sent), data size (expressed in byte) and the desired message transmission rate. Note that 2 different message could be send in this mode.!!! WARNING!!! If the input rate frequency reaches the maximum limit of 2500Hz for more then 10 consecutives cycles, the I/O is permanently disabled and reading will be set to zero after timeout time of 2s. Only power up reset restore I/O functionality. page 9
3.4 Volt Meter Mode In this mode, the I/O is configured as volt meter input like the following: Voltage input range could be: 0-12VDC or 0-32VDC. Used to scale the outgoing data. If fields are left empty, up to unsigned 32-bits output data is taken as is (V). Otherwise, linear interpolation is done according to the programmed fields to obtain J1939 value (to be broadcasted) from voltage input value. Used to select the PGN number, priority and destination address. Used to select data index (from which byte data will be sent), data size (expressed in byte) and the desired message transmission rate. Note that 2 different message could be send in this mode. page 10
3.5 Ampere Meter Mode In this mode, the I/O is configured as ampere meter input like the following: Used to scale the outgoing data. If fields are left empty, up to unsigned 32-bits output data is taken as is (A). Otherwise, linear interpolation is done according to the programmed fields to obtain J1939 value (to be broadcasted) from current input value. Current input range is from 0 to 25mA. This is a fixed range. Used to select the PGN number, priority and destination address. Used to select data index (from which byte data will be sent), data size (expressed in byte) and the desired message transmission rate. Note that 2 different message could be send in this mode.!!! WARNING!!! If the input current reaches the maximum limit of 25mA, the I/O is temporary disconnected to protect internal shunt resistor. When pin voltage falls under 5V, the I/O will be reconnected. page 11
3.6 Pulse Counter Mode In this mode, the I/O is configured as pulse counter input like the following: Used to select on which edge the SKIM will trig for pulse counting. Frequency input range is from 1 to 2500 Hz. The total pulse counter will be transmitted on J1939 network. Used to select the PGN number, priority and destination address. Used to select data index (from which byte data will be sent), data size (expressed in byte) and the desired message transmission rate. Note that 2 different message could be send in this mode.!!! WARNING!!! If the input rate frequency reaches the maximum limit of 2500Hz for more then 10 consecutives cycles, the I/O is permanently disabled and reading will freeze to last count value. Only power up reset restore I/O functionality. page 12
3.7 Square Wave Output Mode In this mode, the I/O is configured as square wave output generator like the following: Used to set the frequency output. Frequency range is from 0.067 Hz to 25 khz. The duty cycle will set at 50%. Used to enable or not the internal 6.8 kω pull-up resistor. Used to set the signal level at SKIM startup. page 13
3.8 Switch Input Mode In this mode, the I/O is configured as switch input like the following: Used to determine the level to consider input as active. Used to select the PGN number, priority and destination address. Used to select data index (from which byte data will be sent), data bits (on which bits switch value state will be transmitted) and the desired message transmission rate. Note that 2 different message could be send in this mode. page 14
3.9 Low Side Output Mode In this mode, the I/O is configured as low side output like the following: Used to enable or disable the internal 6.8 kω pullup resistor. Used to determine the output state (ON/OFF) when J1939 "Enable" is not checked. Also used as limp home value when no J1939 messages detected. When activated, output always gives a GND signal level. Used to determine the activation logic when J1939 "Enable" is checked. When DIRECT logic is seleted, output will be activated when incoming data is "1". When INVERSE logic is seleted, output will be activated when incoming data is "0". When activated, output always gives a GND signal level. page 15
3.9 Low Side Output Mode - continued Used to select the PGN number for incoming data. Used to select data index (within which byte data will be received) and data mask bits (from which bits activation data will be read). page 16
4. SKIM Frequency Output Limitation Because of the SKIM hardware, there are some limitations when using "frequency functions". Those limitations are only related to the SKIM 8 I/O. The same frequency should be used for I/O 1 and 3 (all connected to the same TPM2 internal timer). The same frequency should be used for I/O 2, 4, 5, 6, 7 and 8 (all connected to the same TPM1 internal timer). For a specific timer, if the frequencies defined for its related I/0 are not the same, then the frequency defined for the first I/O connected on the timer will be used. Example: I/O 2, 5 and 6 are configured as frequency functions using 3 different frequencies. The SKIM will use the frequency defined for I/O 2 for all other inputs / outputs. And in this case, resuting values for I/O 5 and 6 will be incoherent. page 17
5. SKIM Limp Home Mode The PWM Output Mode is related to an incoming J1939 message. If the SKIM loses the CAN network or the associated output message before timeout event, the output value will be set to the limp home value. In this particular case, the "Initial Duty Cycle" field is used as limp home value. The Low Side Output Mode is related to an incoming J1939 message. If the SKIM loses the CAN network or the associated output message before timeout event, the output value will be set to the limp home value. In this particular case, the "Initial Output State" field is used as limp home value. Each I/O output have his own limp home mode. The timeout period is set to time of 20s. page 18
6. Typical J1939 Signal Ranges This section defines the range of values that will be used in scaling functions for incoming and outgoing parameters on J1939 CAN network. 6.1 Transmitted / Received Signal Range name 1 byte 2 bytes 4 bytes Valid signal 0x00 to 0xFA 0x0000 to 0xFAFF 0x00000000 to 0xFAFFFFFF Error indicator 0xFE 0xFExx 0xFExxxxxx Not available / Not requested 0xFF 0xFFxx 0xFFxxxxxx 6.2 Transmitted Discrete Values Range Name Transmitted Bits Disabled (off) 00 Enabled (on) 01 Error indicator 10 Not available / Not installed 11 6.3 Received Discrete Control Commands Range Name Received Bits Disable command (turn off) 00 Enable command (turn on) 01 Reserved 10 Don t care / No action 11 page 19
7. SKIM 2 I/O Electrical Connection The SKIM 2 I/O interfaces to data via the 6 pin Delphi connector on the module wired as shown (see pinout diagram). The SKIM can be wired to the vehicle electric system using the one of the following Mating Delphi Metri-Pack Series Connectors: #12162210 6 pin #12162260 6 pin #12162261 6 pin Pinout diagram for SKIM 2 I/O: Connector pin out Signal Notes A1 I/O #1 Configurable I/O #1 B1 I/O #2 Configurable I/O #2 C1 CAN HI CAN HI data line (J1939) D1 CAN LO CAN LO data line (J1939) E1 Power (-) Module power return F1 Power (+) Module power (9-32VDC) Supply should be protected by 500mA-rated circuit breaker / fuse page 20
8. SKIM 8 I/O Electrical Connection The SKIM 8 I/O interfaces to data via the 6-pin Delphi connector (1x) and the 3-pin Delphi connectors (2x) on the module wired as shown (see pinout diagram). The SKIM can be wired (connector #1) to the vehicle electric system using the one of the following Mating Delphi Metri-Pack Series Connectors: #12162210 6 pin #12162260 6 pin #12162261 6 pin Pinout diagram for SKIM 8 I/O (connector #1): Connector pin out Signal Notes A1 I/O #1 Configurable I/O #1 B1 I/O #2 Configurable I/O #2 C1 CAN HI CAN HI data line (J1939) D1 CAN LO CAN LO data line (J1939) E1 Power (-) Module power return F1 Power (+) Module power (9-32VDC) Supply should be protected by 500mA-rated circuit breaker / fuse page 21
8. SKIM 8 I/O Electrical Connection - Continued The SKIM can be wired (connectors #2 and #3) to the vehicle electric system using the one of the following Mating Delphi GT Series 150 3.5 mm Centerline Connectors: #15491547 3 pin (connector #2) #15373426 3 pin (connector. # 3) Pinout diagram for SKIM 8 I/O (connectors #2 and #3): Connectors pin out Signal Notes A2 I/O #3 Configurable I/O #3 B2 I/O #4 Configurable I/O #4 C2 I/O #5 Configurable I/O #5 A3 I/O #6 Configurable I/O #6 B3 I/O #7 Configurable I/O #7 C3 I/O #8 Configurable I/O #8 page 22
9. Electrical Specifications INPUTS Digital Pulse counter Frequency Input Mode Digital Input Mode Voltage Input Mode Resistance Mode Current Input Mode Signal Level Frequency Range Resolution Accuracy 4 to 32 V 1 to 2500 Hz 50 ns ± 0.01 % Signal Level Resolution Accuracy 4 to 32 V --- --- Range Resolution Accuracy 0 to 12 V 0 to 32 V 12 mv 32 mv ± 1 % ± 2 % Range Resolution Accuracy Precision 0 to 400 Ω --- ± 2 % ± 1 Ω Range Resolution Accuracy Precision 0 to 25 ma --- ± 1% ± 50 ua page 23
OUTPUTS COMMUNICATION
10. Typical J1939 wiring topology Most modern engine installations include a harness with built in J1939 backbone. (Check engine manufacturer's documentation). If not, it is critical to use twisted shielded pair with a drain wire (max length 40m) terminated with 120 ohm resistors at each end. In addition, all stubs shoud not exceed 1m in length. Termination Resistor (120 ohm) Backbone (Max length 40m) SKIM module I/O#1 I/O#2 J1939 external device Stub (Max length 1m) SKIM module I/O#1 I/O#8 Termination Resistor (120 ohm) page 25
11. SKIM Typical I/O Applications VBATT VBATT SKIM 750R 6K8 I/0 Shunt 200R Protection Low side Switch 30 K SKIM Schematic I/O Bloc Diagram page 26
11.1 Analog Input Applications VBATT SKIM SKIM 750R I/0 0-400 Ohms I/0 0-12 VDC 0-32 VDC I/0 Ohm meter input mode Volt meter input mode SKIM I/0 Shunt 200R 0-25 ma Ampere meter input mode page 27
11.2 Digital Output Applications VBATT SKIM VBATT SKIM Load: 0-750 ma 0-25 khz I/0 Pull Option 6K8 Low side Switch Load >= 10K 0-25 khz I/0 Low side Switch Low side output mode Low side ouput mode (with pull option) page 28
11.3 Digital Input Applications VBATT SKIM VBATT VBATT SKIM Pull Option Pull Option 6K8 External Pull Option 6K8 I/0 I/0 0-2500 Hz 4-32 VDC Frequency Meter Input Mode Pulse Counter Input Mode Switch Input Mode (Low Side) VBATT SKIM I/0 30K Switch Input Mode (High Side) page 29
12. Mechanical characteristics TBD page 30
13. Maintenance and troubleshooting No regular maintenance is required. If you are experiencing operating problems with SKIM, check these diagnostics: Problem Unit does not power up Unit does not communicate Unit does not give output Possible solution Ensure connections to unit are correct. Ensure power source is present. Ensure power source is present. Ensure connections to unit are correct. Ensure connections to J1939 network. Ensure connections to unit are correct. page 31
14. Glossary BYTE CAN J1939 PWM Means 8 bits. Controller Area Network (also referred to as CANbus); serial communication protocol for automotive use. SAE engine data protocol using CAN 2.0B. Pulse Width Modulation. page 32
15. Important safety and legal information Under no circumstances shall Kongsberg Automotive or any of its subsidiary companies accept liability for any loss of data, income, incidental damage or consequential losses incurred as a result of the use of the product howsoever caused when used as a monitor for electronically-controlled engines / transmissions or other systems. Reproduction, transfer, distribution or storage of part or all of the contents in this document in any form without written permission of Kongsberg Automotive is prohibited. Kongsberg Automotive operates a policy of continuous improvement. Kongsberg Automotive reserves the right to alter and improve SKIM module and the KGCT software without prior notice. page 33
Kongsberg Automotive: Christopher Martin Road Basildon, Essex England SS143ES Tel: +44(0)1268 522861 Fax: +44(0)1268 282994 90, 28e Rue Grand-Mere (Qc) Canada G9T 7E9 Tel: (819)533-3201 Fax:(819)533-5317 Email: skim.info@ka-group.com www.kongsbergautomotive.com C Kongsberg Automotive 2011 Specifications subject to change without notice. Any trademark used are recognised and are the property of thier respective owners. Part Number: P03882A00 December 2011
Kongsberg Automotive: Christopher Martin Road Basildon, Essex England SS143ES Tel: +44(0)1268 522861 Fax: +44(0)1268 282994 90, 28e Rue Grand-Mere (Qc) Canada G9T 7E9 Tel: (819)533-3201 Fax:(819)533-5317 Email: skim.info@ka-group.com www.kongsbergautomotive.com C Kongsberg Automotive 2011 Specifications subject to change without notice. Any trademark used are recognised and are the property of thier respective owners. Part Number: P03882A00 December 2011