Abstract In the field of nuclear fusion energy development, magnetic confinement tokamak reactors, which use strong magnetic fields to confine high-temperature plasmas, are crucial for sustainable and clean fusion energy. Disruption caused by plasma instability can terminate the fusion reaction and even cause irreparable damage to the equipment. Therefore, a thorough understanding of the underlying physical mechanisms is essential for predicting and preventing plasma disruption. The recently proposed analytical theory of plasma disruption may predict and prevent plasma disruption, but its validation requires the frequency-time signals. The Heavy Ion Beam Probe (HIBP) can provide such signals, however, because its scarcity in the world, particularly in China, it is necessary to develop more suitable methods. Here we show a new approach that employs Fast Fourier Transform (FFT) on magnetic perturbation signals to obtain frequency-time diagrams. We successfully applied this algorithm to acquire the frequency-time diagram of the J-TEXT-1054560 discharge. This new method offers an effective tool for validating the plasma disruption theory, overcoming the limitations of traditional techniques and providing a crucial methodological basis for understanding and predicting plasma disruption. This new analytical approach will accelerate the advancement of fusion technology.