Anti-interference vehicle detection method and system fusing magnetoresistive sensor and radar

By combining the anti-interference vehicle detection method of magnetoresistive sensors and radar sensors, the problem of magnetoresistive sensors being susceptible to interference and radar being easily covered is solved, and high-precision and low-power vehicle detection is achieved, ensuring the accuracy of the detection results .

CN119028149AInactive Publication Date: 2024-11-26SOUTH CHINA AGRICULTURAL UNIVERSITY
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411137190.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-19
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the existing vehicle detection system, magnetoresistive sensors are easily affected by multi-source interference, resulting in low detection accuracy, especially near underground rail transit systems and high-voltage cable transmission systems, and radar sensors are easily disturbed by accumulated water or wet fallen leaves. Influences its work.

Method used

An anti-interference vehicle detection method that combines magnetoresistive sensors and radar is adopted. Magnetic signal sampling and disturbance detection are performed through magnetoresistive sensors. If disturbance is detected, the radar sensor will be awakened for secondary detection, and the final vehicle will be output through the interference detection result. Test results to identify interference from accumulated water or wet fallen leaves.

Benefits of technology

It effectively improves the accuracy of vehicle detection, realizes low-power vehicle detection function, and ensures high-precision detection in the case of magnetic field disturbance and radar interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119028149A_ABST
    Figure CN119028149A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle detection, and provides an anti-interference vehicle detection method and system fusing a magnetoresistive sensor and a radar, and the method comprises the steps: carrying out the sampling of a magnetic signal through the magnetoresistive sensor according to a preset period, carrying out the magnetic field disturbance detection according to the collected magnetic signal, and if a magnetic field disturbance detection result is false, carrying out the detection. If so, waiting for magnetic signal sampling in the next period; if the magnetic field disturbance detection result is true, vehicle detection is carried out according to the collected magnetic signals, and a first detection result is obtained; meanwhile, a radar sensor is driven to work, vehicle detection is carried out, and a second detection result is obtained; then, comparing the first detection result with the second detection result: if the first detection result and the second detection result are consistent, outputting the first detection result or the second detection result; if not, the radar sensor performs interference detection to obtain an interference detection result; when the interference detection result is true, outputting the first detection result; and when the interference detection result is false, outputting the second detection result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle detection technology, and more specifically, to an anti-interference vehicle detection method and system integrating a magnetoresistive sensor and a radar. Background Art

[0002] The vehicle detection devices in existing parking lots generally use traditional geomagnetic detection methods or combine infrared, pyroelectric and other methods. By deploying a sensor node in each parking space, the parked vehicles are detected in real time. Such data can be used for intelligent parking management such as parking guidance and parking payment. Parking detection systems based on magnetoresistive sensors have been widely used, but magnetoresistive sensors are easily affected by multiple sources of interference. For example, underground rail transit systems and underground high-voltage cable transmission systems will generate magnetic field radiation interference, and nearby vehicles will generate interference signals. Therefore, using only magnetoresistive sensors for vehicle detection has the problem of low detection accuracy.

[0003] At present, a three-mode geomagnetic detection technology has been proposed, which combines a photosensitive sensor, a magnetic field sensor and a radar sensor to detect the parking space status. When a vehicle passes by the detected parking space, the magnetic resistance sensor generates an electrical signal and sends it to the processor to drive the radar sensor to work, and the radar sensor is used to measure the distance between the parking space and the vehicle. Since the sensor is installed on the ground of each parking space, it is easy to be covered by water or wet fallen leaves, which in turn affects the normal operation of the radar. Here, the radar being covered by water or wet fallen leaves is called radar interference. Summary of the invention

[0004] In order to overcome the defects of the above-mentioned prior art that radar is easily interfered with and has low vehicle detection accuracy, the present invention provides an anti-interference vehicle detection method and system integrating a magnetoresistive sensor and a radar.

[0005] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0006] An anti-interference vehicle detection method integrating a magnetoresistive sensor and a radar comprises the following steps:

[0007] The magnetic signal is sampled at a preset period by a magnetoresistive sensor, and magnetic field disturbance detection is performed according to the collected magnetic signal;

[0008] If the magnetic field disturbance detection result is false, wait for the next cycle of magnetic signal sampling;

[0009] If the magnetic field disturbance detection result is true, the vehicle detection is performed according to the collected magnetic signal to obtain a first detection result; at the same time, the radar sensor is driven to work and the vehicle detection is performed to obtain a second detection result;

[0010] The first detection result is compared with the second detection result: if the two are consistent, the first detection result or the second detection result is output as the vehicle detection result; if the two are inconsistent, the radar sensor performs interference detection to obtain an interference detection result; when the interference detection result is true, the first detection result is output as the vehicle detection result; when the interference detection result is false, the second detection result is output as the vehicle detection result.

[0011] Furthermore, the present invention also proposes an anti-interference vehicle detection system integrating a magnetoresistive sensor and a radar, and applies the anti-interference vehicle detection method proposed in the present invention. The system comprises:

[0012] A magnetoresistive sensor and a radar sensor are integrated in a sensor node, and the sensor node is deployed in a target parking space; wherein the magnetoresistive sensor samples magnetic signals at a preset period; and the radar sensor is initially in a dormant state;

[0013] The first detection unit is used to perform magnetic field disturbance detection according to the collected magnetic signal; when the magnetic field disturbance detection result is false, wait for the magnetic signal sampling of the next cycle; when the magnetic field disturbance detection result is true, perform vehicle detection according to the collected magnetic signal to obtain the first detection result, and at the same time, wake up the radar sensor to work;

[0014] a second detection unit, configured to perform vehicle detection according to the first radar signal collected by the radar sensor to obtain a second detection result; compare the first detection result with the second detection result; if the two are consistent, output the first detection result or the second detection result as the vehicle detection result; if the two are inconsistent, output a working signal to the third detection unit and the radar sensor;

[0015] The third detection unit is used to perform interference detection according to the second radar signal collected by the radar sensor to obtain an interference detection result; when the interference detection result is true, the first detection result is output as the vehicle detection result; when the interference detection result is false, the second detection result is output as the vehicle detection result.

[0016] Furthermore, the present invention also proposes a device, including a memory and a processor, wherein the memory stores computer-readable instructions, wherein when the computer-readable instructions are executed by the processor, the processor executes the steps of the anti-interference vehicle detection method proposed in the present invention.

[0017] Furthermore, the present invention also proposes a storage medium on which computer-readable instructions are stored, wherein the computer-readable instructions, when executed by a processor, implement the steps of the anti-interference vehicle detection method proposed in the present invention.

[0018] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0019] The present invention combines a magnetoresistive sensor and a radar sensor to perform vehicle detection. When there is a magnetic field disturbance, the radar sensor is awakened to perform secondary detection. When the second detection result based on the radar sensor is inconsistent with the first detection result based on the magnetoresistive sensor, the radar sensor is further used to detect and determine whether there is interference such as accumulated water, wet leaf cover, etc., and the final vehicle detection result is output based on the interference detection result, thereby realizing the identification of interference such as accumulated water or wet leaf cover, effectively ensuring the accuracy of the vehicle detection result, and realizing a low-power vehicle detection function. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 The figure is a flow chart of an anti-interference vehicle detection method according to an embodiment of the present invention.

[0021] Figure 2 The figure is a schematic diagram of the amplitude of a magnetic field signal collected by a magnetoresistive sensor according to an embodiment of the present invention.

[0022] Figure 3 The figure is a schematic diagram of radar sampling amplitudes collected by a radar sensor according to an embodiment of the present invention.

[0023] Figure 4 The figure is a schematic diagram of radar threshold setting according to an embodiment of the present invention.

[0024] Figure 5 It is a schematic diagram of water coverage test data according to an embodiment of the present invention.

[0025] Figure 6 The figure is a schematic structural diagram of a radar sensor according to an embodiment of the present invention.

[0026] Figure 7 The figure is a schematic diagram of an anti-interference vehicle detection system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0028] The terms used in the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "the" and "the" used in the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0029] It should be understood that although the terms first, second, third, etc. may be used in the present invention to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present invention, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0030] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0031] Example 1

[0032] This embodiment proposes an anti-interference vehicle detection method that integrates a magnetoresistive sensor and a radar. Figure 1 , which is a flow chart of the anti-interference vehicle detection method shown in this embodiment.

[0033] The anti-interference vehicle detection method integrating a magnetoresistive sensor and a radar proposed in this embodiment includes the following steps:

[0034] The magnetic signal is sampled at a preset period by a magnetoresistive sensor, and magnetic field disturbance detection is performed according to the collected magnetic signal;

[0035] If the magnetic field disturbance detection result is false, wait for the next cycle of magnetic signal sampling;

[0036] If the magnetic field disturbance detection result is true, the vehicle detection is performed according to the collected magnetic signal to obtain a first detection result; at the same time, the radar sensor is driven to work and the vehicle detection is performed to obtain a second detection result;

[0037] The first detection result is compared with the second detection result: if the two are consistent, the first detection result or the second detection result is output as the vehicle detection result; if the two are inconsistent, interference detection is performed through the radar sensor to obtain an interference detection result; when the interference detection result is true, the first detection result is output as the vehicle detection result; when the interference detection result is false, the second detection result is output as the vehicle detection result.

[0038] In this embodiment, at least one sensor node is deployed on the parking space to be detected. The sensor node has a built-in magnetoresistive sensor and a radar sensor. When there is a magnetic field disturbance, the radar sensor is awakened to perform a secondary detection. When the second detection result based on the radar sensor is inconsistent with the first detection result based on the magnetoresistive sensor, the radar sensor is further called to detect and judge whether there is interference such as water accumulation or wet fallen leaves. When the interference detection result is true, it means that the sensor node is covered by water or wet leaves, and the radar is interfered and cannot work normally. When the interference detection result is false, it means that there is no interference at the sensor node and the radar is working normally. This embodiment outputs the final vehicle detection result based on the interference detection result to achieve high-precision vehicle detection.

[0039] In an optional embodiment, performing magnetic field disturbance detection according to the collected magnetic signal includes the following steps:

[0040] Smoothing the Z-axis signal in the magnetic signal;

[0041] According to the Z-axis signal before and after smoothing, the upper envelope and the lower envelope of the interference signal are set;

[0042] The Z-axis signal in the magnetic signal is judged, and if there is at least one outlier data, the magnetic field disturbance detection result is output as true, otherwise the magnetic field disturbance detection result is output as false.

[0043] Exemplarily, since the Z-axis in the three-axis magnetoresistive sensor is subject to relatively less adjacent interference, this embodiment selects the Z-axis signal for magnetic field disturbance detection.

[0044] Specifically, in this embodiment, when the Z-axis signal in the magnetic signal is smoothed, several recently sampled Z-axis signals are selected to take the average value. The expression is:

[0045]

[0046] Among them, z(k) is the Z-axis signal of the most recent sample, and M is the window length for moving smoothing.

[0047] Furthermore, since the magnetic noise interference signal caused by the subway or underground high-voltage cables often fluctuates within a certain range, it is assumed that there is no vehicle parked during the time interval from the first to the Pth sampling time after the node is deployed, the upper and lower limits of the noise are the maximum and minimum values ​​of the difference between the Z-axis signal and the smoothed value.

[0048] Specifically, in this embodiment, when setting the upper envelope and the lower envelope of the interference signal, the upper limit and the lower limit of the noise signal are calculated, and the expression is:

[0049] upper_limit=max{z(k)-A(k),k=1,2,...,P}

[0050] lower_limit=min{z(k)-A(k),k=1,2,...,P};

[0051] Then, the upper envelope of the interference signal is expressed as: upper_envelope=A(k)+upper_limit;

[0052] The lower envelope of the interference signal is expressed as: lower_envelope=A(k)+lower_limit.

[0053] Furthermore, an outlier judgment is performed on the Z-axis signal in the magnetic signal. When one of the several recently collected Z-axis signals is outside the upper and lower envelope ranges of the interference signal, the signal is judged as an outlier and the magnetic field disturbance detection result is output as true.

[0054] Specifically, the expression is:

[0055]

[0056] Among them, T0 is the preset envelope floating value. It can be seen from the above formula that when there is a signal z(j) outside the upper and lower envelope range of the interference signal, the output magnetic field disturbance detection result B(k)=1, that is, the magnetic field disturbance detection result is true, indicating that there is a suspected vehicle signal; otherwise, the output magnetic field disturbance detection result B(k)=0, that is, the magnetic field disturbance detection result is false, indicating that there is no suspected vehicle signal.

[0057] In this embodiment, a magnetic field disturbance detection is performed using a magnetoresistive sensor to detect suspected vehicle signals. Since the entry and exit of vehicles will generate large disturbances, and the passing of motorcycles, adjacent vehicles, sweepers, etc. will also generate certain disturbances, and there is also magnetic noise interference within a certain range caused by subways or underground high-voltage cables, this embodiment uses upper and lower envelopes to determine whether there are outliers, and then determine whether there are suspected vehicle signals.

[0058] For example, Figure 2 As shown, it is a schematic diagram of the magnetic field signal amplitude shown in this embodiment, wherein the blue line represents the collected Z-axis signal, the green line represents the upper envelope of the interference signal, the red thin line represents the lower envelope of the interference signal, and the red thick line represents the endpoint signal value.

[0059] Specifically, since the sampling power consumption of the magnetoresistive sensor is low and the sampling power consumption of the radar sensor is high, in order to save energy, the magnetoresistive sensor in this embodiment is set to periodic sampling. When the magnetic field disturbance detection result is true, the radar sensor is triggered to sample; when the magnetic field disturbance detection result is false, the radar sensor remains in a dormant state.

[0060] In an optional embodiment, performing vehicle detection according to the collected magnetic signal includes the following steps:

[0061] Take the most recently collected M Z-axis magnetic signals for smoothing;

[0062] Take the average value of the magnetic signal collected by the magnetoresistive sensor when there is no car parked, and set the signal baseline value Base_line;

[0063] The smoothed Z-axis magnetic signal is judged, and when the deviation between the smoothed Z-axis magnetic signal and the signal baseline value is greater than or equal to a preset first threshold, a first detection result is outputted as a vehicle, otherwise a first detection result is outputted as no vehicle.

[0064] Specifically, the working principle of the magnetoresistive sensor is expressed as:

[0065]

[0066] Wherein, T1 is a preset first threshold. When Magnetic_detector(k)=1, it indicates that the first detection result is that there is a car, that is, there is a car parked and the parking space is occupied; when Magnetic_detector(k)=0, it indicates that the first detection result is that there is no car, that is, there is no car parked and the parking space is vacant.

[0067] In an optional embodiment, driving the radar sensor to work and perform vehicle detection includes the following steps:

[0068] The radar reference amplitude is set by taking the average value of the radar signal amplitude collected by the radar sensor when there are no obstacles;

[0069] Perform detection sampling according to the preset measurement interval to obtain the radar sampling amplitude in each measurement interval;

[0070] The average value of the difference between the radar sampling amplitude and the radar reference amplitude in each measurement interval is calculated. When there is a measurement interval in which the average value is greater than a preset second threshold, the second detection result is output as a vehicle, otherwise the second detection result is output as no vehicle.

[0071] Specifically, when there is no obstacle at the node, the radar sensor performs L sampling times and calculates the mean value Ref of the radar signal amplitude j , and use it as the radar reference amplitude. Its expression is:

[0072]

[0073] Among them, bin j (k) represents the radar signal amplitude of the kth sampling.

[0074] At the same time, according to the preset measurement interval of the radar sensor [D start ,D end ] and the number of segments N, we get N bin Radar sampling amplitude bin j .

[0075] Specifically, D start Set to 8cm~15cm, D end Set to 40cm~45cm.

[0076] For example, D start Set to 12cm, D end Set to 48cm, N to 9, then the length of each measurement interval is D p =(D end -D start ) / N=4, that is, the measurement interval is [12cm, 16cm], [16cm, 20cm], ..., [44cm, 48cm]. Figure 3 , which is a schematic diagram of radar sampling amplitudes collected by the radar sensor shown in this embodiment. As can be seen from the figure, the signal strength of bin3 is the largest, indicating that the measured estimated vehicle chassis height is within the interval of [20cm, 24cm].

[0077] Furthermore, the average value of the difference between the radar sampling amplitude and the radar reference amplitude in each measurement interval is calculated, and its expression is:

[0078]

[0079] Then, the second threshold T2 is set using the sample data collected in the experiment. When the average value in a measurement interval is greater than the preset second threshold T2, the second detection result is output as a vehicle, otherwise the second detection result is output as no vehicle. Figure 4 , which is a schematic diagram of radar threshold setting shown in this embodiment.

[0080] Specifically, the function Radar_detector(k)=Binarize(Env_Ref(k), T2) is used to convert the Env_Ref(k) result into binary data. When Radar_detector(k)=1, it means that the second detection result is that there is a car, and when Radar_detector(k)=0, it means that the second detection result is that there is no car.

[0081] In an optional embodiment, the radar sensor performs interference detection to obtain an interference detection result, including the following steps:

[0082] The radar signal amplitude collected by the radar sensor when there is no obstacle is used as the background sampling value;

[0083] Interference detection is performed according to the interference sampling value and the background sampling value collected by the current radar sensor, and the expression is:

[0084]

[0085] Among them, IS_Water represents the interference detection result; S env (i) represents the interference sampling value collected at the i-th sampling point, S n (i) represents the background sampling value of the i-th sampling point; is the number of sampling points, λ is the detection distance range of the radar sensor, γ is the sampling resolution of the radar sensor; T3 is the preset third threshold.

[0086] In this embodiment, considering that outdoor roadside parking detection nodes are usually deployed below the road surface and the node top cover is flush with the road surface, the node top cover may be covered by obstacles such as water or wet leaves. When the node top cover is covered by water or wet leaves, the radar signal is reflected, which will cause the radar sensor to be unable to detect the vehicle. At this time, the radar sensor cannot effectively distinguish whether there is water interference or no car parking in a real scenario.

[0087] This embodiment performs interference detection by calling a higher-precision working mode of the radar sensor. When IS_Water=1, the interference detection result is true, indicating that there is interference from water or wet leaves, and the second detection result generated by the radar sensor for vehicle detection is incorrect, and the first detection result is selected as the vehicle detection result output; when IS_Water=0, the interference detection result is false, indicating that there is no interference from water or wet leaves, and the second detection result generated by the radar sensor for vehicle detection is accurate, and the second detection result is output as the vehicle detection result.

[0088] For example, the detection distance range λ of the radar sensor is set to 150 mm, and the sampling resolution γ of the radar sensor is set to 0.48 mm, and the following is obtained: Figure 5 The schematic diagram of water coverage test data is shown. The blue line represents the background sampling value, and the red line represents the interference sampling value when there is water interference.

[0089] Further, in an optional embodiment, the radar sensor may optionally adopt a PCR radar sensor A111, whose working modes include a power bin mode, an envelope mode, an IQ mode, and a sparse mode. When the radar sensor is driven to work and perform vehicle detection, the radar sensor uses the power bin mode; when the radar sensor performs interference detection, the radar sensor uses the envelope mode.

[0090] Among them, the power bin mode has the lowest energy consumption and is used for object presence detection that does not require high ranging accuracy, such as vehicle detection, but the power bin mode cannot detect stagnant water, etc. Therefore, when performing interference detection through the radar sensor, the envelope mode is selected to detect whether the node top cover is covered by water or wet leaves.

[0091] Optionally, the sampling time in envelope mode is set to Sample period =1s, when the sampling period ends, it switches back to the power bin mode to ensure the lowest node power consumption.

[0092] Further, in an optional embodiment, a waveguide is arranged above the radar sensor, and the center of the waveguide is aligned with the radar center point of the radar sensor.

[0093] In order to improve the detection accuracy of water coverage, this embodiment reduces the radar radiation angle by adding a waveguide, so that the energy is more concentrated and the signal strength of the measured object is higher.

[0094] Exemplarily, the center of the waveguide is aligned with the radar center point of the radar sensor, and the distance between the two is 6 to 7 mm.

[0095] Furthermore, the waveguide adopts the structural design of a lens antenna, is integrated with the housing, and the top of the housing is an outwardly arranged arc structure, and the thickness is an integral multiple of the radar signal wavelength of 2.5 mm. Figure 6 The figure shows the schematic diagram of the structure of the radar sensor.

[0096] This embodiment integrates magnetoresistive sensors and radar sensors for vehicle detection, thereby achieving high-precision, low-power, and anti-interference vehicle detection.

[0097] Example 2

[0098] This embodiment proposes an anti-interference vehicle detection system integrating a magnetoresistive sensor and a radar, and applies the anti-interference vehicle detection method proposed in Embodiment 1. Figure 7 , which is an architecture diagram of the anti-interference vehicle detection system integrating magnetoresistive sensors and radars in this embodiment.

[0099] A magnetoresistive sensor and a radar sensor are integrated in a sensor node, and the sensor node is deployed in a target parking space; wherein the magnetoresistive sensor samples magnetic signals at a preset period; the initial state of the radar sensor is a dormant state; wherein, when the disturbance detection of the magnetoresistive sensor is true, the radar sensor is triggered to perform sampling, and after the radar sensor completes the detection, it enters a dormant state and waits for the next wake-up;

[0100] The first detection unit is used to perform magnetic field disturbance detection according to the collected magnetic signal; when the magnetic field disturbance detection result is false, wait for the magnetic signal sampling of the next cycle; when the magnetic field disturbance detection result is true, perform vehicle detection according to the collected magnetic signal to obtain the first detection result, and at the same time, wake up the radar sensor to work;

[0101] a second detection unit, configured to perform vehicle detection according to the first radar signal collected by the radar sensor to obtain a second detection result; compare the first detection result with the second detection result; if the two are consistent, output the first detection result or the second detection result as the vehicle detection result; if the two are inconsistent, output a working signal to the third detection unit and the radar sensor;

[0102] The third detection unit is used to perform interference detection according to the second radar signal collected by the radar sensor to obtain an interference detection result; when the interference detection result is true, the first detection result is output as the vehicle detection result; when the interference detection result is false, the second detection result is output as the vehicle detection result.

[0103] It can be understood that the system of this embodiment corresponds to the method of the above-mentioned embodiment 1, and the options in the above-mentioned embodiment 1 are also applicable to this embodiment, so they will not be described repeatedly here.

[0104] Example 3

[0105] This embodiment proposes a computer device, including a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the anti-interference vehicle detection method proposed in Example 1.

[0106] Example 4

[0107] This embodiment proposes a storage medium on which computer-readable instructions are stored, wherein the computer-readable instructions, when executed by a processor, implement the steps of the anti-interference vehicle detection method proposed in Embodiment 1.

[0108] Exemplarily, the storage medium includes, but is not limited to, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0109] Exemplarily, the instructions, programs, code sets or instruction sets may be implemented using conventional programming languages.

[0110] Exemplarily, the processor includes but is not limited to a smart phone, a personal computer, a server, a network device, etc., and is used to execute all or part of the steps of the anti-interference vehicle detection method described in Example 1.

[0111] The terms in the drawings are only used for illustrative purposes and are not to be construed as limiting the present invention;

[0112] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. An anti-interference vehicle detection method integrating a magnetoresistive sensor and a radar, characterized in that: The following steps are involved: The magnetic signal is sampled at a preset period by a magnetoresistive sensor, and magnetic field disturbance detection is performed according to the collected magnetic signal; If the magnetic field disturbance detection result is false, wait for the next cycle of magnetic signal sampling; If the magnetic field disturbance detection result is true, the vehicle detection is performed according to the collected magnetic signal to obtain a first detection result; at the same time, the radar sensor is driven to work and the vehicle detection is performed to obtain a second detection result; Compare the first detection result with the second detection result: if the two are consistent, output the first detection result or the second detection result as the vehicle detection result; If the two are inconsistent, the radar sensor performs interference detection and obtains an interference detection result; When the interference detection result is true, outputting the first detection result as a vehicle detection result; When the interference detection result is false, the second detection result is output as the vehicle detection result.

2. The anti-interference vehicle detection method according to claim 1, characterized in that: The magnetic field disturbance detection is performed according to the collected magnetic signal, comprising the following steps: Smoothing the Z-axis signal in the magnetic signal; According to the Z-axis signal before and after smoothing, the upper envelope and the lower envelope of the interference signal are set; The Z-axis signal in the magnetic signal is judged, and if there is at least one outlier data, the magnetic field disturbance detection result is output as true, otherwise the magnetic field disturbance detection result is output as false.

3. The anti-interference vehicle detection method according to claim 1, characterized in that: The vehicle detection according to the collected magnetic signal comprises the following steps: Take the most recently collected M Z-axis magnetic signals for smoothing; The signal baseline value is set according to the average value of the magnetic signal collected by the magnetic resistance sensor when no car is parked; The smoothed Z-axis magnetic signal is judged, and when the deviation between the smoothed Z-axis magnetic signal and the signal baseline value is greater than or equal to a preset first threshold, a first detection result is outputted as a vehicle, otherwise a first detection result is outputted as no vehicle.

4. The anti-interference vehicle detection method according to claim 1, characterized in that: The driving radar sensor to work and perform vehicle detection includes the following steps: The radar reference amplitude is set by taking the average value of the radar signal amplitude collected by the radar sensor when there are no obstacles; Perform detection sampling according to the preset measurement interval to obtain the radar sampling amplitude in each measurement interval; The average value of the difference between the radar sampling amplitude and the radar reference amplitude in each measurement interval is calculated. When there is a measurement interval in which the average value is greater than a preset second threshold, the second detection result is output as a vehicle, otherwise the second detection result is output as no vehicle.

5. The anti-interference vehicle detection method according to claim 1, characterized in that: The radar sensor performs interference detection to obtain an interference detection result, including the following steps: The radar signal amplitude collected by the radar sensor when there is no obstacle is used as the background sampling value; Interference detection is performed according to the interference sampling value and the background sampling value collected by the current radar sensor, and the expression is: Among them, IS_Water represents the interference detection result; S env (i) represents the interference sampling value collected at the i-th sampling point, S n (i) represents the background sampling value of the i-th sampling point; is the number of sampling points, λ is the detection distance range of the radar sensor, γ is the sampling resolution of the radar sensor; T3 is the preset third threshold.

6. The anti-interference vehicle detection method according to any one of claims 1 to 5, characterized in that: A waveguide is arranged above the radar sensor, and the center of the waveguide is aligned with the radar center point of the radar sensor.

7. The anti-interference vehicle detection method according to any one of claims 1 to 5, characterized in that: The radar sensor includes a PCR radar sensor A111, whose operating modes include a power bin mode and an envelope mode; When the radar sensor is driven to work and perform vehicle detection, the radar sensor uses the power bin mode to work; when the radar sensor performs interference detection, the radar sensor uses the envelope mode to work.

8. An anti-interference vehicle detection system integrating a magnetoresistive sensor and a radar, applying the anti-interference vehicle detection method according to any one of claims 1 to 7, characterized in that: include: A magnetoresistive sensor and a radar sensor are integrated in a sensor node, and the sensor node is deployed in a target parking space; wherein the magnetoresistive sensor samples magnetic signals at a preset period; and the radar sensor is initially in a dormant state; The first detection unit is used to perform magnetic field disturbance detection according to the collected magnetic signal; when the magnetic field disturbance detection result is false, wait for the magnetic signal sampling of the next cycle; when the magnetic field disturbance detection result is true, perform vehicle detection according to the collected magnetic signal to obtain the first detection result, and at the same time, wake up the radar sensor to work; a second detection unit, configured to perform vehicle detection according to the first radar signal collected by the radar sensor to obtain a second detection result; compare the first detection result with the second detection result; if the two are consistent, output the first detection result or the second detection result as the vehicle detection result; if the two are inconsistent, output a working signal to the third detection unit and the radar sensor; The third detection unit is used to perform interference detection according to the second radar signal collected by the radar sensor to obtain an interference detection result; when the interference detection result is true, the first detection result is output as the vehicle detection result; when the interference detection result is false, the second detection result is output as the vehicle detection result.

9. A device comprising a memory and a processor, wherein the memory stores computer-readable instructions, characterized in that: When the computer-readable instructions are executed by the processor, the processor executes the steps of the anti-interference vehicle detection method according to any one of claims 1 to 7.

10. A storage medium having computer-readable instructions stored thereon, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the anti-interference vehicle detection method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Parking space state detection method and system

    CN113034929A

  • Dual-mode hybrid vehicle detection method and device based on radar and geomagnetism

    CN114387793A

  • Parking space detection method, device and equipment based on geomagnetism and radar and storage medium

    CN117523849A