Popis: |
This paper presents the design and development of multiple protocols supported gateway for industrial networked electrical metering systems. There are two main parts proposed in this paper. Firstly, the flexible hardware design and development of smart meter that allow users to customize the communication protocols. Secondly, the firmware design and implementation techniques for the multiple protocols supported gateway. The smart meters used in this research are divided into three groups. The first group uses WebSockets as communication protocol. The second group utilizes MQTT protocol. The third group uses Modbus serial and Modbus TCP. All meters can measure all required electrical parameters, e.g., voltage, current, watt-hour, power factor and many other. The gateway can handle all required protocols and it can perform all communication channels concurrently. In addition, a plug-and-play algorithm is also mentioned. The firmware of the meters and the gateway are implemented based on Free-RTOS with C language to maintain speed and system performance. All communication protocols of the smart meters and gateway are implemented follow industrial standards. Therefore, the gateway and all groups of meters can be deployed to all standard industrial networks. In experiments, the gateway is connected to the internet to serve external requests from clients. The meters and gateway are evaluated in various possible conditions. The experimental results show that the meters can measure the desired electrical parameters and exchange their data correctly as expected. The gateway can perform all protocols and can respond to all incoming requests from clients concurrently and correctly. |