| Currently the large domestic power network is very complicated. When incidents happen, real-time information is necessary to make treatment decisions. Substation as an important node of network needs to provide real-time communications and information. In this paper, the communication based on the high performance ARM embedded microprocessor and RTOS(Real Time Operation System), can meet the requirements of the substation better.According to comparing the advantages and disadvantages of various forms of communication, the appropriate communication is chosen for the present situation. The paper was detailed to introduce the principle diagram of the hardware based on embedded chip LPC2292, and the porting of embedded RTOS which is one of the key techniques of the system, and point out some key problem that software design should notice. LPC2292 has high-speed calculation capability and abundant equipments on chip, and provides many communication interfaces: one industrial RS-485 bus, two CAN field buses and two Ethernet interfaces. Integrated CAN controller and UART, it facilitates the design of the CAN and UART communication. Meanwhile chip and external communications network are powered by two different supplies. It is an effective step to prevent electromagnetic interference, raises communications reliability.The software platform of embedded system was founded by porting RTOS to LPC2292 and programming the drivers of hardware. According to the time required for each task, the sources and tasks' priorities were allocated and the applications were also programmed based on multi-tasks scheduling.Rich communication interfaces with the adaptation of various communication protocols greatly improved the communication ability of the system. The protocols of modbus were detailed introduced in this paper, based on profound analysis of basic principle and concepts of message transmission of serial communication. |