The invention provides an anti-shake motor which can improve the accuracy of real-time position detection of a rotor. In the anti-shake motor, a first mover is arranged above a base, a second mover is arranged above the first mover, and a circuit board comprises a first polar plate and two second polar plates; the first part of the first floating polar plate and the first polar plate form a first sub-
capacitor; the fourth part of the second floating polar plate and the second part of the first floating polar plate form a second sub-
capacitor; the eighth part of the third floating polar plate and the fifth part of the second floating polar plate form a third sub-
capacitor, and the seventh part of the third floating polar plate and the second polar plate form a fourth sub-capacitor; the capacitor between the first pole plate and any second pole plate is formed by connecting a first sub-capacitor, a second sub-capacitor, a third sub-capacitor and a fourth sub-capacitor in series, and the
capacitance values of the first sub-capacitor, the second sub-capacitor and the fourth sub-capacitor are not changed when the second mover reciprocates along the second direction relative to the first mover; and the
capacitance value of the third sub-capacitor is changed.