KR20220047155A - Erectronic apparatus and contrl method thereof - Google Patents

Erectronic apparatus and contrl method thereof Download PDF

Info

Publication number
KR20220047155A
KR20220047155A KR1020210099483A KR20210099483A KR20220047155A KR 20220047155 A KR20220047155 A KR 20220047155A KR 1020210099483 A KR1020210099483 A KR 1020210099483A KR 20210099483 A KR20210099483 A KR 20210099483A KR 20220047155 A KR20220047155 A KR 20220047155A
Authority
KR
South Korea
Prior art keywords
information
reliability
cells
sensor
roi
Prior art date
Application number
KR1020210099483A
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 PCT/KR2021/013845 priority Critical patent/WO2022075792A1/en
Priority to CN202180066632.6A priority patent/CN116685870A/en
Priority to EP21878042.7A priority patent/EP4180842A4/en
Priority to US17/566,210 priority patent/US20220120902A1/en
Publication of KR20220047155A publication Critical patent/KR20220047155A/en

Links

Images

Classifications

    • 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/46Indirect determination of position data
    • G01S17/48Active triangulation systems, i.e. using the transmission and reflection of electromagnetic waves other than radio waves
    • 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/89Lidar systems specially adapted for specific applications for mapping or imaging
    • G01S17/8943D imaging with simultaneous measurement of time-of-flight at a 2D array of receiver pixels, e.g. time-of-flight cameras or flash lidar
    • 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
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating

Abstract

An electronic device and a control method thereof are disclosed. The electronic device comprises a sensor and a processor for obtaining first information related to a distance from the sensor to an object and second information related to the reliability of the first information, identifying a plurality of cells that do not include distance information among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the first information, determining the reliability of the cells identified based on the second information, changing the parameter settings of the sensor based on the determined reliability, obtaining third information related to a distance to the object from the sensor whose parameter setting is changed, obtaining fourth information including distance information of the cells based on the first and third information, and obtaining distance information with the object based on the distance information included in the fourth information. According to various embodiments of the present disclosure, an electronic device capable of detecting a distance to an object having a dark color such as black, etc. and a control method thereof may be provided.

Description

전자 장치 및 그 제어 방법 {ERECTRONIC APPARATUS AND CONTRL METHOD THEREOF}Electronic device and its control method {ERECTRONIC APPARATUS AND CONTRL METHOD THEREOF}

본 개시는 전자 장치 및 그 제어 방법에 관한 것으로, 보다 상세하게는 물체와의 거리를 감지할 수 있는 전자 장치 및 그 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device capable of detecting a distance to an object and a control method thereof.

전자 기술의 발달로 다양한 전자 장치가 개발되고 있다. 특히, 최근에는 사람을 대신해 운전을 수행하는 자율 주행 차량, 스스로 물품을 분류하고, 목적지까지 물품을 운반하는 자동 경로 차량(Automated Guided Vehicle) 및 가정 내 공간을 주행하면서 청소를 수행하는 로봇 청소기 등의 전자 장치가 개발되고 있다.With the development of electronic technology, various electronic devices are being developed. In particular, recently, autonomous vehicles that drive on behalf of people, automated guided vehicles that classify goods by themselves and transport goods to their destinations, and robot cleaners that clean while driving in a space in the home have recently been developed. Electronic devices are being developed.

한편, 이와 같은 이동형 전자 장치는 주행 중 물체와의 충돌을 방지하기 위해, 전자 장치 주변의 물체나 물체와의 거리를 감지할 필요가 있다. 이를 위해, 특히 최근에는 광원 기반의 센서(가령, 이미지 센서나 라이다 센서 등)를 탑재한 전자 장치가 개발되고 있다.On the other hand, such a mobile electronic device needs to detect an object around the electronic device or a distance to the object in order to prevent collision with an object while driving. To this end, in particular, recently, an electronic device equipped with a light source-based sensor (eg, an image sensor or a lidar sensor) has been developed.

그런데, 광원 기반의 센서를 탑재한 종래의 전자 장치는 물체에 의해 반사된 광의 광량이 불충분한 경우, 물체와의 거리를 감지하지 못하는 문제가 있었다. 이는, 전자 장치의 주행에 제약을 가하며 특히 전자 장치와 물체간의 충돌 발생 염려를 야기시킨다.However, when the amount of light reflected by the object is insufficient, the conventional electronic device equipped with a light source-based sensor has a problem in that it cannot detect the distance to the object. This imposes restrictions on the driving of the electronic device, and in particular causes a concern about the occurrence of a collision between the electronic device and an object.

본 개시는 상술한 문제점을 해결하기 위해 안출된 것으로서, 본 개시의 목적은 센서의 파라미터 설정 변경을 통해 거리 측정에 필요한 최소 임계 값 이상의 광량을 갖는 광을 수신할 수 있는 전자 장치 및 그 제어 방법을 제공함에 있다.The present disclosure has been made to solve the above problems, and an object of the present disclosure is to provide an electronic device capable of receiving light having an amount of light greater than or equal to a minimum threshold value required for distance measurement through a change in a parameter setting of a sensor, and a method for controlling the same is in providing.

이상과 같은 목적을 달성하기 위한 본 개시의 일 실시 예에 따른 전자 장치는, 센서 및 상기 센서로부터 물체와의 거리와 관련된 제1 정보 및 상기 제1 정보에 대한 신뢰도와 관련된 제2 정보를 획득하고, 상기 제1 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 거리 정보를 포함하지 않는 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 식별된 복수의 셀의 신뢰도를 판단하며, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 상기 물체와의 거리와 관련된 제3 정보를 획득하며, 상기 제1 및 제3 정보에 기초하여, 상기 복수의 셀의 거리 정보를 포함하는 제4 정보를 획득하고, 상기 제4 정보에 포함된 거리 정보에 기초하여 상기 물체와의 거리 정보를 획득하는 프로세서를 포함할 수 있다.An electronic device according to an embodiment of the present disclosure for achieving the above object obtains first information related to a distance from a sensor and an object from the sensor and second information related to reliability of the first information, , identify a plurality of cells that do not include distance information from among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the first information, and identify a plurality of cells that do not include distance information based on the second information determining reliability, changing the parameter setting of the sensor based on the determined reliability, obtaining third information related to the distance to the object from the sensor whose parameter setting is changed, and adding to the first and third information based on the fourth information including the distance information of the plurality of cells, and based on the distance information included in the fourth information may include a processor for obtaining the distance information to the object.

상기 프로세서는, 상기 식별된 복수의 셀을 포함하는 ROI(region of interest)를 설정하고, 상기 ROI에 포함된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The processor may set a region of interest (ROI) including the plurality of identified cells, and may change parameter settings of the sensor based on reliability of the plurality of cells included in the ROI.

상기 프로세서는, 신뢰도의 범위 별로, 각 신뢰도 범위에 속하는 셀의 개수를 상기 ROI에서 판단하고, 신뢰도-파라미터 세팅 정보에 기초하여 상기 ROI에 포함된 복수의 화셀의 신뢰도 분포에 대응되는 파라미터 세팅 정보를 획득하며, 상기 파라미터 세팅 정보에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The processor determines the number of cells belonging to each reliability range in the ROI for each reliability range, and receives parameter setting information corresponding to the reliability distribution of a plurality of pixel cells included in the ROI based on the reliability-parameter setting information. and change the parameter setting of the sensor based on the parameter setting information.

상기 프로세서는, 상기 판단된 신뢰도에 기초하여 상기 센서의 광도를 조절하기 위한 파라미터 값 또는 광에 대한 노출 시간을 조절하기 위한 파라미터 값 중 적어도 하나를 변경할 수 있다.The processor may change at least one of a parameter value for adjusting the light intensity of the sensor and a parameter value for adjusting an exposure time to light based on the determined reliability.

상기 제3 정보의 신뢰도는 상기 제1 정보의 신뢰도보다 상대적으로 높고, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀은 거리 정보를 포함할 수 있다.The reliability of the third information is relatively higher than that of the first information, and in the third information, a plurality of cells included in the ROI set based on the first information may include distance information.

상기 프로세서는, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀을 판단하고, 상기 제3 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 거리 정보를 획득하며, 상기 제1 정보 및 상기 획득한 거리 정보에 기초하여 상기 제4 정보를 획득할 수 있다.The processor determines, from the third information, a plurality of cells included in a set ROI based on the first information, and obtains distance information of a plurality of cells included in the ROI based on the third information, , the fourth information may be acquired based on the first information and the acquired distance information.

상기 센서는, 상기 제2 정보에 기초하여 상기 복수의 셀 중 임계 값 이하의 신뢰도를 갖는 셀을 판단하고, 상기 임계 값 이하의 신뢰도를 갖는 셀의 거리 정보를 기설정된 값으로 설정한 상기 제1 정보를 생성할 수 있다.The sensor determines a cell having a reliability equal to or less than a threshold value among the plurality of cells based on the second information, and sets distance information of a cell having a reliability equal to or less than the threshold value to a preset value. information can be created.

상기 프로세서는, 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 ROI에 포함된 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도를 판단하며, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The processor identifies a plurality of cells included in a preset ROI from among a plurality of cells corresponding to a plurality of pixels constituting the sensor, and determines reliability of the plurality of cells included in the ROI based on the second information and may change the parameter setting of the sensor based on the determined reliability.

상기 프로세서는, 상기 제2 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수를 판단하고, 상기 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수가 기설정된 개수 이상이면 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 거리 정보를 포함하는 상기 제3 정보를 획득할 수 있다.The processor determines the number of cells having a reliability value equal to or less than a preset threshold value among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the second information, If the number of cells having a reliability value is equal to or greater than a preset number, the parameter setting of the sensor may be changed, and the third information including distance information may be acquired from the sensor whose parameter setting has been changed.

상기 프로세서는, 상기 식별된 복수의 셀의 위치에 기초하여 상기 판단된 복수의 셀의 신뢰도에 가중치를 적용하고, 상기 가중치가 적용된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The processor may apply a weight to the determined reliability of the plurality of cells based on the identified positions of the plurality of cells, and may change the parameter setting of the sensor based on the reliability of the plurality of cells to which the weight is applied. .

상기 프로세서는, 상기 제1 정보에 기초하여, 거리 정보를 포함하는 복수의 셀 중에서 신뢰도가 임계 값 이하인 적어도 하나의 셀을 식별하고, 상기 제1 및 제3 정보에 기초하여 상기 식별된 적어도 하나의 셀의 거리 정보가 상기 임계 값을 초과하는 상기 제4 정보를 획득할 수 있다.The processor is configured to identify, based on the first information, at least one cell having a reliability equal to or less than a threshold value from among a plurality of cells including distance information, and based on the first and third information, the identified at least one The fourth information in which the distance information of the cell exceeds the threshold value may be obtained.

한편, 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법은, 센서로부터 물체와의 거리와 관련된 제1 정보 및 상기 제1 정보에 대한 신뢰도와 관련된 제2 정보를 획득하는 단계, 상기 제1 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 거리 정보를 포함하지 않는 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 식별된 복수의 셀의 신뢰도를 판단하는 단계, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 상기 물체와의 거리 정보와 관련된 제3 정보를 획득하는 단계 및 상기 제1 및 제3 정보에 기초하여, 상기 복수의 셀의 거리 정보를 포함하는 제4 정보를 획득하고, 상기 제4 정보에 포함된 거리 정보에 기초하여 상기 물체와의 거리 정보를 획득하는 단계를 포함할 수 있다.Meanwhile, a method of controlling an electronic device according to an embodiment of the present disclosure includes acquiring first information related to a distance to an object from a sensor and second information related to reliability of the first information, the first information identifying a plurality of cells that do not include distance information among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on , changing the parameter setting of the sensor based on the determined reliability, obtaining third information related to distance information from the object from the sensor whose parameter setting is changed, and based on the first and third information , obtaining fourth information including distance information of the plurality of cells, and obtaining distance information with the object based on distance information included in the fourth information.

상기 파라미터 설정을 변경하는 단계는, 상기 식별된 복수의 셀을 포함하는 ROI(region of interest)를 설정하고, 상기 ROI에 포함된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The changing of the parameter setting may include setting a region of interest (ROI) including the identified plurality of cells, and changing the parameter setting of the sensor based on reliability of the plurality of cells included in the ROI. .

상기 파라미터 설정을 변경하는 단계는, 신뢰도의 범위 별로, 각 신뢰도 범위에 속하는 셀의 개수를 상기 ROI에서 판단하고, 신뢰도-파라미터 세팅 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도 분포에 대응되는 파라미터 세팅 정보를 획득하며, 상기 파라미터 세팅 정보에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The changing of the parameter setting includes determining the number of cells belonging to each reliability range in the ROI for each reliability range, and corresponding to the reliability distribution of a plurality of cells included in the ROI based on reliability-parameter setting information It is possible to obtain parameter setting information to be used, and change the parameter setting of the sensor based on the parameter setting information.

상기 파라미터 설정을 변경하는 단계는, 상기 판단된 신뢰도에 기초하여 상기 센서의 광도를 조절하기 위한 파라미터 값 또는 광에 대한 노출 시간을 조절하기 위한 파라미터 값 중 적어도 하나를 변경할 수 있다.The changing of the parameter setting may include changing at least one of a parameter value for adjusting the light intensity of the sensor and a parameter value for adjusting an exposure time to light based on the determined reliability.

상기 제3 정보의 신뢰도는 상기 제1 정보의 신뢰도보다 상대적으로 높고, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀은 거리 정보를 포함할 수 있다.The reliability of the third information is relatively higher than that of the first information, and in the third information, a plurality of cells included in the ROI set based on the first information may include distance information.

상기 제4 정보를 획득하는 단계는, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀을 판단하고, 상기 제3 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 거리 정보를 획득하며, 상기 제1 정보 및 상기 획득한 거리 정보에 기초하여 상기 제4 정보를 획득할 수 있다.The obtaining of the fourth information may include, in the third information, determining a plurality of cells included in the ROI set based on the first information, and determining a plurality of cells included in the ROI based on the third information. The distance information may be obtained, and the fourth information may be obtained based on the first information and the obtained distance information.

상기 센서는, 상기 제2 정보에 기초하여 상기 복수의 셀 중 임계 값 이하의 신뢰도를 갖는 셀을 판단하고, 상기 임계 값 이하의 신뢰도를 갖는 셀의 거리 정보를 기설정된 값으로 설정한 상기 제1 정보를 생성할 수 있다.The sensor determines a cell having a reliability equal to or less than a threshold value among the plurality of cells based on the second information, and sets distance information of a cell having a reliability equal to or less than the threshold value to a preset value. information can be created.

상기 파라미터 설정을 변경하는 단계는, 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 ROI에 포함된 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도를 판단하며, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The changing of the parameter setting includes identifying a plurality of cells included in a preset ROI among a plurality of cells corresponding to a plurality of pixels constituting the sensor, and a plurality of cells included in the ROI based on the second information. may determine the reliability of the cell of , and change the parameter setting of the sensor based on the determined reliability.

상기 제3 정보를 획득하는 단계는, 상기 제2 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수를 판단하고, 상기 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수가 기설정된 개수 이상이면 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 거리 정보를 포함하는 상기 제3 정보를 획득할 수 있다.The obtaining of the third information may include determining the number of cells having a reliability value equal to or less than a preset threshold value among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the second information, If the number of cells having a reliability value less than or equal to a preset threshold is greater than or equal to the preset number, the parameter setting of the sensor may be changed, and the third information including distance information may be acquired from the sensor whose parameter setting has been changed.

상기 파라미터 설정을 변경하는 단계는, 상기 식별된 복수의 셀의 위치에 기초하여 상기 판단된 복수의 셀의 신뢰도에 가중치를 적용하고, 상기 가중치가 적용된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경할 수 있다.The changing of the parameter setting includes applying a weight to the reliability of the plurality of cells determined based on the identified positions of the plurality of cells, and a parameter of the sensor based on the reliability of the plurality of cells to which the weight is applied. You can change the settings.

상기 제4 정보를 획득하는 단계는, 상기 제1 정보에 기초하여, 거리 정보를 포함하는 복수의 셀 중에서 신뢰도가 임계 값 이하인 적어도 하나의 셀을 식별하고, 상기 제1 및 제3 정보에 기초하여 상기 식별된 적어도 하나의 셀의 거리 정보가 상기 임계 값을 초과하는 상기 제4 정보를 획득할 수 있다.The acquiring of the fourth information may include identifying, based on the first information, at least one cell having a reliability equal to or less than a threshold value among a plurality of cells including distance information, and based on the first and third information The fourth information may be obtained in which the distance information of the identified at least one cell exceeds the threshold value.

이상과 같은 본 개시의 다양한 실시 예에 따르면, 블랙 컬러 등 짙은 계열의 컬러를 갖는 물체와의 거리를 감지할 수 있는 전자 장치 및 그 제어 방법이 제공될 수 있다.According to various embodiments of the present disclosure as described above, an electronic device capable of detecting a distance to an object having a dark color such as a black color and a control method thereof may be provided.

도 1은 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 블록도이다.
도 2a는 본 개시의 일 실시 예에 따른 제1 정보를 설명하기 위한 도면이다.
도 2b는 본 개시의 일 실시 예에 따른 제2 정보를 설명하기 위한 도면이다.
도 3은 본 개시의 일 실시 예에 따른 거리 정보가 검출되지 않는 적어도 하나의 셀에 기초하여 ROI(region of interest)을 설정하는 실시 예를 설명하기 위한 도면이다.
도 4a는 본 개시의 일 실시 예에 따른 제1 신뢰도 분포를 도시한 도면이다.
도 4b는 본 개시의 일 실시 예에 따른 제2 신뢰도 분포를 도시한 도면이다.
도 4c는 본 개시의 일 실시 예에 따른 신뢰도-파라미터 세팅 정보를 도시한 도면이다.
도 5는 본 개시의 일 실시 예에 따른 제3 정보를 설명하기 위한 도면이다.
도 6은 본 개시의 일 실시 예에 따른 제4 정보를 설명하기 위한 도면이다.
도 7은 본 개시의 일 실시 예에 따른 가중치에 기초하여 센서의 파라미터 설정을 변경하는 실시 예를 설명하기 위한 도면이다.
도 8a는 본 개시의 일 실시 예에 따른 기설정된 ROI를 설명하기 위한 도면이다.
도 8b는 본 개시의 일 실시 예에 따른 센서를 구성하는 모든 픽셀의 신뢰도에 기초하여 센서의 파라미터 설정을 변경하는 실시 예를 설명하기 위한 도면이다.
도 9a는 본 개시의 일 실시 예에 따른 거리 정보를 포함하는 제1 정보를 설명하기 위한 도면이다.
도 9b는 본 개시의 일 실시 예에 따른 신뢰도 정보를 포함하는 제2 정보를 설명하기 위한 도면이다.
도 9c는 본 개시의 일 실시 예에 따른 거리 정보를 포함하는 제3 정보를 설명하기 위한 도면이다.
도 9d는 본 개시의 일 실시 예에 따른 신뢰도 정보를 포함하는 제4 정보를 설명하기 위한 도면이다.
도 9e는 본 개시의 일 실시 예에 따른 제5 정보를 설명하기 위한 도면이다.
도 10a는 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 상세 블록도이다.
도 10b는 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 상세 블록도이다.
도 11은 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.
도 12는 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.
1 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure.
2A is a diagram for describing first information according to an embodiment of the present disclosure.
2B is a diagram for describing second information according to an embodiment of the present disclosure.
3 is a diagram for explaining an embodiment of setting a region of interest (ROI) based on at least one cell in which distance information is not detected, according to an embodiment of the present disclosure.
4A is a diagram illustrating a first reliability distribution according to an embodiment of the present disclosure.
4B is a diagram illustrating a second reliability distribution according to an embodiment of the present disclosure.
4C is a diagram illustrating reliability-parameter setting information according to an embodiment of the present disclosure.
5 is a diagram for explaining third information according to an embodiment of the present disclosure.
6 is a diagram for describing fourth information according to an embodiment of the present disclosure.
7 is a view for explaining an embodiment of changing a parameter setting of a sensor based on a weight according to an embodiment of the present disclosure.
8A is a diagram for explaining a preset ROI according to an embodiment of the present disclosure.
8B is a diagram for explaining an embodiment of changing a parameter setting of a sensor based on the reliability of all pixels constituting the sensor according to an embodiment of the present disclosure.
9A is a diagram for describing first information including distance information according to an embodiment of the present disclosure.
9B is a diagram for describing second information including reliability information according to an embodiment of the present disclosure.
9C is a diagram for explaining third information including distance information according to an embodiment of the present disclosure.
9D is a diagram for explaining fourth information including reliability information according to an embodiment of the present disclosure.
9E is a diagram for explaining fifth information according to an embodiment of the present disclosure.
10A is a detailed block diagram illustrating an electronic device according to an embodiment of the present disclosure.
10B is a detailed block diagram illustrating an electronic device according to an embodiment of the present disclosure.
11 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present disclosure.
12 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present disclosure.

먼저, 본 명세서 및 청구범위에서 사용되는 용어는 본 개시의 기능을 고려하여 일반적인 용어들을 선택하였다. 하지만, 이러한 용어들은 당 분야에 종사하는 기술자의 의도나 법률적 또는 기술적 해석 및 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 일부 용어는 출원인이 임의로 선정한 용어도 있다. 이러한 용어에 대해서는 본 명세서에서 정의된 의미로 해석될 수 있으며, 구체적인 용어 정의가 없으면 본 명세서의 전반적인 내용 및 당해 기술 분야의 통상적인 기술 상식을 토대로 해석될 수도 있다. First, the terms used in the specification and claims were selected in consideration of the function of the present disclosure. However, these terms may vary depending on the intention of a person skilled in the art, legal or technical interpretation, and emergence of new technology. Also, some terms are arbitrarily selected by the applicant. These terms may be interpreted in the meanings defined herein, and in the absence of specific definitions, they may be interpreted based on the general content of the present specification and common technical common sense in the art.

또한, 본 개시를 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 개시의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우, 그에 대한 상세한 설명은 축약하거나 생략한다.In addition, in describing the present disclosure, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present disclosure, the detailed description thereof will be abbreviated or omitted.

나아가, 이하 첨부 도면들 및 첨부 도면들에 기재된 내용들을 참조하여 본 개시의 실시 예를 상세하게 설명하지만, 본 개시가 실시 예들에 의해 제한되거나 한정되는 것은 아니다.Further, an embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings and the contents described in the accompanying drawings, but the present disclosure is not limited or limited by the embodiments.

이하, 첨부된 도면을 참조하여 본 개시를 상세히 설명한다.Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings.

도 1은 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 블록도이다.1 is a block diagram illustrating an electronic device according to an embodiment of the present disclosure.

본 개시의 일 실시 예에 따른 전자 장치(100)는 센서(110), 프로세서(120) 및 메모리(130)를 포함할 수 있다 .The electronic device 100 according to an embodiment of the present disclosure may include a sensor 110 , a processor 120 , and a memory 130 .

센서(110)는 거리에 대한 정보를 출력하는 구성으로써, 도 1을 참조하면, 본 개시의 일 실시 예에 따른 센서(110)는 발광부(10), 수광부(20) 및 MCU(30)를 포함하는 ToF 센서가 될 수 있다. ToF 센서(110)는 발광부(10)를 통해 조사된 광이 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간을 측정하여 물체까지의 거리를 측정하는 센서로써, 여기에서 발광부(10)는 일 예로 특정 주파수의 신호로 변조된 적외선을 조사하는 IR 광원이 될 수 있고, 수광부(20)는 일 예로 물체에 의해 반사되는 광을 수신하는 이미지 센서가 될 수 있다. 다만, 이는 일 실시 예로써, 본 개시의 발광부(10)는 초음파 또는 레이저 등의 광을 조사할 수 있는 다양한 광원으로 구현될 수 있고, 수광부(20)는 RGB 센서 등 광을 수신할 수 있는 다양한 수광 센서로 구현될 수 있다.The sensor 110 is a configuration that outputs information about the distance. Referring to FIG. 1 , the sensor 110 according to an embodiment of the present disclosure includes a light emitting unit 10 , a light receiving unit 20 and an MCU 30 . It may be a ToF sensor that includes The ToF sensor 110 is a sensor that measures the distance to the object by measuring the time until the light irradiated through the light emitting unit 10 is reflected by the object and received by the light receiving unit 20, where the light emitting unit ( 10) may be, for example, an IR light source irradiating infrared modulated with a signal of a specific frequency, and the light receiving unit 20 may be, for example, an image sensor receiving light reflected by an object. However, this is an example, and the light emitting unit 10 of the present disclosure may be implemented with various light sources capable of irradiating light such as ultrasonic waves or laser, and the light receiving unit 20 may receive light such as an RGB sensor. It can be implemented with various light receiving sensors.

센서(110)의 MCU(30)는 프로세서(120)로부터 수신된 제어 신호에 기초하여, 광을 조사하도록 발광부(10)를 제어할 수 있다. 그리고, MCU(30)는 광이 발광부(10)에 의해 조사된 후, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 기초하여, 센서(110) 및 물체간의 거리에 대한 정보를 출력할 수 있다. 이를 위해, MCU(30)는 광의 속도 c 및 광이 발광부(10)에 의해 조사된 후 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간 t에 기초한 연산을 통해 센서(110) 및 물체간의 거리를 판단할 수 있다.The MCU 30 of the sensor 110 may control the light emitting unit 10 to emit light based on a control signal received from the processor 120 . Then, the MCU 30 receives information on the distance between the sensor 110 and the object based on the time from when light is irradiated by the light emitting unit 10 to being reflected by the object and received by the light receiving unit 20 . can be printed out. To this end, the MCU 30 performs an operation based on the speed c of light and the time t from when the light is irradiated by the light emitting unit 10 to being reflected by the object and received by the light receiving unit 20 to the sensor 110 and The distance between objects can be determined.

한편, 이는 일 실시 예로써, MCU(30)는 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 대한 위상 변화를 감지하여, 센서(110) 및 물체간의 거리에 대한 정보를 출력할 수도 있다. 이를 위해, MCU(30)는 광의 속도 c, 변조 주파수 f, 위상 주기 n, 수신된 광의 위상 θ에 기초한 연산 distance = c/(2f) * (n + θ /2(pi))을 통해 센서(110) 및 물체간의 거리를 판단할 수 있다. 상술한 바와 같이, 위상 변화를 이용하여 센서(110) 및 물체간의 거리를 판단할 수 있으나, 이하에서는, 설명의 편의를 위해 MCU(30)가 발광부(10)에 의해 조사된 광이 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간 t에 기초하여 센서(110) 및 물체간의 거리를 판단하는 경우를 상정하여 설명하도록 한다.On the other hand, this is an embodiment, and the MCU 30 detects a phase change with respect to the time until the light irradiated by the light emitting unit 10 is reflected by the object and received by the light receiving unit 20, and the sensor ( 110) and information about the distance between the objects may be output. To this end, the MCU 30 operates the sensor ( 110) and the distance between the objects can be determined. As described above, the distance between the sensor 110 and the object can be determined by using the phase change. Hereinafter, for convenience of explanation, the MCU 30 transmits the light irradiated by the light emitting unit 10 to the object. A case in which the distance between the sensor 110 and the object is determined based on the time t until the reflection by the light-receiving unit 20 is received by the light-receiving unit 20 will be described.

또한, 이하에서는, 센서(110)에 의해 출력되는 센서(110) 및 물체간의 거리에 대한 정보를 제1 정보로 통칭하도록 한다. 실시 예에 따라, 제1 정보는 거리 정보나 깊이 정보, 또는 거리 맵이나 깊이 맵으로 명명될 수도 있을 것이다. 제1 정보에 대한 예시는 도 2a를 참조하여 후술한다.Also, hereinafter, information on the distance between the sensor 110 and the object output by the sensor 110 will be collectively referred to as first information. According to an embodiment, the first information may be called distance information, depth information, or a distance map or a depth map. An example of the first information will be described later with reference to FIG. 2A.

한편, 도 1에서는 센서(110)에 MCU(30)가 포함되는 것으로 도시하였으나, 실시 예에 따라 센서(110)는 발광부(10) 및 수광부(20)를 포함하고, 상술한 MCU(30)의 기능은 프로세서(120)에 의해 수행될 수도 있다. 이 경우, 발광부(10)는 프로세서(120)로부터 수신된 제어 신호에 기초하여 광을 조사하고, 프로세서(120)는 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 기초하여, 센서(110) 및 물체간의 거리를 판단할 수 있다. Meanwhile, in FIG. 1 , the sensor 110 includes the MCU 30 , but according to an embodiment, the sensor 110 includes the light emitting unit 10 and the light receiving unit 20 , and the above-described MCU 30 . The function of may be performed by the processor 120 . In this case, the light emitting unit 10 irradiates light based on a control signal received from the processor 120 , and the processor 120 reflects the light irradiated by the light emitting unit 10 by an object to the light receiving unit ( 20), the distance between the sensor 110 and the object may be determined based on the time until it is received.

본 개시의 일 실시 예에 따른 전자 장치(100)는 메모리(130)를 포함할 수 있다.The electronic device 100 according to an embodiment of the present disclosure may include a memory 130 .

후술하는 바와 같이 MCU(30) 및 프로세서(130)의 제어에 따라 메모리(130)는 센서(110) 및 물체간의 거리를 판단하기 위하여 센서(110)가 출력한 제1 정보, 제2 정보를 저장할 수 있으며, 신뢰도-파라미터 세팅 정보를 기 저장할 수 있다. 이에 대한 구체적인 설명은 후술하도록 한다.As will be described later, according to the control of the MCU 30 and the processor 130 , the memory 130 stores the first information and the second information output by the sensor 110 in order to determine the distance between the sensor 110 and the object. and reliability-parameter setting information may be pre-stored. A detailed description thereof will be provided later.

도 2a는 본 개시의 일 실시 예에 따른 제1 정보를 설명하기 위한 도면이다.2A is a diagram for describing first information according to an embodiment of the present disclosure.

상술한 바와 같이, 센서(110)의 MCU(30)는 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 기초하여, 센서(110) 및 물체간의 거리를 판단할 수 있다. As described above, the MCU 30 of the sensor 110 is based on the time until the light irradiated by the light emitting unit 10 is reflected by the object and received by the light receiving unit 20, the sensor 110 and a distance between the objects may be determined.

구체적으로, MCU(30)는 수광부(20)를 구성하는 복수의 화소별로 광을 반사한 물체까지의 거리를 판단할 수 있다. 여기서, 일 예시에 따른 수광부(20)를 구성하는 복수의 화소(pixel) 각각은, in phase receptor 와 out phase receptor를 구비할 수 있다. Specifically, the MCU 30 may determine the distance to the object that reflects the light for each of a plurality of pixels constituting the light receiving unit 20 . Here, each of the plurality of pixels constituting the light receiving unit 20 according to an example may include an in-phase receptor and an out-phase receptor.

예를 들어, 발광부(10)가 광을 조사하는 동안에 in phase receptor가 활성화되어 광을 수신하며, 발광부(10)가 광을 조사하지 않는 동안(예를 들어, 발광부(10)가 오프되어 있는 동안)에는 out phase receptor가 활성화되어 광을 수신할 수 있다.For example, while the light emitting unit 10 is irradiating light, the in-phase receptor is activated to receive light, and while the light emitting unit 10 is not irradiating light (eg, the light emitting unit 10 is off) During this period), the out-phase receptor is activated and can receive light.

일 예로, 센서(110)와 물체 사이의 거리가 0이면, 발광부(10)가 조사하여 물체에 반사된 광을 in phase receptor만 수신하고, out phase receptor는 수신하지 않을 수 있다. 다른 예로, 센서(110)와 물체 사이의 거리가 0이 아니면, 발광부(10)가 조사하여 물체에 반사된 뒤에 수광부(20)에 도달하기까지 일정 시간이 소요되므로, 발광부(10)가 조사하여 물체에 반사된 광의 일부는 in phase receptor가 수신하고 나머지는 out phase receptor가 수신할 수 있다.For example, when the distance between the sensor 110 and the object is 0, the light emitting unit 10 may receive only the in-phase receptor and not the out-phase receptor of the light reflected by the object. As another example, if the distance between the sensor 110 and the object is not 0, the light emitting unit 10 takes a certain time to reach the light receiving unit 20 after the light emitting unit 10 is irradiated and reflected on the object. Part of the light reflected by the irradiated object can be received by the in-phase receptor, and the rest can be received by the out-phase receptor.

여기서, MCU(30)는 in phase receptor가 광을 수신하는 시간과, out phase receptor가 광을 수신하는 시간의 차이에 기초하여 물체까지의 거리를 식별할 수 있다.Here, the MCU 30 may identify the distance to the object based on a difference between the time the in-phase receptor receives the light and the time the out-phase receptor receives the light.

일 예로, 도 2a에 도시된 바와 같이, MCU(30)는 발광부(10)에 의해 조사된 광이 물체(도 2a를 참조하면, 물체는 일 예로 마우스(1), 사람의 팔(2), 벽면(3) 등을 의미할 수 있다)에 의해 반사되어 복수의 화소 각각에 수신되는 경우, 복수의 화소 별로 광이 수신된 시간을 판단할 수 있다. For example, as shown in FIG. 2A , the MCU 30 includes a light irradiated by the light emitting unit 10 to the object (refer to FIG. 2A , the object is, for example, a mouse 1, a human arm 2) , the wall surface 3, etc.) and received by each of a plurality of pixels, it is possible to determine the time at which the light is received for each of the plurality of pixels.

이를 위해, 수광부(20)를 구성하는 복수의 화소는 광의 수신 시간을 측정하기 위한 타이머 및 측정된 시간을 디지털 신호로 변환하기 위한 TDC(Time to Digital) 변환기를 포함하고, MCU(30)는 TDC 변환기로부터 출력된 신호에 기초하여, 복수의 화소 별로 광이 수신된 시간을 판단할 수 있다. 그리고, MCU(30)는 시간 지연, 즉 광이 발광부(10)에 의해 조사된 후 복수의 화소 각각에 수신되기까지의 시간과 광의 이동 속도에 기초한 연산을 통해, 복수의 화소 별로 물체까지의 거리를 판단하고, 판단된 거리에 대한 정보를 포함하는 제1 정보(210)를 출력할 수 있다. 예를 들어, MCU(30)는 화소를 구성하는 in phase receptor와 out phase receptor 각각이 광을 수신한 시간을 식별하고, 두 시간의 위상차에 기초하여 물체와의 거리를 식별할 수 있다 . 다만, 이는 일 예시로서 이에 한정되지 않음은 물론이다.To this end, the plurality of pixels constituting the light receiving unit 20 includes a timer for measuring a reception time of light and a Time to Digital (TDC) converter for converting the measured time into a digital signal, and the MCU 30 includes a TDC Based on the signal output from the converter, it is possible to determine the time the light is received for each of the plurality of pixels. Then, the MCU 30 performs a time delay, that is, the time from when the light is irradiated by the light emitting unit 10 until it is received by each of the plurality of pixels and the operation based on the movement speed of the light, to the object for each of the plurality of pixels. The distance may be determined and the first information 210 including information on the determined distance may be output. For example, the MCU 30 may identify the time when each of the in-phase receptor and the out-phase receptor constituting the pixel receives light, and may identify the distance to the object based on the phase difference between the two times. However, this is an example and is not limited thereto.

다른 예로, in phase receptor와 out phase receptor 각각은 복수의 광을 수신하며, 복수의 광 각각을 수신한 시간의 위상차에 기초하여 물체와의 거리를 식별할 수 있다. 예를 들어, 발광부(10)는 일정한 시간 간격(예를 들어, 0.1s 간격)으로 복수의 광을 순차적으로 조사할 수 있다. 이이서, in phase receptor와 out phase receptor 각각은 발광부(10)가 일정한 시간 간격으로 조사한 복수의 광을 수신할 수 있으며, MCU(30)는 in phase receptor와 out phase receptor 각각이 복수의 광을 수신한 시간을 식별하며, 식별된 복수의 시간의 위상차에 기초하여 물체와의 거리를 식별할 수도 있음은 물론이다. 상술한 예시에서 구체적인 시간 간격은 설명의 편의를 위한 예시이며 이에 한정되지 않음은 물론이다.As another example, each of the in-phase receptor and the out-phase receptor may receive a plurality of lights, and a distance to the object may be identified based on a phase difference at a time when each of the plurality of lights is received. For example, the light emitting unit 10 may sequentially irradiate a plurality of lights at regular time intervals (eg, 0.1 s intervals). Accordingly, each of the in-phase receptor and the out-phase receptor may receive a plurality of lights irradiated by the light emitting unit 10 at regular time intervals, and the MCU 30 transmits a plurality of lights to each of the in-phase receptor and the out-phase receptor. Of course, the received time may be identified, and a distance to the object may be identified based on the identified phase difference of a plurality of times. Of course, the specific time interval in the above-described example is an example for convenience of description and is not limited thereto.

즉, MCU(30)는 수광부(20)를 구성하는 복수의 화소 각각과 물체와의 거리를 식별하고, 식별된 거리에 대한 정보를 포함하는 제1 정보(210)를 메모리(130)에 저장할 수 있다.That is, the MCU 30 may identify a distance between each of the plurality of pixels constituting the light receiving unit 20 and the object, and store the first information 210 including information on the identified distance in the memory 130 . there is.

도 2a에 도시된 바와 같이, 제1 정보(210)는 수광부(20)를 구성하는 복수의 화소 각각에서 식별된, 복수의 화소 각각과 물체와의 거리 정보를 포함할 수 있다. 우선, 도 2a에 도시된 제1 정보(210)를 구성하는 복수의 셀(cell)(또는, 칸) 각각은 화소에 대응되며, 복수의 셀에 기재된 숫자는 거리 정보의 일 예시로서 상술한 연산 방식을 통해 MCU(30)가 식별한 화소와 물체까지의 거리를 수치로 표현한 값이고, 단위는 cm가 될 수 있으나, 반드시 이에 한정되는 것은 아니다. As shown in FIG. 2A , the first information 210 may include distance information between each of the plurality of pixels and the object identified in each of the plurality of pixels constituting the light receiving unit 20 . First, each of a plurality of cells (or cells) constituting the first information 210 shown in FIG. 2A corresponds to a pixel, and the number written in the plurality of cells is an example of distance information, and the above-described operation It is a value expressing the distance between the pixel and the object identified by the MCU 30 through a numerical value, and the unit may be cm, but is not necessarily limited thereto.

한편, 도 2a를 참조하면, 물체는 마우스(1), 사람의 팔(2), 벽면(3) 등을 포함할 수 있다. 수광부(30)를 구성하는 복수의 화소 각각에 대응되는 물체는 동일할 수도 있고, 상이할 수도 있다.Meanwhile, referring to FIG. 2A , the object may include a mouse 1 , a human arm 2 , a wall surface 3 , and the like. Objects corresponding to each of the plurality of pixels constituting the light receiving unit 30 may be the same or different.

예를 들어, 수광부(20)를 구성하는 복수의 화소 중 제1 화소에 대응되는(예를 들어, 전방에 위치하는) 물체는 마우스(1)이며, 제1 화소는 마우스(1)에 반사된 광을 수신할 수 있다. 이 경우, MCU(30)가 식별한 제1 화소의 거리 정보는, 센서(110)와 마우스(1) 사이의 거리를 의미할 수 있다.For example, among the plurality of pixels constituting the light receiving unit 20 , an object corresponding to (eg, located in front) of the first pixel is the mouse 1 , and the first pixel is reflected by the mouse 1 . light can be received. In this case, the distance information of the first pixel identified by the MCU 30 may mean a distance between the sensor 110 and the mouse 1 .

다른 예로, 수광부(20)를 구성하는 복수의 화소 중 제2 화소에 대응되는 물체는 사람의 팔(2)이며, 제2 화소는 사람의 팔(2)에 반사된 광을 수신할 수 있다. 이 경우, MCU(30)가 식별한 제2 화소의 거리 정보는, 센서(110)와 사람의 팔(2) 사이의 거리를 의미할 수 있다.As another example, an object corresponding to the second pixel among the plurality of pixels constituting the light receiving unit 20 may be a human arm 2 , and the second pixel may receive light reflected by the human arm 2 . In this case, the distance information of the second pixel identified by the MCU 30 may mean a distance between the sensor 110 and the human arm 2 .

따라서, 도 2a의 제1 정보(210)를 참조하면, 복수의 화소 각각은 서로 다른 물체(예를 들어, 마우스(1), 사람의 팔(2), 벽면(3) 중 어느 하나)로부터 반사된 광을 수신하며, 복수의 화소 각각이 동일한 물체로부터 반사된 광을 수신하는 경우일지라도 복수의 화소 각각은 동일한 물체의 상이한 영역(예를 들어, 벽면(3)의 상단 또는 하단 등)에서 반사된 광을 수신하므로, 복수의 셀에 대응되는 거리 정보는 상이함을 확인할 수 있다. Accordingly, referring to the first information 210 of FIG. 2A , each of the plurality of pixels is reflected from a different object (eg, any one of the mouse 1 , the human arm 2 , and the wall surface 3 ). Even when each of the plurality of pixels receives light reflected from the same object, each of the plurality of pixels receives the reflected light from a different area of the same object (for example, the top or bottom of the wall surface 3, etc.) Since light is received, it can be confirmed that distance information corresponding to a plurality of cells is different.

한편, 상술한 바와 같이 복수의 셀 각각은 수광부(20)를 구성하는 복수의 화소에 대응되며, 복수의 셀에 기재된 숫자는, 대응되는 화소에서 식별된 물체와의 거리를 의미할 수 있다.Meanwhile, as described above, each of the plurality of cells corresponds to a plurality of pixels constituting the light receiving unit 20 , and a number written in the plurality of cells may mean a distance from an object identified in the corresponding pixel.

도 2a의 제1 정보(210)를 참조하여 보다 구체적으로 설명하면, 복수의 화소에 대응되는 거리 정보는 상이함을 확인할 수 있다. 이는, 센서(110) 및 물체 간의 거리가 상이하면, 발광부(10)에 의해 조사된 광이 복수의 화소 각각에 수신되는 시간(즉, 광의 비행 시간)이 상이하기 때문이다. 예를 들어, 도 2a를 참조하면, 센서(110)로부터 상대적으로 근거리에 위치하는 물체(가령, 사람의 팔 등)에 의해 반사된 광을 수신한 화소에 대응되는 셀의 거리 정보는, 센서(110)로부터 상대적으로 원거리에 위치하는 물체(가령, 벽면 등)에 의해 반사된 광을 수신한 화소에 대응되는 셀의 거리 정보보다 상대적으로 짧은 거리에 대한 정보를 포함함을 확인할 수 있다.If described in more detail with reference to the first information 210 of FIG. 2A , it can be seen that distance information corresponding to a plurality of pixels is different. This is because, when the distance between the sensor 110 and the object is different, the time at which the light irradiated by the light emitting unit 10 is received by each of the plurality of pixels (ie, the flight time of the light) is different. For example, referring to FIG. 2A , distance information of a cell corresponding to a pixel that has received light reflected by an object (eg, a human arm, etc.) located relatively close from the sensor 110 is, 110), it can be confirmed that information on a distance relatively shorter than distance information of a cell corresponding to a pixel that has received the light reflected by an object (eg, a wall surface) located relatively far away is included.

한편, 도 2a의 제1 정보(210)를 참조하면, 복수의 셀 중 일부 셀에 대응되는 거리 정보는 0임을 확인할 수 있다. Meanwhile, referring to the first information 210 of FIG. 2A , it can be confirmed that distance information corresponding to some cells among a plurality of cells is 0.

상술한 바와 같이, 센서(110)는 물체에 의해 반사된 광에 기초하여 물체와의 거리를 측정한다는 점에서, 물체로부터 반사되어 수광부(20)로 수신되는 광의 광량이 임계 값 이하인 경우, 센서(110)는 광량 불충분의 문제로 물체와의 거리를 측정하지 못하게 된다. 일 예로, 블랙 컬러 등 짙은 계열의 컬러를 갖는 물체(예를 들어, 도 2a를 참조하면, 마우스(1)의 일부 영역)의 경우, 물체로 조사된 광은 물체의 표면에 대부분 흡수된다는 점에서, 해당 물체로부터 반사되어 수광부(20)로 수신되는 광의 광량은 임계 값 이하가 될 수 있다. As described above, in that the sensor 110 measures the distance to the object based on the light reflected by the object, when the amount of light reflected from the object and received by the light receiving unit 20 is less than or equal to a threshold value, the sensor ( 110), the distance to the object cannot be measured due to the insufficient amount of light. For example, in the case of an object having a dark color such as a black color (for example, referring to FIG. 2A , a partial region of the mouse 1), the light irradiated to the object is mostly absorbed by the surface of the object. , the amount of light reflected from the object and received by the light receiving unit 20 may be less than or equal to a threshold value.

이 경우, 센서(110)는 임계 값 이하의 광량을 갖는 광을 수신한 화소에 대응되는 셀의 거리 정보를 0으로 출력하게 된다. 일 예로, 도 2a와 같이 복수의 셀 중 블랙 컬러의 물체(1-1)(가령, 마우스(1)의 일부 영역)로부터 반사된 광을 수신한 화소에 대응되는 셀의 거리 정보는 0이 될 수 있다. 한편, 이와 같은 0의 출력 값은 일 실시 예로써, 실시 예에 따라 센서(110)는 임계 값 이하의 광량을 갖는 광을 수신한 화소에 대응되는 셀의 거리 정보를 무한대의 값 등의 다른 특정 값으로 출력할 수도 있을 것이다. In this case, the sensor 110 outputs distance information of a cell corresponding to a pixel that has received light having an amount of light equal to or less than a threshold value as 0. For example, as shown in FIG. 2A , distance information of a cell corresponding to a pixel that has received light reflected from a black object 1-1 (eg, a partial area of the mouse 1) among a plurality of cells is 0. can On the other hand, such an output value of 0 is an embodiment, and according to an embodiment, the sensor 110 stores distance information of a cell corresponding to a pixel that has received light having an amount of light equal to or less than a threshold value to another specific value such as an infinity value. You can also output it as a value.

여기서, 거리 정보가 0이면, 센서(110)와 물체 간의 거리가 0임을 의미할 수도 있고, 광량 불충분의 문제로 물체와의 거리를 제대로 측정하지 못하였음을 의미할 수도 있다. 따라서, 본 개시에서 0의 출력 값을 갖는 셀은, 복수의 셀 각각에 대한 신뢰도 정보(이하, 제2 정보라 한다)에 기초하여 0의 출력 값을 갖는 셀의 거리 정보(즉, 0의 값)의 정확 여부가 결정될 수 있는다. 이하 도 2b를 참조하여 설명한다.Here, when the distance information is 0, it may mean that the distance between the sensor 110 and the object is 0, or it may mean that the distance to the object is not properly measured due to an insufficient amount of light. Accordingly, in the present disclosure, a cell having an output value of 0 is distance information (ie, a value of 0) of a cell having an output value of 0 based on reliability information (hereinafter, referred to as second information) for each of a plurality of cells. ) can be determined. Hereinafter, it will be described with reference to FIG. 2B.

도 2b는 본 개시의 일 실시 예에 따른 제2 정보를 설명하기 위한 도면이다.2B is a diagram for describing second information according to an embodiment of the present disclosure.

센서(110)는 제1 정보(210)에 대한 신뢰 정보를 포함하는 제2 정보를 출력할 수 있다. The sensor 110 may output second information including trust information for the first information 210 .

구체적으로, 센서(110)의 MCU(30)는 제1 정보(210)를 구성하는 각 셀에 대응되는 거리 정보에 대한 신뢰도를 나타내는 제2 정보(220)를 출력할 수 있다. 여기에서, 신뢰도는 제1 정보(210)를 구성하는 각 셀에 대응되는 거리 정보의 정확도에 대한 값이 될 수 있다. 이를 위해, MCU(30)는 상이한 위상 편이(phase shifts)의 복수의 광이 수광부(20)에 수신됨에 따라 측정되는 복수의 전하량에 기초하여 수광부(20)를 구성하는 각 화소별로 측정된 거리 정보에 대한 신뢰도를 판단할 수 있다. 일 예로, MCU(30)의 제어에 따라 발광부(10)를 통해 4개의 위상 편이(가령, 0도, 90도, 180도, 270도)를 갖는 복수의 광이 순차적으로 조사된 경우, 수광부(20)는 4개의 위상 편이를 갖는 복수의 광을 순차적으로 수신할 수 있다. Specifically, the MCU 30 of the sensor 110 may output the second information 220 indicating the reliability of the distance information corresponding to each cell constituting the first information 210 . Here, the reliability may be a value for the accuracy of distance information corresponding to each cell constituting the first information 210 . To this end, the MCU 30 performs distance information measured for each pixel constituting the light receiving unit 20 based on a plurality of charges measured as a plurality of lights having different phase shifts are received by the light receiving unit 20 . reliability can be judged. For example, when a plurality of lights having four phase shifts (eg, 0 degrees, 90 degrees, 180 degrees, 270 degrees) are sequentially irradiated through the light emitting unit 10 under the control of the MCU 30 , the light receiving unit (20) may sequentially receive a plurality of lights having four phase shifts.

그리고, MCU(30)는 복수의 화소 각각에 대응되는 거리 정보에 대한 신뢰도를 confidence = root[(Q1-Q2)^2+(Q3-Q4)^2] 연산을 통해 판단할 수 있다. 예를 들어, MCU(30)는 수광부(20)를 구성하는 복수의 화소 중 제1 화소가 제1 위상 편이의 광을 수신함에 따라 측정되는 전하량 Q1, 제1 화소가 제2 위상 편이의 광을 수신함에 따라 측정되는 전하량 Q2, 제1 화소가 제3 위상 편이의 광을 수신함에 따라 측정되는 전하량 Q3, 제1 화소가 제4 위상 편이의 광을 수신함에 따라 측정되는 전하량 Q4에 기초하여 root[(Q1-Q2)^2+(Q3-Q4)^2] 연산을 수행하며, 제1 화소에 대응되는 셀에 포함된 거리 정보에 대한 신뢰도(confidence)를 획득할 수 있다. MCU(30)는 상술한 방법(연산)을 이용하여 복수의 화소 각각에 대응되는 거리 정보에 대한 신뢰도를 획득할 수 있다.Also, the MCU 30 may determine the reliability of the distance information corresponding to each of the plurality of pixels by calculating confidence = root[(Q1-Q2)^2+(Q3-Q4)^2]. For example, in the MCU 30 , the amount of charge Q1 measured when the first pixel receives the light of the first phase shift among the plurality of pixels constituting the light receiving unit 20, and the first pixel receives the light of the second phase shift The root[ (Q1-Q2)^2+(Q3-Q4)^2] operation is performed, and confidence with respect to distance information included in the cell corresponding to the first pixel may be obtained. The MCU 30 may acquire reliability of distance information corresponding to each of the plurality of pixels by using the above-described method (operation).

다만, 이는 일 실시 예로써, 제1 정보(210)에 대한 신뢰도는 특정 화소와 인접하는 화소들간의 거리 정보의 차이 또는 화소 별로 측정되는 거리 정보를 입력 데이터로, 각 화소에 대응되는 신뢰도를 출력하도록 학습된 신경망 모델의 이용하는 것과 같은 다양한 방법을 통해 판단될 수 있다. 또 다른 예로, MCU(30)의 제어에 따라 발광부(10)는 4개 미만의 위상 편이(예를 들어, 0도, 180도) 또는, 4개 초과의 위상 편이(가령, 0도, 45도, 90도, 135도, 180도, 225도, 270도, 315도, 360도 등)를 갖는 복수의 광을 순차적으로 조사하고, 수광부(20)는 위상이 상이한 복수의 광을 순차적으로 수신할 수 있다. 이어서, MCU(30)는 순차적으로 수신된 복수의 광에 따라 화소에서 측정된 전하량에 기초하여 해당 화소에서의 신뢰도를 측정하고, 이에 따라, MCU(30)는 복수의 화소 각각에 대응되는 거리 정보에 대한 신뢰도를 획득할 수 있다.However, this is an exemplary embodiment, and the reliability of the first information 210 outputs the reliability corresponding to each pixel using the difference in distance information between a specific pixel and adjacent pixels or distance information measured for each pixel as input data. It can be determined through various methods, such as using a neural network model that has been trained to As another example, under the control of the MCU 30 , the light emitting unit 10 may have less than 4 phase shifts (eg, 0 degrees, 180 degrees) or more than 4 phase shifts (eg, 0 degrees, 45 degrees). degrees, 90 degrees, 135 degrees, 180 degrees, 225 degrees, 270 degrees, 315 degrees, 360 degrees, etc.) are sequentially irradiated, and the light receiving unit 20 sequentially receives a plurality of lights having different phases can do. Next, the MCU 30 measures the reliability in the pixel based on the amount of charge measured in the pixel according to the plurality of sequentially received lights, and accordingly, the MCU 30 provides distance information corresponding to each of the plurality of pixels. reliability can be obtained.

제2 정보(220)는 상술한 바와 같이 제1 정보(210)에 대한 신뢰 정보를 포함한다는 점에서, 실시 예에 따라 컨피던스 정보 또는 컨피던스 맵이라 불릴 수 있다. Since the second information 220 includes trust information on the first information 210 as described above, it may be called confidence information or a confidence map according to an embodiment.

일 예로, 도 2b에 도시된 바와 같이, 물체를 향해 광을 조사한 경우, 수광부(20)를 구성하는 복수의 화소는 물체의 의해 반사된 광을 수신하고, MCU(30)는 상술한 연산 방식을 통해 각 화소에 대응되는 셀 별로 신뢰도 값을 포함하는 제2 정보(220)를 출력할 수 있다. 이어서, MCU(30)는 제2 정보(220)를 메모리(130)에 저장할 수 있다.For example, as shown in FIG. 2B , when light is irradiated toward an object, a plurality of pixels constituting the light receiving unit 20 receives the light reflected by the object, and the MCU 30 performs the above-described calculation method. Through this, the second information 220 including the reliability value for each cell corresponding to each pixel may be output. Subsequently, the MCU 30 may store the second information 220 in the memory 130 .

도 2b에 도시된 바와 같이, 제2 정보(220)는 수광부(20)를 구성하는 복수의 화소 각각에 대응되는 셀 및 해당 셀에 대응되는 신뢰도 정보를 포함할 수 있다. 여기에서, 신뢰도 정보는 상술한 연산 방식을 통해 산출된 신뢰도 값을 포함하는 정보로써, 신뢰도 값은 일 예로 0 내지 255의 값을 가질 수 있으나 반드시 이에 한정되는 것은 아니다. 그리고, 상대적으로 높은 값의 신뢰도를 갖는 셀은 상대적으로 낮은 값의 신뢰도를 갖는 셀보다 높은 정확도의 거리 정보를 포함하는 것으로 볼 수 있다. 한편, 도 2b에 도시된 복수의 화소 각각에 대응되는 셀들로 구성된 제2 정보(220)의 형태는 일 예시이며 이에 한정되지 않음은 물론이다.As shown in FIG. 2B , the second information 220 may include a cell corresponding to each of a plurality of pixels constituting the light receiving unit 20 and reliability information corresponding to the cell. Here, the reliability information is information including the reliability value calculated through the above-described calculation method, and the reliability value may have, for example, a value of 0 to 255, but is not limited thereto. In addition, it can be seen that a cell having a relatively high reliability value includes distance information with higher accuracy than a cell having a relatively low reliability value. Meanwhile, the shape of the second information 220 including cells corresponding to each of the plurality of pixels illustrated in FIG. 2B is an example and is not limited thereto.

한편, 도 2b에 도시된, 본 개시의 일 실시 예에 따른 제2 정보(220)를 참조하면, 임계 값 이하의 광량을 갖는 광을 수신한 화소에 대응되는 셀의 신뢰도 값은 그 외 화소에 대응되는 셀의 신뢰도 값과 비교하였을 때 상대적으로 작은 값(가령, 50 이하의 신뢰도 값)을 가짐을 확인할 수 있다. 여기에서, 임계 값 이하의 광량을 갖는 광을 수신한 화소는 도 2a에서 설명한 바와 같이, 블랙 컬러 등 짙은 계열의 컬러를 갖는 물체로부터 반사된 광을 수신한 화소가 될 수 있다.Meanwhile, referring to the second information 220 according to an embodiment of the present disclosure illustrated in FIG. 2B , the reliability value of a cell corresponding to a pixel that has received light having an amount of light equal to or less than a threshold value is different from that of other pixels. It can be confirmed that the cell has a relatively small value (eg, a reliability value of 50 or less) when compared with the reliability value of the corresponding cell. Here, the pixel that has received the light having the amount of light equal to or less than the threshold value may be the pixel that has received the light reflected from the object having a dark color such as a black color, as described with reference to FIG. 2A .

이 경우, MCU(30)는 제2 정보(220)에 기초하여 복수의 셀 중 임계 값 이하의 신뢰도 값을 갖는 셀을 판단하고, 제1 정보(210)에 포함된 복수의 셀 중, 임계 값 이하의 신뢰도 값을 갖는 셀의 거리 정보를 0으로 설정하여, 도 2a와 같은 제1 정보(210)를 출력할 수 있다.In this case, the MCU 30 determines a cell having a reliability value equal to or less than a threshold value among a plurality of cells based on the second information 220 , and among a plurality of cells included in the first information 210 , a threshold value The first information 210 as shown in FIG. 2A may be output by setting the distance information of cells having the following reliability values to 0.

한편, 상술한 바와 같이, 센서(110)는 물체에 의해 반사된 광에 기초하여 물체와의 거리를 측정한다는 점에서, 물체로부터 반사되어 수광부(20)로 수신되는 광량이 불충분할 경우, 물체까지의 거리를 측정하는데 어려움이 있을 수 있다. 일 예로, 블랙 컬러의 물체로 조사된 광은, 물체의 표면에 광이 대부분 흡수됨에 따라 수광부(20)에 수신되는 광량이 불충분 할 수 있다.Meanwhile, as described above, in that the sensor 110 measures the distance to the object based on the light reflected by the object, if the amount of light reflected from the object and received by the light receiving unit 20 is insufficient, even the object It may be difficult to measure the distance of For example, the amount of light received by the light receiving unit 20 may be insufficient as most of the light irradiated to the black object is absorbed by the surface of the object.

이 경우, 센서(110)는 수광부(20)로 수신되는 광의 광량이 불충분 함으로 인해 블랙 컬러의 물체까지의 거리를 측정하지 못하는 문제를 발생하게 된다. In this case, the sensor 110 may not be able to measure the distance to the black-colored object due to an insufficient amount of light received by the light receiving unit 20 .

이는, 특히 물체와의 거리에 기반하여 동작하는 전자 장치(가령, 이동형 로봇 또는 자율 주행 차량 등)의 주행에 제약을 가하며, 전자 장치와 물체간의 충돌 발생 염려를 야기시킬 수 있다. In particular, this imposes restrictions on the driving of an electronic device (eg, a mobile robot or an autonomous vehicle, etc.) that operates based on the distance to the object, and may cause a risk of collision between the electronic device and the object.

이와 같은 문제점 해결을 위해, 본 개시의 프로세서(120)는 거리 정보가 검출되지 않는 적어도 하나의 셀이 제1 정보(210)에 포함된 경우, 센서(110)의 파라미터 설정을 변경하고, 파라미터 설정이 변경된 센서(110)로부터 거리 정보를 포함하는 제3 정보를 추가적으로 획득할 수 있다. 여기에서, 파라미터 설정의 변경이란, 복수의 파라미터 중 적어도 하나의 파라미터에 설정된 파라미터 값을 변경하는 것으로써, 파라미터는 일 예로, 발광부(10)의 광도를 조절하기 위한 파라미터 또는 광에 대한 노출 시간을 조절하기 위한 파라미터가 될 수 있다. 다만, 이는 일 실시 예로써, 센서(110)의 파라미터는 광의 모듈레이션 주파수를 변경하기 위한 파라미터 등의 다양한 파라미터가 될 수 있으며, 본 개시의 기술적 사상이 본 명세서에 기재된 실시 예로 한정되는 것은 아니라 할 것이다. 도 3 이하를 참조하여 이에 대해 상세히 설명한다.To solve this problem, the processor 120 of the present disclosure changes the parameter setting of the sensor 110 and sets the parameter when the first information 210 includes at least one cell for which distance information is not detected. Third information including distance information may be additionally obtained from the changed sensor 110 . Here, the change of the parameter setting refers to changing a parameter value set in at least one parameter among a plurality of parameters, and the parameter is, for example, a parameter for adjusting the luminous intensity of the light emitting unit 10 or an exposure time to light can be a parameter for adjusting However, this is an embodiment, and the parameter of the sensor 110 may be various parameters such as a parameter for changing the modulation frequency of light, and the technical spirit of the present disclosure is not limited to the embodiments described in this specification. . This will be described in detail with reference to FIG. 3 below.

도 3은 본 개시의 일 실시 예에 따른 거리 정보가 검출되지 않는 적어도 하나의 셀에 기초하여 ROI(region of interest)을 설정하는 실시 예를 설명하기 위한 도면이다.3 is a diagram for explaining an embodiment of setting a region of interest (ROI) based on at least one cell in which distance information is not detected, according to an embodiment of the present disclosure.

프로세서(120)는 발광부(10)를 통해 광을 조사하도록 센서(110)를 제어할 수 있다. 그리고, 프로세서(120)는 물체에 의해 반사된 광이 수광부(20)에 수신됨에 따라 MCU(30)에 의해 생성된 제1 정보(210)를 센서(110)로부터 수신할 수 있다. 여기에서, 제1 정보(210)는 상술한 바와 같이 거리 정보를 포함할 수 있다.The processor 120 may control the sensor 110 to emit light through the light emitting unit 10 . In addition, the processor 120 may receive the first information 210 generated by the MCU 30 from the sensor 110 as the light reflected by the object is received by the light receiving unit 20 . Here, the first information 210 may include distance information as described above.

한편, 상술한 바와 같이 제1 정보(210)는 프로세서(120)에 의해 생성될 수도 있다. 구체적으로, 프로세서(120)는 광을 조사하도록 센서(110)의 발광부(10)를 제어하고, 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되면, 광의 비행 시간에 기초하여, 센서(110) 및 물체 간의 거리를 판단(또는, 연산)할 수 있다. Meanwhile, as described above, the first information 210 may be generated by the processor 120 . Specifically, the processor 120 controls the light emitting unit 10 of the sensor 110 to irradiate light, and when the light irradiated by the light emitting unit 10 is reflected by the object and received by the light receiving unit 20 , , based on the flight time of the light, it is possible to determine (or calculate) the distance between the sensor 110 and the object.

또한, 프로세서(120)는 제1 정보(210)의 거리 정보에 대한 신뢰 정보를 포함하는 제2 정보(220)를 센서(110)로부터 수신할 수 있다.Also, the processor 120 may receive the second information 220 including trust information on the distance information of the first information 210 from the sensor 110 .

전술한 바와 같이, 센서(110)는 수광부(20)를 구성하는 각 화소에 대응되는 거리 정보에 대한 신뢰도를 나타내는 제2 정보(220)를 출력할 수 있다. 여기에서, 신뢰도는 수광부(20)를 구성하는 각 화소에 대응되는 거리 정보의 정확도에 대한 값이 될 수 있다.As described above, the sensor 110 may output the second information 220 indicating the reliability of the distance information corresponding to each pixel constituting the light receiving unit 20 . Here, the reliability may be a value for the accuracy of distance information corresponding to each pixel constituting the light receiving unit 20 .

한편, 제2 정보(220)는 프로세서(120)에 의해 생성될 수도 있다. 구체적으로, 프로세서(120)는 광을 조사하도록 센서(110)의 발광부(10)를 제어하고, 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되면, 수광부(20)에 수신된 광의 광량에 기초하여 측정되는 전하 Q 및 위상 편이를 이용하여 수광부(20)를 구성하는 각 화소에 대응되는 거리 정보의 신뢰도를 판단할 수 있다. 일 예로, 수광부(20)가 상이한 4개의 위상 편이로 광을 수신하는 경우이면, 프로세서(120)는 confidence = root[(Q1-Q2)^2+(Q3-Q4)^2] 연산을 통해 각 화소에 대응되는 거리 정보의 신뢰도를 판단할 수 있다.Meanwhile, the second information 220 may be generated by the processor 120 . Specifically, the processor 120 controls the light emitting unit 10 of the sensor 110 to irradiate light, and when the light irradiated by the light emitting unit 10 is reflected by the object and received by the light receiving unit 20 , , it is possible to determine the reliability of distance information corresponding to each pixel constituting the light receiving unit 20 by using the charge Q and the phase shift measured based on the amount of light received by the light receiving unit 20 . For example, when the light receiving unit 20 receives light with four different phase shifts, the processor 120 calculates each Reliability of distance information corresponding to a pixel may be determined.

전술한 바와 같이, 센서(110)는 물체에 의해 반사되어 수광부(20)로 수신되는 광의 양이 불충분한 경우, 즉 수광부(20)로 수신되는 광의 양이 거리 측정을 위해 필요한 최소 임계 값 이하인 경우, 해당 물체로부터 반사된 광을 수신한 화소에 대응되는 셀의 거리 정보로 0의 값을 출력하게 된다.As described above, when the amount of light reflected by the object and received by the light receiving unit 20 is insufficient, that is, the amount of light received by the light receiving unit 20 is less than or equal to the minimum threshold required for distance measurement. , a value of 0 is output as distance information of the cell corresponding to the pixel that has received the light reflected from the object.

프로세서(120)는 센서(110)로부터 거리 정보를 포함하는 제1 정보(210)가 수신되면, 거리 정보에 기초하여 수광부(20)를 구성하는 복수의 화소에 대응되는 복수의 셀 중 거리 정보 없음을 나타내는 값 0의 출력 값을 갖는 적어도 하나의 셀을 식별할 수 있다. 여기에서, 식별되는 적어도 하나의 셀은 거리 측정을 위해 필요한 최소 임계 값 이하의 광량을 수신한 화소에 대응되는 셀이 될 수 있다. 그리고, 프로세서(120)는 식별된 적어도 셀을 포함하는 ROI(Region of Interest)를 제1 정보(210) 및 제2 정보(220)에 설정할 수 있다. 여기에서, ROI는 일 예로 0의 출력 값을 갖는 적어도 하나의 셀을 포함하는 최소 크기의 사각 형상의 영역이 될 수 있다. 다만, 반드시 이에 한정되는 것은 아니고 ROI는 적어도 하나의 셀을 포함하는 원, 폐곡선, 다각형 등 다양한 형상의 영역을 가질 수 있다. 일 예로, 도 3에 도시된 바와 같이, 프로세서(120)는 수광부(20)를 구성하는 복수의 화소 중 제1 정보(210) 또는 제2 정보(220)에 기초하여 거리 정보 없음을 나타내는 0의 출력 값을 갖는 적어도 하나의 화소를 식별하고, 식별된 화소에 대응되는 셀을 포함하는 ROI(1000)를 설정할 수 있다. When the first information 210 including distance information is received from the sensor 110 , the processor 120 has no distance information among a plurality of cells corresponding to a plurality of pixels constituting the light receiving unit 20 based on the distance information. It is possible to identify at least one cell having an output value of 0 representing . Here, the identified at least one cell may be a cell corresponding to a pixel that has received an amount of light equal to or less than a minimum threshold required for distance measurement. In addition, the processor 120 may set a region of interest (ROI) including at least the identified cells to the first information 210 and the second information 220 . Here, the ROI may be, for example, a rectangular region having a minimum size including at least one cell having an output value of 0. However, the present invention is not necessarily limited thereto, and the ROI may have a region having various shapes, such as a circle including at least one cell, a closed curve, and a polygon. For example, as shown in FIG. 3 , the processor 120 sets a value of 0 indicating no distance information based on the first information 210 or the second information 220 among a plurality of pixels constituting the light receiving unit 20 . At least one pixel having an output value may be identified, and the ROI 1000 including a cell corresponding to the identified pixel may be set.

그리고, 프로세서(120)는 ROI(1000)에 대응되는 신뢰 정보에 기초하여, 센서(110)의 파라미터 설정을 변경할 수 있다.In addition, the processor 120 may change the parameter setting of the sensor 110 based on the trust information corresponding to the ROI 1000 .

이를 위해, 프로세서(120)는 ROI(1000)가 설정되면, 제2 정보(220)에 포함된 신뢰 정보에 기초하여, ROI(1000)를 구성하는 적어도 하나의 셀의 신뢰도를 판단할 수 있다. To this end, when the ROI 1000 is set, the processor 120 may determine the reliability of at least one cell constituting the ROI 1000 based on the trust information included in the second information 220 .

그리고, 프로세서(120)는 ROI(1000)를 구성하는 적어도 하나의 셀의 신뢰도에 기초하여, 센서(110)의 파라미터 설정을 변경할 수 있다. In addition, the processor 120 may change the parameter setting of the sensor 110 based on the reliability of at least one cell constituting the ROI 1000 .

우선, 프로세서(120)는 센서(110)의 파라미터 설정을 변경하기 위하여 프로세서(120)는 ROI(1000)를 구성하는 복수의 셀의 신뢰도 분포(또는, 히스토그램)를 식별할 수 있다. 이어서, 프로세서(120)는 식별된 신뢰도 분포 및 메모리(130)에 기 저장된 신뢰도-파라미터 세팅 정보에 기초하여 센서(110)의 동작, 설정을 변경하기 위한 파라미터를 획득할 수 있다.First, in order for the processor 120 to change the parameter setting of the sensor 110 , the processor 120 may identify a reliability distribution (or histogram) of a plurality of cells constituting the ROI 1000 . Subsequently, the processor 120 may acquire a parameter for changing the operation and setting of the sensor 110 based on the identified reliability distribution and the reliability-parameter setting information previously stored in the memory 130 .

예를 들어, 센서(110)의 파라미터는 발광부(10)의 광도를 조절하기 위한 파라미터 또는 광에 대한 노출 시간을 조절하기 위한 파라미터 등을 포함할 수 있다. 다만, 이는 일 실시 예로써, 센서(110)의 파라미터는 광의 모듈레이션 주파수를 변경하기 위한 파라미터 등의 다양한 파라미터가 될 수 있으며, 본 개시의 기술적 사상이 본 명세서에 기재된 실시 예로 한정되는 것은 아니라 할 것이다. For example, the parameter of the sensor 110 may include a parameter for adjusting the luminous intensity of the light emitting unit 10 or a parameter for adjusting the exposure time to light. However, this is an embodiment, and the parameter of the sensor 110 may be various parameters such as a parameter for changing the modulation frequency of light, and the technical spirit of the present disclosure is not limited to the embodiments described in this specification. .

구체적으로, 프로세서(120)는 ROI(1000)에 포함된 복수의 셀 각각의 신뢰도를 판단할 수 있다. 그리고, 프로세서(120)는 신뢰도의 범위 별로, 해당 신뢰도 범위에 속하는 셀의 개수를 판단할 수 있다.Specifically, the processor 120 may determine the reliability of each of the plurality of cells included in the ROI 1000 . In addition, the processor 120 may determine the number of cells belonging to the corresponding reliability range for each reliability range.

일 예로, 도 4a 및 도 4b를 참조하면, 프로세서(120)는 제1 정보(210)에 기초하여 식별된 ROI에서 0부터 25 사이의 신뢰도를 갖는 셀의 개수, 26부터 50사이의 신뢰도를 갖는 셀의 개수, .., 226부터 255 사이의 신뢰도를 갖는 셀의 개수를 제2 정보(220)에 기초하여 판단할 수 있다. 한편, 이와 같은 25 단위의 신뢰도 범위는 일 예로써, 신뢰도 범위는 실시 예에 따라 다양하게 설정될 수 있다. 또한, 도 4a 및 도 4b의 예시는 신뢰도의 범위 별로, 해당 신뢰도 범위에 속하는 셀의 개수를 판단하는 실시 예를 설명하기 위한 도면으로써, 이와 같은 기술적 사상은 도 3과 같은 ROI(1000)에서 신뢰도의 범위 별 셀의 개수를 판단하는 경우에 적용될 수 있다고 볼 것이다.As an example, referring to FIGS. 4A and 4B , the processor 120 determines the number of cells having a reliability between 0 and 25 in the ROI identified based on the first information 210 , and a reliability between 26 and 50. The number of cells, .., and the number of cells having a reliability between 226 and 255 may be determined based on the second information 220 . Meanwhile, the reliability range of 25 units is an example, and the reliability range may be set in various ways according to embodiments. In addition, the examples of FIGS. 4A and 4B are diagrams for explaining an embodiment of determining the number of cells belonging to a corresponding reliability range for each reliability range. It will be seen that it can be applied to the case of determining the number of cells per range of .

이어서, 프로세서(120)는 ROI(1000)를 구성하는 복수의 셀의 신뢰도 분포 및 메모리(130)에 기 저장된 신뢰도-파라미터 세팅 정보에 기초하여, ROI(1000)에 대응되는 센서(110)의 파라미터를 획득할 수 있다. 이어서, 프로세서(130)는 획득된 파라미터에 대응되도록 센서(110)의 파라미터 설정을 변경할 수 있다. Subsequently, the processor 120 determines a parameter of the sensor 110 corresponding to the ROI 1000 based on the reliability distribution of the plurality of cells constituting the ROI 1000 and the reliability pre-stored in the memory 130-parameter setting information. can be obtained. Subsequently, the processor 130 may change the parameter setting of the sensor 110 to correspond to the acquired parameter.

메모리(130)에 기 저장된 신뢰도-파라미터 세팅 정보의 일 예시는 도 4c와 같다. 예을 들어, 신뢰도-파라미터 세팅 정보에는 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀의 개수에 기초하여 센서(110)의 파라미터 설정을 변경하기 위한 파라미터 세팅 정보가 포함될 수 있다. 일 예로, 도 4c를 참조하면, 신뢰도-파라미터 세팅 정보에는, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 ROI에 제1 복수 개 이상(가령, 51개 이상) 포함되는 경우, 발광부(10)의 광도를 a1배 증가시키기 위한 파라미터 세팅 정보, 광에 대한 노출 시간을 b1배 증가시키기 위한 파라미터 세팅 정보 또는 발광부(10)의 광도를 a11배 증가시키고 광에 대한 노출 시간을 b11배 증가시키기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다. An example of the reliability-parameter setting information pre-stored in the memory 130 is shown in FIG. 4C . For example, the reliability-parameter setting information may include parameter setting information for changing the parameter setting of the sensor 110 based on the number of cells having a reliability value lower than a minimum threshold value for distance measurement. For example, referring to FIG. 4C , in the reliability-parameter setting information, a first plurality (eg, 51 or more) of cells having a reliability value lower than the minimum threshold value for distance measurement are included in the ROI. Parameter setting information for increasing the luminous intensity of the unit 10 by a1 times, parameter setting information for increasing the exposure time to light by b1 times, or increasing the luminous intensity of the light emitting unit 10 by a11 times and setting the exposure time to light by b11 Parameter setting information for multiplying may be stored.

그리고, 신뢰도-파라미터 세팅 정보에는 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 ROI에 제2 복수 개(가령, 31개) 이상이고 제1 복수 개(가령, 51개) 미만인 경우, 발광부(10)의 광도를 a2배 증가시키기 위한 파라미터 세팅 정보, 광에 대한 노출 시간을 b2배 증가시키기 위한 파라미터 세팅 정보, 또는 발광부(10)의 광도를 a22배 증가시키고 광에 대한 노출 시간을 b22배 증가시키기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다. And, the reliability-parameter setting information includes a second plurality (eg, 31) or more and less than a first plurality (eg, 51) of cells having a reliability value lower than the minimum threshold value for distance measurement in the ROI, Parameter setting information for increasing the luminous intensity of the light emitting unit 10 by a2 times, parameter setting information for increasing the exposure time to light by b2 times, or increasing the luminous intensity of the light emitting unit 10 by a22 times and the exposure time to light Parameter setting information for increasing b22 times may be stored.

또한, 신뢰도-파라미터 세팅 정보에는 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 ROI에 제3 복수 개(가령, 11개)이상이고 제2 복수 개(가령, 31개) 미만인 경우, 발광부(10)의 광도를 a3배 증가시키기 위한 파라미터 세팅 정보, 광에 대한 노출 시간을 b3배 증가시키기 위한 파라미터 세팅 정보 또는, 발광부(10)의 광도를 a33배 증가시키고 광에 대한 노출 시간을 b33배 증가시키기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다. 그리고, 신뢰도-파라미터 세팅 정보에는 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 ROI에 제3 복수 개(가령, 11개) 미만인 경우, 발광부(10)의 파라미터 값을 유지하기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다. In addition, the reliability-parameter setting information includes a third plurality (eg, 11) or more and less than a second plurality (eg, 31) of cells having a reliability value lower than the minimum threshold value for distance measurement in the ROI, Parameter setting information for increasing the light intensity of the light emitting unit 10 by a3 times, parameter setting information for increasing the exposure time to light by b3 times, or increasing the light intensity of the light emitting unit 10 by a33 times and the exposure time to light Parameter setting information for increasing b33 times may be stored. And, in the reliability-parameter setting information, when the number of cells having a reliability value lower than the minimum threshold value for distance measurement is less than a third plurality (eg, 11) in the ROI, for maintaining the parameter value of the light emitting unit 10 Parameter setting information may be stored.

이에 따라, 프로세서(120)는 ROI(1000)를 구성하는 복수의 셀의 신뢰도 분포 및 신뢰도-파라미터 세팅 정보에 기초하여, 센서(110)의 파라미터 설정을 변경할 수 있다.Accordingly, the processor 120 may change the parameter setting of the sensor 110 based on the reliability distribution and the reliability-parameter setting information of the plurality of cells constituting the ROI 1000 .

한편, 신뢰도-파라미터 세팅 정보에 있어서, ROI 내에 포함된 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀의 개수와, 광도를 증가시키기 위한 파라미터, 광에 대한 노출 시간을 증가시키기 위한 파라미터는 비례 관계일 수 있다. 예를 들어, ROI에 포함된 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀의 개수가 제3 복수 개(가령, 11개) 미만일 때 대비 제1 복수 개(가령, 51개) 이상일 때에, 광도를 증가시키기 위한 파라미터, 광에 대한 노출 시간을 증가시키기 위한 파라미터가 셀의 개수에 비례하여 커질 수 있다.On the other hand, in the reliability-parameter setting information, the number of cells having a reliability value lower than the minimum threshold value included in the ROI, a parameter for increasing the light intensity, and a parameter for increasing the exposure time to light may have a proportional relationship. there is. For example, when the number of cells having a reliability value lower than the minimum threshold value included in the ROI is less than the third plurality (eg, 11), when the number of cells is greater than or equal to the first plurality (eg, 51), increase the luminance A parameter for increasing the exposure time to light and a parameter for increasing the exposure time to light may increase in proportion to the number of cells.

일 예로, 도 4b에 도시된 바와 같이, 거리 측정을 위한 최소 임계 값(가령, 신뢰도 50)이하의 신뢰도 값을 갖는 셀이 ROI에 제1 복수 개 이상(가령, 51개 이상) 포함되는 경우, 프로세서(120)는 신뢰도-파라미터 세팅 정보에 기초하여, 발광부의 광도를 a1배(가령, 3.5배) 증가, 광에 대한 노출 시간을 b1배(가령, 3.5배) 증가, 또는 발광부(10)의 광도를 a11배(가령, 2.3배) 증가시키고 광에 대한 노출 시간을 b11배(가령, 1.5배) 증가시키기 위해 센서(110)의 파라미터 설정을 변경할 수 있다. As an example, as shown in FIG. 4B , if a first plurality (eg, 51 or more) of cells having a reliability value less than or equal to the minimum threshold value for distance measurement (eg, reliability 50) are included in the ROI, The processor 120 increases the luminous intensity of the light emitting unit by a1 times (eg, 3.5 times), increases the exposure time to light by b1 times (eg, 3.5 times), or the light emitting unit 10 based on the reliability-parameter setting information. The parameter settings of the sensor 110 may be changed to increase the luminous intensity of α11 times (eg, 2.3 times) and increase the exposure time to light b11 times (eg, 1.5 times).

또는, 도 4b에 도시된 바와 같이, 거리 측정을 위한 최소 임계 값(가령, 신뢰도 50)이하의 신뢰도 값을 갖는 셀이 ROI에 제2 복수개 이상(가령, 31개 이상)이고 제1 복수 개 미만(가령, 50개 미만)으로 포함되는 경우, 프로세서(120)는 신뢰도-파라미터 세팅 정보에 기초하여 발광부(10)의 광도를 a2배(가령, 2배) 증가, 광에 대한 노출 시간을 b2배(가령, 2배) 증가, 또는, 발광부(10)의 광도를 a22배(가령, 1.3배) 증가시키고 광에 대한 노출 시간을 b22배(가령, 1.5배) 증가시키기 위해 센서(110)의 파라미터 설정을 변경할 수 있다. Alternatively, as shown in FIG. 4B , a second plurality of cells (eg, 31 or more) and less than the first plurality of cells having a reliability value less than or equal to a minimum threshold value for distance measurement (eg, reliability 50) are in the ROI (eg, less than 50), the processor 120 increases the luminous intensity of the light emitting unit 10 by a2 times (eg, 2 times) based on the reliability-parameter setting information, and increases the exposure time to light b2 sensor 110 to increase by a factor of (eg, a factor of 2), or increase the luminous intensity of the light emitter 10 by a22 times (eg, 1.3 times) and increase the exposure time to light by b22 times (eg, by a factor of 1.5) You can change the parameter settings of

이후, 프로세서(120)는 파라미터 설정이 변경된 센서(110)로부터 센서(110) 및 물체간의 거리에 대한 정보를 포함하는 제3 정보를 획득할 수 있다. 구체적으로, 프로세서(120)는 신뢰도-파라미터 세팅 정보에 따라 센서(110)의 파라미터 설정을 변경하고, 파라미터 설정이 변경된 센서(110)로 거리 정보를 포함하는 제3 정보를 생성하기 위한 제어 신호를 전송할 수 있다. 이 경우, 센서(110)의 MCU(30)는 제어 신호에 따라 발광부(10)를 제어하여 광을 조사하고, 광이 물체에 의해 반사되어 수광부(20)에 수신 되기까지의 시간에 기초하여 물체까지의 거리에 대한 정보를 포함하는 제3 정보를 출력할 수 있다. Thereafter, the processor 120 may obtain third information including information on the distance between the sensor 110 and the object from the sensor 110 whose parameter setting is changed. Specifically, the processor 120 changes the parameter setting of the sensor 110 according to the reliability-parameter setting information, and sends a control signal for generating third information including distance information to the sensor 110 whose parameter setting is changed. can be transmitted In this case, the MCU 30 of the sensor 110 controls the light emitting unit 10 according to the control signal to irradiate light, and based on the time until the light is reflected by the object and received by the light receiving unit 20 . Third information including information on the distance to the object may be output.

여기에서, 제3 정보(510)는 발광부(10)의 광도를 높이거나 광에 대한 노출 시간을 늘린 센서(110)에 의해 감지된 물체와의 거리에 대한 정보를 포함할 수 있다. 특히, 제3 정보(510)의 ROI(1000)에 포함된 거리 정보는 제1 정보(210)의 ROI(1000)에 포함된 거리 정보와 비교하였을 때 상대적으로 높은 신뢰도를 가질 수 있다. 이는, 발광부(10)의 광도를 높임에 따라 수광부(20)는 거리 측정을 위해 필요한 최소 임계 값 이상의 광을 수신할 수 있고, 광에 대한 노출 시간을 늘림에 따라 수광부(20)는 상대적으로 오랜 시간 광을 수신함으로써 거리 측정을 위해 필요한 최소 임계 값 이상의 광을 수신할 수 있기 때문이다 .Here, the third information 510 may include information on a distance to an object sensed by the sensor 110 that increases the luminous intensity of the light emitting unit 10 or increases the exposure time to light. In particular, the distance information included in the ROI 1000 of the third information 510 may have a relatively high reliability when compared with the distance information included in the ROI 1000 of the first information 210 . This is because as the luminous intensity of the light emitting unit 10 is increased, the light receiving unit 20 can receive light greater than or equal to the minimum threshold required for distance measurement, and as the exposure time to light is increased, the light receiving unit 20 is relatively This is because by receiving light for a long time, light above the minimum threshold required for distance measurement can be received.

예를 들어, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 다수 포함된 ROI가 존재하면, 프로세서(120)는 거리를 측정하는데 소요되는 시간이 증가하더라도, 주행 경로 식별의 정확도 향상 또는, 물체와의 충돌 발생 확률 감소 등을 위하여 광에 대한 노출 시간을 증가시킬 수 있다.For example, if there is an ROI including a large number of cells having a reliability value lower than the minimum threshold value for distance measurement, the processor 120 may improve accuracy of driving path identification or , it is possible to increase the exposure time to light in order to reduce the probability of collision with an object.

예를 들어, 발광부(10)가 광을 조사하는 시간이 증가되면, 발광부(10)가 광을 조사하는 시간 동안 활성화되는 수광부(20)에 구비된 In phase receptor의 활성화 시간, 발광부(10)가 광을 조사하지 않는 시간 동안 활성화되는 Out phase receptor의 활성화 시간도 증가될 수 있다. 이 경우, 화소에 구비된 Out phase receptor의 활성화 시간이 증가함에 따라 거리 측정을 위해 필요한 최소 임계 값 이상의 광량을 갖는 광이 수신될 수 있으며, MCU(30)는 해당 화소에 대응되는 임계 값 이상의 신뢰도 값을 가지는 거리 정보를 획득할 수 있다.For example, when the time for the light emitting unit 10 to irradiate light is increased, the activation time of the in-phase receptor provided in the light receiving unit 20 that is activated during the time the light emitting unit 10 is irradiated with light, the light emitting unit ( The activation time of the out-phase receptor, which is activated during the time when 10) is not irradiated with light, can also be increased. In this case, as the activation time of the out-phase receptor provided in the pixel increases, light having an amount of light greater than or equal to the minimum threshold required for distance measurement may be received, and the MCU 30 has a reliability greater than or equal to the threshold corresponding to the pixel. Distance information having a value may be obtained.

예를 들어, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 다수 포함된 ROI가 존재하면, 프로세서(120)는 거리를 측정하는데 소요되는 시간이 증가하더라도, 전자 장치(100)의 주행 경로 식별의 정확도 향상 또는, 물체와의 충돌 발생 확률 감소 등을 위하여 광에 대한 노출 시간을 증가시킬 수 있다.For example, if there is an ROI including a plurality of cells having a reliability value lower than the minimum threshold for distance measurement, the processor 120 moves the electronic device 100 even though the time required to measure the distance increases. The exposure time to light may be increased in order to improve the accuracy of path identification or to reduce the probability of collision with an object.

다른 예로, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 셀이 다수 포함된 ROI가 존재하면, 발광부(10)에 구비된 IR 광원의 하드웨어 스펙 상 다소 무리가 갈수는 있으나(예를 들어, 고장 우려가 있을 수 있으나), 신뢰도 높은 거리 정보 획득, 전자 장치(100)의 주행 경로 식별의 정확도 향상 또는, 물체와의 충돌 발생 확률 감소 등을 위하여 발광부(10)가 조사하는 광의 광도를 증가시킬 수 있다.As another example, if there is an ROI including a large number of cells having a reliability value lower than the minimum threshold for distance measurement, it may be somewhat unreasonable on the hardware specifications of the IR light source provided in the light emitting unit 10 (for example, , although there may be a risk of malfunction), to obtain reliable distance information, to improve the accuracy of identification of the driving path of the electronic device 100 , or to reduce the probability of collision with an object, the intensity of the light emitted by the light emitting unit 10 is adjusted. can increase

일 예로, 도 5의 파라미터가 변경된 센서(110)에 의해 출력된 제3 정보(510)를 참조하면, 파라미터 변경 전 센서(110)에 의해 출력된 제1 정보와 달리, ROI(1000)에 포함된 복수의 셀은 거리 정보를 포함함을 확인할 수 있다. For example, referring to the third information 510 output by the sensor 110 in which the parameter of FIG. 5 is changed, unlike the first information output by the sensor 110 before the parameter change, it is included in the ROI 1000 It can be confirmed that the plurality of cells included distance information.

프로세서(120)는 파라미터 설정이 변경된 센서(110)로부터 제3 정보(510)가 수신되면, 도 6b에 도시된 바와 같이, 제3 정보(510)의 ROI(1000)에 포함된 복수의 셀의 거리 정보 및 제1 정보(210)의 ROI(1000)에 포함된 복수의 셀의 거리 정보에 기초하여, 복수의 셀의 거리 정보를 포함하는 제4 정보(610)를 획득할 수 있다.When the third information 510 is received from the sensor 110 whose parameter setting is changed, the processor 120 determines the number of cells included in the ROI 1000 of the third information 510 as shown in FIG. 6B . Based on the distance information and distance information of a plurality of cells included in the ROI 1000 of the first information 210 , fourth information 610 including distance information of a plurality of cells may be acquired.

구체적으로, 프로세서(120)는 센서(110)로부터 제3 정보(510)가 수신되면, 제3 정보(510)에서, 제1 정보(210)에 기초하여 설정된 ROI에 포함된 복수의 셀을 판단할 수 있다. 그리고, 프로세서(120)는 제3 정보(510)의 ROI(1000)에 포함된 복수의 셀의 거리 정보에 기초하여, 제1 정보(210)의 ROI(1000)에 포함된 복수의 셀의 거리 정보를 변경할 수 있다. 이에 따라 본 개시의 전자 장치(100)는 도 6에 도시된 바와 같이, 제1 정보(210)의 ROI에 포함된 복수의 셀의 거리 정보가 제3 정보(510)의 ROI에 포함된 복수의 셀의 거리 정보에 기초하여 변경된 제4 정보(610)를 획득할 수 있다. 또는, 프로세서(120)는 제1 정보(210)로부터 획득한 복수의 셀에 대응되는 복수의 거리 정보 및 제3 정보(510)로부터 획득한 복수의 셀에 대응되는 복수의 거리 정보를 융합함으로써, 복수의 셀의 거리 정보를 포함하는 제4 정보(610)를 생성(또는, 획득)할 수도 있다. 이 경우, 프로세서(120)는 제1 정보(210)의 ROI(1000)에 제3 정보(510)의 ROI(1000)를 융합하여 복수의 셀의 거리 정보를 포함하는 제4 정보(610)를 생성할 수 있음은 물론, 제1 정보(210)의 전체 영역에 제3 정보(510)의 전체 영역을 융합하여 복수의 셀의 거리 정보를 포함하는 제4 정보(610)를 생성할 수도 있을 것이다.Specifically, when the third information 510 is received from the sensor 110 , the processor 120 determines, from the third information 510 , a plurality of cells included in the ROI set based on the first information 210 . can do. Then, the processor 120 determines the distances of the plurality of cells included in the ROI 1000 of the first information 210 based on the distance information of the plurality of cells included in the ROI 1000 of the third information 510 . You can change the information. Accordingly, in the electronic device 100 of the present disclosure, as shown in FIG. 6 , distance information of a plurality of cells included in the ROI of the first information 210 is a plurality of cells included in the ROI of the third information 510 . The changed fourth information 610 may be acquired based on the cell distance information. Alternatively, the processor 120 fuses a plurality of distance information corresponding to a plurality of cells obtained from the first information 210 and a plurality of distance information corresponding to a plurality of cells obtained from the third information 510, The fourth information 610 including distance information of a plurality of cells may be generated (or acquired). In this case, the processor 120 fuses the ROI 1000 of the third information 510 with the ROI 1000 of the first information 210 to generate the fourth information 610 including distance information of a plurality of cells. Of course, it is also possible to generate the fourth information 610 including distance information of a plurality of cells by fusing the entire area of the third information 510 with the entire area of the first information 210 . .

이후, 프로세서(120)는 제4 정보(610)에 포함된 거리 정보에 기초하여 전자 장치(100)의 주행, 정지, 주행 방향의 제어 등의 프로세스를 수행할 수 있다. 이와 같이, 본 개시의 전자 장치(100)는 제4 정보(610)에 기초하여 주행 등의 프로세스를 수행한다는 점에서, 종래 전자 장치가 블랙 컬러 등 짙은 계열의 컬러의 물체까지의 거리를 감지하지 못하여 발생하는 문제(가령, 블랙 컬러의 물체와의 충돌 등)를 방지할 수 있다.Thereafter, the processor 120 may perform a process such as driving, stopping, and controlling the driving direction of the electronic device 100 based on the distance information included in the fourth information 610 . As described above, in that the electronic device 100 of the present disclosure performs a process such as driving based on the fourth information 610, the conventional electronic device does not detect the distance to an object of a dark color such as black color. It is possible to prevent problems (eg, collision with a black-colored object, etc.)

한편, 실시 예에 따라 본 개시는 복수의 셀의 신뢰도 값 및 복수의 셀의 가중치에 기초하여 센서(110)의 파라미터 설정을 변경할 수도 있다.Meanwhile, according to an embodiment, the present disclosure may change parameter settings of the sensor 110 based on the reliability values of the plurality of cells and the weights of the plurality of cells.

구체적으로, 프로세서(120)는 ROI(1000)에 포함된 복수의 셀 중 상대적으로 하단에 위치하는 셀이 갖는 신뢰도 값에 제1 가중치를 적용하고, 상대적으로 상단에 위치하는 셀이 갖는 신뢰도 값에 제2 가중치를 적용할 수 있다. 여기에서, 제1 가중치는 제2 가중치보다 높을 수 있다. 이는, 복수의 셀 중 상대적으로 하단에 위치하는 셀은 상단에 위치하는 셀보다 전자 장치(100)에 가까운 물체를 감지하기 위한 셀으로써, 더 높은 가중치를 부여하여 물체와의 거리를 정밀하게 측정할 필요성이 있기 때문이다.Specifically, the processor 120 applies the first weight to the reliability value of the cell located at the lower end among the plurality of cells included in the ROI 1000, and applies the first weight to the reliability value of the cell located at the upper end. A second weight may be applied. Here, the first weight may be higher than the second weight. In this case, a cell located at the lower end of the plurality of cells is a cell for detecting an object closer to the electronic device 100 than a cell located at the upper end, and a higher weight is given to accurately measure the distance to the object. because there is a need.

일 예로, 도 7a를 참조하면, 프로세서(120)는 ROI(1000)에 포함된 복수의 셀 중 제4 로우(4)에 위치하는 셀이 갖는 신뢰도 값에는 제1 가중치를 적용하고, 제5 로우(5)에 위치하는 셀이 갖는 신뢰도 값에는 제2 가중치를 적용하며, 제6 로우(6)에 위치하는 셀이 갖는 신뢰도 값에는 제3 가중치를 적용할 수 있다. 이와 유사하게, 프로세서(120)는 ROI(1000)에 포함된 복수의 셀 중 제7 로우(7)에 위치하는 셀이 갖는 신뢰도 값에는 제4 가중치를 적용하고, 제8 로우(8)에 위치하는 셀이 갖는 신뢰도 값에는 제5 가중치를 적용하며, 제9 로우(9)에 위치하는 셀이 갖는 신뢰도 값에는 제6 가중치를 적용할 수 있다. 여기에서, 가중치의 적용이란 셀의 신뢰도 값에 가중치를 곱하는 연산이 될 수 있다. 즉, 가중치가 w이고 신뢰도 값이 k이면, 가중치가 적용된 신뢰도 값은 w * k의 값이 될 수 있다. For example, referring to FIG. 7A , the processor 120 applies a first weight to a reliability value of a cell located in the fourth row 4 among a plurality of cells included in the ROI 1000 , and applies a first weight to the fifth row. The second weight may be applied to the reliability value of the cell located in (5), and the third weight may be applied to the reliability value of the cell located in the sixth row (6). Similarly, the processor 120 applies a fourth weight to the reliability value of the cell positioned in the seventh row 7 among the plurality of cells included in the ROI 1000 and is positioned in the eighth row 8 . A fifth weight may be applied to the reliability value of the cell, and a sixth weight may be applied to the reliability value of the cell located in the ninth row 9 . Here, the application of the weight may be an operation of multiplying the reliability value of the cell by the weight. That is, if the weight is w and the reliability value is k, the weighted reliability value may be a value of w * k.

그리고, 프로세서(120)는 ROI(1000)에 포함된 각 셀에 가중치를 적용한 값들을 합산하고, 그 합산 값에 ROI(1000)에 포함된 복수의 셀의 개수 n을 나눈 연산 값을 획득할 수 있다. 일 예로, ROI에 가중치가 w1이고 신뢰도 값이 k1인 화소, 가중치가 w1이고 신뢰도 값이 k2인 화소, 가중치가 w2이고 신뢰도 값이 k3인 화소 및 가중치가 w2이고 신뢰도 값이 k4인 화소 4개가 포함된 경우, 프로세서(120)는 (w1*k1 + w1*k2 + w2*k3 + w2*k4)/4를 연산할 수 있다.In addition, the processor 120 sums up values to which a weight is applied to each cell included in the ROI 1000 , and divides the summed value by the number n of a plurality of cells included in the ROI 1000 to obtain a calculated value. there is. As an example, in the ROI, four pixels with weight w1 and reliability value k1, pixels with weight w1 and reliability value k2, pixels with weight w2 and reliability value k3, and pixels with weight w2 and reliability value k4 If included, the processor 120 may calculate (w1*k1 + w1*k2 + w2*k3 + w2*k4)/4.

그리고, 프로세서(120)는 상술한 연산을 통해 획득한 연산 값에 기초하여 센서(110)의 파라미터 설정을 변경할 수 있다. 일 예로, 프로세서(120)는 제1 연산 값이 획득되면, 발광부(10)의 광도를 x1배 증가시키기거나 광에 대한 노출 시간을 y1배 증가시키기 위해 센서(110)의 파라미터 설정을 변경하고, 제2 연산 값이 획득되면, 발광부(10)의 광도를 x2배 증가시키기거나 광에 대한 노출 시간을 y2배 증가시키기 위해 센서(110)의 파라미터 설정을 변경할 수 있다. 이를 위해, 전자 장치(100)의 메모리(미도시)에는 복수의 연산 값에 대응되는 복수의 파라미터 세팅 정보가 저장되어 있을 수 있다. 일 예로, 도 7b에 도시된 바와 같이, 메모리(미도시)에는 상술한 연산을 통해 획득한 연산 값이 0 이상이고 제1 값 미만이면 센서(110)의 파라미터 세팅 값을 유지하고, 연산 값이 제1 값 이상이고 제2 값 미만이면 발광부(10)의 광도를 x1배 증가, 광 노출 시간을 y1배 증가, 또는 발광부(10)의 광도를 x11배 증가시키고 광 노출 시간 y11배 증가시키기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다. 또한, 메모리(미도시)에는 연산 값이 제2 값 이상이고 제3 값 미만이면, 발광부(10)의 광도를 x2배 증가, 광 노출 시간을 y2배 증가, 또는 발광부(10)의 광도를 x22배 증가시키고 광 노출 시간을 y22배 증가시키기 위한 파라미터 세팅 정보와 연산 값이 제3 값 이상이면, 발광부(10)의 광도를 x3배 증가, 광 노출 시간을 y3배 증가, 또는 발광부(10)의 광도를 x33배 증가시키고 광 노출 시간을 y33배 증가시키기 위한 파라미터 세팅 정보가 저장되어 있을 수 있다.In addition, the processor 120 may change the parameter setting of the sensor 110 based on the calculated value obtained through the above-described operation. For example, when the first calculation value is obtained, the processor 120 changes the parameter setting of the sensor 110 to increase the luminous intensity of the light emitting unit 10 x1 times or increase the exposure time to light by y1 times, , when the second calculated value is obtained, the parameter setting of the sensor 110 may be changed to increase the luminous intensity of the light emitting unit 10 x2 times or increase the exposure time to light by y2 times. To this end, a plurality of parameter setting information corresponding to a plurality of calculation values may be stored in a memory (not shown) of the electronic device 100 . For example, as shown in FIG. 7B , in the memory (not shown), if the calculated value obtained through the above-described operation is greater than or equal to 0 and less than the first value, the parameter setting value of the sensor 110 is maintained, and the calculated value is If it is equal to or greater than the first value and less than the second value, the luminous intensity of the light emitting unit 10 is increased by x1, the light exposure time is increased by y1, or the luminous intensity of the light emitting unit 10 is increased x11 times and the light exposure time is increased by y11 times. For parameter setting information may be stored. In addition, in the memory (not shown), if the calculated value is greater than or equal to the second value and less than the third value, the luminous intensity of the light emitting unit 10 is increased by x2, the light exposure time is increased by y2, or the luminous intensity of the light emitting unit 10 is increased by x2. If the parameter setting information and calculation value for increasing x22 times and increasing the light exposure time by y22 times is equal to or greater than the third value, the luminous intensity of the light emitting unit 10 is increased by x3 times, the light exposure time is increased by y3 times, or the light emitting unit Parameter setting information for increasing the light intensity of (10) x33 times and increasing the light exposure time by y33 times may be stored.

한편, 이상에서는 거리 정보를 포함하지 않는 복수의 셀에 기초하여 ROI를 설정하는 것으로 설명하였으나, 실시 예에 따라 ROI는 기설정되어 있을 수 있다.Meanwhile, although it has been described above that the ROI is set based on a plurality of cells that do not include distance information, the ROI may be preset according to an embodiment.

일 예로, 도 8a를 참조하면, ROI(2000)는 복수의 셀 중 센터 하단 영역의 복수의 셀을 포함하는 영역으로 기설정되어 있을 수 있다. For example, referring to FIG. 8A , the ROI 2000 may be preset as an area including a plurality of cells in the lower center area among a plurality of cells.

이 경우, 프로세서(120)는 복수의 셀 중 기설정된 ROI(2000)에 포함된 복수의 셀을 식별하고, 제2 정보에 기초하여 ROI(2000)에 포함된 복수의 셀의 신뢰도를 판단할 수 있다. 그리고, 프로세서(120)는 ROI(2000)를 구성하는 복수의 셀의 신뢰도 분포(또는, 히스토그램)를 판단할 수 있다. 구체적으로, 프로세서(120)는 ROI(2000)에 포함된 복수의 셀 각각의 신뢰도를 판단하고, 신뢰도의 범위 별로, 해당 신뢰도 범위에 속하는 셀의 개수를 판단할 수 있다. 그리고, 프로세서(120)는 ROI(2000)를 구성하는 복수의 셀의 신뢰도 분포 및 신뢰도-파라미터 세팅 정보에 기초하여, 센서(110)의 파라미터 설정을 변경할 수 있다. In this case, the processor 120 may identify a plurality of cells included in the preset ROI 2000 among the plurality of cells, and determine the reliability of the plurality of cells included in the ROI 2000 based on the second information. there is. In addition, the processor 120 may determine the reliability distribution (or histogram) of a plurality of cells constituting the ROI 2000 . Specifically, the processor 120 may determine the reliability of each of the plurality of cells included in the ROI 2000 , and may determine the number of cells belonging to the corresponding reliability range for each reliability range. In addition, the processor 120 may change the parameter setting of the sensor 110 based on the reliability distribution and reliability of the plurality of cells constituting the ROI 2000 -parameter setting information.

한편, 프로세서(120)는 수광부(20)를 구성하는 전체 픽셀에 대응되는 전체 셀의 신뢰도에 기초하여 센서(110)의 파라미터 설정을 변경할 수도 있다. 이 경우, ROI는 도 8b에 도시된 바와 같이, 제2 정보(220)의 모든 셀을 포함하는 영역(3)이 될 수 있을 것이다.Meanwhile, the processor 120 may change the parameter setting of the sensor 110 based on the reliability of all cells corresponding to all pixels constituting the light receiving unit 20 . In this case, the ROI may be a region 3 including all cells of the second information 220 , as shown in FIG. 8B .

구체적으로, 프로세서(120)는 제2 정보에 기초하여 ROI(3)에 포함된 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수를 판단할 수 있다. 여기에서, 기설정된 임계 값은 거리 측정을 위해 필요한 최소 신뢰도 값으로써 일 예로 50이 될 수 있으나 반드시 이에 한정되는 것은 아니다. 그리고, 프로세서(120)는 ROI(3)에 포함된 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수가 기설정된 개수 이상(가령, 50개)이면 센서(110)의 파라미터 설정을 변경할 수 있다. Specifically, the processor 120 may determine the number of cells having a reliability value equal to or less than a preset threshold value among a plurality of cells included in the ROI 3 based on the second information. Here, the preset threshold value may be, for example, 50 as a minimum reliability value required for distance measurement, but is not necessarily limited thereto. Then, the processor 120 sets the parameters of the sensor 110 when the number of cells having a reliability value less than or equal to a preset threshold among a plurality of cells included in the ROI 3 is greater than or equal to a preset number (eg, 50). can be changed

한편, 이상에서는 0의 출력 값을 갖는 적어도 하나의 셀을 포함하는 ROI의 거리 정보를 파라미터 설정이 변경된 센서(110)에 의해 획득된 거리 정보에 기초하여 변경하는 실시 예를 설명하였다. 다만, 이는 일 실시 예로써, 본 개시의 전자 장치(100)는 0이 아닌 값을 출력하나, 신뢰도 값이 임계 값 이하인 적어도 하나의 셀을 포함하는 ROI의 거리 정보도 파라미터 설정이 변경된 센서(110)에 의해 획득된 거리 정보에 기초하여 변경할 수 있다.Meanwhile, in the above, an embodiment in which distance information of an ROI including at least one cell having an output value of 0 is changed based on distance information obtained by the sensor 110 whose parameter setting has been changed has been described. However, this is an embodiment, and although the electronic device 100 of the present disclosure outputs a non-zero value, the sensor 110 whose parameter setting is changed also for distance information of an ROI including at least one cell having a reliability value equal to or less than a threshold value. ) can be changed based on the distance information obtained by

일 예로, 센서(110)에 의해, 도 9a와 같은 복수의 셀에 대응되는 거리 정보를 포함하는 제1 정보(910-1) 및 도 9b와 같은 복수의 셀에 대응되는 신뢰도 정보를 포함하는 제2 정보(910-2)가 획득된 경우를 예로 들어 설명한다.As an example, by the sensor 110, the first information 910-1 including distance information corresponding to the plurality of cells as shown in FIG. 9A and the second information including reliability information corresponding to the plurality of cells as shown in FIG. 9B A case in which 2 information 910-2 is obtained will be described as an example.

도 9a 및 도 9b를 참조하면, 프로세서(120)는 제1 정보(910-1)에 포함된 복수의 셀에 대응되는 거리 정보 및 제2 정보(910-2)에 포함된 복수의 셀에 대응되는 신뢰도 정보에 기초하여, 복수의 셀 중에서, 거리 정보를 가지나(즉, 0이 아닌 값을 출력하나) 기설정된 임계 값(가령, 40) 이하의 신뢰도 값을 갖는 적어도 하나의 셀을 식별할 수 있다. 그리고, 프로세서(120)는 식별된 적어도 하나의 셀을 포함하는 ROI(2000)를 제1 정보(910-1) 및 제2 정보(910-2)에 설정할 수 있다. 여기에서, ROI(2000)는 일 예로 도 9a 및 도 9b에 도시한 바와 같이, 식별된 적어도 하나의 셀을 포함하는 최소 크기의 사각 형상의 영역이 될 수 있으나, 반드시 이에 한정되는 것은 아니고 ROI는 다각 형상 등의 다양한 형상이 될 수도 있다.9A and 9B , the processor 120 corresponds to distance information corresponding to a plurality of cells included in the first information 910-1 and a plurality of cells included in the second information 910-2. Based on the reliability information, at least one cell having distance information (ie, outputting a non-zero value) but having a reliability value of less than or equal to a preset threshold value (eg, 40) can be identified from among the plurality of cells there is. In addition, the processor 120 may set the ROI 2000 including the identified at least one cell to the first information 910 - 1 and the second information 910 - 2 . Here, the ROI 2000 may be, for example, a rectangular region with a minimum size including at least one identified cell as shown in FIGS. 9A and 9B , but is not necessarily limited thereto. It may be various shapes, such as a polygonal shape.

그리고, 프로세서(120)는 전술한 바와 같이, 0의 출력 값을 갖는 적어도 하나의 셀이 제1 정보(910-1)에 포함됨에 따라 센서(110)의 파라미터 설정을 변경하고, 파라미터 설정이 변경된 센서(110)로부터 거리 정보를 포함하는 제3 정보(920-1) 및 신뢰도 정보를 포함하는 제4 정보(920-2)를 추가적으로 획득할 수 있다.Then, as described above, the processor 120 changes the parameter setting of the sensor 110 as at least one cell having an output value of 0 is included in the first information 910-1, and the parameter setting is changed. Third information 920 - 1 including distance information and fourth information 920 - 2 including reliability information may be additionally obtained from the sensor 110 .

그리고, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 복수의 셀의 출력 값을 제3 정보(920-1)의 ROI(2000)에 포함된 복수의 셀의 출력 값에 기초하여 변경(또는, 보정, 업데이트)할 수 있다.Then, the processor 120 calculates the output values of the plurality of cells included in the ROI 2000 of the first information 910 - 1 of the plurality of cells included in the ROI 2000 of the third information 920 - 1 . It can be changed (or corrected, updated) based on the output value.

구체적으로, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 셀의 출력 값에 제1 가중치를 적용하고, 제3 정보(920-1)의 ROI(2000)에 포함된 셀의 출력 값에 제2 가중치를 적용할 수 있다. 여기에서, 제1 가중치는 제2 정보(910-2)의 ROI(2000)에 포함된 셀의 신뢰도 값을, 제2 정보(910-2)에 포함된 셀의 신뢰도 값 및 제4 정보(920-2)에 포함된 셀의 신뢰도 값의 합산 값으로 나눈 값이 될 수 있고, 제2 가중치는 제4 정보(920-2)의 ROI(2000)에 포함된 셀의 신뢰도 값을, 제2 정보(910-2)에 포함된 셀의 신뢰도 값 및 제4 정보(920-2)에 포함된 셀의 신뢰도 값의 합산 값으로 나눈 값이 될 수 있다. 즉, 동일 셀의 신뢰도 값이 제2 정보(910-2)에서는 C1이고, 제4 정보(920-2)에서는 C2인 경우, 제1 가중치는 C1/(C1+C2)가 될 수 있고, 제2 가중치는 C2/(C1+C2)가 될 수 있다. Specifically, the processor 120 applies the first weight to the output value of the cell included in the ROI 2000 of the first information 910 - 1 , and applies the first weight to the ROI 2000 of the third information 920 - 1 . A second weight may be applied to the output value of the included cell. Here, the first weight is the reliability value of the cell included in the ROI 2000 of the second information 910-2, the reliability value of the cell included in the second information 910-2, and the fourth information 920 -2) may be a value divided by the sum of the reliability values of the cells included in -2), and the second weight is the reliability value of the cell included in the ROI 2000 of the fourth information 920-2, the second information It may be a value divided by the sum of the reliability value of the cell included in 910 - 2 and the reliability value of the cell included in the fourth information 920 - 2 . That is, when the reliability value of the same cell is C1 in the second information 910-2 and C2 in the fourth information 920-2, the first weight may be C1/(C1+C2), 2 weight may be C2/(C1+C2).

그리고, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 셀의 출력 값을, 제1 정보(910-1)의 ROI(2000)에 포함된 셀의 출력 값에 제1 가중치를 적용한 값과 제3 정보(920-1)의 ROI(2000)에 포함된 셀의 출력 값에 제2 가중치를 적용한 값의 합산 값으로 변경할 수 있다. Then, the processor 120 sets the output value of the cell included in the ROI 2000 of the first information 910-1 to the output value of the cell included in the ROI 2000 of the first information 910-1. The value to which the first weight is applied and the value to which the second weight is applied to the output value of the cell included in the ROI 2000 of the third information 920 - 1 may be changed to a sum value.

일 예로, 제2 정보(910-2)의 ROI(2000)에 포함된 제1 셀의 신뢰도 값이 25이고, 제4 정보(920-2)의 ROI(2000)에 포함된 제1 셀의 신뢰도 값이 55이면, 제1 가중치는 25/80이 될 수 있고, 제2 가중치는 55/80이 될 수 있다. 그리고, 제1 정보(910-1)의 ROI(2000)에 포함된 제1 셀의 출력 값이 110이고, 제3 정보(920-1)의 ROI(2000)에 포함된 제1 셀의 출력 값이 150이면, 프로세서(120)는 제1 셀의 출력 값 110을, 110*(25/80)+150*(55/80)의 연산을 통해 획득한 127(설명의 편의를 위해, 소수점 이하는 반올림한다.)으로 변경할 수 있다. 이와 유사하게, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 제2 내지 제n 셀의 출력 값을 제2 정보(910-2)의 ROI(2000)에 포함된 복수의 셀의 복수의 신뢰도 값 및 제4 정보(920-2)의 ROI(2000)에 포함된 복수의 셀의 복수의 신뢰도 값에 기초하여 변경할 수 있다. For example, the reliability value of the first cell included in the ROI 2000 of the second information 910-2 is 25, and the reliability of the first cell included in the ROI 2000 of the fourth information 920-2 is 25. If the value is 55, the first weight may be 25/80, and the second weight may be 55/80. And, the output value of the first cell included in the ROI 2000 of the first information 910-1 is 110, and the output value of the first cell included in the ROI 2000 of the third information 920-1 is If is 150, the processor 120 sets the output value 110 of the first cell to 127 (for convenience of explanation, the decimal point is round off). Similarly, the processor 120 includes output values of the second to n-th cells included in the ROI 2000 of the first information 910-1 in the ROI 2000 of the second information 910-2. It may be changed based on the plurality of reliability values of the plurality of cells and the plurality of reliability values of the plurality of cells included in the ROI 2000 of the fourth information 920 - 2 .

이에 따라 본 개시의 전자 장치(100)는 도 9e에 도시된 바와 같이, 제1 정보(910-1)의 ROI(2000)에 포함된 셀의 거리 정보도 파라미터 설정이 변경된 센서(110)에 의해 획득된 거리 정보에 기초하여 변경된 제5 정보(930)를 획득할 수 있다. 이를 통해, 본 개시는 전체 셀에 거쳐 높은 퀄리티를 갖는 거리 정보를 제공할 수 있다.Accordingly, in the electronic device 100 of the present disclosure, as shown in FIG. 9E , the distance information of the cell included in the ROI 2000 of the first information 910 - 1 is also obtained by the sensor 110 whose parameter setting is changed. The changed fifth information 930 may be acquired based on the acquired distance information. Through this, the present disclosure can provide distance information having high quality across all cells.

한편, 실시 예에 따라 제1 가중치는 제1 정보(910-1)의 ROI(2000)에 포함된 복수의 출력 값의 표준 편차에 기초하여 결정되고, 제2 가중치는 제3 정보(920-1)의 ROI(2000)에 포함된 복수의 출력 값의 표준 편차에 기초하여 결정될 수도 있다. 구체적으로, 제1 정보(910-1)의 ROI(2000)에 포함된 N개의 셀의 출력 평균 값이 m1이고, 제1 정보(910-1)의 ROI(2000)에 포함된 복수의 셀의 출력 값이 x1 값 내지 xn 값이면, 제1 정보(910-1)의 ROI(2000)에 포함된 복수의 출력 값의 표준 편차 a1은, root((x1-m1)^2+(x2-m1)^2+...+(xn-m1)^2)/N) 연산을 통해 획득될 수 있다. 그리고, 제3 정보(920-1)의 ROI(2000)에 포함된 N개의 셀의 출력 평균 값이 m2이고, 제3 정보(920-1)의 ROI(2000)에 포함된 복수의 셀의 출력 값이 y1 값 내지 yn 값이면, 제3 정보(920-1)의 ROI(2000)에 포함된 복수의 출력 값의 표준 편차 a2는, root((y1-m2)^2+(y2-m2)^2+...+(yn-m2)^2)/N) 연산에 의해 획득될 수 있다. 그리고, 프로세서(120)는 표준 편차가 작을수록 더 높은 가중치를 적용할 수 있다. 구체적으로, 전자 장치(100)는 표준 편차가 작을수록 더 높은 가중치가 매칭된, 복수의 표준 편차에 대응되는 복수의 가중치에 대한 정보(이하, 표준편차-가중치 정보라 한다.)를 저장할 수 있으며, 프로세서(120)는 기저장된 복수의 가중치 중 상술한 연산을 통해 획득한 표준 편차에 대응되는 가중치를 판단할 수 있다. 일 예로, 프로세서(120)는 기저장된 표준편차-가중치 정보에 기초하여 표준 편차 a1에 대응되는 제1 가중치와, 표준 편차 a2에 대응되는 제2 가중치를 판단할 수 있고, 여기에서 표준 편차 a1이 표준 편차 a2보다 크다면 제1 가중치는 제2 가중치보다 작을 수 있다. Meanwhile, according to an embodiment, the first weight is determined based on the standard deviation of a plurality of output values included in the ROI 2000 of the first information 910 - 1 , and the second weight is the third information 920 - 1 ) may be determined based on the standard deviation of a plurality of output values included in the ROI 2000 . Specifically, the output average value of N cells included in the ROI 2000 of the first information 910-1 is m1, and the output average value of the plurality of cells included in the ROI 2000 of the first information 910-1 is m1. If the output value is an x1 value to an xn value, the standard deviation a1 of the plurality of output values included in the ROI 2000 of the first information 910 - 1 is root((x1-m1)^2+(x2-m1) )^2+...+(xn-m1)^2)/N). In addition, the output average value of the N cells included in the ROI 2000 of the third information 920-1 is m2, and the output of a plurality of cells included in the ROI 2000 of the third information 920-1 is m2. If the value is the y1 value to the yn value, the standard deviation a2 of the plurality of output values included in the ROI 2000 of the third information 920-1 is root((y1-m2)^2+(y2-m2) It can be obtained by the operation ^2+...+(yn-m2)^2)/N). In addition, the processor 120 may apply a higher weight as the standard deviation is smaller. Specifically, the electronic device 100 may store information on a plurality of weights corresponding to a plurality of standard deviations to which a higher weight is matched as the standard deviation is smaller (hereinafter referred to as standard deviation-weight information). , the processor 120 may determine a weight corresponding to the standard deviation obtained through the above-described operation from among a plurality of pre-stored weights. For example, the processor 120 may determine a first weight corresponding to the standard deviation a1 and a second weight corresponding to the standard deviation a2 based on the pre-stored standard deviation-weight information, wherein the standard deviation a1 is If it is greater than the standard deviation a2, the first weight may be less than the second weight.

그리고, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 제1 셀의 출력 값을, 제1 정보(910-1)의 ROI(2000)에 포함된 제1 셀에 제1 가중치를 적용한 값과 제3 정보(920-1)의 ROI(2000)에 포함된 제1 셀의 출력 값에 제2 가중치를 적용한 값의 합산 값으로 변경할 수 있다. 일 예로, 제1 정보(910-1)의 ROI(2000)에 포함된 제1 셀의 출력 값이 110, 제3 정보(920-1)의 ROI(2000)에 포함된 제1 셀의 출력 값이 150, 제1 가중치가 0.4, 제2 가중치가 0.6이면, 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 제1 셀의 출력 값 110을, 110*0.4+150*0.6 연산을 통해 획득한 134로 변경할 수 있다. 또한, 이와 유사하게 프로세서(120)는 제1 정보(910-1)의 ROI(2000)에 포함된 제2 내지 제n 셀의 출력 값을 제1 및 제2 가중치에 기초하여 변경할 수 있다.Then, the processor 120 determines the output value of the first cell included in the ROI 2000 of the first information 910-1, and the first cell included in the ROI 2000 of the first information 910-1. may be changed to a sum value of a value to which a first weight is applied and a value to which a second weight is applied to an output value of the first cell included in the ROI 2000 of the third information 920 - 1 . For example, the output value of the first cell included in the ROI 2000 of the first information 910-1 is 110, and the output value of the first cell included in the ROI 2000 of the third information 920-1 When this 150, the first weight is 0.4, and the second weight is 0.6, the processor 120 sets the output value 110 of the first cell included in the ROI 2000 of the first information 910-1, 110*0.4+ It can be changed to 134 obtained through 150*0.6 operation. Also, similarly, the processor 120 may change the output values of the second to n-th cells included in the ROI 2000 of the first information 910 - 1 based on the first and second weights.

이와 같이, 0이 아닌 값을 출력하나, 신뢰도 값이 임계 값 이하인 적어도 하나의 셀을 포함하는 ROI의 거리 정보도 파라미터 설정이 변경된 센서(110)에 의해 획득된 거리 정보에 기초하여 변경함으로써, 본 개시는 전체 셀에 거쳐 높은 퀄리티를 갖는 거리 정보를 획득할 수 있다.In this way, the distance information of the ROI including at least one cell that outputs a non-zero value but whose reliability value is less than or equal to the threshold value is also changed based on the distance information obtained by the sensor 110 whose parameter setting is changed. Initiation can acquire distance information having high quality across all cells.

도 10a는 본 개시의 일 실시 예에 따른 전자 장치를 설명하기 위한 상세 블록도이다.10A is a detailed block diagram illustrating an electronic device according to an embodiment of the present disclosure.

도 10a를 참조하면, 본 개시의 일 실시 예에 따른 전자 장치(100)는 센서(110), 메모리(130), 주행부(140), 조작부(150), 디스플레이(160), 통신부(170) 및 프로세서(120)를 포함할 수 있다.Referring to FIG. 10A , the electronic device 100 according to an embodiment of the present disclosure includes a sensor 110 , a memory 130 , a driving unit 140 , a manipulation unit 150 , a display 160 , and a communication unit 170 . and a processor 120 .

한편, 이는 일 실시 예로써, 전자 장치(100)는 상술한 복수의 구성 중 일부의 구성을 제외하고 구현될 수도 있고, 상술한 복수의 구성 외 추가적인 구성을 더 포함하여 구현될 수도 있다. 이하 상술한 설명 부분과 중복되는 부분은 생략하거나 축약하여 설명한다.Meanwhile, this is an embodiment, and the electronic device 100 may be implemented except for some of the above-described plurality of components, or may be implemented with additional components other than the above-described plurality of components. Hereinafter, parts overlapping with the above-described parts will be omitted or abbreviated.

메모리(130)는 전자 장치(100)의 구성요소의 전반적인 동작을 제어하기 위한 운영체제(Operating System: OS) 및 전자 장치(100)의 구성요소와 관련된 명령 또는 데이터를 저장할 수 있다.The memory 130 may store an operating system (OS) for controlling overall operations of the components of the electronic device 100 and commands or data related to the components of the electronic device 100 .

이에 따라, 프로세서(120)는 메모리(130)에 저장된 다양한 명령 또는 데이터 등을 이용하여 전자 장치(100)의 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 다른 구성요소들 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.Accordingly, the processor 120 may control a plurality of hardware or software components of the electronic device 100 using various commands or data stored in the memory 130 , and receive from at least one of the other components. The command or data may be loaded and processed into the volatile memory, and various data may be stored in the non-volatile memory.

특히, 메모리(130)에는 신뢰도-파라미터 세팅 정보가 저장될 수 있다. 여기에서, 신뢰도-파라미터 세팅 정보는 복수의 신뢰도 분포에 대응되는 복수의 파라미터 값에 대한 정보가 포함될 수 있다. 일 예로, 신뢰도-파라미터 세팅 정보에는, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 화소가 ROI에 제1 복수 개 이상 포함되는 경우, 발광부(10)의 광도를 a1배 증가시키기 위한 파라미터 값 및/또는 광에 대한 노출 시간을 b1배 증가시키기 위한 파라미터 값에 대한 정보가 저장되어 있을 수 있다. 또는, 거리 측정을 위한 최소 임계 값보다 낮은 신뢰도 값을 갖는 화소가 ROI에 제1 복수 개보다 적은 제2 복수개 이상 포함되는 경우, 신뢰도-파라미터 세팅 정보에는 발광부(20)의 광도를 a2 배 증가시키기 위한 파라미터 값 및/또는 광에 대한 노출 시간을 b2배 증가시키기 위한 파라미터 값에 대한 정보가 저장되어 있을 수 있다. In particular, the memory 130 may store reliability-parameter setting information. Here, the reliability-parameter setting information may include information on a plurality of parameter values corresponding to a plurality of reliability distributions. For example, in the reliability-parameter setting information, when a first plurality of pixels having a reliability value lower than the minimum threshold value for distance measurement are included in the ROI, a parameter for increasing the luminance of the light emitting unit 10 by a1 times Information on values and/or parameter values for increasing the exposure time to light by b1 may be stored. Alternatively, when a second plurality or more pixels having a reliability value lower than the minimum threshold value for distance measurement are included in the ROI, the second plurality of pixels less than the first plurality are included in the reliability-parameter setting information by increasing the luminance of the light emitting unit 20 by a2 times Information about a parameter value for increasing the exposure time to light and/or a parameter value for increasing the exposure time to light b2 times may be stored.

또한, 메모리(130)에는 복수의 연산 값에 대응되는 복수의 파라미터 값에 대한 정보가 저장되어 있을 수 있다. 여기에서, 연산 값은 복수의 화소의 신뢰도 값 및 복수의 화소의 가중치에 기초하여 연산되는 값이 될 수 있다.Also, information about a plurality of parameter values corresponding to a plurality of operation values may be stored in the memory 130 . Here, the calculated value may be a value calculated based on the reliability values of the plurality of pixels and the weights of the plurality of pixels.

주행부(140)는 전자 장치(100)를 이동시킬 수 있다. 여기에서, 주행부(140)는 구동부(미도시) 및 구동부(미도시)에 연결된 모터(미도시)를 포함하는 구성으로써, 주행부(140)의 구동부(미도시)는 바퀴 또는 로봇의 다리 등으로 구현될 수 있고, 주행부(140)의 모터(미도시)는 프로세서(120)의 제어에 따라 구동부(미도시)를 제어함으로써, 전자 장치(1000)를 이동시킬 수 있다.The driving unit 140 may move the electronic device 100 . Here, the driving unit 140 includes a driving unit (not shown) and a motor (not shown) connected to the driving unit (not shown), and the driving unit (not shown) of the driving unit 140 is a wheel or a leg of a robot. etc., the motor (not shown) of the driving unit 140 may control the driving unit (not shown) according to the control of the processor 120 to move the electronic device 1000 .

일 예로, 구동부(미도시)가 좌측 바퀴 및 우측 바퀴로 구현되는 경우, 프로세서(120)는 전방의 물체와 충돌하지 않는 방향으로 전자 장치(100)를 이동시키기 위해, 좌측 바퀴를 회전시키는 모터에는 제1 회전력을 발생시키기 위한 제어 신호를 전송하고, 우측 바퀴를 회전시키는 모터에는 제1 회전력과는 상이한 제2 회전력을 발생시키기 위한 제어 신호를 전송함으로써, 전자 장치(100)의 주행 방향을 변경할 수 있다.For example, when the driving unit (not shown) is implemented as a left wheel and a right wheel, the processor 120 includes a motor for rotating the left wheel in order to move the electronic device 100 in a direction that does not collide with an object in front. By transmitting a control signal for generating a first rotational force and transmitting a control signal for generating a second rotational force different from the first rotational force to a motor that rotates the right wheel, the driving direction of the electronic device 100 can be changed. there is.

조작부(150)는 제1 모터(미도시), 제1 모터(미도시)에 연결되는 로봇 팔(미도시), 제2 모터(미도시) 및 제2 모터(미도시)에 연결되는 로봇 핸드(미도시)를 포함할 수 있다. 여기에서, 로봇 팔(미도시) 및 로봇 핸드(미도시)는 커넥터를 통해 연결되고, 로봇 팔(미도시)은 로봇 팔(미도시)에 연결된 제1 모터(미도시)의 구동에 따라 3차원 이동 또는 회전 등을 수행할 수 있다. 그리고, 로봇 핸드(미도시)는 로봇 핸드(미도시)에 연결된 제2 모터(미도시)의 구동에 따라 3차원 이동, 회전 또는 제품 그립(grip) 등을 수행할 수 있다. The manipulation unit 150 includes a first motor (not shown), a robot arm (not shown) connected to the first motor (not shown), a second motor (not shown), and a robot hand connected to the second motor (not shown). (not shown) may be included. Here, the robot arm (not shown) and the robot hand (not shown) are connected through a connector, and the robot arm (not shown) is 3 according to the driving of a first motor (not shown) connected to the robot arm (not shown). Dimensional movement or rotation can be performed. In addition, the robot hand (not shown) may perform three-dimensional movement, rotation, or product grip according to the driving of a second motor (not shown) connected to the robot hand (not shown).

디스플레이(160)는 다양한 화면을 표시할 수 있다. 예를 들어, 디스플레이(160)는 전자 장치(100) 주변의 물체 또는 물체와의 거리에 대한 정보를 표시할 수 있다. 또한, 디스플레이(160)는 제1 정보에 기초하여 뎁스 맵 또는 제2 정보에 기초하여 컨피던스 맵을 표시할 수 있다.The display 160 may display various screens. For example, the display 160 may display information about an object around the electronic device 100 or a distance to the object. Also, the display 160 may display a depth map based on the first information or a confidence map based on the second information.

디스플레이(160)는 LCD(Liquid Crystal Display Panel) 형태의 디스플레이로 구현될 수 있다. 다만 실시 예에 따라, 디스플레이(160)는 LED(light emitting diode), OLED(Organic Light Emitting Diodes), LCoS(Liquid Crystal on Silicon), DLP(Digital Light Processing) 등과 같은 다양한 형태의 디스플레이로 구현될 수 있다. 또한, 디스플레이(160) 내에는 a-si TFT, LTPS(low temperature poly silicon) TFT, OTFT(organic TFT) 등과 같은 형태로 구현될 수 있는 구동 회로, 백라이트 유닛 등도 함께 포함될 수 있다.The display 160 may be implemented as a liquid crystal display panel (LCD) type display. However, depending on the embodiment, the display 160 may be implemented with various types of displays, such as a light emitting diode (LED), organic light emitting diodes (OLED), liquid crystal on silicon (LCoS), digital light processing (DLP), etc. there is. In addition, the display 160 may include a driving circuit, a backlight unit, and the like, which may be implemented in the form of an a-si TFT, a low temperature poly silicon (LTPS) TFT, or an organic TFT (OTFT).

또한, 디스플레이(160)는 터치 감지부와 결합되어 터치 스크린으로 구현될 수도 있다.In addition, the display 160 may be implemented as a touch screen in combination with a touch sensing unit.

통신부(170)는 외부 장치와 통신을 수행하는 구성이다. 예를 들어, 통신부(170)는 BT(Bluetooth), BLE(Bluetooth Low Energy), WI-FI(Wireless Fidelity), Zigbee 등과 같은 무선 통신 방식 또는 IR(Infrared) 통신 방식을 통해 다양한 외부 장치와 통신을 수행할 수 있다. 한편, 통신부(170)는 프로세서(120)에 탑재되어 있을 수 있음은 물론, 프로세서(120)와는 별개의 구성으로 전자 장치(100)에 포함될 수도 있다.The communication unit 170 is configured to communicate with an external device. For example, the communication unit 170 communicates with various external devices through a wireless communication method such as BT (Bluetooth), BLE (Bluetooth Low Energy), WI-FI (Wireless Fidelity), Zigbee, or IR (Infrared) communication method. can be done Meanwhile, the communication unit 170 may be mounted on the processor 120 , and may be included in the electronic device 100 as a configuration separate from the processor 120 .

한편, 본 개시의 일 실시 예에 따른 전자 장치(100)는 상술한 구성 외에도 다양한 구성을 더 포함할 수 있다.Meanwhile, the electronic device 100 according to an embodiment of the present disclosure may further include various configurations in addition to the aforementioned configuration.

일 예로, 전자 장치(100)는 사용자 입력을 수신할 수 있는 입력부(미도시)를 더 포함할 수 있다. 여기에서, 입력부(미도시)는 버튼 또는 터치 스크린으로 구현될 수 있고, 물체와의 거리를 감지하기 위한 사용자 명령이나 전자 장치(100)를 이동시키기 위한 사용자 명령 등의 다양한 사용자 명령을 수신할 수 있다.As an example, the electronic device 100 may further include an input unit (not shown) capable of receiving a user input. Here, the input unit (not shown) may be implemented as a button or a touch screen, and may receive various user commands such as a user command for detecting a distance from an object or a user command for moving the electronic device 100 . there is.

또한, 전자 장치(100)는 각종 오디오 데이터를 출력할 수 있는 스피커(미도시)를 더 포함할 수 있다. Also, the electronic device 100 may further include a speaker (not shown) capable of outputting various types of audio data.

또한, 전자 장치(100)는 사용자 음성을 수신할 수 있는 마이크(미도시)를 더 포함할 수 있다. 여기에서, 사용자 음성은 전자 장치(100)의 태스크 실행을 위한 사용자 음성 등이 될 수 있다.Also, the electronic device 100 may further include a microphone (not shown) capable of receiving a user's voice. Here, the user's voice may be a user's voice for executing a task of the electronic device 100 .

한편, 도 10a에서는 센서(110)에 MCU(30)가 포함되는 것으로 도시하였으나, 실시 예에 따라 센서(110)는 도 10b에 도시된 바와 같이, 발광부(10) 및 수광부(20)를 포함하고, 상술한 MCU(30)의 기능은 프로세서(120)에 의해 수행될 수도 있다. 이 경우, 발광부(10)는 프로세서(120)로부터 수신된 제어 신호에 기초하여 광을 조사하고, 프로세서(120)는 발광부(10)에 의해 조사된 광이, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 기초하여, 센서(110) 및 물체간의 거리를 판단할 수 있다.Meanwhile, in FIG. 10A , the sensor 110 includes the MCU 30 , but according to an embodiment, the sensor 110 includes a light emitting unit 10 and a light receiving unit 20 as shown in FIG. 10B . In addition, the above-described functions of the MCU 30 may be performed by the processor 120 . In this case, the light emitting unit 10 irradiates light based on a control signal received from the processor 120 , and the processor 120 reflects the light irradiated by the light emitting unit 10 by an object to the light receiving unit ( 20), the distance between the sensor 110 and the object may be determined based on the time until it is received.

도 11은 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.11 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present disclosure.

전자 장치(100)는 센서로부터 물체와의 거리와 관련된 제1 정보 및 제1 정보에 대한 신뢰도와 관련된 제2 정보를 획득(S1110)할 수 있다.The electronic device 100 may obtain first information related to the distance from the sensor and second information related to the reliability of the first information ( S1110 ).

여기에서, 제1 정보는 물체와의 거리에 대한 정보를 포함할 수 있다. 구체적으로, 제1 정보는 센서에 포함된 복수의 화소에 대응되는 복수의 거리에 대한 정보를 포함할 수 있다. 그리고, 제2 정보는 제1 정보를 구성하는 각 화소의 신뢰도에 대한 정보를 포함할 수 있다.Here, the first information may include information about the distance to the object. Specifically, the first information may include information on a plurality of distances corresponding to a plurality of pixels included in the sensor. In addition, the second information may include information on reliability of each pixel constituting the first information.

전자 장치(100)는 제1 정보에 기초하여 센서를 구성하는 복수의 화소 중 거리 정보를 포함하지 않는 복수의 화소를 식별(S1120)할 수 있다.The electronic device 100 may identify a plurality of pixels that do not include distance information among a plurality of pixels constituting the sensor based on the first information ( S1120 ).

구체적으로, 전자 장치(100)는 센서로부터 거리 정보를 포함하는 제1 정보가 수신되면, 거리 정보에 기초하여 센서를 구성하는 복수의 화소 중 거리 정보 없음을 나타내는 0의 출력 값을 갖는 적어도 하나의 화소를 식별할 수 있다. 여기에서, 식별되는 적어도 하나의 화소는 거리 측정을 위해 필요한 최소 임계 값 이하의 광량을 갖는 광이 수신된 화소가 될 수 있다.Specifically, when the first information including distance information is received from the sensor, the electronic device 100 includes at least one output value of 0 indicating no distance information among a plurality of pixels constituting the sensor based on the distance information. Pixels can be identified. Here, the identified at least one pixel may be a pixel that has received light having an amount of light equal to or less than a minimum threshold required for distance measurement.

그리고, 전자 장치(100)는 제2 정보에 기초하여 식별된 복수의 화소의 신뢰도를 판단(S11130)할 수 있다.Then, the electronic device 100 may determine the reliability of the identified plurality of pixels based on the second information ( S11130 ).

구체적으로, 전자 장치(100)는 식별된 적어도 화소를 포함하는 ROI를 설정할 수 있다. 여기에서, ROI는 일 예로 0의 출력 값을 갖는 적어도 하나의 화소를 포함하는 최소 크기의 사각 형상의 영역이 될 수 있다. Specifically, the electronic device 100 may set an ROI including at least the identified pixels. Here, the ROI may be, for example, a rectangular region having a minimum size including at least one pixel having an output value of 0.

그리고, 전자 장치(100)는 제2 정보에 기초하여 ROI에 포함된 복수의 화소의 신뢰도를 판단할 수 있다.Then, the electronic device 100 may determine the reliability of the plurality of pixels included in the ROI based on the second information.

이후, 전자 장치(100)는 판단된 신뢰도에 기초하여 센서의 파라미터 설정을 변경(S1140)할 수 있다.Thereafter, the electronic device 100 may change the parameter setting of the sensor based on the determined reliability ( S1140 ).

여기에서, 센서의 파라미터는 일 예로, 발광부의 광도를 조절하기 위한 파라미터 또는 광에 대한 노출 시간을 조절하기 위한 파라미터가 될 수 있다.Here, the parameter of the sensor may be, for example, a parameter for adjusting the luminous intensity of the light emitting unit or a parameter for adjusting the exposure time to light.

구체적으로, 전자 장치(100)는 ROI를 구성하는 복수의 화소의 신뢰도 분포(또는, 히스토그램)에 기초하여, 센서의 파라미터 설정을 변경할 수 있다. 이를 위해, 전자 장치(100)는 ROI에 포함된 복수의 화소 각각의 신뢰도를 판단할 수 있다. 그리고, 전자 장치(100)는 신뢰도의 범위 별로, 해당 신뢰도 범위에 속하는 화소의 개수를 판단할 수 있다. 그리고, 전자 장치(100)는 ROI를 구성하는 복수의 화소의 신뢰도 분포 및 신뢰도-파라미터 세팅 정보에 기초하여, 센서의 파라미터 설정을 변경할 수 있다.Specifically, the electronic device 100 may change the parameter setting of the sensor based on the reliability distribution (or histogram) of the plurality of pixels constituting the ROI. To this end, the electronic device 100 may determine the reliability of each of a plurality of pixels included in the ROI. In addition, the electronic device 100 may determine the number of pixels belonging to the reliability range for each reliability range. In addition, the electronic device 100 may change the parameter setting of the sensor based on the reliability distribution of the plurality of pixels constituting the ROI and the reliability-parameter setting information.

전자 장치(100)는 파라미터 설정이 변경된 센서로부터 거리 정보를 포함하는 제3 정보를 획득(S1150)할 수 있다. 여기에서, 제3 정보는 발광부의 광도를 높이거나 광에 대한 노출 시간을 늘린 센서에 의해 감지된 물체와의 거리에 대한 정보를 포함할 수 있다.The electronic device 100 may obtain third information including distance information from the sensor whose parameter setting has been changed ( S1150 ). Here, the third information may include information on a distance to an object sensed by a sensor that increases the luminous intensity of the light emitting unit or increases the exposure time to light.

전자 장치(100)는 제3 정보에 기초하여, 제1 정보에서 식별된 복수의 화소의 거리 정보가 변경된 제4 정보를 획득(S1160)할 수 있다. 구체적으로, 전자 장치(100)는 제1 정보의 ROI에 포함된 출력 값이 제3 정보의 ROI에 포함된 출력 값에 기초하여 변경된 제4 정보를 획득할 수 있다.The electronic device 100 may obtain fourth information in which distance information of a plurality of pixels identified in the first information is changed based on the third information ( S1160 ). Specifically, the electronic device 100 may acquire the fourth information in which the output value included in the ROI of the first information is changed based on the output value included in the ROI of the third information.

전자 장치(100)는 제4 정보에 포함된 거리 정보에 기초하여 물체와의 거리를 판단(S1170)할 수 있다. 그리고, 전자 장치(100)는 제4 정보에 포함된 거리 정보에 기초하여 전자 장치(100)의 주행, 정지, 주행 방향의 제어 등의 프로세스를 수행할 수 있다. The electronic device 100 may determine the distance to the object based on the distance information included in the fourth information (S1170). In addition, the electronic device 100 may perform a process such as driving, stopping, and controlling the driving direction of the electronic device 100 based on the distance information included in the fourth information.

이와 같이, 본 개시의 전자 장치(100)는 제4 정보에 기초하여 주행 등의 프로세스를 수행한다는 점에서, 종래 전자 장치가 블랙 컬러 등 짙은 계열의 컬러의 물체까지의 거리를 감지하지 못하여 발생하는 문제(가령, 블랙 컬러의 물체와의 충돌 등)를 방지할 수 있다.As described above, in that the electronic device 100 of the present disclosure performs a process such as driving based on the fourth information, the conventional electronic device fails to detect a distance to an object of a dark color such as a black color. Problems (eg, collision with a black-colored object, etc.) can be prevented.

도 12는 본 개시의 일 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도이다.12 is a flowchart illustrating a method of controlling an electronic device according to an embodiment of the present disclosure.

프로세서(120)는 물체와의 거리와 관련된 제1 정보 및 제1 정보에 대한 신뢰도와 관련된 제2 정보의 생성(또는, 전송)을 요청하는 신호를 센서(110)로 전송(S1210)할 수 있다. 일 예로, 프로세서(120)는 전자 장치(100)의 이동을 위한 사용자 명령이 입력되는 경우나 물체와의 거리 감지를 위한 사용자 명령이 입력되는 경우, 제1 정보 및 제2 정보의 생성을 요청하는 신호를 센서(110)로 전송할 수 있다. The processor 120 may transmit a signal requesting generation (or transmission) of the first information related to the distance to the object and the second information related to the reliability of the first information to the sensor 110 ( S1210 ). . For example, when a user command for moving the electronic device 100 is input or when a user command for detecting a distance to an object is input, the processor 120 requests generation of the first information and the second information. A signal may be transmitted to the sensor 110 .

센서(110)는 프로세서(120)의 제어에 따라 제1 정보 및 제2 정보를 생성(S1220)할 수 있다. The sensor 110 may generate the first information and the second information under the control of the processor 120 (S1220).

구체적으로, 센서(110)의 MCU(30)는 프로세서(120)로부터 수신된 신호에 기초하여, 광을 조사하도록 발광부(10)를 제어할 수 있다. 그리고, MCU(30)는 광이 발광부(10)에 의해 조사된 후, 물체에 의해 반사되어 수광부(20)에 수신되기까지의 시간에 기초하여, 센서(110) 및 물체간의 거리를 판단하고, 복수의 화소에 대응되는 복수의 셀 별로 물체까지의 거리에 대한 정보를 포함하는 제1 정보를 생성할 수 있다. 그리고, 센서(110)의 MCU(30)는 상이한 위상 편이의 복수의 광이 수광부(20)에 수신됨에 따라 측정되는 복수의 전하량에 기초하여 수광부(20)를 구성하는 각 화소별로 측정된 거리 정보에 대한 신뢰도를 판단하고, 각 화소에 대응되는 셀 별로 신뢰도 값을 포함하는 제2 정보를 생성할 수 있다. Specifically, the MCU 30 of the sensor 110 may control the light emitting unit 10 to emit light based on a signal received from the processor 120 . Then, the MCU 30 determines the distance between the sensor 110 and the object based on the time until the light is irradiated by the light emitting unit 10, reflected by the object and received by the light receiving unit 20, and , may generate first information including information on a distance to an object for each of a plurality of cells corresponding to a plurality of pixels. In addition, the MCU 30 of the sensor 110 receives distance information measured for each pixel constituting the light receiving unit 20 based on a plurality of charges measured as a plurality of lights of different phase shifts are received by the light receiving unit 20 . Reliability may be determined, and second information including a reliability value may be generated for each cell corresponding to each pixel.

그리고, 센서(110)는 제1 정보 및 제2 정보를 프로세서(120)로 전송(S1230)하며, 프로세서(120)는 제1 정보에 기초하여 복수의 셀 중 거리 정보를 포함하지 않는 복수의 셀을 식별할 수 있다.Then, the sensor 110 transmits the first information and the second information to the processor 120 (S1230), and the processor 120 based on the first information a plurality of cells that do not include distance information among the plurality of cells. can be identified.

구체적으로, 프로세서(120)는 센서(110)로부터 제1 정보가 수신되면, 제1 정보에 포함된 각 셀의 거리 정보에 기초하여 복수의 셀 중 거리 정보 없음을 나타내는 0의 출력 값을 갖는 적어도 하나의 셀을 식별할 수 있다. 여기에서, 식별되는 적어도 하나의 셀은 거리 측정을 위해 필요한 최소 임계 값 이하의 광량을 갖는 광이 수신된 화소에 대응되는 셀이 될 수 있다.Specifically, when the first information is received from the sensor 110 , the processor 120 receives at least an output value of 0 indicating no distance information among a plurality of cells based on the distance information of each cell included in the first information. One cell can be identified. Here, the identified at least one cell may be a cell corresponding to a pixel in which light having an amount of light equal to or less than a minimum threshold required for distance measurement is received.

그리고, 프로세서(120)는 제2 정보에 기초하여 식별된 복수의 셀의 신뢰도를 판단할 수 있다.Then, the processor 120 may determine the reliability of the identified plurality of cells based on the second information.

구체적으로, 프로세서(120)는 제1 정보에 기초하여 식별된 적어도 셀을 포함하는 ROI를 제2 정보에 설정할 수 있다. 여기에서, ROI는 일 예로 0의 출력 값을 갖는 적어도 하나의 셀을 포함하는 최소 크기의 사각 형상의 영역이 될 수 있다. Specifically, the processor 120 may set an ROI including at least a cell identified based on the first information to the second information. Here, the ROI may be, for example, a rectangular region having a minimum size including at least one cell having an output value of 0.

그리고, 프로세서(120)는 제2 정보에 기초하여 ROI에 포함된 복수의 셀의 신뢰도를 판단할 수 있다.Then, the processor 120 may determine the reliability of the plurality of cells included in the ROI based on the second information.

이후, 프로세서(120)는 판단된 신뢰도에 기초하여 센서의 파라미터 설정 변경을 요청하는 신호를 센서(110)로 전송(S1240)할 수 있다.Thereafter, the processor 120 may transmit a signal requesting to change the parameter setting of the sensor to the sensor 110 based on the determined reliability ( S1240 ).

여기에서, 센서의 파라미터는 일 예로, 발광부의 광도를 조절하기 위한 파라미터 또는 광에 대한 노출 시간을 조절하기 위한 파라미터가 될 수 있다.Here, the parameter of the sensor may be, for example, a parameter for adjusting the luminous intensity of the light emitting unit or a parameter for adjusting the exposure time to light.

구체적으로, 프로세서(120)는 ROI를 구성하는 복수의 셀의 신뢰도 분포(또는, 히스토그램)에 기초하여, 센서의 파라미터 설정 변경을 요청하는 신호를 센서(110)로 전송할 수 있다. 이를 위해, 프로세서(120)는 제2 정보에 기초하여 ROI에 포함된 복수의 셀 각각의 신뢰도를 판단할 수 있다. 그리고, 프로세서(120)는 신뢰도의 범위 별로, 해당 신뢰도 범위에 속하는 셀의 개수를 판단하고, ROI를 구성하는 복수의 셀의 신뢰도 분포 및 신뢰도-파라미터 세팅 정보에 기초하여, 센서의 파라미터 설정 변경을 요청하는 신호를 센서(110)로 전송할 수 있다. Specifically, the processor 120 may transmit a signal requesting to change the parameter setting of the sensor to the sensor 110 based on the reliability distribution (or histogram) of the plurality of cells constituting the ROI. To this end, the processor 120 may determine the reliability of each of the plurality of cells included in the ROI based on the second information. Then, the processor 120 determines the number of cells belonging to the corresponding reliability range for each reliability range, and based on the reliability distribution and reliability of a plurality of cells constituting the ROI-parameter setting information, changes the parameter setting of the sensor. A request signal may be transmitted to the sensor 110 .

센서(110)는 프로세서(120)로부터 수신된 신호에 기초하여 파라미터 설정을 변경(S1250)하고, 파라미터 설정 변경 완료에 대한 신호를 프로세서(120)로 전송할 수 있다.The sensor 110 may change the parameter setting based on the signal received from the processor 120 ( S1250 ), and transmit a signal for completing the parameter setting change to the processor 120 .

프로세서(120)는 센서(110)의 파라미터 설정이 변경된 것으로 판단되면, 제3 정보의 생성을 요청하는 신호를 센서(110)로 전송(S1260)할 수 있다.When it is determined that the parameter setting of the sensor 110 has been changed, the processor 120 may transmit a signal requesting generation of the third information to the sensor 110 ( S1260 ).

센서(110)는 프로세서(120)로부터 수신된 신호에 기초하여 물체와의 거리에 대한 정보를 포함하는 제3 정보를 생성(S1270)하고, 제3 정보를 프로세서(120)로 전송(S1280)할 수 있다. 여기에서, 제3 정보는 발광부의 광도를 높이거나 광에 대한 노출 시간을 늘린 센서(100)에 의해 감지된 물체와의 거리에 대한 정보를 포함할 수 있다.The sensor 110 generates third information including information on the distance to the object based on the signal received from the processor 120 (S1270), and transmits the third information to the processor 120 (S1280). can Here, the third information may include information on a distance to an object sensed by the sensor 100 that increases the luminous intensity of the light emitting unit or increases the exposure time to light.

프로세서(120)는 제3 정보에 기초하여, 제1 정보에서 식별된 복수의 셀의 거리 정보가 변경된 제4 정보를 생성(S1290)할 수 있다. 구체적으로, 프로세서(120)는 제1 정보의 ROI에 포함된 출력 값이 제3 정보의 ROI에 포함된 출력 값에 기초하여 변경된 제4 정보를 획득할 수 있다.The processor 120 may generate fourth information in which distance information of a plurality of cells identified in the first information is changed based on the third information ( S1290 ). Specifically, the processor 120 may acquire the fourth information in which the output value included in the ROI of the first information is changed based on the output value included in the ROI of the third information.

프로세서(120)는 제4 정보에 포함된 거리 정보에 기초하여 물체와의 거리 정보를 획득하고, 이에 기초하여 전자 장치(100)의 주행, 정지, 주행 방향의 제어 등의 프로세스를 수행할 수 있다. The processor 120 may obtain distance information with an object based on the distance information included in the fourth information, and perform processes such as driving, stopping, and controlling the driving direction of the electronic device 100 based on this. .

이와 같이, 본 개시의 전자 장치(100)는 제4 정보에 기초하여 주행 등의 프로세스를 수행한다는 점에서, 종래 전자 장치가 블랙 컬러 등 짙은 계열의 컬러의 물체까지의 거리를 감지하지 못하여 발생하는 문제(가령, 블랙 컬러의 물체와의 충돌 등)를 방지할 수 있다.As described above, in that the electronic device 100 of the present disclosure performs a process such as driving based on the fourth information, the conventional electronic device fails to detect a distance to an object of a dark color such as a black color. Problems (eg, collision with a black-colored object, etc.) can be prevented.

한편, 상술한 본 발명의 다양한 실시 예들에 따른 방법들은, 기존 전자 장치에 설치 가능한 소프트웨어 또는 어플리케이션 형태로 구현될 수 있다. Meanwhile, the above-described methods according to various embodiments of the present disclosure may be implemented in the form of software or applications that can be installed in an existing electronic device.

또한, 상술한 본 발명의 다양한 실시 예들에 따른 방법들은, 기존 전자 장치에 대한 소프트웨어 업그레이드, 또는 하드웨어 업그레이드만으로도 구현될 수 있다. In addition, the above-described methods according to various embodiments of the present disclosure may be implemented only by software upgrade or hardware upgrade of an existing electronic device.

또한, 상술한 본 발명의 다양한 실시 예들은 전자 장치에 구비된 임베디드 서버, 또는 전자 장치 외부의 서버를 통해 수행되는 것도 가능하다.In addition, various embodiments of the present invention described above may be performed through an embedded server provided in the electronic device or a server external to the electronic device.

한편, 본 발명에 따른 전자 장치의 제어 방법을 순차적으로 수행하는 프로그램이 저장된 비일시적 판독 가능 매체(non-transitory computer readable medium)가 제공될 수 있다. Meanwhile, a non-transitory computer readable medium in which a program for sequentially executing the method of controlling an electronic device according to the present invention is stored may be provided.

한편, 비일시적 판독 가능 매체란 레지스터, 캐시, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상술한 다양한 어플리케이션 또는 프로그램들은 CD, DVD, 하드 디스크, 블루레이 디스크, USB, 메모리카드, ROM 등과 같은 비일시적 판독 가능 매체에 저장되어 제공될 수 있다.On the other hand, the non-transitory readable medium refers to a medium that stores data semi-permanently, rather than a medium that stores data for a short moment, such as a register, cache, memory, etc., and can be read by a device. Specifically, the various applications or programs described above may be provided by being stored in a non-transitory readable medium such as a CD, DVD, hard disk, Blu-ray disk, USB, memory card, ROM, and the like.

또한, 이상에서는 본 발명의 바람직한 실시 예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형실시들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어져서는 안될 것이다.In addition, although preferred embodiments of the present invention have been illustrated and described above, the present invention is not limited to the specific embodiments described above, and the technical field to which the present invention pertains without departing from the gist of the present invention as claimed in the claims In addition, various modifications are possible by those of ordinary skill in the art, and these modifications should not be individually understood from the technical spirit or perspective of the present invention.

100: 전자 장치
110: 센서
120: 프로세서
100: electronic device
110: sensor
120: processor

Claims (20)

전자 장치에 있어서,
센서; 및
상기 센서로부터 물체와의 거리와 관련된 제1 정보 및 상기 제1 정보에 대한 신뢰도와 관련된 제2 정보를 획득하고,
상기 제1 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 거리 정보를 포함하지 않는 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 식별된 복수의 셀의 신뢰도를 판단하며,
상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 상기 물체와의 거리와 관련된 제3 정보를 획득하며,
상기 제1 및 제3 정보에 기초하여, 상기 복수의 셀의 거리 정보를 포함하는 제4 정보를 획득하고, 상기 제4 정보에 포함된 거리 정보에 기초하여 상기 물체와의 거리 정보를 획득하는 프로세서;를 포함하는 전자 장치.
In an electronic device,
sensor; and
Obtaining first information related to a distance to an object from the sensor and second information related to reliability of the first information,
A plurality of cells that do not include distance information are identified among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the first information, and reliability of the plurality of identified cells based on the second information to judge,
change the parameter setting of the sensor based on the determined reliability, and obtain third information related to the distance to the object from the sensor whose parameter setting is changed,
A processor configured to obtain fourth information including distance information of the plurality of cells based on the first and third information, and obtain distance information to the object based on distance information included in the fourth information An electronic device comprising;
제1항에 있어서,
상기 프로세서는,
상기 식별된 복수의 셀을 포함하는 ROI(region of interest)를 설정하고, 상기 ROI에 포함된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치.
According to claim 1,
The processor is
An electronic device configured to set a region of interest (ROI) including the identified plurality of cells, and change parameter settings of the sensor based on reliability of the plurality of cells included in the ROI.
제2항에 있어서,
상기 프로세서는,
신뢰도의 범위 별로, 각 신뢰도 범위에 속하는 셀의 개수를 상기 ROI에서 판단하고, 신뢰도-파라미터 세팅 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도 분포에 대응되는 파라미터 세팅 정보를 획득하며, 상기 파라미터 세팅 정보에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치.
3. The method of claim 2,
The processor is
For each reliability range, the number of cells belonging to each reliability range is determined in the ROI, and parameter setting information corresponding to the reliability distribution of a plurality of cells included in the ROI is obtained based on the reliability-parameter setting information, and the An electronic device configured to change a parameter setting of the sensor based on parameter setting information.
제2항에 있어서,
상기 프로세서는,
상기 판단된 신뢰도에 기초하여 상기 센서의 광도를 조절하기 위한 파라미터 값 또는 광에 대한 노출 시간을 조절하기 위한 파라미터 값 중 적어도 하나를 변경하는, 전자 장치.
3. The method of claim 2,
The processor is
and changing at least one of a parameter value for adjusting the light intensity of the sensor and a parameter value for adjusting an exposure time to light based on the determined reliability.
제1항에 있어서,
상기 제3 정보의 신뢰도는 상기 제1 정보의 신뢰도보다 상대적으로 높고, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀은 거리 정보를 포함하는, 전자 장치.
According to claim 1,
The reliability of the third information is relatively higher than that of the first information, and in the third information, a plurality of cells included in the ROI set based on the first information includes distance information.
제1항에 있어서,
상기 프로세서는,
상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀을 판단하고, 상기 제3 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 거리 정보를 획득하며, 상기 제1 정보 및 상기 획득한 거리 정보에 기초하여 상기 제4 정보를 획득하는, 전자 장치.
According to claim 1,
The processor is
In the third information, determining a plurality of cells included in a set ROI based on the first information, obtaining distance information of a plurality of cells included in the ROI based on the third information, and the first The electronic device obtains the fourth information based on the information and the obtained distance information.
제1항에 있어서,
상기 프로세서는,
상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 ROI에 포함된 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도를 판단하며, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치.
According to claim 1,
The processor is
Identifies a plurality of cells included in a preset ROI from among a plurality of cells corresponding to a plurality of pixels constituting the sensor, determines reliability of a plurality of cells included in the ROI based on the second information, and An electronic device that changes a parameter setting of the sensor based on the determined reliability.
제1항에 있어서,
상기 프로세서는,
상기 제2 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수를 판단하고, 상기 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수가 기설정된 개수 이상이면 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 거리 정보를 포함하는 상기 제3 정보를 획득하는, 전자 장치.
According to claim 1,
The processor is
Determine the number of cells having a reliability value less than or equal to a preset threshold value among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the second information, and having a reliability value less than or equal to the preset threshold value If the number of cells is greater than or equal to a preset number, the electronic device is configured to change a parameter setting of the sensor and acquire the third information including distance information from the sensor whose parameter setting is changed.
제1항에 있어서,
상기 프로세서는,
상기 식별된 복수의 셀의 위치에 기초하여 상기 판단된 복수의 셀의 신뢰도에 가중치를 적용하고, 상기 가중치가 적용된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치.
According to claim 1,
The processor is
An electronic device that applies a weight to the determined reliability of the plurality of cells based on the identified positions of the plurality of cells, and changes parameter settings of the sensor based on the reliability of the plurality of cells to which the weight is applied.
제1항에 있어서,
상기 프로세서는,
상기 제1 정보에 기초하여, 거리 정보를 포함하는 복수의 셀 중에서 신뢰도가 임계 값 이하인 적어도 하나의 셀을 식별하고, 상기 제1 및 제3 정보에 기초하여 상기 식별된 적어도 하나의 셀의 거리 정보가 상기 임계 값을 초과하는 상기 제4 정보를 획득하는, 전자 장치.
According to claim 1,
The processor is
Based on the first information, at least one cell having a reliability equal to or less than a threshold value is identified among a plurality of cells including distance information, and distance information of the identified at least one cell based on the first and third information to obtain the fourth information exceeding the threshold value.
전자 장치의 제어 방법에 있어서,
센서로부터 물체와의 거리와 관련된 제1 정보 및 상기 제1 정보에 대한 신뢰도와 관련된 제2 정보를 획득하는 단계;
상기 제1 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 거리 정보를 포함하지 않는 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 식별된 복수의 셀의 신뢰도를 판단하는 단계;
상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 상기 물체와의 거리 정보와 관련된 제3 정보를 획득하는 단계; 및
상기 제1 및 제3 정보에 기초하여, 상기 복수의 셀의 거리 정보를 포함하는 제4 정보를 획득하고, 상기 제4 정보에 포함된 거리 정보에 기초하여 상기 물체와의 거리 정보를 획득하는 단계;를 포함하는 전자 장치의 제어 방법.
A method for controlling an electronic device, comprising:
acquiring first information related to a distance to an object from a sensor and second information related to reliability of the first information;
A plurality of cells that do not include distance information are identified among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the first information, and reliability of the plurality of identified cells based on the second information judging;
changing the parameter setting of the sensor based on the determined reliability and acquiring third information related to distance information from the object from the sensor whose parameter setting is changed; and
obtaining fourth information including distance information of the plurality of cells based on the first and third information, and obtaining distance information with the object based on distance information included in the fourth information; ; Control method of an electronic device comprising a.
제11항에 있어서,
상기 파라미터 설정을 변경하는 단계는,
상기 식별된 복수의 셀을 포함하는 ROI(region of interest)를 설정하고, 상기 ROI에 포함된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치의 제어 방법.
12. The method of claim 11,
Changing the parameter setting includes:
A method for controlling an electronic device, comprising setting a region of interest (ROI) including the identified plurality of cells, and changing parameter settings of the sensor based on reliability of the plurality of cells included in the ROI.
제12항에 있어서,
상기 파라미터 설정을 변경하는 단계는,
신뢰도의 범위 별로, 각 신뢰도 범위에 속하는 셀의 개수를 상기 ROI에서 판단하고, 신뢰도-파라미터 세팅 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도 분포에 대응되는 파라미터 세팅 정보를 획득하며, 상기 파라미터 세팅 정보에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치의 제어 방법.
13. The method of claim 12,
Changing the parameter setting includes:
For each reliability range, the number of cells belonging to each reliability range is determined in the ROI, and parameter setting information corresponding to the reliability distribution of a plurality of cells included in the ROI is obtained based on the reliability-parameter setting information, and the A method of controlling an electronic device, wherein the parameter setting of the sensor is changed based on parameter setting information.
제12항에 있어서,
상기 파라미터 설정을 변경하는 단계는,
상기 판단된 신뢰도에 기초하여 상기 센서의 광도를 조절하기 위한 파라미터 값 또는 광에 대한 노출 시간을 조절하기 위한 파라미터 값 중 적어도 하나를 변경하는, 전자 장치의 제어 방법.
13. The method of claim 12,
Changing the parameter setting includes:
Changing at least one of a parameter value for adjusting the light intensity of the sensor and a parameter value for adjusting an exposure time to light based on the determined reliability.
제11항에 있어서,
상기 제3 정보의 신뢰도는 상기 제1 정보의 신뢰도보다 상대적으로 높고, 상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀은 거리 정보를 포함하는, 전자 장치의 제어 방법.
12. The method of claim 11,
Reliability of the third information is relatively higher than that of the first information, and in the third information, a plurality of cells included in the ROI set based on the first information includes distance information. Way.
제11항에 있어서,
상기 제4 정보를 획득하는 단계는,
상기 제3 정보에서, 상기 제1 정보에 기초하여 설정된 ROI에 포함된 복수의 셀을 판단하고, 상기 제3 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 거리 정보를 획득하며, 상기 제1 정보 및 상기 획득한 거리 정보에 기초하여 상기 제4 정보를 획득하는, 전자 장치의 제어 방법.
12. The method of claim 11,
The step of obtaining the fourth information includes:
In the third information, determining a plurality of cells included in a set ROI based on the first information, obtaining distance information of a plurality of cells included in the ROI based on the third information, and the first A method of controlling an electronic device, obtaining the fourth information based on the information and the obtained distance information.
제11항에 있어서,
상기 파라미터 설정을 변경하는 단계는,
상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 ROI에 포함된 복수의 셀을 식별하고, 상기 제2 정보에 기초하여 상기 ROI에 포함된 복수의 셀의 신뢰도를 판단하며, 상기 판단된 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치의 제어 방법.
12. The method of claim 11,
Changing the parameter setting includes:
Identifies a plurality of cells included in a preset ROI from among a plurality of cells corresponding to a plurality of pixels constituting the sensor, determines reliability of a plurality of cells included in the ROI based on the second information, and A method of controlling an electronic device, wherein the parameter setting of the sensor is changed based on the determined reliability.
제11항에 있어서,
상기 제3 정보를 획득하는 단계는,
상기 제2 정보에 기초하여 상기 센서를 구성하는 복수의 화소에 대응되는 복수의 셀 중 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수를 판단하고, 상기 기설정된 임계 값 이하의 신뢰도 값을 갖는 셀의 개수가 기설정된 개수 이상이면 상기 센서의 파라미터 설정을 변경하고, 상기 파라미터 설정이 변경된 센서로부터 거리 정보를 포함하는 상기 제3 정보를 획득하는, 전자 장치의 제어 방법.
12. The method of claim 11,
The step of obtaining the third information comprises:
Determine the number of cells having a reliability value less than or equal to a preset threshold value among a plurality of cells corresponding to a plurality of pixels constituting the sensor based on the second information, and having a reliability value less than or equal to the preset threshold value When the number of cells is equal to or greater than a preset number, the parameter setting of the sensor is changed, and the third information including distance information is obtained from the sensor whose parameter setting is changed.
제11항에 있어서,
상기 파라미터 설정을 변경하는 단계는,
상기 식별된 복수의 셀의 위치에 기초하여 상기 판단된 복수의 셀의 신뢰도에 가중치를 적용하고, 상기 가중치가 적용된 복수의 셀의 신뢰도에 기초하여 상기 센서의 파라미터 설정을 변경하는, 전자 장치의 제어 방법.
12. The method of claim 11,
Changing the parameter setting includes:
Control of an electronic device, applying a weight to the reliability of the plurality of cells determined based on the identified positions of the plurality of cells, and changing parameter settings of the sensor based on the reliability of the plurality of cells to which the weight is applied Way.
제11항에 있어서,
상기 제4 정보를 획득하는 단계는,
상기 제1 정보에 기초하여, 거리 정보를 포함하는 복수의 셀 중에서 신뢰도가 임계 값 이하인 적어도 하나의 셀을 식별하고, 상기 제1 및 제3 정보에 기초하여 상기 식별된 적어도 하나의 셀의 거리 정보가 상기 임계 값을 초과하는 상기 제4 정보를 획득하는, 전자 장치의 제어 방법.
12. The method of claim 11,
The step of obtaining the fourth information includes:
Based on the first information, at least one cell having a reliability equal to or less than a threshold value is identified among a plurality of cells including distance information, and distance information of the identified at least one cell based on the first and third information Acquires the fourth information exceeding the threshold value, the control method of the electronic device.
KR1020210099483A 2020-10-08 2021-07-28 Erectronic apparatus and contrl method thereof KR20220047155A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/KR2021/013845 WO2022075792A1 (en) 2020-10-08 2021-10-08 Electronic apparatus and control method thereof
CN202180066632.6A CN116685870A (en) 2020-10-08 2021-10-08 Electronic apparatus and control method thereof
EP21878042.7A EP4180842A4 (en) 2020-10-08 2021-10-08 Electronic apparatus and control method thereof
US17/566,210 US20220120902A1 (en) 2020-10-08 2021-12-30 Electronic apparatus and control method thereof

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR1020200130583 2020-10-08
KR20200130583 2020-10-08
KR1020200183724 2020-12-24
KR20200183724 2020-12-24

Publications (1)

Publication Number Publication Date
KR20220047155A true KR20220047155A (en) 2022-04-15

Family

ID=81211962

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210099483A KR20220047155A (en) 2020-10-08 2021-07-28 Erectronic apparatus and contrl method thereof

Country Status (1)

Country Link
KR (1) KR20220047155A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024039160A1 (en) * 2022-08-18 2024-02-22 삼성전자주식회사 Lidar sensor based on itof sensor, and control method therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024039160A1 (en) * 2022-08-18 2024-02-22 삼성전자주식회사 Lidar sensor based on itof sensor, and control method therefor

Similar Documents

Publication Publication Date Title
US10545237B2 (en) Method and device for acquiring distance information
CN105100638B (en) The optical region of point of use matrix lighting monitors
WO2020010848A1 (en) Control method, microprocessor, computer readable storage medium, and computer apparatus
US9500940B2 (en) Projector and brightness adjusting method thereof
WO2014134993A1 (en) Target object information acquisition method and electronic device
US20150084853A1 (en) Method and System for Mapping for Movement Trajectory of Emission Light Source Application Trajectory Thereof
CN114088644A (en) Sensing device, sensing method and sensing operation assembly
KR20220047155A (en) Erectronic apparatus and contrl method thereof
KR20210050081A (en) Object recognition method and object recognition device performing the same
CN110781779A (en) Object position detection method and device, readable storage medium and electronic equipment
CN114026462A (en) Electronic device and control method thereof
KR20210064591A (en) Deep Learning Processing Apparatus and Method for Multi-Sensor on Vehicle
US20220128659A1 (en) Electronic device including sensor and method of operation therefor
US9544634B2 (en) Method, system, and related device for operating display device
CN113820694B (en) Simulation ranging method, related device, equipment and storage medium
EP4005870A1 (en) Apparatus for emitting road surface information and method thereof
US20150185321A1 (en) Image Display Device
US9013404B2 (en) Method and locating device for locating a pointing device
EP4180842A1 (en) Electronic apparatus and control method thereof
CN113099120A (en) Depth information acquisition method and device, readable storage medium and depth camera
US11653808B2 (en) Robot cleaner and controlling method thereof
CN116685870A (en) Electronic apparatus and control method thereof
CN109035390B (en) Modeling method and device based on laser radar
CN114236504A (en) dToF-based detection system and light source adjusting method thereof
CN113688900A (en) Radar and visual data fusion processing method, road side equipment and intelligent traffic system