1、BRITISH STANDARD BS ISO/IEC 16022:2006Information technology Automatic identification and data capture techniques Data Matrix bar code symbology specificationICS 01.080.50; 35.040 nullnull nullnullnullnullnullnullnull nullnullnullnullnullnullnull nullnullnull nullnullnullnullnullnullnullnullnullnull
2、 nullnullnullnullnullnull nullnull nullnullnullnullnullnullnullnullnull nullnull nullnullnullnullnullnullnullnullnull nullnullnullIncorporating Corrigenda October 2008and February 2011National forewordThis British Standard is the UK implementation of ISO/IEC 16022:2006, incorporating corrigenda Octo
3、ber 2008 and February 2011. It supersedes BS ISO/IEC 16022:2000 which is withdrawn.The start and finish of text introduced or altered by corrigendum is indicated in the text by tags. Text altered by ISO/IEC corrigendum October 2008 is indicated in the text by . Text altered by ISO/IEC corrigendum Fe
4、bruary 2011 is indicated in the text by . The UK participation in its preparation was entrusted by Technical Committee IST/34, Automatic identification and data capture techniques.A list of organizations represented on this committee can be obtained on request to its secretary.This publication does
5、not purport to include all the necessary provisions of a contract. Users are responsible for its correct application.Compliance with a British Standard cannot confer immunity from legal obligations.BS ISO/IEC 16022:2006This British Standard was published under the authority of the Standards Policy a
6、nd Strategy Committee on 31 October 2006 BSI 2011Amendments/corrigenda issued since publicationDate Comments 30 June 2009 Implementation of ISO/IEC corrigendum October 200830 June 2011 Implementation of ISO/IEC corrigendum February 2011ISBN 978 0 580 73412 0Reference numberISO/IEC 16022:2006(E)INTER
7、NATIONAL STANDARDISO/IEC16022Second edition2006-09-15Information technology Automatic identification and data capture techniques Data Matrix bar code symbology specificationTechnologies de linformation Techniques didentification automatique et de capture des donnes Spcification de symbologie de code
8、 barres Data MatrixBS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)ii iiiContents PageForeword. viiIntroduction. viii1 Scope. 12 Normative references. 13 Terms, definitions, symbols and abbreviated terms, and mathematical/logical notations 23.1 Terms and definitions. 23.2 Symbols and abbreviations. 23.3
9、Mathematical/logical notations . 34 Symbol description. 34.1 Basic characteristics 34.2 Summary of additional features44.3 Symbol structure 44.3.1 Finder pattern 54.3.2 Symbol sizes and capacities. 55 ECC 200 requirements 55.1 Encode procedure overview 55.2 Data encodation 65.2.1 Overview 65.2.2 Def
10、ault character interpretation 65.2.3 ASCII encodation75.2.4 Symbologycontrol characters 75.2.5 C40 encodation. 95.2.6 Text encodation 115.2.7 ANSI X12 encodation 115.2.8 EDIFACTencodation 125.2.9 Base 256 encodation 125.3 User considerations .135.3.1 User selection of Extended Channel Interpretation
11、 135.3.2 User selection of symbol sizeand shape 135.4 Extended Channel Interpretation 135.4.1 Encoding ECIs. 145.4.2 ECIs and Structured Append. 155.4.3 Post-decode protocol. 155.5 ECC 200 symbol attributes 155.5.1 Symbol sizes and capacity 155.5.2 Insertion of Alignment Patterns into larger symbols
12、 175.6 Structured Append .175.6.1 Basic principles 175.6.2 Symbol sequence indicator. 175.6.3 File identification 185.6.4 FNC1 and Structured Append . 185.6.5 Buffered and unbuffered operation 185.7 Error detection and correction 185.7.1 Reed-Solomon error correction 185.7.2Generating the error corr
13、ection codewords 185.7.3Error correction capacity. 195.8 Symbol construction 205.8.1 Symbol characterplacement. 205.8.2 Alignment Pattern module placement20BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)iv 5.8.3 Finder Pattern module placement.206 ECC 000 - 140 requirements.216.1 Use recommendations216.
14、2 Encode procedure overview216.3 Data encodation216.3.1 Base 11 - Numeric encodation.236.3.2 Base 27 - Upper-case Alphabetic encodation236.3.3Base 37 - Upper-case Alphanumeric encodation 236.3.4 Base 41 - Upper-case Alphanumeric plus Punctuation encodation246.3.5 ASCII encodation 246.3.6 8-bit byte
15、encodation246.4User selection of error correction level246.4.1Selection of error correction level.246.4.2 Other error correction levels based on convolutional code algorithms.256.5 Constructing the Unprotected Bit Stream256.5.1 Format ID Bit Field256.5.2 CRC Bit Field .256.5.3 Data Length Bit Field2
16、56.5.4 Data prefix construction.256.5.5 Completing the Unprotected Bit Stream.266.6 Constructing the Unrandomised Bit Stream266.6.1 Headerconstruction.266.6.2 Applying convolutional coding to create the Protected Bit Stream266.6.3 Trailer construction 276.6.4 Completing the Unrandomised Bit Stream.2
17、76.7 Patternrandomising.276.8 Module placement in matrix.277 Symbol dimensions277.1 Dimensions277.2 Quiet zone278 Symbol quality.278.1 Symbol quality parameters288.1.1 Fixed pattern damage.288.1.2 Scan grade and overall symbol grade288.1.3 Grid non-uniformity 288.2 Process control measurements.289 R
18、eference decode algorithm for Data Matrix .2810 User guidelines.3810.1 Human readable interpretation3810.2 Autodiscrimination capability3810.3 System considerations.3811 Transmitted data.3811.1 Protocol for FNC1 (ECC 200 only).3811.2 Protocol for FNC1 in thesecond position (ECC 200 only) .3811.3 Pro
19、tocol for Macro characters in the first position (ECC 200 only).3811.4 Protocol for ECIs (ECC 200 only) 3911.5 Symbologyidentifier.3911.6 Transmitted data example39Annex A (normative) ECC 200 interleaving process40A.1 Schematic illustration.40A.2Starting sequence for interleaving in different sized
20、symbols 40Annex B (normative) ECC 200 pattern randomising43B.1 253-state algorithm.43B.1.1 253-state randomising algorithm.43B.1.2 253-state un-randomising algorithm.43B.2 255-state algorithm.44BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)vB.2.1 255-state randomising algorithm 44B.2.2 255-state un-ran
21、domising algorithm. 44Annex C (normative) ECC 200 encodation character sets 45C.1 C40 encodation character set 45C.2 Text encodation character set. 46C.3 EDIFACT encodation character set. 47Annex D (normative) ECC 200 alignment patterns 48Annex E (normative) ECC 200 Reed-Solomon error detection and
22、correction 50E.1 Error correction codeword generator polynomials. 50E.2 Error correction calculation. 52E.3 Calculation of error correction codewords 53Annex F (normative) ECC 200 symbol character placement 55F.1 Symbol character placement. 55F.2 Symbol character placement rules. 57F.2.1 Non-standar
23、d symbol character shapes 57F.2.2 Symbol characterarrangement. 60F.3 Symbol character placement examples for ECC 200 63Annex G (normative) ECC 000 - 140 symbol attributes. 68G.1 ECC 000 . 68G.2 ECC 050 . 69G.3 ECC 080 . 70G.4 ECC 100 . 71G.5 ECC 140 . 72Annex H (normative) ECC 000 - 140 data module
24、placement grids. 73Annex I (normative) ECC 000 - 140 character encodation schemes 90I.1 Base 11 encodation scheme 94I.1.1 First stage procedure.94I.1.2 Second stage procedure94I.1.3 Example. 94I.2 Base 27 encodation scheme 95I.2.1 First stage procedure.95I.2.2 Second stage procedure95I.2.3 Example.
25、95I.3 Base 37 encodation scheme 96I.3.1 First stage procedure.96I.3.2 Second stage procedure96I.3.3 Example. 96I.4 Base 41 encodation scheme 97I.4.1 First stage procedure.97I.4.2 Second stage procedure97I.4.3 Example. 97Annex J (normative) ECC 000 - 140 CRC algorithm 98J.1 CRC state machine. 98J.2 C
26、RC polynomial 98J.3 CRC 2-byte header 98Annex K (normative) ECC 000 - 140 error checking and correcting algorithms 100K.1 ECC 000 . 100K.2 ECC 050 . 100K.3 ECC 080 . 100K.4 ECC 100 . 100K.5 ECC 140 . 100K.6Processing the convolutional code 100K.7 Convolutional codes reference decode algorithm 101Ann
27、ex L (normative) ECC 000 - 140 Master Random Bit Stream (in hexadecimal) 104BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)vi Annex M (normative) Data Matrix print quality symbology-specific aspects105M.1Data Matrix Fixed Pattern Damage105M.1.1 Features to be assessed 105M.1.2 Grading of the outside L o
28、f the fixed pattern.105M.1.3 Grading of the clock track and adjacent solid area segments.107M.1.4 Calculation and grading of average grade.111M.2 Scan grade.112Annex N (normative) Symbology identifier.113Annex O (informative) ECC 200 encode example.114Annex P (informative) Encoding data using the mi
29、nimum symbol data characters for ECC 200.116Annex Q (informative) ECC 000 - 140 encode example using ECC 050.120Q.1 Encode example120Q.2 CRC calculation for example.125Annex R (informative) Useful process control techniques.128R.1 Symbol contrast128R.2 Special reference symbol.128R.3 Assessing Axial
30、 Nonuniformity.129R.4 Visual inspection for symbol distortion and defects129Annex S (informative) Autodiscrimination capability130Annex T (informative) System considerations.131Bibliography.132BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)viiForeword ISO (the International Organization for Standardizat
31、ion) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members ofISO or IEC participate in the development of International Standards through technical committeesestablished by the respective organization to de
32、al with particular fields of technical activity. ISO and IECtechnical committees collaborate in fields ofmutual interest. Other internationa l organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IE
33、C have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the j
34、oint technical committee are circulated to national bodies for voting. Publication asan International Standard requires approval byat least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights
35、. ISO and IEC shall not be held responsible for identifying anyor all such patent rights. ISO/IEC 16022 was prepared by Joint Technical Committee ISO/IEC JTC1, Information technology, Subcommittee SC 31, Automatic identification and data capture techniques. This second edition cancels and replaces t
36、he first edition (ISO/IEC 16022:2000), which has been technically revised. It also incorporates the Technical Corrigendum ISO/IEC 16022:2000/Cor.1:2004. BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)viii Introduction Data Matrix is a two-dimensional matrix symbology which is made up of nominally square
37、 modules arrangedwithin a perimeter finder pattern. Though primarily shown and described in this International Standard as a dark symbol on light background, Data Matrix symbols can also be printed to appear as light on dark.Manufacturers of bar code equipment and users of the technology require pub
38、licly available standardsymbology specifications towhic h they can refer when deve loping equipment and application standards. The publication of standardised symbolog y specifications is designed to achieve this. BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)Information technology Automatic identifica
39、tion and data capture techniques Data Matrix bar code symbologyspecification 1 Scope This International Standard defines the requirements for the symbology known as Data Matrix. It specifies theData Matrix symbology characteristics, data character encodation, symbol formats, dimensions and print qua
40、lity requirements, errorcorrection rules, decoding algorithm, and user-selectable application parameters.It applies to all Data Matrix symbols produced byany printing or marking technolog y. 2 NormativereferencesThe following referenced documents are indispensable for the application of this documen
41、t. For datedreferences, only the edition cited applies. For undated references, the latest edition of the r eferenceddocument (including anyamendments) applies.ISO/IEC 15424, Information technology Automatic identification and data capture techniques Data Carrier Identifiers (including Symbology Ide
42、ntifiers)ISO/IEC 19762-1, Information technology Automatic identification and data capture (AIDC) techniques Harmonized vocabulary Part 1: General terms relating to AIDCISO/IEC 19762-2, Information technology Automatic identification and data capture (AIDC) techniques Harmonized vocabulary Part 2: O
43、ptically readable media (ORM )ISO/IEC 15415, Information technology Automatic identification and data capture techniques Bar code print quality test specification Two-dimensional symbolsISO/IEC 15416, Information technology Automatic identification and data capture techniques Bar code print quality
44、test specification Linear symbolsISO/IEC 646:1991, Information technology ISO 7-bit coded character set for information interchangeISO/IEC 8859-1, Information technology 8-bit single-byte coded graphic character sets Part1: Latin alphabet No. 1 ISO/IEC 8859-5:1999, Information technology 8-bit singl
45、e-byte coded graphic character sets Part5: Latin/Cyrillic alphabetAIM Inc. ITS/04-001 International Technical Standard: Extended Channel Interpretations Part1: Identification Schemes and Protocol1BS ISO/IEC 16022:2006ISO/IEC 16022:2006 (E)2 3 Terms, definitions, symbols and mathematical/logical nota
46、tions3.1Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 19762-1, ISO/IEC 19762-2 and the following apply. 3.1.1 codeword symbol character value, an intermediate level of coding between source data and the graphical encodation in the symbol3.1.2 mod
47、ulesingle cellin a matrix symbologyused to encode one bit of data, nominallya square shape in Data Matrix3.1.3 convolutional coding error checking and correcting (ECC) algorithm that processes a set of input bits into a set of output bits thatcan recover from damage by breaking the input bits into b
48、locks, then convolv ing each input block with thecontents of a multi-stage shift register to produce protected output blocksNOTE These encoders can be constructed in hardware using input and output switches, shift registers, andexclusive-or (XOR) gates. 3.1.4 pattern randomising procedure to convert
49、 an original bit pattern to another bit pattern, intended to reduce the probabilityof repeating patterns occurring in the symbol, by inverting selected bits3.2 Symbols For the purposes of this document, the following mathematical symbols applyunless defined locally.d number of error correction codewordse number of erasuresk (for ECC 000 - 140) the number of bits in a complete segment input to the state machine to generate the convolutional code (for ECC 200) total number of error correction codewordsm the memory order of the con