The invention discloses a
parking space state judgment method of a geomagnetic
vehicle detector. The method includes the following steps that: a three-axis (XYZ)
magnetoresistive sensor with a temperature compensation function is adopted; when the sensor is installed, the Z axis of the sensor is perpendicular to the ground, the Y axis and X axis of the sensor point to the adjacent edges of a
parking space respectively; two axial directions (i.e. horizontal axial directions) of the Y axis and X axis are set as auxiliary reference axes and are used for monitoring the dynamic perturbation value of a
magnetic field; the axial direction (i.e. vertical axial direction) of the Z axis is set as a main reference axis and is used for judging the static variation amount of the
magnetic field; and a horizontal surface
magnetic field dynamic perturbation value monitoring and vertical axial direction magnetic
field strength variation amount determination method is used in combination to judge whether the
parking space is unoccupied or unoccupied. According to the method, whether vertical axial direction magnetic
field strength variation amount is larger than an uplink threshold value or is smaller than a downlink threshold value is judged, and a Mealy state
machine model is used to judge the current status of the parking space. With the method adopted, interference on parking space judgment of the geomagnetic
vehicle detector caused by adjacent parking spaces, surrounding passing vehicles and sensor temperature drift and background magnetic field drift can be effectively inhibited, and the problem of frequently jump of the state of a parking space can be solved.