The invention discloses a sensor with a plurality of
magnet blocks adjustable in position and
magnetic flux in a shell, belonging to the technology of providing a
control signal via multi-point-position magnetic induction. The sensor comprises a sensing component, a power-assisted model processor, a digital-analogue converter and an
operational amplifier which are sequentially connected, wherein the sensing component comprises permanent
magnet blocks and a Hall sensor in inner hollows embedded in a
rotating disc and a fixed disc, a plurality of the annularly-distributed permanent
magnet blocks are fixedly arranged on the
rotating disc, the distances among the permanent magnet blocks and the magnetic fluxes of the permanent magnet blocks at different positions are adjustable, and the magnetic polarities of the adjacent permanent magnet blocks are opposite, that is, the magnetic polarities are distributed by alternately arranging N-poles and S-poles; and the Hall sensor on the fixed disc is arranged at a position close to the permanent magnet blocks. The sensor has the following advantages that: the Hall sensor can obtain a rectangular wave
signal via the NS distribution of the
magnetic poles, and the rectangular wave
signal can participate in digital
processing for setting the power-assisted model; and the rectangular wave
signal can show the positions of the permanent magnet blocks on the
rotating disc and determine the purposes of different rectangular
waves by virtue of the difference of the distances and the difference of the magnetic fluxes, and the relative positions of the permanent magnet blocks and the Hall sensor are fixed, so that signal output is reliable.