Analysis and design of the time-delay compensation for networked control systems with random communication delay