JP2010164349A - Control unit - Google Patents

Control unit Download PDF

Info

Publication number
JP2010164349A
JP2010164349A JP2009005216A JP2009005216A JP2010164349A JP 2010164349 A JP2010164349 A JP 2010164349A JP 2009005216 A JP2009005216 A JP 2009005216A JP 2009005216 A JP2009005216 A JP 2009005216A JP 2010164349 A JP2010164349 A JP 2010164349A
Authority
JP
Japan
Prior art keywords
line segment
vehicle
parking space
point
dividing
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.)
Pending
Application number
JP2009005216A
Other languages
Japanese (ja)
Inventor
Kazuhiro Kuno
和宏 久野
Koki Hayashi
弘毅 林
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.)
Equos Research Co Ltd
Original Assignee
Equos Research Co Ltd
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 Equos Research Co Ltd filed Critical Equos Research Co Ltd
Priority to JP2009005216A priority Critical patent/JP2010164349A/en
Publication of JP2010164349A publication Critical patent/JP2010164349A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Radar Systems Or Details Thereof (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a control unit for reducing processing loads in calculating the shape of a parking space. <P>SOLUTION: The control unit is positioned on a line extended radially at each prescribed angle (for each five degree) in reference to a vehicle 1, detects distance to respective walls 200b-200d for dividing the parking space 200 by a distance sensor 26a, and calculates the shape of the parking space 200 according to the detection result, thus reducing the processing loads of a CPU of the control unit as compared with a case for calculating the shape of the parking space 200 by analyzing images input by a camera one pixel at a time. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、制御装置に関し、特に、駐車スペースの形状を算出するための処理負担を軽減できる制御装置に関するものである。   The present invention relates to a control device, and more particularly to a control device that can reduce the processing burden for calculating the shape of a parking space.

特開2008−44529号公報には、車両の前後左右の四方にカメラを取り付け、その4台のカメラにより取得される画像を解析すると共に、その解析結果から駐車スペースの俯瞰画像を作成し、その作成した俯瞰画像をタッチパネルに表示する自動車が開示されている。この自動車では、駐車スペースに駐車する場合の最適な経路をタッチパネルに表示して、運転者に対して駐車支援を行うように構成されている。   Japanese Patent Application Laid-Open No. 2008-44529 discloses that a camera is attached to each of the front, rear, left and right sides of the vehicle, images acquired by the four cameras are analyzed, and an overhead view image of the parking space is created from the analysis result. An automobile that displays a created overhead image on a touch panel is disclosed. This automobile is configured to display an optimal route for parking in a parking space on a touch panel and provide parking assistance to the driver.

特開2008−44529号公報JP 2008-44529 A

近年、自動車には、駐車支援の1つとして、運転者が操作をしなくても、アクセル操作、ブレーキ操作および車輪の操舵を自動で行い駐車スペースに移動する自動駐車機能を有するものがある。この自動駐車機能を有する自動車において、特許文献1に記載される技術を適用すると、車両の四方に取り付けられたカメラにより取得される画像を解析すると共に、駐車スペースの形状を算出(俯瞰画像を作成)し、その算出された駐車スペースの形状から車両が移動するのに最適な経路を選択して自動駐車が行われる。   2. Description of the Related Art In recent years, some automobiles have an automatic parking function as one of parking assistances, in which an accelerator operation, a brake operation, and wheel steering are automatically performed and moved to a parking space without a driver's operation. When the technology described in Patent Document 1 is applied to an automobile having this automatic parking function, an image acquired by a camera attached to each side of the vehicle is analyzed and the shape of the parking space is calculated (overhead image is created) Then, automatic parking is performed by selecting an optimum route for the vehicle to move from the calculated shape of the parking space.

しかしながら、カメラにより入力される画像の解析は、1画素ずつ全画素に対して解析を行うので、CPU等の演算処理装置の処理負担が増加してしまう。特に、駐車スペースの形状を正確に算出するために、複数のカメラを取り付けたり、解像度の高い(即ち、画素数の多い)カメラを取り付けると、CPUの処理負担が更に増加してしまうという問題点があった。   However, since the analysis of the image input by the camera is performed on all pixels one by one, the processing load on the arithmetic processing unit such as a CPU increases. In particular, if a plurality of cameras are attached or a camera with a high resolution (ie, a large number of pixels) is attached in order to accurately calculate the shape of the parking space, the processing load on the CPU further increases. was there.

本発明は、上述した問題点を解決するためになされたものであり、駐車スペースの形状を算出するための処理負担を軽減できる制御装置を提供することを目的としている。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a control device that can reduce the processing burden for calculating the shape of a parking space.

この目的を達成するために請求項1記載の制御装置は、所定の駐車スペース内に自動運転により移動可能な車両に搭載され、前記車両に取り付けられ、その車両を基準として、所定角度毎に放射状に延びる線上に位置する対象物までの距離を検出する距離検出手段と、その距離検出手段により所定角度毎に検出される前記対象物までの距離を、座標系の点として抽出する点抽出手段と、その点抽出手段により抽出される前記座標系の点に基づいて、前記駐車スペースを区画する仮想的な線分を生成する生成手段と、前記点抽出手段により抽出される前記座標系の点に基づいて、前記駐車スペースに対して前記車両が位置すると推定される推定位置を算出する位置算出手段とを備えている。   In order to achieve this object, the control device according to claim 1 is mounted on a vehicle that is movable in a predetermined parking space by automatic driving, is attached to the vehicle, and radiates at predetermined angles with respect to the vehicle. Distance detecting means for detecting the distance to the object located on the line extending to the point, and point extracting means for extracting the distance to the object detected for each predetermined angle by the distance detecting means as a point in the coordinate system; A generating means for generating a virtual line segment that divides the parking space based on the points of the coordinate system extracted by the point extracting means; and a point of the coordinate system extracted by the point extracting means. And a position calculating means for calculating an estimated position where the vehicle is estimated to be positioned with respect to the parking space.

請求項2記載の制御装置は、請求項1記載の制御装置において、前記生成手段は、前記点抽出手段により抽出される第1の点を基準とした場合に、その第1の点の1つ前または1つ後に抽出された第2の点との点間距離を算出し、その算出された点間距離が所定値以上である場合に、前記第1及び第2の点の少なくとも一方を無効とする点無効手段を備え、その点無効手段により無効とされた点以外の点を仮想的に結線することで、前記駐車スペースを区画する仮想的な線分を生成するものである。   The control device according to claim 2 is the control device according to claim 1, wherein the generation means is one of the first points when the first point extracted by the point extraction means is used as a reference. A point-to-point distance with the second point extracted before or after one is calculated, and when the calculated point-to-point distance is equal to or greater than a predetermined value, at least one of the first and second points is invalidated And a virtual line segment that partitions the parking space is generated by virtually connecting points other than the points invalidated by the point invalidating means.

請求項3記載の制御装置は、請求項2記載の制御装置において、前記生成手段により仮想的に結線して生成された線分を、ほぼ直線となる部分毎に分割して分割線分を生成する分割手段と、その分割手段により分割された分割線分の端点のうち、前記車両との距離が最短になる点を有する分割線分を基準線分として抽出する線分抽出手段と、その線分抽出手段により抽出される基準線分に対して一定角度以上の傾きを有する分割線分、及び、前記基準線分に直交する直交線分に対して一定角度以上の傾きを有する分割線分を無効とする第1線分無効手段とを備えている。   According to a third aspect of the present invention, in the control device according to the second aspect, the line segment generated by virtually connecting by the generating unit is divided into portions that are substantially straight lines to generate a divided line segment. A dividing unit that extracts a dividing line segment having a point with the shortest distance from the vehicle among the end points of the dividing line segment divided by the dividing unit, and the line A dividing line segment having an inclination of a certain angle or more with respect to the reference line segment extracted by the segment extracting means, and a dividing line segment having an inclination of a certain angle or more with respect to the orthogonal line segment orthogonal to the reference line segment. First line segment invalidating means for invalidation.

請求項4記載の制御装置は、請求項2又は3に記載の制御装置において、前記生成手段により仮想的に結線して生成された分割線分を、ほぼ直線となる部分毎に分割して分割線分を生成する分割手段と、その分割手段により分割された分割線分の長さを算出する線分長算出手段と、その線分長算出手段により算出された分割線分の長さが一定長さ以下である場合に、その分割線分を無効とする第2線分無効手段とを備えている。   The control device according to claim 4 is the control device according to claim 2 or 3, wherein the dividing line segment generated by virtually connecting by the generating means is divided into portions that are substantially straight lines. A dividing means for generating a line segment, a line segment length calculating means for calculating the length of the divided line segment divided by the dividing means, and a length of the divided line segment calculated by the line segment length calculating means is constant. Second line segment invalidating means for invalidating the divided line segment when the length is equal to or shorter than the length.

請求項1記載の制御装置によれば、車両を基準として、所定角度毎に放射状に延びる線上に位置する対象物までの距離が距離検出手段により検出され、その検出された対象物までの距離が座標系の点として点抽出手段により抽出され、その座標系の点に基づいて、駐車スペースを区画する仮想的な線分が生成手段により生成されると共に駐車スペースに対して車両が位置すると推定される推定位置が位置算出手段により算出される。そして、駐車スペースを区画する仮想的な線分から駐車スペースの形状を認識でき、車両の推定位置から駐車スペースに対する車両の位置が認識できるので、駐車スペース内に車両を自動運転により移動させることができる。この場合、本発明によれば、駐車スペースの形状は、距離検出手段によって検出される対象物までの距離の検出結果から仮想的な線分として算出できるので、カメラにより入力される画像を解析して駐車スペースの形状を算出する場合に比べて、制御装置の処理負担を軽減できるという効果がある。   According to the control device of the first aspect, the distance to the object located on the line extending radially at every predetermined angle with respect to the vehicle is detected by the distance detecting means, and the distance to the detected object is determined. A point is extracted by the point extraction means as a point of the coordinate system, and based on the point of the coordinate system, a virtual line segment that divides the parking space is generated by the generation means, and it is estimated that the vehicle is positioned with respect to the parking space. The estimated position is calculated by the position calculating means. And since the shape of the parking space can be recognized from the virtual line segment that divides the parking space and the position of the vehicle relative to the parking space can be recognized from the estimated position of the vehicle, the vehicle can be moved into the parking space by automatic driving. . In this case, according to the present invention, since the shape of the parking space can be calculated as a virtual line segment from the detection result of the distance to the object detected by the distance detection means, the image input by the camera is analyzed. As compared with the case where the shape of the parking space is calculated, there is an effect that the processing load of the control device can be reduced.

請求項2記載の制御装置によれば、請求項1記載の制御装置の奏する効果に加えて、次の効果を奏する。即ち、点抽出手段により抽出された第1の点と、その第1の点の1つ前または1つ後に抽出された第2の点との点間距離が算出され、その算出された点間距離が所定値以上であると第1及び第2の点の少なくとも一方が点無効手段により無効にされる。そして、点無効手段により無効にされた点以外の点が仮想的に結線されることで、駐車スペースを区画する仮想的な線分が生成される。よって、点抽出手段により抽出される複数点のうち、極端に離れて位置する点を無効にして仮想的な線分を生成できるので、例えば、車両から対象物までの距離がノイズ等の影響によりゼロ又は最大値となるように検出された異常な点や物体の影になる部分の線分を無効にできる。従って、駐車スペースを区画する仮想的な線分が、実際の駐車スペースの形状から極端に異なることを抑制できるので、駐車スペースの形状を正確に認識できるという効果がある。   According to the control device of the second aspect, in addition to the effect produced by the control device according to the first aspect, the following effect is obtained. That is, the inter-point distance between the first point extracted by the point extracting means and the second point extracted immediately before or after the first point is calculated, and the calculated distance between the points is calculated. If the distance is greater than or equal to a predetermined value, at least one of the first and second points is invalidated by the point invalidating means. And the virtual line segment which divides a parking space is produced | generated by connecting points other than the point invalidated by the point invalidation means virtually. Therefore, since a virtual line segment can be generated by invalidating a point that is extremely far away from a plurality of points extracted by the point extraction means, for example, the distance from the vehicle to the object is affected by noise or the like. Anomalous points detected to be zero or the maximum value and line segments of shadows of objects can be invalidated. Therefore, since it is possible to suppress the virtual line segment that partitions the parking space from being extremely different from the actual shape of the parking space, it is possible to accurately recognize the shape of the parking space.

請求項3記載の制御装置によれば、請求項2記載の制御装置の奏する効果に加えて、分割手段によりほぼ直線となる部分毎に分割された分割線分の端点のうち、車両との距離が最短となる点を有する分割線分を基準線分とし、その基準線分に対して一定角度以上の傾きを有する分割線分、及び、基準線分に直交する直交線分に対して一定角度以上の傾きを有する分割線分が第1線分無効手段により無効にされるので、基準線分および直交線分に対して極端に傾きがズレた分割線分を除去できる。よって、例えば、駐車スペース内の人影や物などを距離検出手段が検出した場合に生成される分割線分、ノイズ等の影響により生成される分割線分を除去できるので、駐車スペースを区画する仮想的な線分が、実際の駐車スペースの形状から極端に異なることを抑制でき、駐車スペースの形状を正確に認識できるという効果がある。   According to the control device of the third aspect, in addition to the effect produced by the control device according to the second aspect, the distance from the vehicle among the end points of the dividing line segment divided by the dividing means into portions that are substantially straight lines. The reference line segment is the dividing line segment having the shortest point, and the fixed line segment has an inclination of a certain angle or more with respect to the reference line segment, and a constant angle with respect to the orthogonal line segment orthogonal to the reference line segment. Since the dividing line segment having the above inclination is invalidated by the first line segment invalidating means, it is possible to remove the dividing line segment whose inclination is extremely deviated from the reference line segment and the orthogonal line segment. Therefore, for example, the dividing line segment generated when the distance detection means detects a human figure or object in the parking space, or the dividing line segment generated due to the influence of noise or the like can be removed. Thus, it is possible to prevent the actual line segment from being extremely different from the actual shape of the parking space and to accurately recognize the shape of the parking space.

請求項4記載の制御装置によれば、請求項2又は3に記載の制御装置の奏する効果に加えて、分割手段によりほぼ直線となる部分毎に分割された分割線分の長さが線分長算出手段により算出され、その算出された分割線分の長さが所定長さ以下である場合に、その分割線分を第2線分無効手段により無効にできるので、極端に短い分割線分を除去できる。よって、例えば、駐車スペース内の人影や物などを距離検出手段が検出した場合に生成される分割線分、ノイズ等の影響により生成される分割線分を除去できるので、駐車スペースを区画する仮想的な線分が、実際の駐車スペースの形状から極端に異なることを抑制でき、駐車スペースの形状を正確に認識できるという効果がある。   According to the control device of the fourth aspect, in addition to the effect exerted by the control device according to the second or third aspect, the length of the divided line segment divided by the dividing means for each portion that is substantially a straight line is a line segment. When the length of the dividing line segment calculated by the length calculating unit is equal to or less than a predetermined length, the dividing line segment can be invalidated by the second line segment invalidating unit. Can be removed. Therefore, for example, the dividing line segment generated when the distance detection means detects a human figure or object in the parking space, or the dividing line segment generated due to the influence of noise or the like can be removed. Thus, it is possible to prevent the actual line segment from being extremely different from the actual shape of the parking space and to accurately recognize the shape of the parking space.

本発明の一実施形態における車両の上面視を模式的に示した模式図である。It is the schematic diagram which showed typically the top view of the vehicle in one Embodiment of this invention. 制御装置の電気的構成を示したブロック図である。It is the block diagram which showed the electric constitution of the control apparatus. 車両のCPUで実行される自動駐車処理を示したフローチャートである。It is the flowchart which showed the automatic parking process performed with CPU of a vehicle. 自動駐車処理内で実行されるフィルタリング処理を示したフローチャートである。It is the flowchart which showed the filtering process performed within an automatic parking process. (a)は、車両が駐車される駐車スペースを示した斜視図であり、(b)は、駐車スペースと認識位置との位置関係を模式的に示した模式図である。(A) is the perspective view which showed the parking space where a vehicle is parked, (b) is the schematic diagram which showed typically the positional relationship of a parking space and a recognition position. (a)は、距離センサが対象物までの距離を検出可能な検出範囲を示し図であり、(b)は、距離センサによる検出結果を示した図である。(A) is a figure which shows the detection range which a distance sensor can detect the distance to a target object, (b) is the figure which showed the detection result by a distance sensor. (a)は、距離センサによる検出結果から線分を抽出した状態を示した図であり、(b)は、距離センサによる検出結果から抽出した線分を分割した状態を示した図である。(A) is the figure which showed the state which extracted the line segment from the detection result by a distance sensor, (b) is the figure which showed the state which divided | segmented the line segment extracted from the detection result by a distance sensor. (a)は、基準線分の検索方法を示した図であり、(b)は、長さフィルタ及び傾きフィルタの算出方向を示した図である。(A) is the figure which showed the search method of the reference line segment, (b) is the figure which showed the calculation direction of the length filter and the inclination filter. 傾きフィルタの条件を示した図である。It is the figure which showed the conditions of the inclination filter. 基準線分に対して直交する直交線分を抽出する方法を示した図である。It is the figure which showed the method of extracting the orthogonal line segment orthogonal to a reference line segment. 基準線分と直交線分との交点を抽出する方法を示した図である。It is the figure which showed the method of extracting the intersection of a reference line segment and an orthogonal line segment. 駐車スペースに対する車両のアプローチ方向、及び、駐車スペースに対する車両の位置に応じて場合分けされる駐車スペースの形状の算出方法を示した図である。It is the figure which showed the calculation method of the shape of the parking space divided according to the approach direction of the vehicle with respect to a parking space, and the position of the vehicle with respect to a parking space. 駐車スペースに対する車両のアプローチ方向、及び、駐車スペースに対する車両の位置に応じて場合分けされる駐車スペースの形状の算出方法を示した図である。It is the figure which showed the calculation method of the shape of the parking space divided according to the approach direction of the vehicle with respect to a parking space, and the position of the vehicle with respect to a parking space. 駐車スペースに対する車両のアプローチ方向、及び、駐車スペースに対する車両の位置に応じて場合分けされる駐車スペースの形状の算出方法を示した図である。It is the figure which showed the calculation method of the shape of the parking space divided according to the approach direction of the vehicle with respect to a parking space, and the position of the vehicle with respect to a parking space. 駐車スペースに対する車両のアプローチ方向、及び、駐車スペースに対する車両の位置に応じて場合分けされる駐車スペースの形状の算出方法を示した図である。It is the figure which showed the calculation method of the shape of the parking space divided according to the approach direction of the vehicle with respect to a parking space, and the position of the vehicle with respect to a parking space. 駐車スペースに対する車両のアプローチ方向、及び、駐車スペースに対する車両の位置に応じて場合分けされる駐車スペースの形状の算出方法を示した図である。It is the figure which showed the calculation method of the shape of the parking space divided according to the approach direction of the vehicle with respect to a parking space, and the position of the vehicle with respect to a parking space.

以下、本発明の好ましい実施形態について添付図面を参照して説明する。図1は、本発明の一実施形態における車両1の上面視を模式的に示した模式図である。なお、図1の矢印U−D,L−R,F−Bは、車両1の上下方向、左右方向、前後方向をそれぞれ示している。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a schematic diagram schematically showing a top view of a vehicle 1 according to an embodiment of the present invention. Note that arrows UD, LR, and FB in FIG. 1 indicate the up-down direction, the left-right direction, and the front-rear direction of the vehicle 1, respectively.

まず、図1を参照して、車両1の概略構成について説明する。図1に示すように、車両1は、車体フレームBFと、その車体フレームBFに支持される複数(本実施の形態では4輪)の車輪2と、それら複数の車輪2の内の一部(本実施形態では、左右の前輪2FL,2FR)を回転駆動する車輪駆動装置3と、各車輪2を車体フレームBFに懸架する懸架装置4と、複数の車輪2の内の一部(本実施の形態では、左右の前輪2FL,2FR)を操舵するステアリング装置6と、そのステアリング装置6と同様に車輪2(左右の前輪2FL,2FR)を操舵する操舵駆動装置5とを主に備え、周辺環境監視装置26(図2参照)の距離センサ26aの検出結果に基づいて駐車スペース200(図5(a)参照)の形状を算出し、その算出された駐車スペース200に自動駐車できるように構成されている。   First, a schematic configuration of the vehicle 1 will be described with reference to FIG. As shown in FIG. 1, a vehicle 1 includes a body frame BF, a plurality of (four wheels in this embodiment) wheels 2 supported by the body frame BF, and a part of the plurality of wheels 2 ( In the present embodiment, the wheel drive device 3 that rotationally drives the left and right front wheels 2FL, 2FR, the suspension device 4 that suspends each wheel 2 on the vehicle body frame BF, and a part of the plurality of wheels 2 (this embodiment) The embodiment mainly includes a steering device 6 that steers the left and right front wheels 2FL, 2FR) and a steering drive device 5 that steers the wheels 2 (left and right front wheels 2FL, 2FR) in the same manner as the steering device 6. The shape of the parking space 200 (refer to FIG. 5A) is calculated based on the detection result of the distance sensor 26a of the monitoring device 26 (refer to FIG. 2), and automatic parking is possible in the calculated parking space 200. ing

次いで、各部の詳細構成について説明する。車体フレームBFは、車両1の骨格をなすものであり、懸架装置4を支持すると共に、その懸架装置4を介して車輪2を支持している。懸架装置4は、いわゆるサスペンションとして機能する装置であり、図1に示すように、各車輪2に独立して設けられている。   Next, the detailed configuration of each part will be described. The vehicle body frame BF forms a skeleton of the vehicle 1, supports the suspension device 4, and supports the wheels 2 via the suspension device 4. The suspension device 4 is a device that functions as a so-called suspension, and is provided on each wheel 2 independently as shown in FIG.

車輪2は、図1に示すように、車体フレームBFの前方側(矢印F側)に配置される左右の前輪2FL,2FRと、車体フレームBFの後方側(矢印B側)に配置される左右の後輪2RL,2RRとの4輪を備えている。また、左右の前輪2FL,2FRは、車輪駆動装置3によって回転駆動される駆動輪として構成される一方、左右の後輪2RL,2RRは、車両1の走行に伴って従動する従動輪として構成されている。   As shown in FIG. 1, the wheel 2 includes left and right front wheels 2FL, 2FR disposed on the front side (arrow F side) of the vehicle body frame BF and left and right wheels disposed on the rear side (arrow B side) of the vehicle body frame BF. Four rear wheels 2RL and 2RR are provided. The left and right front wheels 2FL and 2FR are configured as driving wheels that are rotationally driven by the wheel driving device 3, while the left and right rear wheels 2RL and 2RR are configured as driven wheels that are driven as the vehicle 1 travels. ing.

車輪駆動装置3は、左右の前輪2FL,2FRを回転駆動するための装置であり、それら左右の前輪2FL,2FRに回転駆動力を付与するモータ3aを備えて構成されている。なお、モータ3aは、図1に示すように、ディファレンシャルギヤ(図示せず)及び一対のドライブシャフト31を介して左右の前輪2FL,2FRに接続されている。   The wheel drive device 3 is a device for rotationally driving the left and right front wheels 2FL, 2FR, and includes a motor 3a that applies a rotational driving force to the left and right front wheels 2FL, 2FR. As shown in FIG. 1, the motor 3a is connected to the left and right front wheels 2FL, 2FR via a differential gear (not shown) and a pair of drive shafts 31.

例えば、運転者がアクセルペダル11を操作した場合には、モータ3aから左右の前輪2FL,2FRに回転駆動力が付与され、それら左右の前輪2FL,2FRがアクセルペダル11の踏み込み状態に応じた速度で回転駆動される。なお、左右の前輪2FL,2FRの回転差は、ディファレンシャルギヤにより吸収される。   For example, when the driver operates the accelerator pedal 11, a rotational driving force is applied from the motor 3a to the left and right front wheels 2FL, 2FR, and the left and right front wheels 2FL, 2FR move at a speed corresponding to the depression state of the accelerator pedal 11. Is driven to rotate. The difference in rotation between the left and right front wheels 2FL and 2FR is absorbed by the differential gear.

ステアリング装置6は、上述したように、左右の前輪2FL,2FRを操舵するための装置であり、図1に示すように、ステアリングシャフト61と、フックジョイント62と、ステアリングギヤ63と、タイロッド64と、ナックルアーム65とを主に備えて構成されている。なお、ステアリング装置6は、ステアリングギヤ63がピニオン63aとラック63bとを備えたラックアンドピニオン機構によって構成されている。   As described above, the steering device 6 is a device for steering the left and right front wheels 2FL, 2FR. As shown in FIG. 1, the steering shaft 61, the hook joint 62, the steering gear 63, the tie rod 64, The knuckle arm 65 is mainly provided. In the steering device 6, the steering gear 63 is configured by a rack and pinion mechanism including a pinion 63a and a rack 63b.

例えば、運転者がステアリング13を操作した場合には、ステアリング13の操作がステアリングシャフト61を介してフックジョイント62に伝達されると共にフックジョイント62によって角度を変えられ、ステアリングギヤ63のピニオン63aに回転運動として伝達される。そして、ピニオン63aに伝達された回転運動がラック63bの直線運動に変換され、ラック63bが直線運動することで、ラック63bの両端に接続されたタイロッド64が移動し、ナックルアーム65を介して車輪2が操舵される。   For example, when the driver operates the steering wheel 13, the operation of the steering wheel 13 is transmitted to the hook joint 62 via the steering shaft 61, and the angle is changed by the hook joint 62, and the steering gear 63 rotates to the pinion 63 a. It is transmitted as movement. Then, the rotational motion transmitted to the pinion 63a is converted into the linear motion of the rack 63b, and the rack 63b moves linearly, whereby the tie rods 64 connected to both ends of the rack 63b move, and the wheels are connected via the knuckle arm 65. 2 is steered.

操舵駆動装置5は、ステアリング装置6と同様に、左右の前輪2FL,2FRを操舵するための装置であり、ステアリングシャフト61に回転駆動力を付与するモータ5aを備えて構成されている。即ち、モータ5aが駆動されてステアリングシャフト61が回転すると、運転者がステアリング13を操作した場合と同様に車輪2が操舵される。   Similar to the steering device 6, the steering drive device 5 is a device for steering the left and right front wheels 2 FL and 2 FR and includes a motor 5 a that applies a rotational driving force to the steering shaft 61. That is, when the motor 5a is driven and the steering shaft 61 rotates, the wheels 2 are steered in the same manner as when the driver operates the steering wheel 13.

アクセルペダル11、ブレーキペダル12、ステアリング13及び自動駐車スイッチ27は、いずれも運転者により操作される操作部材であり、各ペダル11,12の踏み込み状態(踏み込み量、踏み込み速度など)に応じて車両1の加速力や制動力が決定されると共に、ステアリング13の操作状態(操作量、操作方向)に応じて車両1の旋回半径や旋回方向が決定される。更に、自動駐車スイッチ27が運転者により操作されると、車両1を自律走行により駐車する自動駐車モードが設定される。   The accelerator pedal 11, the brake pedal 12, the steering wheel 13, and the automatic parking switch 27 are all operation members operated by the driver, and the vehicle is operated according to the depression state (depression amount, depression speed, etc.) of each pedal 11, 12. 1 acceleration force and braking force are determined, and the turning radius and turning direction of the vehicle 1 are determined according to the operation state (operation amount, operation direction) of the steering wheel 13. Furthermore, when the automatic parking switch 27 is operated by the driver, an automatic parking mode is set in which the vehicle 1 is parked by autonomous traveling.

制御装置100は、車両1の各部を制御するための装置であり、例えば、各ペダル11,12の踏み込み状態を検出し、その検出結果に応じて車輪駆動装置3を制御したり、或いは、ブレーキペダル12の踏み込み状態を検出し、その検出結果に応じてブレーキ装置(図示せず)を制御するものである。また、制御装置100は、車両1の右前(矢印F方向の端部で且つ矢印R方向の端部)に取り付けられる距離センサ26aからの入力に基づいて、駐車スペース200(図5(a)参照)の形状などを算出する制御を行うものである。   The control device 100 is a device for controlling each part of the vehicle 1. For example, the control device 100 detects the depression state of each pedal 11, 12 and controls the wheel drive device 3 according to the detection result, The depression state of the pedal 12 is detected, and a brake device (not shown) is controlled according to the detection result. Moreover, the control apparatus 100 is based on the input from the distance sensor 26a attached to the front right (the edge part of the arrow F direction, and the edge part of the arrow R direction) of the vehicle 1, The parking space 200 (refer Fig.5 (a)). ) To calculate the shape and the like.

ここで、図2を参照して、制御装置100の詳細構成について説明する。図2は、制御装置100の電気的構成を示したブロック図である。図2に示すように、制御装置100は、CPU91、ROM92、RAM93及びハードディスク(以下「HDD」と称す)96を備え、それらがバスライン94を介して入出力ポート95に接続されている。   Here, with reference to FIG. 2, the detailed structure of the control apparatus 100 is demonstrated. FIG. 2 is a block diagram showing an electrical configuration of the control device 100. As shown in FIG. 2, the control device 100 includes a CPU 91, a ROM 92, a RAM 93, and a hard disk (hereinafter referred to as “HDD”) 96, which are connected to an input / output port 95 via a bus line 94.

また、入出力ポート95には、車輪駆動装置3、操舵駆動装置5、アクセルペダルセンサ装置21、ブレーキペダルセンサ装置22、ステアリングセンサ装置23、車速情報取得装置24、車体姿勢センサ装置25、周辺環境監視装置26、自動駐車スイッチ27、液晶ディスプレイ(以下「LCD」と称す)97、GPS受信機98及びその他の入出力装置99などが接続されている。   The input / output port 95 includes a wheel drive device 3, a steering drive device 5, an accelerator pedal sensor device 21, a brake pedal sensor device 22, a steering sensor device 23, a vehicle speed information acquisition device 24, a vehicle body posture sensor device 25, and a surrounding environment. A monitoring device 26, an automatic parking switch 27, a liquid crystal display (hereinafter referred to as "LCD") 97, a GPS receiver 98, and other input / output devices 99 are connected.

CPU91は、バスライン94によって接続された各部を制御する演算装置であり、ROM92は、CPU91によって実行される制御プログラムや固定値データ等を記憶するための書き換え不能な不揮発性のメモリである。なお、後述する図3に示す自動駐車処理および図4に示すフィルタリング処理を実行するプログラムは、ROM92に格納されている。   The CPU 91 is an arithmetic device that controls each unit connected by the bus line 94, and the ROM 92 is a non-rewritable nonvolatile memory for storing a control program executed by the CPU 91, fixed value data, and the like. A program for executing an automatic parking process shown in FIG. 3 and a filtering process shown in FIG.

また、RAM93は、制御プログラムの実行時に各種のデータを書き換え可能に記憶するメモリであり、端点フィルタリピートフラグ93aを有している。端点フィルタリピートフラグ93aは、後述するフィルタリング処理において端点フィルタをかける処理(図4のS204)が1回目であるか2回目であるかを判別するフラグであり、図4のS207の処理でオンされ、図3に示す自動駐車処理が実行される場合にオフ(図示せず)される。   The RAM 93 is a memory that stores various data in a rewritable manner when the control program is executed, and includes an end point filter repeat flag 93a. The end point filter repeat flag 93a is a flag for determining whether the end point filter processing (S204 in FIG. 4) in the filtering processing described later is the first time or the second time, and is turned on in the step S207 in FIG. 3 is turned off (not shown) when the automatic parking process shown in FIG. 3 is executed.

HDD96は、書き換え可能な不揮発性の大容量メモリであり、地図データベース(以下「地図DB」と称す)96aと、駐車場データベース(以下「駐車場DB」と称す)96bと、駐車位置記憶エリア96cと、経路記憶エリア96dとが設けられている。なお、本実施形態では、駐車場DB96b、駐車位置記憶エリア96c及び経路記憶エリア96dは、車両1の運転者が契約している駐車場(図示せず)に関する各種データが記憶されている。   The HDD 96 is a rewritable nonvolatile large-capacity memory, and includes a map database (hereinafter referred to as “map DB”) 96a, a parking lot database (hereinafter referred to as “parking place DB”) 96b, and a parking position storage area 96c. And a path storage area 96d. In the present embodiment, the parking lot DB 96b, the parking position storage area 96c, and the route storage area 96d store various data related to a parking lot (not shown) with which the driver of the vehicle 1 is contracted.

地図DB96aは、地図データを記憶するデータベースであり、例えば、非図示のデータ読込装置(例えば、DVD装置)によって地図データの記録された媒体(例えば、DVD)から読み取られたり、外部の情報センタ等から非図示の通信装置を介して受信された地図データが記憶されている。   The map DB 96a is a database that stores map data. For example, the map DB 96a is read from a medium (for example, a DVD) on which map data is recorded by a data reading device (for example, a DVD device) (not shown), an external information center, or the like. The map data received from the communication device (not shown) is stored.

駐車場DB96bは、駐車場データを記憶するデータベースである。この駐車場DB96bに記憶されている駐車場データには、例えば、車両1の運転者が契約する駐車場の全体の形状や、駐車スペースの位置や大きさ、壁の位置、車路の幅などのデータが含まれている。   The parking lot DB 96b is a database that stores parking lot data. The parking lot data stored in the parking lot DB 96b includes, for example, the overall shape of the parking lot contracted by the driver of the vehicle 1, the position and size of the parking space, the position of the wall, the width of the road, etc. Is included.

駐車位置記憶エリア96cには、駐車場DB96bの駐車場データが示す駐車場において、車両1の運転者が契約した特定の駐車スペース200(図5(a)参照)を示す駐車位置データ(例えば、駐車スペース200の中心位置の座標データ等)が記憶されている。また、駐車位置記憶エリア96cには、駐車スペース200の近傍に位置し、車両1が駐車スペース200の形状を算出する場合に停車する停車位置201(図5(b)参照)の座標データ及び、その停車位置201を基準とした認識範囲201a(図5(b)参照)の領域を示すデータも記憶されている。   In the parking position storage area 96c, in the parking lot indicated by the parking lot data of the parking lot DB 96b, parking position data (for example, referring to FIG. 5A) indicating a specific parking space 200 contracted by the driver of the vehicle 1 is provided. The coordinate data of the center position of the parking space 200 is stored. In the parking position storage area 96c, coordinate data of a stop position 201 (see FIG. 5B) that is located in the vicinity of the parking space 200 and stops when the vehicle 1 calculates the shape of the parking space 200, and Data indicating the area of the recognition range 201a (see FIG. 5B) with the stop position 201 as a reference is also stored.

経路記憶エリア96dには、駐車場DB96bの駐車場データが示す駐車場において、車両1が自律走行により特定の駐車スペース200(図5(a)参照)に自動駐車するまでの移動経路を示す経路データが記憶されている。つまり、車両1が自律走行を行う場合には、この経路データにより示される移動経路に沿って車両1が自動で移動することになる。   In the route storage area 96d, a route indicating a movement route until the vehicle 1 automatically parks in a specific parking space 200 (see FIG. 5A) by autonomous traveling in the parking lot indicated by the parking lot data of the parking lot DB 96b. Data is stored. That is, when the vehicle 1 performs autonomous traveling, the vehicle 1 automatically moves along the movement route indicated by the route data.

車輪駆動装置3は、上述したように、左右の前輪2FL,2FR(図1参照)を回転駆動するための装置であり、左右の前輪2FL,2FRに回転駆動力を付与する電動モータ3aと、その電動モータ3aをCPU91からの命令に基づいて制御する制御回路(図示せず)とを主に備えて構成されている。   As described above, the wheel driving device 3 is a device for rotationally driving the left and right front wheels 2FL, 2FR (see FIG. 1), and an electric motor 3a for applying a rotational driving force to the left and right front wheels 2FL, 2FR; A control circuit (not shown) for controlling the electric motor 3a based on a command from the CPU 91 is mainly provided.

操舵駆動装置5は、上述したように、左右の前輪2FL,2FRを操舵するための装置であり、ステアリングシャフト61に回転駆動力を付与するモータ5aと、その電動モータ5aをCPU91からの命令に基づいて制御する制御回路(図示せず)とを主に備えて構成されている。   As described above, the steering drive device 5 is a device for steering the left and right front wheels 2FL and 2FR. The motor 5a for applying a rotational driving force to the steering shaft 61 and the electric motor 5a according to a command from the CPU 91. It mainly comprises a control circuit (not shown) for controlling based on it.

アクセルペダルセンサ装置21は、アクセルペダル11の踏み込み状態を検出すると共に、その検出結果をCPU91に出力するための装置であり、アクセルペダル11の踏み込み量を検出する角度センサ(図示せず)と、その角度センサの検出結果を処理してCPU91に出力する処理回路(図示せず)とを備えている。   The accelerator pedal sensor device 21 is a device for detecting the depression state of the accelerator pedal 11 and outputting the detection result to the CPU 91. An angle sensor (not shown) for detecting the depression amount of the accelerator pedal 11; And a processing circuit (not shown) that processes the detection result of the angle sensor and outputs the result to the CPU 91.

ブレーキペダルセンサ装置22は、ブレーキペダル12の踏み込み状態を検出すると共に、その検出結果をCPU91に出力するための装置であり、ブレーキペダル12の踏み込み量を検出する角度センサ(図示せず)と、その角度センサの検出結果を処理してCPU91に出力する処理回路(図示せず)とを備えている。   The brake pedal sensor device 22 is a device for detecting the depression state of the brake pedal 12 and outputting the detection result to the CPU 91. An angle sensor (not shown) for detecting the depression amount of the brake pedal 12; And a processing circuit (not shown) that processes the detection result of the angle sensor and outputs the result to the CPU 91.

ステアリングセンサ装置23は、ステアリング13の操作状態を検出すると共に、その検出結果をCPU91に出力するための装置であり、ステアリング13の操作量を操作方向に対応付けて検出する角度センサ(図示せず)と、その角度センサの検出結果を処理してCPU91に出力する処理回路(図示せず)とを備えている。   The steering sensor device 23 is a device for detecting the operation state of the steering wheel 13 and outputting the detection result to the CPU 91, and an angle sensor (not shown) for detecting the operation amount of the steering wheel 13 in association with the operation direction. And a processing circuit (not shown) for processing the detection result of the angle sensor and outputting the result to the CPU 91.

なお、本実施の形態では、各角度センサが電気抵抗を利用した接触型のポテンショメータとして構成されている。CPU91は、各センサ装置21,22,23から入力された各角度センサの検出結果によって各ペダル11,12の踏み込み量およびステアリング13の操作量を得ることができる。   In the present embodiment, each angle sensor is configured as a contact-type potentiometer using electric resistance. The CPU 91 can obtain the amount of depression of the pedals 11 and 12 and the amount of operation of the steering wheel 13 based on the detection results of the angle sensors input from the sensor devices 21, 22 and 23.

車速情報取得装置24は、車両1の車速をCPU91に出力するための装置であり、ドライブシャフト31が所定角度回転する毎にパルスを出力する角度センサ(図示せず)と、その角度センサの検出結果から所定時間内のパルス数に基づいて車両1の車速を算出してCPU91に出力する処理回路(図示せず)とを備えている。   The vehicle speed information acquisition device 24 is a device for outputting the vehicle speed of the vehicle 1 to the CPU 91, an angle sensor (not shown) that outputs a pulse each time the drive shaft 31 rotates by a predetermined angle, and detection of the angle sensor. A processing circuit (not shown) that calculates the vehicle speed of the vehicle 1 based on the number of pulses within a predetermined time from the result and outputs it to the CPU 91 is provided.

車体姿勢センサ装置25は、車両1の姿勢(進行方向)をCPU91に出力するための装置であり、地磁気を用いて車両1の姿勢を検出するジャイロセンサ(図示せず)と、そのジャイロセンサの検出結果から車両1の姿勢を算出してCPU91に出力する処理回路(図示せず)とを備えている。   The vehicle body posture sensor device 25 is a device for outputting the posture (traveling direction) of the vehicle 1 to the CPU 91, a gyro sensor (not shown) for detecting the posture of the vehicle 1 using geomagnetism, and the gyro sensor of the gyro sensor. A processing circuit (not shown) that calculates the attitude of the vehicle 1 from the detection result and outputs the calculated attitude to the CPU 91 is provided.

周辺環境監視装置26は、車両1の周囲に存在する壁などの対象物までの距離データをCPU91に出力するための装置であり、車両1の周囲に存在する対象物までの距離を検出する距離センサ26aが接続され、その距離センサ26aにより入力される入力結果から対象物までの距離を算出してCPU91に出力する処理回路(図示せず)とを備えている。なお、本実施形態では、距離センサ26aは、車両1の右前に取り付けられ、赤外線レーザーを目標物に照射し、その反射の度合いで目標物までの距離を測定するレーザレンジファインダで構成されている。   The surrounding environment monitoring device 26 is a device for outputting distance data to an object such as a wall existing around the vehicle 1 to the CPU 91, and a distance for detecting a distance to the object existing around the vehicle 1. A sensor 26a is connected, and a processing circuit (not shown) for calculating the distance to the object from the input result input by the distance sensor 26a and outputting it to the CPU 91 is provided. In the present embodiment, the distance sensor 26a is attached to the front right of the vehicle 1, and is configured by a laser range finder that irradiates the target with an infrared laser and measures the distance to the target with the degree of reflection. .

自動駐車スイッチ27は、特定の駐車スペース204(図3参照)に車両1を自律走行で自動駐車させる場合に操作されるスイッチであり、この自動駐車スイッチ27が操作されると、自動駐車モードに移行して、図3に示す自動駐車処理が実行されるように構成されている。   The automatic parking switch 27 is a switch operated when the vehicle 1 is automatically parked in a specific parking space 204 (see FIG. 3) by autonomous traveling. When the automatic parking switch 27 is operated, the automatic parking switch 27 is switched to the automatic parking mode. It shifts and it is constituted so that automatic parking processing shown in Drawing 3 may be performed.

LCD97は、地図データに基づく地図や、駐車場データに基づく駐車場の地図、CPU91により算出された駐車スペース200(図5(a)参照)の形状、その他の各種情報を表示する液晶ディスプレイである。   The LCD 97 is a liquid crystal display that displays a map based on the map data, a map of the parking lot based on the parking lot data, the shape of the parking space 200 (see FIG. 5A) calculated by the CPU 91, and various other information. .

GPS受信機98は、非図示のGPS衛星から位置情報(例えば、緯度情報及び経度情報)をアンテナ98aを介して受信する装置であり、このGPS受信機98により位置情報が受信されると、その位置情報に基づいてCPU91により車両1の実際の位置が算出される。   The GPS receiver 98 is a device that receives position information (for example, latitude information and longitude information) from a GPS satellite (not shown) via an antenna 98a. When the position information is received by the GPS receiver 98, Based on the position information, the CPU 91 calculates the actual position of the vehicle 1.

また、GPS受信機98による位置情報の受信が途絶えた場合には、車速情報取得装置24から入力される車両1の車速と、車体姿勢センサ装置25から入力される車両1の姿勢との情報に基づいて、CPU91において車両1の仮想的な位置が算出される。この車両1の仮想的な位置の算出を、以下、デッドレコニングと称す。   Further, when reception of the position information by the GPS receiver 98 is interrupted, information on the vehicle speed of the vehicle 1 input from the vehicle speed information acquisition device 24 and the posture of the vehicle 1 input from the vehicle body posture sensor device 25 are included. Based on this, the CPU 91 calculates a virtual position of the vehicle 1. The calculation of the virtual position of the vehicle 1 is hereinafter referred to as dead reckoning.

他の入出力装置97としては、例えば、車両1のキーシリンダからの入力や、窓の開閉スイッチ、ライト、ランプ等の入出力装置が例示される。   Examples of other input / output devices 97 include input from a key cylinder of the vehicle 1 and input / output devices such as a window opening / closing switch, a light, and a lamp.

次に、図3〜図16を参照して、車両1が駐車スペース200に自動駐車される場合に実行される自動駐車処理について説明する。図3は、車両1のCPU91で実行される自動駐車処理を示したフローチャートであり、図4は、自動駐車処理内で実行されるフィルタリング処理を示したフローチャートである。なお、自動駐車処理は、車両1が駐車スペース200への自動駐車が行える範囲内(例えば、駐車場DB96bに記憶される駐車データにより示される駐車場内など)で、運転者が自動駐車スイッチ27を操作した場合に実行される。   Next, with reference to FIGS. 3-16, the automatic parking process performed when the vehicle 1 is automatically parked in the parking space 200 is demonstrated. FIG. 3 is a flowchart showing an automatic parking process executed by the CPU 91 of the vehicle 1, and FIG. 4 is a flowchart showing a filtering process executed within the automatic parking process. The automatic parking process is performed within the range in which the vehicle 1 can perform automatic parking in the parking space 200 (for example, in the parking lot indicated by the parking data stored in the parking lot DB 96b). It is executed when an operation is performed.

図3に示す自動駐車処理が実行されると、後述する駐車スペース200前方に位置する認識位置201への移動処理が実行される(S101)。この移動処理は、車輪駆動装置3及び操舵駆動装置5に指示を出力して車両1を自動運転により移動させる処理であり、GPS受信機98による位置情報を受信可能な状態であれば、GPS受信機98により受信した位置情報に基づいて車両1を自動運転し、GPS受信機98による位置情報の受信が不可能な状態であれば、デッドレコニングにより算出された車両1の仮想的な現在位置に基づいて車両1を自動運転する。   If the automatic parking process shown in FIG. 3 is performed, the movement process to the recognition position 201 located in front of the parking space 200 mentioned later is performed (S101). This movement process is a process of outputting an instruction to the wheel drive device 3 and the steering drive device 5 to move the vehicle 1 by automatic driving. If the GPS receiver 98 can receive position information, the GPS reception is performed. If the vehicle 1 is automatically operated based on the position information received by the machine 98 and the position information cannot be received by the GPS receiver 98, the virtual current position of the vehicle 1 calculated by dead reckoning is set. Based on this, the vehicle 1 is automatically driven.

ここで、図5を参照して、車両1が自動運転により駐車される駐車スペース200と、車両1が自動運転により移動する認識位置201について説明する。図5(a)は、車両1が駐車される駐車スペース200を示した斜視図であり、図5(b)は、駐車スペース200と認識位置201との位置関係を模式的に示した模式図である。なお、図5(b)では、車両1の中心点をPoで表すと共に、車両1の右前に取り付けられる距離センサ26aを強調して図示している。   Here, a parking space 200 where the vehicle 1 is parked by automatic driving and a recognition position 201 where the vehicle 1 moves by automatic driving will be described with reference to FIG. FIG. 5A is a perspective view showing a parking space 200 where the vehicle 1 is parked, and FIG. 5B is a schematic diagram schematically showing the positional relationship between the parking space 200 and the recognition position 201. It is. In FIG. 5B, the center point of the vehicle 1 is represented by Po, and the distance sensor 26a attached to the front right of the vehicle 1 is shown in an emphasized manner.

図5(a)に示すように、車両1が駐車される駐車スペース200は、車両1が駐車スペース200内に移動する場合の進入口となる入口200aを有しており、入口200aに対向する奥方に位置する奥壁200bと、両側方に位置する側壁200cとにより三辺が囲まれ、両側壁200cの入口200a側の端部からそれぞれ離反する方向へ延壁200dが立設されている。つまり、駐車スペース200は、各壁200b〜200dにより区画されている。   As shown in FIG. 5A, the parking space 200 in which the vehicle 1 is parked has an entrance 200a that serves as an entrance when the vehicle 1 moves into the parking space 200, and faces the entrance 200a. Three sides are surrounded by the back wall 200b located in the back and the side walls 200c located on both sides, and extending walls 200d are erected in directions away from the ends of the side walls 200c on the inlet 200a side. That is, the parking space 200 is partitioned by the walls 200b to 200d.

図5(b)に示すように、駐車スペース200の入口200aの前方(図5(b)紙面垂直方向視左側)には、車両1を駐車スペース200に自動駐車する場合に、車両1が一旦停車する認識位置201が予め定められている。そして、認識位置201を中心とした半径X[m]までの範囲が認識範囲201aとなる。なお、本実施形態では、認識範囲201aは、認識位置201を中心とした半径1[m]としているが、この数値は、距離センサ26aの性能に応じて適宜変更可能である。   As shown in FIG. 5B, when the vehicle 1 is automatically parked in the parking space 200 in front of the entrance 200a of the parking space 200 (the left side in FIG. A recognition position 201 to stop is determined in advance. The range up to the radius X [m] with the recognition position 201 as the center is the recognition range 201a. In this embodiment, the recognition range 201a has a radius of 1 [m] with the recognition position 201 as the center, but this numerical value can be changed as appropriate according to the performance of the distance sensor 26a.

図3に戻って説明する。S101の処理で、認識位置201への移動処理が実行されたら、車両1の中心点Poが認識範囲201a内にあるか否かを判別し(S102)、車両1の中心点Poが認識位置201の認識範囲201a内にあれば(S102:Yes)、S103の処理へ移行し、車両1の中心点Poが認識位置201の認識範囲201a外であれば(S102:No)、S101の処理へ戻り、車両1の中心点Poが認識範囲201a内となるまで、S101,S102の処理を繰り返し実行する。   Returning to FIG. When the movement process to the recognition position 201 is executed in the process of S101, it is determined whether or not the center point Po of the vehicle 1 is within the recognition range 201a (S102), and the center point Po of the vehicle 1 is the recognition position 201. If it is within the recognition range 201a (S102: Yes), the process proceeds to S103, and if the center point Po of the vehicle 1 is outside the recognition range 201a of the recognition position 201 (S102: No), the process returns to S101. Until the center point Po of the vehicle 1 is within the recognition range 201a, the processes of S101 and S102 are repeatedly executed.

S103の処理では、車両1の中心点Poが認識位置201の認識範囲201a内に移動したことになるので、車輪駆動装置3及び操舵駆動装置5に停車指示を出力して、車両1を停車させ(S103)、その後、距離センサ26aにより車両1の周囲を測定し(S104)、その距離センサ26aの測定結果に基づいて駐車スペース200を形成する線分を抽出すると共に分割する(S105)。   In the process of S103, since the center point Po of the vehicle 1 has moved into the recognition range 201a of the recognition position 201, a stop instruction is output to the wheel drive device 3 and the steering drive device 5 to stop the vehicle 1. (S103) Then, the periphery of the vehicle 1 is measured by the distance sensor 26a (S104), and a line segment forming the parking space 200 is extracted and divided based on the measurement result of the distance sensor 26a (S105).

ここで、図6を参照して、S104の処理で行われる車両1の周囲の測定について説明する。図6(a)は、距離センサ26aが対象物までの距離を検出可能な検出範囲を示し図であり、図6(b)は、距離センサ26aによる検出結果を示した図である。なお、図6(b)には、破線により仮想的に車両1を図示している。   Here, with reference to FIG. 6, the measurement of the surroundings of the vehicle 1 performed by the process of S104 is demonstrated. FIG. 6A is a diagram showing a detection range in which the distance sensor 26a can detect the distance to the object, and FIG. 6B is a diagram showing a detection result by the distance sensor 26a. In FIG. 6B, the vehicle 1 is virtually illustrated by a broken line.

図6(a)に示すように、車両1の右前に取り付けられている距離センサ26aは、車両1の後方から左側までの略270度の範囲(図6(a)の矢印Aで示す範囲)に位置する対象物との距離を検出可能に構成されている。また、距離センサ26aは、略270度の範囲内で、円周方向の0.5度毎(図6(b)の矢印Bで示す範囲毎)に放射状に延びる線上に位置する対象物までの距離を検出可能に構成されている。   As shown in FIG. 6A, the distance sensor 26a attached to the right front side of the vehicle 1 has a range of about 270 degrees from the rear to the left side of the vehicle 1 (a range indicated by an arrow A in FIG. 6A). It is comprised so that the distance with the target object located in can be detected. Moreover, the distance sensor 26a is within a range of about 270 degrees, and is up to an object located on a line extending radially every 0.5 degrees in the circumferential direction (for each range indicated by an arrow B in FIG. 6B). The distance can be detected.

図6(b)に示すように、距離センサ26aによる検出結果は、円周方向の0.5度毎に検出された対象物までの距離が点として抽出され、その抽出された点は、距離センサ26aによる検出順に、x軸とy軸とからなる座標系に並べられる。   As shown in FIG. 6 (b), the detection result by the distance sensor 26a is extracted as a distance to the object detected every 0.5 degrees in the circumferential direction, and the extracted point is a distance. They are arranged in a coordinate system consisting of an x-axis and a y-axis in the order of detection by the sensor 26a.

図6(b)に示すように、抽出された点は、車両1の前方(y軸の矢印方向)に位置する延壁200dに対応するグループg1と、奥壁200bに対応するグループg2と、車両1の後方(y軸の反矢印方向)に位置する側壁200cに対応するグループg3と、車両1の後方に位置する延壁200dに対応するグループg4とで主に構成されている。なお、車両1の前方に位置する側壁200cは、距離センサ26aから死角になっているので、その側壁200cに対応する点は検出されていない。   As shown in FIG. 6B, the extracted points are a group g1 corresponding to the extending wall 200d located in front of the vehicle 1 (in the arrow direction of the y axis), a group g2 corresponding to the back wall 200b, The group g3 corresponding to the side wall 200c located behind the vehicle 1 (counter arrow direction of the y axis) and the group g4 corresponding to the extended wall 200d located behind the vehicle 1 are mainly configured. In addition, since the side wall 200c located in front of the vehicle 1 is a blind spot from the distance sensor 26a, a point corresponding to the side wall 200c is not detected.

また、グループg1〜g4とは離れた位置に点が並べられる場合がある(図6(b)の右上の1つの点)。この点は、例えば、距離センサ26a、周辺環境監視装置26およびCPU91との間に発生するノイズ等の影響により、距離センサ26aによる検出結果が「最大値」や「0」として検出される場合である。なお、その他に、駐車スペース200内を人が通過したり、物が置かれている場合にも、その人や物が距離センサ26aにより検出され、グループg1〜g4に含まれない点が並べられることもある。   Moreover, a point may be arranged in the position distant from the groups g1-g4 (one point of the upper right of FIG.6 (b)). This is the case, for example, when the detection result by the distance sensor 26a is detected as “maximum value” or “0” due to the influence of noise or the like generated between the distance sensor 26a, the surrounding environment monitoring device 26 and the CPU 91. is there. In addition, even when a person passes through the parking space 200 or an object is placed, the person or object is detected by the distance sensor 26a, and points not included in the groups g1 to g4 are arranged. Sometimes.

次に、図7を参照して、S105の処理で行われる駐車スペース200の線分の抽出および分割について説明する。図7(a)は、距離センサ26aによる検出結果から線分を抽出した状態を示した図であり、図7(b)は、距離センサ26aによる検出結果から抽出した線分を分割した状態を示した図である。なお、図7(a)には、破線により仮想的に車両1を図示している。   Next, with reference to FIG. 7, the line segment extraction and division of the parking space 200 performed in the process of S105 will be described. FIG. 7A is a diagram showing a state in which a line segment is extracted from the detection result by the distance sensor 26a, and FIG. 7B is a diagram in which the line segment extracted from the detection result by the distance sensor 26a is divided. FIG. In FIG. 7A, the vehicle 1 is virtually illustrated by a broken line.

図7(a)に示すように、距離センサ26aによる検出結果から座標系に並べられた点を結線すると、x軸およびy軸に平行となる線分(図7(a)の実線の線分)と、x軸およびy軸に斜めとなる線分(図7(a)の点線で図示された線分)とが連続的に接続された線分PQ0が抽出される。   As shown in FIG. 7A, when the points arranged in the coordinate system are connected from the detection result of the distance sensor 26a, a line segment parallel to the x-axis and the y-axis (the solid line segment in FIG. 7A) is obtained. ) And a line segment PQ0 in which a line segment oblique to the x-axis and the y-axis (a line segment illustrated by a dotted line in FIG. 7A) is continuously connected is extracted.

ここで、上述したように、距離センサ26aは、駐車スペース200の形状を特定するために、各壁200b〜200dとの距離を検出するものなので、座標系に並べられた点間の距離が極端に広いものは、ノイズ等の影響や、駐車スペース内を横切った人や物を検出してしまった可能性があり、その点間が極端に広い点は無効とした方が好ましい。よって、本実施形態では、座標系に並べられた点の点間距離を算出し、その点間距離が所定距離以上となる場合に、極端に離れた位置に並べられた点を無効とするように構成されている(点無効手段)。つまり、図7(a)に示す点線で示された線分を構成する点の一方が無効とされ、その点線で示された線分が無効とされる。   Here, as described above, the distance sensor 26a detects the distance to each of the walls 200b to 200d in order to specify the shape of the parking space 200. Therefore, the distance between the points arranged in the coordinate system is extreme. If it is very wide, there is a possibility that the influence of noise or the like or a person or an object crossing the parking space has been detected, and it is preferable to invalidate an extremely wide point. Therefore, in the present embodiment, the point-to-point distance between the points arranged in the coordinate system is calculated, and when the point-to-point distance is equal to or greater than the predetermined distance, the points arranged at extremely distant positions are invalidated. (Point invalidation means). That is, one of the points constituting the line segment indicated by the dotted line shown in FIG. 7A is invalidated, and the line segment indicated by the dotted line is invalidated.

図7(b)に示す状態が、点間距離が極端に広くなる点を無効とした場合に抽出される線分を示したものであり、線分PQ0を分割した状態である。この線分PQの分割は、駐車スペース200を囲む各壁200b〜200dの境目に対応する部分を分割したものであり、具体的には、ほぼ直線となる部分毎で且つ方向が極端に変化した部分を分割している。図示するように、線分PQ0は、分割線分PQ1〜PQ4に分割されており、分割線分PQ1,PQ4は延壁200dに対応し、分割線分PQ2は奥壁200bに対応し、分割線分PQ3は側壁200cに対応している。   The state shown in FIG. 7B shows a line segment that is extracted when a point at which the distance between points is extremely wide is invalid, and is a state in which the line segment PQ0 is divided. This division of the line segment PQ is obtained by dividing the portion corresponding to the boundary between the walls 200b to 200d surrounding the parking space 200. Specifically, the direction has changed extremely for each portion that is substantially a straight line. The part is divided. As shown in the figure, the line segment PQ0 is divided into dividing line segments PQ1 to PQ4, the dividing line segments PQ1 and PQ4 correspond to the extending wall 200d, the dividing line segment PQ2 corresponds to the back wall 200b, and the dividing line The minute PQ3 corresponds to the side wall 200c.

よって、距離センサ26aの検出結果に応じて座標系に並べられた点の点間距離が極端に広いものを無効にできるので、ノイズやセンサで測定できない死角等の影響や、駐車スペース200内を横切った人や物を検出した場合の異常な点を無効にできる。従って、駐車スペース200を区画する分割線分PQ1〜PQ4が、実際の駐車スペース200の形状から極端に異なることを抑制できるので、駐車スペース200の形状を正確に認識できる。   Therefore, the extremely wide point-to-point distance between points arranged in the coordinate system can be invalidated according to the detection result of the distance sensor 26a. It is possible to invalidate abnormal points when a crossing person or object is detected. Therefore, the dividing line segments PQ1 to PQ4 that divide the parking space 200 can be suppressed from being extremely different from the actual shape of the parking space 200, so that the shape of the parking space 200 can be accurately recognized.

図3に戻って説明する。距離センサ26aによる周囲の測定(S104)が完了し、その測定結果に基づいて駐車スペース200を覆う各壁200b〜200dに対応する線分を抽出および分割すると(S105)、次に、他のノイズ等の影響が考えられる線分を除去するためのフィルタリング処理を実行する(S106)。   Returning to FIG. When the surrounding measurement (S104) by the distance sensor 26a is completed and line segments corresponding to the walls 200b to 200d covering the parking space 200 are extracted and divided based on the measurement result (S105), next, other noise A filtering process for removing a line segment that may be affected by the above is executed (S106).

ここで、図4を参照して、S106の処理で実行されるフィルタリング処理について説明する。フィルタリング処理が実行されると、まず、基準線分を検索し(S201)、分割線分の全てに長さフィルタをかける(S202)と共に傾きフィルタをかける(S203)。S201の処理で行われる基準線分の検索とは、S105の処理で分割された分割線分PQ1〜PQ4のうち、フィルタリング処理で基準として使用するための基準線分を設定する処理であり、S202,S203の処理で行われる長さフィルタ及び傾きフィルタをかけるとは、不要な分割線分を除去する処理である。このS201〜S203の処理を、図8,9を参照して説明する。   Here, the filtering process executed in the process of S106 will be described with reference to FIG. When the filtering process is executed, first, a reference line segment is searched (S201), and a length filter is applied to all the divided line segments (S202) and an inclination filter is applied (S203). The reference line segment search performed in the process of S201 is a process of setting a reference line segment to be used as a reference in the filtering process among the divided line segments PQ1 to PQ4 divided in the process of S105. , Applying the length filter and the gradient filter performed in S203 is a process of removing unnecessary dividing line segments. The processing of S201 to S203 will be described with reference to FIGS.

図8(a)は、基準線分の検索方法を示した図であり、図8(b)は、長さフィルタ及び傾きフィルタの算出方向を示した図であり、図9は、傾きフィルタの条件を示した図である。なお、図8(b)に示す座標系のy軸は、基準線分に平行となるように配置されるものとする。   FIG. 8A is a diagram showing a reference line segment search method, FIG. 8B is a diagram showing calculation directions of the length filter and the gradient filter, and FIG. It is a figure showing conditions. Note that the y-axis of the coordinate system shown in FIG. 8B is arranged to be parallel to the reference line segment.

図8(a)に示すように、S201の処理で行われる基準線分の検索は、車両1に対して、分割線分PQ1〜PQ4の端点との距離が最短となる端点P1を検索し、その端点P1を有する分割線分を基準線分として設定する処理である。図8(a)の状態では、実線矢印で示した分割線分PQ1の端点P1が最短となっている。よって、以下の説明では、分割線分PQ1を基準線分PQ1として説明する。   As shown in FIG. 8A, the reference line segment search performed in the process of S201 searches the vehicle 1 for the end point P1 having the shortest distance from the end points of the dividing line segments PQ1 to PQ4. In this process, the dividing line segment having the end point P1 is set as the reference line segment. In the state of FIG. 8A, the end point P1 of the dividing line segment PQ1 indicated by the solid line arrow is the shortest. Therefore, in the following description, the dividing line segment PQ1 will be described as the reference line segment PQ1.

図8(b)に示すように、S202の処理で行われる長さフィルタをかける処理は、S105の処理で抽出して分割された各分割線分PQ1〜PQ4の長さを算出し、その分割線分PQ1〜PQ4の長さが所定長さ以下である場合に、その線分を無効として除去する処理である。   As shown in FIG. 8B, the process of applying the length filter performed in the process of S202 calculates the length of each of the divided line segments PQ1 to PQ4 extracted and divided in the process of S105, and the division. When the lengths of the line segments PQ1 to PQ4 are equal to or shorter than the predetermined length, the line segments are invalidated and removed.

例えば、図8(b)の上側に位置する分割線分PQ5の端点の座標が(Xs1、Ys1)及び(Xe1、Ye1)であれば、x軸方向の距離の差(Xs1−Xe1)を2乗した値に、y軸方向の距離の差(Ys1−Ye1)を2乗した値を加算して平方根をとることで線分長Cを算出することができる。そして、最小線分長をCminとし最大線分長をCmaxとした場合に、Cmin≦C≦Cmaxの条件から外れる線分を無効とする。   For example, if the coordinates of the end points of the dividing line segment PQ5 located on the upper side of FIG. 8B are (Xs1, Ys1) and (Xe1, Ye1), the distance difference (Xs1-Xe1) in the x-axis direction is 2 The line segment length C can be calculated by adding the value obtained by squaring the distance difference (Ys1-Ye1) in the y-axis direction to the squared value. When the minimum line segment length is Cmin and the maximum line segment length is Cmax, a line segment that deviates from the condition of Cmin ≦ C ≦ Cmax is invalidated.

よって、分割線分のうち極端に短い分割線分などを無効にできるので、例えば、駐車スペース200内の人影や物などを距離センサ26aが検出した場合に生成される分割線分、ノイズ等の影響により生成される分割線分を除去できる。従って、駐車スペース200を区画する仮想的な分割線分が、実際の駐車スペース200の形状から極端に異なることを抑制でき、駐車スペース200の形状を正確に認識できる。   Therefore, an extremely short dividing line segment can be invalidated among the dividing line segments. For example, a dividing line segment generated when the distance sensor 26a detects a human figure or an object in the parking space 200, noise, etc. A dividing line segment generated by the influence can be removed. Therefore, it can suppress that the virtual dividing line segment which divides the parking space 200 differs from the shape of the actual parking space 200 extremely, and can recognize the shape of the parking space 200 correctly.

次に、S203の処理で行われる傾きフィルタをかける処理は、S202の処理で長さフィルタをかけて残った分割線分の傾きθ(−90≦θ≦90)を算出し、その分割線分の傾きが基準線分PQ1に対して所定角度以上傾いていたり、基準線分PQ1に直交する直交線分に対して所定角度以上傾いていた場合に、その分割線分を無効として除去する処理である。   Next, in the process of applying an inclination filter performed in the process of S203, the inclination θ (−90 ≦ θ ≦ 90) of the remaining divided line is calculated by applying the length filter in the process of S202, and the divided line segment is calculated. In the process of removing the divided line segment as invalid when the inclination of the line segment is tilted by a predetermined angle or more with respect to the reference line segment PQ1 or tilted by a predetermined angle or more with respect to the orthogonal line segment orthogonal to the reference line segment PQ1. is there.

例えば、図8(b)の上側に位置する分割線分PQ5の傾きθ1(0≦θ≦90)は、下記の(1)式で算出でき、図8(b)の下側に位置する分割線分PQ6の傾きθ2(−90≦θ≦0)は下記の(2)式で算出できる。なお、分割線分PQ6の端点の座標は(Xs2、Ys2)及び(Xe2、Ye2)とする。
θ1=tan−1((Ye1−Ys1)/(Xe1−Xs1))・・・(1)
θ2=tan−1((Ye2−Ys2)/(Xe2−Xs2))・・・(2)
図8(b)に示すように、傾きθ1,θ2は、分割線分PQ5,PQ6のxの値が小さい(図8(b)では左側の端点)方を基準として角度を算出しているので、傾きθ1は0≦θ1の関係が成り立ち、傾きθ2はθ2≦0の関係が成り立ち、−90≦θ≦90の関係が成り立っている。
For example, the slope θ1 (0 ≦ θ ≦ 90) of the dividing line segment PQ5 located on the upper side of FIG. 8B can be calculated by the following equation (1), and the division located on the lower side of FIG. The slope θ2 (−90 ≦ θ ≦ 0) of the line segment PQ6 can be calculated by the following equation (2). The coordinates of the end points of the dividing line segment PQ6 are (Xs2, Ys2) and (Xe2, Ye2).
θ1 = tan−1 ((Ye1−Ys1) / (Xe1−Xs1)) (1)
θ2 = tan−1 ((Ye2−Ys2) / (Xe2−Xs2)) (2)
As shown in FIG. 8B, the angles θ1 and θ2 are calculated based on the smaller x value of the dividing line segments PQ5 and PQ6 (the left end point in FIG. 8B). The inclination θ1 has a relation of 0 ≦ θ1, the inclination θ2 has a relation of θ2 ≦ 0, and a relation of −90 ≦ θ ≦ 90.

図9(a)〜図9(d)は、分割線分PQ5,PQ6の傾きθ1,θ2の許容範囲E1〜E3を示している。図9(a)は、基準線分PQ1がほぼY軸と重なった場合の許容範囲E1,E2を示している。図9(a)に示すように、分割線分PQ5,PQ6の傾きθ1,θ2が+側(0≦θ)となる許容範囲E1は、y軸を基準に−θminされた範囲内とされている。y軸を基準に+θminとなる範囲が許容範囲から除外れているのは、傾きθ1,θ2に対して−90≦θ≦90の関係が成り立っているからである。一方、分割線分PQ5,PQ6の傾きθ1,θ2が−側(θ≦0)となる許容範囲E2は、y軸を基準に+θminされた範囲内とされており、−90≦θ≦90の関係からy軸を基準に−θminとなる範囲が許容範囲から除外れている。また、図9(b)に示すように、基準線分PQ1に対して垂直方向の直交線分(図9(b)の薄線で示す線分)を基準に−θminから+θminの範囲内が許容範囲E3となる。   FIGS. 9A to 9D show the allowable ranges E1 to E3 of the inclinations θ1 and θ2 of the dividing line segments PQ5 and PQ6. FIG. 9A shows the allowable ranges E1 and E2 when the reference line segment PQ1 substantially overlaps the Y axis. As shown in FIG. 9A, the allowable range E1 in which the slopes θ1 and θ2 of the dividing line segments PQ5 and PQ6 are on the + side (0 ≦ θ) is within a range that is −θmin with respect to the y-axis. Yes. The reason why the range of + θmin with respect to the y axis is excluded from the allowable range is that the relationship of −90 ≦ θ ≦ 90 is established with respect to the inclinations θ1 and θ2. On the other hand, the allowable range E2 in which the inclinations θ1 and θ2 of the dividing line segments PQ5 and PQ6 are on the negative side (θ ≦ 0) is within the range of + θmin with respect to the y axis, and −90 ≦ θ ≦ 90. From the relationship, a range of −θmin with respect to the y-axis is excluded from the allowable range. Further, as shown in FIG. 9 (b), the range from −θmin to + θmin with respect to the perpendicular line segment (the line segment indicated by the thin line in FIG. 9 (b)) in the direction perpendicular to the reference line segment PQ1. The allowable range E3.

図9(c)は、基準線分PQ1がy軸と重ならない場合の許容範囲E1,E2を示しており、図9(c)に示すように、許容範囲E1,E2は、基準線分PQ1を基準に−θminから+θminの範囲内とされている。また、図9(d)に示すように、基準線分PQ1に対して垂直方向の直交線分(図9(d)の薄線で示す線分)を基準に−θminから+θminの範囲内が許容範囲E3となる。なお、基準線分PQ1がy軸に重ならない場合にも−90≦θ≦90の関係は成り立ち、−90≦θ≦90から外れる場合にはその範囲が除外される。   FIG. 9C shows the allowable ranges E1 and E2 when the reference line segment PQ1 does not overlap the y-axis. As shown in FIG. 9C, the allowable ranges E1 and E2 are the reference line segment PQ1. Is within the range of -θmin to + θmin. Further, as shown in FIG. 9 (d), the range from −θmin to + θmin with respect to the perpendicular line segment (the line segment indicated by the thin line in FIG. 9 (d)) perpendicular to the reference line segment PQ1. The allowable range E3. Even when the reference line segment PQ1 does not overlap the y-axis, the relationship of −90 ≦ θ ≦ 90 is established, and when the reference line segment PQ1 deviates from −90 ≦ θ ≦ 90, the range is excluded.

また、図9(c)及び図9(d)では、基準線分PQ1の傾きθが0≦θである場合を説明したが、基準線分PQ1の傾きθがθ≦0となる場合も同様に、許容範囲E1,E2が基準線分PQ1を基準に−θminから+θminの範囲内となり、許容範囲E3が基準線分PQ1に対して垂直方向の直交線分を基準に−θminから+θminの範囲内となる。   9C and 9D illustrate the case where the slope θ of the reference line segment PQ1 is 0 ≦ θ, the same applies when the slope θ of the reference line segment PQ1 is θ ≦ 0. In addition, the allowable ranges E1 and E2 are within the range of −θmin to + θmin with respect to the reference line segment PQ1, and the allowable range E3 is a range of −θmin to + θmin with respect to the orthogonal line segment perpendicular to the reference line segment PQ1. Inside.

よって、分割線分PQ5,PQ6の傾きθ1,θ2に許容範囲E1〜E3を設けることで、基準線分PQ1に対してほぼ平行となる分割線分および基準線分PQ1の垂直方向に対してほぼ平行となる分割線分以外、即ち、基準線分PQ1に対して極端に傾いた分割線分、及び基準線分PQ1の垂直方向に対して極端に傾いた分割線分を無効にできる。つまり、駐車スペース200内の人影や物などを距離センサ26aが検出した場合に生成される分割線分、ノイズ等の影響により生成される分割線分を除去できるので、駐車スペース200を区画する仮想的な分割線分が、実際の駐車スペース200の形状から極端に異なることを抑制でき、駐車スペース200の形状を正確に認識できる。   Therefore, by providing the permissible ranges E1 to E3 in the inclinations θ1 and θ2 of the dividing line segments PQ5 and PQ6, the dividing line segment that is substantially parallel to the reference line segment PQ1 and the vertical direction of the reference line segment PQ1 are approximately. Other than the parallel dividing line segments, that is, the dividing line segments that are extremely inclined with respect to the reference line segment PQ1, and the dividing line segments that are extremely inclined with respect to the vertical direction of the reference line segment PQ1, can be invalidated. That is, since the dividing line segment generated when the distance sensor 26a detects a human figure or an object in the parking space 200, or the dividing line segment generated due to the influence of noise or the like can be removed, the virtual partitioning the parking space 200 is possible. Therefore, it is possible to prevent the actual dividing line segment from being extremely different from the actual shape of the parking space 200 and to accurately recognize the shape of the parking space 200.

図4に戻って説明する。S203の処理により傾きフィルタがかけられると、次に、基準線分PQ1に対して直交する方向に位置する直交線分を抽出するために、端点フィルタをかける(S204)。このS204の処理で行われる端点フィルタについて図10を参照して説明する。   Returning to FIG. Once the inclination filter is applied by the processing of S203, next, an end point filter is applied to extract an orthogonal line segment located in a direction orthogonal to the reference line segment PQ1 (S204). The end point filter performed in the process of S204 will be described with reference to FIG.

図10は、基準線分PQ1に対して直交する直交線分を抽出する方法を示した図である。図10に示すように、車両1から最短点とされた基準線分PQ1の端点P1を中心に所定範囲となる検索範囲P1a内に他の分割線分PQ2〜PQ4の端点があるか否かを検出する。この基準線分PQ1の端点P1を中心とする検索範囲P1aは、車両1の左右方向(図1に示す矢印L−R方向)の幅に、例えば、1m程度を加算(+α)した範囲とする(もし駐車場の入口の幅がわかっているときは、駐車場の入口幅+αにするのが望ましい)。つまり、各壁200b〜200dに対応する分割線分PQ2〜PQ4の端点を検出していることになる。図10では、分割線分PQ2〜PQ4の一方の端点が検索範囲P1a内に位置しているので、分割線分PQ2〜PQ4の全てが直交線分の候補となるが、基準線分PQ1に対して直交する分割線分は分割線分PQ3となるので、分割線分PQ3が直交線分として抽出される。なお、以下の説明では、分割線分PQ3を直交線分PQ3と称す。   FIG. 10 is a diagram illustrating a method of extracting orthogonal line segments orthogonal to the reference line segment PQ1. As shown in FIG. 10, it is determined whether or not there are end points of other dividing line segments PQ2 to PQ4 in the search range P1a that is a predetermined range centering on the end point P1 of the reference line segment PQ1 that is the shortest point from the vehicle 1. To detect. The search range P1a centered on the end point P1 of the reference line segment PQ1 is a range in which, for example, about 1 m is added (+ α) to the width of the vehicle 1 in the left-right direction (arrow LR direction shown in FIG. 1). (If you know the width of the parking lot entrance, it is desirable to set the parking entrance width + α). That is, the end points of the dividing line segments PQ2 to PQ4 corresponding to the walls 200b to 200d are detected. In FIG. 10, since one end point of the dividing line segments PQ2 to PQ4 is located within the search range P1a, all of the dividing line segments PQ2 to PQ4 are candidates for orthogonal line segments, but with respect to the reference line segment PQ1. Since the dividing line segment orthogonal to each other becomes the dividing line segment PQ3, the dividing line segment PQ3 is extracted as the orthogonal line segment. In the following description, the dividing line segment PQ3 is referred to as an orthogonal line segment PQ3.

また、例えば、基準線分PQ1の端点P1を中心とする所定範囲P1a内に他の線分の端点が存在しない場合には、車両1の駐車スペース200に対する向き(アプローチ方向)が異なることが考えられるので、基準線分PQ1の他方の端点P2を中心とした検索範囲P2a内(図10の点線で示す円の範囲内)を検索する。この検索により、例えば、線分PQ7,PQ8の端点を検出できれば、基準線分PQ1に対して直交する直交線分PQ7を抽出することができる。   Further, for example, when there is no end point of another line segment within the predetermined range P1a centering on the end point P1 of the reference line segment PQ1, the direction (approach direction) of the vehicle 1 with respect to the parking space 200 may be different. Therefore, the search is performed within the search range P2a (within the circle indicated by the dotted line in FIG. 10) centered on the other end point P2 of the reference line segment PQ1. For example, if the end points of the line segments PQ7 and PQ8 can be detected by this search, the orthogonal line segment PQ7 orthogonal to the reference line segment PQ1 can be extracted.

図4に戻って説明する。S204の処理により基準線分PQ1の端点P1を中心する検索範囲P1a内に他の分割線分PQ2〜PQ4の端点があるかを検索する端点フィルタをかけると、端点フィルタリピートフラグ93aがオンであるか否かを判別し(S205)、端点フィルタリピートフラグ93aがオフであれば(S205:No)、端点フィルタにより抽出された直交線分が1個以上あるか否かを判別する(S206)。   Returning to FIG. When an end point filter for searching whether there are end points of other divided line segments PQ2 to PQ4 within the search range P1a centering on the end point P1 of the reference line segment PQ1 by the processing of S204, the end point filter repeat flag 93a is on. If the end point filter repeat flag 93a is off (S205: No), it is determined whether there is one or more orthogonal line segments extracted by the end point filter (S206).

S206の処理で確認した結果、端点フィルタにより抽出された線分に直交線分が1個以上であれば(S206:Yes)、駐車スペース200の形状を特定できるので、そのまま本処理を終了し、直交線分が抽出できなければ(S206:No)、端点フィルタリピートフラグ93aをオンした後に(S207)、S204の処理へ戻り、再度、端点フィルタをかける。なお、この再度、端点フィルタをかける場合には、上述したように、基準線分PQ1の他方の端点P2を中心とした検索範囲P2a内を検索する処理が実行される。   As a result of checking in the process of S206, if there are one or more orthogonal line segments in the line segment extracted by the end point filter (S206: Yes), the shape of the parking space 200 can be specified, so this process is terminated as it is, If the orthogonal line segment cannot be extracted (S206: No), after turning on the end point filter repeat flag 93a (S207), the process returns to S204, and the end point filter is applied again. When the end point filter is applied again, as described above, the process of searching the search range P2a centered on the other end point P2 of the reference line segment PQ1 is executed.

そして、S205の処理では、再度端点フィルタをかけた場合、端点フィルタリピートフラグ93aがオンされているので(S205:Yes)、S206の処理を実行することなく、本処理を終了する。なお、再度、端点フィルタをかけた場合にも直交線分が検索できなかった場合には、後述するS107の処理で駐車スペース200を認識できなくなり(S207:No)、自動駐車することなく自動駐車処理が終了する。よって、端点フィルタをかける処理を最大2回までとすることで、端点を検索する範囲が広くなり過ぎて、処理の精度および信頼性が低下することを抑制できるし、処理負担の軽減も図ることができる。なお、駐車スペース200を認識できない場合には、車両1のアプローチ方向などを変更して再度自動駐車処理を実行するように促す報知を行うようにしても良い。   In the process of S205, when the end point filter is applied again, since the end point filter repeat flag 93a is turned on (S205: Yes), the process ends without executing the process of S206. In addition, if the orthogonal line segment cannot be searched even when the end point filter is applied again, the parking space 200 cannot be recognized in the process of S107 described later (S207: No), and automatic parking without automatic parking is performed. The process ends. Therefore, by making the process of applying the end point filter up to a maximum of two times, it is possible to suppress the end point search range from becoming too wide, thereby reducing the accuracy and reliability of the process, and reducing the processing burden. Can do. In addition, when the parking space 200 cannot be recognized, you may make it perform notification which urges | hangs the approach direction etc. of the vehicle 1, and performs an automatic parking process again.

図3に戻って説明する。S106のフィルタリング処理が終わると、そのフィルタリング処理により不要な線分が除去された駐車スペース200を認識する(S107)。この駐車スペース200を認識する処理について、図11〜図16を参照して説明する。   Returning to FIG. When the filtering process of S106 ends, the parking space 200 from which unnecessary line segments are removed by the filtering process is recognized (S107). The process which recognizes this parking space 200 is demonstrated with reference to FIGS.

図11は、基準線分PQ1と直交線分PQ3との交点P3を抽出する方法を示した図である。図12〜図16は、駐車スペース200に対する車両1のアプローチ方向、及び、駐車スペース200に対する車両1の位置に応じて場合分けされる駐車スペース200の形状の算出方法を示した図である。   FIG. 11 is a diagram illustrating a method of extracting the intersection P3 between the reference line segment PQ1 and the orthogonal line segment PQ3. FIGS. 12-16 is the figure which showed the calculation method of the shape of the parking space 200 divided according to the approach direction of the vehicle 1 with respect to the parking space 200, and the position of the vehicle 1 with respect to the parking space 200. FIG.

図11に示すように、S205の処理で端点フィルタをかけて、基準線分PQ1に直交する直交線分PQ3を検索できたら、その基準線分PQ1の延長線上(基準線分PQ1から延びる点線)と、直交線分PQ3の延長線上(直交線分PQ3から延びる点線)が交わる点を交点P3として抽出する。この基準線分PQの端点P1と、抽出した交点P3との間が駐車スペース200の入口200aの幅として認識される。   As shown in FIG. 11, if an orthogonal line segment PQ3 orthogonal to the reference line segment PQ1 can be searched by applying an end point filter in the process of S205, it is on an extension line of the reference line segment PQ1 (a dotted line extending from the reference line segment PQ1). Then, a point where the extension of the orthogonal line segment PQ3 (a dotted line extending from the orthogonal line segment PQ3) intersects is extracted as an intersection point P3. A space between the end point P1 of the reference line segment PQ and the extracted intersection point P3 is recognized as the width of the entrance 200a of the parking space 200.

図12〜図16の場合分けは、距離センサ26aによる検出結果から座標系に並べられた複数点(図6(b)に示す点)までの距離や、その各点の距離センサ26aの円周方向における角度等に応じて、駐車スペース200に対する車両1のアプローチ方向と、駐車スペース200に対する車両1の位置とが算出され、その算出結果に基づいて行われる。   12 to 16, the distance from the detection result by the distance sensor 26a to a plurality of points (points shown in FIG. 6B) arranged in the coordinate system, and the circumference of the distance sensor 26a at each point. The approach direction of the vehicle 1 with respect to the parking space 200 and the position of the vehicle 1 with respect to the parking space 200 are calculated according to the angle in the direction, and the calculation is performed based on the calculation result.

図12及び図13は、図5(a)に示すように、車両1の右側に駐車スペース200が位置する状態で、車両1が認識位置201にアプローチした場合である。なお、図12(a)に示す駐車スペース200の縦幅parkDepth(以下「pD」と称す)及び横幅parkWidth(以下「pW」と称す)は、予めHDD96に記憶されているデータである。   12 and 13 show a case where the vehicle 1 approaches the recognition position 201 in the state where the parking space 200 is located on the right side of the vehicle 1 as shown in FIG. The vertical width parkDepth (hereinafter referred to as “pD”) and the horizontal width parkWidth (hereinafter referred to as “pW”) of the parking space 200 illustrated in FIG. 12A are data stored in the HDD 96 in advance.

図12(a)に示す状態では、分割線分は、5つの分割線分PQ1〜PQ5が抽出される。この状態における駐車スペース200の形状を特定する四隅の頂点P11〜P14の算出方法について説明する。頂点P11は、上述した通り、基準線分PQ1と直交線分PQ3との交点P3であり、その座標を(Xp11,Yp11)と表した場合、頂点P12の座標(Xp12,Yp12)は下記の(3),(4)式で算出でき、頂点P13の座標(Xp13,Yp13)は下記の(5),(6)式で算出でき、頂点P14(端点P1)の座標(Xp14,Yp14)は下記の(7),(8)式で算出できる。
Xp12=Xp11−pD・cosθ・・・(3)
Yp12=Yp11+pD・sinθ・・・(4)
Xp13=Xp12+pW・sinθ・・・(5)
Yp13=Yp12+pW・cosθ・・・(6)
Xp14=Xp13+pD・cosθ・・・(7)
Yp14=Yp13−pD・sinθ・・・(8)
上記の(3)〜(8)式によって、頂点P12〜P14の座標が算出されると、薄線で示すような仮想的な駐車スペース200の形状を特定することができる。
In the state shown in FIG. 12A, five dividing line segments PQ1 to PQ5 are extracted. A method for calculating the apexes P11 to P14 at the four corners that specify the shape of the parking space 200 in this state will be described. As described above, the vertex P11 is the intersection P3 of the reference line segment PQ1 and the orthogonal line segment PQ3. When the coordinates are represented as (Xp11, Yp11), the coordinates (Xp12, Yp12) of the vertex P12 are ( 3) and (4), the coordinates (Xp13, Yp13) of the vertex P13 can be calculated by the following expressions (5) and (6), and the coordinates (Xp14, Yp14) of the vertex P14 (end point P1) are (7) and (8).
Xp12 = Xp11−pD · cos θ (3)
Yp12 = Yp11 + pD · sin θ (4)
Xp13 = Xp12 + pW · sin θ (5)
Yp13 = Yp12 + pW · cos θ (6)
Xp14 = Xp13 + pD · cos θ (7)
Yp14 = Yp13−pD · sin θ (8)
When the coordinates of the vertices P12 to P14 are calculated by the above equations (3) to (8), the shape of the virtual parking space 200 as indicated by a thin line can be specified.

図12(b)に示す状態では、車両1が駐車スペース200に対して傾くことなく位置している。よって、角度θ=「0」となるので、上記(3)〜(8)において、sinθ=「1」及びcosθ=「0」として、頂点P12〜P14を算出できる。   In the state shown in FIG. 12B, the vehicle 1 is positioned without tilting with respect to the parking space 200. Therefore, since the angle θ = “0”, in the above (3) to (8), the vertices P12 to P14 can be calculated with sin θ = “1” and cos θ = “0”.

図13(a)に示す状態では、頂点P12〜P14は、下記の(9)〜(14)式により算出できる。
Xp12=Xp11+pD・cos(π/2+θ)・・・(9)
Yp12=Yp11+pD・sin(π/2+θ)・・・(10)
Xp13=Xp12+pW・sin(π/2+θ)・・・(11)
Yp13=Yp12−pW・cos(π/2+θ)・・・(12)
Xp14=Xp13−pD・cos(π/2+θ)・・・(13)
Yp14=Yp13−pD・sin(π/2+θ)・・・(14)
In the state shown in FIG. 13A, the vertices P12 to P14 can be calculated by the following equations (9) to (14).
Xp12 = Xp11 + pD · cos (π / 2 + θ) (9)
Yp12 = Yp11 + pD · sin (π / 2 + θ) (10)
Xp13 = Xp12 + pW · sin (π / 2 + θ) (11)
Yp13 = Yp12−pW · cos (π / 2 + θ) (12)
Xp14 = Xp13−pD · cos (π / 2 + θ) (13)
Yp14 = Yp13−pD · sin (π / 2 + θ) (14)

図13(b)に示す状態では、頂点P12〜P14は、下記の(15)〜(20)式により算出できる。
Xp12=Xp11+pD・cos(π/2−θ)・・・(15)
Yp12=Yp11−pD・sin(π/2−θ)・・・(16)
Xp13=Xp12−pW・sin(π/2−θ)・・・(17)
Yp13=Yp12−pW・cos(π/2−θ)・・・(18)
Xp14=Xp13−pD・cos(π/2−θ)・・・(19)
Yp14=Yp13+pD・sin(π/2−θ)・・・(20)
In the state shown in FIG. 13B, the vertices P12 to P14 can be calculated by the following equations (15) to (20).
Xp12 = Xp11 + pD · cos (π / 2−θ) (15)
Yp12 = Yp11−pD · sin (π / 2−θ) (16)
Xp13 = Xp12−pW · sin (π / 2−θ) (17)
Yp13 = Yp12−pW · cos (π / 2−θ) (18)
Xp14 = Xp13−pD · cos (π / 2−θ) (19)
Yp14 = Yp13 + pD · sin (π / 2−θ) (20)

また、図14及び図15は、車両1の左側に駐車スペース200が位置する状態で、車両1が認識位置201にアプローチした場合である。   14 and 15 show a case where the vehicle 1 approaches the recognition position 201 in a state where the parking space 200 is located on the left side of the vehicle 1.

図14(a)に示す状態では、頂点P12〜P14は、下記の(21)〜(26)式により算出できる。
Xp12=Xp11−pD・cos(π/2−θ)・・・(21)
Yp12=Yp11+pD・sin(π/2−θ)・・・(22)
Xp13=Xp12−pW・sin(π/2−θ)・・・(23)
Yp13=Yp12−pW・cos(π/2−θ)・・・(24)
Xp14=Xp13+pD・cos(π/2−θ)・・・(25)
Yp14=Yp13−pD・sin(π/2−θ)・・・(26)
In the state shown in FIG. 14A, the vertices P12 to P14 can be calculated by the following equations (21) to (26).
Xp12 = Xp11−pD · cos (π / 2−θ) (21)
Yp12 = Yp11 + pD · sin (π / 2−θ) (22)
Xp13 = Xp12−pW · sin (π / 2−θ) (23)
Yp13 = Yp12−pW · cos (π / 2−θ) (24)
Xp14 = Xp13 + pD · cos (π / 2−θ) (25)
Yp14 = Yp13−pD · sin (π / 2−θ) (26)

図14(b)に示す状態では、車両1が駐車スペース200に対して傾くことなく位置している。よって、角度θ=「0」となり、上記(21)〜(26)において、sin(π/2−θ)=「1」及びcos(π/2−θ)=「0」として、頂点P12〜P14を算出できる。   In the state shown in FIG. 14B, the vehicle 1 is positioned without tilting with respect to the parking space 200. Therefore, the angle θ = “0”, and in the above (21) to (26), sin (π / 2−θ) = “1” and cos (π / 2−θ) = “0”, and the vertices P12˜ P14 can be calculated.

図15(a)に示す状態では、頂点P12〜P14は、下記の(27)〜(32)式により算出できる。
Xp12=Xp11+pD・cos(π/2+θ)・・・(27)
Yp12=Yp11+pD・sin(π/2+θ)・・・(28)
Xp13=Xp12−pW・sin(π/2+θ)・・・(29)
Yp13=Yp12+pW・cos(π/2+θ)・・・(30)
Xp14=Xp13−pD・cos(π/2+θ)・・・(31)
Yp14=Yp13−pD・sin(π/2+θ)・・・(32)
In the state shown in FIG. 15A, the vertices P12 to P14 can be calculated by the following equations (27) to (32).
Xp12 = Xp11 + pD · cos (π / 2 + θ) (27)
Yp12 = Yp11 + pD · sin (π / 2 + θ) (28)
Xp13 = Xp12−pW · sin (π / 2 + θ) (29)
Yp13 = Yp12 + pW · cos (π / 2 + θ) (30)
Xp14 = Xp13−pD · cos (π / 2 + θ) (31)
Yp14 = Yp13−pD · sin (π / 2 + θ) (32)

図15(b)に示す状態では、頂点P12〜P14は、下記の(33)〜(38)式により算出できる。
Xp12=Xp11+pD・cos(π/2−θ)・・・(33)
Yp12=Yp11−pD・sin(π/2−θ)・・・(34)
Xp13=Xp12+pW・sin(π/2−θ)・・・(35)
Yp13=Yp12+pW・cos(π/2−θ)・・・(36)
Xp14=Xp13−pD・cos(π/2−θ)・・・(37)
Yp14=Yp13+pD・sin(π/2−θ)・・・(38)
In the state shown in FIG. 15B, the vertices P12 to P14 can be calculated by the following equations (33) to (38).
Xp12 = Xp11 + pD · cos (π / 2−θ) (33)
Yp12 = Yp11−pD · sin (π / 2−θ) (34)
Xp13 = Xp12 + pW · sin (π / 2−θ) (35)
Yp13 = Yp12 + pW · cos (π / 2−θ) (36)
Xp14 = Xp13−pD · cos (π / 2−θ) (37)
Yp14 = Yp13 + pD · sin (π / 2−θ) (38)

図3に戻って説明する。S107の処理で、図12(a)〜図15(b)に示す状態のうち、車両1のアプローチ方向や位置に最適なものが選択され、頂点P11〜P14が算出されると共に駐車スペース200の仮想的な形状が算出されて、駐車スペース200が認識できたか否かを判別し(S108)、駐車スペース200が認識されていれば(S108:Yes)、駐車処理を実行し(S109)、駐車スペース200が認識されていなければ(S108:No)、そのまま、本処理を終了する。なお、S107の処理で駐車スペース200が認識できない場合とは、フィルタリング処理(S106)を実行した場合に、基準線分や直交線分が抽出できずに、駐車スペース200の形状を算出できなかった場合である。   Returning to FIG. In the process of S107, the optimal state for the approach direction and position of the vehicle 1 is selected from the states shown in FIGS. 12A to 15B, and the vertices P11 to P14 are calculated and the parking space 200 is displayed. A virtual shape is calculated to determine whether or not the parking space 200 is recognized (S108). If the parking space 200 is recognized (S108: Yes), a parking process is executed (S109), and parking is performed. If the space 200 is not recognized (S108: No), this process is terminated as it is. The case where the parking space 200 cannot be recognized in the process of S107 means that when the filtering process (S106) is executed, the reference line segment and the orthogonal line segment cannot be extracted, and the shape of the parking space 200 cannot be calculated. Is the case.

ここで、図16を参照して、S109の処理で実行される駐車処理について説明する。図16は、車両1の駐車スペース204への自動駐車を示した図であり、図16(a)は、車両1が駐車開始位置まで移動する状態を示しており、図16(b)は、車両1が旋回動作をして駐車スペース200に駐車する状態を示している。   Here, with reference to FIG. 16, the parking process performed by the process of S109 is demonstrated. FIG. 16 is a diagram showing automatic parking of the vehicle 1 in the parking space 204. FIG. 16 (a) shows a state where the vehicle 1 moves to the parking start position, and FIG. A state in which the vehicle 1 turns and parks in the parking space 200 is shown.

図8(a)に示すように、車両1が駐車スペース200に自動駐車する場合には、CPU91から車輪駆動装置3及び操舵駆動装置5に指示を出力し、駐車スペース200に対する現在位置から駐車開始位置P21へ車両1を自動で移動させる。そして、図8(b)に示すように、車両1が駐車開始位置P21に到達したら、旋回の中心点P22を基準として旋回動作を行い駐車スペース200への自動駐車が行われ、車両1の自律走行が完了する。   As shown in FIG. 8A, when the vehicle 1 automatically parks in the parking space 200, the CPU 91 outputs an instruction to the wheel drive device 3 and the steering drive device 5 and starts parking from the current position with respect to the parking space 200. The vehicle 1 is automatically moved to the position P21. Then, as shown in FIG. 8B, when the vehicle 1 reaches the parking start position P21, a turning operation is performed with reference to the turning center point P22, and automatic parking in the parking space 200 is performed. Driving is complete.

以上説明したように、制御装置100は、車両1を基準として、所定角度毎(本実施形態では0.5度毎)に放射状に延びる線上に位置する各壁200b〜200dまでの距離を距離センサ26aにより検出し、その検出結果から駐車スペース200の形状を算出できるので、カメラにより入力される画像を1画素ずつ解析して駐車スペース200の形状を算出する場合に比べて、制御装置200のCPU91の処理負担を軽減できる。さらに、駐車スペース200の形状の算出は、上述した通り、通常の三角関数を用いたものであり、その算出自体も簡単になるので、CPU91の処理負担をより軽減できる。   As described above, the control device 100 uses the distance sensor to determine the distance to each of the walls 200b to 200d located on a line extending radially at a predetermined angle (in this embodiment, every 0.5 degrees) with the vehicle 1 as a reference. 26a, and the shape of the parking space 200 can be calculated from the detection result. Therefore, the CPU 91 of the control device 200 is compared with the case where the shape of the parking space 200 is calculated by analyzing the image input by the camera pixel by pixel. Can reduce the processing load. Further, the calculation of the shape of the parking space 200 uses a normal trigonometric function as described above, and the calculation itself is simplified, so that the processing load on the CPU 91 can be further reduced.

以上、実施の形態に基づき本発明を説明したが、本発明は上記実施の形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変形が可能であることは容易に推察できるものである。   The present invention has been described above based on the embodiments. However, the present invention is not limited to the above embodiments, and various improvements and modifications can be made without departing from the spirit of the present invention. It can be easily guessed.

例えば、上記実施形態では、距離センサ26aをレーザレンジファインダで構成するものとしたが、超音波を発信する超音波センサや、ミリ波を発信するミリ波センサなどで構成するものとしても良い。超音波センサやミリ波センサであっても、カメラにより入力される画像を解析して駐車スペース200の形状を算出する場合に比べて、制御装置200のCPU91の処理負担を軽減できる。   For example, in the above embodiment, the distance sensor 26a is configured by a laser range finder, but may be configured by an ultrasonic sensor that transmits ultrasonic waves, a millimeter wave sensor that transmits millimeter waves, or the like. Even in the case of an ultrasonic sensor or a millimeter wave sensor, the processing load on the CPU 91 of the control device 200 can be reduced as compared with the case where the image input by the camera is analyzed to calculate the shape of the parking space 200.

また、上記実施形態では、駐車スペース200が壁200b〜200dにより区画されるものとしたが、金網によって区画されるものであっても良いし、地面から若干突起した仕切部材などで区画されるものであっても良いし、逆に、地面に設けられた凹みにより区画されるものであっても良い。即ち、距離センサ26aにより検出可能な対象物であれば、駐車スペース200を区画する部材は如何なるものであっても良い。なお、駐車スペース200が金網により区画されている場合には、距離センサ26aにより所定角度毎に放射状に延びる線上に金網が位置しないこともあるが、本実施形態では、座標係に並べられた点の点間距離が極端に広いものを無効にできるので、距離センサ26aにより金網の形状に対応した全ての点を抽出できない場合でも、駐車スペース200の形状を正確に算出することができる。   In the above embodiment, the parking space 200 is partitioned by the walls 200b to 200d. However, the parking space 200 may be partitioned by a wire mesh, or may be partitioned by a partition member or the like slightly protruding from the ground. Or, conversely, it may be defined by a dent provided on the ground. That is, as long as the object can be detected by the distance sensor 26a, any member may be used to partition the parking space 200. Note that when the parking space 200 is partitioned by a wire mesh, the wire sensor may not be positioned on a line extending radially every predetermined angle by the distance sensor 26a. Since an extremely wide distance between points can be invalidated, the shape of the parking space 200 can be accurately calculated even when the distance sensor 26a cannot extract all the points corresponding to the shape of the wire mesh.

また、上記実施形態では、駐車スペース200が壁200b〜200dにより1台分の駐車領域で区画されるように構成したが、車両1の2台分の駐車領域で区画されるように構成しても良い。これは、車両1の2台分の駐車領域であれば、距離センサ26aにより壁までの距離を検出可能となるからである。この構成では、既に車両1が1台駐車されている場合には、その駐車済みの車両1を壁として算出することもできるので、自動運転により駐車する場合に、駐車済みの車両1に衝突するなどの弊害の発生も防止できる。   Moreover, in the said embodiment, although it comprised so that the parking space 200 might be divided by the parking area for 1 unit | set by the walls 200b-200d, it comprised so that it might be divided by the parking area for 2 units | sets of the vehicle 1 Also good. This is because the distance to the wall can be detected by the distance sensor 26a in the parking area for two vehicles 1. In this configuration, when one vehicle 1 is already parked, the parked vehicle 1 can also be calculated as a wall. Therefore, when parking by automatic driving, the vehicle 1 collides with the parked vehicle 1. It is possible to prevent the occurrence of harmful effects.

また、上記実施形態では、壁200b〜200dにより区画された駐車スペース200の形状を算出するものとしたが、両側に車両が駐車されている間の駐車スペースの形状を算出するように構成しても良い。この構成では、例えば、公共の駐車場のうち1の駐車スペースに自動運転により車両を駐車する場合にも応用可能になるので、自動運転による駐車機能を有効に利用できる。   In the above embodiment, the shape of the parking space 200 partitioned by the walls 200b to 200d is calculated. However, the shape of the parking space while the vehicle is parked on both sides is calculated. Also good. In this configuration, for example, since the vehicle can be applied to one parking space in a public parking lot by automatic driving, the parking function by automatic driving can be used effectively.

また、上記実施形態では、距離センサ26aを車両1の右前に取り付けるものとしたが、車両1の左前、右後または左後に取り付けても良いし、車両1の前側の左右2箇所や、車両1の後側左右2箇所、車両1の4隅の4箇所などに取り付けても良い。即ち、距離センサ26aの数や取り付け位置は如何なる数や場所であっても良い。   In the above embodiment, the distance sensor 26a is attached to the right front of the vehicle 1. However, the distance sensor 26a may be attached to the left front, the right rear, or the left rear of the vehicle 1. It may be attached to the rear left and right two places, the four corners of the vehicle 1 and the like. That is, the number and location of the distance sensors 26a may be any number and location.

また、上記実施形態では、車両1の認識位置201への移動を自動運転により行うものとしたが、運転者が駐車スペース200近傍まで運転して移動させるように構成しても良い。この構成では、車両1が認識位置201の許容範囲201a内に達したら、音声や映像で車両1を停車することを促すように構成しても良い。   Moreover, in the said embodiment, although the movement to the recognition position 201 of the vehicle 1 shall be performed by automatic driving | operation, you may comprise so that a driver | operator may drive and move to the parking space 200 vicinity. In this configuration, when the vehicle 1 reaches within the permissible range 201a of the recognition position 201, it may be configured to prompt the vehicle 1 to stop by voice or video.

また、上記実施形態では、駐車場200の駐車場データや、車両1が駐車可能な駐車スペース200の位置データなどを予めHDD96に記憶するものとしたが、駐車場の入り口で、外部装置から無線通信により受信し、RAM95に記憶するように構成しても良い。この構成では、予め必要なデータをHDD96に記憶する必要がなくなるので、HDD96の記憶領域を有効に利用できるし、他の駐車場での自動運転による駐車も簡単に行うことができる。   Further, in the above embodiment, the parking lot data of the parking lot 200, the position data of the parking space 200 where the vehicle 1 can be parked are stored in the HDD 96 in advance, but wirelessly from an external device at the entrance of the parking lot. You may comprise so that it may receive by communication and memorize | store in RAM95. In this configuration, since it is not necessary to store necessary data in the HDD 96 in advance, the storage area of the HDD 96 can be used effectively, and parking by automatic driving in another parking lot can be easily performed.

また、上記実施形態では、フィルタリング処理内で、長さフィルタをかけた後に傾きフィルタをかける処理順序としたが、傾きフィルタをかけた後に長さフィルタをかける処理順序としても良い。処理順序が異なったとしても、駐車スペース200内の人影や物などを距離センサ26aが検出した場合に生成される分割線分、ノイズ等の影響により生成される分割線分を除去できるので、駐車スペース200を区画する仮想的な分割線分が、実際の駐車スペース200の形状から極端に異なることを抑制でき、駐車スペース200の形状を正確に認識できる。また、長さフィルタ及び傾きフィルタのうち、一方のフィルタをかけるように構成しても良い。   In the above-described embodiment, the processing order in which the slope filter is applied after the length filter is applied in the filtering process is described, but the processing order in which the length filter is applied after the slope filter is applied may be adopted. Even if the processing order is different, it is possible to remove the dividing line segment generated when the distance sensor 26a detects a human figure or an object in the parking space 200, or the dividing line segment generated due to the influence of noise or the like. It can suppress that the virtual dividing line segment which divides the space 200 differs extremely from the shape of the actual parking space 200, and can recognize the shape of the parking space 200 correctly. Further, one of the length filter and the gradient filter may be applied.

また、上記実施形態では、車両1はバック駐車としたが、前駐車としても良く、駐車スペース204の位置や周辺環境に応じて、駐車方法は適宜変更可能に構成しても良い。   Moreover, in the said embodiment, although the vehicle 1 was back parking, it is good also as front parking and according to the position and surrounding environment of the parking space 204, you may comprise so that a parking method can be changed suitably.

1 車両
26 周辺環境監視装置(距離検出手段の一部)
26a 距離センサ(距離検出手段の一部)
100 制御装置
200 駐車スペース
200b〜200d 壁(対象物)
S104 点抽出手段
S105 生成手段の一部、点無効手段、分割手段
S107 生成手段の一部、位置算出手段
S201 線分抽出手段
S202 第2線分無効手段
S203 線分長算出手段、第1線分無効手段
1 Vehicle 26 Surrounding environment monitoring device (part of distance detection means)
26a Distance sensor (part of distance detection means)
100 Control device 200 Parking space 200b-200d Wall (object)
S104 Point extraction means S105 Part of generation means, point invalidation means, division means S107 Part of generation means, position calculation means S201 Line segment extraction means S202 Second line segment invalidation means S203 Line segment length calculation means, first line segment Invalid means

Claims (4)

所定の駐車スペース内に自動運転により移動可能な車両に搭載される制御装置において、
前記車両に取り付けられ、その車両を基準として、所定角度毎に放射状に延びる線上に位置する対象物までの距離を検出する距離検出手段と、
その距離検出手段により所定角度毎に検出される前記対象物までの距離を、座標系の点として抽出する点抽出手段と、
その点抽出手段により抽出される前記座標系の点に基づいて、前記駐車スペースを区画する仮想的な線分を生成する生成手段と、
前記点抽出手段により抽出される前記座標系の点に基づいて、前記駐車スペースに対して前記車両が位置すると推定される推定位置を算出する位置算出手段とを備えていることを特徴とする制御装置。
In a control device mounted on a vehicle that can be moved by automatic driving in a predetermined parking space,
A distance detection means for detecting a distance to an object located on a line extending radially every predetermined angle with the vehicle as a reference; and
Point extraction means for extracting the distance to the object detected at predetermined angles by the distance detection means as a point in the coordinate system;
Generating means for generating a virtual line segment that divides the parking space, based on the points of the coordinate system extracted by the point extracting means;
And a position calculating means for calculating an estimated position where the vehicle is estimated to be located with respect to the parking space based on the points of the coordinate system extracted by the point extracting means. apparatus.
前記生成手段は、
前記点抽出手段により抽出される第1の点を基準とした場合に、その第1の点の1つ前または1つ後に抽出された第2の点との点間距離を算出し、その算出された点間距離が所定値以上である場合に、前記第1及び第2の点の少なくとも一方を無効とする点無効手段を備え、
その点無効手段により無効とされた点以外の点を仮想的に結線することで、前記駐車スペースを区画する仮想的な線分を生成するものであることを特徴とする請求項1記載の制御装置。
The generating means includes
When the first point extracted by the point extraction means is used as a reference, a point-to-point distance with the second point extracted immediately before or after the first point is calculated, and the calculation is performed. A point invalidating means for invalidating at least one of the first and second points when the distance between the points is not less than a predetermined value;
2. The control according to claim 1, wherein a virtual line segment that divides the parking space is generated by virtually connecting points other than the points invalidated by the point invalidating means. apparatus.
前記生成手段により仮想的に結線して生成された線分を、ほぼ直線となる部分毎に分割して分割線分を生成する分割手段と、
その分割手段により分割された分割線分の端点のうち、前記車両との距離が最短になる点を有する分割線分を基準線分として抽出する線分抽出手段と、
その線分抽出手段により抽出される基準線分に対して一定角度以上の傾きを有する分割線分、及び、前記基準線分に直交する直交線分に対して一定角度以上の傾きを有する分割線分を無効とする第1線分無効手段とを備えていることを特徴とする請求項2記載の制御装置。
A dividing unit that divides a line segment that is virtually connected by the generating unit and generates a divided line segment for each portion that is substantially a straight line;
Of the end points of the dividing line segment divided by the dividing means, a line segment extracting means for extracting a dividing line segment having a point with the shortest distance from the vehicle as a reference line segment;
A dividing line segment having a certain angle or more with respect to the reference line segment extracted by the line segment extracting means, and a dividing line having a certain angle or more with respect to the orthogonal line segment orthogonal to the reference line segment 3. The control apparatus according to claim 2, further comprising first line segment invalidating means for invalidating the minutes.
前記生成手段により仮想的に結線して生成された分割線分を、ほぼ直線となる部分毎に分割して分割線分を生成する分割手段と、
その分割手段により分割された分割線分の長さを算出する線分長算出手段と、
その線分長算出手段により算出された分割線分の長さが一定長さ以下である場合に、その分割線分を無効とする第2線分無効手段とを備えていることを特徴とする請求項2又は3に記載の制御装置。
A dividing unit that generates a dividing line segment by dividing the dividing line segment that is virtually connected by the generating unit into portions that are substantially straight;
Line segment length calculating means for calculating the length of the divided line segments divided by the dividing means;
And a second line segment invalidating unit that invalidates the divided line segment when the length of the divided line segment calculated by the line segment length calculating unit is equal to or less than a predetermined length. The control device according to claim 2 or 3.
JP2009005216A 2009-01-13 2009-01-13 Control unit Pending JP2010164349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009005216A JP2010164349A (en) 2009-01-13 2009-01-13 Control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009005216A JP2010164349A (en) 2009-01-13 2009-01-13 Control unit

Publications (1)

Publication Number Publication Date
JP2010164349A true JP2010164349A (en) 2010-07-29

Family

ID=42580639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009005216A Pending JP2010164349A (en) 2009-01-13 2009-01-13 Control unit

Country Status (1)

Country Link
JP (1) JP2010164349A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014125810A1 (en) * 2013-02-15 2014-08-21 株式会社デンソー Obstruction detection device
KR20170038067A (en) * 2014-08-05 2017-04-05 발레오 샬터 운트 센소렌 게엠베아 Method for detecting at least one object in a surrounding region of a motor vehicle by means of an ultrasonic sensor, driver assistance system, and motor vehicle
CN107004350A (en) * 2014-10-27 2017-08-01 罗伯特·博世有限公司 Apparatus and method for running parking lot
WO2019181492A1 (en) * 2018-03-20 2019-09-26 日立オートモティブシステムズ株式会社 Vehicle control device and vehicle control system
CN111739043A (en) * 2020-04-13 2020-10-02 北京京东叁佰陆拾度电子商务有限公司 Parking space drawing method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03160349A (en) * 1989-11-20 1991-07-10 Tokimec Inc Device for detecting crack
JPH04216487A (en) * 1990-12-14 1992-08-06 Shigeo Hirose Position identification of moving robot
JPH08261756A (en) * 1994-11-10 1996-10-11 Toyota Central Res & Dev Lab Inc Running lane recognizing device
JP2002120742A (en) * 2000-10-12 2002-04-23 Mitsubishi Electric Corp Parking assist device
JP2002228734A (en) * 2001-02-05 2002-08-14 Nissan Motor Co Ltd Peripheral object confirming device
JP2002243857A (en) * 2001-02-14 2002-08-28 Nissan Motor Co Ltd Surrounding body recognizer
JP2003281553A (en) * 2002-03-19 2003-10-03 Fujitsu Ltd Segmented vector connecting program and method
JP2007015661A (en) * 2005-07-11 2007-01-25 Toyota Motor Corp Parking support device
JP2008087676A (en) * 2006-10-03 2008-04-17 National Institute Of Advanced Industrial & Technology Method of measuring relative angle and position with respect to index position of moving object, and parking support method and system using the same
JP2008309533A (en) * 2007-06-13 2008-12-25 Ihi Corp Method and apparatus for measuring vehicle shape

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03160349A (en) * 1989-11-20 1991-07-10 Tokimec Inc Device for detecting crack
JPH04216487A (en) * 1990-12-14 1992-08-06 Shigeo Hirose Position identification of moving robot
JPH08261756A (en) * 1994-11-10 1996-10-11 Toyota Central Res & Dev Lab Inc Running lane recognizing device
JP2002120742A (en) * 2000-10-12 2002-04-23 Mitsubishi Electric Corp Parking assist device
JP2002228734A (en) * 2001-02-05 2002-08-14 Nissan Motor Co Ltd Peripheral object confirming device
JP2002243857A (en) * 2001-02-14 2002-08-28 Nissan Motor Co Ltd Surrounding body recognizer
JP2003281553A (en) * 2002-03-19 2003-10-03 Fujitsu Ltd Segmented vector connecting program and method
JP2007015661A (en) * 2005-07-11 2007-01-25 Toyota Motor Corp Parking support device
JP2008087676A (en) * 2006-10-03 2008-04-17 National Institute Of Advanced Industrial & Technology Method of measuring relative angle and position with respect to index position of moving object, and parking support method and system using the same
JP2008309533A (en) * 2007-06-13 2008-12-25 Ihi Corp Method and apparatus for measuring vehicle shape

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014125810A1 (en) * 2013-02-15 2014-08-21 株式会社デンソー Obstruction detection device
JP2014157501A (en) * 2013-02-15 2014-08-28 Nippon Soken Inc Obstacle detection device
KR20170038067A (en) * 2014-08-05 2017-04-05 발레오 샬터 운트 센소렌 게엠베아 Method for detecting at least one object in a surrounding region of a motor vehicle by means of an ultrasonic sensor, driver assistance system, and motor vehicle
KR101954547B1 (en) * 2014-08-05 2019-03-05 발레오 샬터 운트 센소렌 게엠베아 Method for detecting at least one object in a surrounding region of a motor vehicle by means of an ultrasonic sensor, driver assistance system, and motor vehicle
CN107004350A (en) * 2014-10-27 2017-08-01 罗伯特·博世有限公司 Apparatus and method for running parking lot
WO2019181492A1 (en) * 2018-03-20 2019-09-26 日立オートモティブシステムズ株式会社 Vehicle control device and vehicle control system
JP2019164698A (en) * 2018-03-20 2019-09-26 日立オートモティブシステムズ株式会社 Vehicle control apparatus and vehicle control system
US11755019B2 (en) 2018-03-20 2023-09-12 Hitachi Astemo, Ltd. Vehicle control device and vehicle control system
CN111739043A (en) * 2020-04-13 2020-10-02 北京京东叁佰陆拾度电子商务有限公司 Parking space drawing method, device, equipment and storage medium
CN111739043B (en) * 2020-04-13 2023-08-08 北京京东叁佰陆拾度电子商务有限公司 Parking space drawing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP5169804B2 (en) Control device
JP2010151619A5 (en)
JP4687395B2 (en) Parking control device
US10789845B2 (en) Parking assistance method and parking assistance device
US20090178876A1 (en) Controlling apparatus and vehicle provided therewith
US20100053593A1 (en) Apparatus, systems, and methods for rotating a lidar device to map objects in an environment in three dimensions
JP7398196B2 (en) Parking support device and parking support method
JP5169670B2 (en) Parallel parking support device and parallel parking support method
JP5104171B2 (en) Parking assistance device and parking assistance method
CN102975716A (en) System and method for speed adaptive steering override detection during automated lane centering
JP2013220802A (en) Parking support device, parking support method and parking support program
CN1987357A (en) Intelligent parking auxiliary device based on omnibearing computer sight
JP2018195121A (en) Abnormality detection device
JP2010186257A (en) Parking support system, onboard parking support device, and marker with information
JP2019519413A (en) Direction detection and lane keeping system for autonomous vehicles based on deceleration curbs
JP2010164349A (en) Control unit
US11249476B2 (en) Steering holding determination device and autonomous driving system
JP2009211624A (en) Driving support device, driving support method, and computer program
JP6394474B2 (en) Automatic driving device
JP5429986B2 (en) Mobile robot remote environment recognition apparatus and method
JP2002228734A (en) Peripheral object confirming device
CN108680157A (en) A kind of planing method, device and the terminal in detection of obstacles region
JP5821276B2 (en) Detection device for position and traveling direction of moving body
JP6908211B1 (en) Action planning device and control arithmetic unit
JP2007030808A (en) Control unit and vehicle

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110324

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121023

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130312