Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Author
- JiangZuo
- Advisor
- LingZhiHao
- School
- East China University of Science and Technology
- Major
- Control Science and Engineering
- Classification
- TP274 Data processing, data processing system
- Degree
- Master's thesis
- Year
- 2014
- Downloads
- 20
- Citations
- 0
Abstract
With the development of modern science and technology,the requirement of information processing speed and capacity is improving continually.The development and popularity of the magnetic card technology make it play an irreplaceable role in information storage, handling and transfer process.Now magnetic card has been widely used in banking, education, transportation and other fields.The development in the field of magnetic stripe card production and testing in our country is not smooth.Related technology is very dependent on foreign countries.There is no independent developed streamline magnetic card production and detection system.This paper studies the working principle and process of magnetic detection.The paper designs a magnetic card detection system based on embedded system design and development principle.The magnetic card detection system compares information on the surface of card with information in the magnetic stripe.Then the purpose of verifying the accuracy of card information will be achieved.This paper mainly focuses on the software design of the magnetic card detection system,and also briefly expounds the frame structure of the hardware circuit of detection system.The magnetic stripe reading program uses the decoding chip MRD531B-LQ to decode the electrical signal reading from magnetic head into binary signal.Write the reading program to convert the data stored in the memory to ASCⅡ,according to the magnetic stripe information encoding rules, and data storage format.The program design of image identification uses OpenCV function library for image processing.It will get the target image can be used for identification through the steps such as regional interception,image segmentation,denoising and binaryzation.This paper adopts a recognition method based on characteristic extraction.It extracts four characteristics of a number and classifies it according to the different characteristic values.The program design of communication board is accomplished on the development board SmartCortex M3-1700.The program is writen with the integrated development environment Keil4.The control program is based on embedded real-time operating system μC/OS-Ⅱ.It transplants μC/OS-Ⅱ to the development board,and use API of μC/OS-Ⅱ for program design.The desion of magnetic card detection system was accomplished in Shanghai institute of process automation instrumentation.The detection system has been run tests for a long time,under different environment.At present,the magnetic card detection system can ensure continuous detection of thousands of cards.Image information recognition rate can reach more than98%.It takes about12seconds from entering card to exiting card.The test result shows that the magnetic card detection system has the properties of high efficiency and good reliability.The performance achieves the expected design target and realize the initial target of design.
Table of contents
Abstract 5-6
Abstract 6-8
catalog 8-11
Chapter 1 Introduction 11-17 <br / > 1.1 subject background Overview 11-12
1.2 card is 12-15
1.3 the main work 15
1.4 section of this article arrangements 15-17
Chapter 2, the overall design of magnetic detection system 17-22
2.1 detection system works 17
2.2 design ideas 17 -18
2.3 module division and the main function of 18-19
2.3.1 magnetic stripe information reading module 18
2.3.2 image extraction module 18-19
2.3.3 card Sorting module 19
2.3.4 communications Board 19
2.4 workflow 19-20 <br / > 2.5 Summary 20-22
Chapter 3 communication motherboard circuit design 22-29
3.1 circuit structural analysis 22-23
3.2 processor chip select 23-25 ??
3.3 serial communication circuit 25-27
3.3.1 RS232 module 25-26
3.3.2 RS422 module 26-27
3.4 Summary 27-29
Chapter 4 Communication board programming 29-46
4.1 serial data frame design 29-31
4.1.1 data frames 29-30
4.1.2 data Frame instance 30-31
4.2 μC / transplant nbsp OS-Ⅱ of ; 31-37
4.2.1 μC / OS-Ⅱ nbsp code structure ; 32-33
4.2.2 OS_CPU.H transplant 33-34
transplant 4.2.3 OS_CPU_C.C of 34-35
4.2.4 OS_CPU_A.ASM transplant programming on 35-37
4.3 μC / OS-Ⅱ 37-45
4.3.1 division of tasks 37-38
4.3.2 task priority 38-39
4.3.3 mission design 39-41
4.3.4 μC / OS-Ⅱ programming 41-45
4.4 Summary 45-46
Chapter 5 magnetic stripe information read 46-57
5.1 card data format 46-48
5.2 card reader principle nbsp 48-49
5.2.1 write magnetic information ; 48
5.2.2 magnetic card reading information 48-49
5.3 magnetic data encoding 49
5.4 card decoder chip 49- 52
5.4.1 chip select 49-50
5.4.2 chip structure 50-51
5.4.3 chip functions to achieve 51-52
5.5 reading magnetic circuit and program design ideas 52-55
5.6 to read the results of the test 55
5.7 Summary 55-57
Chapter 6 card image recognition 57-68
6.1 hardware structure selection 57-59
6.1.1 industrial cameras 57-58
6.1 .2 module circuit design 58-59
6.2 OCR methods and classification 59-60
6.3 image processing 60-65
6.3.1 OpenCV configuration in VS2010 of 60
6.3.2 using OpenCV for object extraction 60-65
6.4 feature extraction 65-67
6.4.1 horizontal line features 65
6.4.2 vertical features 65-66
6.4.3 horizontal and vertical lines through the intersection 66-67
6.5 Summary performance test 67-68
Chapter 7 detection system 68-74
7.1 test content 68
7.2 testing process 68-72
7.2.1 image recognition test 68-70
7.2.2 serial communication and reading magnetic test 70-71
7.2.3 workflow test 71-72
7.3 analysis of test results 72-73
7.4 summary 73-74
Chapter 8 summary and Outlook 74 -76
8.1 This article summarizes 74
8.2 Looking 74-76
references 76-80
Thanks 80
Related dissertations
- Research on BT to VAT Reform in China’s Banking Industry
- Study on the Brand Construction and the CIS Construction of M Company
- Staff Training Mechanism Research of NWH Design Institute
- H real estate development company tax planning
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Detection and Measurement Technology Eor the Impact Force Field of Shower Head
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit