R/D of Real-time Subsection Ammeter Based on ATT7022B
- Author
- YuanYi
- Advisor
- QuBaiDa
- School
- Jiangnan University
- Major
- Control Theory and Control Engineering
- Classification
- TM933.4 Power measurement,power meter
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 369
- Citations
- 2
- ATT7022B
- AT89S52
- load
- Real-time segmentation
- accurate
- Energy Metering
- SPI port to read and write
- IIC read and write
Abstract
This paper focuses on the general design requirements of multifunction energy meter, discusses the real-time the segmented detection and measurement of the meter from the two key aspects of the system hardware design and system software design, multi-functional and networked. The purpose of the meter in both cases of low load and normal load can be moments respectively precise measurement, in order to achieve a balanced and accurate measurement of the meter full scale accuracy. Core and chief innovation point is the real-time the segmented detection and measurement. Of the core in the system hardware design - Real-time the segmented detection and measurement hardware design: When the load current is not greater than 20% of the rated current, single-chip output current transformer analog switch to low-level control change than the end of the end of times end low ratio; When the load current is greater than 20% of the rated current, the the microcontroller output high control analog switches switch to the current transformer secondary side. Can then be measured at the back of the chip and the microcontroller both cases, automatic metering meter core data refresh, and memory storage via the LCD display. Versatile hardware design: meter various data display with three buttons categorized; abnormal alarm sound buzzer sent the meter multifunctional data; refresh memory storage; MCU pin to be cleared; using real-time The clock module and backup the dry battery provides real-time clock; through a normally closed switch off the LCD backlight. Network hardware design: the meter data to the host computer through the communications chip and turn interface query for PC saved a good meter data through memory. Meter of the total program, first given in system software design flow chart, then the total flow chart analysis broken down into a number of modules. The the segmented detection and measurement of the core - real-time software design programs: metering chip to read the current apparent power and power compared with 20% of the rated apparent low ≤ 20% rated apparent power segment energy metering subroutine, or go to the high segment energy metering subroutine execution, during storage refresh the subroutine must be performed at any time, then perform the subroutine ends once the energy metering, and then repeated this time, so these two energy constantly accumulate. Multi-function software design: the keys using queries; buzzer stopped and rang with MCU pin high and low control; communication between SCM and measurement chip-based SPI serial communication subroutine; storage refresh IIC serial communication routines based, real-time clock also need real-time clock enable command; cleared microcontroller pin high and low control. At present, the meter experimental results have shown that to complete the requirements to achieve a balanced and accurate measurement of full scale accuracy.
Table of contents
Abstract 3-4
Abstract 4-6
first chapter 6-9
real-time segmentation energy meter design principles and the overall design requirements 9-11
2.1 real-time segmentation design principle 9
2.2 real-time segmentation electricity meter overall design requirements 9-11
overall system design 11-15
3.1 ammeter internal structure 11
3.2 workflow 11-15
the
fourth system hardware design 15-21
4.1 signal detection , processing and power supply unit 15-16
4.2 data measurement computing , storage and display unit 16-21
system software design 21-45
5.1 program function module flowchart 21-22
5.2 software features within the module flowchart 22-45
real - time clock module
5.2.1 22
5.2.2 energy metering module 22-26
5.2.3 instantaneous value measurement module 26
5.2.4 differential module 26-27
5.2.5 anomalies occur the judgment processing module 27-30
5.2.6 Data storage refresh processing module 30-36
5.2.7 display processing module 36-39
5.2.8 key processing module 39-44
5.2.9 clears the module's 44-45
Chapter Summary and Outlook 45-47
6.1 design summary 45-46
6.2 Conclusion and outlook 46-47
Acknowledgements 47-48
the
References 48-50
the
Appendix 1 : published by the author during the master's degree thesis 50-51
the
Appendix 2 : meter total program list 51-63
Related dissertations
- Collected and Distributed Metering Technology and Equipment of Pumping Units
- Analyze Financing Service Rural Credit Cooperative Giving to Small and Medium-sized Enterprises
- Metallothionein MT-2A Gene Promoter Polymorphism Analysis of Human Blood Lead, Blood Cadmium Load Detection and Association Studies
- Dose-effect Relationships Study of Moxibustion on Resistance to Sports Fatigue
- The General Introduction of Commonly Used Terms of Traditional Chinese Medicine Based on Linguistics
- The Study of Dynamic Monitoring System of Enterprise Energy Metering Based on ZigBee
- Research on Multi-function Intelligent Electric Power Monitor
- The Research and Design on Controller of Permanent Magnet Brushless DC Motor for Lube Oil Pump
- Research and Application on the Core Control System of Steam Turbine
- The Analysis on Dynamic Response of Single Pipe Pile Based on Shaking Table Model Test
- Durability of Damaged Structural Concrete
- Study of Axial Compressive Mechanical Behavior of Lightweight Aggregate Concrete-filled Steel Tubular Columns under Normal Temperature and after Fire
- Experimental Study on Underwater Explosion Bubble Loads and Damage on the Structure Nearby
- Preliminary Study on Strengthening Design Theory and Decision Making Methods of Medium/Short Span Concrete Beam Bridges
- Completed Status and Detail Components Analysis of Long Span Suspension Bridge
- Cont Shenhua Huanghua Port System Reform
- Research on the Thermodynamics of High-speed Spindle Based on Matlab
- The Technics Research of Roll Forging Billet and Molding in Mining Scraper
- Experimental Research on the Grinding and Frictional Wear Mechanism of Cemented Carbide
- Study on Lifting Arm of EBZ220Roadheader in Analysis of Load, Stress and Strain and Structural Improvement