Tracking Codes and How They Work

Tracking Codes and How They Work

Tracking Codes and How They Work > Industrial Traceability 1 Introduction In the past few years, traceability has become a major issue for the industrial sector, since allowing for better tracking and management of products can lead to important cost/savings. Most of the time, this notion of traceability takes the form of barcodes on products. Originally, the well-known, one-dimensional (1D) barcodes were the first barcodes to be created and they have been used ever since due to their simplicity. But due to the limited quantity of information which can be stored in these initial barcodes, a database is needed to interpret the decoded information and to link it to the information of the product. Without the database, the number that is decoded does not mean anything. However, sometimes, a higher density storage of information than the one allowed by 1D codes is needed. So, two-dimensional barcodes were created to store a maximum of information without requiring an accompanying database. State of the Art Code By having the capacity to store information in two-dimensions (2D); these barcodes can store such a density of information that a product and its information can be decoded without using an external database. The code itself can contain information like: the brand, the name of the product, the year of fabrication and so forth. For a given industry, the ability to access this critical information at every step of the production process without the use of an accompanying database greatly facilitates the handling of the product. However, for these codes to be readable by all the subcontractors along the production line, standards for two-dimensional and one-dimensional barcodes needed to be created. Those standards are regulated by associations like the International Organization for Standards (ISO) and the Global Standards 1 (GS1). The ISO is a nongovernmental and international organization that creates norms in various domains. They ensure that the barcodes meet a minimum standard for quality and can fulfil their functions properly. In the barcoding domain, the ISO works in partnership with Global Standards 1 (GS1). The latter is an international organization similar to the ISO, but which specializes in barcodes for products. The GS1 standard demands a particular structure for its barcodes in order to store several types of information. However, before explaining the diverse elements required by these standards, it is important to explain how both two-dimensional and one-dimensional barcodes work. 2 Technical Aspects of 2D Codes Many different structures exist for 2D codes. However, they are all based on the fact that each combination and organization of the black and white pixels is associated with an alphanumeric character. To read a barcode, a photograph is generally taken and analyzed by an image processing software in order to isolate, read and finally interpret the barcode. Among all the different types of two-dimensional codes, there are two main types that are used in most industries: The data matrix (DM) and the quick response (QR) barcode. Data Matrix Data matrix codes, as shown in Figure 1A, are delimited by two black lines with one on the left and one on the bottom in order to facilitate the localization of the code by the image processing software. Furthermore, the other two edges of the code consist of alternating black and white pixels. These lines are used by the computer program which analyses the code to get its main spatial frequency which is related to the size of the smallest element. They also indicate the number of columns and lines. These regions do not contain information, but only facilitate the tracking and decoding of the code. They can also be drawn by red edges as shown in Figure 1B. A B Fig 1: A) Data matrix example B) Data matrix example with red localization pixels 3 Quick Response Code As shown in Figure 2A and 2B; QR codes have a different structure than data matrices. In this case, localization pixels are arranged differently. There are three squares at the corners and one square inside the code for localization, and two lines of alternating black and white pixels for determining the main spatial frequency. Size and Requirements Numerous sizes exist for these two types of barcode. For example, in a QR code with a size of 29 × 29 pixels, 27% of the total number of pixels are used for the localization of the code; whereas for a data matrix code with a size of 22 × 22 pixels, the amount of code used for localization is only 17%. Then, a priori, for a given size, DM codes can store more information than QR codes, because they use a lower percentage of their pixels for localization. Also, it is worth noting that these two kinds of codes are surrounded by a white margin of variable thickness called the quiet zone. This white background is used to facilitate the localization of the code on the image taken by the reading system. A B Fig 2: A) QR code example B) QR code example with red localization pixels 4 DM vs QR Code Furthermore, these two types of codes also have redundant pixels that allow a reading system to interpret the code even though some pixels are damaged or illegible. This immunity to the degradation of the code is quantified by the error correction (EC) level. This number represents the maximum percentage of information containing pixels that can be damaged while still allowing the code to be readable. For example, a DM can have an EC level from 14% to 39%, whereas a QR code can have an EC level of 7% to 30%. Thus, an industry with a lot of handling that could cause damage to the barcode, and that therefore needs a reliable barcode, would find the use of data matrices a good choice due to its higher EC levels. However, if only a minimal EC level is needed, then the QR code might be the best option, because of their low end EC level of 7%. The barcode will therefore be smaller. As a matter of fact, the higher the EC level is, the greater the number of pixels is needed, since more information has to be repeated to arrive at a readable code. Even though DM barcodes are the most reliable and compact solution for industrial needs, QR barcodes are still highly desired in some cases. In fact, QR codes can store a greater number of different symbols such as the Japanese alphabet. Nowadays, these codes are very widespread in the mobile phone industry, because they are easier and faster to read by cellphones than other kinds of 2D code. This can be explained by the larger percentage of pixels that are allocated to localization purposes, since even if the camera of the cellphone is not properly aligned, the reading of the code is still possible. However, QR codes are not appropriate for curved products. For example, in the case of a cylindrical object, it is better to use a rectangular code in such a way that its longest dimensional side does not follow the direction of the curvature. This will facilitate the reading of the code later on. However, QR codes can only have a square shape, whereas DM codes can have square or rectangular shapes, which make them the best solution for certain situations. 5 Technical Aspects of 1D Codes Even though two-dimensional barcodes have a lot of advantages in regards to traceability, one- dimensional barcodes are still used in a lot of industries. As a matter of fact, the writing and reading of these codes are much easier than 2D codes. A lot of different structures and standards also exist for these codes. However, they are all based on the fact that each combination of black and white lines is associated with a symbol (alphanumeric or only numeric, depending on the standard). In everyday situations, UPC-A barcodes are the most frequently used, especially in the commercial world. However, this standard only represents numbers and does not include letters which makes this kind of barcode not very well-adapted to all situations of industrial traceability. In fact, such standards as Code 128 and Code 39 are more omnipresent in commercial sectors. Code 128 owes its name to its capacity to store all the characters of the ASCII 128 (American Standard Code for Information Interchange) set; which consists of numbers, letters and punctuation marks. Code 39 is a less compact equivalent to Code 128 and is largely used in the automotive industry and in the defense sector. On the other hand, Code 128 is mainly used in the internal supply chains of industries to assure the maintenance and handling of products. Fig 3: Example of a 128 code with its different sections: 1. Quiet zone 2. Start/Stop character 3. Code data 4. Validation character 1D Code Structure and Readability As seen in Figure 3, a barcode using the 128 Code structure is divided into several parts with a total of 108 symbols. Each of these parts contains a certain number of symbols. A symbol is a combination which alternates three black lines and three blank spaces of various widths. Each symbol is associated with a particular alphanumeric character that is part of the ASCII 128 set. 6 First of all, the beginning and the end of the barcode are surrounded by the quiet zone, which allows for a better localization of the code during its reading. Then, there are 3 symbols that mark the beginning of the code and the code itself that occupies most of the space with its 103 symbols.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us