KR20210114160A - Method and apparatus for controlling vehicle stereo camera - Google Patents

Method and apparatus for controlling vehicle stereo camera Download PDF

Info

Publication number
KR20210114160A
KR20210114160A KR1020200029458A KR20200029458A KR20210114160A KR 20210114160 A KR20210114160 A KR 20210114160A KR 1020200029458 A KR1020200029458 A KR 1020200029458A KR 20200029458 A KR20200029458 A KR 20200029458A KR 20210114160 A KR20210114160 A KR 20210114160A
Authority
KR
South Korea
Prior art keywords
camera
distance
vehicle
value
interval
Prior art date
Application number
KR1020200029458A
Other languages
Korean (ko)
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 KR1020200029458A priority Critical patent/KR20210114160A/en
Publication of KR20210114160A publication Critical patent/KR20210114160A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/246Calibration of cameras
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W30/00Purposes of road vehicle drive control systems not related to the control of a particular sub-unit, e.g. of systems using conjoint control of vehicle sub-units, or advanced driver assistance systems for ensuring comfort, stability and safety or drive control systems for propelling or retarding the vehicle
    • B60W30/14Adaptive cruise control
    • B60W30/16Control of distance between vehicles, e.g. keeping a distance to preceding vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/02Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to ambient conditions
    • B60W40/06Road conditions
    • B60W40/072Curvature of the road
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W40/00Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
    • B60W40/10Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to vehicle motion
    • B60W40/105Speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • H04N13/204Image signal generators using stereoscopic image cameras
    • H04N13/239Image signal generators using stereoscopic image cameras using two 2D image sensors having a relative position equal to or related to the interocular distance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
    • H04N5/2257
    • H04N5/247
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2420/00Indexing codes relating to the type of sensors based on the principle of their operation
    • B60W2420/40Photo or light sensitive means, e.g. infrared sensors
    • B60W2420/403Image sensing, e.g. optical camera
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2420/00Indexing codes relating to the type of sensors based on the principle of their operation
    • B60W2420/42Image sensing, e.g. optical camera
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60WCONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
    • B60W2520/00Input parameters relating to overall vehicle dynamics
    • B60W2520/10Longitudinal speed
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2300/00Purposes or special features of road vehicle drive control systems
    • B60Y2300/14Cruise control
    • B60Y2300/16Control of distance between vehicles, e.g. keeping a distance to preceding vehicle
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60YINDEXING SCHEME RELATING TO ASPECTS CROSS-CUTTING VEHICLE TECHNOLOGY
    • B60Y2400/00Special features of vehicle units
    • B60Y2400/30Sensors
    • B60Y2400/303Speed sensors

Abstract

The present invention relates to a method for controlling a stereo camera for a vehicle and a device. According to an embodiment of the present invention, the method for controlling the stereo camera for the vehicle includes the following steps of: measuring vehicle speed when start of the vehicle is ON; and comparing measured vehicle speed with a preset speed value and adjusting an interval between a first camera and a second camera provided in the stereo camera. Therefore, the present invention reduces advanced driver assistance system (ADAS) implementation cost through a simplification of sensor configuration contributes to popularization of ADAS.

Description

차량용 스테레오 카메라 제어 방법 및 장치{METHOD AND APPARATUS FOR CONTROLLING VEHICLE STEREO CAMERA}A vehicle stereo camera control method and apparatus {METHOD AND APPARATUS FOR CONTROLLING VEHICLE STEREO CAMERA}

본 발명은 차량용 스테레오 카메라 제어 기술에 관한 것으로, 보다 상세하게는 차량용 스테레오 카메라의 베이스라인을 동적으로 조절하여 화각 및 인식 가능 거리를 동적으로 제어하는 기술에 관한 것이다. The present invention relates to a vehicle stereo camera control technology, and more particularly, to a technology for dynamically controlling an angle of view and a recognizable distance by dynamically adjusting a baseline of a vehicle stereo camera.

지능형운전자보조시스템(ADAS : Advanced Driver Assistance Systems)은 첨단 감지 센서와 GPS 수신기, 통신 모듈, 지능형 영상 장비 등을 이용하여 주행 중 일부 상황을 차량 스스로 인지하여 상황을 판단하고, 그에 따라 차량을 제어하거나 운전자에게 미리 위험 요소를 감지할 수 있도록 각종 구비된 알람 수단-예를 들면, 소리, 불빛, 진동 등-으로 알려주는 운전자 보조 시스템이다.Advanced Driver Assistance Systems (ADAS) uses advanced detection sensors, GPS receivers, communication modules, and intelligent video equipment to recognize some situations while driving and judge the situation, and control or control the vehicle accordingly. It is a driver assistance system that notifies the driver with various alarm means - for example, sound, light, vibration, etc. - so that the driver can detect danger factors in advance.

현재 가장 보편적인 ADAS는 초음파 센서 등을 이용하여 차량 주변의 물체를 감지하고 운전자에게 경고음으로 알려주어 주차를 쉽게 할 수 있도록 도와주는 주차 보조 시스템과 일정한 속도와 차량 간 거리를 유지해주는 자동 순항 제어 시스템, 차선 및 운행 방향을 감지하여 차선 이탈 시 경고음을 출력하는 차선 이탈 경고 시스템, 도로 및 운행 방향에 따라 전조등을 동적으로 제어하는 적응형 라이트 시스템 등이 있다.Currently, the most common ADAS is a parking assistance system that detects objects around the vehicle using ultrasonic sensors and alerts the driver with a warning sound to help parking easier, and an automatic cruise control system that maintains a constant speed and distance between vehicles. , a lane departure warning system that detects the lane and driving direction and outputs a warning sound when the vehicle departs, and an adaptive light system that dynamically controls headlights according to the road and driving direction.

ADAS 구현을 위해 사용되는 카메라는 크게 단안 카메라(Mono Camera)와 스테레오 카메라(Stereo Camera)가 있다. Cameras used to implement ADAS are largely divided into a mono camera and a stereo camera.

특히, 스테레오 카메라는 2개의 카메라로 전방에 있는 물체를 인식하기 때문에 단안 카메라에 비해 전방 물체의 종방향 위치 정보를 보다 정확하게 감지할 수 있는 장점이 있다.In particular, since a stereo camera recognizes an object in front with two cameras, there is an advantage in that it can more accurately detect longitudinal position information of a front object compared to a monocular camera.

스테레오 카메라는 두 카메라의 간격에 따라 전방의 물체를 인식할 수 있는 거리와 화각이 달라지는 특성이 있다. 두 카메라의 간격이 짧아지면 화각은 넓어지고 물체 인식이 가능한 거리는 감소하게 된다. 반면, 두 카메라의 간격이 멀어지면 화각은 좁아지고, 물체 인식이 가능한 거리는 증가하게 된다.A stereo camera has a characteristic that the distance and angle of view at which an object in front can be recognized varies depending on the distance between the two cameras. When the distance between the two cameras is shortened, the angle of view increases and the distance at which object recognition is possible decreases. On the other hand, as the distance between the two cameras increases, the angle of view becomes narrow and the distance at which object recognition is possible increases.

하지만, 현재 전방 인식을 위해 사용되는 스테레오 카메라는 구비된 두 카메라의 간격이 고정되어 고정된 화각과 물체 인식 가능 거리를 가지는 문제점이 있다. However, the stereo camera currently used for forward recognition has a problem in that the distance between the two cameras is fixed and thus the angle of view and the object recognition range are fixed.

본 발명의 목적은 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 것이다.It is an object of the present invention to provide a method and apparatus for controlling a stereo camera for a vehicle.

본 발명의 다른 목적은 주행 환경에 따라 스테레오 카메라의 두 카메라 간격을 적응적으로 제어함으로써, 화각 및 물체 인식 가능 거리를 동적으로 제어하는 것이 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 것이다.Another object of the present invention is to provide a method and apparatus for controlling a stereo camera for a vehicle to dynamically control an angle of view and an object recognizable distance by adaptively controlling a distance between two cameras of a stereo camera according to a driving environment.

본 발명의 또 다른 목적은 장거리 인식 및 좌/우 인식 범위 확장을 위한 별도 센서를 구비하지 않고도 보다 넓은 인식 범위를 가지고 정확하게 물체를 감지하는 것이 가능한 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 것이다.Another object of the present invention is to provide a method and apparatus for controlling a stereo camera for a vehicle capable of accurately detecting an object with a wider recognition range without having a separate sensor for long-distance recognition and extension of the left/right recognition range.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재들로부터 당업자에게 명확하게 이해될 수 있을 것이다.The technical problems of the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the following description.

본 발명의 일 실시예에 따른 차량용 스테레오 카메라 제어 방법은 차량 시동이 온(ON)되면 차속을 측정하는 단계와 측정된 상기 차속과 미리 설정된 속도값을 비교하여 상기 스테레오 카메라에 구비된 제1카메라와 제2카메라의 간격을 조절하는 단계를 포함할 수 있다.The method for controlling a stereo camera for a vehicle according to an embodiment of the present invention includes the steps of measuring a vehicle speed when the vehicle ignition is on, comparing the measured vehicle speed with a preset speed value, and a first camera provided in the stereo camera; It may include adjusting the interval of the second camera.

실시 예로, 상기 방법은 상기 차량 시동이 온(ON)되면 상기 차속 측정 이전에 상기 제1카메라와 상기 제2카메라를 디폴트 간격 위치로 복귀시키는 단계를 더 포함할 수 있다.In an embodiment, the method may further include returning the first camera and the second camera to a default interval position before the vehicle speed measurement when the vehicle ignition is on.

실시 예로, 상기 방법은 상기 차속이 제1속도값보다 작으면, 상기 제1카메라와 상기 제2카메라를 미리 설정된 최소 간격 위치로 이동시키는 단계를 포함할 수 있다.In an embodiment, the method may include moving the first camera and the second camera to a preset minimum interval position when the vehicle speed is less than the first speed value.

실시 예로, 상기 방법은 상기 차속이 상기 제1속도값 이상이면, 상기 차속을 제2속도값과 비교하는 단계와 상기 차속이 상기 제2속도값보다 작으면, 전방 주행 차량과의 거리를 측정하는 단계를 포함할 수 있다.In an embodiment, the method includes comparing the vehicle speed with a second speed value when the vehicle speed is equal to or greater than the first speed value, and measuring a distance from the vehicle traveling in front when the vehicle speed is smaller than the second speed value may include steps.

실시 예로, 상기 방법은 상기 측정된 거리와 미리 설정된 거리값을 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 조절하는 단계를 포함할 수 있다.In an embodiment, the method may include adjusting the distance between the first camera and the second camera by comparing the measured distance with a preset distance value.

실시 예로, 상기 측정된 거리가 제1거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격이 상기 최소 간격 위치로 이동될 수 있다.In an embodiment, when the measured distance is smaller than the first distance value, the distance between the first camera and the second camera may be moved to the minimum distance position.

실시 예로, 상기 측정된 거리가 상기 제1거리값 이상이고, 제2거리값 보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격이 미리 설정된 중간 간격 위치로 이동되고, 상기 디폴트 간격 위치는 상기 중간 간격 위치일 수 있다.In an embodiment, if the measured distance is equal to or greater than the first distance value and is smaller than the second distance value, the distance between the first camera and the second camera is moved to a preset intermediate distance position, and the default gap position is It may be the intermediate spacing position.

실시 예로, 상기 방법은 상기 측정된 거리가 상기 제2거리값 이상이면, 좌/우 차선으로 주행중인 차량의 존재 유무를 판단하는 단계와 상기 판단 결과, 존재하지 않으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최대 간격 위치로 이동시키는 단계와 상기 판단 결과, 존재하면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격 위치로 이동시키는 단계를 포함할 수 있다.In an embodiment, the method includes the steps of, if the measured distance is equal to or greater than the second distance value, determining whether a vehicle traveling in a left/right lane exists, and if the determination result does not exist, the first camera and the second It may include moving the interval between the two cameras to a preset maximum interval position, and if it exists as a result of the determination, moving the interval between the first camera and the second camera to the intermediate interval position.

실시 예로, 상기 차속이 상기 제2속도값 이상이면, 상기 전방 주행 차량과의 거리가 측정되고, 상기 측정된 거리가 제3거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격이 상기 최소 간격 위치로 이동되고, 상기 제3거리값은 상기 제2거리값보다 클 수 있다.For example, when the vehicle speed is equal to or greater than the second speed value, the distance to the vehicle driving ahead is measured, and when the measured distance is less than the third distance value, the distance between the first camera and the second camera is It is moved to the minimum interval position, and the third distance value may be greater than the second distance value.

실시 예로, 상기 측정된 거리가 상기 제3거리값 이상이고, 제4거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격은 상기 중간 간격 위치로 이동되고, 상기 측정된 거리가 상기 제4거리값 이상이면, 상기 제1카메라와 상기 제2카메라의 간격은 상기 최대 간격 위치로 이동될 수 있다.In an embodiment, when the measured distance is equal to or greater than the third distance value and smaller than the fourth distance value, the distance between the first camera and the second camera is moved to the intermediate distance position, and the measured distance is If the fourth distance value or more, the distance between the first camera and the second camera may be moved to the maximum distance position.

본 발명의 다른 실시 예에 따른 차량용 스테레오 카메라 제어 방법은 차량 시동이 온(ON)되면 차속을 측정하는 단계와 전방 도로의 곡률 반경을 측정하는 단계와 전방 주행중인 차량과의 거리를 측정하는 단계와 측정된 상기 차속, 곡률 반경 및 거리에 기반하여 상기 스테레오 카메라에 구비된 제1카메라와 제2카메라의 최적 간격을 산출하는 단계와 상기 제1카메라와 제2카메라의 간격을 상기 산출된 최적 간격으로 조절하는 단계를 포함할 수 있다.A method for controlling a stereo camera for a vehicle according to another embodiment of the present invention includes the steps of measuring a vehicle speed when the vehicle is started, measuring a radius of curvature of a road ahead, and measuring a distance from a vehicle driving ahead; calculating an optimal distance between the first camera and the second camera provided in the stereo camera based on the measured vehicle speed, radius of curvature, and distance, and setting the distance between the first camera and the second camera as the calculated optimal distance It may include the step of adjusting.

실시 예로, 상기 방법은 상기 차량 시동이 온(ON)되면 상기 차속 측정 이전에 상기 제1카메라와 상기 제2카메라를 초기 간격 위치로 복귀시키는 단계를 더 포함할 수 있다.In an embodiment, the method may further include returning the first camera and the second camera to an initial interval position before the vehicle speed measurement when the vehicle ignition is on.

실시 예로, 미리 정의된 최적 간격 생성 함수에 상기 측정된 차속, 곡률 반경 및 거리가 입력되어 상기 최적 간격이 산출될 수 있다.In an embodiment, the optimal distance may be calculated by inputting the measured vehicle speed, radius of curvature, and distance to a predefined optimal gap generating function.

실시 예로, 상기 측정된 차속, 곡률 반경 및 거리 각각에 대해 미리 설정된 가중치가 적용되어 상기 최적 간격이 산출될 수 있다.In an embodiment, preset weights may be applied to each of the measured vehicle speed, radius of curvature, and distance to calculate the optimal interval.

본 발명의 또 다른 실시 예에 따른 차량용 스테레오 카메라 제어 장치는 제1 카메라 및 제2 카메라가 구비된 스테레오 카메라와 차량 시동이 온(ON)되면 차속을 감지하는 차속감지부와 상기 차속과 미리 설정된 속도값을 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 결정하는 제어부와 상기 결정된 간격으로 상기 제1카메라 및 제2카메라를 이동시키는 간격조절부를 포함할 수 있다.An apparatus for controlling a stereo camera for a vehicle according to another embodiment of the present invention includes a stereo camera having a first camera and a second camera, a vehicle speed detecting unit for detecting a vehicle speed when the vehicle is started, and the vehicle speed and a preset speed It may include a control unit that compares values to determine an interval between the first camera and the second camera, and an interval control unit that moves the first camera and the second camera at the determined interval.

실시 예로, 상기 차량 시동이 온(ON)되면 상기 차속을 감지하기 이전에 상기 간격조절부가 상기 제1카메라와 상기 제2카메라를 디폴트 간격 위치로 복귀시킬 수 있다.In an embodiment, when the vehicle ignition is ON, the interval adjusting unit may return the first camera and the second camera to a default interval position before detecting the vehicle speed.

실시 예로, 상기 제어부는 상기 차속이 제1속도값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최소 간격으로 결정할 수 있다.In an embodiment, when the vehicle speed is less than the first speed value, the controller may determine the interval between the first camera and the second camera as a preset minimum interval.

실시 예로, 상기 장치는 전방 차량과의 거리를 산출하는 거리산출부를 더 포함하고, 상기 제어부는 상기 차속이 상기 제1속도값 이상이고, 제2속도값보다 작으면 상기 거리산출부가 상기 거리를 산출하도록 제어할 수 있다.In an embodiment, the device further includes a distance calculator for calculating a distance from a vehicle in front, wherein the controller includes the distance calculator for calculating the distance when the vehicle speed is equal to or greater than the first speed value and less than the second speed value. can be controlled to do so.

실시 예로, 상기 제어부는 상기 산출된 거리와 미리 설정된 거리값을 더 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 결정할 수 있다.In an embodiment, the controller may determine the interval between the first camera and the second camera by further comparing the calculated distance with a preset distance value.

실시 예로, 상기 제어부는 상기 측정된 거리가 제1거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격으로 결정할 수 있다.In an embodiment, when the measured distance is smaller than a first distance value, the controller may determine the distance between the first camera and the second camera as the minimum distance.

실시 예로, 상기 제어부는 상기 측정된 거리가 상기 제1거리값 이상이고, 제2거리값 보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 중간 간격으로 결정하고, 상기 디폴트 간격은 상기 중간 간격일 수 있다.In an embodiment, when the measured distance is equal to or greater than the first distance value and smaller than the second distance value, the controller determines the interval between the first camera and the second camera as a preset intermediate interval, and the default interval may be the intermediate interval.

실시 예로, 상기 장치는 상기 스테레오 카메라에 의해 촬영된 영상에 기반하여 상기 차량 주변의 물체를 감지하는 물체감지부를 더 포함하고, 상기 제어부는 상기 측정된 거리가 상기 제2거리값 이상이면, 상기 물체감지부를 통해 좌/우 차선으로 주행중인 차량의 존재 유무를 판단하고, 상기 판단 결과, 존재하지 않으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최대 간격으로 결정하고, 상기 판단 결과, 존재하면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격으로 결정할 수 있다.In an embodiment, the device further includes an object detecting unit for detecting an object around the vehicle based on the image captured by the stereo camera, and the control unit is configured to: It is determined whether there is a vehicle traveling in the left/right lane through the sensing unit, and if there is no vehicle as a result of the determination, the interval between the first camera and the second camera is determined as a preset maximum interval, and as a result of the determination, If present, the interval between the first camera and the second camera may be determined as the intermediate interval.

실시 예로, 상기 제어부는 상기 차속이 상기 제2속도값 이상이면, 상기 거리산출부를 통해 상기 측정된 전방 차량과의 거리가 제3거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격으로 결정하고, 상기 제3거리값은 상기 제2거리값보다 클 수 있다.For example, when the vehicle speed is equal to or greater than the second speed value, the distance to the vehicle in front measured by the distance calculator is smaller than a third distance value, the distance between the first camera and the second camera is determined as the minimum interval, and the third distance value may be greater than the second distance value.

실시 예로, 상기 제어부는 상기 측정된 거리가 상기 제3거리값 이상이고, 제4거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격으로 결정하고, 상기 측정된 거리가 상기 제4거리값 이상이면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최대 간격으로 결정할 수 있다.In an embodiment, when the measured distance is equal to or greater than the third distance value and less than the fourth distance value, the controller determines the interval between the first camera and the second camera as the intermediate interval, and the measured distance When is greater than or equal to the fourth distance value, the distance between the first camera and the second camera may be determined as the maximum distance.

본 발명의 또 다른 실시 예에 따른 차량용 스테레오 카메라 제어 장치는 제1 카메라 및 제2 카메라가 구비된 스테레오 카메라와 차량 시동이 온(ON)되면 차속을 감지하는 차속감지부와 전방 도로의 곡률 반경을 산출하는 곡률 반경산출부와 전방 주행중인 차량과의 거리를 산출하는 거리산출부와 상기 차속, 곡률 반경 및 거리에 기반하여 상기 스테레오 카메라에 구비된 제1카메라와 제2카메라의 최적 간격을 결정하는 제어부와 상기 제1카메라와 제2카메라의 간격을 상기 결정된 최적 간격으로 조절하는 간격조절부를 포함할 수 있다.An apparatus for controlling a stereo camera for a vehicle according to another embodiment of the present invention includes a stereo camera equipped with a first camera and a second camera, a vehicle speed detection unit that detects a vehicle speed when the vehicle is turned on, and a radius of curvature of the road ahead. The distance calculator for calculating the distance between the calculated radius of curvature calculator and the vehicle driving ahead, and the vehicle speed, radius of curvature, and distance to determine the optimal distance between the first camera and the second camera provided in the stereo camera It may include a control unit and an interval adjusting unit for adjusting the interval between the first camera and the second camera to the determined optimal interval.

실시 예로, 상기 제어부는 상기 차량 시동이 온(ON)되면 상기 차속 측정 이전에 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 초기 간격으로 복귀시킬 수 있다.In an embodiment, when the vehicle ignition is turned on, the controller may restore the interval between the first camera and the second camera to a preset initial interval before the vehicle speed measurement.

실시 예로, 상기 제어부는 미리 정의된 최적 간격 생성 함수에 상기 산출된 차속, 곡률 반경 및 거리를 입력하여 상기 최적 간격을 산출할 수 있다.In an embodiment, the controller may calculate the optimum interval by inputting the calculated vehicle speed, radius of curvature, and distance to a predefined optimum interval generating function.

실시 예로, 상기 제어부는 상기 차속, 곡률 반경 및 거리 각각에 대해 미리 설정된 가중치가 적용하여 상기 최적 간격을 산출할 수 있다.In an embodiment, the controller may calculate the optimum interval by applying a preset weight to each of the vehicle speed, the radius of curvature, and the distance.

본 발명에서 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급하지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present invention are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those of ordinary skill in the art to which the present invention belongs from the description below. will be able

본 발명은 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 장점이 있다.The present invention has the advantage of providing a method and apparatus for controlling a stereo camera for a vehicle.

또한, 본 발명은 주행 환경에 따라 스테레오 카메라의 두 카메라 간격을 적응적으로 제어함으로써, 화각 및 물체 인식 가능 거리를 동적으로 제어하는 것이 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 장점이 있다.In addition, the present invention has the advantage of providing a method and apparatus for controlling a stereo camera for a vehicle to dynamically control an angle of view and an object recognizable distance by adaptively controlling a distance between two cameras of a stereo camera according to a driving environment.

또한, 본 발명은 장거리 인식 및 좌/우 인식 범위 확장을 위한 별도 센서를 구비하지 않고도 보다 넓은 인식 범위를 가지고 정확하게 물체를 감지하는 것이 가능한 차량용 스테레오 카메라 제어 방법 및 장치를 제공하는 장점이 있다.In addition, the present invention has the advantage of providing a method and apparatus for controlling a stereo camera for a vehicle capable of accurately detecting an object with a wider recognition range without having a separate sensor for long-distance recognition and extension of the left/right recognition range.

또한, 본 발명은 센서 구성의 단순화를 통해 ADAS 구현 원가를 절감할 수 있을 뿐만 아니라 ADAS 대중화에 기여할 수 있는 장점이 있다.In addition, the present invention has the advantage of not only reducing the ADAS implementation cost through the simplification of the sensor configuration, but also contributing to the popularization of ADAS.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.

도 1은 종래의 스테레오 카메라 구조를 설명하기 위한 도면이다.
도 2는 본 발명의 일 실시 예에 따른 스테레오 카메라의 구조를 설명하기 위한 도면이다.
도 3은 본 발명의 다른 실시 예에 따른 스테레오 카메라의 구조를 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시 예에 따른 차량용 스테레오 카메라 제어 장치의 구조를 설명하기 위한 도면이다.
도 5는 상기 도 4의 실시 예에 따른 장치에서의 스테레오 카메라 간격 조절 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 다른 실시 예에 따른 차량용 스테레오 카메라 제어 장치의 구조를 설명하기 위한 도면이다.
도 7은 상기 도 6의 실시 예에 따른 장치에서의 스테레오 카메라 간격 조절 방법을 설명하기 위한 도면이다.
도 8a 내지 8b는 본 발명의 일 실시 예에 따른 차량용 스테레오 카메라 제어 방법을 설명하기 위한 순서도이다.
도 9는 본 발명의 다른 실시 예에 따른 차량용 스테레오 카메라 제어 방법을 설명하기 위한 순서도이다.
1 is a view for explaining the structure of a conventional stereo camera.
2 is a view for explaining the structure of a stereo camera according to an embodiment of the present invention.
3 is a view for explaining the structure of a stereo camera according to another embodiment of the present invention.
4 is a view for explaining the structure of a stereo camera control apparatus for a vehicle according to an embodiment of the present invention.
FIG. 5 is a view for explaining a method of adjusting a stereo camera distance in the apparatus according to the embodiment of FIG. 4 .
6 is a view for explaining the structure of a stereo camera control apparatus for a vehicle according to another embodiment of the present invention.
FIG. 7 is a view for explaining a method of adjusting a stereo camera distance in the apparatus according to the embodiment of FIG. 6 .
8A to 8B are flowcharts illustrating a method for controlling a stereo camera for a vehicle according to an embodiment of the present invention.
9 is a flowchart illustrating a method for controlling a stereo camera for a vehicle according to another embodiment of the present invention.

이하, 본 발명의 일부 실시 예들을 예시적인 도면을 통해 상세하게 설명한다. 각 도면의 구성요소들에 참조부호를 부가함에 있어서, 동일한 구성요소들에 대해서는 비록 다른 도면상에 표시되더라도 가능한 한 동일한 부호를 가지도록 하고 있음에 유의해야 한다. 또한, 본 발명의 실시 예를 설명함에 있어, 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 실시 예에 대한 이해를 방해한다고 판단되는 경우에는 그 상세한 설명은 생략한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to exemplary drawings. In adding reference numerals to the components of each drawing, it should be noted that the same components are given the same reference numerals as much as possible even though they are indicated on different drawings. In addition, in describing the embodiment of the present invention, if it is determined that a detailed description of a related known configuration or function interferes with the understanding of the embodiment of the present invention, the detailed description thereof will be omitted.

본 발명의 실시 예의 구성 요소를 설명하는 데 있어서, 제 1, 제 2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 또한, 다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 가진 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.In describing the components of the embodiment of the present invention, terms such as first, second, A, B, (a), (b), etc. may be used. These terms are only for distinguishing the components from other components, and the essence, order, or order of the components are not limited by the terms. In addition, unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art to which the present invention belongs. Terms such as those defined in a commonly used dictionary should be interpreted as having a meaning consistent with the meaning in the context of the related art, and should not be interpreted in an ideal or excessively formal meaning unless explicitly defined in the present application. does not

이하, 도 1 내지 도 9를 참조하여, 본 발명의 실시 예들을 구체적으로 설명하기로 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to FIGS. 1 to 9 .

도 1은 종래의 스테레오 카메라 구조를 설명하기 위한 도면이다. 1 is a view for explaining the structure of a conventional stereo camera.

스테레오 카메라의 원리는 사람이 사물을 바라볼 때 입체감 및 거리감을 느끼는 원리와 동일하다.The principle of a stereo camera is the same as the principle that a person feels a three-dimensional effect and a sense of distance when looking at an object.

도 1에 도시된 바와 같이, 스테레오 카메라(100)는 본체(110)의 일면에 서로 일정 간격을 두고 배치되는 제1 카메라(120)와 제2카메라(130)를 포함하여 구성될 수 있다.As shown in FIG. 1 , the stereo camera 100 may include a first camera 120 and a second camera 130 disposed on one surface of the body 110 at a predetermined distance from each other.

스테레오 카메라(100)의 좌/우 카메라(120, 130)는 사람의 양안과 같이 특정 물체를 주시할 때 공간적인 차이에 의해 시차가 발생하며, 그 시차에 의해 물체까지의 거리감이나 물체의 입체감을 느낄 수 있게 된다.When the left/right cameras 120 and 130 of the stereo camera 100 look at a specific object, such as both eyes of a person, a parallax occurs due to a spatial difference, and by the parallax, a sense of distance to the object or a three-dimensional effect of the object be able to feel

스테레오 카메라(100)에서 물체의 시차 정보를 추출하기 이전에 반드시 수행하여야 하는 과정이 있는데, 캘리브레이션(Calibration)과 렉티피케이션(Rectification)이다. There are processes that must be performed before the stereo camera 100 extracts disparity information of an object, which is calibration and rectification.

캘리브레이션은 스테레오 카메라(100)의 카메라 파라미터를 추출하는 과정이고, 렉티피케이션은 이러한 추출된 카메라 파라미터를 이용하여 좌우 카메라 영상을 정확하게 정렬시켜, 이후 스테레오 시차를 계산할 때 그 연산량을 줄이고 정확도를 높이는 과정을 의미한다.Calibration is a process of extracting camera parameters of the stereo camera 100, and rectification is a process of accurately aligning left and right camera images using these extracted camera parameters, thereby reducing the amount of computation and increasing accuracy when calculating stereo parallax. means

스테레오 카메라(100) 캘리브레이션은 카메라의 왜곡 보정과 스테레오 영상의 렉티피케이션을 위해 반드시 선행되어야 하는 과정이며, 본 발명에 따른 차량용 스테레오 카메라 제어 장치는 내부 메모리에 사전 추출된 캘리브레이션 파라메터가 기록되어 유지될 수 있다.The stereo camera 100 calibration is a process that must be preceded for camera distortion correction and stereo image rectification, and in the vehicle stereo camera control device according to the present invention, the pre-extracted calibration parameter is recorded and maintained in the internal memory. can

스테레오 카메라(100)는 제1카메라(120)와 제2카메라(130)의 간격에 따라 전방의 물체를 인식할 수 있는 거리와 화각이 달라지는 특성이 있다.The stereo camera 100 has a characteristic in that a distance and an angle of view at which an object in front can be recognized vary according to the distance between the first camera 120 and the second camera 130 .

즉, 카메라 간격이 짧아지면 화각은 넓어지고 전방 물체 인식 가능 거리는 감소한다. 반면, 카메라 간격이 멀어지면 화각은 좁아지고 전방 물체 인식 가능 거리는 증가한다.That is, when the distance between the cameras is shortened, the angle of view is widened and the distance that can recognize the front object decreases. On the other hand, as the distance between the cameras increases, the angle of view narrows and the recognizable distance of the front object increases.

종래의 스테레오 카메라(100)는 제1카메라(120)와 제2카메라(130)의 간격이 고정되도록 본체(110)에 장착되었다.The conventional stereo camera 100 is mounted on the main body 110 so that the distance between the first camera 120 and the second camera 130 is fixed.

카메라 간격이 고정된 스테레오 카메라(100)의 경우, 전방 물체 인식 가능 거리가 고정된 값을 가진다. 따라서 전방 물체 인식 가능 거리보다 먼 곳에 위치한 물체는 감지할 수 없는 단점이 있다.In the case of the stereo camera 100 having a fixed camera distance, the front object recognizable distance has a fixed value. Therefore, there is a disadvantage in that an object located farther than the front object recognition distance cannot be detected.

또한, 카메라 간격이 고정된 스테레오 카메라(100)의 경우, 화각이 고정되어 있다. 따라서, 선행 차량이 자차와 매우 가까운 거리에서 주행하는 경우, 화각 한계로 선행 차량에 대한 정확한 주행 정보를 획득할 수 없는 단점이 있다.In addition, in the case of the stereo camera 100 having a fixed camera interval, the angle of view is fixed. Accordingly, when the preceding vehicle travels at a very close distance to the host vehicle, there is a disadvantage in that accurate driving information about the preceding vehicle cannot be obtained due to the limitation of the angle of view.

일 예로, 선행 차량이 자차에 너무 근접한 경우 스테레오 카메라를 통해 좌우 차선 인식이 어렵거나 부정확할 수 있다. For example, when the preceding vehicle is too close to the own vehicle, it may be difficult or inaccurate to recognize the left and right lanes through the stereo camera.

다른 일 예로, 차량이 좁은 골목 및 실내 주차장을 주행하거나 교차로 및 횡단보도에 접근할 때와 같이 주행 속도가 느린 상황에서는 먼 거리에 대한 주행 환경 정보보다 좌우의 가까운 주행 환경 정보-예를 들면, 보행자 출현 정보 등-가 유용할 수 있다. 하지만, 스테레오 카메라 화각이 좁게 고정된 상태에서는 해당 주행 상황에서 필요한 정보를 획득할 수 없는 문제점이 있다.As another example, in a situation where the driving speed is slow, such as when the vehicle is driving in a narrow alley or an indoor parking lot, or when approaching an intersection or a crosswalk, the driving environment information on the left and right is closer than the driving environment information for a long distance - for example, a pedestrian Appearance information, etc. - may be useful. However, there is a problem in that it is impossible to obtain necessary information in a corresponding driving situation in a state in which the stereo camera angle of view is narrowly fixed.

따라서, 차량 주행 상태에 따라 적응적으로 물체 인식 가능 거리 및 화각을 조절할 수 있는 스테레오 카메라가 요구된다. Accordingly, there is a need for a stereo camera capable of adaptively adjusting the object recognition distance and the angle of view according to the driving state of the vehicle.

도 2는 본 발명의 일 실시 예에 따른 스테레오 카메라의 구조를 설명하기 위한 도면이다.2 is a view for explaining the structure of a stereo camera according to an embodiment of the present invention.

도 2를 참조하면, 스테레오 카메라(200)는 본체(210), 제1카메라(220), 제2카메라(230), 제1가드레일(240) 및 제2가드레일(250)을 포함하여 구성될 수 있다.Referring to FIG. 2 , the stereo camera 200 includes a main body 210 , a first camera 220 , a second camera 230 , a first guard rail 240 , and a second guard rail 250 . can be

제1카메라(220) 및 제2카메라(230)는 본체(210)의 일면에 서로 이격되게 배치될 수 있다. The first camera 220 and the second camera 230 may be disposed on one surface of the body 210 to be spaced apart from each other.

제1카메라(220)는 제1가드레일(240)를 따라 이동이 가능하고, 제2카메라(230)는 제2가드레일(250)을 따라 이동 가능할 수 있다.The first camera 220 may be movable along the first guard rail 240 , and the second camera 230 may be movable along the second guard rail 250 .

본체(210)의 내부에는 제1카메라(220)과 제2카메라(230)를 이동시키기 위한 적어도 하나의 구동 모터(미도시)가 구비될 수 있다.At least one driving motor (not shown) for moving the first camera 220 and the second camera 230 may be provided inside the body 210 .

본체(210)의 내부에는 상기 구동 모터를 제어하여 제1카메라(220) 및 제2카메라(230)의 간격을 제어하는 제어 회로(미도시)가 구비될 수 있다.A control circuit (not shown) for controlling the distance between the first camera 220 and the second camera 230 by controlling the driving motor may be provided inside the main body 210 .

상기 제어 회로는 차량 내 구비된 다양한 센서와 연동될 수 있다. 여기서, 센서는 차속 센서 및 요레이트(Yawrate) 센서를 포함할 수 있으나, 이에 한정되지는 않으며, 측/후방의 물체 감지가 가능한 초음파 센서, 레이다, 라이다 중 적어도 하나를 더 포함할 수도 있다.The control circuit may be linked with various sensors provided in the vehicle. Here, the sensor may include a vehicle speed sensor and a yaw rate sensor, but is not limited thereto, and may further include at least one of an ultrasonic sensor capable of detecting a side/rear object, a radar, and a lidar.

도 3은 본 발명의 다른 실시 예에 따른 스테레오 카메라의 구조를 설명하기 위한 도면이다.3 is a view for explaining the structure of a stereo camera according to another embodiment of the present invention.

도 3을 참조하면, 스테레오 카메라(300)는 본체(310), 제1카메라(320), 제2카메라(330) 및 가드레일(340)을 포함하여 구성될 수 있다.Referring to FIG. 3 , the stereo camera 300 may include a body 310 , a first camera 320 , a second camera 330 , and a guard rail 340 .

제1카메라(320) 및 제2카메라(330)는 본체(310)의 일면에 서로 이격되게 배치될 수 있다. The first camera 320 and the second camera 330 may be disposed on one surface of the body 310 to be spaced apart from each other.

제1카메라(320)는 가드레일(340)를 따라 이동이 가능할 수 있다.The first camera 320 may be movable along the guard rail 340 .

본체(310)의 내부에는 제1카메라(320)를 이동시키기 위한 구동 모터(미도시)가 구비될 수 있다.A driving motor (not shown) for moving the first camera 320 may be provided inside the main body 310 .

본체(310)의 내부에는 상기 구동 모터를 제어하여 제1카메라(220) 및 제2카메라(230)의 간격을 제어하는 제어 회로(미도시)가 구비될 수 있다.A control circuit (not shown) for controlling the distance between the first camera 220 and the second camera 230 by controlling the driving motor may be provided inside the main body 310 .

상기 제어 회로는 차량 내 구비된 다양한 센서와 연동될 수 있다. 여기서, 센서는 차속 센서 및 요레이트(Yawrate) 센서를 포함할 수 있으나, 이에 한정되지는 않으며, 측/후방의 물체 감지가 가능한 초음파 센서, 레이다, 라이다 중 적어도 하나를 더 포함할 수도 있다.The control circuit may be linked with various sensors provided in the vehicle. Here, the sensor may include a vehicle speed sensor and a yaw rate sensor, but is not limited thereto, and may further include at least one of an ultrasonic sensor capable of detecting a side/rear object, a radar, and a lidar.

상기한 도 3의 실시 예에서는 제1카메라(320)가 가드레일(340)상에서 이동하는 것으로 도시되어 있으나, 이는 하나의 실시 예에 불과하며, 다른 실시 예는 가드레일(340)이 제2카메라(330)가 이동 가능하도록 설계될 수 있다. 3, the first camera 320 is shown to move on the guard rail 340, but this is only one embodiment, and in another embodiment, the guard rail 340 is the second camera 330 may be designed to be movable.

상기 도 2 및 도 3의 실시 예에 따른 스테레오 카메라(200, 300)는 주행 정보 및 주행 도로 주변 환경에 따라 동적으로 카메라 간격을 조절하여 최적의 화각 및 물체 인식 가능 거리를 유지할 수 있는 장점이 있다.The stereo cameras 200 and 300 according to the embodiments of FIGS. 2 and 3 have the advantage of being able to maintain an optimal angle of view and an object recognizable distance by dynamically adjusting the camera distance according to driving information and driving road surroundings. .

특히, 본 발명에 따른 스테레오 카메라(200, 300)는 장거리 인식 및 좌/우 인식 범위 확장을 위한 별도 센서를 구비하지 않고도 보다 넓은 인식 범위를 가지고 정확하게 물체를 감지할 수 있는 장점이 있다.In particular, the stereo cameras 200 and 300 according to the present invention have the advantage of being able to accurately detect an object with a wider recognition range without having a separate sensor for long-distance recognition and extension of the left/right recognition range.

따라서, 본 발명은 차량 내 구비되는 센서 구성의 단순화를 통해 ADAS 구현 원가를 절감할 수 있을 뿐만 아니라 ADAS 대중화에 기여할 수 있는 장점이 있다.Accordingly, the present invention has the advantage of not only reducing the cost of implementing ADAS through the simplification of the sensor configuration provided in the vehicle, but also contributing to the popularization of ADAS.

도 4는 본 발명의 일 실시 예에 따른 차량용 스테레오 카메라 제어 장치의 구조를 설명하기 위한 도면이다.4 is a view for explaining the structure of a stereo camera control apparatus for a vehicle according to an embodiment of the present invention.

도 4를 참조하면, 차량용 스테레오 카메라 제어 장치(400)는 스테레오 카메라(410), 간격조절부(420), 물체감지부(430), 차속감지부(440), 거리산출부(450), 저장부(460) 및 제어부(470)를 포함하여 구성될 수 있다.Referring to FIG. 4 , the vehicle stereo camera control device 400 includes a stereo camera 410 , an interval adjusting unit 420 , an object detecting unit 430 , a vehicle speed detecting unit 440 , a distance calculating unit 450 , and storage. It may be configured to include a unit 460 and a control unit 470 .

이하 설명의 편의를 위해, 차량용 스테레오 카메라 제어 장치(400)는 설명의 편의를 위해 간단히, 장치(400)라 명하기로 한다.Hereinafter, for convenience of description, the vehicle stereo camera control device 400 will be simply referred to as the device 400 for convenience of description.

스테레오 카메라(410)는 상술한 도 2 및 도 3에서 설명된 바와 같이, 제1 카메라(411) 및 제2 카메라(412)를 포함하여 구성될 수 있다.The stereo camera 410 may be configured to include a first camera 411 and a second camera 412 as described above with reference to FIGS. 2 and 3 .

간격조절부(420)는 내부 구동 모터를 이용하여 제1 카메라(411)와 제2 카메라(412)의 간격을 특정 레벨 단위로 조절할 수 있다.The interval adjusting unit 420 may adjust the interval between the first camera 411 and the second camera 412 in a specific level unit by using an internal driving motor.

물체감지부(430)는 스테레오 카메라(410)에 의해 촬영된 영상에 기반하여 물체를 감지할 수 있다. 여기서, 감지되는 물체는 전방 주행중인 차량, 차선, 좌/우 차선으로 주행중인 차량, 전방 보행자 등을 포함할 수 있으나, 이에 한정되지는 않는다.The object detecting unit 430 may detect an object based on an image captured by the stereo camera 410 . Here, the sensed object may include, but is not limited to, a vehicle traveling forward, a vehicle traveling in a lane, a vehicle traveling in a left/right lane, a pedestrian in front, and the like.

차속감지부(440)에 차량의 주행 속도를 감지할 수 있다.The vehicle speed detecting unit 440 may detect the driving speed of the vehicle.

거리산출부(450)는 스테레오 카메라(410)의 촬영 영상에 기반하여 자차와 전방 주행 차량과의 이격 거리를 산출할 수 있다.The distance calculator 450 may calculate a separation distance between the own vehicle and the vehicle driving ahead based on the image captured by the stereo camera 410 .

저장부(460)에는 장치(400)의 동작에 필요한 프로그램 및 각종 데이터가 기록되어 유지될 수 있다. 일 예로, 저장부(460)에는 스테레오 카메라(410)에 대응하여 사전 추출된 캘리브레이션 파라메터가 기록되어 유지될 수 있다. In the storage unit 460 , programs and various data necessary for the operation of the device 400 may be recorded and maintained. For example, in the storage unit 460 , a calibration parameter pre-extracted corresponding to the stereo camera 410 may be recorded and maintained.

제어부(470)는 장치(400)의 전체적인 동작 및 입출력을 제어할 수 있다.The controller 470 may control the overall operation and input/output of the device 400 .

실시 예로, 제어부(470)는 차속감지부(440)로부터 획득된 차속 정보 및 거리산출부(450)로부터 획득한 전방 주행 차량까지의 거리에 기반하여 제1 카메라(411) 및 제2 카메라(412)의 최적 간격-즉, 최적 베이스라인-을 결정할 수 있다. 제어부(470)는 결정된 최적 간격으로의 조절을 지시하는 소정 간격 제어 신호를 간격조절부(420)에 전송할 수 있다. 간격조절부(420)는 간격 제어 신호에 따라 구동 모터를 제어하여 제1 카메라(411)와 제2 카메라(412)의 간격을 최적 간격으로 조정할 수 있다.In an embodiment, the controller 470 may control the first camera 411 and the second camera 412 based on the vehicle speed information obtained from the vehicle speed detecting unit 440 and the distance to the vehicle traveling ahead obtained from the distance calculating unit 450 . ) - that is, an optimal baseline - can be determined. The control unit 470 may transmit a predetermined interval control signal instructing adjustment to the determined optimal interval to the interval control unit 420 . The interval adjusting unit 420 may control the driving motor according to the interval control signal to adjust the interval between the first camera 411 and the second camera 412 to an optimum interval.

실시 예로, 제어부(470)는 실시간 수집된 차속 및 전방 주행 차량과의 거리에 따라, 후술할 도 5에 도시된 바와 같이, 짧은 기준거리(L1, Short baseline), 중간 기준거리(L2, Medium Baseline) 및 긴 기준 거리(L3, Long Baseline) 중 어느 하나를 최적 간격으로 결정할 수 있다. 이때, 짧은 기준거리(L1, Short baseline), 중간 기준거리(L2, Medium Baseline) 및 긴 기준 거리(L3, Long Baseline)에 대한 정보는 사전 캘리브레이션을 통해 추출되어 저장부(460)에 유지될 수 있다. In an embodiment, the controller 470 may control a short baseline (L1) and a medium baseline (L2, medium baseline), as shown in FIG. 5 to be described later, according to the real-time collected vehicle speed and distance from the vehicle traveling in front. ) and a long reference distance (L3, Long Baseline) may be determined as the optimal interval. At this time, information on the short reference distance (L1, Short baseline), the intermediate reference distance (L2, Medium Baseline), and the long reference distance (L3, Long baseline) may be extracted through pre-calibration and maintained in the storage unit 460 . have.

도 5는 상기 도 4의 실시 예에 따른 장치에서의 스테레오 카메라 간격 조절 방법을 설명하기 위한 도면이다.FIG. 5 is a view for explaining a method of adjusting a stereo camera distance in the apparatus according to the embodiment of FIG. 4 .

도 4 내지 5를 참조하면, 장치(400)는 차량 시동 후 제1 카메라(411) 및 제2 카메라(412)는 초기 위치-즉, Default Baseline-을 중간 기준라인(L2, Medium Baseline)-로 복귀시킬 수 있다.4 to 5 , after the device 400 starts the vehicle, the first camera 411 and the second camera 412 set the initial position—that is, the Default Baseline—to the intermediate reference line (L2, Medium Baseline)— can return

이 후, 장치(400)는 주행 중 수집된 차속 정보 및 전방 주행 차량과의 이격 거리 정보에 기반하여 동적으로 스테레오 카메라 간격을 짧은 기준거리(L1, Short baseline), 중간 기준거리(L2, Medium Baseline) 및 긴 기준 거리(L3, Long Baseline) 중 어느 하나로 결정하여 조절할 수 있다.Thereafter, the device 400 dynamically adjusts the stereo camera interval to a short baseline (L1) and a medium baseline (L2, medium baseline) based on the vehicle speed information collected during driving and the separation distance information from the vehicle in front. ) and a long reference distance (L3, Long Baseline) can be determined and adjusted.

실시 예에 따른 장치(400)는 차속 및 전방 주행 차량과의 이격 거리에 따라 자차 주행 차선의 좌/우 차선으로 주행중인 차량의 존재 여부에 관한 정보에 더 기반하여 스테레오 카메라 간격을 결정할 수도 있다.The apparatus 400 according to an embodiment may determine the stereo camera distance further based on information on whether a vehicle is traveling in the left/right lane of the own vehicle's driving lane according to the vehicle speed and the separation distance from the forward driving vehicle.

도 6은 본 발명의 다른 실시 예에 따른 차량용 스테레오 카메라 제어 장치의 구조를 설명하기 위한 도면이다.6 is a view for explaining the structure of a stereo camera control apparatus for a vehicle according to another embodiment of the present invention.

도 6을 참조하면, 차량용 스테레오 카메라 제어 장치(600)는 스테레오 카메라(610), 차속감지부(620), 간격조절부(630), 물체감지부(640), 곡률반경산출부(650), 거리산출부(660), 저장부(670) 및 제어부(680)을 포함하여 구성될 수 있다.6, the vehicle stereo camera control device 600 includes a stereo camera 610, a vehicle speed detection unit 620, an interval adjustment unit 630, an object detection unit 640, a radius of curvature calculation unit 650, It may be configured to include a distance calculating unit 660 , a storage unit 670 , and a control unit 680 .

이하 설명의 편의를 위해, 차량용 스테레오 카메라 제어 장치(600)는 설명의 편의를 위해 간단히, 장치(600)라 명하기로 한다.Hereinafter, for convenience of description, the vehicle stereo camera control device 600 will be simply referred to as the device 600 for convenience of description.

스테레오 카메라(610)는 상술한 도 2 및 도 3에서 설명된 바와 같이, 제1 카메라(611) 및 제2 카메라(612)를 포함하여 구성될 수 있다.The stereo camera 610 may be configured to include a first camera 611 and a second camera 612 as described above with reference to FIGS. 2 and 3 .

차속감지부(620)에 차량의 주행 속도를 감지할 수 있다.The vehicle speed detecting unit 620 may detect the driving speed of the vehicle.

실시 예에 따른 제어부(680)는 자차의 차속이 높으면 스테레오 카메라(610)의 간격이 커지도록 제어하고, 자차의 차속이 낮으면 스테레오 카메라(610)의 간격이 작아지도록 제어할 수 있다.The controller 680 according to an embodiment may control the distance between the stereo cameras 610 to increase when the vehicle speed of the host vehicle is high, and control the distance between the stereo cameras 610 to decrease when the vehicle speed of the host vehicle is low.

간격조절부(630)는 내부 구동 모터를 이용하여 제1 카메라(411)와 제2 카메라(412)의 간격을 미세 조절할 수 있다. 여기서, 미세 조절 단위는 밀리미터(mm) 단위 또는 센티미터(츠) 단위일 수 있으나, 이에 한정되지는 않으며, 당업자의 설계에 따라 수 밀리미터(mm) 또는 수 센티미터(츠) 단위로 수 설정될 수 있다.The interval adjusting unit 630 may finely adjust the interval between the first camera 411 and the second camera 412 by using an internal driving motor. Here, the fine adjustment unit may be a millimeter (mm) unit or a centimeter (tsu) unit, but is not limited thereto, and may be set in units of several millimeters (mm) or several centimeters (tsu) according to a design of those skilled in the art. .

물체감지부(640)는 스테레오 카메라(610)에 의해 촬영된 영상에 기반하여 물체를 감지할 수 있다. 여기서, 감지되는 물체는 전방 주행중인 차량, 차선, 좌/우 차선으로 주행중인 차량, 전방 보행자 등을 포함할 수 있으나, 이에 한정되지는 않는다.The object detecting unit 640 may detect an object based on an image captured by the stereo camera 610 . Here, the sensed object may include, but is not limited to, a vehicle traveling forward, a vehicle traveling in a lane, a vehicle traveling in a left/right lane, a pedestrian in front, and the like.

곡률반경산출부(650)는 전방 도로의 곡률 반경을 산출할 수 있다.The radius of curvature calculator 650 may calculate the radius of curvature of the road ahead.

실시 예에 따른 제어부(680)는 전방 도로의 곡률 반경이 크면 스테레오 카메라(610)의 간격이 커지도록 제어하고, 전방 도로의 곡률 반경이 작으면 스테레오 카메라(610)의 간격이 작아지도록 제어할 수 있다.The control unit 680 according to an embodiment may control the distance between the stereo cameras 610 to increase when the radius of curvature of the front road is large, and control the distance between the stereo cameras 610 to be small when the radius of curvature of the front road is small. have.

거리산출부(660)는 스테레오 카메라(610)의 촬영 영상에 기반하여 자차와 전방 주행 차량과의 이격 거리를 산출할 수 있다.The distance calculator 660 may calculate a separation distance between the own vehicle and the vehicle driving ahead based on the image captured by the stereo camera 610 .

실시 예에 따른 제어부(680)는 자차로부터 전방 차량까지의 거리가 짧아질수록 스테레오 카메라(610) 간격이 작아지도록 제어하고, 자차로부터 전방 차량까지의 거리가 길어질수록 스테레오 카메라(610) 간격이 커지도록 제어할 수 있다.The control unit 680 according to an embodiment controls the distance between the stereo cameras 610 to become smaller as the distance from the own vehicle to the vehicle in front decreases, and the distance from the vehicle to the vehicle in front increases to increase the distance between the stereo cameras 610 . can be controlled to

저장부(670)에는 장치(600)의 동작에 필요한 프로그램 및 각종 데이터 및 파라메터가 기록되어 유지될 수 있다. 일 예로, 저장부(670)에는 스테레오 카메라(610)에 대응하여 사전 추출된 캘리브레이션 파라메터가 기록되어 유지될 수 있다. In the storage 670 , a program necessary for the operation of the device 600 and various data and parameters may be recorded and maintained. For example, in the storage unit 670 , a calibration parameter pre-extracted corresponding to the stereo camera 610 may be recorded and maintained.

제어부(680)는 장치(600)의 전체적인 동작 및 입출력을 제어할 수 있다.The controller 680 may control the overall operation and input/output of the device 600 .

실시 예로, 제어부(680)는 차속감지부(620)로부터 획득된 차속 정보, 곡률반경사출부(650)로부터 산출된 전방 도로 곡률 반경 정보 및 거리산출부(660)로부터 획득한 전방 주행 차량까지의 거리 정보에 기반하여 제1 카메라(611) 및 제2 카메라(612)의 최적 간격-즉, 최적 베이스라인-을 결정할 수 있다. 제어부(680)는 결정된 최적 간격으로의 조절을 지시하는 소정 간격 제어 신호를 간격조절부(630)에 전송할 수 있다. 간격조절부(630)는 간격 제어 신호에 따라 구동 모터를 제어하여 제1 카메라(611)와 제2 카메라(612)의 간격을 최적 간격으로 조정할 수 있다.In an embodiment, the control unit 680 may control the vehicle speed information obtained from the vehicle speed detecting unit 620 , the front road curvature radius information calculated from the curvature radius projecting unit 650 , and the distance to the forward driving vehicle obtained from the distance calculating unit 660 . An optimal interval between the first camera 611 and the second camera 612 (ie, an optimal baseline) may be determined based on the distance information. The control unit 680 may transmit a predetermined interval control signal instructing adjustment to the determined optimum interval to the interval control unit 630 . The interval adjusting unit 630 may control the driving motor according to the interval control signal to adjust the interval between the first camera 611 and the second camera 612 to an optimum interval.

실시 예로, 제어부(680)는 차속, 곡률 반경 및 전방 주행 차량과의 거리를 입력 값으로 하는 미리 정의된 최적 간격 생성 함수(Ls)를 통해 최적 간격을 계산할 수 있다. 이때, 최적 간격 생성 함수(Ls)의 입력 인자인 차속, 곡률 반경 및 전방 주행 차량과의 거리 각각에 대한 가중치는 상이하게 설정될 수 있다. In an embodiment, the controller 680 may calculate the optimum interval through a predefined optimum interval generating function Ls using the vehicle speed, the radius of curvature, and the distance to the vehicle traveling in front as input values. In this case, weights for each of the vehicle speed, the radius of curvature, and the distance from the vehicle traveling in front, which are input factors of the optimum interval generating function Ls, may be set differently.

후술할 도 7에 도시된 바와 같이, 본 실시 예에 따른 장치(600)는 상기 최적 간격 생성 함수를 통해 스테레오 카메라(610) 간격을 선형적으로 미세 조절할 수 있는 장점이 있다.As shown in FIG. 7 to be described later, the apparatus 600 according to the present embodiment has the advantage of being able to linearly fine-tune the distance between the stereo cameras 610 through the optimal interval generating function.

도 7은 상기 도 6의 실시 예에 따른 장치에서의 스테레오 카메라 간격 조절 방법을 설명하기 위한 도면이다.FIG. 7 is a view for explaining a method of adjusting a stereo camera distance in the apparatus according to the embodiment of FIG. 6 .

도 6 내지 7을 참조하면, 장치(600)는 차량 시동 후 초기 간격 Linit을 가지도록 제1 카메라(611) 및 제2 카메라(612)의 위치를 이동시킬 수 있다.6 to 7 , the device 600 may move the positions of the first camera 611 and the second camera 612 to have an initial interval Linit after the vehicle is started.

이 후, 장치(600)는 주행 중 수집된 차속(V), 전방 도로의 곡률 반경(R) 및 전방 주행 차량과의 이격 거리(X)에 기반하여 동적으로 스테레오 카메라(610) 간격을 조절할 수 있다.Thereafter, the device 600 may dynamically adjust the distance between the stereo cameras 610 based on the vehicle speed (V) collected during driving, the radius of curvature (R) of the road ahead, and the separation distance (X) from the vehicle driving in front. have.

일 예로, 장치(600)는 하기 최적 간격 생성 함수(Ls)를 이용하여 해당 주행 환경에서의 스테레오 카메라(610)에 구비된 제1카메라(611)와 제2카메라(612)의 최적 간격을 계산할 수 있다. As an example, the device 600 calculates the optimum interval between the first camera 611 and the second camera 612 provided in the stereo camera 610 in the corresponding driving environment by using the following optimum interval generation function Ls. can

Ls = a×Ax×X + b×Ar×R + c×Av×VLs = a×Ax×X + b×Ar×R + c×Av×V

여기서, a는 X 값에 대한 가중치이고, b는 R값에 대한 가중치이고, c는 V 값에 대한 가중치이다. Ax, Ar 및 Av는 각각 X값, R값 및 V값을 Ls 값과 같은 크기-동일 스캐일(SCALE)-로 만들기 위한 무차원 계수이다.Here, a is a weight for the X value, b is a weight for the R value, and c is a weight for the V value. Ax, Ar, and Av are dimensionless coefficients for making the X value, R value, and V value the same size as the Ls value - the same scale (SCALE) - respectively.

실시 예로, a, b, c 중 적어도 하나는 서로 상이한 값을 가질 수 있다.In an embodiment, at least one of a, b, and c may have different values.

도 8a 내지 8b는 본 발명의 일 실시 예에 따른 차량용 스테레오 카메라 제어 방법을 설명하기 위한 순서도이다.8A to 8B are flowcharts illustrating a method for controlling a stereo camera for a vehicle according to an embodiment of the present invention.

실시 예로, 차량 시동이 오프(OFF)되면, 스테레오 카메라(410)의 간격은 시동 OFF 직전 상태가 그대로 유지될 수 있다. In an embodiment, when the vehicle ignition is turned off, the distance between the stereo cameras 410 may be maintained in a state immediately before the ignition is turned off.

도 4, 5 및 8a를 참조하면, 차량 시동이 온(ON)되면, 장치(400)은 스테레오 카메라(410)를 디폴트 간격(L2) 위치로 복귀시킬 수 있다(S801). Referring to FIGS. 4, 5 and 8A , when the vehicle ignition is on, the device 400 may return the stereo camera 410 to the default interval L2 position ( S801 ).

다른 실시 예로 차량 시동이 오프되면, 장치(400)는 스테레오 카메라(410)의 간격을 디폴트 값인 중간 간격 L2로 자동 복귀시킬 수도 있다. 이 경우, 상기한 단계 S801은 생략될 수 있다.In another embodiment, when the vehicle ignition is turned off, the device 400 may automatically return the interval between the stereo cameras 410 to the default intermediate interval L2. In this case, the above-described step S801 may be omitted.

장치(400)는 현재 차량의 주행 속도인 차속(Vx)를 측정할 수 있다(S802).The device 400 may measure the vehicle speed Vx, which is the current traveling speed of the vehicle (S802).

장치(400)는 차속 Vx와 미리 설정된 제1속도값을 비교할 수 있다(S803). 일 예로, 제1속도값은 시속 20km일 수 있으나, 이에 한정되지는 않으며, 저속 주행에 상응하는 특정 값으로 설정될 수 있다.The device 400 may compare the vehicle speed Vx with a preset first speed value ( S803 ). For example, the first speed value may be 20 km/h, but is not limited thereto, and may be set to a specific value corresponding to low-speed driving.

장치(400)는 Vx가 제1속도값보다 작으면 스테레오 카메라를 최소 간격(L1) 위치로 이동시킬 수 있다(S804).When Vx is less than the first speed value, the device 400 may move the stereo camera to the position of the minimum distance L1 (S804).

상기 803 단계의 비교 결과, Vx가 제1속도값 이상이면, 장치(400)는 Vx와 제2속도값를 비교할 수 있다(S805). 여기서, 제2속도값은 제1속도값 보다 큰 값으로 설정될 수 있다. 일 예로, 제2속도값은 시속 80km일 수 있으나, 이에 한정되지는 않으며, 정속 주행에 상응하는 특정 값으로 설정될 수 있다.As a result of the comparison in step 803 , if Vx is equal to or greater than the first speed value, the apparatus 400 may compare Vx with the second speed value ( S805 ). Here, the second speed value may be set to a value greater than the first speed value. As an example, the second speed value may be 80 km/h, but is not limited thereto, and may be set to a specific value corresponding to constant speed driving.

상기 805 단계의 비교 결과, Vx가 제2속도값보다 작으면, 장치(400)는 전방 주행 차량과의 거리(X)를 측정할 수 있다(S806).As a result of the comparison in step 805, if Vx is less than the second speed value, the apparatus 400 may measure the distance X to the vehicle traveling in front (S806).

장치(400)는 측정된 거리 X와 제1거리값을 비교할 수 있다(S807).The device 400 may compare the measured distance X with the first distance value (S807).

비교 결과, X가 제1거리값보다 작으면, 장치(400)는 스테레오 카메라를 최소 간격(L1) 위치로 이동시킬 수 있다(S808).As a result of the comparison, if X is smaller than the first distance value, the device 400 may move the stereo camera to the position of the minimum distance L1 ( S808 ).

상기한 807 단계의 비교 결과, X가 제1거리값 이상이면, 장치(400)는 X와 제2거리값을 비교할 수 있다(S809). 여기서, 제2거리값은 제1거리값보다 큰 값으로 설정될 수 있다.As a result of the comparison in step 807 , if X is equal to or greater than the first distance value, the device 400 may compare X with the second distance value ( S809 ). Here, the second distance value may be set to be larger than the first distance value.

상기 809 단계의 비교 결과, X가 제2거리값보다 작으면, 장치(400)는 스테레오 카메라(410)를 중간 간격(L2) 위치로 이동시킬 수 있다(S810).As a result of the comparison in step 809 , if X is less than the second distance value, the device 400 may move the stereo camera 410 to the intermediate distance L2 ( S810 ).

상기 809 단계의 비교 결과, X가 제2거리값 이상이면, 장치(400)는 자차 주행 차선의 좌/우 차선으로 주행중인 차량의 존재 여부를 판단할 수 있다(S811).As a result of the comparison in step 809, if X is equal to or greater than the second distance value, the apparatus 400 may determine whether a vehicle traveling in the left/right lane of the own driving lane exists (S811).

판단 결과, 자차 주행 차선의 좌/우 차선으로 주행중인 차량이 존재하지 않는 경우, 장치(400)는 스테레오 카메라(410)를 최대 간격(L3) 위치로 이동시킬 수 있다(S812).As a result of the determination, if there is no vehicle driving in the left/right lane of the own driving lane, the device 400 may move the stereo camera 410 to the position of the maximum distance L3 ( S812 ).

상기 811단계의 판단 결과, 자차 주행 차선의 좌/우 차선으로 주행중인 차량이 존재하지 않는 경우, 장치(400)는 스테레오 카메라(410)를 중간 간격(L2) 위치로 이동시킬 수 있다.As a result of the determination in step 811 , when there is no vehicle driving in the left/right lane of the own driving lane, the device 400 may move the stereo camera 410 to the intermediate distance L2 position.

도 8b를 참조하면, 상기한 805 단계의 비교 결과, Vx가 제2속도값 이상이면, 장치(400)는 전방 주행 차량과의 거리(X)를 측정할 수 있다(S813).Referring to FIG. 8B , as a result of the comparison in step 805 , if Vx is equal to or greater than the second speed value, the apparatus 400 may measure the distance X to the vehicle traveling in front ( S813 ).

장치(400)는 측정된 거리 X와 제3거리값을 비교할 수 있다(S814). 여기서, 제3거리값은 제2거리값보다 큰 값으로 설정될 수 있다.The device 400 may compare the measured distance X with the third distance value (S814). Here, the third distance value may be set to a value greater than the second distance value.

비교 결과, X가 제3거리값보다 작으면, 장치(400)는 스테레오 카메라(410)를 최소 간격(L1) 위치로 이동시킬 수 있다(S815).As a result of the comparison, if X is smaller than the third distance value, the device 400 may move the stereo camera 410 to the position of the minimum distance L1 ( S815 ).

상기한 814 단계의 비교 결과, X가 제3거리값 이상이면, 장치(400)는 X와 제4거리값을 비교할 수 있다(S816). 여기서, 제4거리값은 제3거리값보다 큰 값으로 설정될 수 있다.As a result of the comparison in step 814, if X is equal to or greater than the third distance value, the apparatus 400 may compare X with the fourth distance value (S816). Here, the fourth distance value may be set to a value greater than the third distance value.

비교 결과, X가 제4거리값보다 작으면, 장치(400)는 스테레오 카메라(410)를 중간 간격(L2) 위치로 유지시킬 수 있다(S817).As a result of the comparison, if X is smaller than the fourth distance value, the device 400 may maintain the stereo camera 410 at the intermediate interval L2 (S817).

상기한 816 단계의 비교 결과, X가 제4거리값 이상이면, 장치(400)는 스테레오 카메라(410)를 최대 간격(L3) 위치로 이동시킬 수 있다(S818).As a result of the comparison in step 816 , if X is equal to or greater than the fourth distance value, the device 400 may move the stereo camera 410 to the position of the maximum distance L3 ( S818 ).

도 9는 본 발명의 다른 실시 예에 따른 차량용 스테레오 카메라 제어 방법을 설명하기 위한 순서도이다.9 is a flowchart illustrating a method for controlling a stereo camera for a vehicle according to another embodiment of the present invention.

상기 도 9에 따른 실시 예는 상기 도 6의 장치(600)에 의해 수행될 수 있다.The embodiment according to FIG. 9 may be performed by the apparatus 600 of FIG. 6 .

도 9를 참조하면, 차량 시동이 ON되면, 장치(600)는 초기 간격 Linit을 가지도록 제1 카메라(611) 및 제2 카메라(612)의 위치를 이동시킬 수 있다(S910).Referring to FIG. 9 , when the vehicle ignition is turned on, the device 600 may move the positions of the first camera 611 and the second camera 612 to have the initial distance Linit ( S910 ).

장치(600)는 현재 차속(Vx), 전방 도로의 곡률 반경(R) 및 전방 동일 차선으로 주행 중인 차량과의 거리(X)를 측정할 수 있다(S920 내지 S940).The device 600 may measure the current vehicle speed Vx, the radius of curvature R of the road ahead, and the distance X from the vehicle traveling in the same lane ahead (S920 to S940).

장치(600)는 미리 정의된 최적 간격 생성 함수에 상기 측정된 차속(Vx), 곡률반경(R) 및 거리(X)를 입력하여 최적 간격(Ls)을 산출할 수 있다(S950). The apparatus 600 may calculate the optimum interval Ls by inputting the measured vehicle speed Vx, the radius of curvature R, and the distance X into a predefined optimum interval generating function (S950).

장치(600)는 산출된 최적 간격(Ls)으로 스테레오 카메라 간격을 조절할 수 있다(S960).The device 600 may adjust the stereo camera interval to the calculated optimal interval Ls (S960).

본 명세서에 개시된 실시 예들과 관련하여 설명된 방법 또는 알고리즘의 단계는 프로세서에 의해 실행되는 하드웨어, 소프트웨어 모듈, 또는 그 2 개의 결합으로 직접 구현될 수 있다. 소프트웨어 모듈은 RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터, 하드 디스크, 착탈형 디스크, CD-ROM과 같은 저장 매체(즉, 메모리 및/또는 스토리지)에 상주할 수도 있다. The steps of a method or algorithm described in connection with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in a storage medium (ie, memory and/or storage) such as RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM.

예시적인 저장 매체는 프로세서에 커플링되며, 그 프로세서는 저장 매체로부터 정보를 판독할 수 있고 저장 매체에 정보를 기입할 수 있다. 다른 방법으로, 저장 매체는 프로세서와 일체형일 수도 있다. 프로세서 및 저장 매체는 주문형 집적회로(ASIC) 내에 상주할 수도 있다. ASIC는 사용자 단말기 내에 상주할 수도 있다. 다른 방법으로, 프로세서 및 저장 매체는 사용자 단말기 내에 개별 컴포넌트로서 상주할 수도 있다.An exemplary storage medium is coupled to the processor, the processor capable of reading information from, and writing information to, the storage medium. Alternatively, the storage medium may be integral with the processor. The processor and storage medium may reside within an application specific integrated circuit (ASIC). The ASIC may reside within the user terminal. Alternatively, the processor and storage medium may reside as separate components within the user terminal.

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. The above description is merely illustrative of the technical spirit of the present invention, and various modifications and variations will be possible without departing from the essential characteristics of the present invention by those skilled in the art to which the present invention pertains.

따라서, 본 발명에 개시된 실시 예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시 예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, the embodiments disclosed in the present invention are not intended to limit the technical spirit of the present invention, but to explain, and the scope of the technical spirit of the present invention is not limited by these embodiments. The protection scope of the present invention should be construed by the following claims, and all technical ideas within the scope equivalent thereto should be construed as being included in the scope of the present invention.

Claims (20)

차량용 스테레오 카메라 제어 방법에 있어서,
차량 시동이 온(ON)되면 차속을 측정하는 단계; 및
측정된 상기 차속과 미리 설정된 속도값을 비교하여 상기 스테레오 카메라에 구비된 제1카메라와 제2카메라의 간격을 조절하는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
In the vehicle stereo camera control method,
measuring the vehicle speed when the vehicle ignition is turned on; and
and adjusting an interval between a first camera and a second camera provided in the stereo camera by comparing the measured vehicle speed with a preset speed value.
제1항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 차속이 제1속도값보다 작으면, 상기 제1카메라와 상기 제2카메라를 미리 설정된 최소 간격 위치로 이동시키는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
According to claim 1,
The step of adjusting the distance between the first camera and the second camera comprises:
and if the vehicle speed is smaller than the first speed value, moving the first camera and the second camera to a preset minimum interval position.
제2항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 차속이 상기 제1속도값 이상이면, 상기 차속을 제2속도값과 비교하는 단계; 및
상기 차속이 상기 제2속도값보다 작으면, 전방 주행 차량과의 거리를 측정하는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
3. The method of claim 2,
The step of adjusting the distance between the first camera and the second camera comprises:
comparing the vehicle speed with a second speed value when the vehicle speed is equal to or greater than the first speed value; and
and measuring a distance from a vehicle traveling in front when the vehicle speed is less than the second speed value.
제3항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 측정된 거리와 미리 설정된 거리값을 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 조절하는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
4. The method of claim 3,
The step of adjusting the distance between the first camera and the second camera comprises:
and adjusting the distance between the first camera and the second camera by comparing the measured distance with a preset distance value.
제4항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 측정된 거리가 제1거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격 위치로 이동시키는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
5. The method of claim 4,
The step of adjusting the distance between the first camera and the second camera comprises:
and if the measured distance is smaller than the first distance value, moving the distance between the first camera and the second camera to the minimum distance position.
제5항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 측정된 거리가 상기 제1거리값 이상이고, 제2거리값 보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격이 미리 설정된 중간 간격 위치로 이동되는 단계를 포함하고,
상기 디폴트 간격 위치는,
상기 중간 간격 위치인 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
6. The method of claim 5,
The step of adjusting the distance between the first camera and the second camera comprises:
If the measured distance is equal to or greater than the first distance value and smaller than the second distance value, moving the first camera and the second camera to a preset intermediate distance position;
The default interval position is,
The vehicle stereo camera control method, characterized in that the intermediate interval position.
제6항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 측정된 거리가 상기 제2거리값 이상이면, 좌/우 차선으로 주행중인 차량의 존재 유무를 판단하는 단계;
상기 판단 결과, 존재하지 않으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최대 간격 위치로 이동시키는 단계; 및
상기 판단 결과, 존재하면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격 위치로 이동시키는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
7. The method of claim 6,
The step of adjusting the distance between the first camera and the second camera comprises:
determining whether there is a vehicle traveling in a left/right lane when the measured distance is equal to or greater than the second distance value;
moving the distance between the first camera and the second camera to a preset maximum gap position if it does not exist as a result of the determination; and
If it exists as a result of the determination, the method for controlling a stereo camera for a vehicle comprises moving the distance between the first camera and the second camera to the intermediate distance position.
제7항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 차속이,상기 제2속도값 이상이면, 상기 전방 주행 차량과의 거리를 측정하고, 상기 측정된 거리가 제3거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격 위치로 이동시키는 단계를 포함하고,
상기 제3거리값은,
상기 제2거리값보다 큰 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
8. The method of claim 7,
The step of adjusting the distance between the first camera and the second camera comprises:
If the vehicle speed is equal to or greater than the second speed value, the distance to the vehicle driving ahead is measured. If the measured distance is less than the third distance value, the distance between the first camera and the second camera is set to the minimum. moving to an interval position;
The third distance value is
The vehicle stereo camera control method, characterized in that greater than the second distance value.
제8항에 있어서,
상기 제1카메라와 제2카메라의 간격을 조절하는 단계는,
상기 측정된 거리가, 상기 제3거리값 이상이고, 제4거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격 위치로 이동시키고, 상기 측정된 거리가 상기 제4거리값 이상이면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최대 간격 위치로 이동시키는 단계를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
9. The method of claim 8,
The step of adjusting the distance between the first camera and the second camera comprises:
When the measured distance is equal to or greater than the third distance value and is less than the fourth distance value, the distance between the first camera and the second camera is moved to the intermediate distance position, and the measured distance is the fourth distance value. If the distance is greater than or equal to the distance value, the vehicle stereo camera control method comprising the step of moving the distance between the first camera and the second camera to the maximum distance position.
제1 카메라 및 제2 카메라가 구비된 스테레오 카메라;
차량 시동이 온(ON)되면 차속을 감지하는 차속감지부;
상기 차속과 미리 설정된 속도값을 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 결정하는 제어부; 및
상기 결정된 간격으로 상기 제1카메라 및 제2카메라를 이동시키는 간격조절부를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
a stereo camera equipped with a first camera and a second camera;
a vehicle speed detection unit configured to detect a vehicle speed when the vehicle ignition is turned on;
a controller for determining an interval between the first camera and the second camera by comparing the vehicle speed with a preset speed value; and
and an interval adjusting unit for moving the first camera and the second camera at the determined interval.
제10항에 있어서,
상기 제어부는,
상기 차속이 제1속도값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최소 간격으로 결정하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
11. The method of claim 10,
The control unit is
If the vehicle speed is less than the first speed value, the stereo camera control apparatus for a vehicle, characterized in that for determining the distance between the first camera and the second camera as a preset minimum distance.
제11항에 있어서,
전방 차량과의 거리를 산출하는 거리산출부를 더 포함하고,
상기 제어부는,
상기 차속이 상기 제1속도값 이상이고, 제2속도값보다 작으면 상기 거리산출부가 상기 거리를 산출하도록 제어하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
12. The method of claim 11,
Further comprising a distance calculation unit for calculating the distance to the vehicle in front,
The control unit is
If the vehicle speed is equal to or greater than the first speed value and less than the second speed value, the distance calculating unit is controlled to calculate the distance.
제12항에 있어서,
상기 제어부는,
상기 산출된 거리와 미리 설정된 거리값을 더 비교하여 상기 제1카메라와 상기 제2카메라의 간격을 결정하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
13. The method of claim 12,
The control unit is
The apparatus for controlling a stereo camera for a vehicle, characterized in that the distance between the first camera and the second camera is determined by further comparing the calculated distance with a preset distance value.
제13항에 있어서,
상기 제어부는,
상기 측정된 거리가 제1거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격으로 결정하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
14. The method of claim 13,
The control unit is
When the measured distance is less than the first distance value, the vehicle stereo camera control apparatus, characterized in that determining the distance between the first camera and the second camera as the minimum distance.
제14항에 있어서,
상기 제어부는,
상기 측정된 거리가 상기 제1거리값 이상이고, 제2거리값 보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 중간 간격으로 결정하고, 상기 디폴트 간격은 상기 중간 간격인 것을 특징으로 하는 차량용 스테레오 카메라 제어 방법.
15. The method of claim 14,
The control unit is
If the measured distance is equal to or greater than the first distance value and smaller than the second distance value, the interval between the first camera and the second camera is determined as a preset intermediate interval, and the default interval is the intermediate interval. A vehicle stereo camera control method, characterized.
제15항에 있어서,
상기 스테레오 카메라에 의해 촬영된 영상에 기반하여 상기 차량 주변의 물체를 감지하는 물체감지부를 더 포함하고,
상기 제어부는,
상기 측정된 거리가 상기 제2거리값 이상이면, 상기 물체감지부를 통해 좌/우 차선으로 주행중인 차량의 존재 유무를 판단하고, 상기 판단 결과, 존재하지 않으면, 상기 제1카메라와 상기 제2카메라의 간격을 미리 설정된 최대 간격으로 결정하고, 상기 판단 결과, 존재하면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격으로 결정하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
16. The method of claim 15,
Further comprising an object detection unit for detecting an object around the vehicle based on the image taken by the stereo camera,
The control unit is
If the measured distance is equal to or greater than the second distance value, it is determined whether there is a vehicle traveling in the left/right lane through the object detecting unit. determines the interval as a preset maximum interval, and if it exists as a result of the determination, the interval between the first camera and the second camera is determined as the intermediate interval.
제16항에 있어서,
상기 제어부는,
상기 차속이 상기 제2속도값 이상이면, 상기 거리산출부를 통해 상기 측정된 전방 차량과의 거리가 제3거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최소 간격으로 결정하고, 상기 제3거리값은 상기 제2거리값보다 큰 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
17. The method of claim 16,
The control unit is
When the vehicle speed is equal to or greater than the second speed value, and the distance to the vehicle in front measured through the distance calculator is smaller than a third distance value, the distance between the first camera and the second camera is determined as the minimum distance and the third distance value is greater than the second distance value.
제17항에 있어서,
상기 제어부는,
상기 측정된 거리가 상기 제3거리값 이상이고, 제4거리값보다 작으면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 중간 간격으로 결정하고, 상기 측정된 거리가 상기 제4거리값 이상이면, 상기 제1카메라와 상기 제2카메라의 간격을 상기 최대 간격으로 결정하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
18. The method of claim 17,
The control unit is
When the measured distance is equal to or greater than the third distance value and smaller than the fourth distance value, the distance between the first camera and the second camera is determined as the intermediate distance, and the measured distance is the fourth distance value If this is the case, the stereo camera control apparatus for a vehicle, characterized in that the distance between the first camera and the second camera is determined as the maximum distance.
제1 카메라 및 제2 카메라가 구비된 스테레오 카메라;
차량 시동이 온(ON)되면 차속을 감지하는 차속감지부;
전방 도로의 곡률 반경을 산출하는 곡률 반경산출부;
전방 주행중인 차량과의 거리를 산출하는 거리산출부;
상기 차속, 곡률 반경 및 거리에 기반하여 상기 스테레오 카메라에 구비된 제1카메라와 제2카메라의 최적 간격을 결정하는 제어부; 및
상기 제1카메라와 제2카메라의 간격을 상기 결정된 최적 간격으로 조절하는 간격조절부를 포함하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
a stereo camera equipped with a first camera and a second camera;
a vehicle speed detection unit configured to detect a vehicle speed when the vehicle ignition is turned on;
a radius of curvature calculator for calculating a radius of curvature of the road ahead;
a distance calculator for calculating a distance to a vehicle driving ahead;
a controller configured to determine an optimal distance between the first camera and the second camera provided in the stereo camera based on the vehicle speed, the radius of curvature, and the distance; and
and an interval adjusting unit for adjusting the interval between the first camera and the second camera to the determined optimal interval.
제19항에 있어서,
상기 제어부는,
상기 산출된 차속, 곡률 반경 및 거리 각각에 미리 설정된 가중치가 적용하여 상기 최적 간격을 산출하는 것을 특징으로 하는 차량용 스테레오 카메라 제어 장치.
20. The method of claim 19,
The control unit is
and calculating the optimum distance by applying a preset weight to each of the calculated vehicle speed, radius of curvature, and distance.
KR1020200029458A 2020-03-10 2020-03-10 Method and apparatus for controlling vehicle stereo camera KR20210114160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200029458A KR20210114160A (en) 2020-03-10 2020-03-10 Method and apparatus for controlling vehicle stereo camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200029458A KR20210114160A (en) 2020-03-10 2020-03-10 Method and apparatus for controlling vehicle stereo camera

Publications (1)

Publication Number Publication Date
KR20210114160A true KR20210114160A (en) 2021-09-23

Family

ID=77926536

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200029458A KR20210114160A (en) 2020-03-10 2020-03-10 Method and apparatus for controlling vehicle stereo camera

Country Status (1)

Country Link
KR (1) KR20210114160A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230052480A (en) * 2021-10-13 2023-04-20 삼성전기주식회사 Multi-stereo camera apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230052480A (en) * 2021-10-13 2023-04-20 삼성전기주식회사 Multi-stereo camera apparatus

Similar Documents

Publication Publication Date Title
US11238740B2 (en) Apparatus for vehicle driving assistance
US10836388B2 (en) Vehicle control method and apparatus
JP5952862B2 (en) Vehicle driving support device
CN110406533B (en) Lane keeping assist system and method for improving safety of longitudinal control of front vehicle follower
JP4021344B2 (en) Vehicle driving support device
KR102027771B1 (en) Obstacle detecting apparatus and method for adaptation to vehicle velocity
US9669829B2 (en) Travel lane marking recognition system
US10345443B2 (en) Vehicle cruise control apparatus and vehicle cruise control method
US9623869B2 (en) Vehicle driving support control apparatus
JP4005597B2 (en) Side guide support method and apparatus for vehicle
US7030775B2 (en) Vehicle surroundings monitoring apparatus and traveling control system incorporating the apparatus
JP4970156B2 (en) Vehicle driving support device
KR20160115448A (en) Driving assistant system in a vehicle and method thereof
JP6348785B2 (en) Vehicle driving support device
WO2016117603A1 (en) Vehicle travel control device and travel control method
JP6302519B2 (en) Vehicle driving support device
JP6561704B2 (en) Driving support device and driving support method
JP2014228943A (en) Vehicular external environment sensing device, and axial shift correction program and method therefor
KR20170070213A (en) Lane assistance system responsive to extremely fast approaching vehicles
JP6174644B2 (en) Image processing device
KR20060021922A (en) Two camera based obstacle detection method and device
KR102463722B1 (en) Apparatus and method for setting velocity of vehicle
JP2019067116A (en) Solid object ground discrimination device
US20160042237A1 (en) Detection apparatus, detection method, driving assistance apparatus, and driving assistance method
KR20210114160A (en) Method and apparatus for controlling vehicle stereo camera

Legal Events

Date Code Title Description
E902 Notification of reason for refusal