Circuits for pulse shaping, amplifying, eliminating noise signals, checking the function of the sensing device