JP2019197379A - Vehicle detection device, vehicle detection method, and program - Google Patents

Vehicle detection device, vehicle detection method, and program Download PDF

Info

Publication number
JP2019197379A
JP2019197379A JP2018090948A JP2018090948A JP2019197379A JP 2019197379 A JP2019197379 A JP 2019197379A JP 2018090948 A JP2018090948 A JP 2018090948A JP 2018090948 A JP2018090948 A JP 2018090948A JP 2019197379 A JP2019197379 A JP 2019197379A
Authority
JP
Japan
Prior art keywords
vehicle
parking space
state
detection
magnetic sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2018090948A
Other languages
Japanese (ja)
Other versions
JP7070060B2 (en
Inventor
翔平 神田
Shohei Kanda
翔平 神田
広太郎 吉野
Kotaro Yoshino
広太郎 吉野
慎 渡邉
Makoto Watanabe
慎 渡邉
謙治郎 土屋
Kenjiro Tsuchiya
謙治郎 土屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2018090948A priority Critical patent/JP7070060B2/en
Publication of JP2019197379A publication Critical patent/JP2019197379A/en
Application granted granted Critical
Publication of JP7070060B2 publication Critical patent/JP7070060B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Traffic Control Systems (AREA)

Abstract

To provide a vehicle detection device, a vehicle detection method, and a vehicle detection program that can prevent erroneous detection of the presence/absence of a vehicle in a detection space, such as a parking space of a parking lot.SOLUTION: A control unit 12 of a vehicle detection device 10, provided that after a parking space Z1 is determined to be in a full state, a detection value of a magnetic sensor 11A changes, determines whether a second difference vector is an inverse vector of a first difference vector (S22). When the second difference vector is determined to be the inverse vector, the control unit determines that the parking space Z1 is changed from the full state to an empty state. Thus, even when a vehicle 21 is parked in the parking space Z1, the control unit can accurately determine the empty state in the parking space Z1.SELECTED DRAWING: Figure 12

Description

本発明は、磁気センサを用いて駐車場等の駐車スペースなどの検出空間における車両の有無を判定する車両検知の技術に関する。   The present invention relates to a vehicle detection technique for determining the presence or absence of a vehicle in a detection space such as a parking space such as a parking lot using a magnetic sensor.

従来、駐車場の駐車スペース内の駐車面に磁気センサを設置し、車両の有無に起因する地磁気の変化を検出して駐車スペースが満車であるか空車であるかの判定を行う車両検知装置が知られている(特許文献1参照)。前記車両検知装置は、駐車スペース内の車幅方向等に複数の磁気センサを設置し、それらの磁気センサ間の各軸方向の検出レベルの差分合成値を車両有り無しの判定に使用する。これにより、磁気センサの近くをトラックやバス等の重量車両が通ったことにより地磁気が大きく変動したとしても、或いは、磁気センサの近隣に電車の架線や高圧線が架設されて地磁気が大きく変動したとしても、誤検知が防止される。   Conventionally, a vehicle detection device that installs a magnetic sensor on a parking surface in a parking space of a parking lot and detects whether the parking space is full or empty by detecting a change in geomagnetism caused by the presence or absence of a vehicle. It is known (see Patent Document 1). The vehicle detection device installs a plurality of magnetic sensors in a vehicle width direction or the like in a parking space, and uses a difference composite value of detection levels in the respective axial directions between the magnetic sensors to determine whether or not there is a vehicle. As a result, even if a heavy vehicle such as a truck or bus passes near the magnetic sensor, the geomagnetism greatly fluctuates, or a train overhead wire or high-voltage line is installed near the magnetic sensor, resulting in a large fluctuation in geomagnetism. However, false detection is prevented.

特開2006−164145号公報JP 2006-164145 A

しかしながら、従来の車両検知装置は、複数の磁気センサを利用して重量物の通過
に起因する外乱の影響を抑止するものであり、複数の磁気センサを利用するため構成が大掛りとなり、またコスト高となる。
However, the conventional vehicle detection device uses a plurality of magnetic sensors to suppress the influence of disturbance caused by the passage of heavy objects, and uses a plurality of magnetic sensors, so that the configuration becomes large and the cost is high. Become high.

また、車両には種々の車種があり、車種によっては、地磁気への影響度の高低があるため、それぞれの車種の車両に対して精度良く、満空状態を判定することは容易ではない。さらに、隣接する駐車スペースに地磁気への影響度の高い(すなわち、地磁気の変化が大きい)車種の車両が停車した場合に、自己の駐車スペースに対する誤検知の可能性が高まる。   In addition, there are various types of vehicles, and depending on the type of vehicle, the degree of influence on geomagnetism is high and low, and it is not easy to accurately determine whether the vehicle is full or not. Further, when a vehicle of a vehicle type having a high influence on geomagnetism (that is, a large change in geomagnetism) stops in an adjacent parking space, the possibility of erroneous detection of the own parking space increases.

以下、図13及び図14を参照して、駐車後の地磁気の変化量が予め定められた満空判定閾値Lo以上である場合に満車と判定する従来の車両検知装置における誤検知の例について説明する。図13及び図14は、駐車場の駐車スペースZ1において、地磁気への影響度の大小に起因する誤検知を説明するための図である。図13の上図は、地磁気への影響度の低い車両21が駐車スペースZ1に入車するときの車両状態P1,P2,P3を示し、下図は、磁気センサ11の検出値の変化量(地磁気の変化量)の経時変化を表す波形W1を示す。図14の上図は、地磁気への影響度の高い車両22が駐車スペースZ1に隣接する駐車スペースZ2に入車するときの車両状態P11,P12,P13を示し、下図は、駐車スペースZ1の磁気センサ11の検出値の変化量の経時変化を表す波形W2を示す。なお、図13では、駐車スペースZ1に隣接するスペースに車両は駐車されないものとし、図14では、駐車スペースZ1に車両は駐車されないものとする。車両21は駐車スペースZ1に入るものであり、車両22は隣接の駐車スペースZ2に入るものである。磁気センサ11は、駐車スペースZ1に設置されている。   Hereinafter, with reference to FIG. 13 and FIG. 14, an example of erroneous detection in a conventional vehicle detection device that determines that the vehicle is full when the amount of change in geomagnetism after parking is equal to or greater than a predetermined fullness determination threshold Lo will be described. To do. FIGS. 13 and 14 are diagrams for explaining erroneous detection due to the magnitude of the influence on geomagnetism in the parking space Z1 of the parking lot. The upper diagram of FIG. 13 shows vehicle states P1, P2, and P3 when the vehicle 21 having a low influence on geomagnetism enters the parking space Z1, and the lower diagram shows the amount of change in the detection value of the magnetic sensor 11 (geomagnetism). A waveform W1 representing a change over time in the amount of change in (). The upper diagram of FIG. 14 shows vehicle states P11, P12, and P13 when the vehicle 22 having a high influence on geomagnetism enters the parking space Z2 adjacent to the parking space Z1, and the lower diagram shows the magnetism of the parking space Z1. A waveform W2 representing the change over time of the change amount of the detection value of the sensor 11 is shown. In FIG. 13, it is assumed that no vehicle is parked in a space adjacent to the parking space Z1, and in FIG. 14, no vehicle is parked in the parking space Z1. The vehicle 21 enters the parking space Z1, and the vehicle 22 enters the adjacent parking space Z2. The magnetic sensor 11 is installed in the parking space Z1.

図13において、車両状態P1は、車両21が駐車スペースZ1に近づいてきている状態である。この場合、波形W1に示すように、磁気センサ11の検出値の変化量(地磁気の変化量)が漸次上昇する。次いで、車両状態P2のように車両21のエンジン部分が磁気センサ11の上方まで進入してくると、前記変化量がピークを迎える。そして、さらに車両21が進入してエンジン部分が磁気センサ11の位置を通り過ぎると、前記変化量は漸次低下する。そして、車両状態P3のように、車両21が駐車スペースZ1の奥まで進入して停車すると、前記変化量は前記満空判定閾値Lo未満の所定値に安定する。この例では、駐車スペースZ1に車両21が駐車された状態、つまり、駐車スペースZ1が満車状態であるにもかかわらず、前記変化量は満空判定閾値Lo未満であるため、駐車スペースZ1は空車状態と誤検知される。   In FIG. 13, the vehicle state P1 is a state in which the vehicle 21 is approaching the parking space Z1. In this case, as indicated by the waveform W1, the amount of change in the detection value of the magnetic sensor 11 (the amount of change in geomagnetism) gradually increases. Next, when the engine portion of the vehicle 21 enters above the magnetic sensor 11 as in the vehicle state P2, the amount of change reaches a peak. When the vehicle 21 further enters and the engine portion passes the position of the magnetic sensor 11, the amount of change gradually decreases. When the vehicle 21 enters the parking space Z1 and stops as in the vehicle state P3, the amount of change is stabilized at a predetermined value less than the fullness determination threshold Lo. In this example, since the vehicle 21 is parked in the parking space Z1, that is, the parking space Z1 is full, the amount of change is less than the fullness determination threshold Lo, so the parking space Z1 is empty. Misdetected as a condition.

また、図14において、車両状態P11は、車両22が駐車スペースZ2に近づいてきている状態である。この場合、波形W2に示すように、磁気センサ11の検出値の変化量が緩やかに上昇する。次いで、車両状態P12のように車両22が駐車スペースZ2に進入し始めると、前記変化量が前記満空判定閾値Loを超える場合がある。そして、さらに車両22が進入すると、前記変化量は、前記満空判定閾値Lo以上の値を維持したまま横合いで推移し、車両状態P13のように車両22が駐車スペースZ1の奥まで進入して停車しても、前記変化量は前記満空判定閾値Lo以上の値を維持する。この例では、駐車スペースZ1に車両21が駐車されておらず駐車スペースZ1が空車状態であるにもかかわらず、前記変化量は満空判定閾値Lo以上であるため、駐車スペースZ1は満車状態と誤検知される。   Moreover, in FIG. 14, the vehicle state P11 is a state in which the vehicle 22 is approaching the parking space Z2. In this case, as shown by the waveform W2, the amount of change in the detection value of the magnetic sensor 11 rises gradually. Next, when the vehicle 22 begins to enter the parking space Z2 as in the vehicle state P12, the amount of change may exceed the fullness determination threshold Lo. When the vehicle 22 further enters, the amount of change changes side by side while maintaining a value equal to or higher than the fullness determination threshold Lo, and the vehicle 22 enters the parking space Z1 as in the vehicle state P13. Even when the vehicle stops, the amount of change maintains a value equal to or higher than the fullness determination threshold Lo. In this example, although the vehicle 21 is not parked in the parking space Z1 and the parking space Z1 is in an empty state, the amount of change is equal to or greater than the fullness determination threshold Lo, and therefore the parking space Z1 is in a full state. Misdetected.

本発明の目的は、駐車場の駐車スペースなどの検出空間における車両の有無の誤検知を防止することが可能な車両検知装置、車両検知方法、及びプログラムを提供することである。   An object of the present invention is to provide a vehicle detection device, a vehicle detection method, and a program capable of preventing erroneous detection of the presence or absence of a vehicle in a detection space such as a parking space of a parking lot.

本発明の一の局面に係る車両検知装置は、検出空間における磁界の大きさ及び方向を含む磁界ベクトルを検出する磁気センサの検出値に基づいて前記検出空間における車両の有無を判定するものであり、第1差分算出部と、空車判定部と、を備える。前記第1差分算出部は、前記検出空間に前記車両が進入して停止した第1状態及び前記検出空間から前記車両が退出した第2状態それぞれの前記磁界ベクトルを前記磁気センサから取得して、各磁界ベクトルの第1差分ベクトルを算出する。前記空車判定部は、前記検出空間に前記車両が停止した後に前記第1差分ベクトルの方向とは逆方向の磁界変動が発生した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する。   A vehicle detection device according to one aspect of the present invention is configured to determine the presence or absence of a vehicle in the detection space based on a detection value of a magnetic sensor that detects a magnetic field vector including the magnitude and direction of a magnetic field in the detection space. , A first difference calculation unit, and an empty vehicle determination unit. The first difference calculation unit acquires, from the magnetic sensor, the magnetic field vectors of the first state where the vehicle enters and stops in the detection space and the second state where the vehicle leaves the detection space, respectively. A first difference vector of each magnetic field vector is calculated. The empty vehicle determination unit changes the detection space from the first state to the second state when a magnetic field fluctuation in a direction opposite to the direction of the first difference vector occurs after the vehicle stops in the detection space. Judge that it has changed.

本発明の他の局面に係る車両検知方法は、検出空間における磁界の大きさ及び方向を含む磁界ベクトルを検出する磁気センサの検出値に基づいて前記検出空間における車両の有無を判定する方法であって、第1差分算出ステップと、空車判定ステップと、を含む。前記第1差分算出ステップは、前記検出空間に前記車両が進入して停止した第1状態及び前記検出空間から前記車両が退出した第2状態それぞれの前記磁界ベクトルを前記磁気センサから取得して、各磁界ベクトルの第1差分ベクトルを算出する。前記空車判定ステップは、前記検出空間に前記車両が停止した後に前記第1差分ベクトルの方向とは逆方向の磁界変動が発生した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する。   A vehicle detection method according to another aspect of the present invention is a method of determining the presence or absence of a vehicle in the detection space based on a detection value of a magnetic sensor that detects a magnetic field vector including the magnitude and direction of a magnetic field in the detection space. And a first difference calculating step and an empty vehicle determining step. The first difference calculating step acquires, from the magnetic sensor, the magnetic field vectors of the first state where the vehicle enters and stops in the detection space and the second state where the vehicle leaves the detection space, respectively. A first difference vector of each magnetic field vector is calculated. In the empty vehicle determination step, when a magnetic field fluctuation in a direction opposite to the direction of the first difference vector occurs after the vehicle stops in the detection space, the detection space changes from the first state to the second state. Judge that it has changed.

本発明は、前記車両検知方法の各ステップをコンピュータに実行させるためのプログラム、又は、このようなプログラムを非一時的に記録したコンピュータ読み取り可能な記録媒体として捉えることもできる。   The present invention can also be understood as a program for causing a computer to execute each step of the vehicle detection method, or a computer-readable recording medium in which such a program is recorded non-temporarily.

本発明によれば、駐車場の駐車スペースに対する車両の駐車状態の誤検知を防止することが可能である。   ADVANTAGE OF THE INVENTION According to this invention, it is possible to prevent the erroneous detection of the parking state of the vehicle with respect to the parking space of a parking lot.

図1は、本発明の実施形態に係る車両検知装置と磁気センサとの接続構成を示す模式図である。FIG. 1 is a schematic diagram illustrating a connection configuration between a vehicle detection device and a magnetic sensor according to an embodiment of the present invention. 図2は、車両検知装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the vehicle detection device. 図3は、車両の走行方向の部位に対する地表面での地磁気への影響度の一例を示す図であり、(A)は影響度の低い車両の各部位における地磁気の変化量を示す図であり、(B)は影響度の高い車両の各部位における地磁気の変化量を示す図である。FIG. 3 is a diagram showing an example of the degree of influence on the geomagnetism on the ground surface with respect to the part in the traveling direction of the vehicle, and (A) is a figure showing the amount of change in the geomagnetism in each part of the vehicle having a low degree of influence. (B) is a figure which shows the variation | change_quantity of the geomagnetism in each site | part of a vehicle with a high influence degree. 図4は、車両の駐車状態と、各駐車状態に応じた磁気センサの検出値の変化量を示す図である。FIG. 4 is a diagram illustrating the parking state of the vehicle and the amount of change in the detection value of the magnetic sensor according to each parking state. 図5は、磁気センサの設置位置における各駐車状態に応じた磁界ベクトルの一例を示すベクトル図である。FIG. 5 is a vector diagram showing an example of a magnetic field vector corresponding to each parking state at the installation position of the magnetic sensor. 図6は、第1差分ベクトル及び第2差分ベクトルの一例を示すベクトル図である。FIG. 6 is a vector diagram illustrating an example of the first difference vector and the second difference vector. 図7は、駐車スペースZ1に車両が前進で入車し後進で出車した場合の車両状態と、車両の入出車中に駐車スペースZ1の磁気センサが検出した検出値の変化量の経時変化を表す波形とを示す図である。FIG. 7 shows changes over time in the vehicle state when the vehicle enters the parking space Z1 in a forward direction and leaves in the reverse direction, and the amount of change in the detected value detected by the magnetic sensor in the parking space Z1 while the vehicle enters and leaves the vehicle. It is a figure which shows the waveform to represent. 図8は、駐車スペースZ1に車両が前進入車の途中に後進で出車したときの車両状態と、車両の入出車中に駐車スペースZ1の磁気センサが検出した検出値の変化量の経時変化を表す波形とを示す図である。FIG. 8 shows changes over time in the amount of change in the detected value detected by the magnetic sensor in the parking space Z1 when the vehicle leaves the parking space Z1 in the middle of the forward approaching vehicle and moves backward. It is a figure which shows the waveform showing. 図9は、駐車スペースZ1に車両が後進で入車し前進で出車した場合の車両状態と、車両の入出車中に駐車スペースZ1の磁気センサが検出した検出値の変化量の経時変化を表す波形とを示す図である。FIG. 9 shows changes over time in the vehicle state when the vehicle enters the parking space Z1 backward and leaves the parking space, and the amount of change in the detection value detected by the magnetic sensor in the parking space Z1 while the vehicle enters and leaves the vehicle. It is a figure which shows the waveform to represent. 図10は、隣接する駐車スペースZ2に車両が駐車している状態で、駐車スペースZ1に車両が前進で入車し後進で出車した場合の車両状態と、車両の入出車中に駐車スペースZ1の磁気センサが検出した検出値の変化量の経時変化を表す波形とを示す図である。FIG. 10 shows the vehicle state when the vehicle enters the parking space Z1 in a forward direction and leaves the parking space Z1 in the adjacent parking space Z2, and the parking space Z1 while the vehicle enters and leaves the vehicle. It is a figure which shows the waveform showing a time-dependent change of the variation | change_quantity of the detected value which the magnetic sensor detected. 図11は、隣接する駐車スペースZ2に車両が駐車している状態で、駐車スペースZ1に車両が前進で入車し、その後に駐車スペースZ2から車両が後進で出車し、その後に駐車スペースZ1から車両が後進で出車した場合の車両状態と、各車両の入出車中に駐車スペースZ1の磁気センサが検知した検出値の変化量の経時変化を表す波形とを示す図である。FIG. 11 shows a state in which the vehicle is parked in the adjacent parking space Z2, the vehicle enters the parking space Z1 in a forward direction, and then the vehicle leaves the parking space Z2 in the reverse direction, and then the parking space Z1. FIG. 6 is a diagram illustrating a vehicle state when the vehicle leaves in reverse, and a waveform representing a change over time in the amount of change in the detected value detected by the magnetic sensor in the parking space Z1 while each vehicle enters and leaves the vehicle. 図12は、車両検知装置の制御部によって実行される車両検知処理の手順の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of a procedure of a vehicle detection process executed by the control unit of the vehicle detection device. 図13は、駐車スペースZ1において、地磁気への影響度の大小に起因する誤検知を説明するための図であり、上図は、地磁気への影響度の低い車両が駐車スペースZ1に入車するときの車両状態P1,P2,P3を示し、下図は、駐車スペースZ1への入車中に駐車スペースZ1の磁気センサで検知された地磁気の変化量の経時変化を表す波形W1を示す。FIG. 13 is a diagram for explaining erroneous detection caused by the magnitude of the influence on geomagnetism in the parking space Z1, and the upper figure shows that a vehicle having a low influence on geomagnetism enters the parking space Z1. Vehicle state P1, P2, P3 at the time, and the lower figure shows a waveform W1 representing a temporal change in the amount of change in geomagnetism detected by the magnetic sensor in the parking space Z1 while entering the parking space Z1. 図14は、駐車スペースZ1において、地磁気への影響度の大小に起因する誤検知を説明するための図であり、上図は、地磁気への影響度の高い車両が駐車スペースZ2に入車するときの車両状態P11,P12,P13を示し、下図は、駐車スペースZ2への入車中に駐車スペースZ1の磁気センサで検知された地磁気の変化量の経時変化を表す波形W2を示す。FIG. 14 is a diagram for explaining false detection due to the magnitude of the influence on geomagnetism in the parking space Z1, and the upper figure shows that a vehicle having a high influence on geomagnetism enters the parking space Z2. Vehicle state P11, P12, P13 at the time, and the lower figure shows a waveform W2 representing the change over time of the amount of change in geomagnetism detected by the magnetic sensor in the parking space Z1 while entering the parking space Z2.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明を具体化した一例にすぎず、本発明の技術的範囲を限定するものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. In addition, embodiment described below is only an example which actualized this invention, and does not limit the technical scope of this invention.

[車両検知装置10]
図1は、本発明の実施形態に係る車両検知装置10と磁気センサ11との接続構成を示す模式図である。
[Vehicle detection device 10]
FIG. 1 is a schematic diagram illustrating a connection configuration between a vehicle detection device 10 and a magnetic sensor 11 according to an embodiment of the present invention.

車両検知装置10は、駐車場20に区画された複数の駐車スペースZそれぞれにおける車両の有無を判定するものである。図1に示すように、各駐車スペースZそれぞれには磁気センサ11が設置されている。磁気センサ11は、その設置位置における地磁気を含む磁界の強度(磁束密度)を検出可能な周知のセンサである。本実施形態では、車両検知装置10は、駐車スペースZの駐車面に設置された磁気センサ11の検出値の変化量Gに基づいて駐車スペースZにおける車両の有無を判定する。また、車両検知装置10は、磁気センサ11の検出値から得られる磁界ベクトルに基づいて、駐車スペースZが空状態か否かを判定する。なお、駐車スペースZにおいて地磁気以外の磁界を形成するものが存在しない限り、磁気センサ11は、設置位置における地磁気の強度を検出する。   The vehicle detection device 10 determines the presence / absence of a vehicle in each of a plurality of parking spaces Z partitioned into a parking lot 20. As shown in FIG. 1, a magnetic sensor 11 is installed in each parking space Z. The magnetic sensor 11 is a known sensor capable of detecting the strength (magnetic flux density) of a magnetic field including the geomagnetism at the installation position. In the present embodiment, the vehicle detection device 10 determines the presence or absence of a vehicle in the parking space Z based on the change amount G of the detection value of the magnetic sensor 11 installed on the parking surface of the parking space Z. Further, the vehicle detection device 10 determines whether or not the parking space Z is empty based on the magnetic field vector obtained from the detection value of the magnetic sensor 11. Note that the magnetic sensor 11 detects the strength of the geomagnetism at the installation position unless there is anything in the parking space Z that forms a magnetic field other than geomagnetism.

磁気センサ11は、駐車スペースZ内に設置されており、図1に示すように、駐車スペースZの中央部よりも車両の出入口17寄りの位置に設置されている。本実施形態では、磁気センサ11は駐車スペースZにおける駐車面に埋設されている。磁気センサ11の設置位置は、例えば、フロント側にエンジンを搭載しているFR車やFF車などの車両(フロントエンジン車)が前進で駐車スペースZに駐車した場合に、荷室などを有するリア部分が配置される位置であり、後進で駐車スペースZに駐車した場合に、エンジンが搭載されたエンジン部分が配置される位置である。また、磁気センサ11の設置位置は、リア側にエンジンを搭載しているRR車などの車両(リアエンジン車)が前進で駐車スペースZに駐車した場合にエンジン部分が配置される位置であり、後進で駐車スペースZに駐車した場合に荷室などを有するフロント部分が配置される位置である。また、磁気センサ11の設置位置は、前後の車軸間にエンジンを搭載しているMR車などの車両(ミッドシップ車)が前進又は後進で駐車スペースZに駐車した場合にエンジン部分以外の部分が配置される位置である。   The magnetic sensor 11 is installed in the parking space Z. As shown in FIG. 1, the magnetic sensor 11 is installed at a position closer to the vehicle entrance / exit 17 than the central portion of the parking space Z. In the present embodiment, the magnetic sensor 11 is embedded in the parking surface in the parking space Z. The installation position of the magnetic sensor 11 is, for example, a rear having a cargo compartment or the like when a vehicle (front engine vehicle) such as an FR vehicle or FF vehicle equipped with an engine on the front side is parked in the parking space Z in a forward direction. This is the position where the part is arranged, and is the position where the engine part on which the engine is mounted is arranged when the vehicle is parked in the parking space Z in reverse. The installation position of the magnetic sensor 11 is a position where the engine portion is arranged when a vehicle such as an RR vehicle (rear engine vehicle) equipped with an engine on the rear side is parked in the parking space Z in a forward direction. This is a position where a front portion having a luggage compartment or the like is disposed when the vehicle is parked in the parking space Z in reverse. The magnetic sensor 11 is installed at a position other than the engine portion when a vehicle (midship vehicle) such as an MR vehicle mounted with an engine between the front and rear axles parks in the parking space Z forward or backward. It is a position to be done.

磁気センサ11は、三軸タイプのものであり、設置位置における磁界のベクトル量、つまり、磁界の大きさ(スカラー量)と磁界の方向(磁界方向)とを検出する。
なお、磁気センサ11は、二軸タイプのものであって、X軸及びY軸を含むXY平面の磁界の大きさ及び方向を検出するものであってもよい。
The magnetic sensor 11 is of a three-axis type and detects the magnetic field vector amount at the installation position, that is, the magnetic field magnitude (scalar amount) and the magnetic field direction (magnetic field direction).
The magnetic sensor 11 may be of a biaxial type, and may detect the magnitude and direction of the magnetic field on the XY plane including the X axis and the Y axis.

図2は、車両検知装置10の構成を示すブロック図である。   FIG. 2 is a block diagram illustrating a configuration of the vehicle detection device 10.

車両検知装置10に磁気センサ11が接続されている。磁気センサ11は、例えば、コイル、ホール素子、磁気抵抗素子(MR素子)、磁気インピーダンス素子(MI素子)などの磁気センサ素子を用いて、設置位置付近の地磁気を含む磁界のベクトル量を検出するものである。より詳細には、磁気センサ11は、検出した磁界ベクトルのベクトル量、つまり、大きさ成分であるスカラー量と磁界の方向(磁界方向)とを検出し、前記スカラー量及び前記磁界方向を検出値として後述の制御部12に送る。磁気センサ11は、車両検知装置10と有線又は無線によって電気的に接続されている。磁気センサ11は、前記磁気センサ素子の他に、増幅回路、AD変換回路などを備えている。なお、磁気センサ11が二軸タイプのものである場合、磁気センサ11は、検出した磁界ベクトルのうち、X軸及びY軸を含むXY平面の分力のスカラー量及び磁界方向を検出値として制御部12に送る。   A magnetic sensor 11 is connected to the vehicle detection device 10. The magnetic sensor 11 uses, for example, a magnetic sensor element such as a coil, a Hall element, a magnetoresistive element (MR element), or a magnetic impedance element (MI element) to detect the vector quantity of the magnetic field including the geomagnetism near the installation position. Is. More specifically, the magnetic sensor 11 detects a vector quantity of the detected magnetic field vector, that is, a scalar quantity as a magnitude component and a magnetic field direction (magnetic field direction), and detects the scalar quantity and the magnetic field direction as a detected value. To the control unit 12 described later. The magnetic sensor 11 is electrically connected to the vehicle detection device 10 by wire or wireless. The magnetic sensor 11 includes an amplification circuit, an AD conversion circuit, and the like in addition to the magnetic sensor element. When the magnetic sensor 11 is a two-axis type, the magnetic sensor 11 controls the detected magnetic field vector using the scalar amount and magnetic field direction of the component force on the XY plane including the X-axis and the Y-axis as detection values. Send to part 12.

図2に示すように、車両検知装置10は、制御部12と、記憶部13と、通信部14とを備えている。   As shown in FIG. 2, the vehicle detection device 10 includes a control unit 12, a storage unit 13, and a communication unit 14.

通信部14は通信インターフェースであり、車両検知装置10を有線又は無線でネットワークN1に接続し、ネットワークN1を介して管理サーバ15との間で所定の通信プロトコルに従ったデータ通信を実行する。通信部14は、車両検知装置10における車両の有無の判定結果(満状態又は空状態)をネットワークN1を介して管理サーバ15に送信する。ここで、前記空状態は、判定対象の駐車スペースZ(検出空間)に車両21が無い状態であり、本発明の第2状態の一例である。また、前記満状態は、駐車スペースZに車両21が有る状態であり、本発明の第1状態の一例である。管理サーバ15は、駐車場20における車両の有無を管理するサーバ装置である。本実施形態では、車両検知装置10が管理サーバ15と通信可能に接続された構成について例示するが、車両検知装置10が管理サーバ15によって実現された構成であってもよい。   The communication unit 14 is a communication interface, connects the vehicle detection device 10 to the network N1 by wire or wirelessly, and executes data communication with the management server 15 via the network N1 according to a predetermined communication protocol. The communication part 14 transmits the determination result (full state or empty state) of the presence or absence of the vehicle in the vehicle detection apparatus 10 to the management server 15 via the network N1. Here, the empty state is a state where there is no vehicle 21 in the parking space Z (detection space) to be determined, and is an example of a second state of the present invention. The full state is a state where the vehicle 21 is present in the parking space Z and is an example of the first state of the present invention. The management server 15 is a server device that manages the presence or absence of a vehicle in the parking lot 20. In the present embodiment, the configuration in which the vehicle detection device 10 is connected so as to be communicable with the management server 15 is illustrated, but the configuration in which the vehicle detection device 10 is realized by the management server 15 may be used.

記憶部13は、HDD(Hard Disk Drive)又はSSD(Solid State Drive)などを含む不揮発性の記憶媒体である。記憶部13には、制御部12に各種処理を実行させるための制御プログラムや、車両検知装置10において実行される後述の車両検知処理に用いられる各閾値や、磁気センサ11が検出した磁界ベクトルの座標情報、車両検知処理による各判定結果、駐車スペースZ1の満空状態を示すスターテス情報、後述の変化量Gを算出するための基準値などが記憶される。   The storage unit 13 is a non-volatile storage medium including an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The storage unit 13 stores control programs for causing the control unit 12 to execute various processes, threshold values used for vehicle detection processing described later executed by the vehicle detection device 10, and magnetic field vectors detected by the magnetic sensor 11. Coordinate information, each determination result by the vehicle detection process, status information indicating the full state of the parking space Z1, a reference value for calculating a change amount G described later, and the like are stored.

制御部12は、CPU、ROM、及びRAMなどの制御機器を有する。前記ROMは、前記CPUに各種の処理を実行させるためのBIOS及びOSなどの制御プログラムが予め記憶された不揮発性の記憶媒体である。前記RAMは、各種の情報を記憶する揮発性又は不揮発性の記憶媒体であり、前記CPUが実行する各種の処理の一時記憶メモリ(作業領域)として使用される。制御部12は、前記ROM又は記憶部13に予め記憶された各種の制御プログラムを前記CPUで実行することにより車両検知装置10を制御する。   The control unit 12 includes control devices such as a CPU, a ROM, and a RAM. The ROM is a nonvolatile storage medium in which control programs such as BIOS and OS for causing the CPU to execute various processes are stored in advance. The RAM is a volatile or non-volatile storage medium that stores various types of information, and is used as a temporary storage memory (working area) for various processes executed by the CPU. The control unit 12 controls the vehicle detection device 10 by executing various control programs stored in advance in the ROM or the storage unit 13 with the CPU.

図2に示すように、制御部12は、変化量算出部121、閾値判定部122、車両判定部123、第1空車判定部124、変動判定部125(本発明の検出値変動判定部の一例)、第1差分算出部126、第2差分算出部127、第2空車判定部128(本発明の空車判定部の一例)などの各種の処理部を含む。制御部12は、前記CPUで前記制御プログラムに従って車両検知処理などの各種の処理を実行することによって前記各種の処理部として機能する。なお、制御部12に含まれる一部又は全部の処理部が電子回路で構成されていてもよい。また、前記制御プログラムは、複数のプロセッサーを前記各種の処理部として機能させるためのプログラムであってもよい。   As shown in FIG. 2, the control unit 12 includes a change amount calculation unit 121, a threshold determination unit 122, a vehicle determination unit 123, a first empty vehicle determination unit 124, a fluctuation determination unit 125 (an example of a detection value fluctuation determination unit of the present invention). ), A first difference calculation unit 126, a second difference calculation unit 127, and a second empty vehicle determination unit 128 (an example of an empty vehicle determination unit of the present invention). The control unit 12 functions as the various processing units by executing various processes such as a vehicle detection process in the CPU according to the control program. Note that some or all of the processing units included in the control unit 12 may be configured by an electronic circuit. The control program may be a program for causing a plurality of processors to function as the various processing units.

変化量算出部121は、磁気センサ11から送られてきた検出値(磁界の強度を示す磁束密度の値)に基づいて変化量Gを算出する。前記変化量Gは、前記磁気センサの検出値に含まれるスカラー量と、予め定められた基準値との差分の絶対値である。前記基準値は、磁気センサ11が設置されている駐車スペースZ1(本発明の検出空間の一例)とこれに隣接する駐車スペースZ2(隣接空間)のいずれにも車両が駐車されていないときに検出された磁気センサ11の検出値であり、予め記憶部13に記憶されている。駐車場20における複数の駐車スペースZそれぞれにおける地磁気を含む磁界は、周辺の電線が形成する磁界の影響や、周辺の建物に用いられている鉄筋或いは立体駐車場に用いられている鉄筋などの強磁性体の影響を受ける。そのため、駐車スペースZごとに前記基準値が異なる。このため、駐車スペースZごとの前記基準値が予め取得されて、記憶部13に記憶されている。   The change amount calculation unit 121 calculates the change amount G based on the detection value (the value of magnetic flux density indicating the strength of the magnetic field) sent from the magnetic sensor 11. The change amount G is an absolute value of a difference between a scalar amount included in the detection value of the magnetic sensor and a predetermined reference value. The reference value is detected when the vehicle is not parked in any of the parking space Z1 (an example of the detection space of the present invention) in which the magnetic sensor 11 is installed and the parking space Z2 (adjacent space) adjacent thereto. The detected value of the magnetic sensor 11 is stored in the storage unit 13 in advance. The magnetic field including the geomagnetism in each of the plurality of parking spaces Z in the parking lot 20 is the influence of the magnetic field formed by the surrounding electric wires, the strength of the reinforcing bars used in the surrounding buildings or the reinforcing bars used in the three-dimensional parking lot, etc. Influenced by magnetic material. Therefore, the reference value is different for each parking space Z. For this reason, the reference value for each parking space Z is acquired in advance and stored in the storage unit 13.

一般に、自動車などの車両には、地磁気に対して影響を及ぼす強磁性体の素材が多く使用されている。したがって、自動車などの車両が駐車スペースZに進入して駐車されると、その駐車過程において磁気センサ11の検出値、つまり、磁界ベクトルのベクトル量が変動する。このため、駐車スペースZにおける車両の有無は、車両の存在によって変動した磁気センサ11の検出値と前記基準値との差分である前記変化量Gを算出し、この変化量Gを所定の閾値と比較することによって判定することが可能である。   In general, a ferromagnetic material that affects geomagnetism is often used in vehicles such as automobiles. Therefore, when a vehicle such as an automobile enters the parking space Z and is parked, the detected value of the magnetic sensor 11, that is, the vector amount of the magnetic field vector fluctuates during the parking process. For this reason, the presence / absence of a vehicle in the parking space Z is calculated by calculating the amount of change G, which is the difference between the detected value of the magnetic sensor 11 that fluctuates due to the presence of the vehicle and the reference value. It is possible to determine by comparing.

ところで、車両には種々の車種があり、車種によって地磁気への影響度の度合いが異なる。図3は、車両の走行方向の部位に対する地表面での地磁気への影響度の一例を示す図であり、(A)は地磁気への影響度の低い車両21の各部位における地磁気の変化量の分布を示す図であり、(B)は地磁気への影響度の高い車両22の各部位における地磁気の変化量の分布を示す図である。車両21は、例えば、フロントエンジン車であり、軽量化のために外装が鉄鋼などの板金ではなくアルミ合金や樹脂などで構成されたものである。この車両21においては、エンジン部分に強磁性体が多く使用されており、そのため、図3(A)に示すように、エンジン部分の下では地磁気に対して比較的大きな歪みを与え、当該部分に対応する地上面の地磁気の大きさ(スカラー量)の変化量は大きい。これに対して、エンジン部分以外の部分は強磁性体の使用量が少ないため、当該部分に対応する地表面の地磁気の大きさ(スカラー量)の変化量はエンジン部分に比べて相対的に小さい。一方、車両22は、例えば、フロント側にエンジンを搭載し、前後の車軸間にモーターやバッテリーを搭載したハイブリッド車である。この車両22は、エンジン部分だけでなく、他の部位においても強磁性体が多く使用されており、そのため、図3(B)に示すように、車両22の全域に対応する地表面の地磁気の前記変化量は、車両21の前記変化量よりも大きい。なお、前記走行方向の全域において強磁性体を多く使用しているトラックやバス等の車両も地磁気への影響度の高いものであり、車両22と同様に、当該車両の全域において地磁気の変化量が大きくなる。   By the way, there are various types of vehicles, and the degree of influence on geomagnetism varies depending on the type of vehicle. FIG. 3 is a diagram showing an example of the degree of influence on the geomagnetism on the ground surface with respect to a part in the traveling direction of the vehicle. FIG. 3A shows the amount of change in geomagnetism in each part of the vehicle 21 having a low degree of influence on the geomagnetism. It is a figure which shows distribution, (B) is a figure which shows distribution of the variation | change_quantity of geomagnetism in each site | part of the vehicle 22 with a high influence degree to geomagnetism. The vehicle 21 is, for example, a front engine vehicle, and the exterior is made of an aluminum alloy or a resin instead of a sheet metal such as steel in order to reduce the weight. In this vehicle 21, a ferromagnetic material is often used in the engine part. Therefore, as shown in FIG. 3A, a relatively large distortion is applied to the geomagnetism under the engine part, The amount of change in the magnitude (scalar amount) of the corresponding geomagnetism on the ground surface is large. On the other hand, since the amount of ferromagnetic material used is small in portions other than the engine portion, the amount of change in the magnitude of the earth's magnetic field (scalar amount) corresponding to the portion is relatively small compared to the engine portion. . On the other hand, the vehicle 22 is, for example, a hybrid vehicle in which an engine is mounted on the front side and a motor and a battery are mounted between the front and rear axles. The vehicle 22 uses a lot of ferromagnetic material not only in the engine part but also in other parts. Therefore, as shown in FIG. 3B, the geomagnetic field of the ground surface corresponding to the entire area of the vehicle 22 is obtained. The change amount is larger than the change amount of the vehicle 21. It should be noted that vehicles such as trucks and buses that use a large amount of ferromagnetic material in the entire region in the traveling direction also have a high degree of influence on geomagnetism. Becomes larger.

以下、図4を参照して、互いに隣接する駐車スペースZ1,Z2における車両21,22の駐車状態に応じた磁気センサ11Aの検出値に含まれるスカラー量の変化量Gについて説明するとともに、後述の車両検知処理に用いられる各閾値について説明する。ここで、磁気センサ11Aは、駐車スペースZ1に設置されたものであり、以下の説明においても同様である。また、駐車スペースZ2は駐車スペースZ1に隣接する駐車スペースである。なお、図4では、駐車スペースZ2の磁気センサ11の図示を省略している。   Hereinafter, the change amount G of the scalar amount included in the detection value of the magnetic sensor 11A according to the parking state of the vehicles 21 and 22 in the adjacent parking spaces Z1 and Z2 will be described with reference to FIG. Each threshold used for the vehicle detection process will be described. Here, the magnetic sensor 11A is installed in the parking space Z1, and the same applies to the following description. The parking space Z2 is a parking space adjacent to the parking space Z1. In addition, in FIG. 4, illustration of the magnetic sensor 11 of the parking space Z2 is abbreviate | omitted.

図4に示すように、駐車スペースZ1だけに車両21が前進で入車した駐車状態P21では、磁気センサ11Aの検出値の変化量Gは、波形W11(図4中の実線波形を参照)のように、車両21が進入するにしたがって前記変化量Gが徐々に大きくなる。そして、車両21のエンジン部分が磁気センサ11Aの上方を通過するときに、前記変化量Gはピーク値SP1に達し、その後徐々に低下して、安定値AV1に収束し、駐車スペースZ1に完全に車両21が駐車された満状態では、前記変化量Gは安定値AV1を維持する。   As shown in FIG. 4, in the parking state P21 in which the vehicle 21 enters only the parking space Z1, the change amount G of the detection value of the magnetic sensor 11A is a waveform W11 (see the solid line waveform in FIG. 4). Thus, the amount of change G gradually increases as the vehicle 21 enters. When the engine portion of the vehicle 21 passes above the magnetic sensor 11A, the amount of change G reaches the peak value SP1, then gradually decreases, converges to the stable value AV1, and completely enters the parking space Z1. In the full state in which the vehicle 21 is parked, the change amount G maintains the stable value AV1.

また、駐車スペースZ2だけに車両22が前進で入車した駐車状態P22では、駐車スペースZ1の磁気センサ11Aの検出値の変化量Gは、波形W12(図4中の破線波形を参照)のように、車両22が進入するにしたがって前記変化量Gが緩やかに大きくなる。これは、車両22が地磁気への影響度の大きい車両であるため、隣接する駐車スペースZ2に車両22が駐車された場合に、駐車スペースZ1における地磁気にも影響を与えるためである。この場合、前記変化量Gは前記ピーク値SP1まで上がらないが、前記安定値AV1より大きい安定値AV2まで上昇する場合があり、駐車スペースZ2に完全に車両22が駐車された状態では、前記変化量Gは安定値AV2を維持する。   Further, in the parking state P22 in which the vehicle 22 enters only the parking space Z2 in a forward direction, the change amount G of the detection value of the magnetic sensor 11A in the parking space Z1 is as shown by a waveform W12 (see the broken line waveform in FIG. 4). Moreover, as the vehicle 22 enters, the amount of change G increases gradually. This is because the vehicle 22 is a vehicle having a large influence on the geomagnetism, and thus when the vehicle 22 is parked in the adjacent parking space Z2, the geomagnetism in the parking space Z1 is also affected. In this case, the amount of change G does not increase to the peak value SP1, but may increase to a stable value AV2 that is greater than the stable value AV1, and the change occurs when the vehicle 22 is completely parked in the parking space Z2. The quantity G maintains a stable value AV2.

また、駐車スペースZ2に車両22が既に駐車されており、駐車スペースZ1に車両21が前進で入車する駐車状態P23では、前記変化量Gは、車両21が駐車スペースZ1に入車する前から既に前記安定値AV2となっている。つまり、駐車スペースZ1が空状態であり、且つ、駐車スペースZ2が満状態であるときの前記変化量Gは、前記安定値AV2である。そして、波形W13(図4中の点線波形を参照)のように、車両21が進入するにしたがって前記変化量Gが徐々に大きくなり、エンジン部分が磁気センサ11Aの上方を通過するときにピーク値SP1よりも大きいピーク値SP2に達する。その後、前記変化量Gは徐々に低下して、安定値AV1よりも大きい安定値AV3に収束し、駐車スペースZ1に完全に車両21が駐車された状態では、前記変化量Gは安定値AV3を維持する。   Further, in the parking state P23 where the vehicle 22 is already parked in the parking space Z2 and the vehicle 21 enters the parking space Z1 in a forward direction, the change amount G is from before the vehicle 21 enters the parking space Z1. The stable value AV2 has already been reached. That is, the change amount G when the parking space Z1 is empty and the parking space Z2 is full is the stable value AV2. Then, as the waveform W13 (see the dotted line waveform in FIG. 4), the amount of change G gradually increases as the vehicle 21 enters, and the peak value is obtained when the engine portion passes above the magnetic sensor 11A. The peak value SP2 that is larger than SP1 is reached. Thereafter, the change amount G gradually decreases and converges to a stable value AV3 larger than the stable value AV1, and when the vehicle 21 is completely parked in the parking space Z1, the change amount G decreases to the stable value AV3. maintain.

本実施形態では、駐車スペースZ1,Z2に対する車両21,22の複数の駐車状態と、その駐車状態に応じた前記変化量Gの複数の波形パターンに鑑みて、車両検知処理に用いられる各閾値が定められている。   In the present embodiment, in view of a plurality of parking states of the vehicles 21 and 22 with respect to the parking spaces Z1 and Z2 and a plurality of waveform patterns of the amount of change G according to the parking state, each threshold used for the vehicle detection process is It has been established.

具体的には、車両判定部123による後述の駐車判定処理を開始するか否かを判定するためのトリガー閾値H1は、第1空車判定部124による後述の第1空車判定処理に用いられる第1空閾値L1よりも大きい数値に設定されている。詳細には、前記トリガー閾値H1は、前記第1空閾値L1よりも大きく、前記ピーク値SP1よりも小さい数値に設定されている。   Specifically, the trigger threshold value H1 for determining whether or not a parking determination process described later by the vehicle determination unit 123 is started is used in a first empty determination process described later by the first empty determination unit 124. It is set to a numerical value larger than the empty threshold value L1. Specifically, the trigger threshold H1 is set to a numerical value that is larger than the first empty threshold L1 and smaller than the peak value SP1.

ここで、前記第1空閾値L1は、隣接する駐車スペースZ2に車両22が駐車されている場合でも駐車スペースZ1における空状態を確実に判定できるように、前記安定値AV2よりも大きい値に定められている。例えば、前記第1空閾値L1は、実験などから得られた信頼係数(例えば1.2)を前記安定値AV2に乗じた数値に設定される。   Here, the first empty threshold L1 is set to a value larger than the stable value AV2 so that the empty state in the parking space Z1 can be reliably determined even when the vehicle 22 is parked in the adjacent parking space Z2. It has been. For example, the first empty threshold L1 is set to a numerical value obtained by multiplying the stable value AV2 by a reliability coefficient (for example, 1.2) obtained from an experiment or the like.

また、前記駐車判定処理に用いられる満閾値H2は、前記第1空閾値L1と前記トリガー閾値H1との間の数値、つまり、前記第1空閾値L1よりも大きく、前記トリガー閾値H1よりも小さい数値に設定されている。   The full threshold H2 used for the parking determination process is a numerical value between the first empty threshold L1 and the trigger threshold H1, that is, greater than the first empty threshold L1 and smaller than the trigger threshold H1. It is set to a numerical value.

図2に示す閾値判定部122は、変化量算出部121によって算出された前記変化量Gが前記第1空車判定処理に用いられる前記第1空閾値L1よりも大きい前記トリガー閾値H1を越えたか否かを判定する。   The threshold determination unit 122 shown in FIG. 2 determines whether or not the change amount G calculated by the change amount calculation unit 121 exceeds the trigger threshold H1 that is larger than the first empty threshold L1 used in the first empty vehicle determination process. Determine whether.

車両判定部123は、閾値判定部122によって前記変化量Gが前記トリガー閾値H1を越えたと判定されると、判定対象の駐車スペースZ(検出空間)に車両があるか否かを判定する駐車判定処理を開始する。具体的には、車両判定部123は、前記変化量Gが前記トリガー閾値H1を越えたと判定された時点T31(図5参照)から予め定められた設定時間Taを経過した時点T32(図7参照)の前記変化量Gが前記満閾値H2以上であるかどうかを判定する。ここで、前記変化量Gが前記満閾値H2以上である場合に、車両判定部123は、判定対象の駐車スペースZに車両が存在している満状態であると判定し、つまり、駐車スペースZに車両が駐車されたと判定する。なお、設定時間Taは、車両が駐車スペースZに進入してから駐車スペースZに駐車するまでに要する平均時間に基づいて設定されている。   When the threshold determination unit 122 determines that the amount of change G has exceeded the trigger threshold H1, the vehicle determination unit 123 determines whether there is a vehicle in the determination target parking space Z (detection space). Start processing. Specifically, the vehicle determination unit 123 determines a time point T32 (see FIG. 7) after a predetermined set time Ta has elapsed from a time point T31 (see FIG. 5) when it is determined that the amount of change G has exceeded the trigger threshold value H1. ) Is determined whether the change amount G is equal to or greater than the full threshold value H2. Here, when the change amount G is equal to or greater than the full threshold value H2, the vehicle determination unit 123 determines that the vehicle is present in the determination target parking space Z, that is, the parking space Z. It is determined that the vehicle is parked. The set time Ta is set based on an average time required for the vehicle to enter the parking space Z and park in the parking space Z.

第1空車判定部124は、前記変化量G及び前記第1空閾値L1に基づいて、判定対象の駐車スペースZ(検出空間)が空状態か否かを判定する第1空判定処理を行う。具体的には、第1空車判定部124は、前記変化量Gが前記第1空閾値L1未満の場合に、判定対象の駐車スペースZを車両が存在しない空状態と判定する。   The first empty vehicle determination unit 124 performs a first empty determination process for determining whether or not the determination target parking space Z (detection space) is empty based on the change amount G and the first empty threshold L1. Specifically, the first empty vehicle determination unit 124 determines that the determination target parking space Z is an empty state in which no vehicle exists when the amount of change G is less than the first empty threshold L1.

変動判定部125は、磁気センサ11の検出値が変動したか否かを判定する処理を行う。この判定処理は、駐車スペースZに車両が駐車された後に開始される。具体的には、車両判定部123が、駐車スペースZに車両が駐車されたと判定すると、前記判定処理が開始される。   The fluctuation determination unit 125 performs processing for determining whether or not the detection value of the magnetic sensor 11 has fluctuated. This determination process is started after the vehicle is parked in the parking space Z. Specifically, when the vehicle determination unit 123 determines that the vehicle is parked in the parking space Z, the determination process is started.

第1差分算出部126は、駐車スペースZに対する車両の駐車前及び駐車後それぞれの磁界ベクトルの差分ベクトル(以下、第1差分ベクトルという。)を算出する。この第1差分ベクトルは、駐車前に磁気センサ11によって検出された磁気ベクトルと、駐車後に磁気センサ11によって検出された磁気ベクトルとの差を示すベクトルであり、駐車前後で変化した磁界ベクトルの変動量を示す。具体的には、第1差分算出部126は、車両が駐車される前に磁気センサ11によって検出された磁界ベクトルのベクトル量を記憶部13に記憶しておき、車両が駐車されたと判定されたときに磁気センサ11によって検出された磁界ベクトルのベクトル量を記憶部13に記憶し、これらのベクトルの差を前記第1差分ベクトルとして算出する。   The first difference calculation unit 126 calculates a difference vector (hereinafter, referred to as a first difference vector) of magnetic field vectors before and after parking of the vehicle with respect to the parking space Z. The first difference vector is a vector indicating a difference between the magnetic vector detected by the magnetic sensor 11 before parking and the magnetic vector detected by the magnetic sensor 11 after parking, and the fluctuation of the magnetic field vector changed before and after parking. Indicates the amount. Specifically, the first difference calculation unit 126 stores the vector amount of the magnetic field vector detected by the magnetic sensor 11 before the vehicle is parked in the storage unit 13 and determines that the vehicle is parked. Sometimes, the vector quantity of the magnetic field vector detected by the magnetic sensor 11 is stored in the storage unit 13, and the difference between these vectors is calculated as the first difference vector.

図5は、駐車スペースZ1の磁気センサ11Aの設置位置Qにおける磁界ベクトルR1〜P3を示すベクトル図である。図5(A)は、駐車スペースZ1,Z2のいずれにも車両が駐車されていないときの磁界ベクトルR1を示す。図5(B)は、駐車スペースZ1だけに車両が駐車されたときの磁界ベクトルR2を示す。図5(C)は、駐車スペースZ2だけに車両が駐車されたときの磁界ベクトルR3を示す。図5においては、X軸方向を北とし、Y軸方向を東とし、Z軸方向を鉛直方向としている。各図において、設置位置QをX軸、Y軸、Z軸の原点としている。   FIG. 5 is a vector diagram showing magnetic field vectors R1 to P3 at the installation position Q of the magnetic sensor 11A in the parking space Z1. FIG. 5A shows the magnetic field vector R1 when the vehicle is not parked in any of the parking spaces Z1, Z2. FIG. 5B shows the magnetic field vector R2 when the vehicle is parked only in the parking space Z1. FIG. 5C shows a magnetic field vector R3 when the vehicle is parked only in the parking space Z2. In FIG. 5, the X-axis direction is north, the Y-axis direction is east, and the Z-axis direction is vertical. In each figure, the installation position Q is the origin of the X, Y, and Z axes.

例えば、互いに隣接する駐車スペースZ1,Z2のいずれにも車両が駐車されていないときに駐車スペースZ1の磁気センサ11Aが磁界ベクトルR1(図5(A)参照)を検出し、駐車スペースZ1だけに車両が駐車されたときに磁気センサ11Aが磁界ベクトルR2(図5(B)参照)を検出した場合は、各ベクトルR1,R2の差分ベクトルである第1差分ベクトルRS11(図6(A)参照)が第1差分算出部126によって算出される。この場合、第1差分算出部126は、磁界ベクトルR1の各軸の座標[X0,Y0,Z0]を記憶部13に記憶しておき、磁界ベクトルR2の各軸の座標[X1,Y1,Z1]を記憶部13に記憶しておき、各座標から前記第1差分ベクトルRS11を算出する。   For example, the magnetic sensor 11A of the parking space Z1 detects the magnetic field vector R1 (see FIG. 5A) when the vehicle is not parked in any of the adjacent parking spaces Z1, Z2, and only the parking space Z1. When the magnetic sensor 11A detects the magnetic field vector R2 (see FIG. 5B) when the vehicle is parked, a first difference vector RS11 (see FIG. 6A) that is a difference vector between the vectors R1 and R2. ) Is calculated by the first difference calculation unit 126. In this case, the first difference calculation unit 126 stores the coordinates [X0, Y0, Z0] of each axis of the magnetic field vector R1 in the storage unit 13, and coordinates [X1, Y1, Z1] of each axis of the magnetic field vector R2. ] Is stored in the storage unit 13, and the first difference vector RS11 is calculated from each coordinate.

ここで、前記第1差分ベクトルRS11は、駐車スペースZ1に駐車された車両の固有のベクトルである。したがって、例えば、駐車スペースZ2だけに車両が駐車されているときに、更に駐車スペースZ1に車両が駐車された場合でも、第1差分算出部126は、第1差分ベクトルRS11を算出する。例えば、図5(B)にしめすように、駐車スペースZ2だけに車両が駐車されているときに駐車スペースZ1の磁気センサ11Aが磁界ベクトルR3(座標[X2,Y2,Z2])を検出していたとする。この場合、駐車スペースZ1に車両が駐車された後に磁気センサ11Aが検出した磁界ベクトルR4は、図6(B)に示すように、磁界ベクトルR3に前記第1差分ベクトルRS11を加えた合成ベクトルとなる。   Here, the first difference vector RS11 is a unique vector of the vehicle parked in the parking space Z1. Therefore, for example, when the vehicle is parked only in the parking space Z2, even when the vehicle is further parked in the parking space Z1, the first difference calculation unit 126 calculates the first difference vector RS11. For example, as shown in FIG. 5B, when the vehicle is parked only in the parking space Z2, the magnetic sensor 11A in the parking space Z1 detects the magnetic field vector R3 (coordinates [X2, Y2, Z2]). Suppose. In this case, the magnetic field vector R4 detected by the magnetic sensor 11A after the vehicle is parked in the parking space Z1 is a composite vector obtained by adding the first difference vector RS11 to the magnetic field vector R3 as shown in FIG. Become.

なお、磁気センサ11の設置位置の周辺には、磁界に影響を与える磁気物体などが配置されることがある。例えば、判定対象の駐車スペースZ1(検出空間)に隣接するスペースに磁気物体が設置されたり、地磁気への影響度の高い他の車両が駐車スペースZ1の近傍を通過したり、隣接する駐車スペースZ2に地磁気への影響度の高い他の車両が駐車される場合もある。いずれの場合であっても、判定対象である駐車スペースZ1以外に配置された前記磁気物体や前記他の車両は、駐車スペースZ1の磁気センサ11Aの設置位置における地磁気を含む磁界を歪める要因であり、当該要因によっても前記設置位置における磁界ベクトルのベクトル量が変動する。しかし、判定対象の駐車スペースZ1に車両が駐車された場合と、駐車スペースZ2に他の車両や磁気物体などが配置された場合とでは、磁気センサ11Aが検出する磁界ベクトルの変動量が異なる。これは、駐車スペースZ1に駐車される車両の位置と、駐車スペースZ2に配置される他の車両や磁気物体の位置とが異なることに起因している。つまり、磁気センサ11Aが鉛直上方から影響を受けるか、横方向から影響を受けるかによって、磁気センサ11Aが検出する磁界ベクトルのベクトル量が異なる。このため、上述した磁界ベクトルR3の磁界方向が磁界ベクトルR2の磁界方向と一致することはなく、また、各ベクトルの大きさが同じになることもない。   A magnetic object or the like that affects the magnetic field may be arranged around the installation position of the magnetic sensor 11. For example, a magnetic object is installed in a space adjacent to the determination target parking space Z1 (detection space), another vehicle having a high influence on geomagnetism passes through the vicinity of the parking space Z1, or the adjacent parking space Z2 In some cases, other vehicles having high influence on geomagnetism are parked. In any case, the magnetic object and the other vehicle arranged outside the parking space Z1 that is the determination target are factors that distort the magnetic field including the geomagnetism at the installation position of the magnetic sensor 11A in the parking space Z1. The vector amount of the magnetic field vector at the installation position varies depending on the factor. However, the amount of change in the magnetic field vector detected by the magnetic sensor 11A differs between when the vehicle is parked in the determination target parking space Z1 and when another vehicle or a magnetic object is arranged in the parking space Z2. This is because the position of the vehicle parked in the parking space Z1 is different from the positions of other vehicles and magnetic objects arranged in the parking space Z2. That is, the vector quantity of the magnetic field vector detected by the magnetic sensor 11A differs depending on whether the magnetic sensor 11A is affected from the vertical upper side or the lateral direction. For this reason, the magnetic field direction of the magnetic field vector R3 described above does not coincide with the magnetic field direction of the magnetic field vector R2, and the magnitudes of the vectors do not become the same.

第2差分算出部127は、変動判定部125によって磁気センサ11の検出値が変動したと判定された場合に、磁気センサ11の検出値の変動前後それぞれの前記磁界ベクトルの差分ベクトル(以下、第2差分ベクトルという。)を算出する。この第2差分ベクトルは、磁気センサ11の検出値の変動前に検出されていた磁気ベクトルと、変動後の検出値である磁気ベクトルとの差を示すベクトルであり、検出値の変動前後の磁界ベクトルの変動量を示す。具体的には、第2差分算出部127は、前記検出値の変動が生じる前に磁気センサ11によって検出された磁界ベクトルの座標を記憶部13に記憶しておき、変動が生じた後に磁気センサ11によって検出された磁界ベクトルの座標を記憶部13に記憶し、各座標から求められる各磁界ベクトルの差を、前記第2差分ベクトルとして算出する。   When the fluctuation determination unit 125 determines that the detection value of the magnetic sensor 11 has fluctuated, the second difference calculation unit 127 calculates a difference vector (hereinafter referred to as a first difference vector) of the magnetic field vectors before and after the fluctuation of the detection value of the magnetic sensor 11. 2 difference vector). The second difference vector is a vector indicating a difference between the magnetic vector detected before the change of the detection value of the magnetic sensor 11 and the magnetic vector which is the detection value after the change, and the magnetic field before and after the change of the detection value. Indicates the amount of vector variation. Specifically, the second difference calculation unit 127 stores the coordinates of the magnetic field vector detected by the magnetic sensor 11 before the detection value fluctuates in the storage unit 13, and after the fluctuation occurs, the magnetic sensor 11 stores the coordinates of the magnetic field vector detected by the storage unit 13 and calculates a difference between the magnetic field vectors obtained from the coordinates as the second difference vector.

磁気センサ11の検出値の変動は、例えば、判定対象の駐車スペースZ1(検出空間)から車両が出車(退出)した場合に変動する。この場合、他の磁気物体や他の車両の影響を受けていないのであれば、磁気センサ11Aの検出値は、磁界ベクトルR2から磁界ベクトルR1に戻る。したがって、この場合は、第2差分算出部127は、前記第1差分ベクトルRS11と同じ大きさであって逆方向の第2差分ベクトルRS21(図6参照)を算出する。   The fluctuation of the detection value of the magnetic sensor 11 fluctuates, for example, when the vehicle leaves (leaves) from the parking space Z1 (detection space) to be determined. In this case, the detection value of the magnetic sensor 11A returns from the magnetic field vector R2 to the magnetic field vector R1 if it is not affected by other magnetic objects or other vehicles. Therefore, in this case, the second difference calculation unit 127 calculates the second difference vector RS21 (see FIG. 6) having the same size as the first difference vector RS11 and in the reverse direction.

また、磁気センサ11の検出値の変動は、駐車スペースZ1に車両が駐車された満状態であっても、隣接する駐車スペースZ2から車両が出車した場合にも変動する。例えば、駐車スペースZ2から車両が出車すると、出車後に磁気センサ11Aが検出した磁界ベクトルR5は、磁界ベクトルR4に後述の差分ベクトルRS22を加えた合成ベクトルとなる。したがって、この場合は、差分ベクトルRS22を第2差分ベクトルとして算出する。ここで、差分ベクトルRS22は、上述した磁界ベクトルR1と磁界ベクトルR3の差分ベクトルRS12と同じ大きさであって逆方向のベクトルである。   Moreover, even if the detection value of the magnetic sensor 11 is in a full state in which the vehicle is parked in the parking space Z1, it also varies when the vehicle leaves the adjacent parking space Z2. For example, when the vehicle leaves the parking space Z2, the magnetic field vector R5 detected by the magnetic sensor 11A after leaving the vehicle becomes a combined vector obtained by adding a later-described difference vector RS22 to the magnetic field vector R4. Therefore, in this case, the difference vector RS22 is calculated as the second difference vector. Here, the difference vector RS22 is a vector having the same magnitude and the reverse direction as the difference vector RS12 of the magnetic field vector R1 and the magnetic field vector R3 described above.

第2空車判定部128は、判定対象の駐車スペースZに車両が駐車された後に、駐車スペースZが満状態から空状態に変化したか否かを判定する。例えば、第2空車判定部128は、第1差分算出部126によって算出された前記第1差分ベクトルの方向とは逆方向の磁界変動が発生した場合に、駐車スペースZが満状態から空状態に変化したと判定する。   The second empty vehicle determination unit 128 determines whether or not the parking space Z has changed from the full state to the empty state after the vehicle is parked in the determination target parking space Z. For example, the second empty vehicle determination unit 128 changes the parking space Z from the full state to the empty state when a magnetic field fluctuation in a direction opposite to the direction of the first difference vector calculated by the first difference calculation unit 126 occurs. Judge that it has changed.

例えば、駐車スペースZ1に駐車されていた車両が出車した場合、駐車スペースZ1の磁気センサ11Aの検出値は、磁界ベクトルR2から磁界ベクトルR1に戻る(図6(A)参照)。この場合、磁気センサ11Aの設置位置Qにおいては、前記第1差分ベクトルRS1とは逆方向で同じ大きさの磁界変動が生じることになる。一方、駐車スペースZ2に駐車されていた車両が出車した場合、駐車スペースZ1の磁気センサ11Aの検出値は、磁界ベクトルR3から磁界ベクトルR1に戻る。この場合、磁気センサ11Aの設置位置Qにおいては、前記第1差分ベクトルRS1とは方向も大きさも異なる磁界変動(前記第2差分ベクトルRS2の逆方向の磁界変動)が生じることになる。   For example, when a vehicle parked in the parking space Z1 leaves, the detection value of the magnetic sensor 11A in the parking space Z1 returns from the magnetic field vector R2 to the magnetic field vector R1 (see FIG. 6A). In this case, in the installation position Q of the magnetic sensor 11A, a magnetic field fluctuation having the same magnitude occurs in the opposite direction to the first difference vector RS1. On the other hand, when the vehicle parked in the parking space Z2 leaves, the detection value of the magnetic sensor 11A in the parking space Z1 returns from the magnetic field vector R3 to the magnetic field vector R1. In this case, in the installation position Q of the magnetic sensor 11A, a magnetic field fluctuation (magnetic field fluctuation in the opposite direction of the second difference vector RS2) that is different in direction and magnitude from the first difference vector RS1 occurs.

このため、第2空車判定部128は、第2差分算出部127によって算出された前記第2差分ベクトルの方向と、前記第1差分ベクトルの方向とを比較し、前記第2差分ベクトルの方向が前記第1差分ベクトルの方向の逆方向と一致するか否かを判定し、前記第2差分ベクトルの方向が前記逆方向に一致すると判定した場合に、駐車スペースZが満状態から空状態に変化したと判定する。つまり、判定対象の駐車スペースZから車両が出車したと判定する。   Therefore, the second empty vehicle determination unit 128 compares the direction of the second difference vector calculated by the second difference calculation unit 127 with the direction of the first difference vector, and the direction of the second difference vector is When it is determined whether or not the direction of the first difference vector coincides with the opposite direction, and it is determined that the direction of the second difference vector coincides with the opposite direction, the parking space Z changes from the full state to the empty state. It is determined that That is, it is determined that the vehicle has left the determination target parking space Z.

本実施形態では、第2空車判定部128は、前記第2差分ベクトルが、前記第1差分ベクトルの逆ベクトルであるか否かを判定し、逆ベクトルである場合に駐車スペースZが満状態から空状態に変化したと判定する。言い換えると、第2空車判定部128は、前記第2差分ベクトルの方向が前記第1差分ベクトルの方向の逆方向に一致すると判定し、且つ、前記第2差分ベクトルの大きさと前記第1差分ベクトルの大きさとが一致すると判定した場合に、駐車スペースZが満状態から空状態に変化したと判定する。   In the present embodiment, the second empty vehicle determination unit 128 determines whether or not the second difference vector is an inverse vector of the first difference vector, and when the parking space Z is in a full state when the second difference vector is an inverse vector. It is determined that the state has changed to an empty state. In other words, the second empty vehicle determination unit 128 determines that the direction of the second difference vector coincides with the opposite direction of the direction of the first difference vector, and the magnitude of the second difference vector and the first difference vector. It is determined that the parking space Z has changed from the full state to the empty state.

[車両検知処理]
以下、図7乃至図11を参照しつつ、図12のフローチャートを用いて、制御部12によって実行される車両検知処理の手順とともに、本発明の車両検知方法の一例について説明する。図12において、S11,S12,・・・は処理手順の番号(ステップ番号)を示す。なお、以下の説明では、駐車スペースZ1の磁気センサ11Aの検出値が記憶部13に記憶されているものとする。
[Vehicle detection processing]
Hereinafter, an example of the vehicle detection method of the present invention will be described together with the procedure of the vehicle detection process executed by the control unit 12 with reference to FIGS. 7 to 11 and the flowchart of FIG. 12, S11, S12,... Indicate processing procedure numbers (step numbers). In the following description, it is assumed that the detection value of the magnetic sensor 11A of the parking space Z1 is stored in the storage unit 13.

まず、図7に示すように、駐車スペースZ1だけに車両21が前進で入車し後進で出車した場合の車両検知処理について説明する。ここで、図7は、入出車における車両状態P31〜P35と、入出車中における磁気センサ11Aの検出値の変化量Gの経時変化を表す波形W31とを示す。   First, as shown in FIG. 7, a vehicle detection process in the case where the vehicle 21 enters the parking space Z1 in a forward direction and exits in the reverse direction will be described. Here, FIG. 7 shows vehicle states P31 to P35 when entering and leaving the vehicle, and a waveform W31 that represents a change over time in the change amount G of the detected value of the magnetic sensor 11A while entering and leaving the vehicle.

〈ステップS11,S12〉
図12に示すように、ステップS11では、制御部12は、磁気センサ11Aの検出値の変化量Gが前記第1空閾値L1よりも小さいか否かを判定する。図7に示す車両状態P31は、駐車スペースZ1に車両21のフロント側が近づいた状態を示しており、この車両状態P31では、車両21が磁気センサ11Aの設置位置における磁界に与える影響は小さい。このため、車両状態P31における前記変化量Gは前記第1空閾値L1よりも小さい。したがって、車両21が車両状態P31である場合は、制御部12は、前記変化量Gが前記第1空閾値L1よりも小さいと判定する(S11のYes)。この場合、次のステップS12において、制御部12は、駐車スペースZ1が空状態であると判定して、駐車スペースZ1が空状態であることを示すステータス情報を記憶部13に記憶し、当該ステータス情報を管理サーバ15に出力する。その後、処理はステップS11に戻る。なお、ステップS11において、前記変化量Gが前記第1空閾値L1以上であると判定されると、処理は、次のステップS13に進む。
<Steps S11 and S12>
As shown in FIG. 12, in step S11, the control unit 12 determines whether or not the change amount G of the detection value of the magnetic sensor 11A is smaller than the first empty threshold L1. A vehicle state P31 shown in FIG. 7 shows a state in which the front side of the vehicle 21 is approaching the parking space Z1, and in this vehicle state P31, the vehicle 21 has little influence on the magnetic field at the installation position of the magnetic sensor 11A. For this reason, the change amount G in the vehicle state P31 is smaller than the first empty threshold value L1. Therefore, when the vehicle 21 is in the vehicle state P31, the control unit 12 determines that the amount of change G is smaller than the first empty threshold L1 (Yes in S11). In this case, in the next step S12, the control unit 12 determines that the parking space Z1 is empty, stores status information indicating that the parking space Z1 is empty in the storage unit 13, and the status. Information is output to the management server 15. Thereafter, the process returns to step S11. If it is determined in step S11 that the change amount G is equal to or greater than the first empty threshold L1, the process proceeds to the next step S13.

〈ステップS13〉
ステップS13では、制御部12は、前記変化量Gが前記トリガー閾値H1を超えたか否かを判定する。車両21が駐車スペースZ1内に進入して、車両21のエンジン部分が磁気センサ11Aの上方に配置された車両状態P32になると、車両21が磁気センサ11Aの設置位置における磁界に与える影響は急激に大きくなる。このため、車両状態P32では、前記変化量Gは前記トリガー閾値H1よりも大きくなる。したがって、車両21が車両状態P32である場合は、制御部12は、前記変化量Gが前記トリガー閾値H1よりも大きいと判定する(S13のYes)。この場合、処理は、次のステップS14に進む。なお、ステップS13において、前記変化量Gが前記トリガー閾値H1以下であると判定された場合(S13のNo)、処理はステップS11に戻る。
<Step S13>
In step S13, the control unit 12 determines whether or not the change amount G has exceeded the trigger threshold value H1. When the vehicle 21 enters the parking space Z1 and enters the vehicle state P32 in which the engine portion of the vehicle 21 is disposed above the magnetic sensor 11A, the influence of the vehicle 21 on the magnetic field at the installation position of the magnetic sensor 11A is abrupt. growing. Therefore, in the vehicle state P32, the change amount G is larger than the trigger threshold value H1. Therefore, when the vehicle 21 is in the vehicle state P32, the control unit 12 determines that the change amount G is larger than the trigger threshold value H1 (Yes in S13). In this case, the process proceeds to the next step S14. If it is determined in step S13 that the change amount G is equal to or less than the trigger threshold value H1 (No in S13), the process returns to step S11.

〈ステップS14〉
ステップS14では、制御部12は、ステップS13において前記変化量Gが前記トリガー閾値H1を越えたと判定された時点T31(図7参照)から前記設定時間Taを経過したか否かを判定する。ここで、前記設定時間Taを経過したと判定されると、処理はステップS15に進む。
<Step S14>
In step S14, the control unit 12 determines whether or not the set time Ta has elapsed from time T31 (see FIG. 7) when it is determined in step S13 that the change amount G has exceeded the trigger threshold value H1. If it is determined that the set time Ta has elapsed, the process proceeds to step S15.

〈ステップS15〉
ステップS15では、制御部12は、前記設定時間Taを経過した時点T32(図7参照)における前記変化量Gが、前記トリガー閾値H1よりも小さいか否かを判定する。車両21が駐車スペースZ1内に更に進入して、車両21が車両状態P33に移るにつれて、車両21が磁気センサ11Aの設置位置における磁界に与える影響は徐々に小さくなり、車両21が車両状態P33になると前記変化量Gは、前記トリガー閾値H1よりも小さくなる。ここで、車両状態P33は、車両21のエンジン部分が磁気センサ11Aの上方を通過し、車両21のリア部分が磁気センサ11Aの上方に配置された状態であって、車両21が駐車スペースZ1に駐車された状態である。したがって、車両21が車両状態P33である場合は、制御部12は、前記変化量Gが前記トリガー閾値H1よりも小さいと判定する(S15のYes)。この場合、処理は、次のステップS16に進む。ステップS15において、時点T32(図7参照)における前記変化量Gが前記トリガー閾値H1以上であると判定されると(S15のNo)、処理は後述のステップS17に進む。
<Step S15>
In step S15, the control unit 12 determines whether or not the change amount G at the time T32 (see FIG. 7) when the set time Ta has elapsed is smaller than the trigger threshold value H1. As the vehicle 21 further enters the parking space Z1 and the vehicle 21 moves to the vehicle state P33, the influence of the vehicle 21 on the magnetic field at the installation position of the magnetic sensor 11A gradually decreases, and the vehicle 21 enters the vehicle state P33. Then, the amount of change G becomes smaller than the trigger threshold value H1. Here, the vehicle state P33 is a state in which the engine portion of the vehicle 21 passes above the magnetic sensor 11A and the rear portion of the vehicle 21 is disposed above the magnetic sensor 11A, and the vehicle 21 enters the parking space Z1. You are parked. Therefore, when the vehicle 21 is in the vehicle state P33, the control unit 12 determines that the change amount G is smaller than the trigger threshold value H1 (Yes in S15). In this case, the process proceeds to the next step S16. If it is determined in step S15 that the amount of change G at time T32 (see FIG. 7) is greater than or equal to the trigger threshold value H1 (No in S15), the process proceeds to step S17 described later.

なお、時点T32(図7参照)における磁気センサ11Aの検出値(磁界ベクトル)に関する情報は、記憶部13に記憶される。記憶される具体的な情報としては、磁界ベクトルの各軸の座標情報が考えられる。   Information relating to the detection value (magnetic field vector) of the magnetic sensor 11A at time T32 (see FIG. 7) is stored in the storage unit 13. As specific information to be stored, coordinate information of each axis of the magnetic field vector can be considered.

〈ステップS16〉
ステップS16では、制御部12は、時点T32(図7参照)における前記変化量G(判定数値G1)が、前記満閾値H2よりも大きいか否かを判定する。上述したように、車両21は、エンジン部分以外の部分は、磁界に対する影響が低いが、前記変化量Gは前記満閾値H2よりも高い数値を示す。したがって、車両21が車両状態P33である場合は、制御部12は、前記変化量Gが前記満閾値H2よりも大きいと判定する(S16のYes)。この場合、処理は、次のステップS17に進む。一方、ステップS17において、時点T32(図7参照)における前記変化量Gが前記満閾値H2以下であると判定されると(S16のNo)、処理はステップS11に戻る。
<Step S16>
In step S16, the control unit 12 determines whether or not the amount of change G (determination value G1) at time T32 (see FIG. 7) is greater than the full threshold value H2. As described above, in the vehicle 21, the portion other than the engine portion has a low influence on the magnetic field, but the change amount G indicates a numerical value higher than the full threshold value H <b> 2. Therefore, when the vehicle 21 is in the vehicle state P33, the control unit 12 determines that the amount of change G is larger than the full threshold value H2 (Yes in S16). In this case, the process proceeds to the next step S17. On the other hand, if it is determined in step S17 that the amount of change G at time T32 (see FIG. 7) is less than or equal to the full threshold H2 (No in S16), the process returns to step S11.

〈ステップS17〉
ステップS16において、時点T32(図7参照)における前記変化量Gが前記満閾値H2以下であると判定された場合、制御部12は、次のステップS17において、駐車スペースZ1が満状態であると判定する。そして、制御部12は、駐車スペースZ1が満状態であることを示すステータス情報を記憶部13に記憶し、当該ステータス情報を管理サーバ15に出力する。
<Step S17>
If it is determined in step S16 that the amount of change G at time T32 (see FIG. 7) is less than or equal to the full threshold value H2, the controller 12 determines that the parking space Z1 is full in the next step S17. judge. And the control part 12 memorize | stores the status information which shows that the parking space Z1 is a full state in the memory | storage part 13, and outputs the said status information to the management server 15. FIG.

〈ステップS18〉
次のステップS18では、制御部12は、前記第1差分ベクトルを算出する。ステップS18は、本発明の第1差分算出ステップの一例である。具体的には、記憶部13に記憶された時点T32の磁界ベクトルと、車両21が駐車スペースZ1に進入する前に磁気センサ11Aに検出された検出値である磁界ベクトルとに基づいて、前記第1差分ベクトルが算出される。算出された前記第1差分ベクトルの情報は、記憶部13に記憶される。なお、図7に示す入出車の例では、図6に示す第1差分ベクトルRS11が算出される。
<Step S18>
In the next step S18, the control unit 12 calculates the first difference vector. Step S18 is an example of a first difference calculation step of the present invention. Specifically, based on the magnetic field vector at time T32 stored in the storage unit 13 and the magnetic field vector that is the detected value detected by the magnetic sensor 11A before the vehicle 21 enters the parking space Z1, the first One difference vector is calculated. Information on the calculated first difference vector is stored in the storage unit 13. In the example of entry / exit shown in FIG. 7, the first difference vector RS11 shown in FIG. 6 is calculated.

〈ステップS19〉
次のステップS18では、制御部12は、磁気センサ11Aの検出値が変動したか否かを判定する。駐車スペースZ1から車両21が出車し始めて、車両21が車両状態P33から車両状態P34に移ると、磁気センサ11Aの検出値が変動する。ここで、車両状態P34は、車両21が駐車スペースZ1から出車し始めて、車両21のエンジン部分が磁気センサ11Aの上方に配置された状態である。制御部12は、磁気センサ11Aの検出値を監視することにより、前記検出値が変動したか否かを判定する。
<Step S19>
In the next step S18, the control unit 12 determines whether or not the detection value of the magnetic sensor 11A has changed. When the vehicle 21 starts to leave the parking space Z1 and the vehicle 21 moves from the vehicle state P33 to the vehicle state P34, the detection value of the magnetic sensor 11A changes. Here, the vehicle state P34 is a state in which the vehicle 21 starts to leave the parking space Z1 and the engine portion of the vehicle 21 is disposed above the magnetic sensor 11A. The controller 12 determines whether or not the detected value has changed by monitoring the detected value of the magnetic sensor 11A.

〈ステップS20〉
ステップS19において、磁気センサ11Aの検出値が変動したと判定されると、制御部12は、磁気センサ11Aの検出値が一定値に収束したか否かを判定する。具体的には、磁気センサ11Aの検出値が一定時間の間同じ値を示す場合に、磁気センサ11Aの検出値が一定値に収束したと判定される。例えば、車両21が駐車スペースZ1から完全に出車した車両状態P35になると、磁気センサ11Aの検出値は、車両21のみならず、周辺の磁気物体や他の車両の影響を受けない。このため、磁気センサ11Aの検出値は、図6に示す磁界ベクトルR1に収束する。
<Step S20>
If it is determined in step S19 that the detection value of the magnetic sensor 11A has changed, the control unit 12 determines whether or not the detection value of the magnetic sensor 11A has converged to a constant value. Specifically, when the detection value of the magnetic sensor 11A shows the same value for a certain time, it is determined that the detection value of the magnetic sensor 11A has converged to a certain value. For example, when the vehicle state P35 where the vehicle 21 has completely left the parking space Z1 is detected, the detection value of the magnetic sensor 11A is not affected by not only the vehicle 21 but also surrounding magnetic objects and other vehicles. For this reason, the detection value of the magnetic sensor 11A converges to the magnetic field vector R1 shown in FIG.

〈ステップS21〉
ステップS20において、磁気センサ11Aの検出値が一定値に収束したと判定されると(図7の時点T33参照)、次のステップS21では、制御部12は、前記第2差分ベクトルを算出する。なお、図7に示す入出車の例では、図6に示す第2差分ベクトルRS21が算出される。
<Step S21>
If it is determined in step S20 that the detection value of the magnetic sensor 11A has converged to a constant value (see time point T33 in FIG. 7), in the next step S21, the control unit 12 calculates the second difference vector. In the example of entry / exit shown in FIG. 7, the second difference vector RS21 shown in FIG. 6 is calculated.

〈ステップS22〜S24〉
その後、ステップS22において、制御部12は、ステップS21で算出された前記第2差分ベクトルがステップS18で算出された前記第1差分ベクトルの逆ベクトルであるか否かを判定する。かかる判定は、駐車スペースZ1が満状態から空状態になったか否かを判定するために行われる。ステップS22は、本発明の空車判定ステップの一例である。ここで、前記第2差分ベクトルが逆ベクトルでないと判定されると、駐車スペースZ1が満状態と判定し、記憶部13のステータス情報を変更せずに、次のステップS24において、制御部12は、磁気センサ11Aの検出値(収束値)を記憶部13に記憶した後に、ステップS19に戻る。一方、前記第2差分ベクトルが逆ベクトルであると判定されると、制御部12は、駐車スペースZ1が空状態に戻ったと判定する。なお、図7に示す入出車の例では、第2差分ベクトルRS21は前記第1差分ベクトルRS11の逆ベクトルであるため、制御部12は、前記第2差分ベクトルが逆ベクトルであると判定する。この場合、駐車スペースZ1が空状態であることを示すステータス情報を記憶部13に記憶し、当該ステータス情報を管理サーバ15に出力する(S23)。その後、一連の車両検知処理が終了する。
<Steps S22 to S24>
Thereafter, in step S22, the control unit 12 determines whether or not the second difference vector calculated in step S21 is an inverse vector of the first difference vector calculated in step S18. This determination is performed to determine whether or not the parking space Z1 has changed from a full state to an empty state. Step S22 is an example of an empty vehicle determination step of the present invention. Here, if it is determined that the second difference vector is not an inverse vector, it is determined that the parking space Z1 is full, the status information in the storage unit 13 is not changed, and in the next step S24, the control unit 12 After the detection value (convergence value) of the magnetic sensor 11A is stored in the storage unit 13, the process returns to step S19. On the other hand, if it is determined that the second difference vector is an inverse vector, the control unit 12 determines that the parking space Z1 has returned to an empty state. In the example of entry / exit shown in FIG. 7, since the second difference vector RS21 is an inverse vector of the first difference vector RS11, the control unit 12 determines that the second difference vector is an inverse vector. In this case, status information indicating that the parking space Z1 is empty is stored in the storage unit 13, and the status information is output to the management server 15 (S23). Then, a series of vehicle detection processes are complete | finished.

次に、図8に示すように、駐車スペースZ1だけに車両21が前進で入車する途中に後進して出車した場合の車両検知処理について説明する。なお、以下においては、上述した処理検知処理の各手順と共通する手順についての説明は省略する。ここで、図8は、入出車における車両状態P31,P32,P35と、入出車中における磁気センサ11Aの検出値の変化量Gの経時変化を表す波形W32とを示す。   Next, as shown in FIG. 8, a vehicle detection process in the case where the vehicle 21 moves backward in the middle of entering the parking space Z1 in the forward direction and leaves the vehicle will be described. In the following, description of procedures common to the procedures of the process detection process described above will be omitted. Here, FIG. 8 shows vehicle states P31, P32, and P35 when entering and leaving the vehicle, and a waveform W32 that represents a change over time in the change amount G of the detected value of the magnetic sensor 11A while entering and leaving the vehicle.

上述した車両状態P32から車両21が後進して出車して前記車両状態P35になると、車両状態P32において、前記変化量Gは前記トリガー閾値H1よりも一時的に大きくなるが、車両状態P35では、前記変化量Gは前記第1空閾値L1よりも小さくなる。したがって、上述のステップS15において、前記変化量Gが前記トリガー閾値H1よりも小さいと判定されたとしても、次のステップS16では、制御部12は、前記変化量Gが前記第1空閾値L1よりも小さいと判定する(S16のNo)。この場合、駐車スペースZ1の判定結果が空状態に維持されたまま、処理はステップS11に戻る。   When the vehicle 21 moves backward from the vehicle state P32 described above and leaves the vehicle state P35, the change amount G temporarily becomes larger than the trigger threshold H1 in the vehicle state P32, but in the vehicle state P35, The change amount G is smaller than the first empty threshold value L1. Therefore, even if it is determined in step S15 described above that the change amount G is smaller than the trigger threshold value H1, in the next step S16, the control unit 12 determines that the change amount G is greater than the first empty threshold value L1. Is also determined to be small (No in S16). In this case, the process returns to step S11 while the determination result of the parking space Z1 is maintained in the empty state.

次に、図9に示すように、駐車スペースZ1だけに車両21が後進で入車し前進で出車した場合の車両検知処理について説明する。ここで、図9は、入出車における車両状態P41〜P45と、入出車中における磁気センサ11Aの検出値の変化量Gの経時変化を表す波形W33とを示す。なお、車両状態P41〜P45は、上述の車両状態P31〜P35に対して、駐車スペースZ1への車両21の進入方向が異なるだけであり、その他の動作状態は同じである。   Next, as shown in FIG. 9, a vehicle detection process in the case where the vehicle 21 enters the parking space Z1 backward and leaves the parking space Z1 will be described. Here, FIG. 9 shows vehicle states P41 to P45 when entering and leaving, and a waveform W33 that represents a change with time in the change amount G of the detected value of the magnetic sensor 11A while entering and leaving the vehicle. The vehicle states P41 to P45 differ from the vehicle states P31 to P35 described above only in the direction in which the vehicle 21 enters the parking space Z1, and the other operation states are the same.

図9に示す車両状態P41は、駐車スペースZ1に車両21のリア側が近づいた状態を示しており、この車両状態P41では、車両21が磁気センサ11Aの設置位置における磁界に与える影響は小さい。このため、車両状態P41における前記変化量Gは前記第1空閾値L1よりも小さい。したがって、車両21が車両状態P41である場合は、制御部12は、前記変化量Gが前記第1空閾値L1よりも小さいと判定し(S11のYes)、駐車スペースZ1が空状態であると判定する(S12)。   A vehicle state P41 shown in FIG. 9 shows a state in which the rear side of the vehicle 21 is approaching the parking space Z1, and in this vehicle state P41, the influence of the vehicle 21 on the magnetic field at the installation position of the magnetic sensor 11A is small. For this reason, the change amount G in the vehicle state P41 is smaller than the first empty threshold value L1. Therefore, when the vehicle 21 is in the vehicle state P41, the control unit 12 determines that the change amount G is smaller than the first empty threshold L1 (Yes in S11), and the parking space Z1 is in an empty state. Determine (S12).

車両21が駐車スペースZ1内に更に進入して、車両21のリア部分が磁気センサ11Aの上方に配置された車両状態P42になると、車両21が磁気センサ11Aの設置位置における磁界に与える影響は若干大きくなる。しかし、車両状態P42では、前記変化量Gは前記トリガー閾値H1を超えることはない。なお、前記変化量Gが前記満閾値H2を超える場合があるが、前記変化量Gが前記トリガー閾値H1を超えない限り駐車スペースZ1における車両21の有無の判定は行われない。そのため、駐車スペースZ1の判定結果は空状態に維持されたままとなる。   When the vehicle 21 further enters the parking space Z1 and enters the vehicle state P42 in which the rear portion of the vehicle 21 is disposed above the magnetic sensor 11A, the influence of the vehicle 21 on the magnetic field at the installation position of the magnetic sensor 11A is slightly. growing. However, in the vehicle state P42, the change amount G does not exceed the trigger threshold value H1. Although the change amount G may exceed the full threshold value H2, the presence / absence of the vehicle 21 in the parking space Z1 is not determined unless the change amount G exceeds the trigger threshold value H1. Therefore, the determination result of the parking space Z1 remains maintained in an empty state.

車両21が駐車スペースZ1内に更に進入して、車両21のエンジン部分が磁気センサ11Aの上方に配置された車両状態P43になると、車両21が磁気センサ11Aの設置位置における磁界に与える影響は急激に大きくなる。ここで、車両状態P43は、車両21のエンジン部分が磁気センサ11Aの上方に配置され、且つ、車両21が駐車スペースZ1に駐車された状態である。この車両状態P43では、前記変化量Gは前記トリガー閾値H1よりも大きくなる。したがって、車両21が車両状態P43である場合は、制御部12は、前記変化量Gが前記トリガー閾値H1よりも大きいと判定し(S13のYes)、その後、処理は次のステップS14に進む。   When the vehicle 21 further enters the parking space Z1 and enters the vehicle state P43 in which the engine portion of the vehicle 21 is disposed above the magnetic sensor 11A, the influence of the vehicle 21 on the magnetic field at the installation position of the magnetic sensor 11A is abrupt. Become bigger. Here, the vehicle state P43 is a state in which the engine portion of the vehicle 21 is disposed above the magnetic sensor 11A and the vehicle 21 is parked in the parking space Z1. In the vehicle state P43, the change amount G is greater than the trigger threshold value H1. Therefore, when the vehicle 21 is in the vehicle state P43, the control unit 12 determines that the change amount G is larger than the trigger threshold value H1 (Yes in S13), and then the process proceeds to the next step S14.

ステップS14において前記設定時間Taを経過したと判定されると、ステップS15では、上述したように、制御部12は、前記設定時間Taを経過した時点T32(図9参照)における前記変化量Gが、前記トリガー閾値H1よりも小さいか否かを判定する。図9に示す車両状態P43では、エンジン部分が磁気センサ11Aの上方に配置された状態で車両21が駐車している。したがって、車両21が車両状態P43である場合は、制御部12は、前記変化量Gが前記トリガー閾値H1よりも大きいと判定する(S15のNo)。この場合、処理は、次のステップS17に進み、上述したステップS17以降の処理が行われる。   When it is determined in step S14 that the set time Ta has elapsed, in step S15, as described above, the control unit 12 determines that the change amount G at time T32 (see FIG. 9) when the set time Ta has elapsed. It is determined whether or not the trigger threshold value H1 is smaller. In the vehicle state P43 shown in FIG. 9, the vehicle 21 is parked with the engine portion disposed above the magnetic sensor 11A. Therefore, when the vehicle 21 is in the vehicle state P43, the control unit 12 determines that the change amount G is larger than the trigger threshold value H1 (No in S15). In this case, the process proceeds to the next step S17, and the processes after step S17 described above are performed.

なお、図9に示す入出車の例では、上述のステップS18では、前記第1差分ベクトルとして図6(A)に示す第1差分ベクトルRS11が算出される。また、上述のステップS21では、前記第2差分ベクトルとして図6(A)に示す第2差分ベクトルRS21が算出される。   In the example of entry / exit shown in FIG. 9, in the above-described step S18, the first difference vector RS11 shown in FIG. 6A is calculated as the first difference vector. In step S21 described above, the second difference vector RS21 shown in FIG. 6A is calculated as the second difference vector.

次に、図10に示すように、駐車スペースZ2に車両22が駐車している状態で、駐車スペースZ1に車両21が前進で入車し後進で出車した場合の車両検知処理について説明する。ここで、図10は、入出車における車両状態P51〜P56と、入出車中における磁気センサ11Aの検出値の変化量Gの経時変化を表す波形W34とを示す。   Next, as shown in FIG. 10, a vehicle detection process when the vehicle 21 enters the parking space Z1 in a forward direction and leaves the parking space Z1 in the reverse direction while the vehicle 22 is parked will be described. Here, FIG. 10 shows vehicle states P51 to P56 when entering and leaving the vehicle, and a waveform W34 representing a change over time in the change amount G of the detected value of the magnetic sensor 11A while entering and leaving the vehicle.

図10に示す車両状態P51は、駐車スペースZ2に車両22のフロント側が近づいた状態を示しており、この車両状態P51では、車両22が磁気センサ11Aの設置位置における磁界に与える影響は小さい。このため、車両状態P51における前記変化量Gは前記第1空閾値L1よりも小さい。また、車両状態P52は、車両22が駐車スペースZ2に駐車した状態であり、車両22が車両状態P52であっても前記変化量Gは前記第1空閾値L1よりも小さい。したがって、車両21が駐車スペースZ1に進入していない状態においては、駐車スペースZ2における車両22の有無に関係なく、制御部12は、前記変化量Gが前記第1空閾値L1よりも小さいと判定し(S11のYes)、駐車スペースZ1が空状態であると判定する(S12)。   A vehicle state P51 shown in FIG. 10 shows a state in which the front side of the vehicle 22 is approaching the parking space Z2, and in this vehicle state P51, the influence of the vehicle 22 on the magnetic field at the installation position of the magnetic sensor 11A is small. For this reason, the change amount G in the vehicle state P51 is smaller than the first empty threshold value L1. The vehicle state P52 is a state in which the vehicle 22 is parked in the parking space Z2. Even when the vehicle 22 is in the vehicle state P52, the change amount G is smaller than the first sky threshold L1. Therefore, in a state where the vehicle 21 has not entered the parking space Z1, the control unit 12 determines that the change amount G is smaller than the first empty threshold L1 regardless of the presence or absence of the vehicle 22 in the parking space Z2. (Yes in S11), it is determined that the parking space Z1 is empty (S12).

なお、図10に示す入出車の例では、上述のステップS18では、前記第1差分ベクトルとして図6(B)に示す第1差分ベクトルRS11が算出される。   In the example of entering / exiting shown in FIG. 10, in step S18 described above, the first difference vector RS11 shown in FIG. 6B is calculated as the first difference vector.

また、図10の車両状態P55は、駐車スペースZ2に車両22が駐車しており、駐車スペースZ1から車両21が後進で出車した状態を示す。車両状態P55から車両状態P56になると、ステップS19において、制御部12は、磁気センサ11Aの検出値が変動したと判定する。この後、磁気センサ11Aの検出値が一定値に収束した場合、ステップS21において前記第2差分ベクトルが算出されるが、このとき算出される前記第2差分ベクトルは、図6(B)に示す第2差分ベクトルRS21である。したがって、次のステップS22では、前記第2差分ベクトルが前記第1差分ベクトルの逆ベクトルであると判定される。つまり、制御部12は、駐車スペースZ1が空状態であると判定する。   Moreover, the vehicle state P55 of FIG. 10 shows a state in which the vehicle 22 is parked in the parking space Z2, and the vehicle 21 has left the parking space Z1 in reverse. When the vehicle state P55 is changed to the vehicle state P56, the control unit 12 determines in step S19 that the detection value of the magnetic sensor 11A has changed. Thereafter, when the detection value of the magnetic sensor 11A converges to a constant value, the second difference vector is calculated in step S21. The second difference vector calculated at this time is shown in FIG. This is the second difference vector RS21. Therefore, in the next step S22, it is determined that the second difference vector is an inverse vector of the first difference vector. That is, the control unit 12 determines that the parking space Z1 is empty.

次に、図11に示すように、駐車スペースZ2に車両22が駐車している状態で、駐車スペースZ1に車両21が前進で入車し、その後に駐車スペースZ2から車両22が後進で出車し、その後に駐車スペースZ1から車両21が後進で出車した場合の車両検知処理について説明する。ここで、図11は、入出車における車両状態P51〜P55,P57,P58と、入出車中における磁気センサ11Aの検出値の変化量Gの経時変化を表す波形W35とを示す。   Next, as shown in FIG. 11, with the vehicle 22 parked in the parking space Z2, the vehicle 21 enters the parking space Z1 in a forward direction, and then the vehicle 22 leaves the parking space Z2 in the reverse direction. Then, vehicle detection processing when the vehicle 21 leaves the parking space Z1 backward will be described. Here, FIG. 11 shows vehicle states P51 to P55, P57, and P58 during entry / exit, and a waveform W35 that represents a change over time in the change amount G of the detected value of the magnetic sensor 11A during entry / exit.

図11に示す車両状態P57は、駐車スペースZ1に車両21が駐車しており、駐車スペースZ2から車両22が後進で出車した状態を示す。車両状態P54から車両状態P57になると、磁気センサ11Aの設置位置における磁界への車両22の影響が無くなり、磁気センサ11Aの検出値が変動する。したがって、ステップS19において、制御部12は、磁気センサ11Aの検出値が変動したと判定する。この後、磁気センサ11Aの検出値が一定値に収束した場合、ステップS21において前記第2差分ベクトルが算出されるが、このとき算出される前記第2差分ベクトルは、図6(C)に示す第2差分ベクトルRS22である。したがって、次のステップS22では、前記第2差分ベクトルが前記第1差分ベクトルの逆ベクトルではないと判定される。つまり、車両状態P57では、未だ、駐車スペースZ1は満状態であると判定される。   A vehicle state P57 shown in FIG. 11 shows a state in which the vehicle 21 is parked in the parking space Z1, and the vehicle 22 leaves the parking space Z2 in the reverse direction. When the vehicle state P54 is changed to the vehicle state P57, the vehicle 22 has no influence on the magnetic field at the installation position of the magnetic sensor 11A, and the detection value of the magnetic sensor 11A varies. Therefore, in step S19, the control unit 12 determines that the detection value of the magnetic sensor 11A has changed. Thereafter, when the detection value of the magnetic sensor 11A converges to a constant value, the second difference vector is calculated in step S21. The second difference vector calculated at this time is shown in FIG. This is the second difference vector RS22. Therefore, in the next step S22, it is determined that the second difference vector is not an inverse vector of the first difference vector. That is, in the vehicle state P57, it is determined that the parking space Z1 is still full.

一方、車両21が車両状態P57から車両状態P58になると、再び、ステップS19において、制御部12は、磁気センサ11Aの検出値が変動したと判定する。その後、ステップS21において前記第2差分ベクトルが算出されるが、このとき算出される前記第2差分ベクトルは、図6(C)に示す第2差分ベクトルRS21である。したがって、次のステップS22では、前記第2差分ベクトルが前記第1差分ベクトルの逆ベクトルであると判定される。つまり、車両状態P58では、駐車スペースZ1が満状態から空状態に変わったと判定される。   On the other hand, when the vehicle 21 changes from the vehicle state P57 to the vehicle state P58, the control unit 12 again determines in step S19 that the detection value of the magnetic sensor 11A has changed. Thereafter, the second difference vector is calculated in step S21. The second difference vector calculated at this time is the second difference vector RS21 shown in FIG. 6C. Therefore, in the next step S22, it is determined that the second difference vector is an inverse vector of the first difference vector. That is, in the vehicle state P58, it is determined that the parking space Z1 has changed from the full state to the empty state.

以上説明したように、本実施形態に係る車両検知装置10では、駐車スペースZ1の磁気センサ11Aの検出値の変化量Gが前記第1空閾値L1よりも大きい前記トリガー閾値H1を越えた場合に車両判定部123によって駐車スペースZ1に車両21が駐車されたか否かを判定する駐車判定処理が開始される。そして、前記変化量Gが前記トリガー閾値H1を越えたと判定され、その判定の時点T31から設定時間Ta経過後の前記変化量G(判定数値G1)が、前記トリガー閾値未満であり、且つ、前記満閾値H2以上である場合に、駐車スペースZ1に車両21が駐車されたと判定される。また、駐車スペースZ1が満状態と判定された後は、磁気センサ11Aの検出値が変動したことを条件に、前記第2差分ベクトルが前記第1差分ベクトルの逆ベクトルであるか否かが判定される。そして、前記第2差分ベクトルが逆ベクトルであると判定されると、駐車スペースZ1が満状態から空状態に変化したと判定される。このため、駐車スペースZ1に車両21が駐車された場合でも、駐車スペースZ1における満状態又は空状態を正確に判定することができる。   As described above, in the vehicle detection device 10 according to the present embodiment, when the change amount G of the detection value of the magnetic sensor 11A in the parking space Z1 exceeds the trigger threshold value H1 larger than the first empty threshold value L1. A parking determination process for determining whether or not the vehicle 21 is parked in the parking space Z1 by the vehicle determination unit 123 is started. Then, it is determined that the amount of change G has exceeded the trigger threshold value H1, the amount of change G (determination value G1) after the set time Ta has elapsed from the time point T31 of the determination is less than the trigger threshold value, and When it is equal to or greater than the full threshold value H2, it is determined that the vehicle 21 is parked in the parking space Z1. Further, after the parking space Z1 is determined to be full, it is determined whether or not the second difference vector is an inverse vector of the first difference vector on the condition that the detection value of the magnetic sensor 11A has changed. Is done. When it is determined that the second difference vector is an inverse vector, it is determined that the parking space Z1 has changed from the full state to the empty state. For this reason, even when the vehicle 21 is parked in the parking space Z1, the full state or the empty state in the parking space Z1 can be accurately determined.

また、隣接する駐車スペースZ2に駐車されている車両22の影響を受けて駐車スペースZ1における地磁気を含む磁界が変動しても、駐車スペースZ1における満状態及び空状態を正確に判定することが可能である。   Even if the magnetic field including the geomagnetism in the parking space Z1 fluctuates due to the influence of the vehicle 22 parked in the adjacent parking space Z2, it is possible to accurately determine the full state and the empty state in the parking space Z1. It is.

なお、上述の実施形態では、ステップS22において、前記第2差分ベクトルが、前記第1差分ベクトルの逆ベクトルであるか否かを判定し、逆ベクトルである場合に駐車スペースZ1が満状態から空状態に変化したと判定する例について説明したが、本発明はこの処理例に限られない。少なくとも、前記第2差分ベクトルの方向が前記第1差分ベクトルの方向の逆方向に一致すると判定された場合に駐車スペースZ1が満状態から空状態に変化したと判定すればよい。   In the above-described embodiment, it is determined in step S22 whether or not the second difference vector is an inverse vector of the first difference vector. If the second difference vector is the inverse vector, the parking space Z1 is empty from the full state. Although the example which determines with having changed into the state was demonstrated, this invention is not limited to this process example. What is necessary is just to determine that the parking space Z1 has changed from the full state to the empty state when it is determined that the direction of the second difference vector coincides with the opposite direction of the direction of the first difference vector.

また、上述の実施形態では、検出空間の一例である駐車スペースZに駐車された車両21の有無を判定する構成について説明したが、本発明はこのような構成に限られない。例えば、駐車場や建物の入口付近に定められた停車スペース、道路の路側帯に定められた停車スペース、家屋の敷地内に定められた一つ又は複数の駐車スペース、車両検査場などに定められた停車スペース(いずれも検出空間の他の例)などに駐車又は停車した車両の有無の判別にも車両検知装置10は適用可能である。   Moreover, although the above-mentioned embodiment demonstrated the structure which determines the presence or absence of the vehicle 21 parked in the parking space Z which is an example of detection space, this invention is not limited to such a structure. For example, parking spaces and parking spaces established near the entrance of buildings, parking spaces defined on roadside belts, one or more parking spaces defined within the site of a house, vehicle inspection sites, etc. The vehicle detection device 10 can also be applied to discriminating the presence or absence of a vehicle parked or stopped in a stop space (all other examples of the detection space).

10 :車両検知装置
11,11A:磁気センサ
12 :制御部
13 :記憶部
14 :通信部
15 :管理サーバ
17 :出入口
20 :駐車場
21、22:車両
121 :変化量算出部
122 :閾値判定部
123 :車両判定部
124 :第1空車判定部
125 :変動判定部
126 :第1差分算出部
127 :第2差分算出部
128 :第2空車判定部
DESCRIPTION OF SYMBOLS 10: Vehicle detection apparatus 11, 11A: Magnetic sensor 12: Control part 13: Storage part 14: Communication part 15: Management server 17: Entrance / exit 20: Parking lot 21, 22: Vehicle 121: Change amount calculation part 122: Threshold determination part 123: Vehicle determination unit 124: First empty determination unit 125: Fluctuation determination unit 126: First difference calculation unit 127: Second difference calculation unit 128: Second empty determination unit

Claims (6)

検出空間における磁界の大きさ及び方向を含む磁界ベクトルを検出する磁気センサの検出値に基づいて前記検出空間における車両の有無を判定する車両検知装置であって、
前記検出空間に前記車両が進入して停止した第1状態及び前記検出空間から前記車両が退出した第2状態それぞれの前記磁界ベクトルを前記磁気センサから取得して、各磁界ベクトルの第1差分ベクトルを算出する第1差分算出部と、
前記検出空間に前記車両が停止した後に前記第1差分ベクトルの方向とは逆方向の磁界変動が発生した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する空車判定部と、を備える車両検知装置。
A vehicle detection device that determines the presence or absence of a vehicle in the detection space based on a detection value of a magnetic sensor that detects a magnetic field vector including the magnitude and direction of a magnetic field in the detection space,
The magnetic field vectors of the first state in which the vehicle enters and stops in the detection space and the second state in which the vehicle leaves the detection space are acquired from the magnetic sensor, and a first difference vector of each magnetic field vector A first difference calculating unit for calculating
An empty vehicle that determines that the detection space has changed from the first state to the second state when a magnetic field fluctuation in a direction opposite to the direction of the first difference vector occurs after the vehicle stops in the detection space. A vehicle detection device comprising: a determination unit.
前記検出空間に前記車両が停止した後に前記磁気センサの前記検出値が変動したか否かを判定する検出値変動判定部と、
前記検出値の変動前後それぞれの前記磁界ベクトルの第2差分ベクトルを算出する第2差分算出部と、を更に備え、
前記空車判定部は、前記第2差分ベクトルの方向が前記第1差分ベクトルの方向の逆方向と一致するか否かを判定し、前記第2差分ベクトルの方向が前記逆方向に一致すると判定した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する、請求項1に記載の車両検知装置。
A detection value fluctuation determination unit that determines whether or not the detection value of the magnetic sensor has changed after the vehicle has stopped in the detection space;
A second difference calculation unit that calculates a second difference vector of the magnetic field vector before and after the fluctuation of the detected value,
The empty vehicle determination unit determines whether the direction of the second difference vector matches the reverse direction of the first difference vector, and determines that the direction of the second difference vector matches the reverse direction. The vehicle detection device according to claim 1, wherein the detection space determines that the detection space has changed from the first state to the second state.
前記空車判定部は、前記第2差分ベクトルの大きさが前記第1差分ベクトルの大きさと一致するか否かを判定し、前記第2差分ベクトルの方向が前記逆方向に一致すると判定し、且つ、両差分ベクトルの大きさが一致すると判定した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する、請求項2に記載の車両検知装置。   The empty vehicle determination unit determines whether the magnitude of the second difference vector matches the magnitude of the first difference vector, determines that the direction of the second difference vector matches the reverse direction, and The vehicle detection device according to claim 2, wherein when it is determined that the magnitudes of both difference vectors match, it is determined that the detection space has changed from the first state to the second state. 前記磁気センサの前記検出値の変化量に基づいて前記検出空間に前記車両が進入して停止したと判定する車両判定部を更に備え、
前記空車判定部は、前記車両判定部による判定後に、前記検出空間が前記第1状態から前記第2状態に変化したか否かの判定を行う、請求項1から3のいずれかに記載の車両検知装置。
A vehicle determination unit that determines that the vehicle has entered and stopped in the detection space based on a change amount of the detection value of the magnetic sensor;
The vehicle according to any one of claims 1 to 3, wherein the empty vehicle determination unit determines whether or not the detection space has changed from the first state to the second state after the determination by the vehicle determination unit. Detection device.
検出空間における磁界の大きさ及び方向を含む磁界ベクトルを検出する磁気センサの検出値に基づいて前記検出空間における車両の有無を判定する車両検知方法であって、
前記検出空間に前記車両が進入して停止した第1状態及び前記検出空間から前記車両が退出した第2状態それぞれの前記磁界ベクトルを前記磁気センサから取得して、各磁界ベクトルの第1差分ベクトルを算出する第1差分算出ステップと、
前記検出空間に前記車両が停止した後に前記第1差分ベクトルの方向とは逆方向の磁界変動が発生した場合に、前記検出空間が前記第1状態から前記第2状態に変化したと判定する空車判定ステップと、を含む車両検知方法。
A vehicle detection method for determining the presence or absence of a vehicle in the detection space based on a detection value of a magnetic sensor that detects a magnetic field vector including the magnitude and direction of a magnetic field in the detection space,
The magnetic field vectors of the first state in which the vehicle enters and stops in the detection space and the second state in which the vehicle leaves the detection space are acquired from the magnetic sensor, and a first difference vector of each magnetic field vector A first difference calculating step of calculating
An empty vehicle that determines that the detection space has changed from the first state to the second state when a magnetic field fluctuation in a direction opposite to the direction of the first difference vector occurs after the vehicle stops in the detection space. A vehicle detection method including a determination step.
請求項5に記載の車両検知方法の各ステップをコンピュータに実行させるためのプログラム。   The program for making a computer perform each step of the vehicle detection method of Claim 5.
JP2018090948A 2018-05-09 2018-05-09 Vehicle detection device, vehicle detection method, and program Active JP7070060B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018090948A JP7070060B2 (en) 2018-05-09 2018-05-09 Vehicle detection device, vehicle detection method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018090948A JP7070060B2 (en) 2018-05-09 2018-05-09 Vehicle detection device, vehicle detection method, and program

Publications (2)

Publication Number Publication Date
JP2019197379A true JP2019197379A (en) 2019-11-14
JP7070060B2 JP7070060B2 (en) 2022-05-18

Family

ID=68537538

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018090948A Active JP7070060B2 (en) 2018-05-09 2018-05-09 Vehicle detection device, vehicle detection method, and program

Country Status (1)

Country Link
JP (1) JP7070060B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114373306A (en) * 2022-01-12 2022-04-19 中国公路工程咨询集团有限公司 Vehicle passing detection method and system based on intelligent spike and storable medium
CN115273490A (en) * 2021-04-30 2022-11-01 阿尔卑斯通信器件技术(上海)有限公司 Parking space detection device and parking space detection method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009060651A1 (en) * 2007-11-08 2009-05-14 Sankyo Electric Co., Ltd. Vehicle detection method, vehicle detection unit, and vehicle detection device
JP2010061607A (en) * 2008-09-08 2010-03-18 Amano Corp Vehicle detector, flap type parking device using the vehicle detector and vehicle detection system
CN102722987A (en) * 2011-12-19 2012-10-10 北京时代凌宇科技有限公司 Roadside parking space detection method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009060651A1 (en) * 2007-11-08 2009-05-14 Sankyo Electric Co., Ltd. Vehicle detection method, vehicle detection unit, and vehicle detection device
JP2010061607A (en) * 2008-09-08 2010-03-18 Amano Corp Vehicle detector, flap type parking device using the vehicle detector and vehicle detection system
CN102722987A (en) * 2011-12-19 2012-10-10 北京时代凌宇科技有限公司 Roadside parking space detection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115273490A (en) * 2021-04-30 2022-11-01 阿尔卑斯通信器件技术(上海)有限公司 Parking space detection device and parking space detection method
CN115273490B (en) * 2021-04-30 2023-09-19 阿尔卑斯通信器件技术(上海)有限公司 Parking space detection device and parking space detection method
CN114373306A (en) * 2022-01-12 2022-04-19 中国公路工程咨询集团有限公司 Vehicle passing detection method and system based on intelligent spike and storable medium

Also Published As

Publication number Publication date
JP7070060B2 (en) 2022-05-18

Similar Documents

Publication Publication Date Title
JP2019197378A (en) Vehicle detection device, vehicle detection method, and program
US20150291177A1 (en) Speed bump detection apparatus and navigation data updating apparatus and method using the same
JP2019197377A (en) Vehicle detection device, vehicle detection method, and program
CN105799617B (en) Method for the misalignment for determining object sensor
CN108573271B (en) Optimization method and device for multi-sensor target information fusion, computer equipment and recording medium
US20160308887A1 (en) In-vehicle network intrusion detection system and method for controlling the same
EP3524485B1 (en) Parking control method and parking control device
CN107526311A (en) Vehicle external surface object detection
US20190101925A1 (en) Autonomous parking of vehicles in perpendicular parking spots
CN109795477B (en) Method, device and storage medium for eliminating steady-state lateral deviation
JP2019197379A (en) Vehicle detection device, vehicle detection method, and program
CN101868397A (en) Method and device for planning a path when parking a vehicle
CN110239462A (en) A kind of method for early warning and system of vehicle rollover
CN112109703A (en) Vehicle control method, vehicle control system, vehicle, and storage medium
CN110143200A (en) A kind of vehicle status data acquisition methods, device, mobile unit and storage medium
CN102436758B (en) Method and apparatus for supporting parking process of vehicle
CN110450788A (en) A kind of driving mode switching method, device, equipment and storage medium
CN111703430B (en) Automatic driving trailer and included angle detection method and device thereof
US11987233B2 (en) Route generation device, parking assist apparatus, route generation method, and parking assist method
JP2019159622A (en) Vehicle detection device, vehicle detection method, and vehicle detection program
KR102637830B1 (en) Methods, electronic control devices and systems for position determination
KR102333472B1 (en) System and method for saving event images
JP7131061B2 (en) Vehicle type discrimination device, vehicle type discrimination method, and program
CN109883435A (en) Control method, device, equipment and the storage medium of map data collecting
JP2020537485A (en) Systems and methods for determining the relative orientation between the primary and secondary winding structures of a system for inductive power transmission

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210305

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220418

R150 Certificate of patent or registration of utility model

Ref document number: 7070060

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150