| As the energy problem with high carbon structure is becoming more and more prominent,the diversified smart grid with various energy types including clean energy is the main direction of grid development today.The scale of distributed power sources such as photovoltaic power generation systems is getting larger and larger,and more and more data needs to be processed in the smart grid monitoring system when they are integrated into the grid.How to improve the data processing capability in the monitoring system is the key to ensure the smooth operation of smart grid.In this regard,a data concentrator that can carry on the top and bottom between the device and the monitoring system becomes the key.FPGAs are widely used in the field of data processing,which provides a new good basis for the hardware implementation of data concentrators.In this paper,the data concentrator in smart grid monitoring system is designed based on FPGA,and the main work includes the following aspects.(1)The overall framework of the data concentrator is designed based on FPGA.The overall framework of the data concentrator includes two interfaces,the communication interface between each daughtercard module at the access side of the device and the data concentrator,and the command interface from the monitoring side to the data concentrator.The daughtercard communication interface test was conducted for the DTC communication link of each daughtercard.The test results show that the 40 daughtercard interfaces of the data concentrator can communicate normally.In addition,the overall framework of the data concentrator includes the design of clock module,UDP module and TCP module.(2)The clock module of the data concentrator is designed.In this paper,the clock network of the data concentrator is designed based on the clock resources in the Xilinx Virtex-6 FPGA for generating the clock control signals of each module.The phase shift operation allows precise control of the clock phase,and achieves cross-clock domain synchronization and multi-channel phase synchronization of master and slave stations.The conducted clock module synchronization tests show that the phase adjustment can reduce the phase difference of each daughter card module and increase the stable phase window.(3)The TCP and UDP modules of the data concentrator are designed.the TCP module is used for the transmission of control information and the UDP module is used for the transmission of application data.In the TCP and UDP modules,the physical layer,data link layer,network layer and transport layer are mainly included in the design,and the two modules of TCP and UDP can realize the data interaction between the two sides of the device application and the monitoring system.In this paper,we analyze the data encapsulation and frame parsing process of TCP and UDP modules in message transmission,and compare the hardware logic resource utilization of both.In the TCP and UDP module tests,the bandwidth utilization of the UDP and TCP modules increases with the FIFO threshold,with the best bandwidth utilization of 95% and throughput of 0.95 Gbps at a threshold of 1472 bytes.the experimentally measured event transmission frame rate of the data concentrator is up to 20 k Hz.the designed data concentrator has good data transmission capability. |