We propose a new scheme to estimate the heating rate of trapped ions in thermal states.By applying acontrolled-U gate between the internal and the motional states of one of the trapped ions,we could obtain the meanphonon number from the population of the internal state of the ion.The imperfection due to fluctuations of the relevantparameters in real experiments is considered and we analyze the experimental feasibility of our scheme with sophisticatedion trap techniques.