The invention discloses a low-power-consumption geomagnetic
vehicle detection method and
system. The method comprises the following steps: acquiring triaxial geomagnetic data; performing first-order difference and filtering on the three-axis data to obtain a smooth first-order difference
signal; in a vehicle-
free state, a mean value and a standard deviation are obtained through calibration, a
Gaussian probability density function is established, an integral interval is constructed based on a deviation amount, a single-axis condition probability item is calculated through integration, and three-axis fusion is performed in combination with a state-related correlation correction coefficient to obtain a vehicle existence probability; in a state
machine model including no vehicle, arrival detection,
delay confirmation, and vehicle passing and leaving detection, outputting a vehicle arrival moment and a vehicle leaving moment according to a vehicle existence probability, a
hysteresis threshold, a continuous point criterion and a
delay confirmation mechanism, and compensating and correcting group
delay introduced by filtering; and reporting detection information when the vehicle arrival event or departure event is output. According to the method, low
power consumption and
baseline drift resistance are both considered under the condition of a relatively low sampling rate, and the
vehicle detection robustness is improved.