The invention relates to a detection and alarming method and
system for
electric vehicle proximity. The detection and alarming method based on a terminal having a
microphone and a magnetic sensor comprises the following steps: carrying out a sampling step; to be specific, collecting a sound
signal and a
magnetic field signal around a terminal; carrying out a
frequency domain conversion step; to bespecific, converging the sound
signal and
magnetic field signal into sound and
magnetic field frequency-domain signals; carrying out a main frequency component extraction step; to be specific, extracting a main frequency component with the frequency of over 20KHz in the frequency-domain signals; carrying out a determination step; to be specific, determining whether any equal main frequency components exists; and carrying out an alarming or non-alarming step. In addition, the
system is composed of a sampling module, a
frequency domain conversion module, a main frequency component extraction module, a determination module, and an alarming or non-alarming module. According to the detection and alarming method and
system, high-frequency switching
noise and magnetic field change signals of a motor of an
electric vehicle are sensed and analyzed by using a
smart phone carried by a
pedestrian, the two kinds of signals are matched and compared to identify whether any
electric vehicle approaches and then whether alarming or non-alarming
processing is carried out is determined.