A signal generator, comprising: a resonator circuit formed in an integrated circuit, comprising: a first inductor (L1, 111) having a first terminal and a third terminal and defining a first inductor area being surrounded by the first inductor (L1, 111); and a second inductor (L2, 113) having a second terminal and a fourth terminal and defining a second inductor area being surrounded by the second inductor (L2, 113); and a switching circuit, comprising a plurality of switches (S1, S2, S3, S4), wherein configuration of the plurality of switches (S1, S2, S3, S4) are adjustable and resonance generated between the first, the second, the third and the fourth terminals (N1, N2, N3, N4) is changed accordingly; characterized by a first inner circuit (Gm1, 101) which is located in the first inductor area and which is electrically connected to the first terminal and the third terminal, for compensating a first inner oscillation signal (V out1) generated between the first and the third terminals (N1, N3); a first outer circuit (Gm3, 103) which is located outside of the first inductor area and which is electrically connected to the first inductor (L1, 111) and the second inductor (L2, 113), for compensating a first outer oscillation signal (V out3) generated between one of the first and the third terminals (N1, N3) and one of the second and the fourth terminals (N2, N4); a second inner circuit (Gm2, 102) which is located in the second inductor area and which is electrically connected to the second terminal and the fourth terminal, for compensating a second inner oscillation signal generated between the second and the fourth terminals (N2, N4); and a second outer circuit (Gm4, 104) which is located outside of the second inductor area and which is electrically connected to the other one of the first and the third terminals (N1, N3), and the other one of the second and the fourth terminals (N2, N4), for compensating a second outer oscillation signal. a resonator circuit formed in an integrated circuit, comprising: a first inductor (L1, 111) having a first terminal and a third terminal and defining a first inductor area being surrounded by the first inductor (L1, 111); and a second inductor (L2, 113) having a second terminal and a fourth terminal and defining a second inductor area being surrounded by the second inductor (L2, 113); and a switching circuit, comprising a plurality of switches (S1, S2, S3, S4), wherein configuration of the plurality of switches (S1, S2, S3, S4) are adjustable and resonance generated between the first, the second, the third and the fourth terminals (N1, N2, N3, N4) is changed accordingly; a first inductor (L1, 111) having a first terminal and a third terminal and defining a first inductor area being surrounded by the first inductor (L1, 111); and a second inductor (L2, 113) having a second terminal and a fourth terminal and defining a second inductor area being surrounded by the second inductor (L2, 113); and a switching circuit, comprising a plurality of switches (S1, S2, S3, S4), wherein configuration of the plurality of switches (S1, S2, S3, S4) are adjustable and resonance generated between the first, the second, the third and the fourth terminals (N1, N2, N3, N4) is changed accordingly; characterized by a first inner circuit (Gm1, 101) which is located in the first inductor area and which is electrically connected to the first terminal and the third terminal, for compensating a first inner oscillation signal (V out1) generated between the first and the third terminals (N1, N3); a first outer circuit (Gm3, 103) which is located outside of the first inductor area and which is electrically connected to the first inductor (L1, 111) and the second inductor (L2, 113), for compensating a first outer oscillation signal (V out3) generated between one of the first and the third terminals (N1, N3) and one of the second and the fourth terminals (N2, N4); a second inner circuit (Gm2, 102) which is located in the second inductor area and which is electrically connected to the second terminal and the fourth terminal, for compensating a second inner oscillation signal generated between the second and the fourth terminals (N2, N4); and a second outer circuit (Gm4, 104) which is located outside of the second inductor area and which is electrically connected to the other one of the first and the third terminals (N1, N3), and the other one of the second and the fourth terminals (N2, N4), for compensating a second outer oscillation signal.