KR20220117054A - Method for measuring location using wireless communication and electronic device supporting the same - Google Patents

Method for measuring location using wireless communication and electronic device supporting the same Download PDF

Info

Publication number
KR20220117054A
KR20220117054A KR1020210020682A KR20210020682A KR20220117054A KR 20220117054 A KR20220117054 A KR 20220117054A KR 1020210020682 A KR1020210020682 A KR 1020210020682A KR 20210020682 A KR20210020682 A KR 20210020682A KR 20220117054 A KR20220117054 A KR 20220117054A
Authority
KR
South Korea
Prior art keywords
electronic device
angle
distance
positioning result
positioning
Prior art date
Application number
KR1020210020682A
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 KR1020210020682A priority Critical patent/KR20220117054A/en
Priority to PCT/KR2022/002177 priority patent/WO2022177248A1/en
Publication of KR20220117054A publication Critical patent/KR20220117054A/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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0205Details
    • G01S5/021Calibration, monitoring or correction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/02Systems using reflection of radio waves, e.g. primary radar systems; Analogous systems
    • G01S13/0209Systems with very large relative bandwidth, i.e. larger than 10 %, e.g. baseband, pulse, carrier-free, ultrawideband
    • 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
    • G01S3/00Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received
    • G01S3/02Direction-finders for determining the direction from which infrasonic, sonic, ultrasonic, or electromagnetic waves, or particle emission, not having a directional significance, are being received using radio waves
    • G01S3/14Systems for determining direction or deviation from predetermined direction
    • G01S3/46Systems for determining direction or deviation from predetermined direction using antennas spaced apart and measuring phase or time difference between signals therefrom, i.e. path-difference systems
    • 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using 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
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/04Position of source determined by a plurality of spaced direction-finders
    • 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/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/04Display arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • H01Q1/241Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
    • H01Q1/242Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
    • H01Q1/243Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use with built-in antennas

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

An electronic device includes: a communications module supporting ultra-wideband communications; an antenna module electrically connected to the communications module and including a plurality of antennas; a display; and a processor electrically connected to the communications module, the antenna module, and the display, wherein the processor is set to: receive a signal of a frequency band supported by the ultra-wideband communications from an external electronic device using at least two antennas among the antennas; calculate distance data and angle of arrival data corresponding to a positioning result of the external electronic device based on the received signal; and correct the positioning result based on a position where the positioning result is displayed on the display, thereby the electronic device is disclosed. In addition, various embodiments identified through this document are possible.

Description

무선 통신을 이용한 측위 방법 및 이를 지원하는 전자 장치{Method for measuring location using wireless communication and electronic device supporting the same}Positioning method using wireless communication and an electronic device supporting the same

본 발명의 다양한 실시예들은, 무선 통신을 이용한 측위 기술에 관한 것이다.Various embodiments of the present invention relate to positioning technology using wireless communication.

최근 들어, 무선 통신 시스템이 급격하게 발전됨에 따라, 무선 통신을 이용한 서비스의 수요가 늘어나고 무선 통신 모듈을 포함하는 전자 장치의 보급도 늘어나고 있다. 다양한 무선 통신 방식 중 초광대역(ultra-wideband, UWB) 통신을 지원하는 전자 장치는 정밀한 측위 기능을 제공할 수 있다. 예를 들어, 전자 장치는 UWB 통신을 이용한 레인징(ranging) 동작을 통해 외부 전자 장치와의 거리를 측정할 수 있고, 신호의 도래각(angle of arrival, AoA)을 통해 외부 전자 장치의 방향(또는 각도)을 판단(또는 측정)할 수 있다. 또한, 전자 장치는 측정된 외부 전자 장치의 거리 및 방향에 기반하여 외부 전자 장치의 위치를 판단할 수 있고, 외부 전자 장치의 위치에 기반하여 외부 전자 장치의 기능을 제어하거나 외부 전자 장치로 지정된 위치 기반 서비스를 제공할 수 있다.In recent years, as wireless communication systems are rapidly developed, the demand for services using wireless communication has increased, and the spread of electronic devices including wireless communication modules has also increased. An electronic device supporting ultra-wideband (UWB) communication among various wireless communication methods may provide a precise positioning function. For example, the electronic device may measure the distance to the external electronic device through a ranging operation using UWB communication, and the direction ( or angle) can be determined (or measured). In addition, the electronic device may determine the location of the external electronic device based on the measured distance and direction of the external electronic device, and control the function of the external electronic device based on the location of the external electronic device or a location designated as the external electronic device base services can be provided.

한편, UWB 통신을 통한 측위 시, 안테나들 간의 거리에 따른 신호 간섭, 공정 상의 편차, 또는 안테나들과 외부 전자 장치 간의 각도에 따른 실측 오차로 인해 AoA 산출 값에 오차가 존재할 수 있다. 이에 따라, 전자 장치의 공정 과정에서, 상술한 오차를 교정(calibration)하는 절차가 수행될 수 있다.Meanwhile, during positioning through UWB communication, an error may exist in the calculated AoA value due to signal interference according to the distance between antennas, a deviation in a process, or an actual measurement error according to an angle between the antennas and an external electronic device. Accordingly, in the process of the electronic device, a procedure for calibrating the above-described error may be performed.

그러나, 기존의 교정 절차는 측위 기준점을 안테나들의 중심에 맞추고 있어, 외부 전자 장치에 대한 측위 결과는 측위 결과가 표시되는 위치에 따라 오차가 발생할 수 있다. 예를 들어, UWB 안테나를 기준으로 외부 전자 장치의 거리 및 방향이 측정되기 때문에, 측위 결과가 표시되는 디스플레이와 안테나 간의 거리만큼 표시되는 측위 결과에 오차가 존재할 수 있다. 특히, 폴더블(foldable), 슬라이더블(slidable) 또는 롤러블(rollable) 타입과 같이, 디스플레이의 표시 영역이 가변되는 전자 장치의 경우, 디스플레이와 안테나 간의 거리도 가변될 수 있기 때문에, 측위 결과에 대한 오차로 인해 정밀한 측위 기능을 제공하지 못할 수 있다.However, since the existing calibration procedure aligns the positioning reference point with the center of the antennas, an error may occur in the positioning result for the external electronic device depending on the position where the positioning result is displayed. For example, since the distance and direction of the external electronic device are measured based on the UWB antenna, an error may exist in the positioning result displayed by the distance between the display and the antenna on which the positioning result is displayed. In particular, in the case of an electronic device in which the display area of the display is variable, such as a foldable, slideable, or rollable type, the distance between the display and the antenna may also vary, so that the positioning result is not affected. It may not be possible to provide a precise positioning function due to an error.

본 발명의 다양한 실시예들은, 측위 결과가 표시되는 위치에 기반하여 측위 결과를 보정하는 무선 통신을 이용한 측위 방법 및 이를 지원하는 전자 장치를 제공할 수 있다.Various embodiments of the present disclosure may provide a positioning method using wireless communication for correcting a positioning result based on a position where the positioning result is displayed, and an electronic device supporting the same.

본 발명의 다양한 실시예에 따른 전자 장치는, 초광대역 통신을 지원하는 통신 모듈, 상기 통신 모듈과 전기적으로 연결되고, 복수의 안테나를 포함하는 안테나 모듈, 디스플레이, 및 상기 통신 모듈, 상기 안테나 모듈 및 상기 디스플레이와 전기적으로 연결된 프로세서를 포함하고, 상기 프로세서는, 상기 복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 상기 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하고, 상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하고, 상기 디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a communication module supporting ultra-wideband communication, an antenna module electrically connected to the communication module and including a plurality of antennas, a display, and the communication module, the antenna module and a processor electrically connected to the display, wherein the processor receives a signal of a frequency band supported by the ultra-wideband communication from an external electronic device using at least two antennas among the plurality of antennas, It may be set to calculate distance data and angle of arrival data corresponding to the positioning result of the external electronic device based on a signal, and correct the positioning result based on a position where the positioning result is displayed on the display .

또한, 본 발명의 다양한 실시예에 따른 전자 장치의 무선 통신을 이용한 측위 방법은, 복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하는 동작, 상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하는 동작, 및 디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하는 동작을 포함할 수 있다.In addition, in the positioning method using wireless communication of an electronic device according to various embodiments of the present disclosure, a signal of a frequency band supported by ultra-wideband communication is received from an external electronic device using at least two antennas among a plurality of antennas. operation, calculating distance data and angle of arrival data corresponding to the positioning result of the external electronic device based on the received signal, and calculating the positioning result based on the position at which the positioning result is displayed on a display It may include an operation to correct.

본 발명의 다양한 실시예들에 따르면, 측위 결과가 표시되는 위치에 기반하여 측위 결과를 보정함으로써, 정밀한 측위 기능을 제공할 수 있다.According to various embodiments of the present disclosure, a precise positioning function may be provided by correcting the positioning result based on the position at which the positioning result is displayed.

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

도 1은 다양한 실시예들에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 무선 통신을 이용한 측위 기능을 제공하는 전자 장치의 구성을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 안테나들의 위치에 기반하여 측위 기준점을 맞추는 방법을 설명하기 위한 도면이다.
도 4는 본 발명의 일 실시예에 따른 디스플레이 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.
도 5는 본 발명의 일 실시예에 따른 어플리케이션 실행 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.
도 6은 본 발명의 일 실시예에 따른 디스플레이의 표시 영역이 가변되는 전자 장치에서 디스플레이 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.
도 7은 본 발명의 일 실시예에 따른 디스플레이의 표시 영역이 가변되는 전자 장치에서 어플리케이션 실행 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.
도 8은 본 발명의 일 실시예에 따른 측위 결과가 표시되는 위치에 기반하여 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이다.
도 9는 본 발명의 일 실시예에 따른 전자 장치가 제1 방향일 때 사용되는 안테나들의 위치 및 측위 결과가 표시되는 위치에 기반하여 보상 거리를 산출하는 방법을 설명하기 위한 도면이다.
도 10은 본 발명의 일 실시예에 따른 전자 장치가 제2 방향일 때 사용되는 안테나들의 위치 및 측위 결과가 표시되는 위치에 기반하여 보상 거리를 산출하는 방법을 설명하기 위한 도면이다.
도 11은 본 발명의 일 실시예에 따른 폴더블 타입의 전자 장치에서 폴딩 각도가 90도일 때의 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이다.
도 12는 본 발명의 일 실시예에 따른 폴더블 타입의 전자 장치에서 폴딩 각도에 따른 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
2 is a diagram for explaining the configuration of an electronic device that provides a positioning function using wireless communication according to an embodiment of the present invention.
3 is a diagram for explaining a method of matching a positioning reference point based on the positions of antennas according to an embodiment of the present invention.
4 is a diagram for explaining a method of correcting a positioning result based on a center position of a display screen according to an embodiment of the present invention.
5 is a diagram for explaining a method of correcting a positioning result based on a center position of an application execution screen according to an embodiment of the present invention.
6 is a diagram for explaining a method of correcting a positioning result based on a central position of a display screen in an electronic device in which a display area of a display is variable according to an embodiment of the present invention.
7 is a diagram for explaining a method of correcting a positioning result based on a central position of an application execution screen in an electronic device in which a display area of a display is variable according to an embodiment of the present invention.
8 is a diagram for explaining a method of correcting an AoA calculated value based on a position where a positioning result is displayed according to an embodiment of the present invention.
9 is a diagram for explaining a method of calculating a compensation distance based on positions of antennas used when an electronic device is in a first direction and a position at which a positioning result is displayed, according to an embodiment of the present invention.
10 is a diagram for describing a method of calculating a compensation distance based on positions of antennas used when an electronic device is in a second direction and a position at which a positioning result is displayed, according to an embodiment of the present invention.
11 is a diagram for explaining a method of correcting an AoA calculated value when a folding angle is 90 degrees in a foldable electronic device according to an embodiment of the present invention.
12 is a view for explaining a method of correcting an AoA calculated value according to a folding angle in a foldable type electronic device according to an embodiment of the present invention.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시예들이 설명된다. 설명의 편의를 위하여 도면에 도시된 구성요소들은 그 크기가 과장 또는 축소될 수 있으며, 본 발명이 반드시 도시된 바에 의해 한정되는 것은 아니다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. For convenience of description, the size of the components shown in the drawings may be exaggerated or reduced, and the present invention is not necessarily limited to the illustrated bar.

도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1 , in a network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with at least one of the electronic device 104 and the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input module 150 , a sound output module 155 , a display module 160 , an audio module 170 , and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or an antenna module 197 . In some embodiments, at least one of these components (eg, the connection terminal 178 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components (eg, sensor module 176 , camera module 180 , or antenna module 197 ) are integrated into one component (eg, display module 160 ). can be

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, a program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can control and perform various data processing or operations. According to one embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190 ) to the volatile memory 132 . may be stored in , process commands or data stored in the volatile memory 132 , and store the result data in the non-volatile memory 134 . According to an embodiment, the processor 120 is a main processor 121 (eg, a central processing unit or an application processor) or a secondary processor 123 (eg, a graphic processing unit, a neural network processing unit) a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, when the electronic device 101 includes the main processor 121 and the sub-processor 123 , the sub-processor 123 uses less power than the main processor 121 or is set to be specialized for a specified function. can The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The secondary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display module 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the coprocessor 123 (eg, an image signal processor or a communication processor) may be implemented as part of another functionally related component (eg, the camera module 180 or the communication module 190). have. According to an embodiment, the auxiliary processor 123 (eg, a neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. Artificial intelligence models can be created through machine learning. Such learning may be performed, for example, in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 108). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but in the above example not limited The artificial intelligence model may include a plurality of artificial neural network layers. Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the above example. The artificial intelligence model may include, in addition to, or alternatively, a software structure in addition to the hardware structure.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .

프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The input module 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input module 150 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).

음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output a sound signal to the outside of the electronic device 101 . The sound output module 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display module 160 may include, for example, a control circuit for controlling a display, a hologram device, or a projector and a corresponding device. According to an embodiment, the display module 160 may include a touch sensor configured to sense a touch or a pressure sensor configured to measure the intensity of a force generated by the touch.

오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input module 150 or an external electronic device (eg, a sound output module 155 ) directly or wirelessly connected to the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to one embodiment, battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication performance through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to one embodiment, the communication module 190 is a wireless communication module 192 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). A corresponding communication module among these communication modules is a first network 198 (eg, a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (eg, legacy It may communicate with the external electronic device 104 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (eg, a telecommunication network such as a LAN or a WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified or authenticated.

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support a 5G network after a 4G network and a next-generation communication technology, for example, a new radio access technology (NR). NR access technology includes high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency) -latency communications)). The wireless communication module 192 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example. The wireless communication module 192 uses various techniques for securing performance in a high-frequency band, for example, beamforming, massive multiple-input and multiple-output (MIMO), all-dimensional multiplexing. It may support technologies such as full dimensional MIMO (FD-MIMO), an array antenna, analog beam-forming, or a large scale antenna. The wireless communication module 192 may support various requirements defined in the electronic device 101 , an external electronic device (eg, the electronic device 104 ), or a network system (eg, the second network 199 ). According to an embodiment, the wireless communication module 192 may include a peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency for realizing URLLC ( Example: Downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, a radio frequency integrated circuit (RFIC)) other than the radiator may be additionally formed as a part of the antenna module 197 .

다양한 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module 197 may form a mmWave antenna module. According to one embodiment, the mmWave antenna module comprises a printed circuit board, an RFIC disposed on or adjacent to a first side (eg, bottom side) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, an array antenna) disposed on or adjacent to a second side (eg, top or side) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and a signal ( e.g. commands or data) can be exchanged with each other.

일 실시예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 or 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or a part of operations executed in the electronic device 101 may be executed in one or more external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. One or more external electronic devices that have received the request may execute at least a part of the requested function or service, or an additional function or service related to the request, and transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of things (IoT) device. The server 108 may be an intelligent server using machine learning and/or neural networks. According to an embodiment, the external electronic device 104 or the server 108 may be included in the second network 199 . The electronic device 101 may be applied to an intelligent service (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.

도 2는 본 발명의 일 실시예에 따른 무선 통신을 이용한 측위 기능을 제공하는 전자 장치의 구성을 설명하기 위한 도면이다.2 is a diagram for explaining the configuration of an electronic device that provides a positioning function using wireless communication according to an embodiment of the present invention.

전자 장치(200)(예: 도 1의 전자 장치(101))는 무선 통신을 이용한 측위 기능을 제공할 수 있다. 예를 들어, 전자 장치(200)는 UWB 통신을 이용한 레인징 동작을 통해 외부 전자 장치(예: 도 1의 전자 장치(102) 또는 전자 장치(104))와의 거리를 측정할 수 있고, 신호의 도래각(AoA)을 통해 외부 전자 장치의 방향(또는 각도)을 판단(또는 측정)할 수 있다. 여기서, UWB 통신은 기저대역 상태에서 넓은 주파수 대역, 낮은 스펙트럼 밀도, 짧은 펄스 폭을 이용한 단거리 고속 무선 통신을 의미할 수 있다. 예를 들어, UWB 통신의 주파수 대역은, 3GHz 대역(예: 약 3.735GHz 내지 4.8GHz), 6GHz 대역(예: 약 6.0GHz 내지 7.2GHz) 및/또는 7GHz 대역(예: 약 7.2GHz 내지 10.2GHz)을 포함할 수 있다. 또한, 상기 신호의 도래각은 신호를 수신하는 둘 이상의 안테나들 간의 거리 및 안테나들 각각에서 수신하는 신호의 위상차(phase difference of arrival, PDoA)를 이용하여 산출될 수 있다. 상기 도래각, 상기 안테나들 간의 거리 및 상기 신호의 위상차 간의 관계는 후술하는 수학식들에 의해 정의될 수 있다.The electronic device 200 (eg, the electronic device 101 of FIG. 1 ) may provide a positioning function using wireless communication. For example, the electronic device 200 may measure a distance to an external electronic device (eg, the electronic device 102 or the electronic device 104 of FIG. 1 ) through a ranging operation using UWB communication, and The direction (or angle) of the external electronic device may be determined (or measured) through the angle of arrival AoA. Here, UWB communication may mean short-range high-speed wireless communication using a wide frequency band, low spectral density, and short pulse width in a baseband state. For example, the frequency band of UWB communication is a 3 GHz band (eg, about 3.735 GHz to 4.8 GHz), a 6 GHz band (eg, about 6.0 GHz to 7.2 GHz) and/or a 7 GHz band (eg, about 7.2 GHz to 10.2 GHz) ) may be included. Also, the angle of arrival of the signal may be calculated using a distance between two or more antennas for receiving a signal and a phase difference of arrival (PDoA) of a signal received from each of the antennas. The relationship between the angle of arrival, the distance between the antennas, and the phase difference of the signal may be defined by the following equations.

일 실시예에 따르면, 전자 장치(200)는 UWB 통신을 이용한 외부 전자 장치의 측위 결과(예: 거리 및 도래각)를 상기 측위 결과가 표시되는 위치에 기반하여 보정할 수 있다. 상기 측위 결과가 표시되는 위치는 예를 들어, 디스플레이 화면의 중심 위치 또는 어플리케이션 실행 화면의 중심 위치를 포함할 수 있다. 디스플레이의 표시 영역이 가변되는 전자 장치(예: 폴더블, 슬라이더블 또는 롤러블 타입의 전자 장치)의 경우, 상기 표시 영역의 변화에 따라 상기 측위 결과가 표시되는 위치도 변할 수 있기 때문에, 전자 장치(200)는 센서 모듈(280)을 통해 상기 표시 영역의 변화를 실시간으로 감지할 수 있다. 또한, 전자 장치(200)는 상기 표시 영역의 변화에 기반하여 상기 측위 결과가 표시되는 위치를 판단하고, 상기 측위 결과가 표시되는 위치에 기반하여 상기 측위 결과를 보정할 수 있다.According to an embodiment, the electronic device 200 may correct a positioning result (eg, a distance and an angle of arrival) of an external electronic device using UWB communication based on a position at which the positioning result is displayed. The position at which the positioning result is displayed may include, for example, a central position of a display screen or a central position of an application execution screen. In the case of an electronic device in which the display area of the display is variable (eg, a foldable, slideable, or rollable type electronic device), since the position at which the positioning result is displayed may also change according to the change in the display area, the electronic device 200 may sense a change in the display area in real time through the sensor module 280 . Also, the electronic device 200 may determine a position where the positioning result is displayed based on the change in the display area, and correct the positioning result based on the position where the positioning result is displayed.

상술한 기능을 지원하기 위한 전자 장치(200)는, 도 2를 참조하면, 통신 모듈(210)(예: 도 1의 통신 모듈(190)), 안테나 모듈(220)(예: 도 1의 안테나 모듈(197)), 프로세서(230)(예: 도 1의 프로세서(120)), 디스플레이(240)(예: 도 1의 디스플레이 모듈(160)), 메모리(250)(예: 도 1의 메모리(130)), 측위 모듈(260), 및 측위 정보 보정 모듈(270)을 포함할 수 있다. 그러나, 전자 장치(200)의 구성이 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 전자 장치(200)는 상술한 구성요소들 외에 적어도 하나의 다른 구성요소를 더 포함할 수 있다. 일 실시예에 따르면, 전자 장치(200)는 센서 모듈(280)을 더 포함할 수 있다.Referring to FIG. 2 , the electronic device 200 for supporting the above-described function includes a communication module 210 (eg, the communication module 190 of FIG. 1 ) and an antenna module 220 (eg, the antenna of FIG. 1 ). module 197 ), processor 230 (eg, processor 120 of FIG. 1 ), display 240 (eg, display module 160 of FIG. 1 ), memory 250 (eg, memory of FIG. 1 ) 130 ), a positioning module 260 , and a positioning information correction module 270 . However, the configuration of the electronic device 200 is not limited thereto. According to various embodiments, the electronic device 200 may further include at least one other component in addition to the above-described components. According to an embodiment, the electronic device 200 may further include a sensor module 280 .

상기 통신 모듈(210)은 전자 장치(200)와 외부 전자 장치 간의 통신을 지원할 수 있다. 예를 들어, 상기 통신 모듈(210)은 외부 전자 장치와 규정된 통신 프로토콜에 따른 무선 통신(예: UWB 통신)을 수립하고, 상기 무선 통신이 지원하는 주파수 대역을 이용하여 신호 또는 데이터를 송수신할 수 있다. 상기 통신 모듈(210)은 외부 전자 장치(예: 도 1의 외부 전자 장치(102))와 무선 통신에 사용될 대역 중, UWB 통신에 사용되도록 지정된 주파수 대역(예: 3GHz 대역(예: 약 3.735GHz 내지 4.8GHz), 6GHz 대역(예: 약 6.0GHz 내지 7.2GHz) 및/또는 7GHz 대역(예: 약 7.2GHz 내지 10.2GHz))에 대응하는 UWB 통신 채널(또는, UWB 세션(session))의 수립을 지원할 수 있다. 상기 통신 모듈(210)은 UWB 통신 채널을 통한 외부 전자 장치와의 UWB 통신을 지원할 수 있다. 상기 통신 모듈(210)은, 송신 시에, 프로세서(230)(예: 어플리케이션 프로세서 및/또는 커뮤니케이션 프로세서)에 의해 생성된 기저대역 신호를 UWB 대역의 RF 신호로 변환하여 상기 안테나 모듈(220)(예: UWB 안테나)을 통해 외부로 전송할 수 있다. 상기 통신 모듈(210)은, 수신 시에, UWB 대역의 RF 신호를 상기 안테나 모듈(220)(예: UWB 안테나)을 통해 획득하고, 획득된 RF 신호를 기저대역 신호로 변환하여 상기 프로세서(230)로 전송할 수 있다.The communication module 210 may support communication between the electronic device 200 and an external electronic device. For example, the communication module 210 establishes wireless communication (eg, UWB communication) with an external electronic device according to a prescribed communication protocol, and transmits/receives signals or data using a frequency band supported by the wireless communication. can The communication module 210 includes a frequency band (eg, a 3 GHz band (eg, about 3.735 GHz) designated to be used for UWB communication among bands to be used for wireless communication with an external electronic device (eg, the external electronic device 102 of FIG. 1 ). to 4.8 GHz), 6 GHz band (eg, about 6.0 GHz to 7.2 GHz) and/or 7 GHz band (eg, about 7.2 GHz to 10.2 GHz)) corresponding UWB communication channel (or UWB session) establishment can support The communication module 210 may support UWB communication with an external electronic device through a UWB communication channel. The communication module 210 converts the baseband signal generated by the processor 230 (eg, an application processor and/or a communication processor) into an RF signal of the UWB band during transmission to the antenna module 220 ( Ex: UWB antenna) can be transmitted to the outside. The communication module 210, upon reception, obtains an RF signal of a UWB band through the antenna module 220 (eg, a UWB antenna), converts the obtained RF signal into a baseband signal, and then converts the obtained RF signal into a baseband signal to the processor 230 ) can be transmitted.

상기 안테나 모듈(220)은 외부 전자 장치와 신호 또는 데이터를 송수신할 수 있다. 일 실시예에 따르면, 상기 안테나 모듈(220)은 복수의 안테나를 포함할 수 있고, 상기 복수의 안테나 중 근거리 통신 네트워크 또는 원거리 통신 네트워크에서 이용되는 통신 방식에 적합한 적어도 하나의 안테나가 상기 통신 모듈(210)(또는, 상기 프로세서(230))에 의해 선택되어 동작할 수 있다. 일 실시예에 따르면, 상기 안테나 모듈(220)은 적어도 하나의 RF 신호 송신용 안테나와 적어도 하나의 RF 신호 수신용 안테나를 포함할 수 있다. 다른 예를 들어, 상기 안테나 모듈(220)은 RF 신호 송수신용 안테나를 적어도 하나 이상 포함할 수 있다. 일 실시예에 따르면, 상기 안테나 모듈(220)은 외부 전자 장치로부터 UWB 신호(UWB 대역의 RF 신호)를 수신하거나, 상기 외부 전자 장치로 상기 UWB 신호를 송신할 수 있다.The antenna module 220 may transmit/receive signals or data to and from an external electronic device. According to an embodiment, the antenna module 220 may include a plurality of antennas, and at least one antenna suitable for a communication method used in a short-range communication network or a telecommunication network among the plurality of antennas is selected from the communication module ( 210) (or the processor 230) may select and operate. According to an embodiment, the antenna module 220 may include at least one antenna for transmitting an RF signal and at least one antenna for receiving an RF signal. As another example, the antenna module 220 may include at least one antenna for transmitting and receiving RF signals. According to an embodiment, the antenna module 220 may receive a UWB signal (RF signal of a UWB band) from an external electronic device or transmit the UWB signal to the external electronic device.

상기 프로세서(230)는 전자 장치(200)의 적어도 하나의 다른 구성요소를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 상기 프로세서(230)는 상기 통신 모듈(210), 상기 측위 모듈(260) 및/또는 상기 측위 정보 보정 모듈(270)의 동작들을 제어하기 위한 명령어를 실행할 수 있다. 어떤 실시예에서, 상기 프로세서(230)는 상기 통신 모듈(210), 상기 측위 모듈(260) 및/또는 상기 측위 정보 보정 모듈(270)의 동작들 중 적어도 하나의 동작을 수행할 수도 있다.The processor 230 may control at least one other component of the electronic device 200 and may perform various data processing or operations. According to an embodiment, the processor 230 may execute a command for controlling operations of the communication module 210 , the positioning module 260 , and/or the positioning information correction module 270 . In some embodiments, the processor 230 may perform at least one of the operations of the communication module 210 , the positioning module 260 , and/or the positioning information correction module 270 .

상기 디스플레이(240)는 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘 또는 심볼 등)를 표시할 수 있다. 상기 디스플레이(240)는 터치스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체 일부를 이용한 터치, 제스처, 근접 또는 호버링(hovering) 입력을 수신할 수 있다.The display 240 may display various contents (eg, text, image, video, icon or symbol, etc.) to the user. The display 240 may include a touch screen, and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body.

상기 메모리(250)는 전자 장치(200)의 적어도 하나의 구성요소에 의해 사용되는 다양한 데이터를 저장할 수 있다. 일 실시예에 따르면, 상기 메모리(250)는 상기 통신 모듈(210)을 이용한 서비스를 지원하는 어플리케이션(예: 지도 어플리케이션)을 저장할 수 있다. 일 실시예에 따르면, 상기 메모리(250)는 상기 프로세서(230)에 의해 실행되는 프로세스 또는 응용 프로그램에 의해 사용되는 데이터 또는 명령어를 저장할 수 있다.The memory 250 may store various data used by at least one component of the electronic device 200 . According to an embodiment, the memory 250 may store an application (eg, a map application) supporting a service using the communication module 210 . According to an embodiment, the memory 250 may store data or instructions used by a process executed by the processor 230 or an application program.

상기 측위 모듈(260)은 외부 전자 장치에 대한 측위 기능을 수행할 수 있다. 상기 측위 모듈(260)은 상기 통신 모듈(210)을 통해 외부 전자 장치로부터 수신된 신호에 기반하여 상기 외부 전자 장치와의 거리 및 방향을 판단할 수 있다.The positioning module 260 may perform a positioning function for an external electronic device. The positioning module 260 may determine a distance and a direction from the external electronic device based on a signal received from the external electronic device through the communication module 210 .

일 실시예에 따르면, 상기 측위 모듈(260)은 지정된 레인징 방식(예: TWR(two way ranging))을 이용하여 전자 장치(200)와 상기 외부 전자 장치 사이의 거리 데이터를 획득할 수 있다. 상기 측위 모듈(260)은 상기 안테나 모듈(220)을 통해 UWB 통신 채널이 지원하는 주파수 대역의 제1 RF 신호를 상기 외부 전자 장치로 송신할 수 있다. 예를 들어, 상기 측위 모듈(260)은 거리 측정 요청을 나타내는 폴(poll) 메시지(또는 패킷)가 포함된 상기 제1 RF 신호를 송신할 수 있고, 이 동작에서 상기 제1 RF 신호의 송신 시간을 확인할 수 있다. 상기 제1 RF 신호는 상기 송신 시간으로부터 소정의 비행 시간(ToF(time of flight))이 경과된 후, 상기 외부 전자 장치에 의해 수신될 수 있다. 상기 외부 전자 장치는 상기 제1 RF 신호의 수신에 반응하여, UWB 통신 채널이 지원하는 주파수 대역의 제2 RF 신호를 전자 장치(200)로 송신할 수 있다. 예를 들어, 상기 외부 전자 장치는 상기 제1 RF 신호의 수신 시간으로부터 소정의 응답 시간이 경과된 시간에, 상기 폴 메시지에 대응되는 응답(response) 메시지(또는 패킷)가 포함된 상기 제2 RF 신호를 송신할 수 있다. 이 경우, 상기 측위 모듈(260)은 상기 안테나 모듈(220)을 통해 상기 제2 RF 신호를 수신할 수 있다. 예를 들어, 상기 측위 모듈(260)은 상기 제2 RF 신호의 송신 시간으로부터 소정의 비행 시간이 경과되는 시간에 상기 제2 RF 신호를 수신할 수 있다. 상기 측위 모듈(260)은 상기 제2 RF 신호 수신에 반응하여, 전자 장치(200)와 상기 외부 전자 장치 사이의 RF 신호 왕복 시간을 나타내는 라운드 트립 타입(RTT(round trip time))을 산출할 수 있다. 예를 들어, 상기 측위 모듈(260)은 상기 제1 RF 신호의 송신 시간과 상기 제2 RF 신호의 수신 시간 사이의 차이에 해당하는 RTT를 산출할 수 있고, 상기 RTT에 기초하여 전자 장치(200)와 상기 외부 전자 장치 사이의 거리 데이터를 획득할 수 있다.According to an embodiment, the positioning module 260 may acquire distance data between the electronic device 200 and the external electronic device using a specified ranging method (eg, two way ranging (TWR)). The positioning module 260 may transmit a first RF signal of a frequency band supported by the UWB communication channel to the external electronic device through the antenna module 220 . For example, the positioning module 260 may transmit the first RF signal including a poll message (or packet) indicating a distance measurement request, and in this operation, the transmission time of the first RF signal can confirm. The first RF signal may be received by the external electronic device after a predetermined time of flight (ToF) has elapsed from the transmission time. The external electronic device may transmit a second RF signal of a frequency band supported by the UWB communication channel to the electronic device 200 in response to the reception of the first RF signal. For example, when a predetermined response time elapses from the reception time of the first RF signal, the external electronic device includes the second RF signal including a response message (or packet) corresponding to the poll message. signal can be transmitted. In this case, the positioning module 260 may receive the second RF signal through the antenna module 220 . For example, the positioning module 260 may receive the second RF signal at a time when a predetermined flight time elapses from the transmission time of the second RF signal. The positioning module 260 may calculate a round trip type (RTT) indicating a round trip time of an RF signal between the electronic device 200 and the external electronic device in response to receiving the second RF signal. have. For example, the positioning module 260 may calculate an RTT corresponding to a difference between a transmission time of the first RF signal and a reception time of the second RF signal, and based on the RTT, the electronic device 200 ) and the distance data between the external electronic device may be acquired.

일 실시예에 따르면, 상기 측위 모듈(260)은 상기 통신 모듈(210)을 통해 외부 전자 장치로부터 수신된 RF 신호에 기반하여 상기 RF 신호의 위상차(PDoA)를 획득할 수 있고, 상기 위상차를 이용하여 상기 RF 신호에 대한 도래각(AoA) 데이터를 획득할 수 있다. 또한, 상기 측위 모듈(260)은 상기 도래각 데이터에 기반하여 상기 외부 전자 장치의 방향을 판단할 수 있다. 상기 측위 모듈(260)은 상기 안테나 모듈(220)에 포함된 복수 개의 안테나들 각각을 통해 상기 외부 전자 장치로부터 RF 신호를 수신할 수 있다. 상기 측위 모듈(260)은 상기 안테나들 각각을 통해 수신된 상기 RF 신호의 위상차를 산출할 수 있다. 여기서, 상기 안테나들 간의 거리(d)가 다음의 수학식 1에 의해 정의될 때, 상기 RF 신호의 위상차는 다음의 수학식 2에 의해 산출될 수 있다.According to an embodiment, the positioning module 260 may acquire a phase difference (PDoA) of the RF signal based on an RF signal received from an external electronic device through the communication module 210 , and using the phase difference Thus, angle of arrival (AoA) data for the RF signal may be obtained. Also, the positioning module 260 may determine the direction of the external electronic device based on the angle of arrival data. The positioning module 260 may receive an RF signal from the external electronic device through each of the plurality of antennas included in the antenna module 220 . The positioning module 260 may calculate the phase difference of the RF signal received through each of the antennas. Here, when the distance d between the antennas is defined by Equation 1 below, the phase difference of the RF signal may be calculated by Equation 2 below.

Figure pat00001
Figure pat00001

여기서,

Figure pat00002
는 안테나들 간의 거리를 나타내고,
Figure pat00003
는 신호의 파장을 나타내며,
Figure pat00004
는 정규화 인자를 나타낼 수 있다.here,
Figure pat00002
represents the distance between the antennas,
Figure pat00003
represents the wavelength of the signal,
Figure pat00004
may represent a normalization factor.

Figure pat00005
Figure pat00005

여기서,

Figure pat00006
는 RF 신호의 위상차를 나타내고,
Figure pat00007
Figure pat00008
는 각각 제1 안테나 및 제2 안테나에서 수신한 RF 신호의 위상을 나타내며,
Figure pat00009
는 RF 신호의 도래각을 나타낼 수 있다.here,
Figure pat00006
represents the phase difference of the RF signal,
Figure pat00007
and
Figure pat00008
represents the phase of the RF signal received by the first antenna and the second antenna, respectively,
Figure pat00009
may represent the angle of arrival of the RF signal.

상기 측위 정보 보정 모듈(270)은 상기 측위 모듈(260)을 통한 측위 결과를 보정할 수 있다. 일 실시예에 따르면, 상기 측위 정보 보정 모듈(270)은 상기 RF 신호를 수신하는 안테나들의 위치에 기반하여 산출된 정합치를 이용하여 상기 측위 결과를 보정할 수 있다. 상기 정합치는 예컨대, 상기 RF 신호를 수신하는 안테나들과 상기 외부 전자 장치 간의 각도가 기준 각도(예: 0도)일 때의 정합을 위해 사용될 수 있다. 예컨대, 상기 정합치는 측위 기준점을 안테나들의 중심에 맞추기 위한 값일 수 있다. 상기 정합치는 상기 RF 신호를 수신하는 안테나들 간의 거리에 따른 신호 간섭, 공정 상의 편차, 또는 상기 안테나들과 상기 외부 전자 장치 간의 각도에 따른 실측 오차로 발생할 수 있는 상기 측위 결과의 오차를 보정하기 위한 값을 포함할 수 있다. 일 실시예에 따르면, 상기 정합치는 상기 전자 장치(200)의 공정 과정에서 획득할 수 있으며, 상기 메모리(250)에 저장될 수 있다. 상기 안테나들의 위치에 기반하여 산출된 정합치를 이용하여 상기 측위 결과를 보정하는 방법에 대해서는 도 3에서 자세히 설명하도록 한다.The positioning information correction module 270 may correct a positioning result through the positioning module 260 . According to an embodiment, the positioning information correction module 270 may correct the positioning result using a matching value calculated based on positions of antennas receiving the RF signal. The matching value may be used, for example, for matching when an angle between the antennas receiving the RF signal and the external electronic device is a reference angle (eg, 0 degrees). For example, the matching value may be a value for aligning the positioning reference point with the center of the antennas. The matching value is for correcting an error in the positioning result that may occur due to signal interference according to a distance between antennas receiving the RF signal, a deviation in process, or an actual measurement error according to an angle between the antennas and the external electronic device. It can contain values. According to an embodiment, the matching value may be obtained during a process of the electronic device 200 and may be stored in the memory 250 . A method of correcting the positioning result using a matching value calculated based on the positions of the antennas will be described in detail with reference to FIG. 3 .

일 실시예에 따르면, 상기 측위 정보 보정 모듈(270)은 상기 측위 모듈(260)을 통한 측위 결과 또는 상기 측위 정보 보정 모듈(270)을 통해 상기 정합치가 적용된 상기 측위 결과를 상기 측위 결과가 표시되는 위치에 기반하여 보정할 수 있다. 상기 측위 결과가 표시되는 위치는 예를 들어, 상기 디스플레이(240) 화면의 중심 위치 또는 어플리케이션 실행 화면의 중심 위치를 포함할 수 있다. 디스플레이(240)의 표시 영역이 가변되는 전자 장치(예: 폴더블, 슬라이더블 또는 롤러블 타입의 전자 장치)의 경우, 상기 표시 영역의 변화에 따라 상기 측위 결과가 표시되는 위치도 변할 수 있기 때문에, 상기 측위 정보 보정 모듈(270)은 상기 표시 영역의 변화에 기반하여 상기 측위 결과가 표시되는 위치를 판단하고, 상기 측위 결과가 표시되는 위치에 기반하여 상기 측위 결과를 보정할 수 있다. 상기 측위 결과가 표시되는 위치에 기반하여 상기 측위 결과를 보정하는 방법에 대해서는 도 4 내지 도 12에서 자세히 설명하도록 한다.According to an embodiment, the positioning information correction module 270 displays the positioning result using the positioning result through the positioning module 260 or the positioning result to which the matching value is applied through the positioning information correction module 270. It can be calibrated based on position. The position at which the positioning result is displayed may include, for example, a central position of a screen of the display 240 or a central position of an application execution screen. In the case of an electronic device in which the display area of the display 240 is variable (eg, a foldable, slideable, or rollable type electronic device), the position at which the positioning result is displayed may also change according to the change in the display area. , the positioning information correction module 270 may determine a position at which the positioning result is displayed based on a change in the display area, and correct the positioning result based on the position at which the positioning result is displayed. A method of correcting the positioning result based on the position at which the positioning result is displayed will be described in detail with reference to FIGS. 4 to 12 .

일 실시예에 따르면, 상기 측위 모듈(260) 및 상기 측위 정보 보정 모듈(270)은 하드웨어 모듈(예: 회로(circuitry))로 이해될 수 있지만, 이에 한정되지 않는다. 예를 들어, 상기 측위 모듈(260) 및 상기 측위 정보 보정 모듈(270) 중 적어도 하나는 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. 일 실시예에 따르면, 상기 측위 모듈(260) 및 상기 측위 정보 보정 모듈(270) 중 적어도 하나는 상기 프로세서(230)에 포함되는 구성 요소 또는 상기 프로세서(230)에 의해 읽을 수 있는 저장 매체(storage medium)(예: 메모리(250))에 저장된 하나 이상의 인스트럭션들(instructions)을 포함하는 소프트웨어(예: 도 1의 프로그램(140))로서 구현될 수 있다. 일 실시예에 따르면, 상기 측위 모듈(260) 및 상기 측위 정보 보정 모듈(270) 중 적어도 하나에서 수행하는 동작들은, 상기 메모리(250)에 저장되고, 실행 시에, 상기 프로세서(230)가 동작하도록 하는 인스트럭션들에 의해 실행될 수 있다.According to an embodiment, the positioning module 260 and the positioning information correction module 270 may be understood as hardware modules (eg, circuitry), but are not limited thereto. For example, at least one of the positioning module 260 and the positioning information correction module 270 may include a software structure in addition to or in addition to a hardware structure. According to an embodiment, at least one of the positioning module 260 and the positioning information correction module 270 may include a component included in the processor 230 or a storage medium readable by the processor 230 . medium) (eg, the memory 250) and may be implemented as software (eg, the program 140 of FIG. 1) including one or more instructions. According to an embodiment, the operations performed by at least one of the positioning module 260 and the positioning information correction module 270 are stored in the memory 250, and when executed, the processor 230 operates It can be executed by instructions to do so.

상기 센서 모듈(280)은 상기 디스플레이(240)의 표시 영역의 변화를 감지할 수 있다. 일 실시예에 따르면, 상기 전자 장치(200)가 폴더블 타입의 전자 장치일 때, 상기 센서 모듈(280)은 상기 디스플레이(240)가 안착되는 하우징의 폴딩 각도 또는 상기 디스플레이(240)의 폴딩 각도를 측정할 수 있다. 예를 들어, 상기 센서 모듈(280)은 자이로 센서 또는 근접 센서 중 적어도 하나를 포함할 수 있다. 다른 실시예에 따르면, 상기 전자 장치(200)가 슬라이더블 타입 또는 롤러블 타입의 전자 장치일 때, 상기 센서 모듈(280)은 상기 디스플레이(240)가 안착되는 하우징의 슬라이딩 거리 또는 상기 디스플레이(240)의 슬라이딩 거리를 측정할 수 있다. 예를 들어, 상기 센서 모듈(280)은 근접 센서를 포함할 수 있다. 상기 센서 모듈(280)을 통해 측정된 값(예: 폴딩 각도 또는 슬라이딩 거리)은 측위 결과가 표시되는 위치에 따른 측위 결과의 보정 값을 산출할 때 이용될 수 있다.The sensor module 280 may detect a change in the display area of the display 240 . According to an embodiment, when the electronic device 200 is a foldable type electronic device, the sensor module 280 may have a folding angle of a housing on which the display 240 is seated or a folding angle of the display 240 . can be measured. For example, the sensor module 280 may include at least one of a gyro sensor and a proximity sensor. According to another embodiment, when the electronic device 200 is a slideable type or a rollable type electronic device, the sensor module 280 determines a sliding distance of a housing on which the display 240 is seated or the display 240 . ) of the sliding distance can be measured. For example, the sensor module 280 may include a proximity sensor. A value (eg, a folding angle or a sliding distance) measured through the sensor module 280 may be used to calculate a correction value of the positioning result according to a position where the positioning result is displayed.

도 3은 본 발명의 일 실시예에 따른 안테나들의 위치에 기반하여 측위 기준점을 맞추는 방법을 설명하기 위한 도면이다.3 is a diagram for explaining a method of matching a positioning reference point based on the positions of antennas according to an embodiment of the present invention.

도 3을 참조하면, 전자 장치(예: 전자 장치(200))는 측위를 위한 RF 신호를 송수신하는 복수 개의 안테나(예: 안테나 모듈(220))를 포함할 수 있다. 상기 복수 개의 안테나는 예를 들어, 도 3에 도시된 바와 같이, 제1 안테나(P1)(310), 제2 안테나(P2)(320), 및 제3 안테나(P3)(330)를 포함할 수 있다. 그러나, 안테나의 개수가 이에 한정되는 것은 아니다.Referring to FIG. 3 , the electronic device (eg, the electronic device 200 ) may include a plurality of antennas (eg, the antenna module 220 ) for transmitting and receiving RF signals for positioning. The plurality of antennas may include, for example, a first antenna P1 310 , a second antenna P2 320 , and a third antenna P3 330 as shown in FIG. 3 . can However, the number of antennas is not limited thereto.

일 실시예에 따르면, 측위 모듈(예: 측위 모듈(260))은 전자 장치의 방향에 기반하여 상기 복수 개의 안테나 중 측위에 사용하는 안테나를 결정할 수 있다. 일 예로, 상기 측위 모듈은 상기 전자 장치의 방향이 제1 방향(예: 가로 방향 또는 가로 모드(landscape mode))인 경우, 실질적으로 상기 제1 방향으로 나란하게 배치된 상기 제1 안테나(310) 및 상기 제3 안테나(330)를 이용하여 외부 전자 장치에 대한 측위 기능을 수행할 수 있다. 다른 예로, 상기 측위 모듈은 상기 전자 장치의 방향이 제2 방향(예: 세로 방향 또는 세로 모드(portrait mode))인 경우, 실질적으로 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나(310) 및 상기 제2 안테나(320)를 이용하여 외부 전자 장치에 대한 측위 기능을 수행할 수 있다.According to an embodiment, the positioning module (eg, the positioning module 260 ) may determine an antenna used for positioning among the plurality of antennas based on the direction of the electronic device. For example, in the positioning module, when the direction of the electronic device is a first direction (eg, a horizontal direction or a landscape mode), the first antenna 310 substantially parallel to the first direction and a positioning function for an external electronic device may be performed using the third antenna 330 . As another example, when the direction of the electronic device is a second direction (eg, a vertical direction or a portrait mode), the positioning module may include the first antenna 310 substantially parallel to the second direction. and a positioning function for an external electronic device may be performed using the second antenna 320 .

일 실시예에 따르면, 상기 측위 모듈은 측위에 사용하는 안테나들의 중심점에 기반하여 측위 기준점을 설정할 수 있다. 상기 측위 모듈은 상기 제1 안테나(310)의 제1 중심점(p1)(301)과 상기 제3 안테나(330)의 제3 중심점(p3)(303)에 기반하여, 상기 제1 안테나(310)와 상기 제3 안테나(330) 사이의 제4 중심점(p13xy)(304)을 산출할 수 있고, 상기 제4 중심점(304)을 지나면서 상기 제1 중심점(301)과 상기 제3 중심점(303)을 잇는 선에 수직한 제1 직선(305)을 산출할 수 있다. 또한, 상기 측위 모듈은 상기 제1 안테나(310)의 제1 중심점(p1)(301)과 상기 제2 안테나(320)의 제2 중심점(p2)(302)에 기반하여, 상기 제1 안테나(310)와 상기 제2 안테나(320) 사이의 제5 중심점(p12xy)(306)을 산출할 수 있고, 상기 제5 중심점(306)을 지나면서 상기 제1 중심점(301)과 상기 제2 중심점(302)을 잇는 선에 수직한 제2 직선(307)을 산출할 수 있다. 여기서, 상기 제1 직선(305) 상의 지점들은 상기 제1 안테나(310)와 상기 제3 안테나(330)를 이용한 측위 시 기준 각도(예: 0도)에 대응되는 지점들일 수 있고, 상기 제2 직선(307) 상의 지점들은 상기 제1 안테나(310)와 상기 제2 안테나(320)를 이용한 측위 시 기준 각도(예: 0도)에 대응되는 지점들일 수 있다. 일 실시예에 따르면, 상기 측위 모듈은 상기 제1 직선(305)과 상기 제2 직선(307)이 교차하는 지점(c)(308)을 측위 기준점으로 설정할 수 있다. 예를 들어, 상기 측위 모듈은 상기 제1 안테나(310)와 상기 제3 안테나(330)를 이용한 측위 시 기준 각도(예: 0도)에 대응되는 지점과 상기 제1 안테나(310)와 상기 제2 안테나(320)를 이용한 측위 시 기준 각도(예: 0도)에 대응되는 지점을 모두 만족하는 지점(308)을 측위 기준점으로 설정할 수 있다.According to an embodiment, the positioning module may set a positioning reference point based on a center point of antennas used for positioning. The positioning module is based on the first center point p1 (301) of the first antenna 310 and the third center point (p3) 303 of the third antenna 330, the first antenna 310 A fourth center point p13xy 304 between the and the third antenna 330 can be calculated, and the first center point 301 and the third center point 303 pass through the fourth center point 304 . A first straight line 305 perpendicular to the line connecting . In addition, the positioning module is based on the first center point (p1) 301 of the first antenna 310 and the second center point (p2) 302 of the second antenna 320, the first antenna ( A fifth center point p12xy 306 between 310 ) and the second antenna 320 can be calculated, and the first center point 301 and the second center point ( A second straight line 307 perpendicular to the line connecting 302 may be calculated. Here, the points on the first straight line 305 may be points corresponding to a reference angle (eg, 0 degrees) when positioning using the first antenna 310 and the third antenna 330 , and the second Points on the straight line 307 may be points corresponding to a reference angle (eg, 0 degrees) when positioning using the first antenna 310 and the second antenna 320 . According to an embodiment, the positioning module may set a point (c) 308 at which the first straight line 305 and the second straight line 307 intersect as a positioning reference point. For example, the positioning module includes a point corresponding to a reference angle (eg, 0 degrees) when positioning using the first antenna 310 and the third antenna 330 , and the first antenna 310 and the second antenna 310 . When positioning using the second antenna 320 , a point 308 that satisfies all points corresponding to a reference angle (eg, 0 degrees) may be set as a positioning reference point.

일 실시예에 따르면, 측위 정보 보정 모듈(예: 측위 정보 보정 모듈(270))은 RF 신호를 수신하는 안테나들의 위치에 기반하여 정합치를 산출할 때 상기 측위 기준점(예: 지점(308))을 이용할 수 있다. 예컨대, 상기 측위 정보 보정 모듈은 측위 결과가 상기 측위 기준점에 맞춰 보정되도록 상기 정합치를 결정할 수 있다.According to an embodiment, the positioning information correction module (eg, the positioning information correction module 270) calculates the matching value based on the positions of the antennas that receive the RF signal, the positioning reference point (eg, the point 308) Available. For example, the positioning information correction module may determine the matching value so that the positioning result is corrected according to the positioning reference point.

도 4는 본 발명의 일 실시예에 따른 디스플레이 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이고, 도 5는 본 발명의 일 실시예에 따른 어플리케이션 실행 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.4 is a diagram for explaining a method of correcting a positioning result based on the central position of a display screen according to an embodiment of the present invention, and FIG. It is a diagram for explaining a method of correcting the positioning result based on the

도 4 및 도 5를 참조하면, 전자 장치(400)(예: 전자 장치(200))는 무선 통신을 이용한 측위 기능을 제공할 수 있다. 예를 들어, 전자 장치(400)는 UWB 통신을 이용한 레인징 동작을 통해 외부 전자 장치와의 거리를 측정할 수 있고, 신호의 도래각을 통해 외부 전자 장치의 방향(또는 각도)을 판단(또는 측정)할 수 있다.4 and 5 , the electronic device 400 (eg, the electronic device 200) may provide a positioning function using wireless communication. For example, the electronic device 400 may measure the distance to the external electronic device through a ranging operation using UWB communication, and determine the direction (or angle) of the external electronic device through the angle of arrival of the signal (or can be measured).

일 실시예에 따르면, 전자 장치(400)는 UWB 통신을 이용한 외부 전자 장치의 측위 결과(예: 거리 및 도래각)를 상기 측위 결과가 표시되는 위치에 기반하여 보정할 수 있다. 일 예로, 전자 장치(400)는 측위에 사용되는 안테나 모듈(430)(예: 안테나 모듈(220))의 기준점(431)(예: 측위 기준점)과 상기 측위 결과가 표시되는 위치(421, 423a) 사이의 거리에 대응되는 오프셋(offset)을 보정치로 하여 상기 외부 전자 장치와의 거리 데이터에 적용할 수 있다. 다른 예로, 전자 장치(400)는 상기 안테나 모듈(430)에 포함된 안테나들의 중심점에 기반하여 설정되는 측위의 기준 각도(예: 0도)에 대응되는 지점들에 기반하여, 보상 각도를 산출하고 상기 산출된 보상 각도를 상기 외부 전자 장치와의 방향(또는 각도)을 나타내는 도래각 데이터에 적용할 수 있다. 상기 보상 각도를 산출하는 방법은 도 8 내지 도 10에서 자세히 설명하도록 한다.According to an embodiment, the electronic device 400 may correct a positioning result (eg, a distance and an angle of arrival) of an external electronic device using UWB communication based on a position at which the positioning result is displayed. For example, the electronic device 400 provides a reference point 431 (eg, a positioning reference point) of an antenna module 430 (eg, the antenna module 220) used for positioning and positions 421 and 423a at which the positioning result is displayed. ) may be applied to distance data with the external electronic device by using an offset corresponding to the distance between them as a correction value. As another example, the electronic device 400 calculates a compensation angle based on points corresponding to a reference angle (eg, 0 degrees) of positioning set based on the center points of the antennas included in the antenna module 430 , and The calculated compensation angle may be applied to angle of arrival data indicating a direction (or angle) with respect to the external electronic device. A method of calculating the compensation angle will be described in detail with reference to FIGS. 8 to 10 .

일 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 디스플레이 화면의 중심 위치 또는 어플리케이션 실행 화면의 중심 위치를 포함할 수 있다. 도 4에서는 상기 측위 결과가 하우징(410)에 안착된 디스플레이(420)의 화면의 중심점(421)에 표시되는 것을 나타내고, 도 5에서는 상기 측위 결과가 어플리케이션(예: 지도 어플리케이션)의 실행 화면(423)의 중심점(423a)에 표시되는 것을 나타낸다. 그러나, 상기 측위 결과의 표시 위치가 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 측위 결과는 상기 디스플레이(420)의 화면의 적어도 일지점 또는 상기 어플리케이션의 실행 화면(423)의 적어도 일지점에 표시될 수 있다. 일 실시예에 따르면, 상기 어플리케이션의 실행 화면(423)은 팝업(popup) 화면의 형태로 출력될 수 있다.According to an embodiment, the position at which the positioning result is displayed may include a central position of a display screen or a central position of an application execution screen. In FIG. 4 , the positioning result is displayed on the center point 421 of the screen of the display 420 seated in the housing 410 , and in FIG. 5 , the positioning result is displayed on the execution screen 423 of the application (eg, map application). ) is indicated by the central point 423a. However, the display position of the positioning result is not limited thereto. According to various embodiments, the positioning result may be displayed on at least one point of the screen of the display 420 or at least one point of the execution screen 423 of the application. According to an embodiment, the execution screen 423 of the application may be output in the form of a popup screen.

도 6은 본 발명의 일 실시예에 따른 디스플레이의 표시 영역이 가변되는 전자 장치에서 디스플레이 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이고, 도 7은 본 발명의 일 실시예에 따른 디스플레이의 표시 영역이 가변되는 전자 장치에서 어플리케이션 실행 화면의 중심 위치에 기반하여 측위 결과를 보정하는 방법을 설명하기 위한 도면이다.6 is a diagram for explaining a method of correcting a positioning result based on a central position of a display screen in an electronic device in which a display area of a display is variable according to an embodiment of the present invention, and FIG. 7 is an embodiment of the present invention A diagram for describing a method of correcting a positioning result based on a central position of an application execution screen in an electronic device in which a display area of a display is variable according to an example.

도 6 및 도 7을 참조하면, 전자 장치(600)(예: 전자 장치(200))는 무선 통신을 이용한 측위 기능을 제공할 수 있다. 예를 들어, 전자 장치(600)는 UWB 통신을 이용한 레인징 동작을 통해 외부 전자 장치와의 거리를 측정할 수 있고, 신호의 도래각을 통해 외부 전자 장치의 방향(또는 각도)을 판단(또는 측정)할 수 있다.6 and 7 , the electronic device 600 (eg, the electronic device 200) may provide a positioning function using wireless communication. For example, the electronic device 600 may measure the distance to the external electronic device through a ranging operation using UWB communication, and determine the direction (or angle) of the external electronic device through the angle of arrival of the signal (or can be measured).

일 실시예에 따르면, 전자 장치(600)는 UWB 통신을 이용한 외부 전자 장치의 측위 결과(예: 거리 및 도래각)를 상기 측위 결과가 표시되는 위치에 기반하여 보정할 수 있다. 일 예로, 전자 장치(600)는 측위에 사용되는 안테나 모듈(630)(예: 안테나 모듈(220))의 기준점(631)(예: 측위 기준점)과 상기 측위 결과가 표시되는 위치(621, 623a) 사이의 거리에 대응되는 오프셋을 보정치로 하여 상기 외부 전자 장치와의 거리 데이터에 적용할 수 있다. 다른 예로, 전자 장치(600)는 상기 안테나 모듈(630)에 포함된 안테나들의 중심점에 기반하여 설정되는 측위의 기준 각도(예: 0도)에 대응되는 지점들에 기반하여, 보상 각도를 산출하고 상기 산출된 보상 각도를 상기 외부 전자 장치와의 방향(또는 각도)을 나타내는 도래각 데이터에 적용할 수 있다. 상기 보상 각도를 산출하는 방법은 도 8 내지 도 10에서 자세히 설명하도록 한다.According to an embodiment, the electronic device 600 may correct a positioning result (eg, a distance and an angle of arrival) of an external electronic device using UWB communication based on a position at which the positioning result is displayed. As an example, the electronic device 600 includes a reference point 631 (eg, a positioning reference point) of an antenna module 630 (eg, the antenna module 220) used for positioning and positions 621 and 623a at which the positioning result is displayed. ) may be applied to the distance data with the external electronic device by using an offset corresponding to the distance between them as a correction value. As another example, the electronic device 600 calculates a compensation angle based on points corresponding to a reference angle (eg, 0 degrees) of positioning set based on the center points of the antennas included in the antenna module 630 , and The calculated compensation angle may be applied to angle of arrival data indicating a direction (or angle) with respect to the external electronic device. A method of calculating the compensation angle will be described in detail with reference to FIGS. 8 to 10 .

일 실시예에 따르면, 전자 장치(600)는 디스플레이(620)의 표시 영역이 가변되는 전자 장치(예: 폴더블, 슬라이더블 또는 롤러블 타입의 전자 장치)일 수 있다. 도 6 및 도 7에서는 전자 장치(600)가 폴더블 타입의 전자 장치인 경우를 나타내고 있다.According to an embodiment, the electronic device 600 may be an electronic device in which the display area of the display 620 is variable (eg, a foldable, slideable, or rollable type electronic device). 6 and 7 show a case in which the electronic device 600 is a foldable type electronic device.

일 실시예에 따르면, 폴더블 타입의 전자 장치(600)는 하우징(610) 및 플렉서블 디스플레이(620)를 포함할 수 있다. 상기 하우징(610)은 전자 장치(600)의 외관을 형성하고, 전면, 후면, 및 상기 전면과 상기 후면 사이의 공간을 적어도 일부 둘러싸는 측면을 포함할 수 있다. 상기 측면은 전자 장치(600)의 얇은 면을 바라보았을 때 시각적으로 보이는 면을 의미하고, 상기 전면은 상기 측면을 제외한 영역으로서 상기 플렉서블 디스플레이(620)를 통해 출력되는 화면이 외부로 노출되는 면을 의미하고, 상기 후면은 상기 전면에 대향하는 면을 의미한다. 어떤 실시예에서는, 상기 후면 및/또는 상기 측면을 통해 상기 플렉서블 디스플레이(620)의 일부 화면이 외부로 노출될 수도 있으나, 상기 전면은 상기 후면 및/또는 상기 측면과는 다르게 대부분의 영역이 상기 플렉서블 디스플레이(620)의 화면을 출력할 수 있도록 마련될 수 있다.According to an embodiment, the foldable electronic device 600 may include a housing 610 and a flexible display 620 . The housing 610 forms the exterior of the electronic device 600 and may include a front surface, a rear surface, and side surfaces surrounding at least a portion of a space between the front surface and the rear surface. The side refers to a side visually visible when looking at the thin side of the electronic device 600 , and the front side is an area excluding the side, and the side on which the screen output through the flexible display 620 is exposed to the outside. means, and the rear surface means a surface opposite to the front surface. In some embodiments, a part of the screen of the flexible display 620 may be exposed to the outside through the rear surface and/or the side surface, but unlike the rear surface and/or the side surface, most of the area of the flexible display 620 is different from the rear surface and/or the side surface. It may be provided to output a screen of the display 620 .

일 실시예에 따르면, 상기 하우징(610)은 적어도 하나의 힌지 구조체를 통해 연결된 복수 개의 파트들(예: 제1 파트 및 제2 파트)을 포함할 수 있으며, 상기 복수 개의 파트들은 상기 적어도 하나의 힌지 구조체에 의해 회동할 수 있다.According to an embodiment, the housing 610 may include a plurality of parts (eg, a first part and a second part) connected through at least one hinge structure, and the plurality of parts may include the at least one hinge structure. It can be rotated by a hinge structure.

일 실시예에 따르면, 상기 플렉서블 디스플레이(620)는 상기 하우징(610)에 안착될 수 있다. 예를 들어, 상기 플렉서블 디스플레이(620)는 복수 개의 표시 영역들(예: 제1 표시 영역 및 제2 표시 영역)을 포함할 수 있으며, 상기 복수 개의 표시 영역들 각각은 상기 하우징(610)의 복수 개의 파트들 각각에 안착될 수 있다. 또한, 상기 플렉서블 디스플레이(620)는 상기 적어도 하나의 힌지 구조체에 의해 접히거나 펼쳐질 수 있다. 예를 들어, 전자 장치(600)가 완전히 펼쳐진 상태에서는, 상기 플렉서블 디스플레이(620)의 제1 표시 영역 및 제2 표시 영역은 실질적으로 동일 평면을 형성하는 상태가 되고, 전자 장치(600)가 접힌 상태에서는, 상기 플렉서블 디스플레이(620)의 제1 표시 영역 및 제2 표시 영역은 상호 마주보는 상태가 되며, 전자 장치(600)가 지정된 각도(θ1)(611)로 펼쳐진 상태에서는, 상기 플렉서블 디스플레이(620)의 제1 표시 영역 및 제2 표시 영역이 상기 지정된 각도(611)를 형성하는 상태가 될 수 있다.According to an embodiment, the flexible display 620 may be seated on the housing 610 . For example, the flexible display 620 may include a plurality of display areas (eg, a first display area and a second display area), and each of the plurality of display areas includes a plurality of display areas of the housing 610 . It may be seated on each of the dog parts. Also, the flexible display 620 may be folded or unfolded by the at least one hinge structure. For example, in a state in which the electronic device 600 is fully unfolded, the first display area and the second display area of the flexible display 620 are substantially coplanar, and the electronic device 600 is folded. In the state, the first display area and the second display area of the flexible display 620 face each other, and in a state in which the electronic device 600 is unfolded at a specified angle θ 1 611 , the flexible display The first display area and the second display area of 620 may be in a state forming the specified angle 611 .

일 실시예에 따르면, 전자 장치(600)가 슬라이더블 또는 롤러블 타입의 전자 장치인 경우, 전자 장치(600)는 하우징(610) 및 플렉서블 디스플레이(620)를 포함할 수 있다. 이때 상기 하우징(610)은 상기 플렉서블 디스플레이(620)의 전면을 덮도록 배치되는 전면 플레이트, 전자 장치(600)의 후면을 형성하는 후면 플레이트, 상기 전면 플레이트와 상기 후면 플레이트 사이에서 슬라이딩 동작을 통해 이동 가능하게 결합된 슬라이드 플레이트, 및 상기 슬라이드 플레이트의 이동 방향과 실질적으로 수직한 방향의 측면을 덮도록 배치되는 사이드 커버를 포함할 수 있다. 또한, 상기 플렉서블 디스플레이(620)는 상기 하우징(610)에 이동 가능하게 결합될 수 있다. 일 실시예에 따르면, 상기 플렉서블 디스플레이(620)는 상기 슬라이드 플레이트 상에 결합될 수 있고, 상기 슬라이드 플레이트의 슬라이딩 동작에 의해 적어도 일부 표시 영역이 선택적으로 외부로 시각적으로 노출될 수 있다. 예를 들어, 상기 플렉서블 디스플레이(620)의 표시 영역은 상시 외부에 시각적으로 노출되어 객체를 표시할 수 있는 제1 부분 및 상기 제1 부분으로부터 연장되고 상기 하우징(610)의 내부로 인입되어 외부로 노출되지 않거나 상기 하우징(610)으로부터 외부로 인출되어 시각적으로 노출될 수 있는 제2 부분을 포함할 수 있다. 예를 들어, 상기 플렉서블 디스플레이(620)의 표시 영역은 상기 제2 부분이 노출되지 않은 제1 상태에서는 (폭 및/또는 높이가) 제1 크기를 가지고, 상기 제2 부분이 외부로 노출된 제2 상태에서는 (폭 및/또는 높이가) 상기 제1 크기보다 큰 제2 크기를 가질 수 있다. 여기서, 상기 제1 상태는 상기 플렉서블 디스플레이(620)의 표시 영역이 축소된 상태를 나타내고, 상기 제2 상태는 상기 플렉서블 디스플레이(620)의 표시 영역이 확장된 상태를 나타낼 수 있다.According to an embodiment, when the electronic device 600 is a slideable or rollable type electronic device, the electronic device 600 may include a housing 610 and a flexible display 620 . In this case, the housing 610 moves through a sliding operation between a front plate disposed to cover the front surface of the flexible display 620 , a rear plate forming the rear surface of the electronic device 600 , and the front plate and the rear plate. It may include a slide plate coupled as possible, and a side cover arranged to cover a side surface in a direction substantially perpendicular to the moving direction of the slide plate. Also, the flexible display 620 may be movably coupled to the housing 610 . According to an embodiment, the flexible display 620 may be coupled to the slide plate, and at least a portion of the display area may be selectively visually exposed to the outside by a sliding operation of the slide plate. For example, the display area of the flexible display 620 is a first part that is always visually exposed to the outside to display an object, and it extends from the first part and is drawn into the housing 610 to the outside. It may include a second portion that is not exposed or is visually exposed by being drawn out from the housing 610 . For example, the display area of the flexible display 620 has a first size (width and/or height) in a first state in which the second portion is not exposed, and a second portion in which the second portion is exposed to the outside. In the second state, it may have a second size (width and/or height) greater than the first size. Here, the first state may indicate a state in which the display area of the flexible display 620 is reduced, and the second state may indicate a state in which the display area of the flexible display 620 is expanded.

일 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 디스플레이 화면의 중심 위치 또는 어플리케이션 실행 화면의 중심 위치를 포함할 수 있다. 도 6에서는 상기 측위 결과가 상기 하우징(610)에 안착된 상기 플렉서블 디스플레이(620)의 화면의 중심점(621)에 표시되는 것을 나타내고, 도 7에서는 상기 측위 결과가 어플리케이션(예: 지도 어플리케이션)의 실행 화면(623)의 중심점(623a)에 표시되는 것을 나타낸다. 그러나, 상기 측위 결과의 표시 위치가 이에 한정되는 것은 아니다. 다양한 실시예에 따르면, 상기 측위 결과는 상기 플렉서블 디스플레이(620)의 화면의 적어도 일지점 또는 상기 어플리케이션의 실행 화면(623)의 적어도 일지점에 표시될 수 있다. 일 실시예에 따르면, 상기 어플리케이션의 실행 화면(623)은 팝업 화면의 형태로 출력될 수 있다.According to an embodiment, the position at which the positioning result is displayed may include a central position of a display screen or a central position of an application execution screen. In FIG. 6 , the positioning result is displayed on the center point 621 of the screen of the flexible display 620 seated in the housing 610 , and in FIG. 7 , the positioning result is the execution of an application (eg, a map application). This indicates what is displayed at the center point 623a of the screen 623 . However, the display position of the positioning result is not limited thereto. According to various embodiments, the positioning result may be displayed on at least one point of the screen of the flexible display 620 or at least one point of the execution screen 623 of the application. According to an embodiment, the execution screen 623 of the application may be output in the form of a pop-up screen.

일 실시예에 따르면, 상기 디스플레이(620)의 표시 영역이 가변되는 전자 장치(600)의 경우, 상기 표시 영역의 변화에 따라 상기 측위 결과가 표시되는 위치도 변할 수 있기 때문에, 전자 장치(600)는 센서 모듈(예: 센서 모듈(280))을 통해 상기 표시 영역의 변화를 실시간으로 감지할 수 있다. 또한, 전자 장치(600)는 상기 표시 영역의 변화에 기반하여 상기 측위 결과가 표시되는 위치를 판단하고, 상기 측위 결과가 표시되는 위치에 기반하여 상기 측위 결과를 보정할 수 있다. 일 실시예에 따르면, 상기 안테나 모듈(630)의 기준점(631)과 상기 측위 결과가 표시되는 위치(621, 623a) 사이의 거리는 상기 안테나 모듈(630)의 기준점(631)에 대응되는 좌표 값과 상기 측위 결과가 표시되는 위치(621, 623a)에 대응되는 좌표 값을 기반으로 측정되는 대각선 길이에 대응될 수 있다.According to an embodiment, in the case of the electronic device 600 in which the display area of the display 620 is variable, since the position at which the positioning result is displayed may also change according to the change in the display area, the electronic device 600 may detect a change in the display area in real time through a sensor module (eg, the sensor module 280). Also, the electronic device 600 may determine a position where the positioning result is displayed based on a change in the display area, and correct the positioning result based on the position where the positioning result is displayed. According to one embodiment, the distance between the reference point 631 of the antenna module 630 and the positions 621 and 623a at which the positioning result is displayed is a coordinate value corresponding to the reference point 631 of the antenna module 630 and It may correspond to a diagonal length measured based on coordinate values corresponding to positions 621 and 623a at which the positioning result is displayed.

일 실시예에 따르면, 상기 전자 장치(600)가 폴더블 타입의 전자 장치일 때, 상기 센서 모듈은 상기 플렉서블 디스플레이(620)가 안착되는 상기 하우징(610)의 폴딩 각도(611) 또는 상기 플렉서블 디스플레이(620)의 폴딩 각도를 측정할 수 있다. 다른 실시예에 따르면, 상기 전자 장치(600)가 슬라이더블 타입 또는 롤러블 타입의 전자 장치일 때, 상기 센서 모듈은 상기 플렉서블 디스플레이(620)가 안착되는 상기 하우징(610)의 슬라이딩 거리 또는 상기 플렉서블 디스플레이(620)의 슬라이딩 거리를 측정할 수 있다.According to an embodiment, when the electronic device 600 is a foldable electronic device, the sensor module may include a folding angle 611 of the housing 610 on which the flexible display 620 is seated or the flexible display. The folding angle of 620 may be measured. According to another embodiment, when the electronic device 600 is a slideable type or a rollable type electronic device, the sensor module may determine a sliding distance of the housing 610 on which the flexible display 620 is seated or the flexible A sliding distance of the display 620 may be measured.

도 8은 본 발명의 일 실시예에 따른 측위 결과가 표시되는 위치에 기반하여 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이고, 도 9는 본 발명의 일 실시예에 따른 전자 장치가 제1 방향일 때 사용되는 안테나들의 위치 및 측위 결과가 표시되는 위치에 기반하여 보상 거리를 산출하는 방법을 설명하기 위한 도면이며, 도 10은 본 발명의 일 실시예에 따른 전자 장치가 제2 방향일 때 사용되는 안테나들의 위치 및 측위 결과가 표시되는 위치에 기반하여 보상 거리를 산출하는 방법을 설명하기 위한 도면이다.8 is a diagram for explaining a method of correcting an AoA calculated value based on a position at which a positioning result is displayed according to an embodiment of the present invention, and FIG. 9 is a diagram illustrating an electronic device according to an embodiment of the present invention It is a view for explaining a method of calculating a compensation distance based on the positions of antennas used in the direction and the positions at which the positioning results are displayed, and FIG. It is a diagram for explaining a method of calculating a compensation distance based on positions of used antennas and positions at which positioning results are displayed.

도 8 내지 도 10을 참조하면, 전자 장치(800)(예: 전자 장치(200))는 UWB 통신을 이용한 외부 전자 장치의 측위 결과(예: 거리 및 도래각)를 상기 측위 결과가 표시되는 위치에 기반하여 보정할 수 있다. 일 예로, 전자 장치(800)는 측위에 사용되는 안테나 모듈(예: 안테나 모듈(220))의 기준점(803)(예: 측위 기준점)과 상기 측위 결과가 표시되는 위치(804)(예: 도 8의 Ref) 사이의 거리(예: 대각 길이)에 대응되는 오프셋을 보정치로 하여 상기 외부 전자 장치와의 거리 데이터에 적용할 수 있다. 다른 예로, 전자 장치(800)는 상기 안테나 모듈에 포함된 안테나들(예: 제1 안테나(810), 제2 안테나(820) 및 제3 안테나(830))의 중심점(예: P1(811), P2(821) 및 P3(831))에 기반하여 설정되는 측위의 기준 각도(예: 0도)에 대응되는 지점들(또는 상기 지점들을 연결한 직선)에 기반하여, 보상 각도를 산출하고 상기 산출된 보상 각도를 상기 외부 전자 장치와의 방향(또는 각도)을 나타내는 도래각 데이터에 적용할 수 있다.8 to 10 , the electronic device 800 (eg, the electronic device 200) displays the positioning result (eg, distance and angle of arrival) of the external electronic device using UWB communication at a position at which the positioning result is displayed. can be corrected based on For example, the electronic device 800 includes a reference point 803 (eg, a positioning reference point) of an antenna module (eg, the antenna module 220) used for positioning and a position 804 (eg, a figure) at which the positioning result is displayed. 8), an offset corresponding to a distance (eg, a diagonal length) may be applied to distance data with the external electronic device as a correction value. As another example, the electronic device 800 includes a central point (eg, P1 811 ) of antennas (eg, the first antenna 810 , the second antenna 820 , and the third antenna 830 ) included in the antenna module. , P2 (821) and P3 (831)) Based on the points (or a straight line connecting the points) corresponding to the reference angle (eg, 0 degrees) of the positioning set based on a compensation angle is calculated and the The calculated compensation angle may be applied to angle of arrival data indicating a direction (or angle) with respect to the external electronic device.

일 실시예에 따르면, 상기 전자 장치(800)의 방향이 제1 방향(예: 가로 방향 또는 가로 모드)인 경우, 실질적으로 상기 제1 방향으로 나란하게 배치된 상기 제1 안테나(810) 및 상기 제3 안테나(830)가 외부 전자 장치에 대한 측위 시 사용될 수 있다. 다른 실시예에 따르면, 상기 전자 장치(800)의 방향이 제2 방향(예: 세로 방향 또는 세로 모드)인 경우, 실질적으로 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나(810) 및 상기 제2 안테나(820)가 외부 전자 장치에 대한 측위 시 사용될 수 있다.According to an embodiment, when the direction of the electronic device 800 is a first direction (eg, a horizontal direction or a horizontal mode), the first antenna 810 and the first antenna 810 substantially parallel to the first direction The third antenna 830 may be used when positioning an external electronic device. According to another embodiment, when the direction of the electronic device 800 is a second direction (eg, a vertical direction or a vertical mode), the first antenna 810 and the first antenna 810 substantially parallel to the second direction The second antenna 820 may be used when positioning an external electronic device.

일 실시예에 따르면, 전자 장치(800)는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제3 안테나(830)의 제3 중심점(831)에 기반하여, 상기 제1 안테나(810)와 상기 제3 안테나(830) 사이의 제4 중심점(P1P3)(851)을 산출할 수 있고, 상기 제4 중심점(851)을 지나면서 상기 제1 중심점(811)과 상기 제3 중심점(831)을 잇는 선에 수직한 제1 직선(801)을 산출할 수 있다. 여기서, 상기 제1 직선(801) 상의 지점들은 상기 제1 안테나(810)와 상기 제3 안테나(830)를 이용한 측위 시(예: 상기 전자 장치(800)의 방향이 상기 제1 방향인 경우) 기준 각도(예: 0도)에 대응되는 지점들일 수 있다. 또한, 전자 장치(800)는 상기 측위 결과가 표시되는 위치(804)에서 상기 제1 방향과 수직한 제2 방향으로 향하는 제3 직선과 상기 제1 직선(801)이 교차하는 지점(805)(예: 도 8 및 도 9의 LC1)의 y축값(예: 도 8 및 도 9의 y)을 산출할 수 있다. 상기 지점(805)과 상기 측위 결과가 표시되는 위치(804)의 y축 거리는 상기 제2 방향으로의 보상 거리(807)(예: 도 8의 Ty)로 사용될 수 있다. 상기 제1 직선(801)과 상기 제1 방향으로 향하는 제4 직선이 형성하는 제1 각도(

Figure pat00010
)(873)는 다음의 수학식 3에 의해 산출될 수 있고, 상기 제3 직선과 상기 제1 직선(801)이 교차하는 지점(805)의 y축값은 삼각형의 닮은꼴 특성을 이용하여 다음의 수학식 4에 의해 산출될 수 있다.According to an embodiment, the electronic device 800 is configured to use the first antenna ( A fourth center point (P1P3) 851 between 810) and the third antenna 830 can be calculated, and while passing through the fourth center point 851, the first center point 811 and the third center point ( A first straight line 801 perpendicular to the line connecting 831 may be calculated. Here, the points on the first straight line 801 are determined when positioning using the first antenna 810 and the third antenna 830 (eg, when the direction of the electronic device 800 is the first direction). They may be points corresponding to a reference angle (eg, 0 degrees). In addition, the electronic device 800 is configured at a point 805 ( 805 ) ( Example: The y-axis value (eg, y in FIGS. 8 and 9 ) of LC1 of FIGS. 8 and 9 may be calculated. The y-axis distance between the point 805 and the position 804 at which the positioning result is displayed may be used as the compensation distance 807 (eg, Ty in FIG. 8 ) in the second direction. A first angle formed by the first straight line 801 and a fourth straight line directed in the first direction (
Figure pat00010
) 873 can be calculated by the following Equation 3, and the y-axis value of the point 805 where the third straight line and the first straight line 801 intersect is obtained by using the triangular resemblance characteristic. It can be calculated by Equation (4).

Figure pat00011
Figure pat00011

여기서,

Figure pat00012
는 상기 제1 직선(801)과 상기 제1 방향으로 향하는 제4 직선이 형성하는 제1 각도(873)을 나타내고,
Figure pat00013
은 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제3 안테나(830)의 제3 중심점(831)의 x축 거리(871)를 나타내고,
Figure pat00014
는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제3 안테나(830)의 제3 중심점(831)의 y축 거리(872)를 나타낼 수 있다.here,
Figure pat00012
represents a first angle 873 formed by the first straight line 801 and a fourth straight line directed in the first direction,
Figure pat00013
denotes the x-axis distance 871 between the first central point 811 of the first antenna 810 and the third central point 831 of the third antenna 830,
Figure pat00014
may represent a y-axis distance 872 between the first central point 811 of the first antenna 810 and the third central point 831 of the third antenna 830 .

Figure pat00015
Figure pat00015

여기서,

Figure pat00016
은 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제3 안테나(830)의 제3 중심점(831)의 x축 거리(871)를 나타내고,
Figure pat00017
는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제3 안테나(830)의 제3 중심점(831)의 y축 거리(872)를 나타내며,
Figure pat00018
는 상기 제4 중심점(851)과 상기 지점(805)의 y축 거리를 나타내고,
Figure pat00019
는 상기 제4 중심점(851)과 상기 지점(805)의 x축 거리를 나타낼 수 있다.here,
Figure pat00016
denotes the x-axis distance 871 between the first central point 811 of the first antenna 810 and the third central point 831 of the third antenna 830,
Figure pat00017
represents the y-axis distance 872 between the first center point 811 of the first antenna 810 and the third center point 831 of the third antenna 830,
Figure pat00018
represents the y-axis distance between the fourth central point 851 and the point 805,
Figure pat00019
may represent the x-axis distance between the fourth center point 851 and the point 805 .

상기 제2 방향으로의 보상 거리(807)가 산출되면, 상기 전자 장치(800)의 방향이 상기 제1 방향일 때 획득된 AoA 산출 값을 다음의 수학식 5 및 수학식 6을 이용해 보정할 수 있다.When the compensation distance 807 in the second direction is calculated, the calculated AoA value obtained when the direction of the electronic device 800 is the first direction may be corrected using Equations 5 and 6 below. have.

Figure pat00020
Figure pat00020

여기서,

Figure pat00021
는 제1 보상 각도를 나타내고,
Figure pat00022
는 상기 제2 방향으로의 보상 거리(807)를 나타내며,
Figure pat00023
는 외부 전자 장치와의 거리를 나타낼 수 있다.here,
Figure pat00021
represents the first compensation angle,
Figure pat00022
denotes the compensation distance 807 in the second direction,
Figure pat00023
may represent a distance from an external electronic device.

Figure pat00024
Figure pat00024

여기서,

Figure pat00025
는 제1 보상 위상차를 나타내고,
Figure pat00026
는 정규화 인자를 나타내며,
Figure pat00027
는 제1 보상 각도를 나타낼 수 있다.here,
Figure pat00025
represents the first compensation phase difference,
Figure pat00026
represents the normalization factor,
Figure pat00027
may represent the first compensation angle.

일 실시예에 따르면, 전자 장치(800)는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제2 안테나(820)의 제2 중심점(821)에 기반하여, 상기 제1 안테나(810)와 상기 제2 안테나(820) 사이의 제5 중심점(P1P2)(852)을 산출할 수 있고, 상기 제5 중심점(852)을 지나면서 상기 제1 중심점(811)과 상기 제2 중심점(821)을 잇는 선에 수직한 제2 직선(802)을 산출할 수 있다. 여기서, 상기 제2 직선(802) 상의 지점들은 상기 제1 안테나(810)와 상기 제2 안테나(820)를 이용한 측위 시(예: 상기 전자 장치(800)의 방향이 상기 제2 방향인 경우) 기준 각도(예: 0도)에 대응되는 지점들일 수 있다. 또한, 전자 장치(800)는 상기 측위 결과가 표시되는 위치(804)에서 상기 제2 방향과 수직한 제1 방향으로 향하는 제5 직선과 상기 제2 직선(802)이 교차하는 지점(806)(예: 도 8 및 도 9의 PC1)의 x축값(예: 도 8 및 도 9의 x)을 산출할 수 있다. 상기 지점(806)과 상기 측위 결과가 표시되는 위치(804)의 x축 거리는 상기 제1 방향으로의 보상 거리(808)(예: 도 8의 Tx)로 사용될 수 있다. 상기 제2 직선(802)과 상기 제2 방향으로 향하는 제6 직선이 형성하는 제2 각도(

Figure pat00028
)(876)는 다음의 수학식 7에 의해 산출될 수 있고, 상기 제5 직선과 상기 제2 직선(802)이 교차하는 지점(806)의 x축값은 삼각형의 닮은꼴 특성을 이용하여 다음의 수학식 8에 의해 산출될 수 있다.According to an embodiment, the electronic device 800 is configured to use the first antenna ( A fifth center point (P1P2) 852 between 810) and the second antenna 820 can be calculated, and while passing through the fifth center point 852, the first center point 811 and the second center point ( A second straight line 802 perpendicular to the line connecting 821 may be calculated. Here, the points on the second straight line 802 are positioned using the first antenna 810 and the second antenna 820 (eg, when the direction of the electronic device 800 is the second direction). They may be points corresponding to a reference angle (eg, 0 degrees). In addition, the electronic device 800 determines a point 806 ( Example: An x-axis value (eg, x in FIGS. 8 and 9 ) of PC1 of FIGS. 8 and 9 may be calculated. The x-axis distance between the point 806 and the position 804 at which the positioning result is displayed may be used as the compensation distance 808 in the first direction (eg, Tx in FIG. 8 ). A second angle formed by the second straight line 802 and a sixth straight line directed in the second direction (
Figure pat00028
) 876 can be calculated by the following Equation 7, and the x-axis value of the point 806 at which the fifth straight line and the second straight line 802 intersect is obtained by using the similarity characteristic of a triangle. It can be calculated by Equation (8).

Figure pat00029
Figure pat00029

여기서,

Figure pat00030
는 상기 제2 직선(802)과 상기 제2 방향으로 향하는 제6 직선이 형성하는 제2 각도(876)을 나타내고,
Figure pat00031
은 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제2 안테나(820)의 제2 중심점(821)의 y축 거리(874)를 나타내고,
Figure pat00032
는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제2 안테나(820)의 제2 중심점(821)의 x축 거리(875)를 나타낼 수 있다.here,
Figure pat00030
represents a second angle 876 formed by the second straight line 802 and a sixth straight line directed in the second direction,
Figure pat00031
denotes the y-axis distance 874 between the first center point 811 of the first antenna 810 and the second center point 821 of the second antenna 820,
Figure pat00032
may represent the x-axis distance 875 of the first center point 811 of the first antenna 810 and the second center point 821 of the second antenna 820 .

Figure pat00033
Figure pat00033

여기서,

Figure pat00034
은 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제2 안테나(820)의 제2 중심점(821)의 y축 거리(874)를 나타내고,
Figure pat00035
는 상기 제1 안테나(810)의 제1 중심점(811)과 상기 제2 안테나(820)의 제2 중심점(821)의 x축 거리(875)를 나타내며,
Figure pat00036
은 상기 제5 중심점(852)과 상기 지점(806)의 x축 거리를 나타내고,
Figure pat00037
는 상기 제5 중심점(852)과 상기 지점(806)의 y축 거리를 나타낼 수 있다.here,
Figure pat00034
denotes the y-axis distance 874 between the first center point 811 of the first antenna 810 and the second center point 821 of the second antenna 820,
Figure pat00035
represents the x-axis distance 875 of the first center point 811 of the first antenna 810 and the second center point 821 of the second antenna 820,
Figure pat00036
represents the x-axis distance between the fifth center point 852 and the point 806,
Figure pat00037
may represent the y-axis distance between the fifth center point 852 and the point 806 .

상기 제1 방향으로의 보상 거리(808)가 산출되면, 상기 전자 장치(800)의 방향이 상기 제2 방향일 때 획득된 AoA 산출 값을 다음의 수학식 9 및 수학식 10을 이용해 보정할 수 있다.When the compensation distance 808 in the first direction is calculated, the calculated AoA value obtained when the direction of the electronic device 800 is in the second direction may be corrected using Equations 9 and 10 below. have.

Figure pat00038
Figure pat00038

여기서,

Figure pat00039
는 제2 보상 각도를 나타내고,
Figure pat00040
는 상기 제1 방향으로의 보상 거리(808)를 나타내며,
Figure pat00041
는 외부 전자 장치와의 거리를 나타낼 수 있다.here,
Figure pat00039
represents the second compensation angle,
Figure pat00040
represents the compensation distance 808 in the first direction,
Figure pat00041
may represent a distance from an external electronic device.

Figure pat00042
Figure pat00042

여기서,

Figure pat00043
는 제2 보상 위상차를 나타내고,
Figure pat00044
는 정규화 인자를 나타내며,
Figure pat00045
는 제2 보상 각도를 나타낼 수 있다.here,
Figure pat00043
represents the second compensation phase difference,
Figure pat00044
represents the normalization factor,
Figure pat00045
may represent the second compensation angle.

도 11은 본 발명의 일 실시예에 따른 폴더블 타입의 전자 장치에서 폴딩 각도가 90도일 때의 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이고, 도 12는 본 발명의 일 실시예에 따른 폴더블 타입의 전자 장치에서 폴딩 각도에 따른 AoA 산출 값을 보정하는 방법을 설명하기 위한 도면이다.11 is a diagram for explaining a method of correcting an AoA calculated value when a folding angle is 90 degrees in a foldable type electronic device according to an embodiment of the present invention, and FIG. 12 is a diagram according to an embodiment of the present invention A diagram for explaining a method of correcting an AoA calculated value according to a folding angle in a foldable type electronic device.

도 11 및 도 12를 참조하면, 폴더블 타입의 전자 장치(1100)는 하우징(1110) 및 플렉서블 디스플레이(1120)를 포함할 수 있다. 일 실시예에 따르면, 상기 하우징(1110)은 적어도 하나의 힌지 구조체를 통해 연결된 복수 개의 파트들(예: 제1 파트 및 제2 파트)을 포함할 수 있으며, 상기 복수 개의 파트들은 상기 적어도 하나의 힌지 구조체에 의해 회동할 수 있다. 일 실시예에 따르면, 상기 플렉서블 디스플레이(1120)는 상기 하우징(1110)에 안착될 수 있다. 예를 들어, 상기 플렉서블 디스플레이(1120)는 복수 개의 표시 영역들(예: 제1 표시 영역 및 제2 표시 영역)을 포함할 수 있으며, 상기 복수 개의 표시 영역들 각각은 상기 하우징(1110)의 복수 개의 파트들 각각에 안착될 수 있다. 또한, 상기 플렉서블 디스플레이(1120)는 상기 적어도 하나의 힌지 구조체에 의해 접히거나 펼쳐질 수 있다. 예를 들어, 전자 장치(1100)가 완전히 펼쳐진 상태에서는, 상기 플렉서블 디스플레이(1120)의 제1 표시 영역 및 제2 표시 영역은 실질적으로 동일 평면을 형성하는 상태가 되고, 전자 장치(1100)가 접힌 상태에서는, 상기 플렉서블 디스플레이(1120)의 제1 표시 영역 및 제2 표시 영역은 상호 마주보는 상태가 되며, 전자 장치(1100)가 지정된 각도(θ1)(1111)로 펼쳐진 상태에서는, 상기 플렉서블 디스플레이(1120)의 제1 표시 영역 및 제2 표시 영역이 상기 지정된 각도(1111)를 형성하는 상태가 될 수 있다. 도 11에서는 상기 지정된 각도(1111)가 90도인 경우를 나타내고, 도 12에서는 상기 지정된 각도(1111)가 90도보다 큰 경우를 나타낼 수 있다.11 and 12 , the foldable electronic device 1100 may include a housing 1110 and a flexible display 1120 . According to an embodiment, the housing 1110 may include a plurality of parts (eg, a first part and a second part) connected through at least one hinge structure, and the plurality of parts may include the at least one hinge structure. It can be rotated by a hinge structure. According to an embodiment, the flexible display 1120 may be seated on the housing 1110 . For example, the flexible display 1120 may include a plurality of display areas (eg, a first display area and a second display area), and each of the plurality of display areas includes a plurality of display areas of the housing 1110 . It may be seated on each of the dog parts. Also, the flexible display 1120 may be folded or unfolded by the at least one hinge structure. For example, in a state in which the electronic device 1100 is fully unfolded, the first display area and the second display area of the flexible display 1120 form a substantially same plane, and the electronic device 1100 is folded. In the state, the first display area and the second display area of the flexible display 1120 face each other, and when the electronic device 1100 is unfolded at a specified angle θ 1 , 1111 , the flexible display The first display area and the second display area of 1120 may be in a state in which the designated angle 1111 is formed. 11 shows a case where the designated angle 1111 is 90 degrees, and FIG. 12 shows a case where the designated angle 1111 is greater than 90 degrees.

도 11에서와 같이, 상기 지정된 각도(1111)가 90도일 때, 전자 장치(1100)는 안테나 모듈(1130)(예: 안테나 모듈(220))에 포함된 안테나들의 중심점에 기반하여 설정되는 측위의 기준 각도(예: 0도)에 대응되는 지점들(또는 상기 지점들을 연결한 직선) 및 상기 플렉서블 디스플레이(1120)가 접히는 지점(1103)에 기반하여, 보상 각도를 산출하고 상기 산출된 보상 각도를 외부 전자 장치와의 방향(또는 각도)을 나타내는 도래각 데이터에 적용할 수 있다.As shown in FIG. 11 , when the designated angle 1111 is 90 degrees, the electronic device 1100 performs the positioning set based on the center points of the antennas included in the antenna module 1130 (eg, the antenna module 220 ). Based on points (or a straight line connecting the points) corresponding to a reference angle (eg, 0 degrees) and a point 1103 at which the flexible display 1120 is folded, a compensation angle is calculated and the calculated compensation angle is calculated. It can be applied to angle of arrival data indicating a direction (or angle) with respect to an external electronic device.

일 실시예에 따르면, 전자 장치(1100)는 전자 장치(1100)의 방향이 제1 방향(예: 가로 방향 또는 가로 모드)일 때의 기준 각도(예: 0도)에 대응되는 지점들을 연결하는 제1 직선(1101)과 상기 지점(1103)에서 상기 제1 방향과 수직한 제2 방향으로 향하는 제3 직선이 교차하는 지점(1104)을 산출하고, 상기 지점(1103)과 상기 지점(1104) 사이의 제1 거리(1106)(예: 도 11 및 도 12의 X)를 산출할 수 있다. 상기 제1 거리(1106)는 상기 제2 방향으로의 보상 거리로 사용될 수 있다. 상기 제2 방향으로의 보상 거리(예: 상기 제1 거리(1106))가 산출되면, 상기 전자 장치(1100)의 방향이 상기 제1 방향일 때 획득된 AoA 산출 값을 상술한 수학식 5 및 수학식 6을 이용해 보정할 수 있다.According to an embodiment, the electronic device 1100 connects points corresponding to a reference angle (eg, 0 degrees) when the direction of the electronic device 1100 is a first direction (eg, a horizontal direction or a horizontal mode). A point 1104 at which the first straight line 1101 and a third straight line directed in a second direction perpendicular to the first direction intersect at the point 1103 is calculated, and the point 1103 and the point 1104 are A first distance 1106 between them (eg, X in FIGS. 11 and 12 ) may be calculated. The first distance 1106 may be used as a compensation distance in the second direction. When the compensation distance in the second direction (eg, the first distance 1106 ) is calculated, the calculated AoA value obtained when the direction of the electronic device 1100 is the first direction is expressed in Equation 5 and It can be corrected using Equation (6).

일 실시예에 따르면, 전자 장치(1100)는 전자 장치(1100)의 방향이 제2 방향(예: 세로 방향 또는 세로 모드)일 때의 기준 각도(예: 0도)에 대응되는 지점들을 연결하는 제2 직선(1102)과 상기 지점(1103)에서 상기 제2 방향과 수직한 제1 방향으로 향하는 제4 직선이 교차하는 지점(1105)을 산출하고, 상기 지점(1103)과 상기 지점(1105) 사이의 제2 거리(1107)(예: 도 11 및 도 12의 Y)를 산출할 수 있다. 상기 제2 거리(1107)는 상기 제1 방향으로의 보상 거리로 사용될 수 있다. 상기 제1 방향으로의 보상 거리(예: 상기 제2 거리(1107))가 산출되면, 상기 전자 장치(1100)의 방향이 상기 제2 방향일 때 획득된 AoA 산출 값을 상술한 수학식 9 및 수학식 10을 이용해 보정할 수 있다.According to an embodiment, the electronic device 1100 connects points corresponding to a reference angle (eg, 0 degrees) when the direction of the electronic device 1100 is a second direction (eg, a vertical direction or a portrait mode). A point 1105 is calculated at which a second straight line 1102 and a fourth straight line directed in a first direction perpendicular to the second direction intersect at the point 1103, and the point 1103 and the point 1105 A second distance 1107 between them (eg, Y in FIGS. 11 and 12 ) may be calculated. The second distance 1107 may be used as a compensation distance in the first direction. When the compensation distance in the first direction (eg, the second distance 1107 ) is calculated, the calculated AoA value obtained when the direction of the electronic device 1100 is the second direction is expressed in Equation 9 and It can be corrected using Equation 10.

도 12에서와 같이, 상기 지정된 각도(1111)가 90도보다 클 때, 전자 장치(1100)는 상기 지정된 각도(1111)가 90도일 때의 보상 거리(예: 상기 제1 거리(1106))에 추가적인 보상 거리(1109)(예: 도 12에서의 X')를 합산할 수 있다. 일 예로, 전자 장치(1100)가 상기 제2 방향으로 폴딩될 때, 상기 제1 방향으로의 보상 거리(예: 상기 제2 거리(1107))는 상기 지정된 각도(1111)가 90도일 때 산출한 값과 동일할 수 있다. 또한, 전자 장치(1100)는 상기 지정된 각도(1111)에 기반하여 상기 제2 방향으로의 보상 거리(예: 도 12에서의 x + X')를 산출할 수 있다. 상기 추가적인 보상 거리(1109)는 다음의 수학식 11에 의해 산출될 수 있다.As shown in FIG. 12 , when the specified angle 1111 is greater than 90 degrees, the electronic device 1100 calculates the compensation distance (eg, the first distance 1106 ) when the designated angle 1111 is 90 degrees. An additional compensation distance 1109 (eg, X' in FIG. 12 ) may be summed. For example, when the electronic device 1100 is folded in the second direction, the compensation distance in the first direction (eg, the second distance 1107 ) is calculated when the specified angle 1111 is 90 degrees. value can be the same. Also, the electronic device 1100 may calculate a compensation distance in the second direction (eg, x + X' in FIG. 12 ) based on the specified angle 1111 . The additional compensation distance 1109 may be calculated by Equation 11 below.

Figure pat00046
Figure pat00046

여기서,

Figure pat00047
는 상기 추가적인 보상 거리(1109)를 나타내고,
Figure pat00048
은 측위 결과가 표시되는 위치와 상기 플렉서블 디스플레이(1120)가 접히는 지점(1103) 사이의 거리(1108)를 나타내며,
Figure pat00049
은 상기 플렉서블 디스플레이(1120)의 폴딩 각도(1111)를 나타낼 수 있다.here,
Figure pat00047
denotes the additional compensation distance 1109,
Figure pat00048
denotes a distance 1108 between a position where the positioning result is displayed and a point 1103 at which the flexible display 1120 is folded,
Figure pat00049
may represent a folding angle 1111 of the flexible display 1120 .

다른 예로, 전자 장치(1100)가 상기 제1 방향으로 폴딩될 때, 상기 제2 방향으로의 보상 거리(예: 상기 제1 거리(1106))는 상기 지정된 각도(1111)가 90도일 때 산출한 값과 동일할 수 있다. 또한, 전자 장치(1100)는 상기 지정된 각도(1111)에 기반하여 상기 제1 방향으로의 보상 거리를 산출할 수 있다.As another example, when the electronic device 1100 is folded in the first direction, the compensation distance in the second direction (eg, the first distance 1106) is calculated when the specified angle 1111 is 90 degrees. value can be the same. Also, the electronic device 1100 may calculate the compensation distance in the first direction based on the specified angle 1111 .

일 실시예에 따르면, 상술한 제1 방향으로의 보상 거리, 제2 방향으로의 보상 거리, 상기 제1 방향으로의 보상 거리에 따른 보상 각도(또는 보상 위상차), 또는 상기 제2 방향으로의 보상 거리에 따른 보상 각도(또는 보상 위상차) 중 적어도 하나는, 측위 결과가 표시되는 위치 예를 들어, 디스플레이 화면의 중심 위치 또는 어플리케이션 실행 화면의 중심 위치와 함께 메모리(예: 메모리(250))에 저장될 수 있다.According to an embodiment, the above-described compensation distance in the first direction, compensation distance in the second direction, compensation angle (or compensation phase difference) according to the compensation distance in the first direction, or compensation in the second direction At least one of the compensation angles (or compensation phase difference) according to the distance is stored in a memory (eg, the memory 250) together with the position where the positioning result is displayed, for example, the central position of the display screen or the central position of the application execution screen. can be

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 전자 장치(200))는, 초광대역 통신을 지원하는 통신 모듈(예: 통신 모듈(210)), 상기 통신 모듈과 전기적으로 연결되고, 복수의 안테나를 포함하는 안테나 모듈(예: 안테나 모듈(220)), 디스플레이(예: 디스플레이(240)), 및 상기 통신 모듈, 상기 안테나 모듈 및 상기 디스플레이와 전기적으로 연결된 프로세서(예: 프로세서(230))를 포함하고, 상기 프로세서는, 상기 복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 상기 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하고, 상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하고, 상기 디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하도록 설정될 수 있다.As described above, according to various embodiments, the electronic device (eg, the electronic device 200) is electrically connected to a communication module (eg, the communication module 210) supporting ultra-wideband communication, the communication module, and , an antenna module (eg, antenna module 220), a display (eg, display 240) including a plurality of antennas, and a processor (eg, a processor electrically connected to the communication module, the antenna module and the display) 230)), wherein the processor receives a signal of a frequency band supported by the ultra-wideband communication from an external electronic device using at least two antennas among the plurality of antennas, and based on the received signal, , calculate distance data and angle of arrival data corresponding to the positioning result of the external electronic device, and correct the positioning result based on a position where the positioning result is displayed on the display.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 두 개의 안테나의 중심점과 상기 측위 결과가 표시되는 위치 사이의 거리에 대응되는 오프셋을 이용하여 상기 거리 데이터를 보정하도록 설정될 수 있다.According to various embodiments, the processor may be configured to correct the distance data by using an offset corresponding to a distance between the center points of the at least two antennas and a position at which the positioning result is displayed.

다양한 실시예에 따르면, 상기 프로세서는, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들 및 상기 측위 결과가 표시되는 위치에 기반하여, 보상 거리를 산출하고, 상기 산출된 보상 거리에 대응되는 보상 각도를 산출하고, 상기 산출된 보상 각도를 이용하여 상기 도래각 데이터를 보정하도록 설정될 수 있다.According to various embodiments, the processor calculates a compensation distance based on points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a position at which the positioning result is displayed, It may be set to calculate a compensation angle corresponding to the calculated compensation distance and correct the angle of arrival data using the calculated compensation angle.

다양한 실시예에 따르면, 상기 프로세서는, 상기 전자 장치가 제1 방향이면, 상기 복수의 안테나 중 상기 제1 방향으로 나란하게 배치된 제1 안테나 및 제2 안테나를 상기 적어도 두 개의 안테나로 선택하고, 상기 전자 장치가 상기 제1 방향에 수직한 제2 방향이면, 상기 복수의 안테나 중 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나 및 제3 안테나를 상기 적어도 두 개의 안테나로 선택하도록 설정될 수 있다.According to various embodiments, when the electronic device is in a first direction, the processor selects, as the at least two antennas, a first antenna and a second antenna arranged in parallel in the first direction among the plurality of antennas; If the electronic device is in a second direction perpendicular to the first direction, it may be configured to select the first antenna and the third antenna arranged in parallel in the second direction among the plurality of antennas as the at least two antennas. have.

다양한 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 상기 디스플레이의 화면의 중심 위치를 포함할 수 있다.According to various embodiments, the position at which the positioning result is displayed may include a central position of the screen of the display.

다양한 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 상기 외부 전자 장치의 측위와 관련된 어플리케이션의 실행 화면의 중심 위치를 포함할 수 있다.According to various embodiments, the position at which the positioning result is displayed may include a central position of an execution screen of an application related to positioning of the external electronic device.

다양한 실시예에 따르면, 상기 디스플레이는 상기 디스플레이가 안착되는 하우징의 상태 변화에 따라 표시 영역이 가변되는 플렉서블 디스플레이를 포함하고, 상기 전자 장치는 상기 표시 영역의 변화를 감지하는 센서 모듈(예: 센서 모듈(280))을 더 포함하고, 상기 프로세서는, 상기 센서 모듈을 통해 감지된 상기 표시 영역의 변화에 기반하여, 상기 측위 결과가 표시되는 위치를 판단하도록 설정될 수 있다.According to various embodiments, the display includes a flexible display in which a display area varies according to a change in a state of a housing on which the display is seated, and the electronic device includes a sensor module (eg, a sensor module) that detects a change in the display area. (280)), the processor may be configured to determine a position at which the positioning result is displayed, based on a change in the display area sensed through the sensor module.

다양한 실시예에 따르면, 상기 플렉서블 디스플레이는, 제1 표시 영역 및 제2 표시 영역이 실질적으로 동일 평면을 형성하는 제1 상태, 상기 제1 표시 영역 및 상기 제2 표시 영역이 상호 마주보는 제2 상태, 및 상기 제1 상태와 상기 제2 상태 사이에서 상기 제1 표시 영역 및 상기 제2 표시 영역이 지정된 각도를 형성하는 제3 상태를 포함할 수 있다.According to various embodiments, the flexible display may include a first state in which the first display area and the second display area form substantially the same plane, and a second state in which the first display area and the second display area face each other. , and a third state in which the first display area and the second display area form a specified angle between the first state and the second state.

다양한 실시예에 따르면, 상기 프로세서는, 상기 지정된 각도가 90도일 때, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들을 연결하는 제1 직선과 상기 측위 결과가 표시되는 위치에서 제1 방향과 수직한 제2 방향으로 향하는 제2 직선이 교차하는 지점을 산출하고, 상기 측위 결과가 표시되는 위치와 상기 교차 지점 사이의 제1 거리를 산출하고, 상기 외부 전자 장치의 거리와 상기 산출된 제1 거리에 기반하여, 상기 전자 장치가 상기 제1 방향일 때의 보상 각도를 산출하고, 상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하도록 설정될 수 있다.According to various embodiments, when the designated angle is 90 degrees, the processor displays a first straight line connecting points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and the positioning result calculating a point at which a second straight line that is directed in a second direction perpendicular to the first direction intersects at the position where the positioning result is displayed, calculating a first distance between the position at which the positioning result is displayed and the intersection point, and It may be configured to calculate a compensation angle when the electronic device is in the first direction based on the distance and the calculated first distance, and correct the angle of arrival data based on the calculated compensation angle.

다양한 실시예에 따르면, 상기 프로세서는, 상기 지정된 각도가 90도보다 클 때, 상기 측위 결과가 표시되는 위치와 상기 플렉서블 디스플레이가 접히는 지점 사이의 거리 및 상기 지정된 각도에 기반하여, 상기 제1 방향으로의 보상 거리를 산출하고, 상기 지정된 각도가 90도일 때 산출되는 상기 제1 거리와 상기 산출된 보상 거리를 합산하고, 상기 합산된 거리에 기반하여, 상기 보상 각도를 산출하고, 상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하도록 설정될 수 있다.According to various embodiments, when the designated angle is greater than 90 degrees, the processor is configured to move in the first direction based on a distance between a position at which the positioning result is displayed and a point at which the flexible display is folded and the designated angle. calculating a compensation distance of , adding the first distance calculated when the specified angle is 90 degrees and the calculated compensation distance, calculating the compensation angle based on the summed distance, and calculating the calculated compensation angle It may be set to correct the angle of arrival data based on .

상술한 바와 같이, 다양한 실시예에 따르면, 전자 장치(예: 전자 장치(200))의 무선 통신을 이용한 측위 방법은, 복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하는 동작, 상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하는 동작, 및 디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하는 동작을 포함할 수 있다.As described above, according to various embodiments, the positioning method using wireless communication of an electronic device (eg, the electronic device 200 ) uses at least two antennas among a plurality of antennas to perform ultra-wideband communication from an external electronic device The operation of receiving a signal of the supported frequency band, the operation of calculating distance data and angle of arrival data corresponding to the positioning result of the external electronic device based on the received signal, and displaying the positioning result on a display It may include an operation of correcting the positioning result based on the location.

다양한 실시예에 따르면, 상기 측위 결과를 보정하는 동작은, 상기 적어도 두 개의 안테나의 중심점과 상기 측위 결과가 표시되는 위치 사이의 거리에 대응되는 오프셋을 이용하여 상기 거리 데이터를 보정하는 동작을 포함할 수 있다.According to various embodiments, the correcting of the positioning result may include correcting the distance data using an offset corresponding to a distance between the center points of the at least two antennas and a position at which the positioning result is displayed. can

다양한 실시예에 따르면, 상기 측위 결과를 보정하는 동작은, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들 및 상기 측위 결과가 표시되는 위치에 기반하여, 보상 거리를 산출하는 동작, 상기 산출된 보상 거리에 대응되는 보상 각도를 산출하는 동작, 및 상기 산출된 보상 각도를 이용하여 상기 도래각 데이터를 보정하는 동작을 포함할 수 있다.According to various embodiments, the correcting of the positioning result includes points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a position at which the positioning result is displayed, a compensation distance It may include an operation of calculating , an operation of calculating a compensation angle corresponding to the calculated compensation distance, and an operation of correcting the angle of arrival data using the calculated compensation angle.

다양한 실시예에 따르면, 상기 측위 방법은, 상기 전자 장치가 제1 방향이면, 상기 복수의 안테나 중 상기 제1 방향으로 나란하게 배치된 제1 안테나 및 제2 안테나를 상기 적어도 두 개의 안테나로 선택하고, 상기 전자 장치가 상기 제1 방향에 수직한 제2 방향이면, 상기 복수의 안테나 중 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나 및 제3 안테나를 상기 적어도 두 개의 안테나로 선택하는 동작을 더 포함할 수 있다.According to various embodiments, in the positioning method, when the electronic device is in a first direction, a first antenna and a second antenna arranged in parallel in the first direction among the plurality of antennas are selected as the at least two antennas, , when the electronic device is in a second direction perpendicular to the first direction, selecting the first antenna and the third antenna arranged in parallel in the second direction from among the plurality of antennas as the at least two antennas; may include more.

다양한 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 상기 디스플레이의 화면의 중심 위치를 포함할 수 있다.According to various embodiments, the position at which the positioning result is displayed may include a central position of the screen of the display.

다양한 실시예에 따르면, 상기 측위 결과가 표시되는 위치는 상기 외부 전자 장치의 측위와 관련된 어플리케이션의 실행 화면의 중심 위치를 포함할 수 있다.According to various embodiments, the position at which the positioning result is displayed may include a central position of an execution screen of an application related to positioning of the external electronic device.

다양한 실시예에 따르면, 상기 측위 방법은, 센서 모듈을 통해 감지된 상기 디스플레이의 표시 영역의 변화에 기반하여, 상기 측위 결과가 표시되는 위치를 판단하는 동작을 더 포함할 수 있다.According to various embodiments of the present disclosure, the positioning method may further include determining a position at which the positioning result is displayed, based on a change in the display area of the display detected by the sensor module.

다양한 실시예에 따르면, 상기 디스플레이는, 제1 표시 영역 및 제2 표시 영역이 실질적으로 동일 평면을 형성하는 제1 상태, 상기 제1 표시 영역 및 상기 제2 표시 영역이 상호 마주보는 제2 상태, 및 상기 제1 상태와 상기 제2 상태 사이에서 상기 제1 표시 영역 및 상기 제2 표시 영역이 지정된 각도를 형성하는 제3 상태를 포함하는 플렉서블 디스플레이를 포함할 수 있다.According to various embodiments, the display may include a first state in which the first display area and the second display area form substantially the same plane, a second state in which the first display area and the second display area face each other; and a flexible display including a third state in which the first display area and the second display area form a specified angle between the first state and the second state.

다양한 실시예에 따르면, 상기 측위 결과를 보정하는 동작은, 상기 지정된 각도가 90도일 때, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들을 연결하는 제1 직선과 상기 측위 결과가 표시되는 위치에서 제1 방향과 수직한 제2 방향으로 향하는 제2 직선이 교차하는 지점을 산출하는 동작, 상기 측위 결과가 표시되는 위치와 상기 교차 지점 사이의 제1 거리를 산출하는 동작, 상기 외부 전자 장치의 거리와 상기 산출된 제1 거리에 기반하여, 상기 전자 장치가 상기 제1 방향일 때의 보상 각도를 산출하는 동작, 및 상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하는 동작을 포함할 수 있다.According to various embodiments, the correcting of the positioning result includes a first straight line connecting points corresponding to a reference angle of positioning set based on the center point of the at least two antennas when the designated angle is 90 degrees; An operation of calculating a point at which a second straight line directed in a second direction perpendicular to the first direction intersects at the position where the positioning result is displayed, calculating a first distance between the position where the positioning result is displayed and the intersection point operation, calculating a compensation angle when the electronic device is in the first direction based on the distance of the external electronic device and the calculated first distance, and the angle of arrival data based on the calculated compensation angle may include an operation for correcting

다양한 실시예에 따르면, 상기 측위 결과를 보정하는 동작은, 상기 지정된 각도가 90도보다 클 때, 상기 측위 결과가 표시되는 위치와 상기 플렉서블 디스플레이가 접히는 지점 사이의 거리 및 상기 지정된 각도에 기반하여, 상기 제1 방향으로의 보상 거리를 산출하는 동작, 상기 지정된 각도가 90도일 때 산출되는 상기 제1 거리와 상기 산출된 보상 거리를 합산하는 동작, 상기 합산된 거리에 기반하여, 상기 보상 각도를 산출하는 동작, 및 상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하는 동작을 포함할 수 있다.According to various embodiments, the correcting of the positioning result may include, when the designated angle is greater than 90 degrees, based on the distance between the position where the positioning result is displayed and the point at which the flexible display is folded and the designated angle, Calculating the compensation distance in the first direction, adding the first distance calculated when the designated angle is 90 degrees and the calculated compensation distance, and calculating the compensation angle based on the summed distance and correcting the angle of arrival data based on the calculated compensation angle.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.The electronic device according to various embodiments disclosed in this document may have various types of devices. The electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance device. The electronic device according to the embodiment of the present document is not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, but it should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C," each of which may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other such components, and refer to those components in other aspects (e.g., importance or order) is not limited. It is said that one (eg, first) component is “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logic block, component, or circuit. can be used as A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101))에 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document include one or more stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101). It may be implemented as software (eg, program 140) including instructions. For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of the one or more instructions stored from the storage medium and execute it. This makes it possible for the device to be operated to perform at least one function in accordance with the called at least one command. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The device-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.

일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in this document may be provided in a computer program product (computer program product). Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store TM ) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, or omitted. , or one or more other operations may be added.

Claims (20)

전자 장치에 있어서,
초광대역 통신을 지원하는 통신 모듈;
상기 통신 모듈과 전기적으로 연결되고, 복수의 안테나를 포함하는 안테나 모듈;
디스플레이; 및
상기 통신 모듈, 상기 안테나 모듈 및 상기 디스플레이와 전기적으로 연결된 프로세서를 포함하고,
상기 프로세서는,
상기 복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 상기 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하고,
상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하고,
상기 디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하도록 설정된 전자 장치.
In an electronic device,
Communication module supporting ultra-wideband communication;
an antenna module electrically connected to the communication module and including a plurality of antennas;
display; and
a processor electrically connected to the communication module, the antenna module, and the display;
The processor is
receiving a signal of a frequency band supported by the ultra-wideband communication from an external electronic device using at least two antennas among the plurality of antennas;
calculating distance data and angle of arrival data corresponding to a positioning result of the external electronic device based on the received signal;
An electronic device configured to correct the positioning result based on a position at which the positioning result is displayed on the display.
청구항 1에 있어서,
상기 프로세서는,
상기 적어도 두 개의 안테나의 중심점과 상기 측위 결과가 표시되는 위치 사이의 거리에 대응되는 오프셋을 이용하여 상기 거리 데이터를 보정하도록 설정된 전자 장치.
The method according to claim 1,
The processor is
The electronic device is configured to correct the distance data by using an offset corresponding to a distance between the center points of the at least two antennas and a position at which the positioning result is displayed.
청구항 1에 있어서,
상기 프로세서는,
상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들 및 상기 측위 결과가 표시되는 위치에 기반하여, 보상 거리를 산출하고,
상기 산출된 보상 거리에 대응되는 보상 각도를 산출하고,
상기 산출된 보상 각도를 이용하여 상기 도래각 데이터를 보정하도록 설정된 전자 장치.
The method according to claim 1,
The processor is
Calculating a compensation distance based on points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a position at which the positioning result is displayed,
calculating a compensation angle corresponding to the calculated compensation distance;
An electronic device configured to correct the angle of arrival data using the calculated compensation angle.
청구항 1에 있어서,
상기 프로세서는,
상기 전자 장치가 제1 방향이면, 상기 복수의 안테나 중 상기 제1 방향으로 나란하게 배치된 제1 안테나 및 제2 안테나를 상기 적어도 두 개의 안테나로 선택하고,
상기 전자 장치가 상기 제1 방향에 수직한 제2 방향이면, 상기 복수의 안테나 중 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나 및 제3 안테나를 상기 적어도 두 개의 안테나로 선택하도록 설정된 전자 장치.
The method according to claim 1,
The processor is
when the electronic device is in the first direction, selecting a first antenna and a second antenna arranged in parallel in the first direction among the plurality of antennas as the at least two antennas;
When the electronic device is in a second direction perpendicular to the first direction, the electronic device is configured to select the first antenna and the third antenna arranged in parallel in the second direction among the plurality of antennas as the at least two antennas. .
청구항 1에 있어서,
상기 측위 결과가 표시되는 위치는 상기 디스플레이의 화면의 중심 위치를 포함하는 전자 장치.
The method according to claim 1,
The position at which the positioning result is displayed includes a central position of the screen of the display.
청구항 1에 있어서,
상기 측위 결과가 표시되는 위치는 상기 외부 전자 장치의 측위와 관련된 어플리케이션의 실행 화면의 중심 위치를 포함하는 전자 장치.
The method according to claim 1,
The position at which the positioning result is displayed includes a central position of an execution screen of an application related to positioning of the external electronic device.
청구항 1에 있어서,
상기 디스플레이는 상기 디스플레이가 안착되는 하우징의 상태 변화에 따라 표시 영역이 가변되는 플렉서블 디스플레이를 포함하고,
상기 표시 영역의 변화를 감지하는 센서 모듈을 더 포함하고,
상기 프로세서는,
상기 센서 모듈을 통해 감지된 상기 표시 영역의 변화에 기반하여, 상기 측위 결과가 표시되는 위치를 판단하도록 설정된 전자 장치.
The method according to claim 1,
The display includes a flexible display in which a display area varies according to a change in a state of a housing in which the display is mounted,
Further comprising a sensor module for detecting a change in the display area,
The processor is
An electronic device configured to determine a position at which the positioning result is displayed based on a change in the display area sensed through the sensor module.
청구항 7에 있어서,
상기 플렉서블 디스플레이는,
제1 표시 영역 및 제2 표시 영역이 실질적으로 동일 평면을 형성하는 제1 상태, 상기 제1 표시 영역 및 상기 제2 표시 영역이 상호 마주보는 제2 상태, 및 상기 제1 상태와 상기 제2 상태 사이에서 상기 제1 표시 영역 및 상기 제2 표시 영역이 지정된 각도를 형성하는 제3 상태를 포함하는 전자 장치.
8. The method of claim 7,
The flexible display,
A first state in which the first display area and the second display area form substantially the same plane, a second state in which the first display area and the second display area face each other, and the first state and the second state and a third state in which the first display area and the second display area form a specified angle therebetween.
청구항 8에 있어서,
상기 프로세서는,
상기 지정된 각도가 90도일 때, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들을 연결하는 제1 직선과 상기 측위 결과가 표시되는 위치에서 제1 방향과 수직한 제2 방향으로 향하는 제2 직선이 교차하는 지점을 산출하고,
상기 측위 결과가 표시되는 위치와 상기 교차 지점 사이의 제1 거리를 산출하고,
상기 외부 전자 장치의 거리와 상기 산출된 제1 거리에 기반하여, 상기 전자 장치가 상기 제1 방향일 때의 보상 각도를 산출하고,
상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하도록 설정된 전자 장치.
9. The method of claim 8,
The processor is
When the designated angle is 90 degrees, a first straight line connecting points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a second perpendicular to the first direction at a position where the positioning result is displayed Calculating a point at which a second straight line directed in two directions intersects,
calculating a first distance between the position where the positioning result is displayed and the intersection point,
calculating a compensation angle when the electronic device is in the first direction based on the distance of the external electronic device and the calculated first distance;
An electronic device configured to correct the angle of arrival data based on the calculated compensation angle.
청구항 9에 있어서,
상기 프로세서는,
상기 지정된 각도가 90도보다 클 때, 상기 측위 결과가 표시되는 위치와 상기 플렉서블 디스플레이가 접히는 지점 사이의 거리 및 상기 지정된 각도에 기반하여, 상기 제1 방향으로의 보상 거리를 산출하고,
상기 지정된 각도가 90도일 때 산출되는 상기 제1 거리와 상기 산출된 보상 거리를 합산하고,
상기 합산된 거리에 기반하여, 상기 보상 각도를 산출하고,
상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하도록 설정된 전자 장치.
10. The method of claim 9,
The processor is
When the designated angle is greater than 90 degrees, calculating a compensation distance in the first direction based on the distance between the position where the positioning result is displayed and the point at which the flexible display is folded and the designated angle,
summing the calculated first distance and the calculated compensation distance when the specified angle is 90 degrees;
Calculate the compensation angle based on the summed distance,
An electronic device configured to correct the angle of arrival data based on the calculated compensation angle.
전자 장치의 무선 통신을 이용한 측위 방법에 있어서,
복수의 안테나 중 적어도 두 개의 안테나를 이용하여, 외부 전자 장치로부터 초광대역 통신이 지원하는 주파수 대역의 신호를 수신하는 동작;
상기 수신된 신호에 기반하여, 상기 외부 전자 장치의 측위 결과에 대응되는 거리 데이터 및 도래각 데이터를 산출하는 동작; 및
디스플레이 상에 상기 측위 결과가 표시되는 위치에 기반하여, 상기 측위 결과를 보정하는 동작을 포함하는 측위 방법.
In the positioning method using wireless communication of an electronic device,
receiving a signal of a frequency band supported by ultra-wideband communication from an external electronic device using at least two antennas among the plurality of antennas;
calculating distance data and angle of arrival data corresponding to a positioning result of the external electronic device based on the received signal; and
Based on the position at which the positioning result is displayed on a display, the positioning method comprising the operation of correcting the positioning result.
청구항 11에 있어서,
상기 측위 결과를 보정하는 동작은,
상기 적어도 두 개의 안테나의 중심점과 상기 측위 결과가 표시되는 위치 사이의 거리에 대응되는 오프셋을 이용하여 상기 거리 데이터를 보정하는 동작을 포함하는 측위 방법.
12. The method of claim 11,
The operation of correcting the positioning result is,
and correcting the distance data by using an offset corresponding to a distance between a center point of the at least two antennas and a position at which the positioning result is displayed.
청구항 11에 있어서,
상기 측위 결과를 보정하는 동작은,
상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들 및 상기 측위 결과가 표시되는 위치에 기반하여, 보상 거리를 산출하는 동작;
상기 산출된 보상 거리에 대응되는 보상 각도를 산출하는 동작; 및
상기 산출된 보상 각도를 이용하여 상기 도래각 데이터를 보정하는 동작을 포함하는 측위 방법.
12. The method of claim 11,
The operation of correcting the positioning result is,
calculating a compensation distance based on points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a position at which the positioning result is displayed;
calculating a compensation angle corresponding to the calculated compensation distance; and
and correcting the arrival angle data using the calculated compensation angle.
청구항 11에 있어서,
상기 전자 장치가 제1 방향이면, 상기 복수의 안테나 중 상기 제1 방향으로 나란하게 배치된 제1 안테나 및 제2 안테나를 상기 적어도 두 개의 안테나로 선택하고, 상기 전자 장치가 상기 제1 방향에 수직한 제2 방향이면, 상기 복수의 안테나 중 상기 제2 방향으로 나란하게 배치된 상기 제1 안테나 및 제3 안테나를 상기 적어도 두 개의 안테나로 선택하는 동작을 더 포함하는 측위 방법.
12. The method of claim 11,
If the electronic device is in the first direction, a first antenna and a second antenna arranged in parallel in the first direction among the plurality of antennas are selected as the at least two antennas, and the electronic device is positioned perpendicular to the first direction In the case of one second direction, the method further comprising selecting the first antenna and the third antenna arranged in parallel in the second direction among the plurality of antennas as the at least two antennas.
청구항 11에 있어서,
상기 측위 결과가 표시되는 위치는 상기 디스플레이의 화면의 중심 위치를 포함하는 측위 방법.
12. The method of claim 11,
The position at which the positioning result is displayed includes a central position of the screen of the display.
청구항 11에 있어서,
상기 측위 결과가 표시되는 위치는 상기 외부 전자 장치의 측위와 관련된 어플리케이션의 실행 화면의 중심 위치를 포함하는 측위 방법.
12. The method of claim 11,
The position at which the positioning result is displayed includes a central position of an execution screen of an application related to positioning of the external electronic device.
청구항 11에 있어서,
센서 모듈을 통해 감지된 상기 디스플레이의 표시 영역의 변화에 기반하여, 상기 측위 결과가 표시되는 위치를 판단하는 동작을 더 포함하는 측위 방법.
12. The method of claim 11,
The positioning method further comprising the operation of determining a position at which the positioning result is displayed based on a change in the display area of the display detected through a sensor module.
청구항 17에 있어서,
상기 디스플레이는,
제1 표시 영역 및 제2 표시 영역이 실질적으로 동일 평면을 형성하는 제1 상태, 상기 제1 표시 영역 및 상기 제2 표시 영역이 상호 마주보는 제2 상태, 및 상기 제1 상태와 상기 제2 상태 사이에서 상기 제1 표시 영역 및 상기 제2 표시 영역이 지정된 각도를 형성하는 제3 상태를 포함하는 플렉서블 디스플레이인 측위 방법.
18. The method of claim 17,
The display is
A first state in which the first display area and the second display area form substantially the same plane, a second state in which the first display area and the second display area face each other, and the first state and the second state The positioning method of a flexible display including a third state in which the first display area and the second display area form a specified angle therebetween.
청구항 18에 있어서,
상기 측위 결과를 보정하는 동작은,
상기 지정된 각도가 90도일 때, 상기 적어도 두 개의 안테나의 중심점에 기반하여 설정되는 측위의 기준 각도에 대응되는 지점들을 연결하는 제1 직선과 상기 측위 결과가 표시되는 위치에서 제1 방향과 수직한 제2 방향으로 향하는 제2 직선이 교차하는 지점을 산출하는 동작;
상기 측위 결과가 표시되는 위치와 상기 교차 지점 사이의 제1 거리를 산출하는 동작;
상기 외부 전자 장치의 거리와 상기 산출된 제1 거리에 기반하여, 상기 전자 장치가 상기 제1 방향일 때의 보상 각도를 산출하는 동작; 및
상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하는 동작을 포함하는 측위 방법.
19. The method of claim 18,
The operation of correcting the positioning result is,
When the designated angle is 90 degrees, a first straight line connecting points corresponding to a reference angle of positioning set based on the center point of the at least two antennas and a second perpendicular to the first direction at a position where the positioning result is displayed calculating a point at which second straight lines directed in two directions intersect;
calculating a first distance between a position at which the positioning result is displayed and the intersection point;
calculating a compensation angle when the electronic device is in the first direction based on the distance of the external electronic device and the calculated first distance; and
and correcting the arrival angle data based on the calculated compensation angle.
청구항 19에 있어서,
상기 측위 결과를 보정하는 동작은,
상기 지정된 각도가 90도보다 클 때, 상기 측위 결과가 표시되는 위치와 상기 플렉서블 디스플레이가 접히는 지점 사이의 거리 및 상기 지정된 각도에 기반하여, 상기 제1 방향으로의 보상 거리를 산출하는 동작;
상기 지정된 각도가 90도일 때 산출되는 상기 제1 거리와 상기 산출된 보상 거리를 합산하는 동작;
상기 합산된 거리에 기반하여, 상기 보상 각도를 산출하는 동작; 및
상기 산출된 보상 각도에 기반하여 상기 도래각 데이터를 보정하는 동작을 포함하는 측위 방법.
20. The method of claim 19,
The operation of correcting the positioning result is,
calculating a compensation distance in the first direction based on a distance between a position at which the positioning result is displayed and a point at which the flexible display is folded and the designated angle when the designated angle is greater than 90 degrees;
summing the calculated first distance and the calculated compensation distance when the specified angle is 90 degrees;
calculating the compensation angle based on the summed distance; and
and correcting the arrival angle data based on the calculated compensation angle.
KR1020210020682A 2021-02-16 2021-02-16 Method for measuring location using wireless communication and electronic device supporting the same KR20220117054A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210020682A KR20220117054A (en) 2021-02-16 2021-02-16 Method for measuring location using wireless communication and electronic device supporting the same
PCT/KR2022/002177 WO2022177248A1 (en) 2021-02-16 2022-02-15 Positioning method using wireless communication, and electronic device for supporting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210020682A KR20220117054A (en) 2021-02-16 2021-02-16 Method for measuring location using wireless communication and electronic device supporting the same

Publications (1)

Publication Number Publication Date
KR20220117054A true KR20220117054A (en) 2022-08-23

Family

ID=82931445

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210020682A KR20220117054A (en) 2021-02-16 2021-02-16 Method for measuring location using wireless communication and electronic device supporting the same

Country Status (2)

Country Link
KR (1) KR20220117054A (en)
WO (1) WO2022177248A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102349713B1 (en) * 2014-10-20 2022-01-12 삼성전자주식회사 Operation Method of communication channel and Electronic device supporting the same
KR20170079547A (en) * 2015-12-30 2017-07-10 엘지전자 주식회사 Mobile terminal and method for controlling the same
KR102035388B1 (en) * 2017-09-20 2019-10-22 (주)다스콘 Real-Time Positioning System and Contents Providing Service System Using Real-Time Positioning System
US11320509B2 (en) * 2018-04-17 2022-05-03 Apple Inc. Electronic devices with motion sensing and angle of arrival detection circuitry
KR20200086830A (en) * 2019-01-10 2020-07-20 삼성전자주식회사 Method for providing image using foldable display and electronic device for supporting the same

Also Published As

Publication number Publication date
WO2022177248A1 (en) 2022-08-25

Similar Documents

Publication Publication Date Title
US20230221430A1 (en) Positioning method using multiple devices and electronic device therefor
KR20220009601A (en) Electronic device, and method for transmitting image in electronic device
US20240175962A1 (en) Electronic device for determining angle-of-arrival of signal, and method for operating electronic device
US20230273762A1 (en) Expandable display control method and electronic device supporting same
US20230196607A1 (en) Electronic device for correcting position of external device and operation method thereof
KR20220104565A (en) Antenna and electronic device having the same
US20230086173A1 (en) Electronic device comprising antenna
KR20220016735A (en) Method for measuring location using wireless communication and electronic device supporting the same
KR20220168380A (en) Antenna module and electronic device including the same, and method of operating the same
KR20220117054A (en) Method for measuring location using wireless communication and electronic device supporting the same
KR20210158199A (en) Electronic device comprising ultra wide band antenna and method thereof
KR20220052047A (en) Method and electronic device for measuring location based on antenna
KR20220112952A (en) Electronic device, and method for mataining sho0ting composition in electronic device
KR20220147974A (en) Electornic device for surporting positioing commnication
KR20220090716A (en) Electronic device, and method for grouping external devices by space in electronic device
KR20220073448A (en) Electornic device including connector
KR20220050404A (en) Electronic device and method for controlling function based on shape thereof
EP4254656A1 (en) Electronic apparatus comprising antenna
US20240231537A1 (en) Electronic device and control method therefor
US20230268639A1 (en) Electronic device comprising antenna
US20230327323A1 (en) Electronic device comprising an antenna
US20240079780A1 (en) Electronic device including multi-feed antenna
US20230118019A1 (en) Electronic device comprising an antenna
US20230013109A1 (en) Electronic device including antenna
EP4358419A1 (en) Electronic device including antenna for supporting multiple communications