The dynamic response speed of the secondary control (SC) in microgrids (MGs) is limited both by the communication network time delays and the bandwidth (BW) of the primary control (PC). By increasing the PC BW, which depends on how to design and tune the PC, the time delay issues will be multiplied due to the speed range of the communication modules and technologies. This paper proposes a communication compensation block (CCB) to enhance the robustness of distributed SC against communication impairments in the MGs operated at the higher BW. The proposed method mitigate malicious time delays and communication non-ideality in distributed networked controls employed in the secondary layer of the MG by prediction, estimation and finally decision on transmitted data. A comprehensive mathematical model of the employed communication network is presented in details. Then, a robust data prediction algorithm based on the temporal and spatial correlation is applied into the SC to compensate for time delays and data packet loss. Furthermore, the small signal stability analysis of the system in the presence of the CCB is investigated. Power hardware-in-the-loop (PHiL) experimental tests show the merits and applicability of the proposed method.