| ABSTRACT:In recent years, rapid development of information technology such as computer, communications, has laid a wireless data transmission foundation for decentralized electricity users for energy data collection. Power centralized meter reading terminal device has become an important tool and a means to monitor and manage the power company and all levels of the electricity sectors. With the development of embedded platform, in order to provide a research platform for improving centralized meter reading accuracy, timeliness, reliability, stability, to improve low power consumption, high cost performance of centralized meter reading terminal and to satisfy the electricity meter uplink communication protocol and downlink meter reading protocol, this paper proposed a research on a new type of meter reading terminal based on kernel drivers and interprocess communication.This paper constructs an embedded kernel driver framework. It firstly starts loader with BootLoader to initialize the hardware equipment and establishes memory space map to prepare a right environment for final calling the operating system kernel. It next loads the device driver programs for the centralized meter reading such as ADC, RTC and GPIO and later on burned the kernel drivers into Flash, then brought the hardware and software environment of the system into an appropriate state, finally completes the construction of centralized meter terminal building embedded Linux platform.This paper analyzes the requirements of uplink and downlink enectricity power protocols. It divides a kernel driver-based centralized meter reading terminal processes into system control process module, system monitoring process module, data collection process module, data processing process module and data communication process module, then finish the design and implementation for each process module including organizational structure, data format and code coding implementation. It also defines the internal message format for each process module communications and finally designs power meter reading terminal based on Socket.Good testing methods and detailed testing data proves that the kernel driver and interprocess communication terminal bears the characteristics of relatively high reliability, simple circuit, high developing efficiency, low cost and good extension performance, it provides a better solution for real-time data transmission and real-time monitoring, it plays a positive role in reducing operating costs and strengthening the monitoring and management of electricity using. |