Theory and method for weak signal detection in engineering practice based on stochastic resonance