The Design and Application of Ammeter Based on PIC MCU
- Author
- DongNa
- Advisor
- ChenWei
- School
- Wuhan University of Technology
- Major
- Communication and Information System
- Classification
- TP274.2 Data collection and processing systems
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 775
- Citations
- 9
Abstract
With the development of urban modernization , the rise of large residential areas , so that the construction of the city's increasing size of management has become even more complex and onerous for the original manual meter reading has been incapable of work now , the new meter reading system , such as handheld machine meter reading system , remote meter reading system emerged. With the development of mobile communications and computer technology , making the modern network communication technologies , such as GPRS , CDMA , GSM, applied to the remote meter reading system has become possible . In order to adapt to the needs of the network , in electric meter transformation or developed , magnetic card meters meters of various types of electric card meter , IC card meter , fully electronic meter, watt-hour meter with communication interface . Watt-hour meter with communication interface with its fast and simple meter reading without manual door meter reading, accurate energy metering , etc. into the direction of the development of a new generation of electric meter . This study is such a watt-hour meter with communication interface , energy monitoring collection terminal . This paper first introduces the current domestic electricity utility metering, the status of the industry and technology , followed by a detailed technical analysis of the acquisition and calibration of the meter charge , especially in order to ensure the accuracy of the metering and measuring the stability of the proposed three - phase energy meter optimization calculation method to determine the energy meter collection, design principles, procedures and methods of computation and transmission . To ensure the accuracy of energy acquisition and measurement , the system selected Microchip's PIC MCU , and also to choose a high-precision metering chip ATT7022B three phase energy acquisition . In order to ensure that the data collected by the system when power is lost , the system also uses advanced data stored - FRAM . The system also has developed a handheld PDA meter reading function , can be used infrared handheld meter reading . The final test results show that the active measurement to meet 0.5S/0.2S, supports IEC 687 /1036 , GB/T17883-1999 reactive measure to meet the two , three , support IEC 1268 , GB / T 17882-1999 : and hourly metering , maximum demand metering and prepaid metering can be anti-tampering ; and a variety of communication methods , such as infrared communication , RS232 , RS485 , etc. , and to meet the GB the communication protocol DLT645 and IrDA1.0 .
Table of contents
Chapter 1 Introduction the 8-11 1.1 research status and trends
8-9
the 1.2 research purposes and significance
1.3 subject content and research programs to determine 9-10
1.3.1 content 9-10
1.3.2 research program
1.4 Chapter Summary 10-11
Chapter 2 the PIC microcontrollers host unit principle outlined 11-24
2.1 system architecture and performance characteristics of the PIC series microcontroller 11-15
2.2 PIC18F6621 energy monitoring acquisition unit the 15-24
2.2.1 PIC18F6621 performance, and features 15
2.2.2 synchronous serial port SSP Parts 15-20
the 2.2.3 serial communications interface (SCI) components 20-24
Chapter 3, the design of the measuring unit of energy data collection 24 - 36
3.1 ATT7022B energy capture chip works the 24-30
3.1.1 ATT7022B, Introduction and internal block diagram 24-25
3.1.2 A / D analog-to-digital converter module 25-26
3.1.3 digital signal processing module (DSP) 26-29
3.1.4 SPI communication interface module 29 - 30
3.2 ATT7022B with PIC microcontroller Interface Design 30-35
3.2.1 hardware design 30-31
3.2.2 software design 31 -35
3.3 Chapter Summary 35-36
Chapter 4 data transmission unit and memory unit design 36-56
4.1 RS232 data transmission mode the 4.1.1 RS232 Overview 36-37
36
4.1.2 RS232 interface with PIC microcontroller design 36-37
4.2 RS485 data transmission 37-40
4.2.1 RS485 Overview 37-38
4.2.2 RS485 interface with PIC microcontroller design 38-40
4.3 DLT645 agreement 40-50
4.3.1 Physical Layer
40 4.3.2 Link Layer 40-43
4.3.3 Data identification 43-46
4.3.4 application layer 46-50
4.4 infrared data transmission mode 50-53
infrared communications 4.4.1 Overview 50
4.4.2 infrared communication protocol standards 50-51
4.4.3 infrared communication system structure 51
4.4.4 infrared communication with PIC microcontroller interface design 51-53
4.5 the iron electric memory FRAM 53-55
4.5.1 ferroelectric memory in applications from 53-54 the
of 4.5.2 ferroelectric memory FM24C64 with PIC microcontroller Interface Design 54-55
4.6 Chapter Summary 55-56
Chapter 5 LCD clock unit design 56-58
5.1 LCD unit 56
5.2 clock unit the
5.2.1 BQ4802, 56-57 brief nbsp PIC microcontroller; 56-57
5.2.2 BQ4802 interface design 57
5.3 Chapter Summary 57-58
Chapter 6 Energy Monitor test collection terminal results and analysis 58-61
6.1 test program 58-59
6.2 active power test results and analysis 59-60
6.3 reactive power test results and analysis 60
6.4 Chapter Summary 60-61
Chapter 7 Summary and Outlook 61-63
7.1 Full Summary 61-62
7.2 Looking to References 62-63
63-66
Acknowledgements 66-67
released the papers 67-68
Appendix 68-70
Appendix II 70-71
Appendix III 71
Related dissertations
- Designing and Realization of Multi-Port Board Based on PIC
- Study on Sun Tracking System for Tough Solar Thermal Power Generation Device
- The Controller Design of LNG Dispenser Based on PIC Microcontroller
- Dual Channel Color Image Fusion System Based on Multi-core DSP
- Study on Color Fusion Algorithm of Low-level-light and Infrared Images
- Research on simulation method of deep space target infrared optical properties
- Optical Design of Long Wave Infrared Zoom System
- Research on the Key Technologies of Temperature Field Measurement Based on Thermal Infrared Imager
- Infrared Optical Design for Fire Prevention of Forest Beauty Spot
- Design of a MWIR and LWIR Dual-band/Dual-filed Optical System
- Research on Electric Power Quality Detecting Instrument with Intelligentialize
- Research and Implementation of Light Strip Wireless Control System
- Research on Multi-function Intelligent Electric Power Monitor
- Research on Experimental System for Infrared Sight Reliability
- Research and Implementation of Comprehensive Error Compensation Technology Non-contact Temperature Measurement
- The Design of an IR Turbidimeter Based on Scattering
- The Development of Explosion-proof Environment Gas Intelligent Monitoring System
- Reseacrh on the Enzymo Logical Characteristics of Polyphenol Oxidase from Tea and the Effect of Infrared on Its Activity and Conformation
- Experiment Research of Low Temperature Vacuum Infrared Drying the Grain
- The Product Development and Performance Research of Song Brocade Applied to Bags