Hall generator cooperates with magnetic ring, gives signal with dc offset