Design of Prepaid Gas Meter Control System Based on PIC16F73and CPU Card
- Author
- HuangZuoQun
- Advisor
- JingYuanWei , LiuJianQin
- School
- Northeastern University
- Major
- Control Engineering
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 7
- Citations
- 0
Abstract
Along with the IC card technology and the development of domestic related industries to increase the awareness of service, with users in residents’ daily life related measurement instrument, using IC card technology has been rapid promotion and application. At present in the meter, water meter, gas meter and heating thermal table are already using the IC card charging.The purpose of this research is to use Microchip company PIC16F73chip and the Beijing Watch Company production of CPU card and ESAM embedded security module design of prepaid gas meter smart control system.The main content of this paper includes the following aspects:Firstly, by consulting a large number of reference literature, analysis of the IC card and IC card intelligent prepaid gas meter development present situation, and the prospect of IC card and IC card prepayment gas meter development trend.Secondly, introduction of the IC card classification, comparison and analysis of the advantages and disadvantages of several IC card; and then on the CPU card hardware structure and operating system on COS is described, a detailed analysis of the CPU card file management system and TimeCOS security system research.Thirdly, based on PIC16F73microprocessor important characteristics, puts forward the design of the control system the overall hardware, and then designed the system hardware circuit.Fourthly, design and implementation of CPU security message transmission, and to secure message transmission involved in the MAC calculation, data encryption and decryption algorithm is described in detail. A prepaid system safety design; development and implementation of the CPU card prepaid gas meter controller used in a variety of functional card file structure and key system.Finaly, the design of the development and implementation of the CPU card prepaid gas meter software system, including the main program, the system terminal services program, CPU card driver program, function card procedures, the valve control procedures.
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-15
1.1 Introduction 9
1.2 IC card application status and development trend 9-11
1.3 IC card intelligent gas meter status quo and development trend main contents of 11-13
1.4 This article 13 -15
Chapter 2 CPU card technology and COS operating system 15-25
2.1 IC card Profile 15
2.2 CPU card and ESAM hardware security module structure 15-17
2.3 CPU card operating system COS 17-18
analysis 2.4 CPU card file management system 18-22
2.4.1 CPU card file structure 18-19
2.4.2 work basic documents 19-20
2.4.3 internal basic documents 20-21
2.4.4 file access 21-22
Research 2.5 CPU card security system analysis 22-23
2.6 CPU card commands and responses 23-24
2.7 Chapter Summary 24-25
Chapter 3 CPU card prepaid gas meter controller hardware design and implementation of 25-37
3.1 microcontroller chip PIC16F73 25-27
3.2 overall system hardware circuit design 27-29
3.3 parts of the system unit circuit design and implementation of 29-36
3.3. 1 PIC16F73 microcontroller circuit design and implementation of 29-30
3.3.2 CPU card and ESAM module interface circuit design and implementation 30-31
3.3.3 power and power management circuit design and implementation 31-33
3.3.4 important unit control circuit design and implementation of 33-36
3.4 Summary 36-37 <br / > Chapter 4 System design and Implementation of prepaid 37-51
4.1 system transmits packets security design and Implementation 37-41
4.1.1 secure transmission of packets achieve 37-38
4.1.2 MAC calculation 38-39
4.1.3 data encryption and decryption 39-41
4.2 system Security design and implementation of 41-42
4.3 features work documents and key card system design and implementation of 42-50
4.3.1 user card key system files, and the design and achieve 43-45
4.3.2 ESAM documents and key system design and implementation 45-47
4.3.3 other features and key card file system design and implementation 47-50
4.4 Summary 50-51
Chapter 5 CPU card prepaid gas meter controller software design and implementation 51-63
5.1 software development platform analysis 51-52
5.2 CPU card prepaid gas meter software design and implementation 52-54
5.3 CPU card design and implementation of low-level driver software 54-57 power-on reset and under electric nbsp
5.3.1 CPU card ; 55-56
5.3.2 CPU card to receive and transmit byte 56-57
5.4 function card operating software design and implementation 57-61
5.5 design and implementation of important subroutines 61-62
5.6 chapter Summary 62-63
Chapter 6 Conclusion and Outlook 63-65
references 65-69
Thanks 69
Related dissertations
- Design and Practice of Vending Systems Based on Smart Meter with Fee Control
- Research and Design of CPU Smart Card Prepayment Power Meter System
- The Design and Realization of Prepaid Three-Phase Power Meter Based on CPU Card
- Disign and Implementation on the Samrt Card Information System of BJ College
- Research and Implementation of Load Balancing in Mass Secure Card System
- Design of Intelligent Water Meter System Based-on CPU Card
- The domestic CPU card companies competitive strategy
- Fiscal System Design and Implementation of Security Mechanism
- Chain of gas stations automatic data acquisition and management system for CPU card
- The Design and Development of a Multi-rated and Prepayment Three-phase Watt-hour Meter Based on CPU Card
- The Study and Design of Key Management System of Power Charging System Based on CPU Card
- Design and Implementation of the Smart Card System in Public Traffic of Guangzhou