This paper assesses the effect of wide temperature differences of cable segments on the stability of the transmitted frequency. Paper presents a method for determining the integral temperature of a long cable, as well as a method for compensating the introduced instability of the transmitted frequency. A method for stabilizing the integral temperature of a long coaxial cable using a proportional-integral-differentiating algorithm (PID) algorithm and a distributed heater is also proposed.