WO2014057621A1 - Object detecting device - Google Patents

Object detecting device Download PDF

Info

Publication number
WO2014057621A1
WO2014057621A1 PCT/JP2013/005699 JP2013005699W WO2014057621A1 WO 2014057621 A1 WO2014057621 A1 WO 2014057621A1 JP 2013005699 W JP2013005699 W JP 2013005699W WO 2014057621 A1 WO2014057621 A1 WO 2014057621A1
Authority
WO
WIPO (PCT)
Prior art keywords
reflection point
point
reflection
history
distance
Prior art date
Application number
PCT/JP2013/005699
Other languages
French (fr)
Japanese (ja)
Inventor
啓子 秋山
大塚 秀樹
Original Assignee
株式会社デンソー
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 株式会社デンソー filed Critical 株式会社デンソー
Priority to CN201380051913.XA priority Critical patent/CN104704321B/en
Priority to DE112013004950.3T priority patent/DE112013004950T5/en
Publication of WO2014057621A1 publication Critical patent/WO2014057621A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C3/00Measuring distances in line of sight; Optical rangefinders
    • G01C3/02Details
    • G01C3/06Use of electric means to obtain final indication
    • G01C3/08Use of electric radiation detectors
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/06Systems determining position data of a target
    • G01S13/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/02Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems using reflection of acoustic waves
    • G01S15/06Systems determining the position data of a target
    • G01S15/08Systems for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • G01S15/93Sonar systems specially adapted for specific applications for anti-collision purposes
    • G01S15/931Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes
    • G01S17/931Lidar systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/165Anti-collision systems for passive traffic, e.g. including static obstacles, trees
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/16Anti-collision systems
    • G08G1/168Driving aids for parking, e.g. acoustic or visual feedback on parking space
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2013/9314Parking operations
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/88Radar or analogous systems specially adapted for specific applications
    • G01S13/93Radar or analogous systems specially adapted for specific applications for anti-collision purposes
    • G01S13/931Radar or analogous systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2013/9327Sensor installation details
    • G01S2013/93274Sensor installation details on the side of the vehicles
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • G01S15/93Sonar systems specially adapted for specific applications for anti-collision purposes
    • G01S15/931Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2015/932Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations
    • G01S2015/933Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations for measuring the dimensions of the parking space when driving past
    • G01S2015/935Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations for measuring the dimensions of the parking space when driving past for measuring the contour, e.g. a trajectory of measurement points, representing the boundary of the parking space
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S15/00Systems using the reflection or reradiation of acoustic waves, e.g. sonar systems
    • G01S15/88Sonar systems specially adapted for specific applications
    • G01S15/93Sonar systems specially adapted for specific applications for anti-collision purposes
    • G01S15/931Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles
    • G01S2015/932Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations
    • G01S2015/933Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations for measuring the dimensions of the parking space when driving past
    • G01S2015/936Sonar systems specially adapted for specific applications for anti-collision purposes of land vehicles for parking operations for measuring the dimensions of the parking space when driving past for measuring parking spaces extending transverse or diagonal to the driving direction, i.e. not parallel to the driving direction

Abstract

An object detecting device (1), wherein a reflection point estimator (S15) estimates a reflection point (4) on an object for a reflected wave using the history of the detection distance of an object and the history of the sensor position. A reflection point corrector (S19 to S22) corrects a low-precision reflection point (41) to a normal reflection point (42) near a corner of the object or a location corresponding to the direction in which the reflected wave arrives in a normal reflection point when an acute historical shape (40) is contained within an historical shape of the reflection point in the vicinity of a corner of the object.

Description

物体検知装置Object detection device 関連出願の相互参照Cross-reference of related applications
 本開示は、2012年10月9日に出願された日本出願番号2012-224606号に基づくもので、ここにその記載内容を援用する。 This disclosure is based on Japanese Patent Application No. 2012-224606 filed on October 9, 2012, the contents of which are incorporated herein by reference.
 本開示は、車両の側方に存在する物体を検知する物体検知装置に関する。 The present disclosure relates to an object detection device that detects an object existing on the side of a vehicle.
 従来、駐車空間を検知するために、車両の側方に存在する駐車車両などの物体を検知する物体検知装置が知られている(例えば特許文献1参照)。特許文献1の物体検知装置では、超音波センサ等の測距センサを用いて、車両が駐車車両(物体)の側方経路を移動しているときに物体までの距離を逐次検知する。また、車両の移動状態から距離検知をするときの測距センサの位置(センサ位置)を算出する。そして、センサ位置から車両の側方に検知距離だけ離れた点(測距点)の点列データ(履歴)と、センサ位置の履歴とに基づき、測距点の回転補正を行っている。別の言い方をすると、特許文献1の物体検知装置では、検知距離の履歴とセンサ位置の履歴とを用いて三角測量の原理により、反射波の到来方向を推定し、センサ位置からその到来方向に検知距離だけ離れた点(反射点)に測距点の補正を行っている。そして、反射点の点列データ(履歴)に基づき、駐車車両の輪郭やコーナーの位置を決定している。 Conventionally, in order to detect a parking space, an object detection device that detects an object such as a parked vehicle existing on the side of the vehicle is known (see, for example, Patent Document 1). In the object detection device of Patent Document 1, a distance sensor such as an ultrasonic sensor is used to sequentially detect the distance to an object when the vehicle is moving along a side path of the parked vehicle (object). Further, the position (sensor position) of the distance measuring sensor when the distance is detected from the moving state of the vehicle is calculated. Then, based on the point sequence data (history) of the point (ranging point) that is separated from the sensor position to the side of the vehicle by the detection distance, and the sensor position history, rotation correction of the ranging point is performed. In other words, in the object detection device of Patent Document 1, the arrival direction of the reflected wave is estimated by the principle of triangulation using the history of the detection distance and the history of the sensor position, and the direction from the sensor position to the arrival direction is estimated. A distance measuring point is corrected at a point (reflecting point) separated by a detection distance. And the outline of a parked vehicle and the position of a corner are determined based on the point sequence data (history) of a reflective point.
日本特開2008-21039号公報Japanese Unexamined Patent Publication No. 2008-21039
 本開示は、物体の面角度が急な場合や物体が角型の場合であっても、物体のコーナーを高精度に検知できる物体検知装置を提供することを目的とする。 This disclosure is intended to provide an object detection device capable of detecting a corner of an object with high accuracy even when the surface angle of the object is steep or when the object is square.
 本開示の一態様に係る物体検知装置は、距離検知部と、位置算出部と、反射点推定部と、形状判定部と、反射点補正部とを備える。前記距離検知部は、車両が移動しているときに前記車両の側方に存在する物体に探査波を逐次送信し、前記探査波が前記物体に当たって反射した反射波を受信して、受信した反射波に基づき前記物体までの距離を逐次検知する。前記位置算出部は、前記物体の距離検知をするときの前記距離検知部の位置であるセンサ位置を算出する。前記反射点推定部は、前記距離検知部が検知した距離である検知距離の履歴と前記センサ位置の履歴とを用いて、前記反射波の到来方向を推定し、前記センサ位置から前記到来方向に前記検知距離だけ離れた点である反射点を推定する。前記形状判定部は、前記物体のコーナー付近の前記反射点の履歴形状を判定する。前記反射点補正部は、前記履歴形状に、前記物体の面角度が急なときに発生する急履歴形状が含まれているときには、前記コーナー付近の前記急履歴形状に属さない前記反射点である正常反射点又はその正常反射点における前記到来方向に応じた位置に、前記急履歴形状に属する前記反射点である精度低反射点を補正する。 The object detection device according to an aspect of the present disclosure includes a distance detection unit, a position calculation unit, a reflection point estimation unit, a shape determination unit, and a reflection point correction unit. The distance detection unit sequentially transmits an exploration wave to an object present on the side of the vehicle when the vehicle is moving, receives a reflected wave reflected by the exploration wave against the object, and receives the reflected The distance to the object is sequentially detected based on the wave. The position calculation unit calculates a sensor position that is a position of the distance detection unit when the distance of the object is detected. The reflection point estimation unit estimates an arrival direction of the reflected wave using a detection distance history and a sensor position history which are distances detected by the distance detection unit, and moves from the sensor position to the arrival direction. A reflection point that is a point separated by the detection distance is estimated. The shape determination unit determines a history shape of the reflection point near a corner of the object. The reflection point correction unit is the reflection point that does not belong to the steep history shape near the corner when the history shape includes a steep history shape that occurs when the surface angle of the object is steep. The low-precision reflection point, which is the reflection point belonging to the steep history shape, is corrected at a position corresponding to the arrival direction at the normal reflection point or the normal reflection point.
 前記物体検知装置では、反射点の履歴形状に急履歴形状が含まれている場合には、その急履歴形状に属する反射点(精度低反射点)を補正する。正常反射点における反射波の到来方向は、精度低範囲における反射波の真の到来方向と類似する。反射点補正部は、正常反射点又はその正常反射点における反射波の到来方向に応じた位置に精度低反射点を補正するので、精度低反射点を真の反射点に近い位置に補正できる。ゆえに、物体の面角度が急な場合であっても、物体のコーナーの位置を高精度に検知できる。 In the object detection device, when the history shape of the reflection point includes a steep history shape, the reflection point (accuracy low reflection point) belonging to the steep history shape is corrected. The arrival direction of the reflected wave at the normal reflection point is similar to the true arrival direction of the reflected wave in the low accuracy range. Since the reflection point correction unit corrects the low accuracy reflection point at a position corresponding to the normal reflection point or the arrival direction of the reflected wave at the normal reflection point, the low accuracy reflection point can be corrected to a position close to the true reflection point. Therefore, even when the surface angle of the object is steep, the position of the corner of the object can be detected with high accuracy.
 本開示の別の態様に係る物体検知装置は、距離検知部と、位置算出部と、反射点推定部と、コーナー決定部と、形状判定部とを備える。前記距離検知部は、車両が移動しているときに前記車両の側方に存在する物体に探査波を逐次送信し、前記探査波が前記物体に当たって反射した反射波を逐次受信して、受信した反射波に基づき前記物体までの距離を逐次検知する。前記位置算出部は、前記物体の距離検知をするときの前記距離検知部の位置であるセンサ位置を算出する。前記反射点推定部は、前記距離検知部が検知した距離である検知距離の履歴と前記センサ位置の履歴とを用いて、記反射波の到来方向を推定し、前記センサ位置から前記到来方向に前記検知距離だけ離れた点である反射点を推定する。前記コーナー決定部は、前記反射点の履歴に基づき前記物体のコーナーを決定する。前記形状判定部は、前記物体の前記コーナー付近の履歴形状を判定する。前記コーナー決定部は、前記履歴形状が直線状の場合には、前記反射点の履歴に代えて、前記検知距離の履歴に基づき前記コーナーの位置を決定する。 An object detection device according to another aspect of the present disclosure includes a distance detection unit, a position calculation unit, a reflection point estimation unit, a corner determination unit, and a shape determination unit. The distance detection unit sequentially transmits an exploration wave to an object present on the side of the vehicle when the vehicle is moving, and sequentially receives and receives a reflected wave reflected by the exploration wave hitting the object. The distance to the object is sequentially detected based on the reflected wave. The position calculation unit calculates a sensor position that is a position of the distance detection unit when the distance of the object is detected. The reflection point estimation unit estimates the arrival direction of the reflected wave using the history of the detection distance that is the distance detected by the distance detection unit and the history of the sensor position, and moves from the sensor position to the arrival direction. A reflection point that is a point separated by the detection distance is estimated. The corner determination unit determines a corner of the object based on the history of the reflection points. The shape determination unit determines a history shape near the corner of the object. The corner determining unit determines the position of the corner based on the detection distance history instead of the reflection point history when the history shape is a straight line.
 前記物体検出装置によれば、その履歴形状が直線状の場合には、反射点の履歴に代えて、検知距離の履歴に基づきコーナーの位置を決定する。よって、角型の物体の場合に、反射点の履歴を用いたときに比べて、コーナーの検知精度を向上できる。なお、履歴形状が直線状とは、完全な直線だけを意味する趣旨ではなく、直線類似の形状も含む趣旨である。 According to the object detection apparatus, when the history shape is a straight line, the position of the corner is determined based on the history of the detection distance instead of the history of the reflection point. Therefore, in the case of a square object, the corner detection accuracy can be improved as compared with the case of using the reflection point history. In addition, the history shape is not intended to mean only a complete straight line, but also to include a shape similar to a straight line.
 本開示における上記あるいは他の目的、構成、利点は、下記の図面を参照しながら、以下の詳細説明から、より明白となる。図面において、
図1は、物体検知装置の概略構成を示したブロック図である。 図2は、駐車空間の検知場面の一例を示した図である。 図3は、第1~第5実施形態における駐車空間検知処理のフローチャートである。 図4は、反射波の到来方向及び反射点の算出方法を説明する図である。 図5は、図4の三角形を抜き出した図である。 図6は、第1実施形態における図3のS16の詳細のフローチャートである。 図7は、駐車車両までの距離を逐次検知している場面を示した図である。 図8は、図7のA部の拡大図であり、コーナー付近で反射点の履歴が折り返されることを説明する図である。 図9は、図7のB部の拡大図であり、コーナー付近で反射点の履歴が折り返されている様子を示した図である。 図10は、2台目の駐車車両のコーナー付近の検知場面を示した図である。 図11は、図10のC部の拡大図であり、コーナー付近で反射点の履歴が折り返されている様子を示した図である。 図12は、第1実施形態における図3のS19の詳細のフローチャートである。 図13は、第1実施形態における反射点の補正方法を説明する図である。 図14は、過剰補正した反射点を無効にする方法を説明する図である。 図15は、図3のS22の詳細のフローチャートである。 図16は、図7のB部の拡大図であり、反射点の補正不足のときに反射点を追加する方法を説明する図である。 図17は、図3のS23の詳細のフローチャートである。 図18は、測距点の履歴を近似する放物線を示した図である。 図19は、測距点の履歴を近似するスプライン曲線を示した図である。 図20は、図3のS18:Noに続くフローチャートである。 図21は、図7のB部の拡大図であり、図20の処理を説明する図である。 図22は、第2実施形態における図7のB部の拡大図であり、コーナー付近における反射点の履歴の様子を示した図である。 図23は、第2実施形態における図3のS16の詳細のフローチャートである。 図24は、探査波の入射角αと反射波の反射角βの関係を説明する図である。 図25は、第3実施形態における反射点の補正方法を説明する図である。 図26は、第3実施形態における図3のS20の詳細のフローチャートである。 図27は、第4実施形態における図3のS20の詳細のフローチャートである。 図28は、図7のB部の拡大図であり、第4実施形態における反射点の補正の様子を示した図である。 図29は、第5実施形態における図3のS20の詳細のフローチャートである。 図30は、図7のB部の拡大図であり、第5実施形態における反射点の補正の様子を示した図である。 図31は、コーナー付近が丸くなっている物体としての駐車車両の検知場面を示した図である。 図32は、コーナー付近が角型の物体としての角柱の検知場面を示した図である。 図33は、第6実施形態における駐車空間検知処理のフローチャートである。 図34は、車両の移動方向に対して斜めに傾いている角柱の検知場面を示した図である。 図35は、第7実施形態における駐車空間検知処理のフローチャートである。
The above and other objects, configurations, and advantages of the present disclosure will become more apparent from the following detailed description with reference to the following drawings. In the drawing
FIG. 1 is a block diagram showing a schematic configuration of the object detection apparatus. FIG. 2 is a diagram illustrating an example of a detection situation of a parking space. FIG. 3 is a flowchart of parking space detection processing in the first to fifth embodiments. FIG. 4 is a diagram for explaining a method of calculating the arrival direction of the reflected wave and the reflection point. FIG. 5 is a diagram in which the triangle of FIG. 4 is extracted. FIG. 6 is a detailed flowchart of S16 of FIG. 3 in the first embodiment. FIG. 7 is a diagram illustrating a scene where the distance to the parked vehicle is sequentially detected. FIG. 8 is an enlarged view of part A of FIG. 7 and is a diagram for explaining that the history of reflection points is folded around the corner. FIG. 9 is an enlarged view of a portion B in FIG. 7 and shows a state in which the history of reflection points is folded around the corner. FIG. 10 is a diagram showing a detection scene near the corner of the second parked vehicle. FIG. 11 is an enlarged view of a portion C in FIG. 10 and shows a state in which the history of reflection points is folded around the corner. FIG. 12 is a detailed flowchart of S19 of FIG. 3 in the first embodiment. FIG. 13 is a diagram for explaining a reflection point correction method according to the first embodiment. FIG. 14 is a diagram for explaining a method of invalidating an excessively corrected reflection point. FIG. 15 is a detailed flowchart of S22 of FIG. FIG. 16 is an enlarged view of a portion B in FIG. 7 and is a diagram illustrating a method of adding a reflection point when the correction of the reflection point is insufficient. FIG. 17 is a detailed flowchart of S23 of FIG. FIG. 18 is a diagram showing a parabola that approximates the history of distance measurement points. FIG. 19 is a diagram showing a spline curve that approximates the history of distance measurement points. FIG. 20 is a flowchart following S18: No in FIG. FIG. 21 is an enlarged view of part B of FIG. 7 and is a diagram for explaining the processing of FIG. FIG. 22 is an enlarged view of a portion B in FIG. 7 in the second embodiment, and shows a state of a history of reflection points near the corner. FIG. 23 is a detailed flowchart of S16 of FIG. 3 in the second embodiment. FIG. 24 is a diagram for explaining the relationship between the incident angle α of the exploration wave and the reflection angle β of the reflected wave. FIG. 25 is a diagram for explaining a reflection point correction method according to the third embodiment. FIG. 26 is a detailed flowchart of S20 of FIG. 3 in the third embodiment. FIG. 27 is a detailed flowchart of S20 of FIG. 3 in the fourth embodiment. FIG. 28 is an enlarged view of a portion B in FIG. 7 and shows a state of correction of the reflection point in the fourth embodiment. FIG. 29 is a detailed flowchart of S20 of FIG. 3 in the fifth embodiment. FIG. 30 is an enlarged view of a portion B in FIG. 7, and shows a state of correction of the reflection point in the fifth embodiment. FIG. 31 is a diagram showing a detection scene of a parked vehicle as an object having a round corner. FIG. 32 is a diagram showing a detection situation of a prism as a rectangular object near the corner. FIG. 33 is a flowchart of parking space detection processing in the sixth embodiment. FIG. 34 is a diagram illustrating a detection scene of a prism that is inclined obliquely with respect to the moving direction of the vehicle. FIG. 35 is a flowchart of parking space detection processing in the seventh embodiment.
 本開示の実施形態を説明する前に、本発明者らによる知見について説明する。三角測量の原理に基づく反射点の推定では、隣接するセンサ位置間で、測距センサからの探査波が物体の同一点で反射するとの仮定に基づいている。その仮定が大きくくずれてしまう状況では、推定した反射点の精度が低下する。このことを、駐車車両のコーナー付近を例に採って説明する。図7は、車両6が駐車車両7の側方経路100を方向P1に移動しているときに、測距センサ2で駐車車両7までの距離を逐次検知している場面を示している。なお、図7では、ある時点t1における車両6を符号「6a」、測距センサ2を符号「2a」、測距センサ2の検知範囲20を符号「20a」で図示し、次の時点t2における車両6を符号「6b」、測距センサ2を符号「2b」、測距センサ2の検知範囲20を符号「20b」で図示し、さらに次の時点t3における車両6を符号「6c」、測距センサ2を符号「2c」、測距センサ2の検知範囲20を符号「20c」で図示している。図8は、図7のA部の拡大図であり、駐車車両7のコーナー7a付近を示している。 Prior to describing the embodiments of the present disclosure, findings by the present inventors will be described. The estimation of the reflection point based on the principle of triangulation is based on the assumption that the exploration wave from the distance measuring sensor is reflected at the same point of the object between adjacent sensor positions. In a situation where the assumption is greatly deviated, the accuracy of the estimated reflection point decreases. This will be described by taking the vicinity of a corner of a parked vehicle as an example. FIG. 7 shows a scene in which the distance sensor 2 sequentially detects the distance to the parked vehicle 7 when the vehicle 6 is moving along the side path 100 of the parked vehicle 7 in the direction P1. In FIG. 7, the vehicle 6 at a certain time point t1 is indicated by reference numeral “6a”, the distance measurement sensor 2 is indicated by reference numeral “2a”, and the detection range 20 of the distance measurement sensor 2 is indicated by reference numeral “20a”. The vehicle 6 is indicated by reference numeral “6b”, the distance measuring sensor 2 is indicated by reference numeral “2b”, the detection range 20 of the distance measuring sensor 2 is indicated by reference numeral “20b”, and the vehicle 6 at the next time point t3 is indicated by reference numeral “6c”. The distance sensor 2 is indicated by reference numeral “2c”, and the detection range 20 of the distance measuring sensor 2 is indicated by reference numeral “20c”. FIG. 8 is an enlarged view of part A in FIG. 7 and shows the vicinity of the corner 7 a of the parked vehicle 7.
 図8に示すように、面角度が緩やかな時点t1における真の反射点3aと、時点t2における真の反射点3bとは近いので、上記仮定がほぼ成立する。そのため、時点t1、t2におけるセンサ位置2a、2bと検知距離La、Lbとから推定される反射点4aは、真の反射点3a、3bとほぼ一致する。なお、反射点4aは、センサ位置2aを中心、検知距離Laを半径とした円弧5aと、センサ位置2bを中心、検知距離Lbを半径とした円弧5bの交点である。これに対し、コーナー7aの面角度が急となる時点t2、t3では、測距センサ2の移動量d1に対して検知距離の変化量(Lc-Lb)が大きくなる。そのため、上記仮定がくずれてしまい、時点t2、t3におけるセンサ位置2b、2cと検知距離Lb、Lcとから推定される反射点4bは、真の反射点3cから大きく離れてしまう。なお、反射点4bは、センサ位置2bを中心、検知距離Lbを半径とした円弧5bと、センサ位置2cを中心、検知距離Lcを半径とした円弧5cの交点である。 As shown in FIG. 8, since the true reflection point 3a at the time point t1 where the surface angle is gentle and the true reflection point 3b at the time point t2 are close, the above assumption is almost satisfied. Therefore, the reflection point 4a estimated from the sensor positions 2a and 2b and the detection distances La and Lb at the time points t1 and t2 substantially coincides with the true reflection points 3a and 3b. The reflection point 4a is an intersection of an arc 5a having the sensor position 2a as the center and a detection distance La as the radius, and an arc 5b having the sensor position 2b as the center and the detection distance Lb as the radius. On the other hand, at the time points t2 and t3 when the surface angle of the corner 7a becomes steep, the change amount (Lc−Lb) of the detection distance becomes larger than the movement amount d1 of the distance measuring sensor 2. For this reason, the above assumption is broken, and the reflection point 4b estimated from the sensor positions 2b and 2c and the detection distances Lb and Lc at the time points t2 and t3 is far away from the true reflection point 3c. The reflection point 4b is an intersection of an arc 5b centered on the sensor position 2b and a radius of the detection distance Lb and an arc 5c centered on the sensor position 2c and the radius of the detection distance Lc.
 このように、駐車車両のコーナー付近のように、丸い形状で、物体の面角度が急な場合には、三角測量の原理が成立せず、推定した反射点の精度が低下する。反射点の精度が低下すると、コーナーの検知精度が低下する。 Thus, in the case of a round shape such as the vicinity of a corner of a parked vehicle and a steep surface angle of an object, the principle of triangulation is not established, and the accuracy of the estimated reflection point decreases. When the accuracy of the reflection point decreases, the corner detection accuracy decreases.
 一方、図32に示すように、角柱など、コーナー8aが丸くなっていない角型の物体8を検知する場合には、物体の左右側面82が測距センサ2側に向いていないので、測距センサ2から送信された探査波20が左右側面82に当たったとしてもその反射波は測距センサ2に返ってこない。そのため、検知距離の履歴範囲(測距点9の履歴範囲)は物体8の範囲(物体8の正面81の範囲)にほぼ一致する。この場合に、反射点に基づき物体8のコーナー8aの位置を検知すると、かえってコーナー8aの検知精度が低下する。検知距離には誤差があるので、誤差を有した検知距離に基づき推定された反射点は、真の反射点からずれた位置に検知されやすいためである。また、物体8の幅が小さい場合には、反射点を推定するのに必要な検知距離のデータ数が得られず、コーナー8aを検知できなくなるケースもあり得る。
(第1実施形態)
 以下、本開示に係る物体検知装置の第1実施形態を図面を参照しながら説明する。図1は、本実施形態の物体検知装置1の概略構成を示したブロック図である。物体検知装置1は、車両6(図2参照)に搭載されている。物体検知装置1は、測距センサ2と車速センサ12と操舵角センサ13とそれらと接続したECU11とを備えている。測距センサ2は、例えば車両6の側面(左側面、右側面)に車両6の側方に向けて取り付けられている。測距センサ2は、ECU11からの指示に基づき、測距センサ2の正面方向(車両6の側方)に、所定間隔おきに(例えば100ミリ秒おきに)超音波等の探査波を送信する。測距センサ2は、送信した探査波が車両の側方に存在する物体に当たって反射した反射波を受信する。測距センサ2は、探査波の送信タイミングと反射波の受信タイミングとに基づき、物体までの距離を算出する。測距センサ2で検知された検知情報(検知距離)はECU11に入力される。なお、検知距離の算出は、ECU11が行っても良い。測距センサ2は、探査波を送信しその探査波の反射波を受信するセンサであれば良く、音波を用いるものであっても、光波を用いるものであっても、電波を用いるものであっても良い。測距センサ2としては、例えば超音波センサ、レーザレーダ、ミリ波レーダ等のセンサを用いることができる。
On the other hand, as shown in FIG. 32, in the case of detecting a rectangular object 8 such as a prism, the corner 8a of which is not rounded, the right and left side surfaces 82 of the object are not directed to the distance measuring sensor 2 side. Even if the exploration wave 20 transmitted from the sensor 2 hits the left and right side surfaces 82, the reflected wave does not return to the distance measuring sensor 2. Therefore, the history range of the detection distance (the history range of the distance measuring point 9) substantially matches the range of the object 8 (the range of the front surface 81 of the object 8). In this case, if the position of the corner 8a of the object 8 is detected based on the reflection point, the detection accuracy of the corner 8a is lowered. This is because there is an error in the detection distance, and the reflection point estimated based on the detection distance having the error is easily detected at a position shifted from the true reflection point. In addition, when the width of the object 8 is small, there may be a case where the number of data of the detection distance necessary for estimating the reflection point cannot be obtained and the corner 8a cannot be detected.
(First embodiment)
Hereinafter, a first embodiment of an object detection device according to the present disclosure will be described with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of an object detection device 1 of the present embodiment. The object detection device 1 is mounted on a vehicle 6 (see FIG. 2). The object detection device 1 includes a distance measuring sensor 2, a vehicle speed sensor 12, a steering angle sensor 13, and an ECU 11 connected thereto. The distance measuring sensor 2 is attached to the side surface (left side surface, right side surface) of the vehicle 6 toward the side of the vehicle 6, for example. The distance measuring sensor 2 transmits an exploration wave such as an ultrasonic wave at predetermined intervals (for example, every 100 milliseconds) in the front direction of the distance measuring sensor 2 (side of the vehicle 6) based on an instruction from the ECU 11. . The distance measuring sensor 2 receives the reflected wave reflected by the transmitted exploration wave hitting an object existing on the side of the vehicle. The distance measuring sensor 2 calculates the distance to the object based on the transmission timing of the exploration wave and the reception timing of the reflected wave. Detection information (detection distance) detected by the distance measuring sensor 2 is input to the ECU 11. Note that the ECU 11 may calculate the detection distance. The distance measuring sensor 2 may be any sensor that transmits an exploration wave and receives a reflected wave of the exploration wave, and uses a radio wave regardless of whether it uses a sound wave or a light wave. May be. As the distance measuring sensor 2, for example, a sensor such as an ultrasonic sensor, a laser radar, or a millimeter wave radar can be used.
 図2には、測距センサ2による物体の検知範囲20(探査波の送信範囲)を図示している。検知範囲20の指向性φは例えば70度~120度程度となっている。また、測距センサ2が検知可能な最大検知距離(検知範囲20の先端と測距センサ2の間の距離)は例えば4m~10m程度となっている。検知範囲20の中心線(測距センサ2の正面方向)は、例えば車両6の車幅方向(左右方向)に略平行の向きとなっている。なお、その中心線は、車幅方向に対して例えば20度程度まで車両移動方向側に又はその逆側に傾いていても良い。 FIG. 2 illustrates an object detection range 20 (search wave transmission range) by the distance measuring sensor 2. The directivity φ of the detection range 20 is, for example, about 70 to 120 degrees. The maximum detection distance that can be detected by the distance measuring sensor 2 (the distance between the tip of the detection range 20 and the distance measuring sensor 2) is, for example, about 4 m to 10 m. The center line of the detection range 20 (the front direction of the distance measuring sensor 2) is, for example, substantially parallel to the vehicle width direction (left-right direction) of the vehicle 6. Note that the center line may be inclined to the vehicle movement direction side or the opposite side up to, for example, about 20 degrees with respect to the vehicle width direction.
 車速センサ12は車両6の車速を検知するセンサである。車速センサ12で検知された検知情報(車速)はECU11に入力される。操舵角センサ13は車両6のステアリングの操舵角を検知するセンサである。操舵角センサ13で検知された検知情報(操舵角)はECU11に入力される。 The vehicle speed sensor 12 is a sensor that detects the vehicle speed of the vehicle 6. Detection information (vehicle speed) detected by the vehicle speed sensor 12 is input to the ECU 11. The steering angle sensor 13 is a sensor that detects the steering angle of the steering of the vehicle 6. Detection information (steering angle) detected by the steering angle sensor 13 is input to the ECU 11.
 ECU11は、CPU、ROM、RAM等から構成されたマイコンを主体として構成され、測距センサ2、車速センサ12、操舵角センサ13から入力された各検知情報に基づき、車両6の駐車を支援する各種処理を実行する。具体的には、ECU11は、車両6の側方に存在する駐車車両等の物体の位置(例えばコーナーの位置)を検知し、検知した物体の位置に基づき駐車空間の有無を判定する駐車空間検知処理を実行する。また、ECU11は、駐車空間検知処理で検知した駐車空間に車両6を自動で駐車させる自動駐車処理を実行する。 The ECU 11 is composed mainly of a microcomputer composed of a CPU, a ROM, a RAM, and the like, and supports parking of the vehicle 6 based on each detection information input from the distance measuring sensor 2, the vehicle speed sensor 12, and the steering angle sensor 13. Perform various processes. Specifically, the ECU 11 detects the position of an object such as a parked vehicle that exists on the side of the vehicle 6 (for example, the position of a corner), and determines whether there is a parking space based on the detected position of the parking space. Execute the process. Moreover, ECU11 performs the automatic parking process which parks the vehicle 6 automatically in the parking space detected by the parking space detection process.
 先ず図2を参照して、ECU11が実行する駐車空間検知処理による駐車空間の検知方法の基本的な考え方を説明する。図2は、駐車空間の検知場面の一例を示した図である。詳細には、図2では、並列駐車した2台の駐車車両71、72(以下、駐車車両71、72を区別しないときには符号7を使用する)の側方経路100を車両6が移動しながら、それら駐車車両71、72間の駐車空間101を検知する場面を示している。なお、図2では、矢印P1の方向(図2の紙面下から上に向かう方向)に車両6が移動している。 First, with reference to FIG. 2, a basic concept of a parking space detection method by a parking space detection process executed by the ECU 11 will be described. FIG. 2 is a diagram illustrating an example of a detection situation of a parking space. Specifically, in FIG. 2, while the vehicle 6 moves along the side path 100 of two parked vehicles 71 and 72 parked in parallel (hereinafter, reference numeral 7 is used when the parked vehicles 71 and 72 are not distinguished), The scene which detects the parking space 101 between these parked vehicles 71 and 72 is shown. In FIG. 2, the vehicle 6 is moving in the direction of the arrow P <b> 1 (the direction from the bottom to the top in FIG. 2).
 ECU11は、駐車空間を検知しようとするときには、測距センサ2に指示をして、車両の側方に存在する物体(駐車車両71、72)までの距離を逐次検知させる。このとき、車両6が移動しているとすると、車両6(測距センサ2)の各位置に応じた検知距離の履歴が得られる。図2には、その検知距離の履歴を符号9(×の点)で図示している。詳細には、各検知距離9は、検知距離を検知したときの測距センサ2の位置(以下、センサ位置という)から、測距センサ2の正面方向(車両6の側方)に検知距離だけ離れた点(以下、測距点という)である。検知範囲20はある程度の広がりを持っているため、車両6が駐車車両7の正面位置に到達する前から測距センサ2による距離検知が開始され、車両6が駐車車両7を通過した後もしばらくの間は測距センサ2による距離検知が続く。つまり、図2に示すように、測距点9の履歴範囲は、駐車車両7の幅よりも広くなる。なお、駐車車両7の外側にプロットされている測距点900は、測距センサ2が駐車車両7から離れる分だけ、駐車車両7の面よりも奥行き方向にプロットされる。その結果、測距点9の履歴形状は略放物線状となる。 When the ECU 11 tries to detect the parking space, the ECU 11 instructs the distance measuring sensor 2 to sequentially detect the distances to the objects (parked vehicles 71 and 72) existing on the side of the vehicle. At this time, if the vehicle 6 is moving, a history of detection distances corresponding to each position of the vehicle 6 (ranging sensor 2) is obtained. In FIG. 2, the history of the detection distance is indicated by reference numeral 9 (dots). Specifically, each detection distance 9 is the detection distance only in the front direction of the distance measurement sensor 2 (side of the vehicle 6) from the position of the distance measurement sensor 2 (hereinafter referred to as the sensor position) when the detection distance is detected. It is a distant point (hereinafter referred to as a distance measuring point). Since the detection range 20 has a certain extent, the distance detection by the distance measuring sensor 2 is started before the vehicle 6 reaches the front position of the parked vehicle 7, and for a while after the vehicle 6 passes the parked vehicle 7. During this period, distance detection by the distance measuring sensor 2 continues. That is, as shown in FIG. 2, the history range of the distance measuring point 9 is wider than the width of the parked vehicle 7. The distance measuring points 900 plotted outside the parked vehicle 7 are plotted in the depth direction from the surface of the parked vehicle 7 by the distance the distance measurement sensor 2 is away from the parked vehicle 7. As a result, the history shape of the distance measuring point 9 is substantially parabolic.
 このように、測距点9の履歴範囲は駐車車両7の幅よりも広くなるので、測距点9の履歴に基づき駐車空間を検知しようとすると、実際の駐車空間101よりも狭い駐車空間が検知されてしまう。そこで、ECU11は、検知距離の履歴とセンサ位置の履歴とを用いて三角測量の原理により、反射波の駐車車両7での反射点を推定している。なお、反射点の推定方法の詳細は後述する。図2には、推定した反射点4(黒丸の点)の履歴を図示している。反射点4は、駐車車両7の面に略一致した位置にプロットされる。よって、例えば1台目の駐車車両71における端の反射点410と、2台目の駐車車両72における端の反射点420の間の空間を駐車空間として検知できる。これにより、実際の駐車空間101と同等の幅の駐車空間を検知できる。以上が、駐車空間の検知方法の基本的な考え方である。 Thus, since the history range of the distance measuring point 9 is wider than the width of the parked vehicle 7, when attempting to detect the parking space based on the history of the distance measuring point 9, a parking space narrower than the actual parking space 101 is obtained. It will be detected. Therefore, the ECU 11 estimates the reflection point of the reflected wave on the parked vehicle 7 based on the principle of triangulation using the history of the detection distance and the history of the sensor position. The details of the reflection point estimation method will be described later. FIG. 2 shows the history of the estimated reflection point 4 (black dot). The reflection point 4 is plotted at a position substantially coinciding with the surface of the parked vehicle 7. Therefore, for example, a space between the reflection point 410 at the end of the first parked vehicle 71 and the reflection point 420 at the end of the second parked vehicle 72 can be detected as a parking space. Thereby, the parking space of the width | variety equivalent to the actual parking space 101 is detectable. The above is the basic concept of the parking space detection method.
 ところが、上記で述べたように、駐車車両のコーナー付近では、駐車車両の面角度が大きくなるので、三角測量の原理の適用範囲外となる場合がある。つまり、図8に示すように、面角度が大きい反射面からの反射波(検知距離)に基づき推定された反射点4bは、真の反射点3から大きく離れてしまう。詳細には、反射点4bは、真の反射点3の履歴方向P2に対して逆向きの方向P3に検知される。図8の例では、履歴方向P2が図8の紙面方向で左斜め上方向となっており、反射点4aから反射点4bの方向P3は、図8の紙面方向で右斜め下方向となっている。図9は、図7のB部の拡大図であり、駐車車両7のコーナー71a付近における反射点4の履歴の様子を示している。図9に示すように、コーナー71a付近では、反射点4の履歴方向は、矢印P4のようになる。つまり、反射点4の履歴には、駐車車両7と略一致した位置に検知される反射点42の端点421から、車両6の移動方向P1(図7参照)に対して逆向きで、かつ側方経路100(図7参照)側に折り返された範囲40(以下、精度低範囲という)が存在する。この精度低範囲40を含む反射点4の履歴を用いると、例えば端点421を駐車車両7のコーナーと検知してしまう。この場合、検知された駐車車両の幅(コーナー間の幅)は、実際の駐車車両7よりも狭くなる。そこで、ECU11は、精度低範囲40における反射点41(以下、精度低反射点という)を補正している。 However, as described above, in the vicinity of the corner of the parked vehicle, the plane angle of the parked vehicle becomes large, which may fall outside the scope of the triangulation principle. That is, as shown in FIG. 8, the reflection point 4 b estimated based on the reflected wave (detection distance) from the reflection surface having a large surface angle is greatly separated from the true reflection point 3. Specifically, the reflection point 4b is detected in a direction P3 opposite to the history direction P2 of the true reflection point 3. In the example of FIG. 8, the history direction P2 is an upper left diagonal direction in the paper surface direction of FIG. 8, and the direction P3 from the reflection point 4a to the reflection point 4b is an oblique lower right direction in the paper surface direction of FIG. Yes. FIG. 9 is an enlarged view of a portion B in FIG. 7 and shows a history of the reflection point 4 in the vicinity of the corner 71 a of the parked vehicle 7. As shown in FIG. 9, in the vicinity of the corner 71a, the history direction of the reflection point 4 is as indicated by an arrow P4. That is, the history of the reflection point 4 includes the opposite direction to the moving direction P1 of the vehicle 6 (see FIG. 7) from the end point 421 of the reflection point 42 detected at a position substantially coincident with the parked vehicle 7 and on the side. There is a range 40 (hereinafter referred to as a low accuracy range) that is folded back toward the direction path 100 (see FIG. 7). If the history of the reflection point 4 including the low accuracy range 40 is used, for example, the end point 421 is detected as a corner of the parked vehicle 7. In this case, the width of the detected parked vehicle (the width between corners) is narrower than the actual parked vehicle 7. Therefore, the ECU 11 corrects the reflection point 41 in the low accuracy range 40 (hereinafter referred to as the low accuracy reflection point).
 以下、精度低反射点を補正するときの処理を含む、ECU11が実行する駐車空間検知処理の詳細を説明する。図3は、駐車空間検知処理のフローチャートを示している。図3の処理は、例えば駐車空間の検知を指示するスイッチ(図示外)が車両6の乗員に操作されたときに開始される。なお、図3の処理を実行する間、ECU11は、測距センサ2に指示をして、車両6の側方に存在する物体(駐車車両7)までの距離を逐次検知させている。図3の処理を開始すると、先ず、以降の処理で使用する各種パラメータを初期化する(S11)。具体的には、測距センサ2が距離検知を行うときの時間t(n)をゼロに設定する(S11)。また、測距センサ2が距離検知を試みた回数(計測カウント)nを1に設定する(S11)。また、1台目の駐車車両71(図2参照)の検知を開始したときの計測カウントCar1Start(以下、1台目開始点という)をゼロに設定する(S11)。また、1台目の駐車車両71の検知が終了したときの計測カウントCar1End(以下、1台目終了点という)をゼロに設定する(S11)。また、2台目の駐車車両72(図2参照)の検知を開始したときの計測カウントCar2Start(以下、2台目開始点という)をゼロに設定する(S11)。また、2台目の駐車車両72の検知が終了したとときの計測カウントCar2End(以下、2台目終了点という)をゼロに設定する(S11)。なお、ECU11は、各計測カウントnでの時間t(n)(t(1)を基準とした時間)を計測している。 Hereinafter, the details of the parking space detection process executed by the ECU 11 will be described, including the process for correcting the low accuracy reflection point. FIG. 3 shows a flowchart of the parking space detection process. The processing in FIG. 3 is started when a switch (not shown) for instructing detection of the parking space is operated by a passenger of the vehicle 6, for example. During execution of the processing of FIG. 3, the ECU 11 instructs the distance measuring sensor 2 to sequentially detect the distance to the object (parked vehicle 7) that exists on the side of the vehicle 6. When the processing of FIG. 3 is started, first, various parameters used in the subsequent processing are initialized (S11). Specifically, the time t (n) when the distance measuring sensor 2 performs distance detection is set to zero (S11). In addition, the number of times the distance measurement sensor 2 tries to detect the distance (measurement count) n is set to 1 (S11). Further, the measurement count Car1Start (hereinafter referred to as the first vehicle start point) when the detection of the first parked vehicle 71 (see FIG. 2) is started is set to zero (S11). Further, the measurement count Car1End (hereinafter referred to as the first vehicle end point) when the detection of the first parked vehicle 71 is completed is set to zero (S11). Further, the measurement count Car2Start (hereinafter referred to as the second vehicle start point) when the detection of the second vehicle 72 (see FIG. 2) is started is set to zero (S11). Further, the measurement count Car2End (hereinafter referred to as the second vehicle end point) when the detection of the second parked vehicle 72 is completed is set to zero (S11). The ECU 11 measures time t (n) (time based on t (1)) at each measurement count n.
 次に、各計測カウントnでの検知距離L(n)を測距センサ2から取得する(S12)。なお、ECU11自身が検知距離Lを算出する構成の場合には、S12では、測距センサ2から反射波の受信タイミングを取得して、送信タイミングと受信タイミングとに基づき検知距離L(n)を算出する。なお、測距センサ2の検知範囲20(図2参照)に物体が存在しない場合、つまり非検知の場合には検知距離L(n)=0とする。次に、各計測カウントnでのセンサ位置Attdを算出する(S13)。具体的には、図2に示すように、図3の処理を開始した時点における測距センサ2の位置を原点O、その時点の車両6の移動方向をX軸、そのX軸に垂直な方向をY軸とした座標系を設定する。その座標系での座標(AttdX(n)、AttdY(n))としてセンサ位置Attdを算出する。このとき、車速センサ12から入力された車速と時間t(n)とから、前回(計測カウントn-1)のセンサ位置Attdからの車両6(測距センサ2)の移動距離を算出できる。操舵角センサ13から入力された操舵角から、前回のセンサ位置Attdからの車両6(測距センサ2)の移動方向を算出できる。それら移動距離、移動方向から今回のセンサ位置Attdを算出する。なお、S12で取得した検知距離L(n)はセンサ位置Attd(AttdX(n)、AttdY(n))に対応付けてRAM等のワークメモリに記憶しておく。 Next, the detection distance L (n) at each measurement count n is acquired from the distance measurement sensor 2 (S12). When the ECU 11 itself is configured to calculate the detection distance L, in S12, the reception timing of the reflected wave is acquired from the distance measurement sensor 2, and the detection distance L (n) is calculated based on the transmission timing and the reception timing. calculate. When no object is present in the detection range 20 (see FIG. 2) of the distance measuring sensor 2, that is, in the case of non-detection, the detection distance L (n) = 0. Next, the sensor position Attd at each measurement count n is calculated (S13). Specifically, as shown in FIG. 2, the position of the distance measuring sensor 2 at the time of starting the processing of FIG. 3 is the origin O, the moving direction of the vehicle 6 at that time is the X axis, and the direction perpendicular to the X axis Set the coordinate system with Y as the Y axis. The sensor position Attd is calculated as coordinates (AttdX (n), AttdY (n)) in the coordinate system. At this time, the moving distance of the vehicle 6 (ranging sensor 2) from the previous sensor position Attd (measurement count n-1) can be calculated from the vehicle speed input from the vehicle speed sensor 12 and the time t (n). From the steering angle input from the steering angle sensor 13, the moving direction of the vehicle 6 (ranging sensor 2) from the previous sensor position Attd can be calculated. The current sensor position Attd is calculated from the moving distance and moving direction. The detected distance L (n) acquired in S12 is stored in a work memory such as a RAM in association with the sensor position Attd (AttdX (n), AttdY (n)).
 これによって、図2に示すように、車両6が移動するにしたがって、測距点9の履歴(検知距離の履歴)を、設定した座標系にプロットすることができる。次に、検知距離(測距点9)の履歴に基づき、1台目の駐車車両71の範囲と2台目の駐車車両72の範囲とを抽出する(S14)。具体的には、駐車車両71の範囲として、1台目開始点Car1Startと1台目終了点Car1Endとを特定する。例えば、検知距離の履歴において、検知距離の値が急激に変化したときにおける計測カウントを、1台目開始点Car1Start、1台目終了点Car1Endとする。図2の例では、測距点91における計測カウントを1台目開始点Car1Startとする。また、測距点92における計測カウントを1台目終了点Car1Endとする。 Thus, as shown in FIG. 2, as the vehicle 6 moves, the history of the distance measuring point 9 (history of the detected distance) can be plotted in the set coordinate system. Next, based on the history of the detection distance (ranging point 9), the range of the first parked vehicle 71 and the range of the second parked vehicle 72 are extracted (S14). Specifically, the first vehicle start point Car1Start and the first vehicle end point Car1End are specified as the range of the parked vehicle 71. For example, in the history of the detection distance, the measurement count when the value of the detection distance changes abruptly is set as the first vehicle start point Car1Start and the first vehicle end point Car1End. In the example of FIG. 2, the measurement count at the distance measuring point 91 is the first vehicle start point Car1Start. Further, the measurement count at the distance measuring point 92 is defined as the first vehicle end point Car1End.
 同様に、駐車車両72の範囲として、2台目開始点Car2Startと2台目終了点Car2Endとを特定する。図2の例では、測距点93における計測カウントを2台目開始点Car2Startとする。なお、図2の例では、車両6は2台目の駐車車両72を未だ通過していないので、2台目終了点Car2Endは現在の計測カウントnとなる。なお、2台目の駐車車両72の距離検知がまだ開始されていないときには(車両6が駐車車両72の位置に未だ到達していないとき)、S14では、1台目の駐車車両71の範囲のみが抽出されることになる。この場合には、Car2Start=0、Car2End=0のままとなる。 Similarly, the second vehicle start point Car2Start and the second vehicle end point Car2End are specified as the range of the parked vehicle 72. In the example of FIG. 2, the measurement count at the distance measuring point 93 is a second start point Car2Start. In the example of FIG. 2, since the vehicle 6 has not yet passed the second parked vehicle 72, the second vehicle end point Car2End is the current measurement count n. When the distance detection of the second parked vehicle 72 has not yet started (when the vehicle 6 has not yet reached the position of the parked vehicle 72), only the range of the first parked vehicle 71 is displayed in S14. Will be extracted. In this case, Car2Start = 0 and Car2End = 0 are maintained.
 次に、ワークメモリに蓄積されている検知距離L(n)の履歴とセンサ位置Attdの履歴とを用いて、三角測量の原理により、計測カウントnでの反射波の到来方向RfltDirection(n)を算出する(S15)。そして、センサ位置Attdから到来方向RfltDirection(n)に検知距離L(n)だけ離れた点を反射点Rfltとして算出する(S15)。この反射点Rfltは、図2の座標系の座標(RfltX(n)、RfltY(n))として算出する。 Next, by using the history of the detection distance L (n) and the history of the sensor position Attd stored in the work memory, the arrival direction RflDirection (n) of the reflected wave at the measurement count n is calculated according to the principle of triangulation. Calculate (S15). Then, a point away from the sensor position Attd by the detection distance L (n) in the arrival direction RflDirection (n) is calculated as the reflection point Rflt (S15). This reflection point Rflt is calculated as coordinates (RfltX (n), RfltY (n)) in the coordinate system of FIG.
 ここで、図4は、到来方向RfltDirection(n)及び反射点Rflt(n)の算出方法を説明する図である。詳細には、図4は、計測カウントnにおける車両6の位置6b(実線で図示)と、1つ前の計測カウントn―1における車両6の位置6a(破線で図示)と、駐車車両7とを上から見た図を示している。図4に示すように、計測カウントnにおけるセンサ位置Attd(n)及び検知距離L(n)と、計測カウントn-1におけるセンサ位置Attd(n-1)及び検知距離L(n-1)とで構成される三角形53を考える。図5はその三角形53だけを抜き出した図を示している。センサ位置Attd(n)、Attd(n-1)の座標成分に基づいて、それら位置間の辺531のベクトル成分(AttdBktX、AttdBktY)とそのベクトルの絶対値AttdBktとを算出する。また、辺531と検知距離L(n)の辺532との角度をθ(n)とすると、角度θ(n)を次の式1で算出する。この角度θ(n)が、反射波の到来方向RfltDirection(n)に相当する。 Here, FIG. 4 is a diagram for explaining a method of calculating the arrival direction RfltDirection (n) and the reflection point Rflt (n). Specifically, FIG. 4 shows a position 6b of the vehicle 6 at the measurement count n (shown by a solid line), a position 6a of the vehicle 6 at the previous measurement count n-1 (shown by a broken line), a parked vehicle 7, The figure which looked at from the top is shown. As shown in FIG. 4, the sensor position Attd (n) and the detection distance L (n) at the measurement count n, and the sensor position Attd (n−1) and the detection distance L (n−1) at the measurement count n−1. Consider a triangle 53 consisting of FIG. 5 shows a diagram in which only the triangle 53 is extracted. Based on the coordinate components of the sensor positions Attd (n) and Attd (n−1), the vector components (AttdBktX, AttBktY) of the side 531 between these positions and the absolute value AttDBkt of the vector are calculated. Further, assuming that the angle between the side 531 and the side 532 of the detection distance L (n) is θ (n), the angle θ (n) is calculated by the following equation 1. This angle θ (n) corresponds to the arrival direction RflDirection (n) of the reflected wave.
Figure JPOXMLDOC01-appb-M000001
 そして、角度θ(n)、上記のベクトル成分(AttdBktX、AttdBktY)、絶対値AttdBktを以下の式2~式6に代入して、三角形53の頂点の座標、つまり反射点4のX座標RfltX(n)(式5)及びY座標RfltY(n)(式6)を算出する。
Figure JPOXMLDOC01-appb-M000001
Then, the angle θ (n), the above vector components (AttdBktX, AttdBktY), and the absolute value AttDBkt are substituted into the following formulas 2 to 6, and the coordinates of the vertex of the triangle 53, that is, the X coordinate RfltX ( n) (Expression 5) and Y coordinate RfltY (n) (Expression 6) are calculated.
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000003
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000004
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000006
 これによって、図2に示すように、車両6が移動するにしたがって、駐車車両7の面に略一致した位置に反射点4の履歴をプロットすることができる。次に、反射点4の履歴から、反射点4の履歴が折り返される精度低範囲40(図9参照)を抽出する(S16)。ここで、図6は、S16の詳細のフローチャートを示している。図6の処理に移行すると、先ず、1台目の駐車車両71における精度低範囲と2台目の駐車車両72における精度低範囲のどちらを抽出するのかを判断する(S101)。具体的には、例えば2台目開始点Car2Start=0か否か、つまり、2台目の駐車車両72の距離検知が未だ開始されていないか否かを判断する(S101)。2台目開始点Car2Start=0の場合には(S101:Yes)、1台目の駐車車両71における精度低範囲を抽出するとして、S102に移行する。
Figure JPOXMLDOC01-appb-M000006
As a result, as shown in FIG. 2, the history of the reflection point 4 can be plotted at a position substantially coincident with the surface of the parked vehicle 7 as the vehicle 6 moves. Next, the low accuracy range 40 (see FIG. 9) in which the history of the reflection point 4 is folded is extracted from the history of the reflection point 4 (S16). Here, FIG. 6 shows a detailed flowchart of S16. If it transfers to the process of FIG. 6, it will be judged first whether either the low accuracy range in the 1st parked vehicle 71 or the low accuracy range in the 2nd parked vehicle 72 is extracted (S101). Specifically, for example, it is determined whether the second vehicle start point Car2Start = 0, that is, whether the distance detection of the second parked vehicle 72 has not yet started (S101). When the second vehicle start point Car2Start = 0 (S101: Yes), the low accuracy range of the first vehicle 71 is extracted, and the process proceeds to S102.
 S102では、1台目終了点Car1Endでの反射点のX座標RfltX(Car1End)が、1つ前の計測カウント(Car1End-1)での反射点のX座標RfltX(Car1End-1)よりも小さくなっているか否かを判断する(S102)。図9に示すように、精度低範囲40が存在している場合に、S102では、その精度低範囲40の先端に位置する反射点411のX座標と、その1つ前の反射点413のX座標とを比較している。なお、図9には、図2のX軸と同様のX軸を図示している。RfltX(Car1End)のほうがRfltX(Car1End-1)よりも大きい場合には(S102:No)、精度低範囲は存在しないと判断する(S108)。この場合には、車両6が駐車車両71のコーナー71a(図9参照)付近に未だ到達していないか、到達しているがコーナー71aの面角度が緩やかとなっているために、反射点4の履歴方向が車両6の移動方向P1と同じとなっている状況が想定される。S108の後、図6のフローチャートの処理を終了する。 In S102, the X coordinate RfltX (Car1End) of the reflection point at the first end point Car1End is smaller than the X coordinate RfltX (Car1End-1) of the reflection point at the previous measurement count (Car1End-1). It is determined whether or not (S102). As shown in FIG. 9, when the low accuracy range 40 exists, in S102, the X coordinate of the reflection point 411 located at the tip of the low accuracy range 40 and the X of the previous reflection point 413 are shown. The coordinates are compared. FIG. 9 shows an X axis similar to the X axis in FIG. If RfltX (Car1End) is larger than RfltX (Car1End-1) (S102: No), it is determined that there is no low accuracy range (S108). In this case, since the vehicle 6 has not yet reached the vicinity of the corner 71a (see FIG. 9) of the parked vehicle 71 or has reached, but the surface angle of the corner 71a is gentle, the reflection point 4 Is assumed to be the same as the moving direction P1 of the vehicle 6. After S108, the process of the flowchart of FIG.
 S102において、RfltX(Car1End)がRfltX(Car1End-1)よりも小さい場合には(S102:Yes)、精度低範囲が存在するとして、S103に移行する。S103では、着目する計測カウントの値jを1台目終了点Car1Endに設定する(S103)。次に、計測カウントjでの反射点のX座標RfltX(j)と、1つ前の計測カウントj-1での反射点のX座標RfltX(j-1)とを比較する(S104)。RfltX(j-1)のほうがRfltX(j)よりも大きい場合には(S104:No)、S105に移行して、計測カウントjが、1台目開始点Car1Startに達したか否かを判断する。計測カウントjが1台目開始点Car1Startに未だ達していない場合には(S105:No)、S106に移行して、計測カウントjの値を1つ前の値に設定する(j=j-1)。その後、S104に戻って、新たに着目する計測カウントjでの反射点のX座標RfltX(j)と、1つ前の計測カウントj-1での反射点のX座標RfltX(j-1)とを比較する。 In S102, when RfltX (Car1End) is smaller than RfltX (Car1End-1) (S102: Yes), it is determined that a low accuracy range exists, and the process proceeds to S103. In S103, the target measurement count value j is set to the first vehicle end point Car1End (S103). Next, the X coordinate RfltX (j) of the reflection point at the measurement count j is compared with the X coordinate RfltX (j−1) of the reflection point at the previous measurement count j−1 (S104). When RfltX (j−1) is larger than RfltX (j) (S104: No), the process proceeds to S105, and it is determined whether or not the measurement count j has reached the first start point Car1Start. . If the measurement count j has not yet reached the first start point Car1Start (S105: No), the process proceeds to S106, and the value of the measurement count j is set to the previous value (j = j−1). ). After that, returning to S104, the X coordinate RfltX (j) of the reflection point at the measurement count j to be newly focused, and the X coordinate RfltX (j−1) of the reflection point at the previous measurement count j−1 Compare
 このように、S104、S105、S106の処理によって、図9の反射点411から履歴方向P4と逆向きに、順番に隣り合う2つの反射点4に着目し、それら2つの反射点4のX座標の大小比較が行われる。S104において、RfltX(j)がRfltX(j-1)より大きい場合には(S104:Yes)、S107に移行する。S107では、精度低範囲の開始点に対応する計測カウントAreaStart(以下、範囲開始点という)を計測カウントj+1に設定する。また、精度低範囲の終了点に対応する計測カウントAreaEnd(以下、範囲終了点という)を1台目終了点Car1Endに設定する(S107)。また、精度低範囲の端の反射点(範囲開始点の反射点)に隣接する反射点の計測カウントCorrectEdge(以下、端点という)を計測カウントjに設定する(S107)。つまり、S107では、計測カウントがj+1からCar1Endまでの範囲を精度低範囲として抽出する。図9の例では、丁度折り返し点に位置する反射点421の隣りの反射点412から反射点411までの範囲が精度低範囲40として抽出されることになる。また、反射点421が端点として抽出される。以下では、精度低範囲40に含まれない反射点4を正常反射点という場合もあり、その正常反射点を符号42で示す。S107の後、図6のフローチャートの処理を終了する。 In this way, by the processing of S104, S105, and S106, paying attention to two reflection points 4 that are adjacent in order from the reflection point 411 in FIG. 9 in the opposite direction to the history direction P4, the X coordinates of these two reflection points 4 A size comparison is performed. In S104, if RfltX (j) is larger than RfltX (j-1) (S104: Yes), the process proceeds to S107. In S107, a measurement count AreaStart (hereinafter referred to as a range start point) corresponding to the start point of the low accuracy range is set to the measurement count j + 1. Further, a measurement count AreaEnd (hereinafter referred to as a range end point) corresponding to the end point of the low accuracy range is set to the first end point Car1End (S107). Also, a measurement count CorrectEdge (hereinafter referred to as an end point) of a reflection point adjacent to the reflection point at the end of the low accuracy range (reflection point at the range start point) is set as the measurement count j (S107). That is, in S107, the range from the measurement count j + 1 to Car1End is extracted as the low accuracy range. In the example of FIG. 9, the range from the reflection point 412 adjacent to the reflection point 421 positioned just at the turning point to the reflection point 411 is extracted as the low accuracy range 40. Further, the reflection point 421 is extracted as an end point. Hereinafter, the reflection point 4 that is not included in the low accuracy range 40 may be referred to as a normal reflection point, and the normal reflection point is denoted by reference numeral 42. After S107, the process of the flowchart of FIG.
 S105において、計測カウントjが、1台目開始点Car1Startに達した場合には(S105:Yes)、S108に移行する。この場合には、反射点の履歴方向が車両6の移動方向と逆向きになっているものの、折り返し点が見つからない状況となっている。この状況は想定外の状況であるため、精度低範囲は存在しないと判断する(S108)。その後、図6のフローチャートの処理を終了する。 In S105, when the measurement count j reaches the first start point Car1Start (S105: Yes), the process proceeds to S108. In this case, although the history direction of the reflection point is opposite to the moving direction of the vehicle 6, the turning point is not found. Since this situation is an unexpected situation, it is determined that there is no low accuracy range (S108). Thereafter, the process of the flowchart of FIG.
 一方、S101において、2台目開始点Car2Start≠0の場合(S101:No)、つまり、2台目の駐車車両72の検知が既に開始されている場合には、駐車車両72における精度低範囲を抽出するとして、S109に移行する。なお、1台目の駐車車両71も2台目の駐車車両72も、(1)精度低範囲→(2)正常反射点→(3)精度低範囲の順に検知される。そして、1台目の駐車車両71に対する図6の処理では、(3)の精度低範囲付近を(3)から(2)に逆行しながら(図9の履歴方向P4に逆行しながら)精度低範囲の探索を行っている。(3)の付近は、1台目の駐車車両71の側方経路100側の2つのコーナーのうち、車両6が通過する2つ目のコーナー(奥側コーナー)付近に対応する。一方、2台目の駐車車両72に対する図6の処理では、(1)の精度低範囲付近を(1)から(2)に順行しながら精度低範囲の探索を行う。(1)の付近は、2台目の駐車車両72の側方経路100側の2つのコーナーのうち、車両6が通過する1つ目のコーナー(手前側コーナー)付近に対応する。ここで、図10、図11は、2台目の駐車車両72における反射点の履歴方向を説明する図である。詳細には、図10は、図7と同様の図であり、車両6が2台目の駐車車両72のコーナー72a(1台目の駐車車両71側にあるコーナー、駐車空間101に隣接するコーナー)付近の反射点の検知を行っている場面を示している。図11は、図10のC部の拡大図であり、コーナー72a付近(上記(1)→(2)付近)の反射点4の様子を示している。なお、図10では、車両6は、図10の紙面右側から左側の方向P1に移動している。図11にはその方向P1及びX軸を図示している。 On the other hand, in S101, if the second vehicle start point Car2Start ≠ 0 (S101: No), that is, if detection of the second parked vehicle 72 has already started, the low accuracy range of the parked vehicle 72 is reduced. As extracting, it transfers to S109. Note that the first parked vehicle 71 and the second parked vehicle 72 are detected in the order of (1) low accuracy range → (2) normal reflection point → (3) low accuracy range. In the process of FIG. 6 for the first parked vehicle 71, the accuracy is low while reversing the low accuracy range of (3) from (3) to (2) (reversing the history direction P4 of FIG. 9). A range search is in progress. The vicinity of (3) corresponds to the vicinity of the second corner (back side corner) through which the vehicle 6 passes among the two corners on the side path 100 side of the first parked vehicle 71. On the other hand, in the process of FIG. 6 for the second parked vehicle 72, the low accuracy range search is performed while proceeding from (1) to (2) in the vicinity of the low accuracy range of (1). The vicinity of (1) corresponds to the vicinity of the first corner (front side corner) through which the vehicle 6 passes among the two corners on the side path 100 side of the second parked vehicle 72. Here, FIGS. 10 and 11 are diagrams illustrating the history direction of the reflection point in the second parked vehicle 72. Specifically, FIG. 10 is a view similar to FIG. 7, in which the vehicle 6 is a corner 72a of the second parked vehicle 72 (a corner on the first parked vehicle 71 side, a corner adjacent to the parking space 101). ) Shows a scene where a nearby reflection point is being detected. FIG. 11 is an enlarged view of a portion C in FIG. 10 and shows a state of the reflection point 4 in the vicinity of the corner 72a (near (1) → (2)). In FIG. 10, the vehicle 6 is moving in the direction P1 from the right side to the left side in FIG. FIG. 11 shows the direction P1 and the X axis.
 図11に示すように、2台目の駐車車両72における反射点4の履歴方向は矢印P5で示す方向となる。つまり、先ず反射点411が検知される。その反射点411は、実際のコーナー72aの位置よりも移動方向P1側に進んだ位置、かつ、車両6側の位置に検知される。その後、反射点411から移動方向P1と逆向きかつコーナー72aに近づく方向に(図11の紙面方向で右斜め上方向)、反射点4が検知されていく。その後、ある反射点421を境として、駐車車両72の面と略一致した位置に、移動方向P1と同じ方向に、反射点4が検知されていく。なお、反射点411での計測カウントが、2台目開始点Car2Startとなる。 As shown in FIG. 11, the history direction of the reflection point 4 in the second parked vehicle 72 is the direction indicated by the arrow P5. That is, first, the reflection point 411 is detected. The reflection point 411 is detected at a position advanced to the moving direction P1 side from the actual position of the corner 72a and a position on the vehicle 6 side. Thereafter, the reflection point 4 is detected from the reflection point 411 in the direction opposite to the moving direction P1 and closer to the corner 72a (upward and diagonally to the right in the paper direction of FIG. 11). Thereafter, the reflection point 4 is detected in the same direction as the movement direction P1 at a position substantially coincident with the surface of the parked vehicle 72 with a certain reflection point 421 as a boundary. Note that the measurement count at the reflection point 411 is the second start point Car2Start.
 以上を踏まえて、図6のS109以降の処理を説明する。S109では、2台目開始点Car2Startでの反射点のX座標RfltX(Car2Start)と、1つ後の計測カウント(Car2Start+1)での反射点のX座標RfltX(Car2Start+1)とを大小比較する(S109)。図11の例では、反射点411と、次に検知された反射点414とのX座標の大小比較が行われることになる。RfltX(Car2Start)のほうがRfltX(Car2Start+1)よりも小さい場合には(S109:No)、精度低範囲は存在しないと判断する(S116)。この場合、例えば、コーナー72aの面角度が緩やかになっているために、反射点4の履歴に折り返しが発生しない状況が想定される。S116の後、図6のフローチャートの処理を終了する。 Based on the above, the processing after S109 in FIG. 6 will be described. In S109, the X coordinate RfltX (Car2Start) of the reflection point at the second start point Car2Start is compared with the X coordinate RfltX (Car2Start + 1) of the reflection point in the next measurement count (Car2Start + 1) (S109). . In the example of FIG. 11, the X coordinates of the reflection point 411 and the next detected reflection point 414 are compared. When RfltX (Car2Start) is smaller than RfltX (Car2Start + 1) (S109: No), it is determined that there is no low accuracy range (S116). In this case, for example, since the surface angle of the corner 72a is gentle, it is assumed that the history of the reflection point 4 does not return. After S116, the process of the flowchart of FIG.
 S109において、RfltX(Car2Start)がRfltX(Car2Start+1)よりも大きい場合には(S109:Yes)、精度低範囲が存在するとして、S110に移行する。S110では、着目する計測カウントの値jを2台目開始点Car2Startに設定する(S110)。次に、計測カウントjでの反射点のX座標RfltX(j)と、1つ後の計測カウントj+1での反射点のX座標RfltX(j+1)とを比較する(S111)。RfltX(j)のほうがRfltX(j+1)よりも大きい場合には(S111:No)、S112に移行して、計測カウントjが、2台目終了点Car2Endに達したか否かを判断する。計測カウントjが2台目終了点Car2Endに未だ達していない場合には(S112:No)、S113に移行して、計測カウントjの値を次の値に設定する(j=j+1)。その後、S111に戻って、新たに着目する計測カウントjでの反射点のX座標RfltX(j)と、1つ後の計測カウントj+1での反射点のX座標RfltX(j+1)とを比較する。 In S109, when RfltX (Car2Start) is larger than RfltX (Car2Start + 1) (S109: Yes), it is determined that the low accuracy range exists, and the process proceeds to S110. In S110, the target measurement count value j is set to the second start point Car2Start (S110). Next, the X coordinate RfltX (j) of the reflection point at the measurement count j is compared with the X coordinate RfltX (j + 1) of the reflection point at the next measurement count j + 1 (S111). When RfltX (j) is larger than RfltX (j + 1) (S111: No), the process proceeds to S112, and it is determined whether or not the measurement count j has reached the second end point Car2End. When the measurement count j has not yet reached the second end point Car2End (S112: No), the process proceeds to S113, and the value of the measurement count j is set to the next value (j = j + 1). Thereafter, returning to S111, the X coordinate RfltX (j) of the reflection point at the newly focused measurement count j is compared with the X coordinate RfltX (j + 1) of the reflection point at the next measurement count j + 1.
 このように、S111、S112、S113の処理によって、図11の反射点411から履歴方向P5と同じ向きに、順番に隣り合う2つの反射点4に着目し、それら2つの反射点4のX座標の大小比較が行われる。S111において、RfltX(j+1)がRfltX(j)より大きい場合には(S111:Yes)、S114に移行する。S114では、範囲開始点AreaStartを2台目開始点Car2Startに設定する。また、範囲終了点AreaEndを計測カウントj-1に設定する(S114)。また、端点CorrectEdgeを計測カウントjに設定する(S114)。つまり、S114では、計測カウントがCar2Startからj-1までの範囲を、2台目の駐車車両72における精度低範囲として抽出する。図11の例では、丁度折り返し点に位置する反射点421の隣りの反射点412から反射点411までの範囲が精度低範囲40として抽出されることになる。また、反射点421が端点として抽出される。S114の後、図6のフローチャートの処理を終了する。 In this way, by the processing of S111, S112, and S113, paying attention to two reflection points 4 that are adjacent in order from the reflection point 411 in FIG. 11 in the same direction as the history direction P5, the X coordinates of these two reflection points 4 A size comparison is performed. In S111, when RfltX (j + 1) is larger than RfltX (j) (S111: Yes), the process proceeds to S114. In S114, the range start point AreaStart is set to the second start point Car2Start. Further, the range end point AreaEnd is set to the measurement count j−1 (S114). Further, the end point CorrectEdge is set to the measurement count j (S114). That is, in S114, the range from the measurement count Car2Start to j−1 is extracted as the low accuracy range in the second parked vehicle 72. In the example of FIG. 11, the range from the reflection point 412 adjacent to the reflection point 421 positioned just at the turning point to the reflection point 411 is extracted as the low accuracy range 40. Further, the reflection point 421 is extracted as an end point. After S114, the process of the flowchart of FIG.
 S112において、計測カウントjが、2台目終了点Car2Endに達した場合には(S112:Yes)、S115に移行する。この場合には、反射点の履歴方向が車両6の移動方向と逆向きになっているものの、折り返し点が見つからない状況となっている。この状況は想定外の状況であるため、精度低範囲は存在しないと判断する(S115)。その後、図6のフローチャートの処理を終了する。 In S112, when the measurement count j reaches the second vehicle end point Car2End (S112: Yes), the process proceeds to S115. In this case, although the history direction of the reflection point is opposite to the moving direction of the vehicle 6, the turning point is not found. Since this situation is an unexpected situation, it is determined that there is no low accuracy range (S115). Thereafter, the process of the flowchart of FIG.
 図3の説明に戻り、S16の後、S17に移行し、精度低範囲の有無を判断する。精度低範囲が存在しない場合(図6のS108、S115、S116の場合、S17:No)、S25に進む。これに対し、精度低範囲が存在する場合には(図6のS107、S114の場合、S17:Yes)、S18に移行し、ROMに設定されたパラメータMethodが1か否かに応じて、S19以降の処理を実行するか、後述する図20の処理を実行するかを判断する。Method=1の場合には(S18:Yes)、S19に以降の処理を実行する。すなわち、着目する計測カウントjを、図6のS107又はS114で設定した範囲開始点AreaStartに設定する(S19)。つまり、図9の例では反射点412に着目し、図11の例では反射点411に着目する。次に、計測カウントjでの反射点Rflt(j)の位置を補正する(S20)。つまり、図9、図11の精度低範囲40における反射点41(精度低反射点)の位置を補正する。 3, returning to the description of FIG. 3, after S <b> 16, the process proceeds to S <b> 17 to determine whether there is a low accuracy range. When the low accuracy range does not exist (in the case of S108, S115, and S116 in FIG. 6, S17: No), the process proceeds to S25. On the other hand, when the low accuracy range exists (in the case of S107 and S114 in FIG. 6, S17: Yes), the process proceeds to S18, and depending on whether or not the parameter Method set in the ROM is 1, S19 It is determined whether the subsequent processing is executed or the processing of FIG. If Method = 1 (S18: Yes), the subsequent processing is executed in S19. That is, the target measurement count j is set to the range start point AreaStart set in S107 or S114 of FIG. 6 (S19). That is, attention is paid to the reflection point 412 in the example of FIG. 9, and attention is paid to the reflection point 411 in the example of FIG. Next, the position of the reflection point Rflt (j) at the measurement count j is corrected (S20). That is, the position of the reflection point 41 (low accuracy reflection point) in the low accuracy range 40 of FIGS. 9 and 11 is corrected.
 ここで、図12は、S20の詳細のフローチャートである。また、図13は、S20による補正の考え方を説明する図であり、図7のA部の拡大図に相当する。図13には、精度低範囲の端に隣接する反射点421(端点)と、その反射点421を検知したときのセンサ位置21と、補正対象とする精度低反射点41と、その精度低反射点41を検知したときのセンサ位置22とを図示している。補正の前提として、精度低範囲に対応する反射面では、反射点421での面角度になっていると仮定する。この場合、精度低範囲における反射波の到来方向θ2は、反射点421における到来方向θ1(端点CorrectEdgeにおける到来方向RfltDirection(CorrectEdge))と同じであると近似することができる(θ2=θ1)。そこで、図12のS121では、その到来方向RfltDirection(CorrectEdge)を用いて反射点Rflt(j)の位置を補正する。図13の例で具体的に説明すると、反射点421での到来方向θ1(図3のS15で算出)、センサ位置22、及びセンサ位置22での検知距離L1をワークメモリから読み出す。そして、センサ位置22から到来方向θ1に検知距離L1だけ離れた点431の位置に、精度低反射点41を補正する。 Here, FIG. 12 is a detailed flowchart of S20. FIG. 13 is a diagram for explaining the concept of correction by S20, and corresponds to an enlarged view of part A in FIG. In FIG. 13, the reflection point 421 (end point) adjacent to the end of the low accuracy range, the sensor position 21 when the reflection point 421 is detected, the low accuracy reflection point 41 to be corrected, and the low accuracy reflection thereof. The sensor position 22 when the point 41 is detected is illustrated. As a premise for correction, it is assumed that the reflection surface corresponding to the low accuracy range has a surface angle at the reflection point 421. In this case, the arrival direction θ2 of the reflected wave in the low accuracy range can be approximated to be the same as the arrival direction θ1 at the reflection point 421 (the arrival direction RflDirection (CorrectEdge) at the end point CorrectEdge) (θ2 = θ1). Therefore, in S121 of FIG. 12, the position of the reflection point Rflt (j) is corrected using the arrival direction RflDirection (CorrectEdge). More specifically, the arrival direction θ1 at the reflection point 421 (calculated in S15 in FIG. 3), the sensor position 22, and the detection distance L1 at the sensor position 22 are read from the work memory. Then, the low precision reflection point 41 is corrected to the position of the point 431 that is separated from the sensor position 22 in the arrival direction θ1 by the detection distance L1.
 これによって、反射点421から補正後の反射点431(補正反射点)の履歴方向を、車両6の移動方向と同じにできる。その結果、コーナー7a付近に補正反射点431を配置できる。S121の後、図12のフローチャートの処理を終了する。 Thus, the history direction of the corrected reflection point 431 (corrected reflection point) from the reflection point 421 can be made the same as the moving direction of the vehicle 6. As a result, the corrected reflection point 431 can be arranged near the corner 7a. After S121, the process of the flowchart of FIG.
 図3の説明に戻り、S20の後、S21に移行して、計測カウントjが、図6のS107又はS114で設定した範囲終了点AreaEndに達したか否かを判断する。未だ達していない場合には(S21:No)、S22に移行して、計測カウントjを次の値に更新する(j=j+1)。その後、S20に戻って、更新後の計測カウントjでの反射点Rflt(j)の位置を補正する。このように、S20、S21、S22が繰り返されることで、図9の例では反射点412から順番に反射点411まで補正が行われ、図11の例では反射点411から順番に反射点412まで補正が行われる。つまり、精度低範囲40に含まれる全ての精度低反射点41の補正が行われる。 3, after S20, the process proceeds to S21, and it is determined whether or not the measurement count j has reached the range end point AreaEnd set in S107 or S114 of FIG. If not reached yet (S21: No), the process proceeds to S22, and the measurement count j is updated to the next value (j = j + 1). Thereafter, the process returns to S20 to correct the position of the reflection point Rflt (j) at the updated measurement count j. In this way, by repeating S20, S21, and S22, correction is performed in order from the reflection point 412 to the reflection point 411 in the example of FIG. 9, and in the example of FIG. 11, from the reflection point 411 to the reflection point 412 in order. Correction is performed. That is, all the low precision reflection points 41 included in the low precision range 40 are corrected.
 S21において、計測カウントjが範囲終了点AreaEndに達した場合には(S21:Yes)、S23に移行する。ここで、図14を参照して、S23の処理を行う理由を説明する。図14は、図7のB部の拡大図であり、コーナー7a付近におけるS20の補正前後の反射点4を図示している。すなわち、図14は、S20の補正で、精度低範囲40の反射点41(補正前の反射点)が、符号43で示す位置に補正された状態を示している。図14に示すように、S20の補正を行うことで、反射点4の履歴の折り返しは解消できる。しかし、過剰に補正すると、補正反射点43のうちの一部の補正反射点432がコーナー7aからはみ出てしまう可能性がある。そこで、S23では、コーナー7aからはみ出てしまう可能性がある補正反射点432を判定し、判定した補正反射点432を無効にしている。図15は、S23の詳細のフローチャートである。 In S21, when the measurement count j reaches the range end point AreaEnd (S21: Yes), the process proceeds to S23. Here, the reason why the process of S23 is performed will be described with reference to FIG. FIG. 14 is an enlarged view of a portion B in FIG. 7 and illustrates the reflection point 4 before and after the correction of S20 in the vicinity of the corner 7a. That is, FIG. 14 shows a state in which the reflection point 41 (reflection point before correction) in the low accuracy range 40 is corrected to the position indicated by reference numeral 43 by the correction of S20. As shown in FIG. 14, by performing the correction of S20, the return of the history of the reflection point 4 can be eliminated. However, if excessive correction is performed, there is a possibility that some of the corrected reflection points 432 out of the correction reflection points 43 may protrude from the corner 7a. Therefore, in S23, the corrected reflection point 432 that may protrude from the corner 7a is determined, and the determined corrected reflection point 432 is invalidated. FIG. 15 is a detailed flowchart of S23.
 図15の処理に移行すると、先ず、1台目の駐車車両71に対して処理を行うのか、2台目の駐車車両72に対して処理を行うのかを判断する(S131)。具体的には、例えば2台目開始点Car2Start=0か否か、つまり、2台目の駐車車両72の距離検知が未だ開始されていないか否かを判断する(S131)。2台目開始点Car2Start=0の場合には(S131:Yes)、1台目の駐車車両71に対して処理を行うとして、S132に移行する。 15, first, it is determined whether to process the first parked vehicle 71 or the second parked vehicle 72 (S131). Specifically, for example, it is determined whether the second vehicle start point Car2Start = 0, that is, whether the distance detection of the second parked vehicle 72 has not yet started (S131). When the second vehicle start point Car2Start = 0 (S131: Yes), the first vehicle parked 71 is assumed to be processed, and the process proceeds to S132.
 S132では、以降の処理で使用するパラメータJStartを1台目開始点Car1Startに設定する(S132)。また、以降の処理で使用するパラメータJEndを1台目終了点Car1Endに設定する(S132)。以下、パラメータJStartを駐車車両開始点と言い、パラメータJEndを駐車車両終了点と言う。 In S132, the parameter JStart used in the subsequent processing is set to the first start point Car1Start (S132). Further, the parameter JEnd used in the subsequent processing is set to the first vehicle end point Car1End (S132). Hereinafter, the parameter JStart is referred to as a parked vehicle start point, and the parameter JEnd is referred to as a parked vehicle end point.
 次に、着目する計測カウントjを駐車車両開始点JStartに設定する(S134)。また、駐車車両の奥行き方向を図2のY軸方向としたとき、奥行き方向における位置が最小の反射点のY座標MinRfltY(以下、単に最小値という)を、駐車車両開始点JStartにおける反射点のY座標RfltY(JStart)に設定する(S134)。また、奥行き方向における位置が最大の反射点のY座標MaxRfltY(以下、単に最大値という)を、駐車車両開始点JStartにおける反射点のY座標RfltY(JStart)に設定する(S134)。 Next, the target measurement count j is set to the parked vehicle start point JStart (S134). In addition, when the depth direction of the parked vehicle is the Y-axis direction in FIG. 2, the Y coordinate MinRfltY (hereinafter simply referred to as the minimum value) of the reflection point having the smallest position in the depth direction is represented by the reflection point at the parked vehicle start point JStart. The Y coordinate RfltY (JStart) is set (S134). Further, the Y coordinate MaxRfltY (hereinafter simply referred to as the maximum value) of the reflection point having the maximum position in the depth direction is set to the Y coordinate RfltY (JStart) of the reflection point at the parked vehicle start point JStart (S134).
 次に、着目する計測カウントjにおける反射点のY座標RfltY(j)が、最小値MinRfltYより小さいか否かを判断する(S135)。小さい場合には(S135:Yes)、最小値MinRfltYをそのRfltY(j)に更新する(S136)。その後、S137に移行する。RfltY(j)がMinRfltYより大きい場合には(S135:No)、S136を飛ばしてS137に移行する。この場合には、現在の最小値MinRfltYが維持される。 Next, it is determined whether or not the Y coordinate RfltY (j) of the reflection point in the target measurement count j is smaller than the minimum value MinRfltY (S135). If it is smaller (S135: Yes), the minimum value MinRfltY is updated to the RfltY (j) (S136). Thereafter, the process proceeds to S137. When RfltY (j) is larger than MinRfltY (S135: No), S136 is skipped and the process proceeds to S137. In this case, the current minimum value MinRfltY is maintained.
 S137では、RfltY(j)が最大値MaxRfltYよりも大きいか否かを判断する(S137)。大きい場合には(S137:Yes)、最大値MaxRfltYをそのRfltY(j)に更新する(S138)。その後、S139に移行する。RfltY(j)がMaxRfltYより小さい場合には(S137:No)、S138を飛ばしてS139に移行する。この場合には、現在の最大値MaxRfltYが維持される。 In S137, it is determined whether RfltY (j) is larger than the maximum value MaxRfltY (S137). When it is larger (S137: Yes), the maximum value MaxRfltY is updated to the RfltY (j) (S138). Thereafter, the process proceeds to S139. When RfltY (j) is smaller than MaxRfltY (S137: No), S138 is skipped and the process proceeds to S139. In this case, the current maximum value MaxRfltY is maintained.
 S139では、計測カウントjが駐車車両終了点JEndに達したか否かを判断する(S139)。未だ達していない場合には(S139:No)、S140に移行し、計測カウントjを次の値に更新する(J=J+1)。その後、S135に戻って、更新後の計測カウントjに対して上述のS135~S139の処理を実行する。このように、S135~S140では、駐車車両開始点JStartから駐車車両終了点JEndの反射点のうち、奥行き方向(Y座標)の位置が最小の反射点と最大の反射点との抽出を行っている。 In S139, it is determined whether or not the measurement count j has reached the parked vehicle end point JEnd (S139). If not reached yet (S139: No), the process proceeds to S140, and the measurement count j is updated to the next value (J = J + 1). Thereafter, the process returns to S135, and the processes of S135 to S139 described above are executed for the updated measurement count j. In this manner, in S135 to S140, the reflection point having the minimum position in the depth direction (Y coordinate) and the maximum reflection point are extracted from the reflection points from the parked vehicle start point JStart to the parked vehicle end point JEnd. Yes.
 S139において、計測カウントjが駐車車両終了点JEndに達した場合には(S139:Yes)、S141に移行する。そして、最大値MaxRfltYと最小値MinRfltYの差分(MaxRfltY-MinRfltY)が、予め定められた閾値th1より大きいか否かを判断する(S141)。図14の例で説明すると、S141では、奥行き方向の位置が最小の反射点441と最大の反射点442のY軸方向における差分ΔY1が閾値th1より大きいか否かを判断していることになる。図14の例では、差分ΔY1が閾値th1より大きくなっている。 In S139, when the measurement count j reaches the parked vehicle end point JEnd (S139: Yes), the process proceeds to S141. Then, it is determined whether or not the difference between the maximum value MaxRfltY and the minimum value MinRfltY (MaxRfltY−MinRfltY) is greater than a predetermined threshold th1 (S141). In the example of FIG. 14, in S141, it is determined whether or not the difference ΔY1 in the Y-axis direction between the reflection point 441 having the smallest position in the depth direction and the reflection point 442 having the largest position is larger than the threshold th1. . In the example of FIG. 14, the difference ΔY1 is larger than the threshold th1.
 S141において、差分(MaxRfltY-MinRfltY)が閾値th1より小さい場合には(S141:No)、過剰補正の反射点は無いとして、図15のフローチャートの処理を終了する。これに対して、差分(MaxRfltY-MinRfltY)が閾値th1より大きい場合には(S141:Yes)、過剰補正の反射点が有るとして、S142以降の処理を行う。すなわち、S142では、着目する計測カウントjを駐車車両開始点JStartに設定し直す(S142)。次に、計測カウントjでの反射点のY座標RfltY(j)と最小値MinRfltYとの差分(RfltY(j)-MinRfltY)が閾値th1より大きいか否かを判断する(S143)。大きい場合には(S143:Yes)、過剰補正の反射点であるとして、その反射点Rflt(j)を無効にする(S144)。その後、S145に移行する。これに対して、差分(RfltY(j)-MinRfltY)が閾値th1より小さい場合には(S143:No)、S144を飛ばしてS145に移行する。 In S141, when the difference (MaxRfltY−MinRfltY) is smaller than the threshold th1 (S141: No), it is determined that there is no overcorrected reflection point, and the process of the flowchart in FIG. On the other hand, when the difference (MaxRfltY−MinRfltY) is larger than the threshold th1 (S141: Yes), it is determined that there is an overcorrected reflection point, and the processes after S142 are performed. That is, in S142, the target measurement count j is reset to the parked vehicle start point JStart (S142). Next, it is determined whether or not the difference (RfltY (j) −MinRfltY) between the Y coordinate RfltY (j) of the reflection point at the measurement count j and the minimum value MinRfltY is larger than the threshold th1 (S143). If it is larger (S143: Yes), the reflection point Rflt (j) is invalidated as an overcorrection reflection point (S144). Thereafter, the process proceeds to S145. On the other hand, when the difference (RfltY (j) −MinRfltY) is smaller than the threshold th1 (S143: No), S144 is skipped and the process proceeds to S145.
 S145では、計測カウントjが駐車車両終了点JEndに達したか否かを判断する。未だ達していない場合には(S145:No)、S146に移行して、計測カウントjを次の値に更新する。その後、S143に戻って、更新後の計測カウントjに対して上述のS143~S145の処理を実行する。図14の例で説明すると、S142~S146では、駐車車両開始点JStartの反射点4から順番に駐車車両終了点の反射点4まで、各反射点4が閾値th1のライン700を超えているか否かを判断する。そして、ライン700を超えている反射点4を無効にしている。図14の例では、反射点432が無効とされる。 In S145, it is determined whether or not the measurement count j has reached the parked vehicle end point JEnd. If not reached yet (S145: No), the process proceeds to S146, and the measurement count j is updated to the next value. Thereafter, the process returns to S143, and the processes of S143 to S145 described above are executed for the updated measurement count j. Referring to the example of FIG. 14, in S142 to S146, whether each reflection point 4 exceeds the threshold value th1 line 700 from the reflection point 4 at the parked vehicle start point JStart to the reflection point 4 at the parked vehicle end point in order. Determine whether. The reflection point 4 exceeding the line 700 is invalidated. In the example of FIG. 14, the reflection point 432 is invalidated.
 S145において、計測カウントjが駐車車両終了点JEndに達した場合には(S145:Yes)、図15のフローチャートの処理を終了する。 In S145, when the measurement count j reaches the parked vehicle end point JEnd (S145: Yes), the process of the flowchart in FIG.
 一方、S131において、2台目開始点Car2Start≠0の場合には(S131:No)、2台目の駐車車両72に対する処理を行うとして、S147に移行する。そして、駐車車両開始点JStartを2台目開始点Car2Startに設定する(S147)。また、駐車車両終了点JEndを2台目終了点Car2Endに設定する(S147)。その後、上述のS134以降の処理で、過剰補正の反射点の有無を判定し、過剰補正の反射点が有る場合には、その過剰補正の反射点を無効にする。 On the other hand, in S131, when the second vehicle start point Car2Start ≠ 0 (S131: No), the processing for the second parking vehicle 72 is performed, and the process proceeds to S147. Then, the parked vehicle start point JStart is set to the second vehicle start point Car2Start (S147). Further, the parked vehicle end point JEnd is set to the second vehicle end point Car2End (S147). Thereafter, in the processes after S134 described above, the presence / absence of an overcorrected reflection point is determined. If there is an overcorrected reflection point, the overcorrected reflection point is invalidated.
 このように、図15では、最小の反射点からY軸方向にどの程度離れているかに基づき過剰補正の反射点を判定している。これは、最小の反射点からY軸方向に離れている反射点ほど、X座標の値も大きくなり、コーナー7aからはみ出る可能性があるからである。Y座標で過剰補正の反射点を判定することで、駐車車両のX軸方向における幅の大小にかかわらず、コーナー7aからはみ出る可能性がある反射点を高精度に判定できる。 As described above, in FIG. 15, the overcorrected reflection point is determined based on the distance from the minimum reflection point in the Y-axis direction. This is because the value of the X coordinate increases as the reflection point is further away from the minimum reflection point in the Y-axis direction and may protrude from the corner 7a. By determining the overcorrected reflection point using the Y coordinate, it is possible to determine the reflection point that may protrude from the corner 7a with high accuracy regardless of the width of the parked vehicle in the X-axis direction.
 図3の説明に戻り、S23の後、S24に移行する。ここで、図16を参照して、S24の処理を行う理由を説明する。この図16は、図7のB部の拡大図であり、コーナー7a付近における反射点4等の各種点を図示している。図16の反射点4(黒丸で図示)には、S20で補正された補正反射点も含んでいる。図16に示すように、補正実施後であっても、反射点4の履歴の端点442がコーナー7aの端面に達しない場合がある。これは、測距センサ2の検知範囲が小さかったり、風が強かったりするなどして距離検知を良好に行うことができなかったことが原因である。つまり、反射点4の算出に使用する検知距離のデータ数が少ないことが原因である。図16には、測距点9(白三角で図示)の履歴を図示しているが、その測距点9もコーナー7aの端面に達していない(通常ならば、図2のように、測距点9の履歴は駐車車両7からはみ出る)。そこで、S24では、コーナー7aの端面に達しない可能性があるか否かを判定(S20による補正量が不足しているか否かを判定)する。そして、補正不足の場合には、コーナー7aの端面に達するように、追加の反射点を算出する。図17は、S24の詳細のフローチャートである。 Returning to the explanation of FIG. 3, after S23, the process proceeds to S24. Here, the reason why the process of S24 is performed will be described with reference to FIG. FIG. 16 is an enlarged view of a portion B in FIG. 7 and illustrates various points such as the reflection point 4 near the corner 7a. The reflection point 4 (illustrated by a black circle) in FIG. 16 includes the corrected reflection point corrected in S20. As shown in FIG. 16, even after the correction is performed, the end point 442 of the history of the reflection point 4 may not reach the end surface of the corner 7a. This is because distance detection could not be performed satisfactorily because the detection range of the distance measuring sensor 2 was small or the wind was strong. In other words, this is because the number of detection distance data used for calculating the reflection point 4 is small. FIG. 16 shows the history of the distance measuring point 9 (illustrated by a white triangle), but the distance measuring point 9 does not reach the end face of the corner 7a (usually, as shown in FIG. The history of the distance point 9 protrudes from the parked vehicle 7). Therefore, in S24, it is determined whether or not there is a possibility of reaching the end face of the corner 7a (determining whether or not the correction amount in S20 is insufficient). If the correction is insufficient, an additional reflection point is calculated so as to reach the end face of the corner 7a. FIG. 17 is a detailed flowchart of S24.
 図17の処理に移行すると、先ず、例えば2台目開始点Car2Start=0か否かを判定することで、1台目の駐車車両71に対して処理を行うのか、2台目の駐車車両72に対して処理を行うのかを判断する(S151)。2台目開始点Car2Start=0の場合には(S151:Yes)、1台目の駐車車両71に対して処理を行うとして、S152に移行する。 When the process proceeds to FIG. 17, first, for example, by determining whether or not the second start point Car2Start = 0, whether the process is performed on the first parked vehicle 71 or the second parked vehicle 72. It is determined whether or not processing is to be performed (S151). When the second vehicle start point Car2Start = 0 (S151: Yes), the first vehicle parked 71 is assumed to be processed, and the process proceeds to S152.
 S152では、以降の処理で使用する各種パラメータの設定を行う(S152)。具体的には、パラメータJStart1(以下、曲線近似開始点という)を1台目開始点Car1Startに設定する(S152)。また、パラメータJEnd1(以下、曲線近似終了点という)を1台目終了点Car1Endに設定する(S152)。また、パラメータJStart2(以下、距離近似開始点という)を1台目終了点Car1Endの1つ後の計測カウント(Car1End+1)に設定する(S152)。また、パラメータJEnd2(以下、距離近似終了点という)を2台目開始点Car2Startの1つ前の計測カウント(Car2Start-1)に設定する(S152)。また、パラメータdJを1に設定する(S152)。 In S152, various parameters used in the subsequent processes are set (S152). Specifically, the parameter JStart1 (hereinafter referred to as a curve approximation start point) is set as the first vehicle start point Car1Start (S152). In addition, the parameter JEnd1 (hereinafter referred to as a curve approximation end point) is set to the first end point Car1End (S152). Also, the parameter JStart2 (hereinafter referred to as the distance approximation start point) is set to the measurement count (Car1End + 1) immediately after the first end point Car1End (S152). In addition, the parameter JEnd2 (hereinafter referred to as the distance approximation end point) is set to the measurement count (Car2Start-1) immediately before the second unit start point Car2Start (S152). Further, the parameter dJ is set to 1 (S152).
 次に、図15の処理で算出した最大値MaxRfltYと最小値MinRfltYの差分(MaxRfltY-MinRfltY)が予め定められた閾値th2より小さいか否かを判断する(S153)。この閾値th2は、図14、図15で使用する閾値th1と同じであっても良いし、閾値th1より小さい値であっても良い。図16の例で説明すると、S153では、奥行き方向の位置が最小の反射点441と最大の反射点442のY軸方向における差分ΔY2が閾値th2より小さいか否かを判断していることになる。図16の例では、差分ΔY2が閾値th2より小さくなっている。 Next, it is determined whether or not the difference (MaxRfltY−MinRfltY) between the maximum value MaxRfltY and the minimum value MinRfltY calculated in the process of FIG. 15 is smaller than a predetermined threshold th2 (S153). This threshold th2 may be the same as the threshold th1 used in FIGS. 14 and 15, or may be a value smaller than the threshold th1. In the example of FIG. 16, in S153, it is determined whether or not the difference ΔY2 in the Y-axis direction between the reflection point 441 having the minimum position in the depth direction and the reflection point 442 having the maximum depth is smaller than the threshold th2. . In the example of FIG. 16, the difference ΔY2 is smaller than the threshold th2.
 S153において、差分(MaxRfltY-MinRfltY)が閾値th2より大きい場合には(S153:No)、補正不足ではないとして、図17のフローチャートの処理を終了する。これに対して、差分(MaxRfltY-MinRfltY)が閾値th2より小さい場合には(S153:Yes)、補正不足であるとして、S154以降の処理を行う。すなわち、S154では、近似曲線の種類を示すパラメータModeが「1」に設定されているか否かを判断する(S154)。Mode=1か否かは、ECU11のROMに予め設定されている。 In S153, when the difference (MaxRfltY−MinRfltY) is larger than the threshold th2 (S153: No), the process of the flowchart in FIG. On the other hand, when the difference (MaxRfltY−MinRfltY) is smaller than the threshold th2 (S153: Yes), it is determined that the correction is insufficient, and the processing after S154 is performed. That is, in S154, it is determined whether or not the parameter Mode indicating the type of approximate curve is set to “1” (S154). Whether Mode = 1 is preset in the ROM of the ECU 11.
 Mode=1の場合には(S154:Yes)、S155に移行し、近似曲線として放物線(2次曲線)を選択する。これに対し、Mode≠1の場合には(S154:No)、S156に移行し、近似曲線としてスプライン曲線を選択する。なお、スプライン曲線とは、与えられた複数の点を通る滑らかな曲線で、隣り合う点に挟まれた各区間に対し、個別の多項式を用いた曲線である。S155又はS156の後、S157に移行する。S157では、曲線近似開始点JStart1(=Car1Start)から曲線近似終了点JEnd1(=Car1End)までの検知距離(測距点)の履歴に対する近似曲線を算出する(S157)。このとき、S155又はS156で選択した種類の近似曲線を算出する(S157)。S155で放物線を選択した場合には、図18に示すように、測距点9の履歴を近似する放物線301が得られる。図2に示すように、通常時の測距点9の履歴形状は略放物線形状となる。よって、測距点9の履歴を放物線近似することで、図2の通常時の履歴形状と同様の曲線を得ることができる。 When Mode = 1 (S154: Yes), the process proceeds to S155, and a parabola (quadratic curve) is selected as an approximate curve. On the other hand, if Mode ≠ 1 (S154: No), the process proceeds to S156, and a spline curve is selected as the approximate curve. A spline curve is a smooth curve that passes through a plurality of given points, and is a curve that uses individual polynomials for each section sandwiched between adjacent points. After S155 or S156, the process proceeds to S157. In S157, an approximate curve for the history of the detected distance (ranging point) from the curve approximation start point JStart1 (= Car1Start) to the curve approximation end point JEnd1 (= Car1End) is calculated (S157). At this time, the approximate curve of the type selected in S155 or S156 is calculated (S157). When a parabola is selected in S155, a parabola 301 approximating the history of the distance measuring point 9 is obtained as shown in FIG. As shown in FIG. 2, the history shape of the distance measuring point 9 at the normal time is substantially a parabolic shape. Therefore, by approximating the history of the distance measuring point 9 with a parabola, a curve similar to the normal history shape of FIG. 2 can be obtained.
 また、S156でスプライン曲線を選択した場合には、図19に示すように、測距点9の履歴を近似するスプライン曲線302が得られる。なお、図19には、曲線近似に用いた測距点94を実線の三角で図示し、その他の測距点9を破線の三角で図示している。このように、スプライン曲線で近似することで、測距点9の履歴形状が放物線状から離れた形状となっていたとしても、各測距点9を反映した精度の高い近似曲線を得ることができる。なお、曲線近似には全ての測距点9を用いても良いし、図19のように一部の測距点94を用いても良い。図16には、S157で得られた近似曲線300(図18の放物線301又は図19のスプライン曲線302)を図示している。 If a spline curve is selected in S156, a spline curve 302 approximating the history of the distance measuring point 9 is obtained as shown in FIG. In FIG. 19, the distance measuring points 94 used for curve approximation are indicated by solid triangles, and the other distance measuring points 9 are indicated by dashed triangles. Thus, by approximating with the spline curve, even if the history shape of the distance measuring point 9 is a shape away from the parabolic shape, an accurate approximate curve reflecting each distance measuring point 9 can be obtained. it can. Note that all of the distance measuring points 9 may be used for curve approximation, or some of the distance measuring points 94 may be used as shown in FIG. FIG. 16 illustrates the approximate curve 300 (parabola 301 in FIG. 18 or spline curve 302 in FIG. 19) obtained in S157.
 次に、着目する計測カウントjを距離近似開始点JStart2に設定する(S158)。次に、S157で算出した近似曲線を用いて、計測カウントjにおける検知距離の近似値ApproximateL(j)を算出する(S159)。具体的には、近似曲線を、検知距離に対するXの関数ApproximateL(X)と考えたとき、図3のS13で算出した、計測カウントjでのセンサ位置のX座標AttdX(j)をワークメモリから読み出す。そして、そのAttdX(j)を関数ApproximateL(X)のXに代入する。これにより、センサ位置AttdX(j)での検知距離の近似値を得ることができる。図16には、近似曲線300から求めた、推定の測距点96を図示している。 Next, the target measurement count j is set to the distance approximation start point JStart2 (S158). Next, an approximate value ApproximateL (j) of the detection distance at the measurement count j is calculated using the approximate curve calculated in S157 (S159). Specifically, when the approximate curve is considered to be an X function ApproximateL (X) with respect to the detected distance, the X coordinate AttdX (j) of the sensor position at the measurement count j calculated in S13 of FIG. 3 is obtained from the work memory. read out. Then, the AttdX (j) is substituted for X of the function ApproximateL (X). Thereby, an approximate value of the detection distance at the sensor position AttdX (j) can be obtained. FIG. 16 illustrates an estimated distance measuring point 96 obtained from the approximate curve 300.
 次に、検知距離の近似値ApproximateL(j)及びその隣りの検知距離(又は近似値)とそれらのセンサ位置とを用いて、三角測量の原理により(上記式1~式6により)、反射点Rflt(j)を算出する(S160)。図16には、S160で算出された反射点45を白丸で図示している。 Next, based on the principle of triangulation (by the above formulas 1 to 6), the reflection point is calculated using the approximate value ApproximateL (j) of the detection distance and the adjacent detection distance (or approximate value) and their sensor positions. Rflt (j) is calculated (S160). In FIG. 16, the reflection point 45 calculated in S160 is shown by a white circle.
 次に、S160で算出した反射点Rflt(j)のY座標RfltY(j)と最小値MinRfltYの差分(RfltY(j)-MinRfltY)が、閾値th2より大きいか否かを判断する(S161)。小さい場合には(S161:No)、S162に移行し、計測カウントjが距離近似終了点JEnd2に達したか否かを判断する。未だ達していない場合には(S162:No)、計測カウントjにパラメータdJ(=1)を加算して、計測カウントjの更新を行う(S163)。その後、S159に戻って、更新後の計測カウントjに対して反射点の追加を行う(S159、S160)。 Next, it is determined whether or not the difference (RfltY (j) −MinRfltY) between the Y coordinate RfltY (j) of the reflection point Rflt (j) calculated in S160 and the minimum value MinRfltY is larger than the threshold th2 (S161). If it is smaller (S161: No), the process proceeds to S162, and it is determined whether or not the measurement count j has reached the distance approximation end point JEnd2. If not reached yet (S162: No), the parameter dJ (= 1) is added to the measurement count j, and the measurement count j is updated (S163). Thereafter, the process returns to S159, and a reflection point is added to the updated measurement count j (S159, S160).
 このように、S159~S163の処理を繰り返すことで、奥行き方向(Y軸方向)における最大の反射点と最小の反射点のY軸方向における差分が閾値th2を超えるまで、繰り返し反射点の追加が行われる。S161において、差分(RfltY(j)-MinRfltY)が、閾値th2より大きい場合には(S161:Yes)、図17のフローチャートの処理を終了する。また、S162において、計測カウントjが距離近似終了点JEnd2に達した場合には(S162:Yes)、図17のフローチャートの処理を終了する。 In this manner, by repeating the processes of S159 to S163, the reflection point is repeatedly added until the difference between the maximum reflection point in the depth direction (Y-axis direction) and the minimum reflection point in the Y-axis direction exceeds the threshold th2. Done. In S161, when the difference (RfltY (j) −MinRfltY) is larger than the threshold th2 (S161: Yes), the processing of the flowchart of FIG. 17 ends. In S162, when the measurement count j reaches the distance approximation end point JEnd2 (S162: Yes), the process of the flowchart in FIG.
 一方、S151において、2台目開始点Car2Start≠0の場合には(S151:No)、2台目の駐車車両72に対する処理を行うとして、S164に移行する。S164では、以降の処理で使用する各種パラメータの設定を行う。具体的には、曲線近似開始点JStart1を2台目開始点Car2Startに設定する(S164)。また、曲線近似終了点JEnd1を2台目終了点Car2Endに設定する(S164)。また、距離近似開始点JStart2を2台目開始点Car2Startの1つ前の計測カウント(Car2Start-1)に設定する(S164)。また、距離近似終了点JEnd2を1台目終了点Car1Endの1つ後の計測カウント(Car1End+1)に設定する(S164)。また、パラメータdJを-1に設定する(S164)。 On the other hand, in S151, when the second vehicle start point Car2Start ≠ 0 (S151: No), the processing for the second parked vehicle 72 is performed and the process proceeds to S164. In S164, various parameters used in the subsequent processes are set. Specifically, the curve approximation start point JStart1 is set to the second vehicle start point Car2Start (S164). Further, the curve approximation end point JEnd1 is set to the second vehicle end point Car2End (S164). Further, the distance approximation start point JStart2 is set to the measurement count (Car2Start-1) immediately before the second start point Car2Start (S164). Further, the distance approximation end point JEnd2 is set to the measurement count (Car1End + 1) immediately after the first end point Car1End (S164). Further, the parameter dJ is set to −1 (S164).
 その後、S153以降の処理で、補正不足か否かを判断し(S153)、補正不足の場合には、補正不足が解消するまで(S161がYesとなるまで)反射点の追加を行う。このとき、JStart2=Car2Start-1、JEnd2=Car1End+1、dJ=-1となっているので、反射点の追加は、1台目の駐車車両71と2台目の駐車車両72の間の区間において、駐車車両72側から駐車車両71側に向かって行われる。 Thereafter, it is determined whether or not the correction is insufficient in the processes after S153 (S153). If the correction is insufficient, the reflection point is added until the correction is resolved (until S161 becomes Yes). At this time, since JStart2 = Car2Start−1, JEnd2 = Car1End + 1, and dJ = −1, the reflection point is added in the section between the first parked vehicle 71 and the second parked vehicle 72. It is performed from the parked vehicle 72 side toward the parked vehicle 71 side.
 図17の処理を行うことで、図16に示すように、コーナー7aの端面付近にまで反射点4の履歴を延ばすことができる。また、図15の処理と同様に、反射点のY座標に基づき補正不足を判定しているので、駐車車両のX軸方向における幅の大小にかかわらず、高精度に補正不足を判定できる。 17 is performed, the history of the reflection point 4 can be extended to the vicinity of the end face of the corner 7a as shown in FIG. Further, as in the process of FIG. 15, since insufficient correction is determined based on the Y coordinate of the reflection point, it is possible to determine insufficient correction with high accuracy regardless of the width of the parked vehicle in the X-axis direction.
 図3の説明に戻り、S24の後、S25に移行する。S25では、反射点の履歴に基づき、1台目の駐車車両71のコーナー及び2台目の駐車車両72のコーナーの位置を推定する(S25)。具体的には例えば、1台目の駐車車両71に対する反射点4の履歴のうち端に位置する反射点410(図2参照)を、駐車車両71のコーナー71aの位置と推定する。同様に、2台目の駐車車両72に対する反射点4の履歴のうち端に位置する反射点420(図2参照)を、駐車車両72のコーナー72aの位置と推定する。そして、推定したコーナー間の空間を駐車空間とする(S25)。 Returning to the explanation of FIG. 3, after S24, the process proceeds to S25. In S25, the positions of the corner of the first parked vehicle 71 and the corner of the second parked vehicle 72 are estimated based on the history of reflection points (S25). Specifically, for example, the reflection point 410 (see FIG. 2) located at the end of the history of the reflection point 4 with respect to the first parked vehicle 71 is estimated as the position of the corner 71a of the parked vehicle 71. Similarly, the reflection point 420 (see FIG. 2) located at the end of the history of the reflection point 4 for the second parked vehicle 72 is estimated as the position of the corner 72a of the parked vehicle 72. And the space between the estimated corners is set as a parking space (S25).
 次に、図3の処理の終了指示の有無を判断する(S26)。例えば、S25で検知した駐車空間の幅と車両6の幅とを比較し、その駐車空間に車両6が駐車できると判断したときに、終了指示が有るとする。終了指示が無い場合には(S26:No)、S27に移行して、計測カウントnを次の値に更新する(n=n+1)。その後、S12に戻って、更新後の計測カウントnに対して、S12以降の処理を行う。S26において、終了指示が有る場合には(S26:Yes)、図3のフローチャートの処理を終了する。 Next, it is determined whether or not there is an instruction to end the process of FIG. 3 (S26). For example, when the width of the parking space detected in S25 is compared with the width of the vehicle 6 and it is determined that the vehicle 6 can be parked in the parking space, there is an end instruction. When there is no end instruction (S26: No), the process proceeds to S27, and the measurement count n is updated to the next value (n = n + 1). Thereafter, the process returns to S12, and the processes after S12 are performed on the updated measurement count n. In S26, when there is an end instruction (S26: Yes), the process of the flowchart of FIG. 3 is ended.
 以上説明したように、本実施形態によれば、反射点の履歴が折り返された精度低範囲が抽出され、S18でMethod=1の場合には、その精度低範囲の反射点の補正が行われるので、反射点の履歴の折り返しを解消できる。そして、補正後の反射点の履歴に基づき、駐車車両のコーナーを推定しているので、面角度が急なコーナーの推定精度を向上できる。その結果、2台の駐車車両に挟まれた駐車空間の検知精度を向上できる。 As described above, according to the present embodiment, the low accuracy range in which the history of the reflection point is folded is extracted, and when Method = 1 in S18, the reflection point in the low accuracy range is corrected. Therefore, it is possible to eliminate the reflection of the reflection point history. Since the corner of the parked vehicle is estimated based on the corrected reflection point history, it is possible to improve the estimation accuracy of the corner having a steep surface angle. As a result, the detection accuracy of a parking space sandwiched between two parked vehicles can be improved.
 一方、S18において、Method≠1の場合には、図20のフローチャートの処理に移行する。図21を参照しながら、図20の処理を説明する。なお、図21は、図7のB部の拡大図であり、測距点9や反射点4等の様子を示している。図20の処理に移行すると、先ず、センサ位置のX座標の履歴に対するコーナー付近の検知距離(測距点)の履歴形状を近似する放物線Aを算出する。図21には、S311で算出された、測距点9の履歴に対する近似放物線501を図示している。 On the other hand, if Method ≠ 1 in S18, the process proceeds to the flowchart of FIG. The processing of FIG. 20 will be described with reference to FIG. FIG. 21 is an enlarged view of a portion B in FIG. When the processing proceeds to FIG. 20, first, a parabola A that approximates the history shape of the detection distance (ranging point) near the corner with respect to the history of the X coordinate of the sensor position is calculated. FIG. 21 illustrates an approximate parabola 501 for the history of the distance measuring point 9 calculated in S311.
 次に、S311で算出した放物線Aの頂点における検知距離L1と、その頂点から所定量(例えば1mm~1cm程度)離れた放物線A上の点における検知距離L2を算出する(S312)。S312の処理を図21を参照して説明すると、放物線501の頂点502を抽出する。このとき、頂点502のY座標が検知距離の近似値L1、X座標がL1に対するセンサ位置503のX座標となる。ただし、センサ位置503は実際に距離検知した瞬間のセンサ位置ではないため、記憶されていない。よって、センサ位置503のY座標については、推定して求める必要がある。そこで、センサ位置のX座標として記憶した履歴50の中から、センサ位置503のX座標に最も近いセンサ位置505を抽出する。さらに、センサ位置503の方向で、センサ位置505に隣接したセンサ位置506を抽出する。センサ位置505とセンサ位置506のY座標を結んだ直線上にあるセンサ位置503のY座標を求める。さらに、センサ位置505のX座標と放物線Aから、センサ位置505に対応した検知距離の近似値L2を求める。 Next, the detection distance L1 at the vertex of the parabola A calculated at S311 and the detection distance L2 at the point on the parabola A that is a predetermined amount (for example, about 1 mm to 1 cm) away from the vertex are calculated (S312). If the process of S312 is demonstrated with reference to FIG. 21, the vertex 502 of the parabola 501 will be extracted. At this time, the Y coordinate of the vertex 502 is the approximate value L1 of the detection distance, and the X coordinate is the X coordinate of the sensor position 503 with respect to L1. However, the sensor position 503 is not stored because it is not the sensor position at the moment when the distance is actually detected. Therefore, it is necessary to estimate and obtain the Y coordinate of the sensor position 503. Therefore, the sensor position 505 closest to the X coordinate of the sensor position 503 is extracted from the history 50 stored as the X coordinate of the sensor position. Further, a sensor position 506 adjacent to the sensor position 505 is extracted in the direction of the sensor position 503. The Y coordinate of the sensor position 503 on the straight line connecting the Y coordinates of the sensor position 505 and the sensor position 506 is obtained. Further, an approximate value L2 of the detection distance corresponding to the sensor position 505 is obtained from the X coordinate of the sensor position 505 and the parabola A.
 次に、S312で算出した検知距離L1、L2とそれら検知距離に対応するセンサ位置とを用いて、三角測量(上記式1~式6)により定まる点Bを頂点反射点として算出する(S313)。図21の例では、センサ位置503を中心とし検知距離L1を半径とした円弧(図示外)と、センサ位置505を中心とし検知距離L2を半径とした円弧(図示外)の交点47を頂点反射点として算出する。 Next, using the detection distances L1 and L2 calculated in S312 and the sensor positions corresponding to the detection distances, a point B determined by triangulation (the above formulas 1 to 6) is calculated as a vertex reflection point (S313). . In the example of FIG. 21, the intersection 47 of an arc (not shown) centered on the sensor position 503 with a detection distance L1 as a radius and an arc 47 (not shown) centered on the sensor position 505 and a detection distance L2 as a radius is reflected at the vertex. Calculate as a point.
 次に、S313で算出した頂点反射点Bを頂点とし、端点CorrectEdge(図6のS107又はS114で算出)の反射点Rflt(CorrectEdge)を通る放物線Cを算出する(S314)。図21の例では、頂点反射点47を頂点とし、反射点421を通る放物線510を算出する。 Next, a parabola C passing through the reflection point Rflt (CorrectEdge) of the end point CorrectEdge (calculated in S107 or S114 in FIG. 6) is calculated using the vertex reflection point B calculated in S313 as a vertex (S314). In the example of FIG. 21, the parabola 510 passing through the reflection point 421 is calculated with the vertex reflection point 47 as the vertex.
 次に、頂点反射点Bとの奥行き方向(Y方向)の差分が予め定められた閾値th3となる点をコーナーとして決定する(S315)。この閾値th3は、図3のS23の処理で使用する閾値th1(図14参照)や、S24の処理で使用する閾値th2(図16参照)に相当する。図21の例では、頂点反射点47から奥行き方向に閾値th3だけ離れた点48をコーナー位置として決定する。 Next, a point where the difference in the depth direction (Y direction) from the vertex reflection point B is a predetermined threshold th3 is determined as a corner (S315). This threshold th3 corresponds to the threshold th1 (see FIG. 14) used in the processing of S23 in FIG. 3 and the threshold th2 (see FIG. 16) used in the processing of S24. In the example of FIG. 21, a point 48 that is separated from the vertex reflection point 47 by a threshold th3 in the depth direction is determined as a corner position.
 次に、S315で決定した1台目の駐車車両71のコーナーと、2台目の駐車車両72のコーナーの間を駐車空間として決定する(S316)。その後、図20の処理を終了して、図3のS25の処理に移行する。 Next, a space between the corner of the first parking vehicle 71 determined in S315 and the corner of the second parking vehicle 72 is determined as a parking space (S316). Thereafter, the process of FIG. 20 is terminated, and the process proceeds to S25 of FIG.
 このように、S18でMethod≠1の場合には、精度低反射点の補正、過剰補正、補正不足の処理(S20、S23、S24)を経ないで直接コーナーを決定している。よって、精度低反射点の補正、過剰補正、補正不足の処理を省略できるので、計算負荷を軽減できる。また、コーナーの検知に使用する反射点が頂点反射点47と反射点421の2点だけなので、頂点反射点47と反射点421の間の反射点の算出を省略できる。 As described above, when Method ≠ 1 in S18, the corner is determined directly without passing through the low-reflective point correction, overcorrection, and undercorrection processing (S20, S23, S24). Therefore, the correction of the low reflection point, the overcorrection, and the undercorrection process can be omitted, and the calculation load can be reduced. Further, since there are only two reflection points used for corner detection, the vertex reflection point 47 and the reflection point 421, calculation of the reflection point between the vertex reflection point 47 and the reflection point 421 can be omitted.
 (第2実施形態)
 次に、本開示に係る物体検知装置の第2実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態の物体検知装置の構成は、図1の構成と同じである。また、ECU11は、図3のフローチャートの処理を実行する。このとき、S16の処理の詳細、つまり、精度低範囲の抽出方法が第1実施形態と異なっている。
(Second Embodiment)
Next, a second embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above embodiment. The configuration of the object detection device of the present embodiment is the same as the configuration of FIG. Further, the ECU 11 executes the processing of the flowchart of FIG. At this time, the details of the processing of S16, that is, the extraction method of the low accuracy range is different from the first embodiment.
 先ず、図22を参照して、本実施形態における精度低範囲の抽出方法の考え方を説明する。図22は、図7のB部の拡大図であり、コーナー7a付近における反射点4の履歴の様子を示している。図22では、ライン400より左側の反射面74は面角度が急の反射面としている。図8で説明したように、面角度が急な反射面では、測距センサ2の移動量に対する検知距離の変化量が大きくなるので、三角測量の原理により推定された反射点の精度は悪くなる。よって、図22に示すように、ライン400より左側の反射点41は、右側の反射点4に比べて、反射面74に対する誤差が大きくなる。そこで、S16では、反射点4の履歴から求まる反射面73の角度を算出する。そして、その角度が閾値以上となる反射面731を構成する反射点41の範囲40を精度低範囲として抽出している。 First, with reference to FIG. 22, the concept of an extraction method with a low accuracy range in this embodiment will be described. FIG. 22 is an enlarged view of a portion B in FIG. 7, and shows a history of the reflection point 4 in the vicinity of the corner 7a. In FIG. 22, the reflection surface 74 on the left side of the line 400 is a reflection surface having a steep surface angle. As described with reference to FIG. 8, since the amount of change in the detection distance with respect to the movement amount of the distance measuring sensor 2 is large on the reflection surface with a steep surface angle, the accuracy of the reflection point estimated by the triangulation principle is deteriorated. . Therefore, as shown in FIG. 22, the reflection point 41 on the left side of the line 400 has a larger error with respect to the reflection surface 74 than the reflection point 4 on the right side. Therefore, in S16, the angle of the reflection surface 73 obtained from the history of the reflection point 4 is calculated. And the range 40 of the reflective point 41 which comprises the reflective surface 731 whose angle becomes more than a threshold value is extracted as a low precision range.
 以下、図23を参照して、S16の処理の詳細を説明する。図23はS16の詳細のフローチャートである。図23に移行すると、先ず、例えば2台目開始点Car2Start=0か否かを判定することで、1台目の駐車車両71に対して処理を行うのか、2台目の駐車車両72に対して処理を行うのかを判断する(S171)。2台目開始点Car2Start=0の場合には(S171:Yes)、1台目の駐車車両71に対して処理を行うとして、S172に移行する。 Hereinafter, the details of the processing of S16 will be described with reference to FIG. FIG. 23 is a detailed flowchart of S16. 23, first, for example, by determining whether or not the second start point Car2Start = 0, whether to process the first parked vehicle 71 or not To determine whether to perform the process (S171). When the second vehicle start point Car2Start = 0 (S171: Yes), the first parking vehicle 71 is assumed to be processed, and the process proceeds to S172.
 S172では、1台目終了点Car1Endにおける反射面角度RfltAngle(Car1End)を算出する。具体的には、1台目終了点Car1Endにおける反射点Rflt(Car1End)と、1つ前の計測カウント(Car1End-1)における反射点Rflt(Car1End-1)とで構成される反射面を求める。そして、その反射面の、X軸方向(車両6の移動方向)に対する角度をRfltAngle(Car1End)として算出する。図22の例では、反射点411が反射点Rflt(Car1End)とすると、反射点411とその隣りの反射点413とで構成される反射面731aと、X軸方向に対応する基準線P6との角度γを反射面角度RfltAngle(Car1End)として算出する。 In S172, the reflection surface angle RfltAngle (Car1End) at the first vehicle end point Car1End is calculated. Specifically, a reflection surface is obtained that is composed of a reflection point Rflt (Car1End) at the first end point Car1End and a reflection point Rflt (Car1End-1) at the previous measurement count (Car1End-1). Then, the angle of the reflecting surface with respect to the X-axis direction (the moving direction of the vehicle 6) is calculated as RfltAngle (Car1End). In the example of FIG. 22, when the reflection point 411 is the reflection point Rflt (Car1End), the reflection surface 731a composed of the reflection point 411 and the adjacent reflection point 413, and the reference line P6 corresponding to the X-axis direction The angle γ is calculated as the reflection surface angle RfltAngle (Car1End).
 次に、反射面角度RfltAngle(Car1End)が予め定められた閾値th3より大きいか否かを判断する(S173)。小さい場合には(S173:No)、S180に移行し、精度低範囲は存在しないと判断する。この場合には、車両6がコーナー付近に未だ到達していない状況や、到達しているがコーナーの面角度が緩やかとなっている状況が想定される。S180の後、図23のフローチャートの処理を終了する。 Next, it is determined whether or not the reflection surface angle RfltAngle (Car1End) is larger than a predetermined threshold th3 (S173). If it is smaller (S173: No), the process proceeds to S180, and it is determined that there is no low accuracy range. In this case, a situation in which the vehicle 6 has not yet reached the corner or a situation in which the vehicle 6 has reached but the corner surface angle is gentle is assumed. After S180, the process of the flowchart of FIG.
 S173にて、反射面角度RfltAngle(Car1End)が閾値th3より大きい場合には(S173:Yes)、S174に移行する。S174では、着目する計測カウントjを1台目終了点Car1Endに設定する。次に、計測カウントjにおける反射面角度RfltAngle(j)を算出する(S175)。具体的には、S172と同様に、計測カウントjにおける反射点Rflt(j)と1つ前の計測カウントj-1における反射点Rflt(j-1)とを用いて、反射面角度RfltAngle(j)を算出する。 In S173, when the reflection surface angle RfltAngle (Car1End) is larger than the threshold th3 (S173: Yes), the process proceeds to S174. In S174, the target measurement count j is set to the first vehicle end point Car1End. Next, the reflection surface angle RfltAngle (j) at the measurement count j is calculated (S175). Specifically, similar to S172, using the reflection point Rflt (j) at the measurement count j and the reflection point Rflt (j-1) at the previous measurement count j-1, the reflection surface angle RfltAngle (j ) Is calculated.
 次に、反射面角度RfltAngle(j)が閾値th3より小さいか否かを判断する(S176)。大きい場合には(S176:No)、S177に移行し、計測カウントjが1台目開始点Car1Startに達したか否かを判断する。未だ達していない場合には(S177:No)、S178に移行し、計測カウントjを1つ前の値に更新する(j=j-1)。その後、S175に戻って、更新後の計測カウントjに対して、上述のS175、S176の処理を行う。このように、S175~S178の処理が繰り返されることで、1台目終了点Car1Endから1台目開始点Car1Startに向かって、閾値th3より大きい反射面角度を有した反射点の範囲が抽出される。 Next, it is determined whether or not the reflection surface angle RfltAngle (j) is smaller than the threshold th3 (S176). When it is larger (S176: No), the process proceeds to S177, and it is determined whether or not the measurement count j has reached the first start point Car1Start. If not reached yet (S177: No), the process proceeds to S178, and the measurement count j is updated to the previous value (j = j-1). Thereafter, the process returns to S175, and the processes of S175 and S176 described above are performed on the updated measurement count j. As described above, by repeating the processes of S175 to S178, a range of reflection points having a reflection surface angle larger than the threshold th3 is extracted from the first vehicle end point Car1End toward the first vehicle start point Car1Start. .
 S176において、反射面角度RfltAngle(j)が閾値th3より小さい場合には(S176:Yes)、S179に移行する。そして、範囲開始点AreaStart(精度低範囲の開始点に対応する計測カウント)を計測カウントj+1に設定する(S179)。また、範囲終了点AreaEnd(精度低範囲の終了点に対応する計測カウント)を1台目終了点Car1Endに設定する(S179)。また、端点CorrectEdgeを計測カウントjに設定する(S179)。つまり、S179では、計測カウントがj+1からCar1Endまでの範囲を精度低範囲として抽出する。図22の例では、ライン400より左側の範囲40が精度低範囲として抽出されることになる。S179の後、図23のフローチャートの処理を終了する。 In S176, when the reflection surface angle RfltAngle (j) is smaller than the threshold th3 (S176: Yes), the process proceeds to S179. Then, the range start point AreaStart (measurement count corresponding to the start point of the low accuracy range) is set to the measurement count j + 1 (S179). Further, the range end point AreaEnd (measurement count corresponding to the end point of the low accuracy range) is set to the first end point Car1End (S179). Further, the end point CorrectEdge is set to the measurement count j (S179). That is, in S179, the range from the measurement count j + 1 to Car1End is extracted as the low accuracy range. In the example of FIG. 22, the range 40 on the left side of the line 400 is extracted as the low accuracy range. After S179, the process of the flowchart in FIG.
 S177において、計測カウントjが1台目開始点Car1Startに達した場合には(S177:Yes)、S180に移行し、精度低範囲は存在しないと判断する。このようにしているのは、1台目終了点Car1Endから1台目開始点Car1Startまでの全範囲に亘って、反射面角度が閾値th3より大きくなっており、想定外の状況となっているためである。その後、図23のフローチャートの処理を終了する。 In S177, when the measurement count j reaches the first start point Car1Start (S177: Yes), the process proceeds to S180, and it is determined that there is no low accuracy range. This is because the reflection surface angle is larger than the threshold th3 over the entire range from the first vehicle end point Car1End to the first vehicle start point Car1Start, which is an unexpected situation. It is. Thereafter, the process of the flowchart of FIG.
 一方、S171において、2台目開始点Car2Start≠0の場合には(S171:No)、2台目の駐車車両72に対する処理を行うとして、S181に移行する。S181以降の処理では、上述のS172~S180の処理と同様に、閾値th3より大きい反射面角度を有した反射点の範囲を精度低範囲として抽出する。このとき、2台目開始点Car2Startから2台目終了点Car2Endに向かって、精度低範囲を抽出する。 On the other hand, in S171, when the second vehicle start point Car2Start ≠ 0 (S171: No), the processing for the second parked vehicle 72 is performed and the process proceeds to S181. In the processing after S181, similar to the processing in S172 to S180 described above, the range of the reflection point having the reflection surface angle larger than the threshold th3 is extracted as the low accuracy range. At this time, the low accuracy range is extracted from the second vehicle start point Car2Start toward the second vehicle end point Car2End.
 すなわち、S181では、2台目開始点Car2Startにおける反射点Rflt(Car2Start)と、その次の計測カウント(Car2Start+1)における反射点Rflt(Car2Start+1)とを用いて、2台目開始点Car2Startにおける反射面角度RfltAngle(Car2Start)を算出する。 That is, in S181, using the reflection point Rflt (Car2Start) at the second start point Car2Start and the reflection point Rflt (Car2Start + 1) at the next measurement count (Car2Start + 1), the reflection surface angle at the second start point Car2Start RfltAngle (Car2Start) is calculated.
 次に、反射面角度RfltAngle(Car2Start)が閾値th3より大きいか否かを判断する(S182)。小さい場合には(S182:No)、S189に移行して、精度低範囲は存在しないと判断する。その後、図23のフローチャートの処理を終了する。反射面角度RfltAngle(Car2Start)が閾値th3より大きい場合には(S182:Yes)、S183に移行する。S183では、着目する計測カウントjを2台目開始点Car2Startに設定する。次に、S175と同様に、計測カウントjにおける反射面角度RfltAngle(j)を算出する(S184)。次に、反射面角度RfltAngle(j)が閾値th3より小さいか否かを判断する(S185)。大きい場合には(S185:No)、S186に移行し、計測カウントjが2台目終了点Car2Endに達したか否かを判断する。未だ達していない場合には(S186:No)、S187に移行し、計測カウントjを次の値に更新する(j=j+1)。その後、S184に戻って、更新後の計測カウントjに対して上述のS184、S185の処理を行う。 Next, it is determined whether or not the reflection surface angle RfltAngle (Car2Start) is larger than the threshold th3 (S182). When it is smaller (S182: No), the process proceeds to S189, and it is determined that there is no low accuracy range. Thereafter, the process of the flowchart of FIG. When the reflection surface angle RfltAngle (Car2Start) is larger than the threshold th3 (S182: Yes), the process proceeds to S183. In S183, the target measurement count j is set to the second start point Car2Start. Next, similarly to S175, the reflection surface angle RfltAngle (j) at the measurement count j is calculated (S184). Next, it is determined whether or not the reflection surface angle RfltAngle (j) is smaller than the threshold th3 (S185). When it is larger (S185: No), the process proceeds to S186, and it is determined whether or not the measurement count j has reached the second vehicle end point Car2End. If not reached yet (S186: No), the process proceeds to S187, and the measurement count j is updated to the next value (j = j + 1). Thereafter, the process returns to S184, and the processes of S184 and S185 described above are performed on the updated measurement count j.
 反射面角度RfltAngle(Car2Start)が閾値th3より小さい場合には(S185:Yes)、S188に移行する。そして、範囲開始点AreaStartを2台目開始点Car2Startに、範囲終了点AreaEndを計測カウントj-1に設定する(S188)。また、端点CorrectEdgeを計測カウントjに設定する(S179)。その後、図23のフローチャートの処理を終了する。また、S186において、計測カウントjが2台目終了点Car2Endに達した場合には(S186:Yes)、S189に移行し、精度低範囲は存在しないと判断する。その後、図23のフローチャートの処理を終了する。 When the reflection surface angle RfltAngle (Car2Start) is smaller than the threshold th3 (S185: Yes), the process proceeds to S188. Then, the range start point AreaStart is set to the second vehicle start point Car2Start, and the range end point AreaEnd is set to the measurement count j−1 (S188). Further, the end point CorrectEdge is set to the measurement count j (S179). Thereafter, the process of the flowchart of FIG. In S186, when the measurement count j reaches the second end point Car2End (S186: Yes), the process proceeds to S189, and it is determined that there is no low accuracy range. Thereafter, the process of the flowchart of FIG.
 図3の説明に戻り、S16で精度低範囲を抽出した場合には(S17:Yes)、第1実施形態と同様に、S18でMethod=1のときには精度低範囲の反射点の補正を行う(S19~S22)。このとき、図22の反射点421(精度低範囲40の端に隣接する反射点)における反射波の到来方向を用いて、精度低範囲40における各反射点41の補正を行う。図3のその他の処理は第1実施形態と同じである。 Returning to the description of FIG. 3, when the low accuracy range is extracted in S16 (S17: Yes), the reflection point in the low accuracy range is corrected when Method = 1 in S18 as in the first embodiment (S18). S19 to S22). At this time, each reflection point 41 in the low accuracy range 40 is corrected using the arrival direction of the reflected wave at the reflection point 421 (reflection point adjacent to the end of the low accuracy range 40) in FIG. Other processes in FIG. 3 are the same as those in the first embodiment.
 以上説明したように、本実施形態によれば、第1実施形態と同様の効果を得ることができる。さらに、本実施形態では、閾値より大きい面角度の反射点の範囲を精度低範囲として抽出しているので、反射点の履歴に折り返しが発生していなくても、又は発生する前に、反射点の補正を行うことができる。 As described above, according to this embodiment, the same effect as that of the first embodiment can be obtained. Furthermore, in the present embodiment, since the range of the reflection point having a surface angle larger than the threshold is extracted as the low accuracy range, the reflection point is not generated or has not occurred before the reflection point history occurs. Can be corrected.
 (第3実施形態)
 次に、本開示に係る物体検知装置の第3実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態の物体検知装置の構成は図1の構成と同じである。また、ECU11は、図3のフローチャートの処理を実行する。このとき、S20の処理の詳細、つまり精度低反射点の補正方法が上記実施形態と異なっている。
(Third embodiment)
Next, a third embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above embodiment. The configuration of the object detection apparatus of the present embodiment is the same as the configuration of FIG. Further, the ECU 11 executes the processing of the flowchart of FIG. At this time, the details of the processing of S20, that is, the correction method of the low accuracy reflection point is different from the above embodiment.
 先ず、図24、図25を参照して、本実施形態における精度低反射点の補正方法の考え方を説明する。図24に示すように、測距センサ2から送信された探査波231が平面500に対して入射角αで入射したとする。このとき、反射の法則により、反射波232の反射角βは入射角αと等しくなる。よって、測距センサ2は、理論上、反射角βの方向に位置していなければ反射波232を受信できないが、実際は、入射角αがある程度小さいとき(面角度が緩やかなとき)には反射波232を受信できる。しかし、入射角αが大きいとき(面角度が急のとき)には、測距センサ2は反射波232を受信できなくなる。そして、本実施形態では、駐車車両のコーナー付近では、測距センサ2が反射波を受信できる限界の面角度となっている微小平面が連続しており、全体として凸曲面状となっていると仮定する。 First, with reference to FIG. 24 and FIG. 25, the concept of the method of correcting the low reflection point accuracy in this embodiment will be described. As shown in FIG. 24, it is assumed that the exploration wave 231 transmitted from the distance measuring sensor 2 is incident on the plane 500 at an incident angle α. At this time, according to the law of reflection, the reflection angle β of the reflected wave 232 is equal to the incident angle α. Therefore, the distance measuring sensor 2 theoretically cannot receive the reflected wave 232 unless it is positioned in the direction of the reflection angle β, but in reality, it is reflected when the incident angle α is small to some extent (when the surface angle is gentle). Wave 232 can be received. However, when the incident angle α is large (when the surface angle is steep), the distance measuring sensor 2 cannot receive the reflected wave 232. In the present embodiment, near the corner of the parked vehicle, a minute plane having a limit surface angle at which the distance measuring sensor 2 can receive the reflected wave is continuous, and has a convex curved surface as a whole. Assume.
 図25を参照してこの仮定及びこの仮定に基づく補正の考え方についてさらに説明する。図25は、連続する3つの計測カウントj-2、j-1、jにおける測距センサのセンサ位置241、242、243と、センサ位置241、242で検知された反射点422、423を示している。それら反射点422、423は補正の必要のない又は補正済みの正常反射点である。なお、センサ位置243(対象センサ位置)での反射点41(補正対象反射点)は精度低反射点であり、図25は、その反射点41を補正する場面を示している。今、測距センサがセンサ位置242(隣接センサ位置)にあるとすると、その測距センサは、反射点422、423から構成される反射面732(隣接反射面)で反射した反射波を受信したと考えることができる。上記仮定のもとでは、反射面732は、センサ位置242での測距センサが反射波を受信できる限界の面角度となっている。また、上記仮定のもとでは、反射面732に連続するように、センサ位置242にとって反射波を受信できる限界の面角度となっている反射面733が形成されていると考えることができる。それら反射面732、733で凸曲面状となっている。そして、測距センサがセンサ位置243にあるとすると、その測距センサは反射面733で反射した反射波を受信したと考えることができる。つまり、センサ位置243での真の反射点は反射面733上にあると考えることができる。よって、本実施形態では、反射面733を推定し、この反射面733上にくるように精度低反射点41を補正している。 This assumption and the concept of correction based on this assumption will be further described with reference to FIG. FIG. 25 shows sensor positions 241, 242, and 243 of the distance measuring sensor at three consecutive measurement counts j−2, j−1, and j, and reflection points 422 and 423 detected at the sensor positions 241 and 242. Yes. These reflection points 422 and 423 are normal reflection points that do not require correction or have been corrected. Note that the reflection point 41 (correction target reflection point) at the sensor position 243 (target sensor position) is a low precision reflection point, and FIG. 25 shows a scene where the reflection point 41 is corrected. Assuming that the distance measuring sensor is at the sensor position 242 (adjacent sensor position), the distance measuring sensor receives the reflected wave reflected by the reflecting surface 732 (adjacent reflecting surface) composed of the reflection points 422 and 423. Can be considered. Under the above assumption, the reflection surface 732 has a limit surface angle at which the distance measuring sensor at the sensor position 242 can receive the reflected wave. Under the above assumption, it can be considered that the reflection surface 733 having a limit surface angle at which the sensor position 242 can receive the reflected wave is formed so as to be continuous with the reflection surface 732. The reflecting surfaces 732 and 733 form a convex curved surface. If the distance measuring sensor is at the sensor position 243, it can be considered that the distance measuring sensor has received the reflected wave reflected by the reflecting surface 733. That is, it can be considered that the true reflection point at the sensor position 243 is on the reflection surface 733. Therefore, in the present embodiment, the reflection surface 733 is estimated, and the low-precision reflection point 41 is corrected so as to be on the reflection surface 733.
 以下、図26を参照して、本実施形態の補正方法の詳細を説明する。図26は、図3のS20の詳細のフローチャートである。図26の処理に移行すると、先ず、計測カウントj-1での反射面RfltAngle(j-1)の法線方向を算出する(S191)。具体的には、図25の例で説明すると、計測カウントj-1での反射点423(隣接反射点)と計測カウントj-2での反射点422とを結んだ直線732(反射面)をRfltAngle(j-1)として設定する。そして、反射面732に垂直な直線151を、RfltAngle(j-1)の法線として設定する。 Hereinafter, details of the correction method of the present embodiment will be described with reference to FIG. FIG. 26 is a detailed flowchart of S20 of FIG. When the process proceeds to FIG. 26, first, the normal direction of the reflection surface RfltAngle (j−1) at the measurement count j−1 is calculated (S191). Specifically, in the example of FIG. 25, a straight line 732 (reflection surface) connecting the reflection point 423 (adjacent reflection point) at the measurement count j-1 and the reflection point 422 at the measurement count j-2 is represented. Set as RfltAngle (j-1). Then, a straight line 151 perpendicular to the reflecting surface 732 is set as a normal line of Rflt Angle (j−1).
 次に、計測カウントj-1での反射点Rflt(j-1)とセンサ位置Attd(j-1)とを結ぶ直線Line1(j-1)と、S191で算出した法線との成す角度dAngle(j-1)を算出する(S192)。図25の例では、反射点423とセンサ位置242とを結ぶ直線152と法線151との成す角度δを算出する。 Next, an angle dAngle formed by a straight line Line1 (j-1) connecting the reflection point Rflt (j-1) and the sensor position Attd (j-1) at the measurement count j-1 and the normal calculated in S191. (J-1) is calculated (S192). In the example of FIG. 25, an angle δ formed by a straight line 152 connecting the reflection point 423 and the sensor position 242 and a normal line 151 is calculated.
 次に、直線Line1(j-1)との成す角度が-dAngle(j-1)となる直線Line2(j-1)を算出する(S193)。図25の例では、直線152との成す角度が-δとなる直線153を算出する。 Next, a straight line Line2 (j−1) in which the angle formed with the straight line Line1 (j−1) is −dAngle (j−1) is calculated (S193). In the example of FIG. 25, a straight line 153 having an angle of −δ with the straight line 152 is calculated.
 次に、反射点Rflt(j-1)を通り、直線Line2(j-1)に垂直な直線を、補正反射面CorrectLine(j)として算出する(S194)。図25の例では、反射点423を通り、直線153に垂直な直線733を補正反射面CorrectLine(j)として算出する。上記仮定のもとでは、反射面RfltAngle(j-1)及び補正反射面CorrectLine(j)が、センサ位置Attd(j-1)で反射波を受信できる限界の面角度となる反射面とされる。そして、計測カウントjでは、この補正反射面CorrectLine(j)から反射波が返ってくると考えることができる。 Next, a straight line that passes through the reflection point Rflt (j-1) and is perpendicular to the straight line Line2 (j-1) is calculated as a corrected reflection surface CorrectLine (j) (S194). In the example of FIG. 25, a straight line 733 that passes through the reflection point 423 and is perpendicular to the straight line 153 is calculated as the corrected reflection surface CorrectLine (j). Under the above assumption, the reflection surface RfltAngle (j−1) and the correction reflection surface CorrectLine (j) are the reflection surfaces having the limit surface angle at which the reflected wave can be received at the sensor position Attd (j−1). . In the measurement count j, it can be considered that the reflected wave returns from the corrected reflection surface CorrectLine (j).
 次に、補正反射面CorrectLine(j)と、計測カウントjでのセンサ位置Attd(j)を中心、検知距離L(j)を半径とする円弧との交点に、精度低反射点Rflt(j)を補正する(S195)。図25の例では、直線733と、センサ位置243を中心、検知距離L(j)を半径とする円弧154との交点433に、精度低反射点41を補正する。S195の後、図26のフローチャートの処理を終了する。 Next, an accurate low reflection point Rflt (j) at the intersection of the corrected reflection surface CorrectLine (j) and an arc whose center is the sensor position Attd (j) at the measurement count j and whose radius is the detection distance L (j). Is corrected (S195). In the example of FIG. 25, the low-precision reflection point 41 is corrected to the intersection 433 of the straight line 733 and the arc 154 having the sensor position 243 as the center and the detection distance L (j) as the radius. After S195, the process of the flowchart of FIG.
 図3の説明に戻り、S21において計測カウントjが範囲終了点AreaEndに未だ達していない場合は(S21:No)、計測カウントjを次の値に更新する(S22)。そして、更新後の計測カウントjに対してS20の処理を行う。このとき、前回のS20の処理で補正された補正反射点を、計測カウントj-1での反射点Rflt(j-1)とする。つまり、図25の例では、補正反射点433を反射点Rflt(j-1)とする。そして、補正反射点433とその前の反射点423とから構成される反射面を反射面RfltAngle(j-1)とし、その反射面RfltAngle(j-1)に基づき、今回の計測カウントjでの補正反射面CorrectLine(j)を算出する。図3のその他の処理は第1、第2実施形態と同じである。 Returning to the description of FIG. 3, when the measurement count j has not yet reached the range end point AreaEnd in S21 (S21: No), the measurement count j is updated to the next value (S22). Then, the process of S20 is performed on the updated measurement count j. At this time, the corrected reflection point corrected in the previous processing of S20 is set as the reflection point Rflt (j-1) in the measurement count j-1. That is, in the example of FIG. 25, the corrected reflection point 433 is set as the reflection point Rflt (j−1). Then, the reflection surface composed of the corrected reflection point 433 and the previous reflection point 423 is defined as a reflection surface RfltAngle (j−1), and based on the reflection surface RfltAngle (j−1), the current measurement count j The corrected reflection surface CorrectLine (j) is calculated. The other processes in FIG. 3 are the same as those in the first and second embodiments.
 以上説明したように、本実施形態によれば、第1、第2実施形態と同様の効果を得ることができる。さらに、本実施形態では、反射点を補正した場合には、その補正反射点を用いて次の精度低反射点を補正しているので、どの精度低反射点の補正を行うときにも各精度低反射点に直近の正常反射点を補正に反映させることができる。 As described above, according to this embodiment, the same effects as those of the first and second embodiments can be obtained. Further, in the present embodiment, when the reflection point is corrected, the next accuracy low reflection point is corrected using the corrected reflection point. The normal reflection point closest to the low reflection point can be reflected in the correction.
 (第4実施形態)
 次に、本開示に係る物体検知装置の第4実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態の物体検知装置の構成は図1の構成と同じである。また、ECU11は、図3のフローチャートの処理を実行する。このとき、S20の処理の詳細、つまり精度低反射点の補正方法が上記実施形態と異なっている。なお、本実施形態の補正方法は、第1実施形態における精度低範囲40(図9参照)の反射点41に対する補正に好適である。つまり、反射点の履歴に折り返しが発生した場合のその折り返し範囲における反射点の補正に好適である。
(Fourth embodiment)
Next, a fourth embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above embodiment. The configuration of the object detection apparatus of the present embodiment is the same as the configuration of FIG. Further, the ECU 11 executes the processing of the flowchart of FIG. At this time, the details of the processing of S20, that is, the correction method of the low accuracy reflection point is different from the above embodiment. Note that the correction method of the present embodiment is suitable for correcting the reflection point 41 in the low accuracy range 40 (see FIG. 9) in the first embodiment. That is, it is suitable for correcting the reflection point in the return range when the return point history is turned back.
 図27、図28を参照して、本実施形態の補正方法を説明する。図27は、S20の詳細のフローチャートである。図28は、図7のB部の拡大図であり、コーナー7a付近の反射点4の様子を示している。図28には、反射点4の履歴が折り返された範囲40(精度低範囲)と、その精度低範囲40における反射点41を補正した後の補正反射点434を図示している。 The correction method of this embodiment will be described with reference to FIGS. FIG. 27 is a detailed flowchart of S20. FIG. 28 is an enlarged view of a portion B in FIG. 7 and shows a state of the reflection point 4 near the corner 7a. FIG. 28 illustrates a range 40 (low accuracy range) in which the history of the reflection point 4 is folded, and a corrected reflection point 434 after correcting the reflection point 41 in the low accuracy range 40.
 図27の処理に移行すると、端点CorrectEdgeでの反射点Rflt(CorrectEdge)に対する、計測カウントjでの精度低反射点Rflt(j)の点対称となる点に、その精度低反射点Rflt(j)を補正する(S201)。図28の例では、精度低範囲40の端に隣接する正常反射点421を反射点Rflt(CorrectEdge)として、その正常反射点421に対する各精度低反射点41の対称となる点に、各精度低反射点41を補正する。具体的には、例えば精度低反射点41aは点434aの位置に、精度低反射点41bは点434bの位置に、精度低反射点41cは点434cの位置に補正される。これによって、反射点4の履歴の折り返しを解消でき、コーナー7aの端面付近にまで反射点4の履歴を延ばすことができる。図3のその他の処理は上記実施形態と同じである。 When the processing proceeds to FIG. 27, the accuracy low reflection point Rflt (j) is a point that is symmetrical with the accuracy low reflection point Rflt (j) at the measurement count j with respect to the reflection point Rflt (CorrectEdge) at the end point CollectEdge. Is corrected (S201). In the example of FIG. 28, the normal reflection point 421 adjacent to the end of the low accuracy range 40 is defined as a reflection point Rflt (CorrectEdge), and each accuracy low reflection point 41 is symmetric with respect to the normal reflection point 421. The reflection point 41 is corrected. Specifically, for example, the low accuracy reflection point 41a is corrected to the position of the point 434a, the low accuracy reflection point 41b is corrected to the position of the point 434b, and the low accuracy reflection point 41c is corrected to the position of the point 434c. Thereby, the return of the history of the reflection point 4 can be eliminated, and the history of the reflection point 4 can be extended to the vicinity of the end face of the corner 7a. The other processes in FIG. 3 are the same as in the above embodiment.
 以上説明したように、本実施形態によれば、上記実施形態と同様の効果を得ることができる。さらに、点対称の点を計算するだけで良いので、計算負荷を軽減できる。 As described above, according to this embodiment, the same effect as that of the above embodiment can be obtained. Furthermore, it is only necessary to calculate a point-symmetric point, so that the calculation load can be reduced.
 (第5実施形態)
 次に、本開示に係る物体検知装置の第5実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態の物体検知装置の構成は図1の構成と同じである。また、ECU11は、図3のフローチャートの処理を実行する。このとき、S20の処理の詳細、つまり精度低反射点の補正方法が上記実施形態と異なっている。
(Fifth embodiment)
Next, a fifth embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above embodiments. The configuration of the object detection apparatus of the present embodiment is the same as the configuration of FIG. Further, the ECU 11 executes the processing of the flowchart of FIG. At this time, the details of the processing of S20, that is, the correction method of the low accuracy reflection point is different from the above embodiment.
 図29、図30を参照して、本実施形態の補正方法を説明する。図29は、S20の詳細のフローチャートである。図30は、図7のB部の拡大図であり、コーナー7a付近の反射点4の様子を示している。図29の処理に移行すると、端点CorrectEdgeでの反射点Rflt(CorrectEdge)から、車両の移動方向又はその反対方向に予め定められた距離dだけオフセットした点に、計測カウントjでの精度低反射点Rflt(j)を補正する(S211)。なお、S211における車両の移動方向とは、計測カウントn=1における車両の移動方向(つまりX軸方向)であっても良いし、現時点における車両の移動方向であっても良い。このとき、図30のように、コーナー7aの端面7a1がX軸方向(車両の移動方向)に向いているときには(1台目の駐車車両に対する処理を行うときには)、車両の移動方向にオフセットする。他方、図11に示すように、コーナー72aの端面がX軸方向と反対方向(車両の移動方向と反対方向)に向いているときには(2台目の駐車車両に対する処理を行うときには)、車両の移動方向と反対方向にオフセットする。図30の例では、端点となる正常反射点421からX軸方向に距離dだけオフセットした点435に、精度低反射点41を補正する。なお、実車試験により、反射点Rflt(CorrectEdge)とコーナーの端面間の距離の実験値をいくつか収集し、収集した実験値に基づき距離dを設定すれば良い。これによって、反射点の履歴の先端を、コーナーの端面のX座標付近にまで延ばすことができる。 The correction method of this embodiment will be described with reference to FIGS. FIG. 29 is a detailed flowchart of S20. FIG. 30 is an enlarged view of a portion B in FIG. 7 and shows a state of the reflection point 4 near the corner 7a. When shifting to the processing of FIG. 29, the accuracy low reflection point at the measurement count j is set to a point offset from the reflection point Rflt (correctEdge) at the end point CorrectEdge by a predetermined distance d in the moving direction of the vehicle or the opposite direction thereof. Rflt (j) is corrected (S211). Note that the moving direction of the vehicle in S211 may be the moving direction of the vehicle (that is, the X-axis direction) at the measurement count n = 1, or may be the moving direction of the vehicle at the current time. At this time, as shown in FIG. 30, when the end surface 7a1 of the corner 7a is oriented in the X-axis direction (vehicle movement direction) (when processing is performed on the first parked vehicle), the vehicle is offset in the vehicle movement direction. . On the other hand, as shown in FIG. 11, when the end surface of the corner 72a faces in the direction opposite to the X-axis direction (the direction opposite to the moving direction of the vehicle) (when processing the second parked vehicle), Offset in the direction opposite to the direction of movement. In the example of FIG. 30, the low-accuracy reflection point 41 is corrected to a point 435 that is offset from the normal reflection point 421 as an end point by a distance d in the X-axis direction. In addition, it is only necessary to collect some experimental values of the distance between the reflection point Rflt (CorrectEdge) and the end face of the corner and set the distance d based on the collected experimental values by an actual vehicle test. As a result, the tip of the history of reflection points can be extended to near the X coordinate of the end face of the corner.
 図3の説明に戻り、S21において計測カウントjが範囲終了点AreaEndに未だ達していない場合は(S21:No)、計測カウントjを次の値に更新する(S22)。そして、更新後の計測カウントjに対してS20の処理を行う。このとき、今回の精度低反射点Rflt(j)も、図30の点435に補正される。つまり、本実施形態では、全ての精度低反射点が同じ位置に補正されることになる。なお、いずれか1つの精度低反射点のみを補正するようにしても良い。図3のその他の処理は上記実施形態と同じである。 Returning to the description of FIG. 3, when the measurement count j has not yet reached the range end point AreaEnd in S21 (S21: No), the measurement count j is updated to the next value (S22). Then, the process of S20 is performed on the updated measurement count j. At this time, the current low-reflection point Rflt (j) is also corrected to a point 435 in FIG. That is, in this embodiment, all the low accuracy reflection points are corrected to the same position. Note that only one of the low accuracy reflection points may be corrected. The other processes in FIG. 3 are the same as in the above embodiment.
 以上説明したように、本実施形態によれば、上記実施形態と同様の効果を得ることができる。さらに、オフセット位置を計算するだけで良いので、計算負荷を軽減できる。 As described above, according to this embodiment, the same effect as that of the above embodiment can be obtained. Furthermore, since it is only necessary to calculate the offset position, the calculation load can be reduced.
 (第6実施形態)
 次に、本開示に係る物体検知装置の第6実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態は、角型の物体の場合には、反射点の履歴に代えて、検知距離(測距点)の履歴に基づき物体のコーナーの位置を決定する開示に対応する実施形態である。本実施形態の物体検知装置の構成は図1の構成と同じである。ただし、ECU11が実行する駐車空間検知処理(物体検知処理)が上記実施形態と異なっている。以下、本実施形態の駐車空間検知処理(物体検知処理)を図31~図33を参照して説明する。図31は、コーナー付近が丸くなっている物体としての駐車車両7の検知場面を示している。なお、図31では、縦列駐車の駐車車両7の検知場面を示しているが、並列駐車の駐車車両の検知場面にも本実施形態を適用できる。図32は、コーナー付近が角型の(略直角に曲がった)物体としての角柱8(四角柱)の検知場面を示している。なお、図32では、車両6が角柱8の正面81に対してほぼ平行に移動している。図33は、本実施形態の駐車空間検知処理のフローチャートである。ECU11は、図3の処理に代えて、図33の処理を実行する。図33の処理は、例えば駐車空間の検知を指示するスイッチ(図示外)が車両6の乗員に操作されたときに開始される。
(Sixth embodiment)
Next, a sixth embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above embodiments. In the case of a rectangular object, this embodiment is an embodiment corresponding to the disclosure in which the position of the corner of the object is determined based on the history of the detection distance (ranging point) instead of the history of the reflection point. The configuration of the object detection apparatus of the present embodiment is the same as the configuration of FIG. However, the parking space detection process (object detection process) executed by the ECU 11 is different from the above embodiment. Hereinafter, the parking space detection process (object detection process) of this embodiment will be described with reference to FIGS. FIG. 31 shows a detection scene of the parked vehicle 7 as an object having a round corner. In addition, in FIG. 31, although the detection scene of the parking vehicle 7 of parallel parking is shown, this embodiment is applicable also to the detection scene of the parking vehicle of parallel parking. FIG. 32 shows a detection scene of the prism 8 (square prism) as an object having a square shape (bent substantially at a right angle) near the corner. In FIG. 32, the vehicle 6 is moving substantially parallel to the front surface 81 of the prism 8. FIG. 33 is a flowchart of the parking space detection process of the present embodiment. ECU11 performs the process of FIG. 33 instead of the process of FIG. The processing of FIG. 33 is started when a switch (not shown) for instructing detection of a parking space is operated by an occupant of the vehicle 6, for example.
 図33の処理を開始すると、先ず、以降の処理で使用する各種パラメータを初期化する(S31)。具体的には、図3のS11と同様に、時間t(n)をゼロに設定し、計測カウントnを1に設定する(S31)。また、現在検知対象としている物体が角型の物体かそれ以外の物体(以下、丸型の物体という)かを示した物体フラグFlagObjを角型の物体であることを示した値NonRoundに設定する(S31)。 33. When the process of FIG. 33 is started, first, various parameters used in the subsequent processes are initialized (S31). Specifically, similarly to S11 of FIG. 3, the time t (n) is set to zero, and the measurement count n is set to 1 (S31). Further, an object flag FlagObj indicating whether the object currently detected is a rectangular object or other object (hereinafter referred to as a round object) is set to a value NonRound indicating that the object is a rectangular object. (S31).
 次に、図3のS12と同様に、計測カウントnでの検知距離L(n)を測距センサ2から取得する(S32)。次に、図3のS13と同様に、計測カウントnでのセンサ位置Attdを算出する(S33)。次に、計測カウントnでのセンサ位置から測距センサ2の正面方向(車両6の側方)に検知距離L(n)だけ離れた測距点Dtctを算出する(S34)。この測距点Dtctは、図33の処理を開始した時点における測距センサ2の位置を原点O、その時点の車両6の移動方向をX軸、そのX軸に垂直な方向をY軸とした座標系(図31、図32参照)における座標(DtctX(n)、DtctY(n))として算出する。これによって、後述するS42で計測カウントnが更新されるにしたがって(車両6が移動するにしたがって)、図31、図32に示すように、車両6の側方に存在する物体7、8の面7b、81に沿って測距点9の履歴(点列)をプロットすることができる。 Next, as in S12 of FIG. 3, the detection distance L (n) at the measurement count n is acquired from the distance measuring sensor 2 (S32). Next, as in S13 of FIG. 3, the sensor position Attd at the measurement count n is calculated (S33). Next, a distance measuring point Dtct that is separated from the sensor position at the measurement count n by the detection distance L (n) in the front direction of the distance measuring sensor 2 (side of the vehicle 6) is calculated (S34). The distance measuring point Dtct has the position of the distance measuring sensor 2 at the time of starting the processing of FIG. 33 as the origin O, the moving direction of the vehicle 6 at that time as the X axis, and the direction perpendicular to the X axis as the Y axis. Calculated as coordinates (DtctX (n), DtctY (n)) in the coordinate system (see FIGS. 31 and 32). Accordingly, as the measurement count n is updated in S42 described later (as the vehicle 6 moves), as shown in FIGS. 31 and 32, the surfaces of the objects 7 and 8 existing on the side of the vehicle 6 are displayed. The history (point sequence) of the distance measuring point 9 can be plotted along 7b and 81.
 図31に示すように、検知対象とする物体が駐車車両7の場合には、コーナー7a付近が丸くなっており測距センサ2側に向いている。そのため、車両6(測距センサ2)が駐車車両7を通過した後もしばらくの間は、コーナー7a付近からの反射波は測距センサ2で受信される。その結果、コーナー7aの外側かつ駐車車両7の側面7bよりも奥行き方向側にプロットされる測距点973が存在する。よって、コーナー7a付近では、その測距点973と、側面7bに沿ってプロットされる測距点974とで、測距点9の履歴形状が曲線状となる。これに対し、図32の角柱8の場合には、上記で述べたように、測距点9の履歴範囲は、角柱8の正面81の範囲とほぼ一致する。よって、角柱8のコーナー8a付近では、測距点9の履歴形状が直線状となる。S35以降の処理では、コーナー付近における測距点(検知距離)の履歴形状が曲線状か直線状かによってコーナー位置の決定方法を変更している。 As shown in FIG. 31, when the object to be detected is a parked vehicle 7, the vicinity of the corner 7a is rounded and faces the distance measuring sensor 2 side. Therefore, the reflected wave from the vicinity of the corner 7a is received by the distance measuring sensor 2 for a while after the vehicle 6 (the distance measuring sensor 2) passes through the parked vehicle 7. As a result, there is a distance measuring point 973 that is plotted outside the corner 7a and closer to the depth side than the side surface 7b of the parked vehicle 7. Accordingly, in the vicinity of the corner 7a, the history shape of the distance measuring point 9 is a curved line by the distance measuring point 973 and the distance measuring point 974 plotted along the side surface 7b. On the other hand, in the case of the prism 8 of FIG. 32, as described above, the history range of the distance measuring point 9 substantially matches the range of the front surface 81 of the prism 8. Therefore, in the vicinity of the corner 8a of the prism 8, the history shape of the distance measuring point 9 is linear. In the processing after S35, the method for determining the corner position is changed depending on whether the history shape of the distance measuring point (detected distance) near the corner is curved or linear.
 すなわち、S35では、物体フラグFlagObjがNonRoundに設定されているか否かを判断する。S31で物体フラグFlagObjの初期値をNonRoundとしているので、S35では、初回は、物体フラグFlagObjがNonRoundに設定されている判断する(S35:Yes)。次に、コーナー付近の測距点の履歴形状が曲線状となっているか直線状となっているかを判断する(S36)。具体的には、例えば、測距点の履歴において、測距点が急激に変化する点を端点とし、その端点付近の範囲(例えば端点から1、2mの範囲)に含まれる測距点の履歴形状を判定する。このとき、例えば、測距点の履歴を曲線で近似したときと、直線で近似したときとで、どちらが良好に測距点の履歴を近似できるかを判断する。そして、曲線で近似したときのほうが良好に近似できるときには、測距点の履歴形状は曲線状であると判断する。これに対し、直線で近似したときのほうが良好に近似できるときには、測距点の履歴形状は直線状であると判断する。 That is, in S35, it is determined whether or not the object flag FlagObj is set to NonRound. Since the initial value of the object flag FlagObj is set to NonRound in S31, it is determined in S35 that the object flag FlagObj is set to NonRound for the first time (S35: Yes). Next, it is determined whether the history shape of the distance measuring points near the corner is curved or linear (S36). Specifically, for example, in a distance measurement point history, a point at which the distance measurement point changes abruptly is an end point, and a history of distance measurement points included in a range near the end point (for example, a range of 1 to 2 m from the end point). Determine the shape. At this time, for example, it is determined which can better approximate the distance measurement point history when the distance measurement point history is approximated by a curve or when the distance measurement point approximation is approximated by a straight line. If the approximation with a curve can be approximated better, it is determined that the history shape of the distance measuring point is a curve. On the other hand, when the approximation with a straight line can be better approximated, it is determined that the history shape of the distance measuring point is a straight line.
 S36において、測距点の履歴形状が曲線状の場合には(S36:Yes)、S37に移行し、物体フラグFlagObjを、丸型の物体であることを示した値Roundに設定する。次に、図3のS15と同様にして、検知距離Lの履歴とセンサ位置Attdの履歴とを用いて、三角測量の原理により(上記式1~式6により)、反射点Rflt(RfltX(n)、RfltY(n))を算出する(S38)。次に、反射点Rfltの履歴の端点RfltEdgeを、物体のコーナーの位置として決定する(S39)。図31の例では、反射点4の履歴の端点46が、駐車車両7のコーナー7aの位置に決定される。これにより、測距点9の履歴の端点971をコーナー7aの位置に決定したときよりも、実際のコーナー7aの位置に近づけることができる。 In S36, when the history shape of the distance measuring point is a curve (S36: Yes), the process proceeds to S37, and the object flag FlagObj is set to a value Round indicating that the object is a round object. Next, in the same manner as S15 in FIG. 3, using the history of the detection distance L and the history of the sensor position Attd, the reflection point Rflt (RfltX (n ), RfltY (n)) is calculated (S38). Next, the end point RfltEdge of the history of the reflection point Rflt is determined as the position of the corner of the object (S39). In the example of FIG. 31, the end point 46 of the history of the reflection point 4 is determined as the position of the corner 7 a of the parked vehicle 7. Thereby, it is possible to bring the end point 971 of the history of the distance measuring point 9 closer to the actual position of the corner 7a than when the position of the corner 7a is determined.
 次に、図3のS26と同様に、図33の処理の終了指示があるか否かを判断する(S41)。終了指示がない場合には(S41:No)、S42に移行し、計測カウントnを次の値に更新する(n=n+1)。その後、S32に戻って、更新後の計測カウントnに対して、上述のS32~S41を実行する。このとき、前回のS37の処理で、物体フラグFlagObjがRoundに設定されたので、今回のS35では、物体フラグFlagObjはRoundに設定されていると判断する(S35:No)。次にS38に移行して、反射点を算出する。つまり、測距点の履歴形状が一旦曲線状であると判断されたときには、以降はその履歴形状が判定されないで、計測カウントnが更新されるにしたがって反射点が逐次算出されていく。 Next, as in S26 of FIG. 3, it is determined whether there is an instruction to end the processing of FIG. 33 (S41). When there is no end instruction (S41: No), the process proceeds to S42, and the measurement count n is updated to the next value (n = n + 1). Thereafter, returning to S32, the above-described S32 to S41 are executed for the updated measurement count n. At this time, since the object flag FlagObj is set to Round in the previous processing of S37, it is determined that the object flag FlagObj is set to Round in S35 of this time (S35: No). Next, the process proceeds to S38, and the reflection point is calculated. That is, when it is determined that the history shape of the distance measuring point is once curved, the history shape is not determined thereafter, and the reflection point is sequentially calculated as the measurement count n is updated.
 一方、S36において、測距点の履歴形状が直線状の場合には(S36:No)、S40に移行する。S40では、反射点の算出を行わないで、測距点の履歴の端点DtctEdgeを物体のコーナーの位置として決定する。図32の例では、測距点9の履歴の端点972が角柱8のコーナー8aの位置として決定される。これにより、反射点でコーナー8aの位置を決定したときよりも、実際のコーナー8aの位置に近づけることができる。 On the other hand, when the history shape of the distance measuring points is a straight line in S36 (S36: No), the process proceeds to S40. In S40, the reflection point is not calculated, and the end point DtctEdge of the distance measurement point history is determined as the position of the corner of the object. In the example of FIG. 32, the end point 972 of the history of the distance measuring point 9 is determined as the position of the corner 8a of the prism 8. Thereby, it can be brought closer to the actual position of the corner 8a than when the position of the corner 8a is determined at the reflection point.
 次に、S41に移行し、図33の処理の終了指示があるか否かを判断する。終了指示がない場合には(S41:No)、S42に移行し、計測カウントnを次の値に更新する(n=n+1)。その後、S32に戻って、更新後の計測カウントnに対して、上述のS32~S41を実行する。このとき、S36で再度履歴形状を判定しているので、前回までは履歴形状が直線状であると判定した場合であっても、今回履歴形状が曲線状であると判定したときには、コーナー位置の決定方法を測距点の履歴を用いた方法から反射点の履歴を用いた方法に切り替えることができる。これは、前回までは、駐車車両7のコーナー7a付近まで車両6がまだ到達しておらず、今回は車両6がコーナー7a付近に到達した状況が想定される。 Next, the process proceeds to S41, and it is determined whether or not there is an instruction to end the process of FIG. When there is no end instruction (S41: No), the process proceeds to S42, and the measurement count n is updated to the next value (n = n + 1). Thereafter, returning to S32, the above-described S32 to S41 are executed for the updated measurement count n. At this time, since the history shape is determined again in S36, even if it is determined that the history shape is linear until the previous time, if it is determined that the current history shape is curved, The determination method can be switched from a method using a distance measurement point history to a method using a reflection point history. Until this time, it is assumed that the vehicle 6 has not yet reached the vicinity of the corner 7a of the parked vehicle 7, and this time the vehicle 6 has reached the vicinity of the corner 7a.
 その後、終了指示があった場合には(S41:Yes)、図33のフローチャートの処理を終了する。 Thereafter, when there is an end instruction (S41: Yes), the processing of the flowchart of FIG. 33 is ended.
 以上説明したように、本実施形態では、角型の物体を検知するときには、反射点を算出しないで、測距点の履歴からコーナーの位置を決定しているので、計算負荷を軽減できるとともに、コーナーの検知精度を向上できる。これによって、例えば立体駐車場、地下駐車場等の屋内駐車場のように、駐車空間が角柱で区切られている場合でも、その駐車空間を高精度に検知できる。 As described above, in the present embodiment, when detecting a rectangular object, the position of the corner is determined from the history of the distance measurement points without calculating the reflection point, so that the calculation load can be reduced, Corner detection accuracy can be improved. As a result, even when the parking space is divided by a prism, such as an indoor parking lot such as a multilevel parking lot and an underground parking lot, the parking space can be detected with high accuracy.
 (第7実施形態)
 次に、本開示に係る物体検知装置の第7実施形態を上記実施形態と異なる部分を中心にして説明する。本実施形態は、第6実施形態に関連する実施形態である。本実施形態の物体検知装置の構成は図1の構成と同じである。ただし、ECU11が実行する駐車空間検知処理(物体検知処理)が上記第6実施形態と一部異なっている。以下、本実施形態の駐車空間検知処理(物体検知処理)を図32、図34、図35を参照して説明する。図34は、車両6の移動方向P1に対して斜めに傾いている角柱8に対する検知場面を示している。図35は、本実施形態のECU11が実行する駐車空間検知処理のフローチャートである。なお、図35では、図33と同一の処理には同一符号を付している。図35の処理は、図33の処理に比べて、S36がNoになった場合の処理が異なっており、それ以外は同じである。以下では、図35の処理のうち、図33と同一処理の説明を省略し、異なる処理の説明をする。
(Seventh embodiment)
Next, a seventh embodiment of the object detection device according to the present disclosure will be described with a focus on differences from the above-described embodiment. The present embodiment is an embodiment related to the sixth embodiment. The configuration of the object detection apparatus of the present embodiment is the same as the configuration of FIG. However, the parking space detection process (object detection process) executed by the ECU 11 is partly different from the sixth embodiment. Hereinafter, the parking space detection process (object detection process) of this embodiment will be described with reference to FIGS. 32, 34, and 35. FIG. 34 shows a detection scene for the prism 8 that is inclined obliquely with respect to the moving direction P <b> 1 of the vehicle 6. FIG. 35 is a flowchart of the parking space detection process executed by the ECU 11 of the present embodiment. In FIG. 35, the same processes as those in FIG. 33 are denoted by the same reference numerals. The process of FIG. 35 differs from the process of FIG. 33 in the case where S36 is No, and is otherwise the same. In the following, among the processes in FIG. 35, the description of the same processes as in FIG. 33 is omitted, and different processes are described.
 S36において、測距点の履歴形状が直線状の場合には(S36:No)、S43に移行する。S43では、検知距離(測距点)の履歴に対する近似直線を最小二乗法等を利用して算出する。図34には、測距点9の履歴に対する近似直線601を図示している。次に、S43で算出した近似直線に基づいて、車両の移動方向に対する角型の物体の傾きを算出する(S44)。なお、この移動方向は、計測カウントn=1における車両の移動方向(つまりX軸方向)で有っても良いし、現時点の車両の移動方向であっても良い。図34の例では、車両6の移動方向P1(X軸方向)に対する近似直線601の傾きを算出する。次に、S44で算出した傾きに基づき、物体が傾いているか否かを判断する(S45)。具体的には、S44で算出した傾きが予め定められた閾値角度(例えば10度)以上のときに物体が傾いていると判断し、傾きが閾値角度未満のときには物体は傾いていないと判断する。例えば、図32の角柱8は傾いていないと判断され、図34の角柱8は傾いていると判断される。 In S36, when the history shape of the distance measuring points is linear (S36: No), the process proceeds to S43. In S43, an approximate straight line for the history of the detection distance (ranging point) is calculated using the least square method or the like. FIG. 34 shows an approximate straight line 601 for the history of the distance measuring point 9. Next, the inclination of the rectangular object with respect to the moving direction of the vehicle is calculated based on the approximate straight line calculated in S43 (S44). This moving direction may be the moving direction of the vehicle (that is, the X-axis direction) at the measurement count n = 1, or may be the current moving direction of the vehicle. In the example of FIG. 34, the inclination of the approximate straight line 601 with respect to the moving direction P1 (X-axis direction) of the vehicle 6 is calculated. Next, based on the inclination calculated in S44, it is determined whether or not the object is inclined (S45). Specifically, it is determined that the object is inclined when the inclination calculated in S44 is equal to or greater than a predetermined threshold angle (for example, 10 degrees), and is determined that the object is not inclined when the inclination is less than the threshold angle. . For example, it is determined that the prism 8 in FIG. 32 is not tilted, and the prism 8 in FIG. 34 is determined to be tilted.
 S45において、物体は傾いていないと判断した場合には(S45:No)、S46に移行する。S46では、検知距離の履歴の平均値Lavgを算出する。次に、測距点の履歴の端点DtctEdgeにおけるX座標DtctEdgeXを、物体のコーナーのX座標とする(S47)。また、平均値Lavgを、物体のコーナーのY座標とする(S47)。別の言い方をすると、端点DtctEdgeにおけるセンサ位置AttdからY軸方向に平均値Lavgだけ離れた点を、物体のコーナーの位置として決定する(S47)。これにより、検知距離に誤差があったとしても、平均値Lavgを用いることで、誤差の影響を低減できる。よって、コーナーの位置を安定して検知することができる。S47の後、S41に移行する。 In S45, when it is determined that the object is not tilted (S45: No), the process proceeds to S46. In S46, the average value Lavg of the history of the detection distance is calculated. Next, the X coordinate DtctEdgeX at the end point DtctEdge of the distance measuring point history is set as the X coordinate of the corner of the object (S47). The average value Lavg is set as the Y coordinate of the corner of the object (S47). In other words, a point separated from the sensor position Attd at the end point DtctEdge by the average value Lavg in the Y-axis direction is determined as the position of the corner of the object (S47). Thereby, even if there is an error in the detection distance, the influence of the error can be reduced by using the average value Lavg. Therefore, the position of the corner can be detected stably. After S47, the process proceeds to S41.
 一方、S45において、物体が傾いていると判断した場合には(S45:Yes)、S48に移行する。S48では、端点DtctEdgeを通るY軸に平行なラインと、S43で算出した近似直線の交点を、物体のコーナーの位置として決定する。図34の例では、端点972を通るY軸に平行なライン155と近似直線601の交点602が、物体8のコーナーの位置として決定される。このように、近似直線上に点にコーナーの位置を決定することで、物体が傾いていた場合であっても、検知距離の誤差の影響を低減した、安定したコーナーを検知できる。S48の後、S41に移行する。 On the other hand, if it is determined in S45 that the object is tilted (S45: Yes), the process proceeds to S48. In S48, the intersection of the line parallel to the Y axis passing through the end point DtctEdge and the approximate straight line calculated in S43 is determined as the position of the corner of the object. In the example of FIG. 34, the intersection 602 of the line 155 passing through the end point 972 and parallel to the Y axis and the approximate straight line 601 is determined as the corner position of the object 8. Thus, by determining the position of the corner at a point on the approximate straight line, even when the object is tilted, it is possible to detect a stable corner with reduced influence of the detection distance error. After S48, the process proceeds to S41.
 以上説明したように、本実施形態によれば、上記第6実施形態の効果に加え、物体が傾いているかいなかにかかわらず、コーナーの位置を安定して検知することができる。 As described above, according to the present embodiment, in addition to the effects of the sixth embodiment, the position of the corner can be detected stably regardless of whether the object is tilted or not.
 なお、本開示に係る物体検知装置は上記実施形態に限定されるものではなく、特許請求の範囲の記載を逸脱しない限度で種々の変更が可能である。上記第1~第5実施形態では、並列駐車した駐車車両(並列駐車用の駐車空間)の検知に本開示を適用した例を説明したが、縦列駐車した駐車車両(縦列駐車用の駐車空間)の検知に本開示を適用しても良い。また、上記第1~第5実施形態のフローチャートでは、1台目の駐車車両に対する処理と、2台目の駐車車両に対する処理とを分けているが、1台目、2台目にかかわらず駐車車両のコーナー付近の反射点を検知するたびに、精度低範囲の抽出及び精度低反射点の補正を行うようにしてもよい。 Note that the object detection device according to the present disclosure is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the claims. In the first to fifth embodiments, the example in which the present disclosure is applied to detection of a parked parking vehicle (parking space for parallel parking) has been described. However, a parked vehicle (parking space for parallel parking) The present disclosure may be applied to the detection of. In the flowcharts of the first to fifth embodiments, the process for the first parked vehicle and the process for the second parked vehicle are separated. Each time a reflection point near the corner of the vehicle is detected, the low accuracy range extraction and the low accuracy reflection point correction may be performed.
 また、上記第6、第7実施形態では、角型の物体として四角柱の例に挙げたが、コーナーが角型であるのであれば、三角柱など他の形状の角柱にも本開示を適用できる。また、角柱以外の角型の物体(例えば壁、ワンボックスなどの角型の車両)の検知にも本開示を適用できる。 Further, in the sixth and seventh embodiments, the example of the quadrangular prism is given as the rectangular object, but the present disclosure can be applied to a prism having another shape such as a triangular prism as long as the corner is square. . The present disclosure can also be applied to detection of a rectangular object other than a prism (for example, a rectangular vehicle such as a wall or one box).
 また、第1~第5実施形態の構成と第6、第7実施形態の構成とを組み合わせても良い。具体的には、例えば、図33のS31~S36を実行し、S36で測距点の履歴形状が直線状の場合には、反射点の算出を中止して測距点の履歴から物体のコーナーの位置を決定する(第6、第7実施形態の構成)。これに対し、S36で測距点の履歴形状が曲線状の場合には、図3のS14以降の処理を実行して、精度低範囲を抽出するとともに抽出した精度低範囲における反射点を補正し(S18:Yesの場合)、又は直接コーナーを決定する(S18:Noの場合)。 Also, the configurations of the first to fifth embodiments and the configurations of the sixth and seventh embodiments may be combined. Specifically, for example, when S31 to S36 in FIG. 33 are executed and the history shape of the distance measuring point is a straight line in S36, the calculation of the reflection point is stopped and the corner of the object is determined from the history of the distance measuring point. Is determined (configuration of the sixth and seventh embodiments). On the other hand, when the history shape of the distance measuring point is curved in S36, the processing after S14 in FIG. 3 is executed to extract the low accuracy range and to correct the extracted reflection point in the low accuracy range. (S18: Yes) or determine the corner directly (S18: No).
 また、上記実施形態では、駐車空間の検知場面に本開示を適用した例を説明したが、周囲に他車両等の障害物が存在する狭い道路のすり抜け支援に本開示を適用しても良い。この場合には、本開示の物体検知装置で周囲の障害物を検知し、その検知結果に基づき、例えばすり抜けができるようにステアリング支援(どれくらいステアリングをきったほうが良いかのアナウンスや、自動ステアリング)を行う。また、前向き駐車の状態からバックで発進するときのように、駐車状態からの発進支援に本開示を適用しても良い。この場合もすり抜け支援と同様に、本開示の物体検知装置で車両の発進方向に存在する障害物(壁など)を検知し、その検知結果に基づき例えばステアリング支援を行う。 In the above-described embodiment, an example in which the present disclosure is applied to a parking space detection scene has been described. However, the present disclosure may be applied to support for passing through narrow roads where obstacles such as other vehicles exist around. In this case, the object detection device of the present disclosure detects surrounding obstacles, and based on the detection result, for example, steering assistance (announcement of how much steering is better or automatic steering) so that it can pass through. I do. Moreover, you may apply this indication to the start assistance from a parking state like when starting at the back from the state of forward-facing parking. Also in this case, similarly to the slip-through support, the object detection device of the present disclosure detects an obstacle (such as a wall) existing in the vehicle start direction, and performs, for example, steering support based on the detection result.
 なお、上記実施形態において、測距センサ2は、距離検知部として機能可能である。車速センサ12および操舵角センサ13は、位置算出部として機能可能である。また、ECU11は、S13の処理を実行するときに、位置算出部として機能可能である。ECU11は、S15の処理を実行するときに、反射点推定部として機能可能である。ECU11は、S16、S17の処理を実行するときに、形状判定部として機能可能である。ECU11は、S19~S22の処理を実行するときに、反射点補正部として機能可能である。 In the above embodiment, the distance measuring sensor 2 can function as a distance detection unit. The vehicle speed sensor 12 and the steering angle sensor 13 can function as a position calculation unit. Further, the ECU 11 can function as a position calculation unit when executing the process of S13. The ECU 11 can function as a reflection point estimation unit when executing the process of S15. The ECU 11 can function as a shape determination unit when executing the processes of S16 and S17. The ECU 11 can function as a reflection point correction unit when executing the processes of S19 to S22.
 ECU11は、S101~S116の処理を実行するときに、第1抽出部として機能可能である。ECU11は、S172、S175、S184の処理を実行するときに、角度算出部として機能可能である。ECU11は、S171~S189の処理を実行するときに、第2抽出部として機能可能である。ECU11は、S121の処理を実行するときに、第1補正部として機能可能である。ECU11は、S191~S194の処理を実行するときに、反射面算出部として機能可能である。ECU11は、S195の処理を実行するときに、第2補正部として機能可能である。ECU11は、S201の処理を実行するときに、第3補正部として機能可能である。ECU11は、S211の処理を実行するときに、第4補正部として機能可能である。 The ECU 11 can function as a first extraction unit when executing the processes of S101 to S116. The ECU 11 can function as an angle calculation unit when executing the processes of S172, S175, and S184. The ECU 11 can function as a second extraction unit when executing the processes of S171 to S189. The ECU 11 can function as a first correction unit when executing the process of S121. The ECU 11 can function as a reflection surface calculation unit when executing the processes of S191 to S194. The ECU 11 can function as a second correction unit when executing the process of S195. The ECU 11 can function as a third correction unit when executing the process of S201. The ECU 11 can function as a fourth correction unit when executing the process of S211.
 ECU11は、S131~S147の処理を実行するときに、反射点無効部として機能可能である。ECU11は、S153の処理を実行するときに、差分判断部として機能可能である。ECU11は、S154~S157の処理を実行するときに、曲線算出部として機能可能である。ECU11は、S159の処理を実行するときに、推定距離算出部として機能可能である。ECU11は、S160~S163の処理を実行するときに、追加点推定部として機能可能である。 The ECU 11 can function as a reflection point invalid part when executing the processes of S131 to S147. The ECU 11 can function as a difference determination unit when executing the process of S153. The ECU 11 can function as a curve calculation unit when executing the processes of S154 to S157. The ECU 11 can function as an estimated distance calculation unit when executing the process of S159. The ECU 11 can function as an additional point estimation unit when executing the processes of S160 to S163.
 ECU11は、S311の処理を実行するときに、第1放物線算出部として機能可能である。ECU11は、S312、S313の処理を実行するときに、頂点反射点算出部として機能可能である。ECU11は、S314の処理を実行するときに、第2放物線算出部として機能可能である。ECU11は、S315の処理を実行するときに、コーナー決定部として機能可能である。 The ECU 11 can function as a first parabola calculating unit when executing the process of S311. The ECU 11 can function as a vertex reflection point calculation unit when executing the processes of S312 and S313. The ECU 11 can function as a second parabola calculating unit when executing the process of S314. The ECU 11 can function as a corner determination unit when executing the process of S315.
 ECU11は、S33の処理を実行するときに、位置算出部として機能可能である。ECU11は、S38の処理を実行するときに、反射点推定部として機能可能である。ECU11は、S39、S40、S45,S46、S47、S48の処理を実行するときに、コーナー決定部として機能可能である。ECU11は、S46の処理を実行するときに、平均値算出部として機能可能である。ECU11は、S43の処理を実行するときに、直線算出部として機能可能である。ECU11は、S44、S45の処理を実行するときに、傾き判定部として機能可能である。 The ECU 11 can function as a position calculation unit when executing the process of S33. The ECU 11 can function as a reflection point estimation unit when executing the process of S38. The ECU 11 can function as a corner determination unit when executing the processes of S39, S40, S45, S46, S47, and S48. The ECU 11 can function as an average value calculation unit when executing the process of S46. The ECU 11 can function as a straight line calculation unit when executing the process of S43. The ECU 11 can function as an inclination determination unit when executing the processes of S44 and S45.

Claims (18)

  1.  車両(6)が移動しているときに前記車両の側方に存在する物体(7、71、72)に探査波を逐次送信し、前記探査波が前記物体に当たって反射した反射波を受信して、受信した反射波に基づき前記物体までの距離を逐次検知する距離検知部(2)と、
     前記物体の距離検知をするときの前記距離検知部の位置であるセンサ位置を算出する位置算出部(12、13、S13)と、
     前記距離検知部が検知した距離である検知距離の履歴と前記センサ位置の履歴とを用いて、前記反射波の到来方向を推定し、前記センサ位置から前記到来方向に前記検知距離だけ離れた点である反射点(4)を推定する反射点推定部(S15)と、
     前記物体のコーナー(7a、71a、72a)付近の前記反射点の履歴形状を判定する形状判定部(S16、S17)と、
     前記履歴形状に、前記物体の面角度が急なときに発生する急履歴形状(40)が含まれているときには、前記コーナー付近の前記急履歴形状に属さない前記反射点である正常反射点(42)又はその正常反射点における前記到来方向に応じた位置に、前記急履歴形状に属する前記反射点である精度低反射点(41)を補正する反射点補正部(S19~S22)と、
     を備えることを特徴とする物体検知装置(1)。
    When the vehicle (6) is moving, the exploration wave is sequentially transmitted to the objects (7, 71, 72) existing on the side of the vehicle, and the reflected wave reflected by the exploration wave is received. A distance detector (2) for sequentially detecting the distance to the object based on the received reflected wave;
    A position calculation unit (12, 13, S13) for calculating a sensor position which is a position of the distance detection unit when detecting the distance of the object;
    Using the detection distance history and the sensor position history detected by the distance detection unit, the arrival direction of the reflected wave is estimated, and the distance from the sensor position to the arrival direction by the detection distance A reflection point estimation unit (S15) for estimating the reflection point (4),
    A shape determination unit (S16, S17) for determining the history shape of the reflection point near the corners (7a, 71a, 72a) of the object;
    When the history shape includes a steep history shape (40) that occurs when the surface angle of the object is steep, a normal reflection point that is the reflection point that does not belong to the steep history shape near the corner ( 42) or a reflection point correction unit (S19 to S22) for correcting the low-precision reflection point (41), which is the reflection point belonging to the steep history shape, at a position corresponding to the arrival direction at the normal reflection point;
    An object detection device (1) comprising:
  2.  前記形状判定部は、前記反射点の履歴から、前記反射点の検知精度が低いと推定される精度低範囲を前記急履歴形状として抽出する範囲抽出部であることを特徴とする請求項1に記載の物体検知装置。 The shape determination unit is a range extraction unit that extracts, as the steep history shape, a low accuracy range in which the detection accuracy of the reflection point is estimated to be low from the history of the reflection point. The object detection apparatus described.
  3.  前記範囲抽出部は、前記反射点の履歴方向が前記距離検知部の移動方向と逆向きとなっている範囲を前記精度低範囲として抽出する第1抽出部(S101~S116)を備えることを特徴とする請求項2に記載の物体検知装置。 The range extraction unit includes a first extraction unit (S101 to S116) that extracts, as the low accuracy range, a range in which the history direction of the reflection point is opposite to the moving direction of the distance detection unit. The object detection apparatus according to claim 2.
  4.  前記範囲抽出部は、
     前記反射点の履歴から前記物体の面角度を算出する角度算出部(S172、S175、S184)と、
     所定値以上の前記面角度を構成する前記反射点の範囲を前記精度低範囲として抽出する第2抽出部(S171~S189)と、を備えることを特徴とする請求項2に記載の物体検知装置。
    The range extraction unit includes:
    An angle calculation unit (S172, S175, S184) for calculating the surface angle of the object from the history of the reflection points;
    The object detection apparatus according to claim 2, further comprising: a second extraction unit (S171 to S189) that extracts a range of the reflection point that constitutes the surface angle equal to or greater than a predetermined value as the low accuracy range. .
  5.  前記反射点補正部は、前記精度低範囲における前記到来方向を、前記精度低範囲の端に隣接する前記正常反射点である端点(421)における端点到来方向とし、前記精度低反射点における前記センサ位置(22)から前記端点到来方向に前記検知距離だけ離れた点(431)に当該精度低反射点を補正する第1補正部(S121)を備えることを特徴とする請求項2~4のいずれか1項に記載の物体検知装置。 The reflection point correction unit sets the arrival direction in the low accuracy range as the end point arrival direction at the end point (421) that is the normal reflection point adjacent to the end of the low accuracy range, and the sensor at the low accuracy reflection point. The first correction unit (S121) for correcting the accuracy low reflection point at a point (431) separated from the position (22) in the arrival direction of the end point by the detection distance is provided. The object detection device according to claim 1.
  6.  補正対象とする前記精度低反射点を補正対象反射点、その補正対象反射点における前記センサ位置を対象センサ位置(243)、その対象センサ位置に隣接する前記センサ位置を隣接センサ位置(242)、その隣接センサ位置における前記正常反射点を隣接反射点(423)として、
     前記反射点補正部は、
     前記隣接反射点及びそれに隣接する前記正常反射点(422)から構成される反射面である隣接反射面(732)の法線(151)を、前記隣接反射点と前記隣接センサ位置とを結ぶ直線(152)に対して対称移動させた線(153)を法線とし、かつ前記隣接反射点に接続する反射面(733)を算出する反射面算出部(S191~S194)と、
     前記反射面算出部が算出した反射面と、前記対象センサ位置における前記検知距離を半径とする円弧(154)との交点(433)に前記補正対象反射点を補正する第2補正部(S195)と、を備えることを特徴とする請求項2~4のいずれか1項に記載の物体検知装置。
    The accuracy low reflection point to be corrected is the correction target reflection point, the sensor position at the correction target reflection point is the target sensor position (243), and the sensor position adjacent to the target sensor position is the adjacent sensor position (242). The normal reflection point at the adjacent sensor position as the adjacent reflection point (423),
    The reflection point correction unit is
    A normal line (151) of the adjacent reflection surface (732), which is a reflection surface composed of the adjacent reflection point and the normal reflection point (422) adjacent thereto, is a straight line connecting the adjacent reflection point and the adjacent sensor position. A reflection surface calculation unit (S191 to S194) for calculating a reflection surface (733) connected to the adjacent reflection point with a line (153) moved symmetrically with respect to (152) as a normal line;
    A second correction unit (S195) that corrects the correction target reflection point at an intersection (433) of the reflection surface calculated by the reflection surface calculation unit and an arc (154) having a radius of the detection distance at the target sensor position. The object detection device according to any one of claims 2 to 4, further comprising:
  7.  前記反射点補正部は、前記精度低範囲の端に隣接する前記正常反射点である端点(421)に対する前記精度低反射点の点対称となる点(434)に当該精度低反射点を補正する第3補正部(S201)を備えることを特徴とする請求項2~4のいずれか1項に記載の物体検知装置。 The reflection point correction unit corrects the low accuracy reflection point to a point (434) that is symmetrical with respect to the low accuracy reflection point with respect to the end point (421) that is the normal reflection point adjacent to the end of the low accuracy range. The object detection apparatus according to any one of claims 2 to 4, further comprising a third correction unit (S201).
  8.  前記反射点補正部は、前記精度低範囲の端に隣接する前記正常反射点である端点(421)から前記車両の移動方向又はその反対方向に所定値だけオフセットした点(435)に前記精度低反射点を補正する第4補正部(S211)を備えることを特徴とする請求項2~4のいずれか1項に記載の物体検知装置。 The reflection point correction unit reduces the accuracy to a point (435) offset from the end point (421) which is the normal reflection point adjacent to the end of the low accuracy range by a predetermined value in the moving direction of the vehicle or the opposite direction. The object detection device according to any one of claims 2 to 4, further comprising a fourth correction unit (S211) for correcting the reflection point.
  9.  前記車両の側方の方向を前記物体の奥行き方向として、前記反射点補正部が補正した補正反射点(43)のうち、前記奥行き方向における位置が最小の前記反射点(441)から、前記奥行き方向に第1の閾値以上離れた補正反射点(432)を無効とする反射点無効部(S131~S147)を備えることを特徴とする請求項1~8のいずれか1項に記載の物体検知装置。 Of the corrected reflection point (43) corrected by the reflection point correction unit with the lateral direction of the vehicle as the depth direction of the object, the depth from the reflection point (441) whose position in the depth direction is the smallest The object detection according to any one of claims 1 to 8, further comprising a reflection point invalid portion (S131 to S147) that invalidates the corrected reflection point (432) that is separated by a first threshold or more in the direction. apparatus.
  10.  前記車両の側方の方向を前記物体の奥行き方向として、前記反射点補正部による補正を実施した後の各々の前記反射点のうち、前記奥行き方向における位置が最小の前記反射点(441)と最大の前記反射点(442)の前記奥行き方向における差分が第2の閾値以下であるか否かを判断する差分判断部(S153)と、
     前記検知距離の履歴に対する近似曲線(300、301、302)を算出する曲線算出部(S154~S157)と、
     前記検知距離が検知されていない範囲における前記近似曲線上の点を推定検知距離(96)として算出する推定距離算出部(S159)と、
     前記差分判断部が前記差分が前記第2の閾値以下であると判断した場合には、前記差分が前記第2の閾値以上となるまで、前記推定検知距離の履歴と前記推定検知距離での前記センサ位置の履歴とを用いて、追加の反射点(45)を推定する追加点推定部(S160~S163)とを、備えることを特徴とする請求項1~9のいずれか1項に記載の物体検知装置。
    The reflection point (441) having the smallest position in the depth direction among the reflection points after the correction by the reflection point correction unit with the side direction of the vehicle as the depth direction of the object. A difference determination unit (S153) for determining whether or not a difference in the depth direction of the maximum reflection point (442) is equal to or less than a second threshold;
    A curve calculation unit (S154 to S157) for calculating an approximate curve (300, 301, 302) for the history of the detection distance;
    An estimated distance calculation unit (S159) that calculates a point on the approximate curve in a range where the detection distance is not detected as an estimated detection distance (96);
    When the difference determination unit determines that the difference is equal to or less than the second threshold, the history of the estimated detection distance and the estimated detection distance until the difference is equal to or greater than the second threshold. The additional point estimation unit (S160 to S163) for estimating an additional reflection point (45) using the sensor position history, comprising: an additional reflection point (45). Object detection device.
  11.  前記近似曲線は放物線(301)であることを特徴とする請求項10に記載の物体検知装置。 The object detection device according to claim 10, wherein the approximate curve is a parabola (301).
  12.  前記近似曲線はスプライン曲線(302)であることを特徴とする請求項10に記載の物体検知装置。 11. The object detection apparatus according to claim 10, wherein the approximate curve is a spline curve (302).
  13.  前記コーナー付近の前記検知距離の履歴形状を近似する放物線(501)を第1放物線として算出する第1放物線算出部(S311)と、
     前記第1放物線の頂点(502)及びその付近の前記第1放物線上の点(504)を用いて前記反射点を頂点反射点(47)として算出する頂点反射点算出部(S312、S313)と、
     前記頂点反射点を頂点とし、前記精度低範囲の端に隣接する前記正常反射点である端点(421)を通る放物線(510)を第2放物線として算出する第2放物線算出部(S314)と、
     前記車両の側方の方向を前記物体の奥行き方向として、前記頂点反射点との前記奥行き方向における差分が閾値となる前記第2放物線上の点(48)を前記コーナーとして決定するコーナー決定部(S315)と、
     を備えることを特徴とする請求項2~8のいずれか1項に記載の物体検知装置。
    A first parabola calculation unit (S311) that calculates a parabola (501) that approximates the history shape of the detection distance near the corner as a first parabola;
    A vertex reflection point calculation unit (S312 and S313) for calculating the reflection point as a vertex reflection point (47) using the vertex (502) of the first parabola and a point (504) on the first parabola in the vicinity thereof; ,
    A second parabola calculation unit (S314) that calculates, as a second parabola, a parabola (510) passing through the end point (421) that is the normal reflection point adjacent to the end of the low accuracy range, with the apex reflection point as a vertex;
    A corner determining unit that determines the side direction of the vehicle as the depth direction of the object, and determines the point (48) on the second parabola that has a threshold value as a difference in the depth direction from the vertex reflection point as the corner. S315),
    The object detection apparatus according to claim 2, further comprising:
  14.  車両(6)が移動しているときに前記車両の側方に存在する物体(7、8)に探査波を逐次送信し、前記探査波が前記物体に当たって反射した反射波を逐次受信して、受信した反射波に基づき前記物体までの距離を逐次検知する距離検知部(2)と、
     前記物体の距離検知をするときの前記距離検知部の位置であるセンサ位置を算出する位置算出部(12、13、S33)と、
     前記距離検知部が検知した距離である検知距離の履歴と前記センサ位置の履歴とを用いて、記反射波の到来方向を推定し、前記センサ位置から前記到来方向に前記検知距離だけ離れた点である反射点を推定する反射点推定部(S38)と、
     前記反射点の履歴に基づき前記物体のコーナーを決定するコーナー決定部(S39)と、
     前記物体の前記コーナー(7a、8a)付近の履歴形状を判定する形状判定部(S36)と、を備え、
     前記コーナー決定部(S40、S45、S46)は、前記履歴形状が直線状の場合には、前記反射点の履歴に代えて、前記検知距離の履歴に基づき前記コーナーの位置を決定することを特徴とする物体検知装置(1)。
    When the vehicle (6) is moving, the exploration waves are sequentially transmitted to the objects (7, 8) existing on the side of the vehicle, and the reflected waves reflected by the exploration waves hitting the object are sequentially received, A distance detector (2) for sequentially detecting the distance to the object based on the received reflected wave;
    A position calculation unit (12, 13, S33) for calculating a sensor position which is a position of the distance detection unit when detecting the distance of the object;
    A point at which the reflected wave arrival direction is estimated using the detection distance history detected by the distance detection unit and the sensor position history, and the detection position is separated from the sensor position by the detection distance. A reflection point estimation unit (S38) for estimating a reflection point of
    A corner determination unit (S39) for determining a corner of the object based on the history of the reflection points;
    A shape determination unit (S36) for determining a history shape near the corner (7a, 8a) of the object,
    The corner determination unit (S40, S45, S46) determines the position of the corner based on the history of the detection distance instead of the history of the reflection point when the history shape is a straight line. An object detection device (1).
  15.  前記反射点推定部は、前記履歴形状が直線状の場合には、前記反射点の推定を中止することを特徴とする請求項14に記載の物体検知装置。 The object detection device according to claim 14, wherein the reflection point estimation unit stops the estimation of the reflection point when the history shape is a straight line.
  16.  前記コーナー決定部(S40)は、前記履歴形状が直線状の場合には、前記測距センサが前記コーナーに対応する前記検知距離を検知したときの前記センサ位置から、前記車両の側方に前記検知距離だけ離れた点(972)を前記コーナー(8a)の位置とすることを特徴とする請求項14又は15に記載の物体検知装置。 When the history shape is a straight line, the corner determination unit (S40) is configured to move the sensor from the sensor position when the distance measurement sensor detects the detection distance corresponding to the corner to the side of the vehicle. The object detection device according to claim 14 or 15, wherein a point (972) separated by a detection distance is set as the position of the corner (8a).
  17.  前記検知距離の履歴の平均値を算出する平均値算出部(S46)を備え、
     前記コーナー決定部(S47)は、前記履歴形状が直線状の場合には、前記測距センサが前記コーナーに対応する前記検知距離を検知したときの前記センサ位置から、前記車両の側方に前記平均値だけ離れた点を前記コーナー(8a)の位置とすることを特徴とする請求項14又は15に記載の物体検知装置。
    An average value calculation unit (S46) for calculating an average value of the history of the detection distance;
    When the history shape is a straight line, the corner determination unit (S47) may move the sensor from the sensor position when the distance measurement sensor detects the detection distance corresponding to the corner to the side of the vehicle. The object detection device according to claim 14 or 15, wherein a point separated by an average value is set as the position of the corner (8a).
  18.  前記検知距離の履歴に対する近似直線(601)を算出する直線算出部(S43)と、
     前記近似直線が前記車両の移動方向に対して傾いているか否かを判定する傾き判定部(S44、S45)と、を備え、
     前記コーナー決定部(S48)は、前記履歴形状が直線状であり、かつ、前記近似直線が傾いている場合には、前記センサ位置から前記車両の側方に前記検知距離だけ離れた点である測距点の履歴の端点(972)を通り前記車両の移動方向に垂直な方向に延びた線(155)と、前記近似直線の交点(602)を前記コーナー(8a)の位置とすることを特徴とする請求項14又は15に記載の物体検知装置。
    A straight line calculation unit (S43) for calculating an approximate straight line (601) for the history of the detection distance;
    An inclination determination unit (S44, S45) for determining whether or not the approximate straight line is inclined with respect to the moving direction of the vehicle,
    The corner determination unit (S48) is a point that is separated from the sensor position to the side of the vehicle by the detection distance when the history shape is linear and the approximate straight line is inclined. The intersection (602) of the line (155) extending in the direction perpendicular to the moving direction of the vehicle through the end point (972) of the distance measuring point history and the approximate straight line is set as the position of the corner (8a). The object detection apparatus according to claim 14 or 15, characterized in that:
PCT/JP2013/005699 2012-10-09 2013-09-26 Object detecting device WO2014057621A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380051913.XA CN104704321B (en) 2012-10-09 2013-09-26 Article detection device
DE112013004950.3T DE112013004950T5 (en) 2012-10-09 2013-09-26 Object detecting device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-224606 2012-10-09
JP2012224606A JP5965276B2 (en) 2012-10-09 2012-10-09 Object detection device

Publications (1)

Publication Number Publication Date
WO2014057621A1 true WO2014057621A1 (en) 2014-04-17

Family

ID=50477105

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/005699 WO2014057621A1 (en) 2012-10-09 2013-09-26 Object detecting device

Country Status (4)

Country Link
JP (1) JP5965276B2 (en)
CN (1) CN104704321B (en)
DE (1) DE112013004950T5 (en)
WO (1) WO2014057621A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105835795A (en) * 2015-01-30 2016-08-10 现代摩比斯株式会社 Parking assistant device
JP2016175620A (en) * 2015-03-23 2016-10-06 三菱電機株式会社 Parking assist device

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5843948B1 (en) * 2014-11-27 2016-01-13 三菱電機株式会社 Parking assistance device and parking assistance method
CN104933895B (en) * 2015-06-11 2018-02-02 百度在线网络技术(北京)有限公司 The based reminding method and device of the vehicles
JP6500820B2 (en) 2016-03-18 2019-04-17 株式会社デンソー In-vehicle device
JP6835679B2 (en) * 2017-07-12 2021-02-24 日本電信電話株式会社 Shape estimation device, shape estimation method and program
DE102018209959A1 (en) * 2018-06-20 2019-12-24 Robert Bosch Gmbh Method and driver assistance system for avoiding a collision of a vehicle with an obstacle
CN109752726A (en) * 2019-01-23 2019-05-14 上海海事大学 A kind of container Attitute detecting device and method
JP2023032737A (en) * 2021-08-27 2023-03-09 株式会社デンソー Object detection device and object detection program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004108944A (en) * 2002-09-18 2004-04-08 Nissan Motor Co Ltd Obstacle detection device
JP2010030597A (en) * 2009-11-11 2010-02-12 Mitsubishi Electric Corp Parking supporting equipment
WO2011024220A1 (en) * 2009-08-26 2011-03-03 三菱電機株式会社 Parking support device
JP2011245939A (en) * 2010-05-25 2011-12-08 Nippon Soken Inc Parking space detection device
JP2012146025A (en) * 2011-01-07 2012-08-02 Nippon Soken Inc Parking space detection apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2670179Y (en) * 2003-09-02 2005-01-12 陈浩然 Wireless parking device for guiding and preventing from collision
JP4461920B2 (en) * 2004-06-23 2010-05-12 株式会社デンソー Parking assistance device
HK1074346A2 (en) * 2005-01-13 2005-11-04 Hutchison Internat Ports Entpr Parking aid apparatus.
CN100449579C (en) * 2006-04-21 2009-01-07 浙江工业大学 All-round computer vision-based electronic parking guidance system
JP4386083B2 (en) * 2007-02-27 2009-12-16 トヨタ自動車株式会社 Parking assistance device
US8279107B2 (en) * 2009-08-06 2012-10-02 Innovapark Llc Radar vehicle detection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004108944A (en) * 2002-09-18 2004-04-08 Nissan Motor Co Ltd Obstacle detection device
WO2011024220A1 (en) * 2009-08-26 2011-03-03 三菱電機株式会社 Parking support device
JP2010030597A (en) * 2009-11-11 2010-02-12 Mitsubishi Electric Corp Parking supporting equipment
JP2011245939A (en) * 2010-05-25 2011-12-08 Nippon Soken Inc Parking space detection device
JP2012146025A (en) * 2011-01-07 2012-08-02 Nippon Soken Inc Parking space detection apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105835795A (en) * 2015-01-30 2016-08-10 现代摩比斯株式会社 Parking assistant device
JP2016175620A (en) * 2015-03-23 2016-10-06 三菱電機株式会社 Parking assist device
US9573624B2 (en) 2015-03-23 2017-02-21 Mitsubishi Electric Corporation Parking assist apparatus

Also Published As

Publication number Publication date
JP2014078086A (en) 2014-05-01
JP5965276B2 (en) 2016-08-03
CN104704321A (en) 2015-06-10
CN104704321B (en) 2017-08-08
DE112013004950T5 (en) 2015-06-18

Similar Documents

Publication Publication Date Title
JP5965276B2 (en) Object detection device
US8560169B2 (en) Vehicular parking feasibility determining system, vehicular parking space detection system and vehicular movable range detection system
JP6673178B2 (en) Vehicle control device and vehicle control method
CN107850446B (en) Self-position estimating device and self-position estimate method
JP6361366B2 (en) Object recognition device
JP6396714B2 (en) Object recognition device
JP5569591B2 (en) Road shape estimation apparatus and road shape estimation method
JP2004053278A (en) Front vehicle tracking system and front vehicle tracking method
JPH10208047A (en) On-vehicle traveling environment recognizing device
JP5890788B2 (en) Parking space detector
JP2005233716A (en) Radar device
JP2009014479A (en) Object detection device for vehicle
CN110109144B (en) Road shoulder detection method and device based on multi-line laser radar
JP5644516B2 (en) Parking space detection device
JP4052291B2 (en) Image processing apparatus for vehicle
JP3656056B2 (en) Interrupting vehicle detection device and method
JP4719996B2 (en) Object detection device
JP2017215214A (en) Moving object detection device, program and record medium
US10794999B2 (en) Method for detecting edge of object by laser ranging device
JP3925285B2 (en) Road environment detection device
JP5867167B2 (en) Shadow detection device
JP2010250651A (en) Vehicle detecting unit
CN111781606A (en) Novel miniaturization implementation method for fusion of laser radar and ultrasonic radar
JP7043787B2 (en) Object detection system
JP2012014520A (en) Obstacle detection device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13845943

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 112013004950

Country of ref document: DE

Ref document number: 1120130049503

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13845943

Country of ref document: EP

Kind code of ref document: A1