Multi-computer Communication Based on Modbus RTU in Power Quality Monitoring System
LI Juan,ZHANG Bo,QIU Dong-yuan
DOI: https://doi.org/10.3969/j.issn.1006-6047.2007.01.026
2007-01-01
Abstract:For the integration of power quality monitoring and reactive power compensation,one of its key techniques is data communication.A DSP(Digital Signal Processor)-based control system integrating power quality monitoring and reactive power compensation is developed.It adopts Modbus RTU(Remote Terminal Units) communication protocol,which supports RS-232,RS-422,RS-485 and Ethernet devices,to realize the multi-computer communication between MCU(Micro Controller Unit) master and DSP or PC slaves.The master,MCU 89C 51,employs interruption subroutines for transmitting and receiving messages,programmed in modularization.The slaves,PC or DSP,perform functions of message receiving,analysis,framing and response.The communication interface is designed accordingly to settle the level conflicts of multi-computer communication and realize point-to-point communication between master and slave.