Hall sensors host a current-carrying semiconductor element which is exposed to permanent magnetic prestress built by a stationary permanent magnet.
Any change in the magnetic field intensity caused by a ferromagnetic object penetrating the field will be identified by the semiconductor element as voltage change.
The sensor’s integrated electronics will evaluate the generated sine voltage in an amplified square wave signal.