Wigan and ABA magnetic card coding generator principle and implementation method

I. Introduction

With the development of society, the people's living water has been gradually improved, and the requirements for the quality of life and the working and living environment have become higher and higher. In order to meet people's needs, various related products have emerged as the times require, and as the main tool for human-machine data exchange, various types of cards have entered various fields of life. However, since the cards and card readers used in different fields have not yet formed a unified specification, cardholders need to use the same card to implement different functions, which brings great inconvenience to the use. In order to resolve this contradiction, people hope to establish a "one card" system. “All-in-one card” requires the same card to be used in the entire system to complete all functions, but because many different types of subsystems that make up the “one-card” system often have different reader interfaces, it brings difficulties to system integration.

Through the investigation and analysis of common readers and controllers on the market, it is found that RS232/RS485 interface is used in the parking lot and consumer field. The mainstream of the access control field such as access control is the Wiegand interface, while the banking system Credit cards generally use the ABA magnetic card interface. In response to this situation, we have developed this Wiegand and ABA magnetic card code generator. This code generator can be used to convert the reader output of the RS2 32/RS48 5 interface into standard Wiegand and ABA magnetic card coded outputs. In this way the formation of "One Card" system that is only use a card reader with RS232 / RS48 5 interface, ensure unified reader type used in the system, but also to ensure complete use of all the features of the same cards. When storing some controllers I must use a controller with a Wiegand or magnetic card interface, you can use the code generator introduced by the wooden text to complete the data exchange, which brings convenience for the construction of the "one card" system. In addition, the encoder generator can be used to output special codes for system debugging.

Second, Wigan coding interface

Wiegand coding protocols include 26-bit, 34-bit, and 42-bit formats. Taking the 26-bit format as an example, it consists of 26 binary digits. The 0th and 25th bits are parity bits, and the middle 24 bits are data bits. The 0th bit is the even parity bit of the 1st to 12th bit data, and the 25th bit is the odd parity bit of the 13th to 24th data. Other formats are similar to 26 bits, except that the number of bits of data is different.

A card reader with a Wiegand coded output outputs an encoded signal through two data lines DATA0 and DATA1. 1, under normal circumstances, DATA 0 and DATA 1 are high, the data is generated when the output interval is 2m s, the width of 5O uS low pulse output card. DATA O and DATA 1 respectively output O and 1 of the card number binary code.

Wiegand protocol timing diagram

Figure 1 Wiegand protocol timing diagram

Third, ABA magnetic card coding interface

The magnetic card uses the magnetic strip attached to the card to record the cardholder's account, name and other information. The information recorded on the magnetic strip adopts the frequency modulation coding technology and has white synchronization capability, which ensures that the magnetic card can output correct data when it passes through the card reader at different speeds. There are generally three tracks on the magnetic card, and the position on each track card is strictly defined in the same standard IS07811/4 and IS078 11/5. At the same time, the international standard I SO78 11/2 stipulates that track 1 records alphanumeric data and can record up to 79 characters or numbers, each character consisting of 7 bits. Track 2 records digital data with a record length of no more than 40 data. Both track 1 and track 2 are read-only tracks. Track 3 records digital data in the same format as Track 2, but can record up to 107 data. Track 3 is a read/write track.

Track 2 data standards developed initially with the Bankers' Association (ABA, Ameri Can Banker SAS SOCiat i On) ​​done by the United States, it includes some basic information such as the unique identification number of the card, the card is valid and so on. Since the data of track 2 contains the unique identification number of the card, in many identification systems such as access control systems, the controller generally uses the data of the second track. This paper also mainly introduces the number coding of the track, other tracks. Data can be converted in a similar way.

IS078 13 defines the standard structure of the second track. Data of the second track is used in ANSI / I S0 BCD data format, each character length of 5 'bit (including parity) which the maximum information length of 40 characters. The 16-character set is used. The first 4 bits are valid data bits, the last bit is the odd parity bit, and when the card information is sent, the low bit is first. (as shown in Table 1)

SS: Start tag. Its code is 0BH.

PAN: Primary account number. The PAN consists of three parts:

1) Cardholder Identification Number: It is the number that identifies the major industry and issuer.
2) Person account ID: It is the number assigned by the card issuance department to an independent unit or individual to identify a separate account.
3) Check digit: Personal account number, followed by a number to make the PAN valid. It is calculated from all the numbers in the PAN except the check digits. The calculation is based on the calculation of the modulo 10 "separated multiply" checksum. It is used to identify the industry in which the card is issued, the card issuer, and the customer identification number with a check digit. The maximum length cannot exceed one hundred digits.

FS: Domain split symbol, encoded as 0DH.
ADATA: Additional data, such as expiration dates, encrypted personal identification codes, and other additional data.
ES: End tag, encoded as 0FH.
LRC: Vertical redundancy check character. Excluding odd parity, each bit of the LRC7 character causes the total number of bits on the corresponding bit of the data information (including the start tag, data, split flag, end tag, and LRC character) to be "1" to be even. The LRC character itself is also appended with a check digit, which is also an odd parity.

Page 1 of 2

Bag Leather includes hard and soft full-grain luggage and handbag leather.Hard requirements of the grain smooth and meticulous, less disabled, shiny , crisp,easy to clean and smoothy, for the production of hand suitcases, travel bags and so on. Soft leather (sofT bag leather) requires a clear grain, soft, plump, thin coating, natural color, leather strong, for the production of soft bags, handbags and so on.Artificial leather is divided into leather (or rubber) and high-level PU two. Imitation Leather or rubber, PVC and PU and other man-made materials in general. It is in the textile cloth or non-woven base, from a variety of different formulations of PVC and PU, such as foam or film processing made of, characterized by a wide variety of waterproof performance, margin neat, high utilization and price Relatively dermis cheap features. Advanced PU, the surface technology is extremely base of the fiber structure, almost to the effect of leather, the price and the price of domestic first-class skin comparable.

bag leather

Bag Leather

Bag Leather,Snake Print Synthetic Bag Leather,Embossed Pu Bag Leather,Pu Leather For Handbag

Dongguan Mulsanne Leather Company Ltd. , https://www.mulsanneleather.com

Posted on