1、_ SAE Technical 6WDQGDUGV%RDUG5XOHVSURYLGHWKDW7KLVUHSRUWLVSXEOLVKHGE 6$(WRDGYDQFHWKHVWDWHRIWHFKQLFDODQGHQJLQHHULQJVFLHQF es. The use of this report is entirely voluntary, and its applicability and suitability for any particular use, including any patenWLQIULQJHPHQWDULVLQJWKHUHIURPLVWKHVROHUHVSRQVLEL
2、OLWRIWKHXVHU SAE reviews each technical report at least every five years at which time it may be revised, reaffirmed, stabilized, or cancelled. SAE invites your written comments and suggestions. Copyright 2014 SAE International All rights reserved. No part of this publication may be reproduced, stor
3、ed in a retrieval system or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of SAE. TO PLACE A DOCUMENT ORDER: Tel: 877-606-7323 (inside USA and Canada) Tel: +1 724-776-4970 (outside USA) Fax: 724-776-0790
4、Email: CustomerServicesae.org SAE WEB ADDRESS: http:/www.sae.org SAE values your input. To provide feedback on this Technical Report, please visit http:/www.sae.org/technical/standards/J2799_201404 SURFACE VEHICLE STANDARD J2799 APR2014 Issued 2010-03 Revised 2014-04 Superseding J2799 MAR2010 (R) Hy
5、drogen Surface Vehicle to Station Communications Hardware and Software RATIONALE This SAE standard is being revised to incorporate technical revisions and clarifications. 7KHWLWOHRIWKLV6WDQGDUGLVEHLQJFKDQJHGIURPWKHRULJLQDO 70 MPa Compressed Hydrogen Surface Vehicle Fuelling Connection Device and Opt
6、ional Vehicle to Station CommunicationssWRWKHPRUHDSSURSULDWHWLWOH Hydrogen Surface Vehicle to Station Communications Hardware and SoftwareIRUUHDVRQVHSODLQHGLQWKHIROORZLQJSDUDJUDSKV 7KHRULJLQDO6HFWLRQ03DIXHOLQJFRQQHFWLRQGHYLFH has been deleted from this standard and all material regarding the 70MPa f
7、ueling device (receptacle geometry specifications, verification testing, tooling fixture dimensions and marking requirements) has been incorporated into SAE J2600, Standard for Compressed Hydrogen Surface Vehicle Fueling Connection Devices. The rationale for moving this material was to aggregate the
8、 hardware specifications and validation requirements for all pressure classes of hydrogen fueling devices into one document. The original Section 5 (now 6) 9HKLFOH WR 6WDWLRQ Communications HYLFH SUHVHQWV communications hardware requirements as well as the software and design verification test crite
9、ria. This section has been revised to reflect field experiences gained since early implementation of these communications protocols and hardware devices. Validation of dispenser side communications is to be defined by other standards, such as HGV 4.3. The physical and functional requirements are unc
10、hanged but some of the figures and tables in the standard have been improved. The original communications protocol from the TIR J2799 is being updated in this version V.1.1 mainly to increase the amount of OD characters (for use as per SAE J2601) and remove unused characters. SAE INTERNATIONAL J2799
11、 Revised APR2014 Page 2 of 33 TABLE OF CONTENTS 1. SCOPE 2 1.1 GASEOUS HYDROGEN FUELING SYSTEM BACKGROUND . 3 2. REFERENCES 3 2.1 Applicable Documents 3 2.1.1 IrDA Publications . 3 2.1.2 SAE Publications . 4 2.1.3 SAE Technical Papers 4 2.1.4 WE-NET Publications 4 3. DEFINITIONS . 4 4. COMPRESSED HY
12、DROGEN SURFACE VEHICLE TO STATION COMMUNICATIONS DEVICE 6 4.1 PHYSICAL AND FUNCTIONAL REQUIREMENTS . 6 4.2 Communications Hardware for Gaseous Fueling . 10 4.3 Communications Definition Version 01.00 11 4.4 Communications Definition (Version 01.10) 13 4.5 Verification Tests . 15 4.6 Verification of
13、a Gaseous Hydrogen Communications System in a Dispenser 19 5. NOTES 20 5.1 Marginal Indicia . 20 APPENDIX A FAST FRAME CHECK SEQUENCE (FCS) 21 APPENDIX B IRDA FRAME EXAMPLES 31 APPENDIX C FUTURE REVISIONS OF SAE J2799 33 FIGURE 1 OVERALL GASEOUS HYDROGEN FUELING SYSTEM 3 FIGURE 2 CONNECTOR WITH INFR
14、ARED COMMUNICATIONS LINK . 5 FIGURE 4 IR FRAME. 7 FIGURE 5 RECEIVER TRANSPARENCY STATE MACHINE . 8 FIGURE 6 VERIFICATION TEST SETUP 16 FIGURE 7 VEHICLE TRANSMITTER (FRONT VIEW) 18 FIGURE 8 NOZZLE RECEIVER (FRONT VIEW) 18 FIGURE 9 VEHICLE RECEPTACLE (SIDE VIEW) 19 TABLE 1 DATA LINK FRAMING 7 TABLE 2
15、DELIMITER PERMUTATIONS AND INTERPRETATIONS 9 TABLE 3 VALUE CHECK PERMUTATIONS AND INTERPRETATIONS . 9 TABLE 5 TEST SCENARIOS . 16 TABLE 6 BIT ERROR RATIO . 17 1. SCOPE This standard specifies the communications hardware and software requirements for fueling Hydrogen Surface Vehicles (HSV), such as f
16、uel cell vehicles, but may also be used where appropriate, with heavy duty vehicles (e.g., busses) and industrial trucks (e.g., forklifts) with compressed hydrogen storage. It contains a description of the communications hardware and communications protocol that may be used to refuel the HSV. The in
17、tent of this standard is to enable harmonized development and implementation of the hydrogen fueling interfaces. This standard is intended to be used in conjunction with the hydrogen fueling protocol, SAE J2601, Compressed Hydrogen Light Duty Vehicle Fueling Protocol and SAE J2600, Compressed Hydrog
18、en Surface Vehicle Fueling Connection Devices. SAE INTERNATIONAL J2799 Revised APR2014 Page 3 of 33 1.1 Gaseous Hydrogen Fueling System Background The overall hydrogen fueling system consists of a dispenser, HSV, and hydrogen fueling coupling. The nozzle and receptacle mechanically couples the hydro
19、gen fueling system (dispenser) and the HSV, and allows hydrogen gas to flow between them. The interface between the two is defined as the fueling interface. The data is transmitted from the IR Transmitter on the HSV to the IR Receiver on the dispenser. See Figure 1. FIGURE 1 - OVERALL GASEOUS HYDROG
20、EN FUELING SYSTEM 2. REFERENCES 2.1 Applicable Documents The following publications form a part of this specification to the extent specified herein. Unless otherwise indicated, the latest issue of SAE publications shall apply. 2.1.1 IrDA Publications IrDA IrPHY 1.4 IrDA Serial Infrared Physical Lay
21、er Specification IrDA IrLAP 1.1 Serial Infrared Link Access Protocol IrDA Physical Layer Measurement Guidelines V1.1, 8 Sept 2000 SAE INTERNATIONAL J2799 Revised APR2014 Page 4 of 33 2.1.2 SAE Publications Available from SAE International, 400 Commonwealth Drive, Warrendale, PA 15096-0001, Tel: 877-
22、606-7323 (inside USA and Canada) or 724-776-4970 (outside USA), www.sae.org. The following publications are for information purposes only and are not a required part of this standard. J2574 Information Report - Fuel Cell Vehicle Terminology J2578 Recommended Practice for General Fuel Cell Vehicle Sa
23、fety J2579 Standard for Hydrogen Storage Safety J2600 Standard- Compressed Hydrogen Surface Vehicle Fueling Connection Devices J2601 Fueling Protocols for Light Duty Gaseous Hydrogen Surface Vehicles J2601-2 Fueling Protocols for Heavy Duty Gaseous Hydrogen Surface Vehicles J2601-3 Fueling Protocols
24、 for Heavy Duty Gaseous Industrial Trucks J2760 Information Report Pressure Terminology Used in fuel Cells and Other Hydrogen Vehicle Applications AS568 Size Standard for O-Rings Available from SAE, 400 Commonwealth Drive, Warrendale, PA 15096-0001, Tel: 877-606-7323 (inside USA and Canada) or 724-7
25、76-4970 (outside USA), www.sae.org. 2.1.3 SAE Technical Papers SAE Paper 2014-01-1833 - 9DOLGDWLRQDQG6HQVLWLYLW6WXGLHVRI6$(-WKH/LJKWXW9HKLFOH )XHOLQJ6WDQGDUGSchneider, J., Meadows, G. Mathison, S., Greisel, M., Veenstra, M., Wistoft-Ibsen, M et al. 2.1.4 WE-NET Publications WE-NET Task 7A- scenarios
26、 7 to 12 test the highest received power scenarios; and scenarios 13 to 16 test a dark ambient light. 4.5.1.3 Transient Lighting Test In addition to the above scenarios the transient effects of lighting shall be tested by repeating the poorest performing scenario in which a simulated light source is
27、 used. However, during transmission, the simulated light source is turned on for 10 5 seconds and then off for 10 5 seconds. This is repeated throughout the duration of the test. 4.5.1.4 Transmission Definition For each scenario specified above the transmitting side shall send 65,536 messages, each
28、containing 9 unsigned word length numbers (1,179,648 bytes total). The algorithm to generate the data to be transmitted is included as follows. For Message_Number = 0 to 65535 step 1 For Word = 0 to 8 step 1 Data(2*Word) = Low_Byte(Message_Number) Data(2*Word+1) = High_Byte(Message_Number) Next Call
29、 Transmit_Data Next Each message shall contain the pre- and post-signal data as required for communications synchronization. The messages shall not contain a data length filed, as the messages for this test are of fixed length. The messages shall not contain error-checking fields. The transmit contr
30、oller shall maintain a message frequency of 10 Hz. 4.5.1.5 Test Criteria When the transmission is complete the data will be checked bit-for-bit. The number of incorrect bits will be recorded to determine the Bit Error Ratio (BER) for the test as shown in Table 6. TABLE 6 - BIT ERROR RATIO Incorrect
31、Bits BER 0 #include #include / CRC parameters (default values are for CCITT 16 Bit): const int order = 16; const unsigned long polynom = 0x1021; const int direct = 1; const unsigned long crcinit = 0x0000; const unsigned long crcxor = 0x00; SAE INTERNATIONAL J2799 Revised APR2014 Page 22 of 33 const
32、int refin = 1; const int refout = 1; / order 132 is the CRC polynom order, counted without the leading 1 bit / polynom is the CRC polynom without leading 1 bit / direct 0,1 specifies the kind of algorithm: 1=direct, no augmented zero bits / crcinit is the initial CRC value belonging to that algorith
33、m / crcxor is the final XOR value / refin 0,1 specifies if a data byte is reflected before processing (UART) or not / refout 0,1 specifies if the CRC will be reflected before XOR / SAE J2799 msg control codes #define XBOF_sym 0xFF / Extra Begin of Frame #define BOF_sym 0xC0 / Begin of Frame #define
34、EOF_sym 0xC1 / End of Frame #define CE_sym 0x7D / Control Escape / Data character string / no transparency unsigned char msgdata = “|ID=SAEpJ2799|VN=01.00|TV=0119.0|RT=H70|FC=Halt|MP=050.0|MT=273.0|“; / with transparency unsigned char msgdata_2 = “|ID=SAEpJ2799|VN=01.00|TV=0119.0|RT=H70|FC=Dyna|MP=0
35、25.1|MT=234.0|“; / internal global values: unsigned long crcmask; unsigned long crchighbit; unsigned long crcinit_direct; unsigned long crcinit_nondirect; unsigned long crctab256; SAE INTERNATIONAL J2799 Revised APR2014 Page 23 of 33 / subroutines unsigned long reflect (unsigned long crc, int bitnum
36、) / reflects the lower bitnum bits of crc unsigned long i, j=1, crcout=0; for (i=(unsigned long)1=1) if (crc j (order-8) else while (len-) crc = (crc 8) crctab (crc if (refoutrefin) crc = reflect(crc, order); crc= crcxor; crc return(crc); unsigned long crcbitbybitfast(unsigned char* p, unsigned long
37、 len) / fast bit by bit algorithm without augmented zero bytes. / does not use lookup table, suited for polynom orders between 1.32. unsigned long i, j, c, bit; unsigned long crc = crcinit_direct; for (i=0; i=1) bit = crc crc8) switch (crc_part1) case XBOF_sym: case BOF_sym: case EOF_sym: SAE INTERN
38、ATIONAL J2799 Revised APR2014 Page 26 of 33 case CE_sym: crc.crc_bytes3= CE_sym; crc.crc_bytes2= (crc_part10x20); Transparency=true; break; default: crc.crc_bytes2= crc_part1; crc.crc_bytes3= 0; crc_part2= (unsigned char)(crc_in switch (crc_part2) case XBOF_sym: case BOF_sym: case EOF_sym: case CE_s
39、ym: crc.crc_bytes1= CE_sym; crc.crc_bytes0= (crc_part20x20); Transparency=true; break; default: crc.crc_bytes0= crc_part2; crc.crc_bytes1= 0; if (Transparency) return crc.crc_value; SAE INTERNATIONAL J2799 Revised APR2014 Page 27 of 33 else return crc.crc_bytes0 | (crc.crc_bytes2= 1; if (bit) crc|=
40、crchighbit; crcinit_nondirect = crc; / call CRC algorithms using the CRC parameters above and print result to the console printf(“n“); printf(“CCITT tester for SAE J2799 VN=01.00nwritten on 20/05/2011 by J. Zaepf (GM APCE / ADAM OPEL AG)n“); printf(“(based on CRC tester v1.3 written on 4th of Februa
41、ry 2003 by Sven Reifegerste)n“); printf(“-n“); SAE INTERNATIONAL J2799 Revised APR2014 Page 29 of 33 printf(“n“); printf(“Parameters:n“); printf(“n“); printf(“ polynom : 0x%xn“, polynom); printf(“ order : %dn“, order); printf(“ crcinit : 0x%x direct, 0x%x nondirectn“, crcinit_direct, crcinit_nondire
42、ct); printf(“ crcxor : 0x%xn“, crcxor); printf(“ refin : %dn“, refin); printf(“ refout : %dn“, refout); printf(“n“); printf(“ Default msg data 1:n |ID=SAEpJ2799|VN=01.00|TV=0119.0|RT=H70|FC=Halt|MP=050.0|MT=273.0|nn“); printf(“ Default msg data 2 (with transparency):n |ID=SAEpJ2799|VN=01.00|TV=0119.
43、0|RT=H70|FC=Dyna|MP=025.1|MT=234.0|nn“); printf(“ Enter msg data string or press 1 or 2 for default calculation:n “); ii=0; recchar= _getch(); if (recchar=50) msgdata_ptr= msgdata_2; else if (recchar=49) msgdata_ptr= msgdata; else while (recchar!=13) printf(“%c“,recchar); msgdataii=recchar; recchar=
44、 _getch(); ii+; SAE INTERNATIONAL J2799 Revised APR2014 Page 30 of 33 msgdata_ptr= msgdata; printf(“nn msg data string:n %s (%d bytes)n“, msgdata_ptr, msglen(msgdata_ptr); printf(“n“); printf(“Results:n“); printf(“n“); printf(“ ccitt crc bit by bit fast : 0x%xn“, crcbitbybitfast(msgdata_ptr, msglen(
45、msgdata_ptr); printf(“ ccitt crc table fast : 0x%xn“, crctablefast(msgdata_ptr, msglen(msgdata_ptr); if (crcbitbybitfast(msgdata, msglen(msgdata) != chk_transparency(crctablefast(msgdata_ptr, msglen(msgdata_ptr) printf(“ transparency ! crc modified: 0x%xn“, chk_transparency(crctablefast(msgdata_ptr, msglen(msgdata_ptr); else printf(“ no transparency n“); _getch(); return(0);
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1