KR20220005306A - Antenna control method for providing uwb service and electronic device supporting the same - Google Patents

Antenna control method for providing uwb service and electronic device supporting the same Download PDF

Info

Publication number
KR20220005306A
KR20220005306A KR1020200083004A KR20200083004A KR20220005306A KR 20220005306 A KR20220005306 A KR 20220005306A KR 1020200083004 A KR1020200083004 A KR 1020200083004A KR 20200083004 A KR20200083004 A KR 20200083004A KR 20220005306 A KR20220005306 A KR 20220005306A
Authority
KR
South Korea
Prior art keywords
electronic device
antenna
uwb
antennas
external electronic
Prior art date
Application number
KR1020200083004A
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 KR1020200083004A priority Critical patent/KR20220005306A/en
Priority to PCT/KR2021/007231 priority patent/WO2022010115A1/en
Publication of KR20220005306A publication Critical patent/KR20220005306A/en

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q5/00Arrangements for simultaneous operation of antennas on two or more different wavebands, e.g. dual-band or multi-band arrangements
    • H01Q5/20Arrangements for simultaneous operation of antennas on two or more different wavebands, e.g. dual-band or multi-band arrangements characterised by the operating wavebands
    • H01Q5/25Ultra-wideband [UWB] systems, e.g. multiple resonance systems; Pulse systems
    • 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
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q9/00Electrically-short antennas having dimensions not more than twice the operating wavelength and consisting of conductive active radiating elements
    • H01Q9/04Resonant antennas
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q9/00Electrically-short antennas having dimensions not more than twice the operating wavelength and consisting of conductive active radiating elements
    • H01Q9/04Resonant antennas
    • H01Q9/0407Substantially flat resonant element parallel to ground plane, e.g. patch antenna

Abstract

An electronic device according to various embodiments of the present disclosure includes a first antenna, a plurality of antennas having different types from the first antenna, and a UWB communication module. The UWB communication module may select at least some of the first antenna and the plurality of antennas based on a characteristic required by a UWB service to measure at least one of a distance or a direction from an external electronic device. In addition, various embodiments are possible.

Description

UWB 서비스를 제공하기 위한 안테나 제어 방법 및 이를 지원하는 전자 장치{ANTENNA CONTROL METHOD FOR PROVIDING UWB SERVICE AND ELECTRONIC DEVICE SUPPORTING THE SAME}Antenna control method for providing UWB service and electronic device supporting the same

본 개시의 다양한 실시예들은 UWB 서비스를 제공하기 위한 안테나 제어 방법 및 이를 지원하는 전자 장치에 관한 것이다.Various embodiments of the present disclosure relate to an antenna control method for providing a UWB service and an electronic device supporting the same.

UWB(ultra wide band)는 블루투스(Bluetooth)나 와이파이(WiFi)처럼 전파를 사용하는 근거리 무선 통신 프로토콜로, 500메가헤르츠(MHz) 이상 광대역 주파수를 사용해 센티미터(cm) 단위의 오차 범위로 거리를 정밀하게 측정할 수 있는 무선 기술이다. UWB 기술을 이용하는 전자 장치는 넓은 주파수 대역에 걸쳐 낮은 전력으로 데이터를 송수신할 수 있다.UWB (ultra wide band) is a short-distance wireless communication protocol that uses radio waves like Bluetooth or Wi-Fi. It is a wireless technology that can be easily measured. An electronic device using UWB technology may transmit/receive data with low power over a wide frequency band.

UWB를 활용한 서비스(이하 'UWB 서비스')로는 비접촉식 보안 출입 서비스가 대표적일 수 있다. 예를 들어, 사용자가 출입증을 찍지 않아도 비접촉식 접근 제어 시스템이 사용자를 먼저 인식해 출입구를 열어줄 수 있다. 다른 UWB 서비스로 위치 기반 서비스도 주목할 만하다. 예를 들어, 넓은 주차장에서 자동차를 찾거나, 사람이 많은 대형 복합 건물에서 가족이나 친구를 찾는데 UWB 기술이 유용할 수 있다.As a service using UWB (hereinafter, 'UWB service'), a non-contact secure access service may be representative. For example, the contactless access control system can recognize the user first and open the door even if the user does not take a picture of the pass. As another UWB service, location-based services are also noteworthy. UWB technology can be useful, for example, to find a car in a large parking lot, or to find family or friends in a large, crowded complex.

전자 장치는 다양한 안테나를 포함할 수 있고, 이를 이용해 UWB 서비스를 제공할 수 있다. 안테나는 종류에 따라 특성이 다를 수 있다. The electronic device may include various antennas, and may provide a UWB service using them. Antennas may have different characteristics depending on the type.

UWB 서비스는 서비스의 특성에 따라 위치 정보가 중요한 서비스, 방향 정보가 중요한 서비스, 또는 위치 정보와 방향 정보 모두가 중요한 서비스를 포함할 수 있다. The UWB service may include a service in which location information is important, a service in which direction information is important, or a service in which both location information and direction information are important according to the characteristics of the service.

다양한 안테나를 포함하는 전자 장치는 UWB 서비스를 제공할 때 선택하는 안테나에 따라 UWB 서비스의 품질이 달라질 수 있다. An electronic device including various antennas may have different UWB service quality depending on an antenna selected when providing the UWB service.

본 개시의 다양한 실시예에 따른 전자 장치는, 제1 안테나, 상기 제1 안테나와 종류가 다른 복수의 안테나, 및 UWB 통신 모듈을 포함하고, 상기 UWB 통신 모듈은 UWB 서비스가 요구하는 특성에 기초해 상기 제1 안테나와 상기 복수의 안테나 중 적어도 일부를 선택하여 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나를 측정할 수 있다.An electronic device according to various embodiments of the present disclosure includes a first antenna, a plurality of antennas having different types from the first antenna, and a UWB communication module, wherein the UWB communication module is configured based on a characteristic required for a UWB service. At least one of a distance or a direction to an external electronic device may be measured by selecting at least some of the first antenna and the plurality of antennas.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법은, UWB 서비스가 요구하는 특성에 대해 판단하는 동작, 상기 판단된 UWB 서비스가 요구하는 특성에 기초해 제1 안테나와 상기 제1 안테나와는 종류가 다른 복수의 안테나 중 적어도 하나를 선택하는 동작, 상기 선택된 제1 안테나와 복수의 안테나 중 적어도 하나를 이용해 외부의 전자 장치와 데이터를 송신 또는 수신하는 동작, 및 상기 송신 또는 수신한 데이터를 이용해 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나를 측정하는 동작을 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present disclosure includes an operation of determining a characteristic required by the UWB service, and a type of a first antenna and the first antenna based on the determined characteristic required by the UWB service selecting at least one of a plurality of different antennas, transmitting or receiving data with an external electronic device using at least one of the selected first antenna and a plurality of antennas, and using the transmitted or received data to The method may include measuring at least one of a distance or a direction from an external electronic device.

본 개시의 다양한 실시예들에 따르면, 전자 장치는 UWB 서비스의 종류에 따라 안테나를 선택할 수 있어 사용자에게 제공되는 UWB 서비스의 품질이 좋아질 수 있다. According to various embodiments of the present disclosure, the electronic device may select an antenna according to the type of the UWB service, so that the quality of the UWB service provided to the user may be improved.

본 개시의 다양한 실시예들에 따르면, 전자 장치는 안테나를 이용해 먼 곳에 위치한 외부의 전자 장치를 찾아낼 수 있으며, 가까운 곳에 위치한 외부의 전자 장치의 방향(방위각)도 정확하게 판단할 수 있다.According to various embodiments of the present disclosure, the electronic device may use an antenna to find an external electronic device located far away, and may also accurately determine the direction (azimuth) of the external electronic device located nearby.

본 개시의 다양한 실시예들에 따르면, 전자 장치는 전자 장치의 제조사 또는/및 UWB 서비스 제공자로부터 안테나 설정 파일을 제공받을 수 있어 외부 전자 장치와의 거리 및/또는 방향 측정시 제공된 안테나 설정 파일을 이용해 안테나를 제어할 수 있다. According to various embodiments of the present disclosure, the electronic device may receive an antenna setting file from a manufacturer of the electronic device and/or a UWB service provider, and use the provided antenna setting file when measuring a distance and/or direction with an external electronic device. You can control the antenna.

도면의 설명과 관련하여, 동일 또는 유사한 구성 요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치의 내부 구조의 일 예를 나타낸 도면이다.
도 3은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 일 실시 예를 나타낸 도면이다.
도 4는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.
도 5는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.
도 6은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.
도 7은 본 개시의 다양한 실시예에 따른 UWB 서비스의 사용자 인터페이스의 일 예를 나타낸 도면이다.
도 8은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 UWB 통신 모듈과 프로세서 간의 흐름도이다.
도 9는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 UWB 통신 모듈의 순서도이다.
도 10은 본 개시의 다양한 실시예에 따라 복수의 UWB 서비스를 지원하는 UWB 통신 모듈의 안테나 스위칭 일예를 시간 측면에서 나타낸 도면이다.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
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 illustrating an example of an internal structure of an electronic device supporting a UWB service according to various embodiments of the present disclosure.
3 is a diagram illustrating an example of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.
4 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.
5 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.
6 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.
7 is a diagram illustrating an example of a user interface of a UWB service according to various embodiments of the present disclosure.
8 is a flowchart between a UWB communication module and a processor supporting a UWB service according to various embodiments of the present disclosure.
9 is a flowchart of a UWB communication module supporting a UWB service according to various embodiments of the present disclosure.
10 is a diagram illustrating an example of antenna switching of a UWB communication module supporting a plurality of UWB services in terms of time according to various embodiments of the present disclosure.

이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재될 수 있다. Hereinafter, various embodiments of the present document may be described with reference to the accompanying drawings.

도 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)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(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 , an electronic device 101 communicates with an electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or 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 device 150 , a sound output device 155 , a display device 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 may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as one integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).

프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(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 loaded into the volatile memory 132 , and may process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and a secondary processor 123 (eg, a graphic processing unit, an image signal processor) that can operate independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. 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))의 일부로서 구현될 수 있다. The auxiliary processor 123 is, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or 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 device 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 co-processor 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.

메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). 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 device 150 may receive a command or data to be used in a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).

음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101 . The sound output device 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, and the receiver can be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from or as part of the speaker.

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

오디오 모듈(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 device 150 , or an external electronic device (eg, a sound output device 155 ) directly or wirelessly connected to the electronic device 101 . The electronic device 102 may output sound through (eg, a speaker or headphones).

센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, 적외선(IR(infrared ray)) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, 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 infrared (IR) sensor. , a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD(secure digital) 카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more designated 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, a secure digital (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 direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN(wide area network))와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI(international mobile subscriber identity))를 이용하여 제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 communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (eg, : It may include a LAN (local area network) communication module, or a power line communication module). Among these communication modules, a corresponding communication module is a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with an external electronic device through a computer network (eg, a telecommunication network such as a LAN or a wide area network (WAN)). These various types of communication modules may be integrated into one component (eg, a single chip) or implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 communicates with the first network 198 or the second network 199 using subscriber information (eg, international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196 . The electronic device 101 may be identified and authenticated within the same communication network.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB(printed circuit board)) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(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 one antenna including a conductor formed on a substrate (eg, a printed circuit board (PCB)) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. 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 .

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 ( eg 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)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.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 electronic devices 102 and 104 may be the same or a different type of device 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 of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 is 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, or client-server computing technology may be used.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 개시의 다양한 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.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 various embodiments of the present disclosure is not limited to the aforementioned devices.

도 2는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치의 내부 구조의 일 예를 나타낸 도면이다.2 is a diagram illustrating an example of an internal structure of an electronic device supporting a UWB service according to various embodiments of the present disclosure.

도 2의 (a)를 참조하면, 다양한 실시예에 따르면, 전자 장치(210)(예: 도 1의 전자 장치(101))는 UWB 통신 모듈(220)(예: 도 1의 통신 모듈(190)), 제1 안테나(230), 제2 안테나(235), 제3 안테나(240) 및/또는 제4 안테나(245)를 포함할 수 있다. 제1 내지 제4 안테나(230 내지 245) 중 적어도 일부는 안테나 모듈(미도시)(예: 도 1의 안테나 모듈(197))에 포함될 수 있다.Referring to FIG. 2A , according to various embodiments, an electronic device 210 (eg, the electronic device 101 of FIG. 1 ) may include a UWB communication module 220 (eg, the communication module 190 of FIG. 1 ). )), a first antenna 230 , a second antenna 235 , a third antenna 240 and/or a fourth antenna 245 . At least some of the first to fourth antennas 230 to 245 may be included in an antenna module (not shown) (eg, the antenna module 197 of FIG. 1 ).

다양한 실시예에 따르면, UWB 통신 모듈(220)은 복수의 안테나(예: 제1 내지 제4 안테나(230 내지 245))와 연결될 수 있다. UWB 통신 모듈(220)은 제1 내지 제4 안테나(230 내지 245) 중 적어도 일부를 이용해 데이터를 송신할 수 있다. UWB 통신 모듈(220)은 제1 내지 제4 안테나(230 내지 245) 중 적어도 일부를 이용해 데이터를 수신할 수 있다. 일 실시예에서, 데이터를 송신하는데 이용되는 안테나와 데이터를 수신하는데 이용되는 안테나는 동일할 수 있다. 다른 실시예에서, 데이터를 송신하는데 이용되는 안테나와 데이터를 수신하는데 이용되는 안테나는 서로 다를 수 있다. According to various embodiments, the UWB communication module 220 may be connected to a plurality of antennas (eg, first to fourth antennas 230 to 245 ). The UWB communication module 220 may transmit data using at least some of the first to fourth antennas 230 to 245 . The UWB communication module 220 may receive data using at least some of the first to fourth antennas 230 to 245 . In one embodiment, the antenna used to transmit data and the antenna used to receive data may be the same. In other embodiments, the antenna used to transmit data and the antenna used to receive data may be different.

다양한 실시예에 따르면, 전자 장치(210)는 블루투스(Bluetooth), BLE(Bluetooth low energy) 또는 WiFi를 이용해 외부 전자 장치(예: 도 1의 전자 장치(102))를 발견할 수 있다. 전자 장치(210)는 블루투스, BLE 또는 WiFi를 이용해 발견한 외부 전자 장치(102)를 식별할 수 있고, 식별된 외부 전자 장치(102)와 UWB 통신을 이용해 데이터를 송수신할 수 있다.According to various embodiments, the electronic device 210 may discover an external electronic device (eg, the electronic device 102 of FIG. 1 ) using Bluetooth, Bluetooth low energy (BLE), or WiFi. The electronic device 210 may identify the discovered external electronic device 102 using Bluetooth, BLE, or WiFi, and may transmit/receive data to and from the identified external electronic device 102 using UWB communication.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 외부 전자 장치(102)와 데이터를 송수신해 전자 장치(210)와 외부 전자 장치(102) 사이의 거리 및/또는 방향(예: 방위각, 및/또는 고도)을 판단할 수 있다. 예를 들어, UWB 통신 모듈(220)는 외부 전자 장치(102)와의 거리를 측정하기 위해 단방향 거리 측정 방법(one-way ranging) 또는/및 양방향 거리 측정 방법(double-side two way ranging)을 수행할 수 있다. 단방향 거리 측정 방법은 송신 장치(예: 전자 장치(210))에서 시간 정보를 데이터로 실어서 수신 장치(예: 외부 전자 장치(102))로 전송하면 수신 장치는 도착한 시간을 측정해 송신 장치와의 거리를 알아낼 수 있다. 양방향 거리 측정 방법은 송신 장치와 수신 장치간 수차례 데이터를 주고 받으며 자체적으로 가지고 있는 시간 정보를 공유하여 시간 오차를 없애 거리를 측정할 수 있다. According to various embodiments, the UWB communication module 220 transmits/receives data to and from the external electronic device 102 to provide a distance and/or a direction (eg, an azimuth, and/or a direction) between the electronic device 210 and the external electronic device 102 . or altitude). For example, the UWB communication module 220 performs a one-way ranging method and/or a double-side two way ranging method to measure a distance to the external electronic device 102 . can do. In the one-way distance measurement method, when the transmitting device (eg, the electronic device 210) carries time information as data and transmits it to the receiving device (eg, the external electronic device 102), the receiving device measures the arrival time and communicates with the transmitting device. can find the distance of In the two-way distance measurement method, data is exchanged between the transmitting device and the receiving device several times, and by sharing time information possessed by itself, the distance can be measured by eliminating the time error.

다양한 실시예에 따라, UWB 통신 모듈(220)는 외부 전자 장치(102)와의 방향을 측정하기 위해 복수의 안테나를 이용해 AOA(angle of arrival)를 측정할 수 있다. 복수의 안테나는 어레이 안테나일 수 있으며 신호가 수신되는 각도를 기반으로 수신하는 전자 장치는 송신하는 전자 장치의 방향을 측정할 수 있다.According to various embodiments, the UWB communication module 220 may measure an angle of arrival (AOA) by using a plurality of antennas to measure a direction with the external electronic device 102 . The plurality of antennas may be array antennas, and the receiving electronic device may measure the direction of the transmitting electronic device based on the angle at which the signal is received.

다양한 실시예에 따라, UWB 통신 모듈(220)이 전자 장치(210)로부터 외부 전자 장치(102)와의 거리를 측정하는데 이용하는 안테나와 전자 장치(210)를 기준으로 외부 전자 장치(102)의 방향을 측정하는데 이용되는 안테나는 동일하거나 상이할 수 있다. 예를 들어, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 전자 장치(210)로부터 외부 전자 장치(102)까지의 거리를 측정할 수 있고, 제2 내지 제4 안테나(235 내지 245)를 이용해 외부 전자 장치(102)의 방향을 측정할 수 있다.According to various embodiments, the UWB communication module 220 determines the direction of the external electronic device 102 with respect to the electronic device 210 and the antenna used to measure the distance from the electronic device 210 to the external electronic device 102 . The antennas used for measurement may be the same or different. For example, the UWB communication module 220 may measure the distance from the electronic device 210 to the external electronic device 102 using the first antenna 230 , and the second to fourth antennas 235 to 245 . ) to measure the direction of the external electronic device 102 .

다양한 실시예에 따르면, 제1 내지 제4 안테나(230 내지 245) 중 일부는 나머지 안테나와 다른 종류의 안테나(예: 이종 안테나)일 수 있다. 안테나는 종류에 따라 안테나가 배치되는 위치 및/또는 특성이 다를 수 있다. 예를 들어, 메탈 안테나 및 LDS(laser direct structuring) 안테나는 지정된 거리 이상(예: 10m 이상)에 있는 외부 전자 장치의 거리 측정 정확도가 높아 지정된 거리 이상에 있는 외부 전자 장치의 거리 측정에 이용될 수 있다. 다른 예를 들어, 패치(patch) 안테나는 지정된 거리 이상에 있는 외부 전자 장치의 거리 측정 정확도는 낮으나 지정된 거리 미만(예: 10m 미만)에 있는 외부 전자 장치의 거리 측정 정확도는 높아 지정된 거리 미만에 있는 외부 전자 장치의 거리 측정에 이용될 수 있다. 또 다른 예를 들어, 패치 안테나는 외부 전자 장치의 방향(예: 방위각, 및/또는 고도) 측정에서도 정확도가 높아 방향 측정시에도 이용될 수 있다. According to various embodiments, some of the first to fourth antennas 230 to 245 may be different types of antennas (eg, heterogeneous antennas) from the other antennas. Depending on the type of the antenna, a position and/or characteristic at which the antenna is disposed may be different. For example, metal antennas and laser direct structuring (LDS) antennas can be used to measure the distance of an external electronic device over a specified distance due to their high accuracy in measuring the distance of an external electronic device at a specified distance (eg, 10 m or more). have. For another example, a patch antenna has low ranging accuracy for external electronic devices over a specified distance, but high ranging accuracy for external electronic devices located less than a specified distance (eg, less than 10m). It may be used to measure the distance of an external electronic device. As another example, the patch antenna has high accuracy in measuring the direction (eg, azimuth and/or altitude) of an external electronic device, and thus may be used for direction measurement.

다양한 실시예에 따르면, 전자 장치(210)는 보다 정확한 UWB 서비스를 제공하기 위해 다른 종류의 안테나를 포함할 수 있다. 예를 들어, 제2 내지 제4 안테나(2235 내지 245)는 패치 안테나일 수 있고, 제1 안테나(230)는 메탈 안테나 또는 LDS 안테나일 수 있다.According to various embodiments, the electronic device 210 may include different types of antennas to provide a more accurate UWB service. For example, the second to fourth antennas 2235 to 245 may be patch antennas, and the first antenna 230 may be a metal antenna or an LDS antenna.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 UWB 서비스의 특성 및/또는 외부 전자 장치와의 거리를 고려해 이용할 안테나를 선택할 수 있다. 예를 들어, 전자 장치(210)가 넓은 주차장에 주차된 자동차를 찾는 UWB 서비스(예: car keyless access)를 지원하는 경우, UWB 통신 모듈(220)은 제1 안테나(230)(예: 메탈 안테나 또는 LDS 안테나)를 선택해 주차된 자동차와 데이터를 송수신해 주차된 자동차의 위치를 판단할 수 있다. 전자 장치(210)가 집안에서 잃어버린 물건을 찾는 UWB 서비스를 지원하는 경우, UWB 통신 모듈(220)은 제2 내지 제4 안테나(235 내지 245)(예: 패치 안테나를 구성하는 안테나들)를 선택해 잃어버린 물건과 데이터를 송수신해 잃어버린 물건의 위치 및/또는 방향(예: 방위각, 및/또는 고도)을 판단할 수 있다. According to various embodiments, the UWB communication module 220 may select an antenna to be used in consideration of characteristics of a UWB service and/or a distance from an external electronic device. For example, when the electronic device 210 supports a UWB service (eg, car keyless access) for finding a car parked in a large parking lot, the UWB communication module 220 may transmit the first antenna 230 (eg, a metal antenna). Alternatively, LDS antenna) can be selected to transmit and receive data to and from the parked car to determine the location of the parked car. When the electronic device 210 supports the UWB service for finding a lost item in the house, the UWB communication module 220 selects the second to fourth antennas 235 to 245 (eg, antennas constituting the patch antenna). Data can be sent and received with the lost object to determine the location and/or orientation (eg azimuth and/or elevation) of the lost object.

다양한 실시예에 따르면, 도 2의 (b)를 참조하면, 전자 장치가 폴더블 전자 장치(250)인 경우에도 UWB 통신 모듈(280), 제1 안테나(260), 제2 안테나(265), 제3 안테나(270), 및/또는 제4 안테나(275)를 포함할 수 있다. 제1 내지 제4 안테나(260 내지 275) 중 적어도 일부는 안테나 모듈(미도시)(예: 도 1의 안테나 모듈(197))에 포함될 수 있다. 폴더블 전자 장치(250)의 동작 방법은 도 2의 (a)에서 설명한 전자 장치(210)의 동작 방법과 동일할 수 있어 여기서는 그에 대한 설명을 생략할 수 있다. 일 실시예에 따르면, 전자 장치는 디스플레이(예: 도 1의 표시 장치(160))가 롤러블 가능한 장치일 수 있다. UWB 안테나가 롤러블 디스플레이에 배치되는 경우 관련 안내 메시지가 표시될 수 있다. 안내 메시지는 롤러블 디스플레이를 펼치기 위한 메시지일 수 있다. 안내 메시지는 외부 전자 장치를 찾기 위한 안테나 배치와 관련된 전자 장치의 상태를 나타낸 것일 수 있다. 예를 들어, 안내 메시지는 외부 전자 장치의 보다 정확한 거리 및/또는 방향을 측정하기 위해 롤러블 디스플레이를 펼쳐달라는 내용을 포함할 수 있다.According to various embodiments, referring to FIG. 2B , even when the electronic device is a foldable electronic device 250 , the UWB communication module 280 , the first antenna 260 , the second antenna 265 , A third antenna 270 and/or a fourth antenna 275 may be included. At least some of the first to fourth antennas 260 to 275 may be included in an antenna module (not shown) (eg, the antenna module 197 of FIG. 1 ). The operation method of the foldable electronic device 250 may be the same as the operation method of the electronic device 210 described with reference to FIG. 2A , and thus a description thereof may be omitted. According to an embodiment, the electronic device may be a device in which a display (eg, the display device 160 of FIG. 1 ) is rollable. When the UWB antenna is placed on the rollable display, a related guidance message may be displayed. The guide message may be a message for unfolding the rollable display. The guide message may indicate a state of an electronic device related to antenna arrangement for finding an external electronic device. For example, the guide message may include a request to unfold the rollable display to measure a more accurate distance and/or direction of the external electronic device.

도 3은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 일 실시 예를 나타낸 도면이다.3 is a diagram illustrating an example of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(210))는 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220)), 제1 안테나(230), 제2 안테나(235), 제3 안테나(240) 및/또는 제4 안테나(245)를 포함할 수 있다. 다양한 실시예에 따르면, 제1 안테나(230)는 메탈 안테나 또는 LDS 안테나일 수 있고, 제2 내지 제4 안테나(235 내지 245)는 패치 안테나일 수 있다.According to various embodiments, the electronic device (eg, the electronic device 210 of FIG. 2 ) includes a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ), a first antenna 230 , and a second antenna 235 . ), a third antenna 240 and/or a fourth antenna 245 may be included. According to various embodiments, the first antenna 230 may be a metal antenna or an LDS antenna, and the second to fourth antennas 235 to 245 may be patch antennas.

도 3의 (a)는 지정된 거리 이상에 있는 외부 전자 장치(예: 도 1의 전자 장치(102)의 거리 측정에 이용되는 안테나를 나타낸 것이고, 도 3의 (b)는 지정된 거리 미만에 있는 외부 전자 장치의 거리 측정 및/또는 방향(예: 방위각, 고도) 측정에 이용되는 안테나를 나타낸 것이다. 다양한 실시예에 따르면, 지정된 거리의 기준은 10m가 될 수 있다. 지정된 거리의 기준은 UWB 서비스에 이용되는 안테나의 성능에 따라 달라질 수 있으며, UWB 서비스의 특성에 따라서도 달라질 수도 있다. 또는, UWB 서비스에 이용되는 안테나의 성능 및 UWB 서비스의 특성을 모두 고려해 지정된 거리의 기준이 결정될 수 있다. 다양한 실시예에 따르면, 지정된 거리의 기준은 거리를 측정하는지 또는/및 방향을 측정하는지에 따라서도 달라질 수 있다.(a) of FIG. 3 shows an antenna used to measure the distance of an external electronic device (eg, the electronic device 102 of FIG. 1 ) located at a specified distance or more, and (b) of FIG. 3 is an external electronic device located less than a specified distance An antenna used for distance measurement and/or direction (eg azimuth, altitude) measurement of an electronic device. According to various embodiments, the reference of the designated distance may be 10m. The reference of the designated distance is for UWB service It may vary depending on the performance of the antenna used, and may also vary depending on the characteristics of the UWB service, or the standard of the designated distance may be determined in consideration of both the performance of the antenna used for the UWB service and the characteristics of the UWB service. According to an embodiment, the reference of the designated distance may also vary depending on whether the distance is measured or/and the direction is measured.

다양한 실시예에 따르면, 전자 장치(210)는 도 3의 (a)와 같이 안테나를 이용하여 외부 전자 장치의 거리를 측정하고, 측정된 거리가 지정된 거리 미만(또는 이하)으로 측정되면 도 3의 (b)와 같이 안테나를 이용하여 외부 전자 장치의 거리를 다시 측정할 수 있다. 전자 장치(210)는 도 3의 (b)와 같이 안테나를 이용하여 외부 전자 장치의 방향을 측정할 수 있다.According to various embodiments, the electronic device 210 measures the distance of the external electronic device using an antenna as shown in (a) of FIG. 3 , and when the measured distance is less than (or less than) the specified distance, As shown in (b), the distance of the external electronic device can be measured again using the antenna. The electronic device 210 may measure the direction of the external electronic device using an antenna as shown in FIG. 3B .

도 3의 (a)를 참조하면, UWB 통신 모듈(220)은 제1 안테나(230)와 제2 안테나(235)를 이용해 외부 전자 장치와의 거리를 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 외부 전자 장치로 송신할 수 있고(310), 제1 안테나(230)와 제2 안테나(235)를 이용해 외부 전자 장치로부터 데이터를 수신할 수 있다(310, 315). Referring to FIG. 3A , the UWB communication module 220 may measure a distance to an external electronic device using a first antenna 230 and a second antenna 235 . According to various embodiments, the UWB communication module 220 may transmit data to an external electronic device using the first antenna 230 ( 310 ), and use the first antenna 230 and the second antenna 235 to Data may be received from the external electronic device (310, 315).

도 3의 (b)를 참조하면, UWB 통신 모듈(220)은 제1 내지 제4 안테나(230 내지 245)를 이용해 외부 전자 장치와의 거리 및/또는 방향(예: 방위각, 및/또는 고도)을 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(325), 제2 내지 제4 안테나(235 내지 245) 중 적어도 일부를 이용해 외부 전자 장치로부터 데이터를 수신할 수 있다(320, 330, 340).Referring to FIG. 3B , the UWB communication module 220 uses the first to fourth antennas 230 to 245 to provide a distance and/or direction (eg, azimuth and/or elevation) with respect to an external electronic device. can be measured. According to various embodiments, the UWB communication module 220 may transmit data using the first antenna 230 ( 325 ), and an external electronic device using at least some of the second to fourth antennas 235 to 245 . It is possible to receive data from (320, 330, 340).

도 3의 (c)는 도 3의 (a)와 (b)에서 나타낸 안테나 이용 방법을 포함하는 안테나 설정 파일(380)(예: libuwb.conf)을 나타낸 것이다. 다양한 실시예에 따르면, 안테나 설정 파일(380)은 UWB 통신 모듈(220)이 외부 전자 장치(102)와 거리 측정 또는/및 방향 측정에 이용할 안테나에 대한 정보를 포함할 수 있다. FIG. 3C illustrates an antenna configuration file 380 (eg, libuwb.conf) including the method of using the antenna shown in FIGS. 3A and 3B . According to various embodiments, the antenna configuration file 380 may include information on an antenna to be used by the UWB communication module 220 to measure a distance and/or a direction from the external electronic device 102 .

다양한 실시예에 따르면, 안테나 설정 파일(380)(또는, UWB 안테나 설정 파일)은 전자 장치(210)의 제조업체에 의해 전자 장치의 모델별로 생성되어 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장될 수 있다. 예를 들어, 안테나 설정 파일(380)은 미리 지정된 경로에 저장될 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치를 알 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치 중 적어도 일부에 기초해 UWB 서비스를 제공하기에 적합한 안테나를 미리 선택하여 안테나 설정 파일(380)로 저장할 수 있다. 전자 장치(210)는 안테나 설정 파일(380)을 업데이트할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 안테나 설정 파일(380)을 외부(예: 도 1의 서버(108) 또는 전자 장치(104))로부터 수신할 수 있다.According to various embodiments, the antenna setting file 380 (or the UWB antenna setting file) is generated for each model of the electronic device by the manufacturer of the electronic device 210 and is generated in the memory of the electronic device 210 (eg, in FIG. 1 ). It may be stored in the memory 130). For example, the antenna configuration file 380 may be stored in a predetermined path. The manufacturer of the electronic device 210 may know the type, performance, and/or location of the antenna included in the electronic device 210 . The manufacturer of the electronic device 210 selects an antenna suitable for providing the UWB service in advance based on at least a part of the type, performance, and/or location of the antenna included in the electronic device 210 to obtain the antenna configuration file 380 . ) can be saved as The electronic device 210 may update the antenna configuration file 380 . For example, the electronic device 210 transmits the antenna setting file 380 to the outside (eg, in FIG. 1 ) through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). from the server 108 or the electronic device 104).

다양한 실시예에 따르면, 안테나 설정 파일(또는, UWB 안테나 설정 파일) (380)은 UWB 서비스(예: UWB 관련 어플리케이션)를 제공하는 업체에 의해 제공될 수 있다. UWB 서비스를 제공하는 업체는 제공하려는 UWB 서비스의 특성에 기반하여 전자 장치의 안테나 성능이 고려된 안테나 설정 파일(380)을 전자 장치(210)에 제공할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 UWB 서비스를 제공하는 업체로부터 안테나 설정 파일(380)을 수신하여 업데이트할 수 있다.According to various embodiments, the antenna configuration file (or UWB antenna configuration file) 380 may be provided by a company that provides a UWB service (eg, a UWB-related application). The UWB service provider may provide the electronic device 210 with the antenna configuration file 380 in consideration of the antenna performance of the electronic device based on the characteristics of the UWB service to be provided. For example, the electronic device 210 receives the antenna configuration file 380 from a company that provides a UWB service through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). You can receive and update.

다양한 실시예에 따르면, 안테나 설정 파일(380)(또는, UWB 안테나 설정 파일)은 프로세서(120)에 의해 생성될 수 있다. 예를 들어, UWB 서비스와 관련된 어플리케이션이 전자 장치(210)에 설치되는 경우, 프로세서(120)는 UWB 서비스와 관련된 어플리케이션이 필요로 하는 정보(예: 거리 및/또는 방향)를 확인하고, 확인된 정보에 기반하여 안테나 설정 파일(380)을 생성하여 메모리(예: 도 1의 메모리(130))에 저장할 수 있다. According to various embodiments, the antenna configuration file 380 (or UWB antenna configuration file) may be generated by the processor 120 . For example, when an application related to the UWB service is installed in the electronic device 210 , the processor 120 checks information (eg, distance and/or direction) required by the application related to the UWB service, and checks the An antenna setting file 380 may be generated based on the information and stored in a memory (eg, the memory 130 of FIG. 1 ).

다양한 실시예에 따르면, 안테나 설정 파일(380)에는 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정하는데 필요한 안테나에 대한 정보(350)(예: ranging 관련 안테나 정보)가 포함될 수 있다. 안테나 설정 파일(380)에는 외부 전자 장치(102)의 방향(예: 방위각, 고도)을 측정하는데 필요한 안테나에 대한 정보(360, 370)가 더 포함될 수 있다. 외부 전자 장치(102)의 방향(예: 방위각, 고도)을 측정하는데 필요한 안테나에 대한 정보는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))를 기초로 하는 정보를 포함할 수 있다. 예를 들어, 전자 장치(210)가 지면으로부터 수직으로 세워 둔 상태(portrait)이면, AOA(portrait) 관련 안테나 정보(360)는 외부 전자 장치(102)의 방향 정보(예: 방위각(azimuth))를 획득하는데 필요한 안테나에 대한 정보일 수 있고, AOA(landscape) 관련 안테나 정보(370)는 외부 전자 장치(102)의 방향 정보(예: 고도(elevation))를 획득하는데 필요한 안테나에 대한 정보일 수 있다. 전자 장치(210)가 지면과 수평하게 눕혀진 상태(landscape)이면, AOA(landscape) 관련 안테나 정보(370)는 외부 전자 장치(102)의 방향 정보(예: 방위각(azimuth))를 획득하는데 필요한 안테나에 대한 정보일 수 있고, AOA(Portrait) 관련 안테나 정보(360)는 외부 전자 장치(102)의 방향 정보(예: 고도(elevation))를 획득하는데 필요한 안테나에 대한 정보일 수 있다. According to various embodiments, the antenna configuration file 380 may include information 350 about an antenna (eg, ranging related antenna information) required to measure a distance to the external electronic device 102 that is at least a specified distance. The antenna setting file 380 may further include information 360 and 370 on the antenna required to measure the direction (eg, azimuth, altitude) of the external electronic device 102 . Information on the antenna required to measure the direction (eg, azimuth, altitude) of the external electronic device 102 is information based on the state (eg, portrait, landscape) of the electronic device 210 . may include For example, when the electronic device 210 is vertically standing from the ground (portrait), the AOA (portrait) related antenna information 360 is direction information (eg, azimuth) of the external electronic device 102 . may be information about an antenna required to acquire have. When the electronic device 210 is laid horizontally on the ground (landscape), the AOA (landscape) related antenna information 370 is required to obtain direction information (eg, azimuth) of the external electronic device 102 . It may be information about an antenna, and the AOA (Portrait) related antenna information 360 may be information about an antenna required to acquire direction information (eg, elevation) of the external electronic device 102 .

다양한 실시예에 따르면, 전자 장치(210)는 어플리케이션이 요구하는 정보 및/또는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))에 기초해 이용할 안테나를 설정할 수 있다.According to various embodiments, the electronic device 210 may set an antenna to be used based on information requested by an application and/or a state of the electronic device 210 (eg, a portrait or a landscape). .

다양한 실시예에 따르면, 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))는 전자 장치(210)에 포함된 센서 모듈(예: 도 1의 센서 모듈(176))에 의해 판단될 수 있다.According to various embodiments, the state (eg, portrait, landscape) of the electronic device 210 is determined by a sensor module (eg, the sensor module 176 of FIG. 1 ) included in the electronic device 210 ). can be judged by

다양한 실시예에 따르면, 안테나 설정 파일(380)에는 데이터 송신과 수신에 이용되는 안테나에 대한 정보가 각각 표시될 수 있다. 다른 일 실시예에 따르면, 안테나 설정 파일(380)에 지정된 거리 미만에 있는 외부 전자 장치(102)와의 거리 측정에 이용될 안테나에 대한 정보가 포함되지 않은 경우, 전자 장치(210)는 외부 전자 장치(102)와의 방향을 측정하는데 필요한 안테나에 대한 정보를 이용할 수 있다. According to various embodiments, information on an antenna used for data transmission and reception may be displayed in the antenna configuration file 380 , respectively. According to another embodiment, when information on an antenna to be used for measuring a distance with the external electronic device 102 that is less than a specified distance in the antenna setting file 380 is not included, the electronic device 210 transmits the external electronic device. Information about the antenna required to measure the direction with 102 is available.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 도 3의 (c)의 안테나 설정 파일(380)의 ranging 관련 안테나 정보(350)을 참조해 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정할 수 있다. UWB 통신 모듈(220)은 ranging 관련 안테나 정보(350)에 따라 제1 안테나(230)를 이용해 데이터를 송신할 수 있고, 제1 안테나(230)와 제2 안테나(235)를 이용해 데이터를 수신할 수 있다(310, 315). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다.According to various embodiments, the UWB communication module 220 refers to the ranging-related antenna information 350 of the antenna configuration file 380 of FIG. can be measured. The UWB communication module 220 may transmit data using the first antenna 230 and receive data using the first antenna 230 and the second antenna 235 according to the ranging related antenna information 350 . It can be (310, 315). The UWB communication module 220 may measure the distance to the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 예를 들어, 블루투스, BLE 또는 WiFi를 이용해 외부 전자 장치(102)를 발견시 외부 전자 장치(102)와의 거리를 측정할 수 있다. 전자 장치(210)는 측정된 외부 전자 장치(102)와의 거리가 지정된 거리 이상이면 ranging 관련 안테나 정보(350)를 이용하여 외부 전자 장치(102)와의 거리를 재측정할 수 있다.According to various embodiments, the electronic device 210 may measure a distance to the external electronic device 102 when discovering the external electronic device 102 using, for example, Bluetooth, BLE, or WiFi. If the measured distance to the external electronic device 102 is greater than or equal to a specified distance, the electronic device 210 may re-measure the distance to the external electronic device 102 using the ranging-related antenna information 350 .

다양한 실시예에 따르면, 전자 장치(210)는 먼저 ranging 관련 안테나 정보(350)를 이용하여 외부 전자 장치(102)와의 거리를 측정하고, 측정된 외부 전자 장치(102)와의 거리를 기반으로 하여 이후 이용할 안테나를 설정(또는 선택)할 수 있다.According to various embodiments, the electronic device 210 first measures a distance to the external electronic device 102 using ranging-related antenna information 350 , and then based on the measured distance to the external electronic device 102 , You can set (or select) an antenna to use.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수직으로 세워진 상태(portrait)인 경우, 도 3의 (c)의 안테나 설정 파일(380)의 AOA(portrait) 관련 안테나 정보(360)을 참조해 지정된 거리 미만에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. 예를 들어, UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(360)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(315), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(320, 330). UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(370)을 참조해 외부 전자 장치(102)와의 방향(예: 고도)를 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(370)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(315), 제2 안테나(235) 및 제4 안테나(245)를 이용해 데이터를 수신할 수 있다(320, 340). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 및/또는 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a vertically upright state (portrait), the UWB communication module 220 includes an AOA (portrait) related antenna of the antenna configuration file 380 of FIG. 3C . With reference to the information 360 , a distance to the external electronic device 102 that is less than a specified distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. For example, the UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 360 ( 315 ), and the second antenna 235 and the third antenna ( 315 ). 240) to receive data (320, 330). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (landscape) related antenna information 370 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 370 (315), and uses the second antenna 235 and the fourth antenna 245 to Data may be received (320, 340). The UWB communication module 220 may measure the direction (eg, azimuth and/or elevation) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수평으로 눕혀진 상태(landscape)인 경우, 도 3의 (c)의 안테나 설정 파일의 AOA(landscape) 관련 안테나 정보(370)을 참조해 지정된 거리 미만에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(370)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(320), 제2 안테나(235) 및 제4 안테나(245)를 이용해 데이터를 수신할 수 있다(320, 340). UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(360)을 참조해 외부 전자 장치(102)와의 방향(예: 고도)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(360)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(320), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(320, 330). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 및/또는 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a horizontally laid state (landscape), the UWB communication module 220 provides AOA (landscape) related antenna information ( With reference to 370 ), a distance to the external electronic device 102 that is less than a specified distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 370 , and transmits data 320 using the second antenna 235 and the fourth antenna 245 . Data may be received (320, 340). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (portrait) related antenna information 360 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 360 , and transmits 320 using the second antenna 235 and the third antenna 240 . Data may be received (320, 330). The UWB communication module 220 may measure the direction (eg, azimuth and/or elevation) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 어플리케이션이 요구하는 정보 및/또는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))에 기초해 이용할 안테나를 설정할 수 있다. 예를 들어, 프로세서(120)는 UWB 관련 어플리케이션을 실행시 필요한 정보(예: 거리, AOA(portrait), 및/또는 AOA(landscape))를 UWB 통신 모듈(220)로 전송하면, UWB 통신 모듈(220)은 안테나 설정 파일(380)을 참조해 안테나를 설정하여 외부 전자 장치(102)와의 거리 및/또는 방향을 측정할 수 있다. According to various embodiments, the electronic device 210 may set an antenna to be used based on information requested by an application and/or a state of the electronic device 210 (eg, a portrait or a landscape). . For example, when the processor 120 transmits information (eg, distance, AOA (portrait), and/or AOA (landscape)) necessary for executing a UWB-related application to the UWB communication module 220, the UWB communication module ( 220 may set an antenna with reference to the antenna setting file 380 to measure a distance and/or a direction from the external electronic device 102 .

다양한 실시예에 따르면, 전자 장치(210)는 이동이 감지되는 경우에는 외부 전자 장치(102)와의 거리를 측정하고, 이동이 감지되지 않거나 이동이 제한된 범위 내인 경우에는 외부 전자 장치(102)와의 방향을 측정할 수 있다. 전자 장치(210)가 어플리케이션에 기초해 외부 전자 장치(102)와의 거리, 방향, 또는 동시에 모두 측정할 지에 대해 판단할 수 있다.According to various embodiments, the electronic device 210 measures a distance to the external electronic device 102 when movement is detected, and a direction to the external electronic device 102 when movement is not detected or the movement is within a restricted range. can be measured. The electronic device 210 may determine whether to measure the distance, the direction, or all of them simultaneously with the external electronic device 102 based on the application.

다양한 실시예에 따르면, 전자 장치(101)의 디스플레이(예: 도 1의 표시 장치(160))는 폴더블 디스플레이 또는 롤러블 디스플레이를 포함하는 경우, 디스플레이(예: 도 1의 표시 장치(160))의 상태 정보(예: 폴더블 디스플레이의 접힘 및/또는 펼침의 상태 정보 또는 롤러블 디스플레이의 감김 및/또는 펼침의 상태 정보)에 기반하여 선택하는 복수의 메탈 안테나가 다를 수 있다. 일 실시예에 따르면, 전자 장치(101)는 복수의 메탈 안테나를 포함할 수 있고, UWB 통신 모듈(220)은 디스플레이(예: 도 1의 표시 장치(160))의 상태 정보에 기반하여 복수의 메탈 안테나 중 하나를 선택할 수 있다. 예를 들어, 미도시 되었지만, 안테나 설정 파일(380)은 디스플레이(예: 도 1의 표시 장치(160))의 상태 정보에 기반하여 UWB 통신 모듈(220)이 선택해야 하는 안테나 정보를 포함할 수 있다. 일 실시예에 따르면 UWB 통신 모듈(220)은 전자 장치가 수직으로 세워진 상태(portrait), 수평으로 눕혀진 상태(landscape) 및/또는 디스플레이(예: 도 1의 표시 장치(160))의 상태 정보에 기반하여 선택하는 복수의 메탈 안테나가 다를 수 있다. According to various embodiments, when the display (eg, the display device 160 of FIG. 1 ) of the electronic device 101 includes a foldable display or a rollable display, the display (eg, the display device 160 of FIG. 1 ) ), a plurality of metal antennas selected based on state information (eg, state information of folding and/or unfolding of a foldable display or state information of folding and/or unfolding of a rollable display) may be different. According to an embodiment, the electronic device 101 may include a plurality of metal antennas, and the UWB communication module 220 may include a plurality of metal antennas based on status information of a display (eg, the display device 160 of FIG. 1 ). You can choose one of the metal antennas. For example, although not shown, the antenna setting file 380 may include antenna information to be selected by the UWB communication module 220 based on status information of a display (eg, the display device 160 of FIG. 1 ). have. According to an embodiment, the UWB communication module 220 provides status information of a state in which the electronic device is vertically erected (portrait), a horizontally laid state (landscape), and/or a display (eg, the display device 160 of FIG. 1 ). A plurality of metal antennas selected based on ? may be different.

도 4는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.4 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 도 3과 마찬가지로 전자 장치(예: 도 2의 전자 장치(210))는 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220)), 제1 안테나(230), 제2 안테나(235), 제3 안테나(240) 및/또는 제4 안테나(245)를 포함할 수 있다. 제1 안테나(230)는 메탈 안테나 또는 LDS 안테나일 수 있고, 제2 내지 제4 안테나(235 내지 245)는 패치 안테나일 수 있다.According to various embodiments, as in FIG. 3 , the electronic device (eg, the electronic device 210 of FIG. 2 ) includes a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ), a first antenna 230 , and a second The second antenna 235 , the third antenna 240 and/or the fourth antenna 245 may be included. The first antenna 230 may be a metal antenna or an LDS antenna, and the second to fourth antennas 235 to 245 may be patch antennas.

도 4의 (a)는 지정된 거리 이상에 있는 외부 전자 장치(예: 도 1의 전자 장치(102))의 거리 측정에 이용되는 안테나를 나타낸 것이고, 도 4의 (b)는 지정된 거리 미만에 있는 외부 전자 장치(102)의 거리 측정 및/또는 방향(예: 방위각, 고도) 측정에 이용되는 안테나를 나타낸 것이다. 다양한 실시예에 따르면, 지정된 거리의 기준은 10m가 될 수 있다. 예를 들어, 전자 장치(210)와 외부 전자 장치 사이의 거리가 10m 이상이면 지정된 거리 이상으로 판단될 수 있고, 10m 미만이면 지정된 거리 미만으로 판단될 수 있다. 지정된 거리의 기준은 UWB 서비스에 이용되는 안테나의 성능에 따라 달라질 수 있으며, UWB 서비스의 특성에 따라서도 달라질 수도 있다. 또는, UWB 서비스에 이용되는 안테나의 성능 및 UWB 서비스의 특성을 모두 고려해 지정된 거리의 기준이 결정될 수 있다.FIG. 4(a) shows an antenna used for distance measurement of an external electronic device (eg, the electronic device 102 of FIG. 1 ) located at a distance greater than or equal to a specified distance, and FIG. An antenna used to measure a distance and/or a direction (eg, azimuth, altitude) of the external electronic device 102 is shown. According to various embodiments, the reference of the designated distance may be 10m. For example, if the distance between the electronic device 210 and the external electronic device is 10m or more, it may be determined to be greater than or equal to a specified distance, and if it is less than 10m, it may be determined to be less than a specified distance. The standard of the designated distance may vary depending on the performance of an antenna used for the UWB service, and may also vary depending on the characteristics of the UWB service. Alternatively, the reference of the designated distance may be determined in consideration of both the performance of an antenna used for the UWB service and the characteristics of the UWB service.

도 4의 (a)를 참조하면, UWB 통신 모듈(220)은 제1 안테나(230)와 제2 안테나(235)를 이용해 외부 전자 장치와의 거리를 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(410), 제2 안테나(235)를 이용해 데이터를 수신할 수 있다(420). 예를 들어, UWB 통신 모듈(220)이 송신하는 데이터에는 UWB 통신 모듈(220)이 데이터를 송신하는 시간에 대한 정보, 또는 전자 장치에 대한 정보 중 적어도 하나가 포함될 수 있다.Referring to FIG. 4A , the UWB communication module 220 may measure a distance to an external electronic device using a first antenna 230 and a second antenna 235 . According to various embodiments, the UWB communication module 220 may transmit data using the first antenna 230 ( 410 ) and may receive data using the second antenna 235 ( 420 ). For example, the data transmitted by the UWB communication module 220 may include at least one of information about a time when the UWB communication module 220 transmits data and information about an electronic device.

도 4의 (b)를 참조하면, UWB 통신 모듈(220)은 제1 내지 제4 안테나(230 내지 245)를 이용해 외부 전자 장치와의 거리 및/또는 방향(예: 방위각, 및/또는 고도)을 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 외부 전자 장치로 송신할 수 있고(430), 제2 내지 제4 안테나(235 내지 245)를 이용해 데이터를 외부 전자 장치로부터 수신할 수 있다(440 내지 460).Referring to FIG. 4B , the UWB communication module 220 uses the first to fourth antennas 230 to 245 to provide a distance and/or direction (eg, azimuth and/or elevation) with respect to an external electronic device. can be measured. According to various embodiments, the UWB communication module 220 may transmit data to an external electronic device using the first antenna 230 ( 430 ), and transmit data using the second to fourth antennas 235 to 245 . It can be received from the external electronic device (440 to 460).

도 4의 (c)는 도 4의 (a)와 (b)에서 나타낸 안테나 이용 방법을 포함하는 안테나 설정 파일(465)(예: libuwb.conf)을 나타낸 것이다. 다양한 실시예에 따르면, 안테나 설정 파일(465)은 UWB 통신 모듈(220)이 외부 전자 장치(102)와 거리 측정 또는/및 방향 측정에 이용할 안테나에 대한 정보를 포함할 수 있다.FIG. 4C illustrates an antenna configuration file 465 (eg, libuwb.conf) including the method of using the antenna shown in FIGS. 4A and 4B . According to various embodiments, the antenna configuration file 465 may include information on an antenna to be used by the UWB communication module 220 to measure a distance and/or a direction from the external electronic device 102 .

다양한 실시예에 따르면, 안테나 설정 파일(465)(또는, UWB 안테나 설정 파일)은 전자 장치(210)의 제조업체에 의해 전자 장치의 모델별로 생성되어 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장될 수 있다. 예를 들어, 안테나 설정 파일(465)은 미리 지정된 경로에 저장될 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치를 알 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치 중 적어도 일부에 기초해 UWB 서비스를 제공하기에 적합한 안테나를 미리 선택하여 안테나 설정 파일(465)로 저장할 수 있다. 전자 장치(210)는 안테나 설정 파일(465)을 업데이트할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 안테나 설정 파일(465)을 외부(예: 도 1의 서버(108) 또는 전자 장치(104))로부터 수신할 수 있다.According to various embodiments, the antenna setting file 465 (or UWB antenna setting file) is generated by the manufacturer of the electronic device 210 for each model of the electronic device, and is generated in the memory of the electronic device 210 (eg, in the memory of FIG. 1 ). It may be stored in the memory 130). For example, the antenna configuration file 465 may be stored in a predetermined path. The manufacturer of the electronic device 210 may know the type, performance, and/or location of the antenna included in the electronic device 210 . The manufacturer of the electronic device 210 selects in advance an antenna suitable for providing the UWB service based on at least a part of the type, performance, and/or location of the antenna included in the electronic device 210, and selects the antenna configuration file 465 ) can be saved as The electronic device 210 may update the antenna configuration file 465 . For example, the electronic device 210 transmits the antenna setting file 465 to the outside (eg, in FIG. 1 ) through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). from the server 108 or the electronic device 104).

다양한 실시예에 따르면, 안테나 설정 파일(또는, UWB 안테나 설정 파일) (465)은 UWB 서비스(예: UWB 관련 어플리케이션)를 제공하는 업체에 의해 제공될 수 있다. UWB 서비스를 제공하는 업체는 제공하려는 UWB 서비스의 특성에 기반하여 전자 장치의 안테나 성능이 고려된 안테나 설정 파일(465)을 전자 장치(210)에 제공할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 UWB 서비스를 제공하는 업체로부터 안테나 설정 파일(465)을 수신하여 업데이트할 수 있다.According to various embodiments, the antenna configuration file (or UWB antenna configuration file) 465 may be provided by a company that provides a UWB service (eg, a UWB-related application). The UWB service provider may provide the electronic device 210 with the antenna configuration file 465 in consideration of the antenna performance of the electronic device based on the characteristics of the UWB service to be provided. For example, the electronic device 210 receives the antenna configuration file 465 from a company that provides a UWB service through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). You can receive and update.

다양한 실시예에 따르면, 안테나 설정 파일(465)에는 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정하는데 필요한 안테나에 대한 정보(470)(예: ranging 관련 안테나 정보)가 포함될 수 있다. 안테나 설정 파일(465)에는 외부 전자 장치(102)의 방향(예: 방위각, 고도)을 측정하는데 필요한 안테나에 대한 정보(480, 490)가 포함될 수 있다. 외부 전자 장치(102)의 방향(예: 방위각, 고도)를 측정하는데 필요한 안테나에 대한 정보는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))를 기초로 하는 정보를 포함할 수 있다.According to various embodiments, the antenna configuration file 465 may include information about an antenna 470 (eg, ranging-related antenna information) required to measure a distance to the external electronic device 102 that is at least a specified distance. The antenna setting file 465 may include information 480 and 490 about the antenna required to measure the direction (eg, azimuth, altitude) of the external electronic device 102 . Information on the antenna required to measure the direction (eg, azimuth, altitude) of the external electronic device 102 is information based on the state (eg, portrait, landscape) of the electronic device 210 . may include

다양한 실시예에 따르면, UWB 통신 모듈(220)은 도 4의 (c)의 안테나 설정 파일의 ranging 관련 안테나 정보(470)을 참조해 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정할 수 있다. UWB 통신 모듈(220)은 ranging 관련 안테나 정보(470)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(410), 제2 안테나(235)를 이용해 데이터를 수신할 수 있다(420). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다.According to various embodiments, the UWB communication module 220 may measure a distance to the external electronic device 102 that is greater than or equal to a specified distance by referring to the ranging related antenna information 470 of the antenna configuration file of FIG. 4C . can The UWB communication module 220 may transmit data using the first antenna 230 according to the ranging related antenna information 470 ( 410 ), and may receive data using the second antenna 235 ( 420 ). The UWB communication module 220 may measure the distance to the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 예를 들어, 블루투스, BLE 또는 WiFi를 이용해 외부 전자 장치(102)를 발견시 외부 전자 장치(102)와의 거리를 측정할 수 있다. 전자 장치(210)는 측정된 외부 전자 장치(102)와의 거리가 지정된 거리 이상이면 ranging 관련 안테나 정보(470)를 이용하여 외부 전자 장치(102)와의 거리를 재측정할 수 있다.According to various embodiments, the electronic device 210 may measure a distance to the external electronic device 102 when discovering the external electronic device 102 using, for example, Bluetooth, BLE, or WiFi. If the measured distance to the external electronic device 102 is greater than or equal to a specified distance, the electronic device 210 may re-measure the distance to the external electronic device 102 using the ranging-related antenna information 470 .

다양한 실시예에 따르면, 전자 장치(210)는 먼저 ranging 관련 안테나 정보(470)를 이용하여 외부 전자 장치(102)와의 거리를 측정하고, 측정된 외부 전자 장치(102)와의 거리를 기반으로 하여 이후 이용할 안테나를 설정(또는 선택)할 수 있다.According to various embodiments, the electronic device 210 first measures a distance to the external electronic device 102 using ranging-related antenna information 470 , and then based on the measured distance to the external electronic device 102 , You can set (or select) an antenna to use.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수직으로 세워진 상태(portrait)인 경우, 도 4의 (c)의 안테나 설정 파일(465)의 AOA(portrait) 관련 안테나 정보(480)를 참조해 가까운 거리에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(480)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(430), 제2 안테나(235) 및 제3 안테나(240)을 이용해 데이터를 수신할 수 있다(440, 450). UWB 통신 모듈(220)은, AOA(landscape) 관련 안테나 정보(490)를 참조해 외부 전자 장치(102)와의 방향(예: 고도)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(490)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(430), 제2 안테나(235) 및 제4 안테나(245)을 이용해 데이터를 수신할 수 있다(440, 460). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a vertically upright state (portrait), the UWB communication module 220 includes an AOA (portrait) related antenna of the antenna configuration file 465 of FIG. 4C . With reference to the information 480 , a distance to the external electronic device 102 at a close distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 480 (430), and uses the second antenna 235 and the third antenna 240 to Data may be received (440, 450). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (landscape) related antenna information 490 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 490 (430), and uses the second antenna 235 and the fourth antenna 245 to Data may be received (440, 460). The UWB communication module 220 may measure the direction (eg, azimuth, altitude) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수평으로 눕혀진 상태(landscape)인 경우, 도 4의 (c)의 안테나 설정 파일(465)의 AOA(landscape) 관련 안테나 정보(490)을 참조해 가까운 거리에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(490)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(430), 제2 안테나(235) 및 제4 안테나(245)을 이용해 데이터를 수신할 수 있다(440, 460). UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(480)을 참조해 외부 전자 장치(102)와의 방향(예: 고도)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(480)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(430), 제2 안테나(235) 및 제3 안테나(240)을 이용해 데이터를 수신할 수 있다(440, 450). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a horizontally laid state (landscape), the UWB communication module 220 relates to the AOA (landscape) of the antenna setting file 465 of FIG. 4C. With reference to the antenna information 490 , a distance to the external electronic device 102 at a close distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 490 (430), and uses the second antenna 235 and the fourth antenna 245 to Data may be received (440, 460). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (portrait) related antenna information 480 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 480 (430), and uses the second antenna 235 and the third antenna 240 to Data may be received (440, 450). The UWB communication module 220 may measure the direction (eg, azimuth, altitude) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 어플리케이션이 요구하는 정보 및/또는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))에 기초해 이용할 안테나를 설정할 수 있다. 예를 들어, 프로세서(120)는 UWB 관련 어플리케이션을 실행시 필요한 정보(예: 거리, AOA(portrait), 및/또는 AOA(landscape))를 UWB 통신 모듈(220)로 전송하면, UWB 통신 모듈(220)은 안테나 설정 파일(465)을 참조해 안테나를 설정하여 외부 전자 장치(102)와의 거리 및/또는 방향을 측정할 수 있다.According to various embodiments, the electronic device 210 may set an antenna to be used based on information requested by an application and/or a state of the electronic device 210 (eg, a portrait or a landscape). . For example, when the processor 120 transmits information (eg, distance, AOA (portrait), and/or AOA (landscape)) necessary for executing a UWB-related application to the UWB communication module 220, the UWB communication module ( 220 may set an antenna with reference to the antenna setting file 465 to measure a distance and/or a direction to the external electronic device 102 .

다양한 실시예에 따르면, 전자 장치(210)는 이동이 감지되는 경우에는 외부 전자 장치(102)와의 거리를 측정하고, 이동이 감지되지 않거나 이동이 제한된 범위 내인 경우에는 외부 전자 장치(102)와의 방향을 측정할 수 있다. 전자 장치(210)가 어플리케이션에 기초해 외부 전자 장치(102)와의 거리, 방향, 또는 동시에 모두 측정할 지에 대해 판단할 수 있다. According to various embodiments, the electronic device 210 measures a distance to the external electronic device 102 when movement is detected, and a direction to the external electronic device 102 when movement is not detected or the movement is within a restricted range. can be measured. The electronic device 210 may determine whether to measure the distance, the direction, or all of them simultaneously with the external electronic device 102 based on the application.

도 5는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.5 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 도 3과 마찬가지로 전자 장치(예: 도 2의 전자 장치(210))는 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220)), 제1 안테나(230), 제2 안테나(235), 제3 안테나(240) 및/또는 제4 안테나(245)를 포함할 수 있다. 제1 안테나(230)는 메탈 안테나 또는 LDS 안테나일 수 있다. 제2 내지 제4 안테나(235 내지 245)는 패치 안테나일 수 있다. According to various embodiments, as in FIG. 3 , the electronic device (eg, the electronic device 210 of FIG. 2 ) includes a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ), a first antenna 230 , and a second The second antenna 235 , the third antenna 240 and/or the fourth antenna 245 may be included. The first antenna 230 may be a metal antenna or an LDS antenna. The second to fourth antennas 235 to 245 may be patch antennas.

도 5의 (a)는 지정된 거리 이상에 있는 외부 전자 장치의 거리 측정에 이용되는 안테나를 나타낸 것이고, 도 5의 (b)는 지정된 거리 미만에 있는 외부 전자 장치의 거리 측정 및/또는 방향(예: 방위각, 및/또는 고도) 측정에 이용되는 안테나를 나타낸 것이다. 다양한 실시예에 따르면, 지정된 거리의 기준은 10m가 될 수 있다. 예를 들어, 전자 장치(210)와 외부 전자 장치 사이의 거리가 10m 이상이면 지정된 거리 이상으로 판단될 수 있고, 10m 미만이면 지정된 거리 미만으로 판단될 수 있다. 지정된 거리의 기준은 UWB 서비스에 이용되는 안테나의 성능에 따라 달라질 수 있으며, UWB 서비스의 특성에 따라서도 달라질 수도 있다. 또는, UWB 서비스에 이용되는 안테나의 성능 및 UWB 서비스의 특성을 모두 고려해 지정된 거리의 기준이 결정될 수 있다.Figure 5 (a) shows an antenna used to measure the distance of an external electronic device that is greater than or equal to a specified distance, and (b) of Figure 5 is a distance measurement and/or direction (eg : Azimuth, and/or altitude) indicates the antenna used for measurement. According to various embodiments, the reference of the designated distance may be 10m. For example, if the distance between the electronic device 210 and the external electronic device is 10m or more, it may be determined to be greater than or equal to a specified distance, and if it is less than 10m, it may be determined to be less than a specified distance. The standard of the designated distance may vary depending on the performance of an antenna used for the UWB service, and may also vary depending on the characteristics of the UWB service. Alternatively, the reference of the designated distance may be determined in consideration of both the performance of an antenna used for the UWB service and the characteristics of the UWB service.

도 5의 (a)를 참조하면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 외부 전자 장치(예: 도 1의 전자 장치(102))와의 거리를 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 송신할 수 있고, 수신도 할 수 있다(510).Referring to FIG. 5A , the UWB communication module 220 may measure a distance to an external electronic device (eg, the electronic device 102 of FIG. 1 ) using the first antenna 230 . According to various embodiments, the UWB communication module 220 may transmit and receive data using the first antenna 230 ( 510 ).

도 5의 (b)를 참조하면, UWB 통신 모듈(220)은 제1 내지 제4 안테나(230 내지 245)를 이용해 외부 전자 장치(102)와의 거리 및/또는 방향(예: 방위각, 및/또는 고도)을 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(520), 제2 내지 제4 안테나(235 내지 245)를 이용해 데이터를 수신할 수 있다(530 내지 550).Referring to FIG. 5B , the UWB communication module 220 uses the first to fourth antennas 230 to 245 to provide a distance and/or direction (eg, azimuth, and/or) to the external electronic device 102 . altitude) can be measured. According to various embodiments, the UWB communication module 220 may transmit data using the first antenna 230 520 and receive data using the second to fourth antennas 235 to 245 . (530-550).

도 5의 (c)는 도 5의 (a)와 (b)에서 나타낸 안테나 이용 방법을 포함하는 안테나 설정 파일(590)(예: libuwb.conf)을 나타낸 것이다. 다양한 실시예에 따르면, 안테나 설정 파일(590)은 UWB 통신 모듈(220)이 외부 전자 장치(102)와 거리 측정 또는/및 방향 측정에 이용할 안테나에 대한 정보를 포함할 수 있다.FIG. 5C illustrates an antenna configuration file 590 (eg, libuwb.conf) including the method of using the antenna shown in FIGS. 5A and 5B . According to various embodiments, the antenna configuration file 590 may include information on an antenna to be used by the UWB communication module 220 to measure a distance and/or a direction from the external electronic device 102 .

다양한 실시예에 따르면, 안테나 설정 파일(590)(또는, UWB 안테나 설정 파일)은 전자 장치(210)의 제조업체에 의해 전자 장치의 모델별로 생성되어 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장될 수 있다. 예를 들어, 안테나 설정 파일(590)은 미리 지정된 경로에 저장될 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치를 알 수 있다. 전자 장치(210)의 제조업체는 전자 장치(210)에 포함된 안테나의 종류, 성능 및/또는 안테나의 위치 중 적어도 일부에 기초해 UWB 서비스를 제공하기에 적합한 안테나를 미리 선택하여 안테나 설정 파일(590)로 저장할 수 있다. 전자 장치(210)는 안테나 설정 파일(590)을 업데이트할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 안테나 설정 파일(590)을 외부(예: 도 1의 서버(108) 또는 전자 장치(104))로부터 수신할 수 있다.According to various embodiments, the antenna setting file 590 (or the UWB antenna setting file) is generated for each model of the electronic device by the manufacturer of the electronic device 210 and is generated in the memory of the electronic device 210 (eg, in FIG. 1 ). It may be stored in the memory 130). For example, the antenna configuration file 590 may be stored in a predetermined path. The manufacturer of the electronic device 210 may know the type, performance, and/or location of the antenna included in the electronic device 210 . The manufacturer of the electronic device 210 selects an antenna suitable for providing the UWB service in advance based on at least a part of the type, performance, and/or location of the antenna included in the electronic device 210 to obtain an antenna configuration file 590 ) can be saved as The electronic device 210 may update the antenna configuration file 590 . For example, the electronic device 210 transmits the antenna setting file 590 to the outside (eg, in FIG. 1 ) through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). from the server 108 or the electronic device 104).

다양한 실시예에 따르면, 안테나 설정 파일(590)(또는, UWB 안테나 설정 파일)은 UWB 서비스(예: UWB 관련 어플리케이션)를 제공하는 업체에 의해 제공될 수 있다. UWB 서비스를 제공하는 업체는 제공하려는 UWB 서비스의 특성에 기반하여 전자 장치의 안테나 성능이 고려된 안테나 설정 파일(590)을 전자 장치(210)에 제공할 수 있다. 예를 들어, 전자 장치(210)는 유선 또는 무선 통신(예: 도 1의 제1 네트워크(198) 또는 제2 네트워크(199))을 통해 UWB 서비스를 제공하는 업체로부터 안테나 설정 파일(590)을 수신하여 업데이트할 수 있다.According to various embodiments, the antenna configuration file 590 (or the UWB antenna configuration file) may be provided by a company that provides a UWB service (eg, a UWB-related application). The UWB service provider may provide the electronic device 210 with the antenna configuration file 590 in consideration of the antenna performance of the electronic device based on the characteristics of the UWB service to be provided. For example, the electronic device 210 receives the antenna configuration file 590 from a company that provides a UWB service through wired or wireless communication (eg, the first network 198 or the second network 199 of FIG. 1 ). You can receive and update.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 도 5의 (c)의 안테나 설정 파일의 ranging 관련 안테나 정보(560)을 참조해 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정할 수 있다. UWB 통신 모듈(220)은 ranging 관련 안테나 정보(560)에 따라 제1 안테나(230)를 이용해 데이터를 송수신할 수 있다(510). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다.According to various embodiments, the UWB communication module 220 may measure a distance to the external electronic device 102 that is greater than or equal to a specified distance with reference to the ranging related antenna information 560 of the antenna configuration file of FIG. 5C . can The UWB communication module 220 may transmit/receive data using the first antenna 230 according to the ranging-related antenna information 560 ( 510 ). The UWB communication module 220 may measure the distance to the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 예를 들어, 블루투스, BLE 또는 WiFi를 이용해 외부 전자 장치(102)를 발견시 외부 전자 장치(102)와의 거리를 측정할 수 있다. 전자 장치(210)는 측정된 외부 전자 장치(102)와의 거리가 지정된 거리 이상이면 ranging 관련 안테나 정보(560)를 이용하여 외부 전자 장치(102)와의 거리를 재측정할 수 있다.According to various embodiments, the electronic device 210 may measure a distance to the external electronic device 102 when discovering the external electronic device 102 using, for example, Bluetooth, BLE, or WiFi. If the measured distance to the external electronic device 102 is greater than or equal to a specified distance, the electronic device 210 may re-measure the distance to the external electronic device 102 using the ranging related antenna information 560 .

다양한 실시예에 따르면, 전자 장치(210)는 먼저 ranging 관련 안테나 정보(560)를 이용하여 외부 전자 장치(102)와의 거리를 측정하고, 측정된 외부 전자 장치(102)와의 거리를 기반으로 하여 이후 이용할 안테나를 설정(또는 선택)할 수 있다.According to various embodiments, the electronic device 210 first measures a distance to the external electronic device 102 using ranging-related antenna information 560 , and then based on the measured distance to the external electronic device 102 , You can set (or select) an antenna to use.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수직으로 세워진 상태(portrait)인 경우, 도 5의 (c)의 안테나 설정 파일(590)의 AOA(portrait) 관련 안테나 정보(570)을 참조해 가까운 거리에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(570)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(520), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(530, 540). UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(580)을 참조해 외부 전자 장치(102)와의 방향(예: 고도)를 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(580)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(520), 제2 안테나(235) 및 제4 안테나(245)를 이용해 데이터를 수신할 수 있다(530, 550). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a vertically upright state (portrait), the UWB communication module 220 includes an AOA (portrait) related antenna of the antenna setting file 590 of FIG. 5C . With reference to the information 570 , a distance to the external electronic device 102 in a short distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 570 , 520 , and uses the second antenna 235 and the third antenna 240 . Data may be received (530, 540). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (landscape) related antenna information 580 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 580 (520), and uses the second antenna 235 and the fourth antenna 245 to Data may be received (530, 550). The UWB communication module 220 may measure the direction (eg, azimuth, altitude) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 다르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수평으로 눕혀진 상태인 경우, 도 5의 (c)의 안테나 설정 파일(590)의 AOA(landscape) 관련 안테나 정보(580)을 참조해 가까운 거리에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(landscape) 관련 안테나 정보(580)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(520), 제2 안테나(235) 및 제4 안테나(245)를 이용해 데이터를 수신할 수 있다(530, 550). UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(570)을 참조해 외부 전자 장치(102)와의 방향(예: 고도)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(570)에 따라 제1 안테나(230)를 이용해 데이터를 송신하고(520), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(530, 540). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)의 방향(예: 방위각, 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a horizontally laid state, the UWB communication module 220 provides AOA (landscape) related antenna information ( With reference to 580 , a distance to the external electronic device 102 at a close distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (landscape) related antenna information 580 (520), and uses the second antenna 235 and the fourth antenna 245 to Data may be received (530, 550). The UWB communication module 220 may measure a direction (eg, altitude) with the external electronic device 102 with reference to the AOA (portrait) related antenna information 570 . The UWB communication module 220 transmits data using the first antenna 230 according to the AOA (portrait) related antenna information 570 , 520 , and uses the second antenna 235 and the third antenna 240 . Data may be received (530, 540). The UWB communication module 220 may measure the direction (eg, azimuth, altitude) of the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 어플리케이션이 요구하는 정보 및/또는 전자 장치(210)의 상태(예: 포트레이트(portrait), 랜드스케이프(landscape))에 기초해 이용할 안테나를 설정할 수 있다. 예를 들어, 프로세서(120)는 UWB 관련 어플리케이션을 실행시 필요한 정보(예: 거리, AOA(portrait), 및/또는 AOA(landscape))를 UWB 통신 모듈(220)로 전송하면, UWB 통신 모듈(220)은 안테나 설정 파일(590)을 참조해 안테나를 설정하여 외부 전자 장치(102)와의 거리 및/또는 방향을 측정할 수 있다.According to various embodiments, the electronic device 210 may set an antenna to be used based on information requested by an application and/or a state of the electronic device 210 (eg, a portrait or a landscape). . For example, when the processor 120 transmits information (eg, distance, AOA (portrait), and/or AOA (landscape)) necessary for executing a UWB-related application to the UWB communication module 220, the UWB communication module ( 220 may set an antenna with reference to the antenna setting file 590 to measure a distance and/or a direction to the external electronic device 102 .

다양한 실시예에 따르면, 전자 장치(210)는 이동이 감지되는 경우에는 외부 전자 장치(102)와의 거리를 측정하고, 이동이 감지되지 않거나 이동이 제한된 범위 내인 경우에는 외부 전자 장치(102)와의 방향을 측정할 수 있다. 전자 장치(210)가 어플리케이션에 기초해 외부 전자 장치(102)와의 거리, 방향, 또는 동시에 모두 측정할 지에 대해 판단할 수 있다.According to various embodiments, the electronic device 210 measures a distance to the external electronic device 102 when movement is detected, and a direction to the external electronic device 102 when movement is not detected or the movement is within a restricted range. can be measured. The electronic device 210 may determine whether to measure the distance, the direction, or all of them simultaneously with the external electronic device 102 based on the application.

도 6은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치가 이용하는 안테나의 다른 일 실시 예를 나타낸 도면이다.6 is a diagram illustrating another embodiment of an antenna used by an electronic device supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 전자 장치(예: 도 2의 전자 장치(210))는 도 2 내지 도 5의 전자 장치와는 달리 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220)), 제1 안테나(230), 제2 안테나(235), 및/또는 제3 안테나(240)를 포함할 수 있다. 다양한 실시예에 따르면, 제1 안테나(230)는 메탈 안테나 또는 LDS 안테나일 수 있고, 제2 안테나(235) 및 제3 안테나(240)는 패치 안테나일 수 있다.According to various embodiments, the electronic device (eg, the electronic device 210 of FIG. 2 ) includes a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ), the first device, unlike the electronic device of FIGS. 2 to 5 ). It may include a first antenna 230 , a second antenna 235 , and/or a third antenna 240 . According to various embodiments, the first antenna 230 may be a metal antenna or an LDS antenna, and the second antenna 235 and the third antenna 240 may be a patch antenna.

도 6의 (a)는 지정된 거리 이상에 있는 외부 전자 장치(예: 도 1의 전자 장치(102))의 거리 측정에 이용되는 안테나를 나타낸 것이고, 도 6의 (b)는 지정된 거리 미만에 있는 외부 전자 장치(102)의 거리 측정 및/또는 방향(예: 방위각, 및/또는 고도) 측정에 이용되는 안테나를 나타낸 것이다. 다양한 실시예에 따르면, 지정된 거리의 기준은 10m가 될 수 있다. 예를 들어, 전자 장치(210)와 외부 전자 장치(102) 사이의 거리가 10m 이상이면 지정된 거리 이상으로 판단될 수 있고, 10m 미만이면 지정된 거리 미만으로 판단될 수 있다. 지정된 거리의 기준은 UWB 서비스에 이용되는 안테나의 성능에 따라 달라질 수 있으며, UWB 서비스의 특성에 따라서도 달라질 수도 있다. 또는, UWB 서비스에 이용되는 안테나의 성능 및 UWB 서비스의 특성을 모두 고려해 지정된 거리의 기준이 결정될 수 있다.6 (a) shows an antenna used to measure a distance of an external electronic device (eg, the electronic device 102 of FIG. 1 ) located at a distance greater than or equal to a specified distance, and FIG. An antenna used to measure a distance and/or a direction (eg, an azimuth and/or an altitude) of the external electronic device 102 is shown. According to various embodiments, the reference of the designated distance may be 10m. For example, if the distance between the electronic device 210 and the external electronic device 102 is 10 m or more, it may be determined to be greater than or equal to a specified distance, and if it is less than 10 m, it may be determined to be less than the specified distance. The standard of the designated distance may vary depending on the performance of an antenna used for the UWB service, and may also vary depending on the characteristics of the UWB service. Alternatively, the reference of the designated distance may be determined in consideration of both the performance of an antenna used for the UWB service and the characteristics of the UWB service.

도 6의 (a)를 참조하면, UWB 통신 모듈(220)은 제1 안테나(230)와 제2 안테나(235) 또는 제3 안테나(240)를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다. 일 실시예에 따르면, UWB 통신 모듈(220)은 ranging 관련 안테나 정보(650)에 따라 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(610), 제1 안테나(230)와 제2 안테나(235)를 이용해 데이터를 수신할 수 있다(610, 620). 다른 일 실시예에 따르면, UWB 통신 모듈(220)은 ranging 관련 안테나 정보(650)에 따라 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(610), 제1 안테나(230)와 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(610, 625). 다양한 실시예에 따르면, UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다.Referring to FIG. 6A , the UWB communication module 220 is configured to measure the distance to the external electronic device 102 using the first antenna 230 and the second antenna 235 or the third antenna 240 . can According to an embodiment, the UWB communication module 220 may transmit data using the first antenna 230 according to the ranging-related antenna information 650 ( 610 ), and the first antenna 230 and the second antenna Data may be received using 235 (610, 620). According to another embodiment, the UWB communication module 220 may transmit data using the first antenna 230 according to the ranging-related antenna information 650 ( 610 ), and the first antenna 230 and the third Data may be received using the antenna 240 (610, 625). According to various embodiments, the UWB communication module 220 may measure the distance to the external electronic device 102 using the transmitted/received data.

도 6의 (b)를 참조하면, UWB 통신 모듈(220)은 제2 안테나(235) 및 제3 안테나(240)를 이용해 외부 전자 장치(102)와의 거리 및/또는 방향을 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 제2 안테나(235)를 이용해 데이터를 송신할 수 있고(630), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(630, 640).Referring to FIG. 6B , the UWB communication module 220 may measure the distance and/or direction to the external electronic device 102 using the second antenna 235 and the third antenna 240 . According to various embodiments, the UWB communication module 220 may transmit data using the second antenna 235 ( 630 ), and may receive data using the second antenna 235 and the third antenna 240 . It can be (630, 640).

도 6의 (c)는 도 6의 (a)와 (b)에서 나타낸 안테나 이용 방법을 포함하는 안테나 설정 파일(670)(예: libuwb.conf)(을 나타낸 것이다. 다양한 실시예에 따르면, 안테나 설정 파일(670)은 UWB 통신 모듈(220)이 외부 전자 장치(102)와 거리 측정 또는/및 방향 측정에 이용할 안테나에 대한 정보를 포함할 수 있다.FIG. 6(c) shows an antenna configuration file 670 (eg, libuwb.conf) including the method of using the antenna shown in FIGS. 6(a) and (b). According to various embodiments, the antenna The configuration file 670 may include information on an antenna to be used by the UWB communication module 220 to measure a distance and/or a direction from the external electronic device 102 .

다양한 실시예에 따르면, 안테나 설정 파일(670)(또는, UWB 안테나 설정 파일)은 전자 장치(210)의 제조업체에 의해 전자 장치의 모델별로 생성되어 전자 장치(210)의 메모리(예: 도 1의 메모리(130))에 저장될 수 있다. 예를 들어, 안테나 설정 파일(670)은 미리 지정된 경로에 저장될 수 있다.According to various embodiments, the antenna setting file 670 (or the UWB antenna setting file) is generated for each model of the electronic device by the manufacturer of the electronic device 210 and is stored in the memory of the electronic device 210 (eg, in FIG. 1 ). It may be stored in the memory 130). For example, the antenna configuration file 670 may be stored in a predetermined path.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 도 6의 (c)의 안테나 설정 파일(670)의 ranging 관련 안테나 정보(650)을 참조해 지정된 거리 이상에 있는 외부 전자 장치(102)와의 거리를 측정할 수 있다. UWB 통신 모듈(220)은 ranging 관련 안테나 정보(650)에 따라 제1 안테나(230)를 이용해 데이터를 송신할 수 있고(610), 제1 안테나(230)와 제2 안테나(235)를 이용해 데이터를 수신할 수 있다(610, 620). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치(102)와의 거리를 측정할 수 있다. According to various embodiments, the UWB communication module 220 refers to the ranging-related antenna information 650 of the antenna configuration file 670 of FIG. can be measured. The UWB communication module 220 may transmit data using the first antenna 230 according to the ranging related antenna information 650 ( 610 ), and may transmit data using the first antenna 230 and the second antenna 235 . may be received (610, 620). The UWB communication module 220 may measure the distance to the external electronic device 102 using the transmitted/received data.

다양한 실시예에 따르면, 전자 장치(210)는 예를 들어, 블루투스, BLE 또는 WiFi를 이용해 외부 전자 장치(102)를 발견시 외부 전자 장치(102)와의 거리를 측정할 수 있다. 전자 장치(210)는 측정된 외부 전자 장치(102)와의 거리가 지정된 거리 이상이면 ranging 관련 안테나 정보(650)를 이용하여 외부 전자 장치(102)와의 거리를 재측정할 수 있다.According to various embodiments, the electronic device 210 may measure a distance to the external electronic device 102 when discovering the external electronic device 102 using, for example, Bluetooth, BLE, or WiFi. If the measured distance to the external electronic device 102 is greater than or equal to a specified distance, the electronic device 210 may re-measure the distance to the external electronic device 102 using the ranging related antenna information 650 .

다양한 실시예에 따르면, 전자 장치(210)는 먼저 ranging 관련 안테나 정보(650)를 이용하여 외부 전자 장치(102)와의 거리를 측정하고, 측정된 외부 전자 장치(102)와의 거리를 기반으로 하여 이후 이용할 안테나를 설정(또는 선택)할 수 있다.According to various embodiments, the electronic device 210 first measures a distance to the external electronic device 102 using ranging-related antenna information 650 , and then based on the measured distance to the external electronic device 102 , You can set (or select) an antenna to use.

다양한 실시예에 따르면, UWB 통신 모듈(220)은, 전자 장치(210)가 수직으로 세워진 상태(portrait)인 경우, 도 6의 (c)의 안테나 설정 파일(670)의 AOA(portrait) 관련 안테나 정보(660)를 참조해 가까운 거리에 있는 외부 전자 장치(102)와의 거리를 측정하거나 또는/및 외부 전자 장치(102)와의 방향(예: 방위각)을 측정할 수 있다. UWB 통신 모듈(220)은 AOA(portrait) 관련 안테나 정보(660)에 따라 제2 안테나(235)를 이용해 데이터를 송신하고(630), 제2 안테나(235) 및 제3 안테나(240)를 이용해 데이터를 수신할 수 있다(630, 640). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치의 방향(예: 방위각, 또는 고도)를 측정할 수 있다.According to various embodiments, when the electronic device 210 is in a vertically upright state (portrait), the UWB communication module 220 includes an AOA (portrait) related antenna of the antenna setting file 670 of FIG. 6C . With reference to the information 660 , a distance to the external electronic device 102 at a close distance may be measured and/or a direction (eg, an azimuth) to the external electronic device 102 may be measured. The UWB communication module 220 transmits data using the second antenna 235 according to the AOA (portrait) related antenna information 660 ( 630 ), and uses the second antenna 235 and the third antenna 240 . Data may be received (630, 640). The UWB communication module 220 may measure the direction (eg, azimuth or altitude) of the external electronic device using the transmitted/received data.

다양한 실시예에 따르면, 도 6의 (c)의 안테나 설정 파일(670)에는 AOA(landscape) 관련 안테나 정보가 포함되어 있지 않을 수 있다. 전자 장치(210)는 수평으로 눕혀진 상태(landscape)에 있는 경우, 외부 전자 장치(102)와의 방향을 측정하지 못 할 수 있다. 다양한 실시예에 따라, 전자 장치(210)는 사용자에게 알림 메시지(예: 측정 불가)나 지시 사항(예: 전자 장치의 상태 변경 요청)을 표시할 수 있다.According to various embodiments, the antenna configuration file 670 of FIG. 6C may not include AOA (landscape) related antenna information. When the electronic device 210 is in a horizontally laid landscape (landscape), it may not be able to measure a direction with respect to the external electronic device 102 . According to various embodiments, the electronic device 210 may display a notification message (eg, measurement impossible) or instructions (eg, a request to change the state of the electronic device) to the user.

도 7은 본 개시의 다양한 실시예에 따른 UWB 서비스의 사용자 인터페이스의 일 예를 나타낸 도면이다.7 is a diagram illustrating an example of a user interface of a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, UWB 서비스는 지정된 장소(700)(예: 대형 쇼핑몰)에서 지정된 대상(예: 가족이나 친구의 전자 장치)을 찾아주는 서비스일 수 있다. 예를 들어, 사용자가 친구들과 사람이 많은 지정된 장소(700)에서 만나기로 한 경우, 사용자는 친구들을 찾기 위해 UWB 서비스를 이용할 수 있다. 지정된 장소(700)에서 사용자는 전자 장치(710)(예: 도 2의 전자 장치(210))를 이용해 관련 어플리케이션(예: 친구 찾기)을 실행할 수 있다. 사용자의 친구도 소지한 전자 장치(미도시)를 이용해 관련 어플리케이션을 실행할 수 있다. 사용자의 어플리케이션에는 사용자의 친구의 전자 장치(미도시)에 대한 정보가 저장될 수 있고, 사용자의 친구의 전자 장치(미도시)의 어플리케이션에는 사용자의 전자 장치(710)에 대한 정보가 저장될 수 있다. 도 7의 (a)와 같이, 전자 장치(710)는 어플리케이션에 저장된 정보를 이용해 사용자의 주변에 있는 친구의 전자 장치를 표시(720)할 수 있으며, 친구의 전자 장치까지의 거리(730)도 표시할 수 있다. 도 7의 (a)에서는 찾은 친구의 전자 장치가 하나인 경우를 나타내지만 다수의 친구의 전자 장치를 찾으면 찾은 친구의 전자 장치 모두가 전자 장치(710)에 표시될 수 있다.According to various embodiments, the UWB service may be a service for finding a designated target (eg, an electronic device of a family member or friend) in a designated place 700 (eg, a large shopping mall). For example, when a user decides to meet friends at a designated place 700 where there are many people, the user may use the UWB service to find friends. In the designated place 700 , the user may execute a related application (eg, find a friend) using the electronic device 710 (eg, the electronic device 210 of FIG. 2 ). A friend of the user may also execute a related application using an electronic device (not shown) possessed. Information on the electronic device (not shown) of the user's friend may be stored in the user's application, and information on the electronic device 710 of the user may be stored in the application of the user's friend's electronic device (not shown). have. As shown in (a) of FIG. 7 , the electronic device 710 may display 720 the electronic device of a friend in the vicinity of the user using information stored in the application, and the distance 730 to the electronic device of the friend is also shown. can be displayed Although FIG. 7A illustrates a case in which one electronic device of a found friend is found, all electronic devices of the found friend may be displayed on the electronic device 710 when a plurality of electronic devices of a friend are found.

다양한 실시예에 따르면, 전자 장치(710)는 사용자가 찾은 친구의 전자 장치를 선택하면, 찾은 친구의 전자 장치와의 방향 정보를 표시할 수 있다(740). 전자 장치(710)는 사용자가 이동 중인 경우, 사용자에 대한 정보(750)도 표시할 수 있고, 찾은 친구의 전자 장치와의 방향(760)도 실시간으로 업데이트해 표시할 수 있다. According to various embodiments, when the user selects the electronic device of the found friend, the electronic device 710 may display direction information with the electronic device of the found friend ( S740 ). When the user is moving, the electronic device 710 may also display information 750 about the user, and may also update and display the direction 760 of the found friend to the electronic device in real time.

도 7에서는 전자 장치(710)가 넓은 장소에서 UWB 서비스를 실행함에 거리를 먼저 측정하고 방향을 측정하였으나, 좁은 장소인 경우에는 방향을 먼저 측정할 수도 있다. 즉, 전자 장치(710)가 거리를 먼저 측정할지 또는 방향을 먼저 측정할 지는 다양한 기준에 따라 달라질 수 있다.In FIG. 7 , when the electronic device 710 executes the UWB service in a wide place, the distance is first measured and the direction is measured. However, in the case of a narrow place, the direction may be measured first. That is, whether the electronic device 710 measures the distance or the direction first may vary according to various criteria.

도 8은 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 UWB 통신 모듈과 프로세서 간의 흐름도이다.8 is a flowchart between a UWB communication module and a processor supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, UWB 서비스는 예를 들어, 친구 찾기 서비스일 수 있으며, 친구 찾기 서비스는 거리 및 방향에 대한 정보 모두를 필요로 하는 서비스일 수 있다.According to various embodiments, the UWB service may be, for example, a friend finding service, and the friend finding service may be a service requiring both distance and direction information.

다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))는 프로세서(예: 도 1의 프로세서(120))와 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220))을 포함할 수 있다. UWB 통신 모듈(220)은 복수의 안테나와 연결될 수 있으며, 복수의 안테나 중 일부는 다른 안테나와 종류가 다른 안테나일 수 있다. According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 ) includes a processor (eg, the processor 120 of FIG. 1 ) and a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ). may include The UWB communication module 220 may be connected to a plurality of antennas, and some of the plurality of antennas may be antennas of a different type from other antennas.

다양한 실시예에 따르면, 동작 805에서, 프로세서(120)는 사용자의 요청에 의해 UWB 서비스를 실행할 수 있다. 예를 들어, UWB 서비스 실행은 사용자의 요청에 의한 지정된 어플리케이션(예: UWB 서비스 어플리케이션 실행 또는 UWB 통신 모듈을 사용하는 어플리케이션 실행)이 실행되거나 또는 지정된 조건(예: 지정된 장소 또는 지정된 이벤트 발생)에 기반한 어플리케이션이 실행될 수 있다.According to various embodiments, in operation 805 , the processor 120 may execute a UWB service according to a user's request. For example, UWB service execution is performed by a specified application (eg, UWB service application execution or application using UWB communication module execution) is executed by a user's request, or based on a specified condition (eg, specified location or specified event occurrence). Applications can be executed.

다양한 실시예에 따르면, 동작 810에서, 프로세서(120)는, UWB 서비스가 실행되면, UWB 통신 모듈(220)에게 UWB와 관련한 성능 확인을 요청할 수 있다. 예를 들어, 프로세서(120)는 UCI(UWB control information) 명령을 UWB 통신 모듈(220)에게 전송함으로써, UWB와 관련한 성능 확인을 요청할 수 있다. UWB 통신 모듈(220)은 메모리(예: 도 1의 메모리(130))에 저장된 안테나 설정 파일을 이용해 UWB와 관련한 성능(예: 거리, 방향)을 확인할 수 있다. 예를 들어, UWB와 관련된 성능에는 측정 가능한 거리 및/또는 방향에 대한 정보가 포함될 수 있다. 일 실시예에서, UWB 통신 모듈(220)이 비활성화 상태인 경우, UWB 통신 모듈(220)은 활성화 되고, 초기화가 될 때 측정 가능한 거리 및/또는 방향을 확인할 수 있다.According to various embodiments, in operation 810 , when the UWB service is executed, the processor 120 may request the UWB communication module 220 to check UWB-related performance. For example, the processor 120 may request a UWB-related performance check by transmitting a UWB control information (UCI) command to the UWB communication module 220 . The UWB communication module 220 may check UWB-related performance (eg, distance, direction) using an antenna setting file stored in a memory (eg, the memory 130 of FIG. 1 ). For example, UWB-related performance may include information about measurable distances and/or directions. In an embodiment, when the UWB communication module 220 is in an inactive state, the UWB communication module 220 is activated and may check a measurable distance and/or direction when initialized.

다양한 실시예에 따르면, 프로세서(120)는 직접 메모리(130)에 저장된 안테나 설정 파일을 이용해 UWB와 관련한 성능을 확인할 수 있다.According to various embodiments, the processor 120 may check UWB-related performance by using the antenna setting file stored in the memory 130 directly.

다양한 실시예에 따르면, 동작 815에서, UWB 통신 모듈(220)은 확인한 성능을 프로세서(120)에게 전송할 수 있다. UWB 통신 모듈(220)은 예를 들어, 안테나 설정 파일을 이용해 확인한 성능에 관한 정보 또는 초기화시 확인한 성능에 관한 정보를 프로세서(120)에게 전송할 수 있다. 일 실시예에서, UWB 통신 모듈(220)이 비활성활 상태에서 활성화 상태로 변경된 경우, UWB 통신 모듈(220)은 안테나 설정 파일을 이용해 확인한 성능에 관한 정보 또는 초기화시 확인한 성능에 관한 정보를 프로세서(120)에게 전송할 수 있다. 예를 들어, UWB 통신 모듈(220)은 동작 805에서 프로세서(120)가 실행된 UWB 서비스에 기반하여 확인한 성능에 관한 정보를 프로세서(120)에게 전송할 수 있다.According to various embodiments, in operation 815 , the UWB communication module 220 may transmit the checked performance to the processor 120 . The UWB communication module 220 may transmit, for example, information on performance checked using an antenna configuration file or information on performance checked during initialization to the processor 120 . In one embodiment, when the UWB communication module 220 is changed from an inactive state to an active state, the UWB communication module 220 transmits information about the performance checked using the antenna setting file or information about the performance checked during initialization to the processor ( 120) can be transmitted. For example, the UWB communication module 220 may transmit, to the processor 120 , information about the performance checked based on the UWB service executed by the processor 120 in operation 805 .

다양한 실시예에 따르면, 동작 820에서, 프로세서(120)는 UWB 통신 모듈(220)에게 외부 전자 장치와의 거리 측정을 요청할 수 있다. According to various embodiments, in operation 820 , the processor 120 may request the UWB communication module 220 to measure the distance to the external electronic device.

다양한 실시예에 따르면, 동작 825에서, UWB 통신 모듈(220)은 메모리(130)에 저장된 안테나 설정 파일에 기초해 외부 전자 장치와의 거리를 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 외부 전자 장치와의 거리(ranging) 측정과 방향(AOA) 측정 중 거리 측정을 위한 안테나 설정에 기반하여 거리를 측정 후, 방향 측정을 위한 안테나 설정에 기반하여 방향을 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 설정에 따라 외부 전자 장치와의 방향 측정 후 거리 측정을 수행할 수 있다. UWB 통신 모듈(220)은 예를 들어 메모리(130)에 저장된 안테나 설정 파일이 도 3의 (c)와 같다면, 제1 안테나(예: 도 3의 제1 안테나(230))를 이용해 데이터를 송수신하여 외부 전자 장치와의 거리를 측정할 수 있다. 다양한 실시예에 따르면, UWB 통신 모듈(220)은 측정한 거리에 대한 신뢰도(confidence level)도 함께 판단할 수 있다. 여기서 신뢰도는 UWB 관련 어플리케이션이 거리 측정을 얼마나 신뢰할 수 있는지에 대한 정보일 수 있다. 예를 들어, UWB 통신 모듈(220)은 외부 전자 장치가 line-of-sight(LOS)에 있는 경우 신뢰도를 99%로 판단할 수 있고, 그렇지 않은 경우 80%로 판단할 수 있다. 일 실시예에 따르면, UWB 통신 모듈(220)은 외부 전자 장치와의 거리 측정을 복수 번 수행할 수 있고, 수행 결과의 평균값(average value) 및 표준 편차(standard deviation)에 기반하여 측정한 거리에 대한 신뢰도를 판단할 수 있다. 예를 들어, UWB 통신 모듈(220)은 표준 편차가 정해진 값보다 클 경우 외부 전자 장치가 line-of-sight(LOS)에 있지 않다고 판단할 수 있다. UWB 통신 모듈(220)은 표준 편차가 정해진 값보다 작을 경우 신뢰도가 높다고 판단할 수 있다. 신뢰도를 판단하는 표준 편차의 정해진 값은 어플리케이션에 따라 다를 수 있다. 신뢰도를 판단하는 표준 편차의 정해진 값은 전자 장치가 위치한 장소 및/또는 시간에 따라 다를 수 있다. 표준 편차를 고려하는 기준은 사용자에 의해 선택되거나 어플리케이션에 의해 선택될 수 있다.According to various embodiments, in operation 825 , the UWB communication module 220 may measure the distance to the external electronic device based on the antenna configuration file stored in the memory 130 . According to various embodiments, the UWB communication module 220 measures a distance based on the antenna setting for distance measurement during ranging measurement and direction (AOA) measurement with an external electronic device, and then sets the antenna for direction measurement. direction can be measured based on According to various embodiments, the UWB communication module 220 may measure a distance with an external electronic device after measuring a direction according to a setting. The UWB communication module 220 transmits data using a first antenna (eg, the first antenna 230 of FIG. 3 ) if, for example, the antenna configuration file stored in the memory 130 is the same as in FIG. 3C . The distance to the external electronic device may be measured by transmitting and receiving. According to various embodiments, the UWB communication module 220 may also determine a confidence level for the measured distance. Here, the reliability may be information about how reliable the UWB-related application can measure the distance. For example, the UWB communication module 220 may determine the reliability to be 99% when the external electronic device is in line-of-sight (LOS), and may determine the reliability to be 80% if not. According to an embodiment, the UWB communication module 220 may measure the distance with the external electronic device a plurality of times, and set the distance measured based on an average value and standard deviation of the performance result. reliability can be judged. For example, when the standard deviation is greater than a predetermined value, the UWB communication module 220 may determine that the external electronic device is not in line-of-sight (LOS). The UWB communication module 220 may determine that reliability is high when the standard deviation is smaller than a predetermined value. The predetermined value of the standard deviation for determining reliability may vary depending on the application. A predetermined value of the standard deviation for determining reliability may vary according to a location and/or time at which the electronic device is located. The criterion for taking the standard deviation into account may be selected by the user or may be selected by the application.

다양한 실시예에 따르면, 동작 830에서, UWB 통신 모듈(220)은 측정한 거리 정보를 프로세서(120)에게 전송할 수 있다. 일 실시예에 따르면, 측정한 거리 정보에는 측정한 거리 외에 측정한 거리에 대해 판단한 신뢰도도 포함될 수 있다.According to various embodiments, in operation 830 , the UWB communication module 220 may transmit the measured distance information to the processor 120 . According to an embodiment, the measured distance information may include reliability determined for the measured distance in addition to the measured distance.

다양한 실시예에 따르면, 동작 835에서, 프로세서(120)는 측정된 거리를 디스플레이(예: 도 1의 표시 장치(160))에 표시할 수 있다. 일 실시예에 따르면, 측정한 거리에 대해 판단한 신뢰도도 함께 디스플레이(예: 도 1의 표시 장치(160))에 표시될 수 있다. 일 실시예에 따르면, 동작 835는 생략될 수 있다. 예를 들어, 프로세서(120)는 UWB 통신 모듈(220)로부터 수신한 측정한 거리 정보를 디스플레이에 표시하는 동작을 수행하지 않을 수 있다.According to various embodiments, in operation 835 , the processor 120 may display the measured distance on a display (eg, the display device 160 of FIG. 1 ). According to an embodiment, the reliability determined with respect to the measured distance may also be displayed on the display (eg, the display device 160 of FIG. 1 ). According to an embodiment, operation 835 may be omitted. For example, the processor 120 may not perform an operation of displaying the measured distance information received from the UWB communication module 220 on the display.

다양한 실시예에 따르면, 프로세서(120)는 동작 840에서, 측정된 거리가 지정된 범위 내인지 판단할 수 있다. 예를 들어, 지정된 범위는 외부 전자 장치와의 거리가 먼 거리인지 또는 가까운 거리인지의 기준이 되는 범위일 수 있다. 다양한 실시예에 따르면, 프로세서(120)는 측정한 거리에 대한 신뢰도도 함께 고려하여 판단할 수 있다. According to various embodiments, in operation 840 , the processor 120 may determine whether the measured distance is within a specified range. For example, the designated range may be a reference range for determining whether the distance to the external electronic device is a long distance or a short distance. According to various embodiments, the processor 120 may determine the reliability in consideration of the measured distance as well.

다양한 실시예에 따르면, 동작 840에서, 프로세서(120)는 측정된 거리가 지정된 범위 이상이면, 동작 820을 통해, 다시 UWB 통신 모듈(220)에게 외부 전자 장치와의 거리 측정을 요청할 수 있다.According to various embodiments, in operation 840 , if the measured distance is greater than or equal to a specified range, in operation 820 , the processor 120 may request the UWB communication module 220 to measure the distance to the external electronic device again.

다양한 실시예에 따르면, 동작 840에서, 프로세서(120)는 측정된 거리가 지정된 범위 미만이면, 동작 845에서, UWB 통신 모듈(220)에게 외부 전자 장치와의 방향 측정을 요청할 수 있다. According to various embodiments, if the measured distance is less than a specified range in operation 840 , in operation 845 , the processor 120 may request the UWB communication module 220 to measure a direction with an external electronic device.

다양한 실시예에 따르면, 동작 850에서, UWB 통신 모듈(220)은 메모리(130)에 저장된 안테나 설정 파일에 기초해 외부 전자 장치와의 방향을 측정할 수 있다. UWB 통신 모듈(220)은 외부 전자 장치와의 거리도 더 측정할 수 있다.According to various embodiments, in operation 850 , the UWB communication module 220 may measure a direction with the external electronic device based on the antenna setting file stored in the memory 130 . The UWB communication module 220 may further measure a distance to an external electronic device.

다양한 실시예에 따르면, UWB 통신 모듈(220)은 전자 장치(101)의 상태(예: portrait, landscape)를 고려해 외부 전자 장치와의 방향을 측정할 수 있다. UWB 통신 모듈(220)은 예를 들어, 메모리(130)에 저장된 안테나 설정 파일이 도 3의 (c)와 같고, 전자 장치(210)가 지면과 수직으로 세워진 상태(portrait)이면, AOA(portrait)(360)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(315), 제2 안테나(235) 및 제3 안테나(240)을 이용해 데이터를 수신할 수 있다(320, 330). UWB 통신 모듈(220)은 예를 들어, 메모리(130)에 저장된 안테나 설정 파일이 도 3의 (c)와 같고, 전자 장치(210)가 지면과 수평하게 눕혀진 상태(landscape)이면, AOA(landscape) 관련 안테나 정보(370)에 따라 제1 안테나(230)을 이용해 데이터를 송신하고(315), 제2 안테나(235) 및 제4 안테나(245)을 이용해 데이터를 수신할 수 있다(320, 340). UWB 통신 모듈(220)은 송수신한 데이터를 이용해 외부 전자 장치의 방향(예: 방위각, 및/또는 고도)를 측정할 수 있다. According to various embodiments, the UWB communication module 220 may measure a direction with an external electronic device in consideration of a state (eg, portrait, landscape) of the electronic device 101 . In the UWB communication module 220, for example, when the antenna setting file stored in the memory 130 is the same as that of FIG. ) 360 , data may be transmitted using the first antenna 230 ( 315 ), and data may be received using the second antenna 235 and the third antenna 240 ( 320 , 330 ). In the UWB communication module 220, for example, when the antenna setting file stored in the memory 130 is the same as that of FIG. landscape) according to the related antenna information 370 , data may be transmitted using the first antenna 230 ( 315 ), and data may be received using the second antenna 235 and the fourth antenna 245 ( 320 ). 340). The UWB communication module 220 may measure the direction (eg, azimuth and/or altitude) of the external electronic device using the transmitted/received data.

다양한 실시예에 따르면, 동작 855에서, UWB 통신 모듈(220)은 측정한 방향 정보를 프로세서(120)에게 전송할 수 있다. 측정한 방향 정보에는 방위각, 고도, 또는 신뢰도 중 적어도 하나가 포함될 수 있다. According to various embodiments, in operation 855 , the UWB communication module 220 may transmit the measured direction information to the processor 120 . The measured direction information may include at least one of azimuth, elevation, and reliability.

다양한 실시예에 따르면, 동작 860에서, 프로세서(120)는 측정한 방향(예: 방위각, 고도)을 디스플레이(예: 도 1의 표시 장치(160))에 표시할 수 있다. 측정한 방향에 대해 판단한 신뢰도도 함께 디스플레이(예: 도 1의 표시 장치(160))에 표시될 수 있다.According to various embodiments, in operation 860, the processor 120 may display the measured direction (eg, azimuth, elevation) on a display (eg, the display device 160 of FIG. 1 ). Reliability determined with respect to the measured direction may also be displayed on a display (eg, the display device 160 of FIG. 1 ).

도 9는 본 개시의 다양한 실시예에 따라 UWB 서비스를 지원하는 전자 장치의 순서도이다.9 is a flowchart of an electronic device supporting a UWB service according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 도 9에서 설명되는 동작은 전자 장치(예: 도 2의 전자 장치(210))의 UWB 통신 모듈(예: 도 2의 UWB 통신 모듈(220))에 의해 수행될 수 있다.According to various embodiments, the operation described in FIG. 9 may be performed by a UWB communication module (eg, the UWB communication module 220 of FIG. 2 ) of the electronic device (eg, the electronic device 210 of FIG. 2 ). .

다양한 실시예에 따라, 동작 910에서, 전자 장치(210)는 UWB 서비스가 요구하는 특성에 대해 판단할 수 있다. UWB 서비스가 요구하는 특성은 외부 전자 장치와의 거리, 및 방향 중 적어도 어느 하나에 대한 정보일 수 있다. 다양한 실시예에 따르면, UWB 서비스가 제공할 수 있는 외부 전자 장치와의 거리에 대한 정보는 UWB 서비스가 가능한 거리 정보(예: 5m, 10m, 또는 30m)일 수 있다. 외부 전자 장치와의 방향에 대한 정보는 방향 정보를 필요로 하는지 여부일 수 있다. 외부 전자 장치와의 거리 정보 및/또는 방향 정보는, UWB 서비스 특성상 정해진 정보 및/또는 전자 장치(210)가 가지는 안테나 성능상 정해진 정보일 수 있다. 일 실시예에 따르면, 외부 전자 장치와의 거리 정보 및/또는 방향 정보는 UWB 서비스에 기반하여 설정될 수 있다. 예를 들어, UWB 서비스가 내 차 찾기이면, 주차장은 넓을 수 있어 UWB 서비스가 가능한 거리 정보는 30m일 수 있다. 다른 예로, UWB 서비스가 내 물건 위치 찾기이면, 집 안에서 이용할 수 있어 UWB 서비스가 가능한 거리 정보는 7m일 수 있다. 일 실시예에 따르면, 외부 전자 장치와의 거리 정보 및/또는 방향 정보는 전자 장치(210)가 가지는 안테나 성능에 기반할 수 있다. 예를 들어, 안테나 성능은 전자 장치(210)가 포함하는 안테나의 개수 및/또는 안테나의 위치에 기반하여 설정될 수 있다.According to various embodiments, in operation 910 , the electronic device 210 may determine a characteristic required for the UWB service. The characteristic required by the UWB service may be information on at least one of a distance from an external electronic device and a direction. According to various embodiments, the information on the distance to the external electronic device that can be provided by the UWB service may be distance information (eg, 5m, 10m, or 30m) where the UWB service is available. The information on the direction to the external electronic device may be whether direction information is required. The distance information and/or direction information to the external electronic device may be information determined for the characteristics of the UWB service and/or information determined for the antenna performance of the electronic device 210 . According to an embodiment, distance information and/or direction information with an external electronic device may be set based on a UWB service. For example, if the UWB service is Find My Car, the parking lot may be wide, so the distance information on which the UWB service is available may be 30m. As another example, if the UWB service is to locate my object, distance information over which the UWB service is available because it can be used in the house may be 7m. According to an embodiment, distance information and/or direction information with respect to an external electronic device may be based on antenna performance of the electronic device 210 . For example, the antenna performance may be set based on the number of antennas included in the electronic device 210 and/or positions of the antennas.

다양한 실시예에 따라, 동작 920에서, 전자 장치(210)는 판단된 UWB 서비스가 요구하는 특성에 기초해 제1 안테나(예: 도 2의 제1 안테나(230))와 복수의 안테나(예: 도 2의 제2 내지 제4 안테나(235 내지 245)) 중 적어도 하나를 선택할 수 있다. 제1 안테나와 복수의 안테나는 종류가 서로 다른 안테나일 수 있다. According to various embodiments, in operation 920 , the electronic device 210 includes a first antenna (eg, the first antenna 230 of FIG. 2 ) and a plurality of antennas (eg, based on the determined characteristic required by the UWB service). At least one of the second to fourth antennas 235 to 245 of FIG. 2 may be selected. The first antenna and the plurality of antennas may be different types of antennas.

다양한 실시예에 따르면, 전자 장치(210)는 데이터 송신 또는 수신에 사용될 안테나를 동일한 안테나로 선택할 수 있다. 다른 일 실시예에 따르면, 전자 장치(210)는 데이터 송신에 사용될 안테나와 데이터 수신에 사용될 안테나를 다르게 선택할 수 있다. According to various embodiments, the electronic device 210 may select an antenna to be used for data transmission or reception as the same antenna. According to another embodiment, the electronic device 210 may select an antenna to be used for data transmission and an antenna to be used for data reception differently.

다양한 실시예에 따라, 동작 930에서, 전자 장치(210)는 선택된 안테나를 이용해 외부의 전자 장치와 데이터를 송신 또는 수신할 수 있다. 예를 들어, 전자 장치(210)는 선택된 제1 안테나(230)와 복수의 안테나(235 내지 245) 중 적어도 하나를 이용해 외부 전자 장치와 데이터를 송신 또는 수신할 수 있다. According to various embodiments, in operation 930 , the electronic device 210 may transmit or receive data with an external electronic device using the selected antenna. For example, the electronic device 210 may transmit or receive data with an external electronic device using at least one of the selected first antenna 230 and the plurality of antennas 235 to 245 .

다양한 실시예에 따라, 동작 940에서, 전자 장치(210)는 송신 또는 수신한 데이터를 이용해 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나를 측정할 수 있다. According to various embodiments, in operation 940 , the electronic device 210 may measure at least one of a distance or a direction to an external electronic device using transmitted or received data.

도 10은 본 개시의 다양한 실시예에 따라 복수의 UWB 서비스를 지원하는 UWB 통신 모듈의 안테나 스위칭 일예를 시간 측면에서 나타낸 도면이다.10 is a diagram illustrating an example of antenna switching of a UWB communication module supporting a plurality of UWB services in terms of time according to various embodiments of the present disclosure.

다양한 실시예에 따르면, 전자 장치(예: 도 1의 전자 장치(101))는 복수의 UWB 서비스를 동시에 지원할 수 있다. 전자 장치(101)는 복수의 UWB 서비스가 데이터를 전송하는 시간을 조절하여 복수의 UWB 서비스를 동시에 지원할 수 있다.According to various embodiments, the electronic device (eg, the electronic device 101 of FIG. 1 ) may simultaneously support a plurality of UWB services. The electronic device 101 may support a plurality of UWB services at the same time by adjusting the time during which the plurality of UWB services transmit data.

도 10을 참조하면, 전자 장치(101)는 3개의 UWB 서비스를 동시에 지원할 수 있다. 예를 들면, 제1 UWB 서비스(예: 공유 가능한 전자 장치 찾기 서비스), 제2 UWB 서비스(예: 내 차 찾기 서비스)와 제3 UWB 서비스(예: 친구 찾기 서비스)가 전자 장치(101)에서 동시에 실행될 수 있다. Referring to FIG. 10 , the electronic device 101 may simultaneously support three UWB services. For example, a first UWB service (eg, a shareable electronic device finding service), a second UWB service (eg, a find my car service), and a third UWB service (eg, a friend finding service) are performed in the electronic device 101 . can run concurrently.

다양한 실시예에 따르면, 제1 UWB 서비스는 거리 정보보다는 방향 정보가 더 중요한 서비스일 수 있다. 제1 UWB 서비스의 일 예인, 공유 가능한 전자 장치 찾기 서비스는 실내에서 실행되는 경우가 실외에서 실행되는 경우보다 많을 수 있다. 공유 가능한 전자 장치 찾기 서비스는 좁은 공간에서 이용되기 때문에 거리 정보보다는 방향 정보 더 중요할 수 있다. 예를 들어, 공유 가능한 전자 장치 찾기 서비스는 100ms 간격으로 데이터(1010, 1012, 1014, 1016)를 송신해 공유 가능한 전자 장치를 찾을 수 있다. 공유 가능한 전자 장치 찾기 서비스는 50ms 동안 데이터(1010, 1012, 1014, 1016)를 송신 및/또는 수신하여 공유 가능한 전자 장치를 찾을 수 있다. 공유 가능한 전자 장치 찾기 서비스는 패치 안테나를 이용해 공유 가능한 전자 장치를 찾을 수 있다.According to various embodiments, the first UWB service may be a service in which direction information is more important than distance information. As an example of the first UWB service, a sharable electronic device finding service may be executed indoors more than outdoors. Since the shareable electronic device finding service is used in a narrow space, direction information may be more important than distance information. For example, the shareable electronic device finding service may transmit data 1010 , 1012 , 1014 , and 1016 at intervals of 100 ms to find a shareable electronic device. The shareable electronic device finding service may transmit and/or receive data 1010 , 1012 , 1014 , and 1016 for 50 ms to find a shareable electronic device. The shareable electronic device finding service may find a shareable electronic device using a patch antenna.

다양한 실시예에 따르면, 제2 UWB 서비스는 방향 정보보다는 거리 정보가 중요한 서비스일 수 있다. 제2 UWB 서비스의 일 예인, 내 차 찾기 서비스는 넓은 주차장에서 실행되나 자동차의 크기가 커서 거리 정보만으로도 충분히 서비스가 제공될 수 있다. 예를 들어, 내 차 찾기 서비스는 200ms 간격으로 데이터(1020, 1022)를 송신 및/또는 수신하여 내 차를 찾을 수 있다. 내 차 찾기 서비스는 20ms 동안 데이터(1020, 1022)를 송신해 내 차를 찾을 수 있다. 내 차 찾기 서비스는 메탈 안테나를 이용해 내 차를 찾을 수 있다. According to various embodiments, the second UWB service may be a service in which distance information is more important than direction information. As an example of the second UWB service, the Find My Car service is executed in a wide parking lot, but the size of the car is large, so that the service can be sufficiently provided only with distance information. For example, the find my car service may transmit and/or receive data 1020 and 1022 at 200 ms intervals to find my car. The Find My Car service can find my car by sending data 1020, 1022 for 20 ms. The Find My Car service can find my car using a metal antenna.

다양한 실시예에 따르면, 제3 UWB 서비스는 거리 정보와 방향 정보가 모두 중요한 서비스일 수 있다. 제3 UWB 서비스의 일 예인, 친구 찾기 서비스는 내 차 찾기 서비스와 마찬가지로 넓은 장소에서 실행될 수 있으나 찾는 대상의 크기가 작아 거리 정보뿐만 아니라 방향 정보도 중요할 수 있다. 예를 들어, 친구 찾기 서비스는 400ms 간격으로 데이터(1030, 1032)를 송신 및/또는 수신하여 친구(예: 친구의 전자 장치)를 찾을 수 있다. 친구 찾기 서비스는 5ms 동안 데이터(1030, 1032)를 송신해 친구를 찾을 수 있다. 친구 찾기 서비스는 메탈 안테나 또는 메탈 안테나와 패치 안테나를 이용해 친구를 찾을 수 있다.According to various embodiments, the third UWB service may be a service in which both distance information and direction information are important. A friend finding service, which is an example of the third UWB service, may be executed in a wide place like the finding my car service, but since the size of the target is small, not only distance information but also direction information may be important. For example, the friend finding service may transmit and/or receive data 1030 and 1032 at 400 ms intervals to find a friend (eg, a friend's electronic device). The friend finding service can find friends by sending data 1030 and 1032 for 5 ms. The friend finding service can find friends using a metal antenna or a metal antenna and a patch antenna.

다양한 실시예에 따르면, 전자 장치(101)는 패치 안테나를 이용해 50ms동안 공유 가능한 전자 장치를 찾기 위한 데이터(1010)를 송신 또는/및 수신할 수 있다. 전자 장치(101)는 공유 가능한 전자 장치를 찾기 위한 다음 데이터(1012)를 100ms 후에 송신 또는 수신할 수 있기 때문에 그 전에 내 차를 찾기 위한 데이터(1020)를 20ms동안 메탈 안테나를 이용해 송신 또는/및 수신할 수 있고, 또한 친구를 찾기 위한 데이터(1030)을 5ms동안 메탈 안테나를 이용해 송신 또는/및 수신할 수 있다. According to various embodiments, the electronic device 101 may transmit and/or receive data 1010 for finding a shareable electronic device for 50 ms using a patch antenna. Since the electronic device 101 can transmit or receive the next data 1012 for finding a shareable electronic device after 100 ms, the data 1020 for finding my car before that can be transmitted using a metal antenna for 20 ms and/or In addition, data 1030 for finding a friend may be transmitted and/or received using a metal antenna for 5 ms.

다양한 실시예에 따르면, 전자 장치(101)는 복수의 메탈 안테나를 포함할 수 있어 전자 장치(101)의 상태에 기반하여 복수의 메탈 안테나 중 하나를 선택할 수 있다. 예를 들어, 폴더블 전자 장치는 복수의 메탈 안테나를 포함할 수 있다. 폴더블 전자 장치가 접혀 있는 경우와 펼쳐진 경우에 따라 선택하는 복수의 메탈 안테나가 다를 수 있다. According to various embodiments, the electronic device 101 may include a plurality of metal antennas, so that one of the plurality of metal antennas may be selected based on the state of the electronic device 101 . For example, the foldable electronic device may include a plurality of metal antennas. A plurality of metal antennas to be selected may be different depending on when the foldable electronic device is folded or unfolded.

다양한 실시예에 따르면, 전자 장치(101)는 롤러블 디스플레이를 포함할 수 있다. 롤러블 디스플레이가 펼쳐지거나 또는 감기는 경우, 복수의 메탈 안테나 중 적어도 하나의 위치가 달라지면 선택하는 안테나가 달라질 수 있다.According to various embodiments, the electronic device 101 may include a rollable display. When the rollable display is unfolded or rolled, if the position of at least one of the plurality of metal antennas is changed, the selected antenna may be changed.

다양한 실시예에 따르면, 전자 장치(101)는 복수의 패치 안테나를 포함할 수 있다. 본 개시의 다양한 실시예들에서는 3개의 패치 안테나로 설명하였으나, 패치 안테나의 개수는 더 많거나 적을 수 있어 이에 한정되는 것은 아니다.According to various embodiments, the electronic device 101 may include a plurality of patch antennas. Although various embodiments of the present disclosure have been described with three patch antennas, the number of patch antennas may be more or less, and thus the present disclosure is not limited thereto.

다양한 실시예에 따르면, 전자 장치(101)는 하나의 UWB 서비스에서 데이터를 송신 또는/및 수신하지 않는 동안 다른 UWB 서비스에 필요한 데이터를 송신 또는/및 수신함으로써 복수의 UWB 서비스를 동시에 실행하도록 지원할 수 있다. 전자 장치(101)는, UWB 서비스에 필요한 안테나가 서로 상이한 경우, 안테나를 스위칭 할 수 있다.According to various embodiments, the electronic device 101 may support executing a plurality of UWB services simultaneously by transmitting and/or receiving data required for another UWB service while not transmitting and/or receiving data from one UWB service. have. The electronic device 101 may switch antennas when antennas required for the UWB service are different from each other.

다양한 실시예에 따르면, 전자 장치(101)는 복수의 UWB 서비스를 실행 중 데이터를 송신 시간, 수신 시간, 및/또는 송수신 주기가 겹치는 경우, 송신 시간, 수신 시간, 및/또는 송수신 주기 중 적어도 하나를 제어할 수 있다. 예를 들어, 서로 다른 UWB 서비스가 송수신 주기가 동일하다면 우선 순위가 높은 UWB 서비스를 먼저 실행하고 우선 순위가 낮은 UWB 서비스를 나중에 실행할 수 있다. According to various embodiments, when a data transmission time, a reception time, and/or a transmission/reception period overlap while executing a plurality of UWB services, the electronic device 101 transmits at least one of a transmission time, a reception time, and/or a transmission/reception period. can control For example, if different UWB services have the same transmission/reception cycle, a UWB service having a higher priority may be executed first and a UWB service having a lower priority may be executed later.

본 개시의 다양한 실시예에 따른 전자 장치(210)는 제1 안테나(230), 상기 제1 안테나와 종류가 다른 복수의 안테나(235, 240, 245), 및 UWB 통신 모듈(220)을 포함하고, 상기 UWB 통신 모듈(220)은 UWB 서비스가 요구하는 특성에 기초해 상기 제1 안테나(230)와 상기 복수의 안테나(235, 240, 245) 중 적어도 일부를 선택하여 외부의 전자 장치(102)와의 거리 또는 방향 중 적어도 하나를 측정할 수 있다.The electronic device 210 according to various embodiments of the present disclosure includes a first antenna 230 , a plurality of antennas 235 , 240 , 245 different from the first antenna, and a UWB communication module 220 , , the UWB communication module 220 selects at least some of the first antenna 230 and the plurality of antennas 235 , 240 , 245 based on the characteristics required by the UWB service to select the external electronic device 102 . At least one of a distance to and a direction may be measured.

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 서비스가 요구하는 특성은 상기 외부의 전자 장치(102)와의 거리 또는 방향 중 적어도 하나에 대한 요구사항일 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, the characteristic required by the UWB service may be a requirement for at least one of a distance or a direction from the external electronic device 102 .

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 제1 안테나(230)는 메탈 또는 LDS(laser direct structuring) 안테나이고, 상기 복수의 안테나(235, 240, 245)는 패치 안테나일 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, the first antenna 230 may be a metal or laser direct structuring (LDS) antenna, and the plurality of antennas 235, 240, and 245 may be patch antennas. have.

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 통신 모듈(220)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우, 상기 제1 안테나(230)를 선택해 데이터를 송신하고, 상기 복수의 안테나(235, 240, 245) 중 하나의 안테나와 상기 제1 안테나(230)를 선택해 데이터를 수신하고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우, 상기 복수의 안테나(235, 240, 245) 중 하나의 안테나를 선택해 데이터를 송신하고, 상기 복수의 안테나를 선택해 데이터를 수신할 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, when the UWB communication module 220 includes only information on the distance to the external electronic device in the characteristic required by the UWB service, the first Select one antenna 230 to transmit data, select one antenna and the first antenna 230 among the plurality of antennas 235 , 240 , 245 to receive data, and determine the characteristics required by the UWB service. When information on a direction with respect to the external electronic device is included, data may be transmitted by selecting one antenna among the plurality of antennas 235 , 240 , and 245 , and data may be received by selecting the plurality of antennas. .

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 통신 모듈(220)은, 상기 UWB 통신 모듈(220)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우, 상기 제1 안테나(230)를 선택해 데이터를 송수신하고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하는 경우, 상기 복수의 안테나(235, 240, 245)를 선택해 데이터를 송수신할 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, the UWB communication module 220, the UWB communication module 220, determines the distance from the external electronic device according to the characteristics required by the UWB service. In the case of including only information about 235, 240, 245) to transmit and receive data.

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 통신 모듈(220)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우, 상기 제1 안테나를 선택해 데이터를 송신하고, 상기 복수의 안테나(235, 240, 245) 중 하나를 선택해 데이터를 수신하고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우, 상기 제1 안테나(230)를 선택해 데이터를 송신하고, 상기 복수의 안테나(235, 240, 245) 중 두 개의 안테나를 선택해 데이터를 수신할 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, when the UWB communication module 220 includes only information on the distance to the external electronic device in the characteristic required by the UWB service, the first Select one antenna to transmit data, select one of the plurality of antennas 235, 240, and 245 to receive data, and include information on a direction to the external electronic device in the characteristics required by the UWB service In this case, data may be transmitted by selecting the first antenna 230 , and data may be received by selecting two antennas among the plurality of antennas 235 , 240 , 245 .

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 통신 모듈(220)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우, 상기 제1 안테나(230)를 선택해 데이터를 송수신하고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우, 상기 제1 안테나(230)를 선택해 데이터를 송신하고, 상기 복수의 안테나(235, 240, 245) 중 두 개의 안테나를 선택해 데이터를 수신할 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, when the UWB communication module 220 includes only information on the distance to the external electronic device in the characteristic required by the UWB service, the first Select the first antenna 230 to transmit and receive data, and when the information on the direction with the external electronic device is included in the characteristic required by the UWB service, the first antenna 230 is selected to transmit data, Data may be received by selecting two antennas among the plurality of antennas 235 , 240 , and 245 .

본 개시의 다양한 실시예에 따른 전자 장치(210)는 상기 UWB 서비스가 요구하는 특성에 따라 데이터 송신 또는 수신에 이용되는 안테나에 대한 정보가 포함된 안테나 설정 파일을 더 포함할 수 있다.The electronic device 210 according to various embodiments of the present disclosure may further include an antenna configuration file including information on an antenna used for data transmission or reception according to a characteristic required by the UWB service.

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 안테나 설정 파일은 상기 전자 장치의 제조사 또는 상기 UWB 서비스를 제공하는 업체에 의해 제공될 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, the antenna setting file may be provided by a manufacturer of the electronic device or a company providing the UWB service.

본 개시의 다양한 실시예에 따른 전자 장치(210)에서, 상기 UWB 통신 모듈(220)은, 상기 측정된 외부의 전자 장치와의 거리 또는 방향에 기초해 상기 외부의 전자 장치와의 거리 또는 방향 중 하나에 대해 더 측정할 수 있다.In the electronic device 210 according to various embodiments of the present disclosure, the UWB communication module 220, based on the measured distance or direction to the external electronic device, is one of the distances or directions from the external electronic device. You can measure more for one.

본 개시의 다양한 실시예에 따른 전자 장치(210)는 디스플레이(160), 및 프로세서(120)를 더 포함하고, 상기 프로세서(120)는, 상기 UWB 서비스를 실행하고, 상기 UWB 서비스 제공에 필요한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 측정을 상기 UWB 통신 모듈(220)에 전송하고, 상기 UWB 통신 모듈(220)로부터 수신한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 정보를 상기 디스플레이에 표시하고, 상기 UWB 통신 모듈(220)은, 상기 프로세서(120)로부터 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 측정을 요청받고, 상기 측정한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 정보를 상기 프로세서(120)로 전송할 수 있다.The electronic device 210 according to various embodiments of the present disclosure further includes a display 160 and a processor 120 , wherein the processor 120 executes the UWB service and is required to provide the UWB service. A measurement of at least one of a distance or a direction from an external electronic device is transmitted to the UWB communication module 220 , and at least one of a distance or a direction from the external electronic device received from the UWB communication module 220 is transmitted. information on the display, the UWB communication module 220 receives a request from the processor 120 to measure at least one of a distance or a direction from the external electronic device, and the measured external information on at least one of a distance or a direction from the electronic device may be transmitted to the processor 120 .

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법은 UWB 서비스가 요구하는 특성에 대해 판단하는 동작(910), 상기 판단된 UWB 서비스가 요구하는 특성에 기초해 제1 안테나(230)와 상기 제1 안테나와는 종류가 다른 복수의 안테나(235, 240, 245) 중 적어도 하나를 선택하는 동작(920), 상기 선택된 제1 안테나와 복수의 안테나 중 적어도 하나를 이용해 외부의 전자 장치와 데이터를 송신 또는 수신하는 동작(930), 및 상기 송신 또는 수신한 데이터를 이용해 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나를 측정하는 동작(940)을 포함할 수 있다.A method of operating an electronic device according to various embodiments of the present disclosure includes an operation 910 of determining a characteristic required by the UWB service, and a first antenna 230 and the second antenna 230 based on the determined characteristic required by the UWB service. Selecting at least one of the plurality of antennas 235, 240, and 245 different from the first antenna in operation 920, and transmitting data with an external electronic device using at least one of the selected first antenna and the plurality of antennas Alternatively, it may include an operation 930 of receiving and an operation 940 of measuring at least one of a distance or a direction to the external electronic device using the transmitted or received data.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 UWB 서비스가 요구하는 특성은 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 요구사항일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the characteristic required by the UWB service may be a requirement for at least one of a distance or a direction from the external electronic device.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 제1 안테나(230)는 메탈 또는 LDS(laser direct structuring) 안테나이고, 상기 복수의 안테나(235, 240, 245)는 패치 안테나일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the first antenna 230 may be a metal or laser direct structuring (LDS) antenna, and the plurality of antennas 235, 240, and 245 may be patch antennas. .

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 제1 안테나(230)와 상기 복수의 안테나(235, 240, 245) 중 적어도 하나를 선택하는 동작(920)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 제1 안테나(230)를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나(235, 240, 245) 중 하나의 안테나를 선택하는 동작이고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 복수의 안테나(235, 240, 245) 중 하나의 안테나를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나를 선택하는 동작일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation 920 of selecting at least one of the first antenna 230 and the plurality of antennas 235 , 240 , 245 includes the UWB service request. If only information on the distance to the external electronic device is included in the characteristic, the first antenna 230 is selected when transmitting the data, and the plurality of antennas 235, 240, and 245 are received when the data is received. In the operation of selecting one antenna from among the plurality of antennas 235, 240, and 245 when transmitting the data, if only information on a direction to the external electronic device is included in the characteristic required by the UWB service. It may be an operation of selecting one antenna and selecting the plurality of antennas when receiving the data.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 제1 안테나(230)와 상기 복수의 안테나(235, 240, 245) 중 적어도 하나를 선택하는 동작(920)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 제1 안테나(230)를 선택하는 동작이고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하면, 상기 복수의 안테나(235, 240, 245)를 선택하는 동작일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation 920 of selecting at least one of the first antenna 230 and the plurality of antennas 235 , 240 , 245 includes the UWB service request. If only information on the distance to the external electronic device is included in the characteristic to be performed, the operation of selecting the first antenna 230 is performed, and information on the direction to the external electronic device is included in the characteristic required by the UWB service. , it may be an operation of selecting the plurality of antennas 235 , 240 , and 245 .

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 제1 안테나(230)와 상기 복수의 안테나(235, 240, 245) 중 적어도 하나를 선택하는 동작(920)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 제1 안테나(230)를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나(235, 240, 245) 중 하나의 안테나를 선택하는 동작이고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하면, 상기 데이터를 송신시 상기 제1 안테나(230)를 선택하고, 상기 복수의 안테나 중 두 개의 안테나(235, 240, 245)를 선택하는 동작일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation 920 of selecting at least one of the first antenna 230 and the plurality of antennas 235 , 240 , 245 includes the UWB service request. If only information on the distance to the external electronic device is included in the characteristic, the first antenna 230 is selected when transmitting the data, and the plurality of antennas 235, 240, and 245 are received when the data is received. In the operation of selecting one antenna among It may be an operation of selecting two antennas 235 , 240 , and 245 among a plurality of antennas.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 제1 안테나(230)와 상기 복수의 안테나(235, 240, 245) 중 적어도 하나를 선택하는 동작(920)은, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 제1 안테나(230)를 선택하는 동작이고, 상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하면, 상기 데이터를 송신시 상기 제1 안테나(230)를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나(235, 240, 245) 중 두 개의 안테나를 선택하는 동작일 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the operation 920 of selecting at least one of the first antenna 230 and the plurality of antennas 235 , 240 , 245 includes the UWB service request. If only information on the distance to the external electronic device is included in the characteristic to be performed, the operation of selecting the first antenna 230 is performed, and information on the direction to the external electronic device is included in the characteristic required by the UWB service. , it may be an operation of selecting the first antenna 230 when transmitting the data and selecting two antennas among the plurality of antennas 235 , 240 and 245 when receiving the data.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법은 상기 UWB 서비스가 요구하는 특성에 따라 데이터 송신 또는 수신에 이용되는 안테나에 대한 정보가 포함된 안테나 설정 파일을 더 포함할 수 있다.The method of operating an electronic device according to various embodiments of the present disclosure may further include an antenna configuration file including information on an antenna used for data transmission or reception according to a characteristic required by the UWB service.

본 개시의 다양한 실시예에 따른 전자 장치의 동작 방법에서 상기 안테나 설정 파일은 상기 전자 장치의 제조사 또는 상기 UWB 서비스를 제공하는 업체에 의해 제공될 수 있다.In the method of operating an electronic device according to various embodiments of the present disclosure, the antenna setting file may be provided by a manufacturer of the electronic device or a company providing the UWB service.

그 외에도 다양한 실시예들이 가능하다.In addition, various embodiments are possible.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "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 Each of the phrases such as "at least one of A, B, or C" may include any one of, or all possible combinations of, items listed together in the corresponding one of the phrases. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the element from other elements in question, and may refer to elements 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)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다. According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) readable by a machine (eg, electronic device 101) may be implemented as software (eg, the program 140) including For example, a processor (eg, processor 120 ) of a device (eg, electronic device 101 ) may call at least one command among one or more commands stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to 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 as included in a 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 or online between smartphones (eg: smartphones). In the case of online distribution, at least a part 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. 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)

UWB 서비스를 지원하는 전자 장치에 있어서,
제1 안테나;
상기 제1 안테나와 종류가 다른 복수의 안테나; 및
UWB(ultra wide band) 통신 모듈을 포함하고,
상기 UWB 통신 모듈은,
상기 UWB 서비스가 요구하는 특성에 기초해 상기 제1 안테나와 상기 복수의 안테나 중 적어도 일부를 선택하여 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대해 측정하는, 전자 장치.
An electronic device supporting a UWB service, comprising:
a first antenna;
a plurality of antennas different from the first antenna; and
Including a UWB (ultra wide band) communication module,
The UWB communication module,
An electronic device that selects at least some of the first antenna and the plurality of antennas based on a characteristic required by the UWB service and measures at least one of a distance or a direction from an external electronic device.
제1항에 있어서,
상기 UWB 서비스가 요구하는 특성은 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 요구사항인, 전자 장치.
According to claim 1,
The characteristic required by the UWB service is a requirement for at least one of a distance and a direction from the external electronic device.
제1항에 있어서,
상기 제1 안테나는 메탈 또는 LDS(laser direct structuring) 안테나이고,
상기 복수의 안테나는 패치 안테나인, 전자 장치.
According to claim 1,
The first antenna is a metal or laser direct structuring (LDS) antenna,
The plurality of antennas are patch antennas.
제3항에 있어서,
상기 UWB 통신 모듈은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송신하고,
상기 복수의 안테나 중 하나의 안테나와 상기 제1 안테나를 선택해 데이터를 수신하고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우,
상기 복수의 안테나 중 하나의 안테나를 선택해 데이터를 송신하고,
상기 복수의 안테나를 선택해 데이터를 수신하는, 전자 장치.
4. The method of claim 3,
The UWB communication module,
When only information on the distance to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit data,
Select one antenna and the first antenna among the plurality of antennas to receive data,
When information on a direction to the external electronic device is included in the characteristic required by the UWB service,
Selecting one antenna among the plurality of antennas to transmit data,
An electronic device for receiving data by selecting the plurality of antennas.
제3항에 있어서,
상기 UWB 통신 모듈은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송수신하고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하는 경우,
상기 복수의 안테나를 선택해 데이터를 송수신하는, 전자 장치.
4. The method of claim 3,
The UWB communication module,
When only information on the distance to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit and receive data,
When only information about a direction with the external electronic device is included in the characteristic required by the UWB service,
An electronic device for transmitting and receiving data by selecting the plurality of antennas.
제3항에 있어서,
상기 UWB 통신 모듈은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송신하고,
상기 복수의 안테나 중 하나를 선택해 데이터를 수신하고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송신하고,
상기 복수의 안테나 중 두 개의 안테나를 선택해 데이터를 수신하는, 전자 장치.
4. The method of claim 3,
The UWB communication module,
When only information on the distance to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit data,
Select one of the plurality of antennas to receive data,
When information on a direction to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit data,
An electronic device for receiving data by selecting two antennas from among the plurality of antennas.
제3항에 있어서,
상기 UWB 통신 모듈은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송수신하고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하는 경우,
상기 제1 안테나를 선택해 데이터를 송신하고,
상기 복수의 안테나 중 두 개의 안테나를 선택해 데이터를 수신하는, 전자 장치.
4. The method of claim 3,
The UWB communication module,
When only information on the distance to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit and receive data,
When information on a direction to the external electronic device is included in the characteristic required by the UWB service,
Select the first antenna to transmit data,
An electronic device for receiving data by selecting two antennas from among the plurality of antennas.
제1항에 있어서,
상기 UWB 서비스가 요구하는 특성에 따라 데이터 송신 또는 수신에 이용되는 안테나에 대한 정보가 포함된 안테나 설정 파일을 더 포함하는, 전자 장치.
According to claim 1,
The electronic device further comprising an antenna configuration file including information on an antenna used for data transmission or reception according to a characteristic required by the UWB service.
제8항에 있어서,
상기 안테나 설정 파일은 상기 전자 장치의 제조사 또는 상기 UWB 서비스를 제공하는 업체에 의해 제공되는, 전자 장치.
9. The method of claim 8,
The antenna setting file is provided by a manufacturer of the electronic device or a company providing the UWB service.
제1항에 있어서,
상기 UWB 통신 모듈은,
상기 측정된 외부의 전자 장치와의 거리 또는 방향에 기초해 상기 외부의 전자 장치와의 거리 또는 방향 중 하나에 대해 더 측정하는, 전자 장치.
According to claim 1,
The UWB communication module,
The electronic device further measures one of a distance or a direction to the external electronic device based on the measured distance or direction to the external electronic device.
제1항에 있어서,
디스플레이; 및
프로세서를 더 포함하고,
상기 프로세서는,
상기 UWB 서비스를 실행하고,
상기 UWB 서비스 제공에 필요한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 측정을 상기 UWB 통신 모듈에 전송하고, 상기 UWB 통신 모듈로부터 수신한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 정보를 상기 디스플레이에 표시하고,
상기 UWB 통신 모듈은,
상기 프로세서로부터 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 측정을 요청받고, 상기 측정한 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 정보를 상기 프로세서로 전송하는, 전자 장치.
According to claim 1,
display; and
further comprising a processor;
The processor is
running the UWB service,
Transmits to the UWB communication module a measurement of at least one of a distance or a direction to the external electronic device required for providing the UWB service, and at least one of a distance or a direction to the external electronic device received from the UWB communication module display information about one on the display;
The UWB communication module,
receiving a request from the processor to measure at least one of a distance or a direction from the external electronic device, and transmitting information on at least one of the measured distance or a direction to the external electronic device to the processor Device.
전자 장치의 동작 방법에 있어서,
UWB(ultra wide band) 서비스가 요구하는 특성에 대해 판단하는 동작;
상기 판단된 UWB 서비스가 요구하는 특성에 기초해 제1 안테나와 상기 제1 안테나와는 종류가 다른 복수의 안테나 중 적어도 하나를 선택하는 동작;
상기 선택된 제1 안테나와 복수의 안테나 중 적어도 하나를 이용해 외부의 전자 장치와 데이터를 송신 또는 수신하는 동작; 및
상기 송신 또는 수신한 데이터를 이용해 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나를 측정하는 동작을 포함하는, 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
an operation of determining a characteristic required by an ultra wide band (UWB) service;
selecting at least one of a first antenna and a plurality of antennas different from those of the first antenna based on the determined characteristic required by the UWB service;
transmitting or receiving data with an external electronic device using at least one of the selected first antenna and a plurality of antennas; and
and measuring at least one of a distance and a direction from the external electronic device using the transmitted or received data.
제12항에 있어서,
상기 UWB 서비스가 요구하는 특성은 상기 외부의 전자 장치와의 거리 또는 방향 중 적어도 하나에 대한 요구사항인, 전자 장치의 동작 방법.
13. The method of claim 12,
The characteristic required by the UWB service is a requirement for at least one of a distance or a direction from the external electronic device.
제12항에 있어서,
상기 제1 안테나는 메탈 또는 LDS(laser direct structuring) 안테나이고,
상기 복수의 안테나는 패치 안테나인, 전자 장치의 동작 방법.
13. The method of claim 12,
The first antenna is a metal or laser direct structuring (LDS) antenna,
wherein the plurality of antennas are patch antennas.
제14항에 있어서, 상기 제1 안테나와 상기 복수의 안테나 중 적어도 하나를 선택하는 동작은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 제1 안테나를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나 중 하나의 안테나를 선택하는 동작이고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 복수의 안테나 중 하나의 안테나를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나를 선택하는 동작인, 전자 장치의 동작 방법.
The method of claim 14, wherein the selecting of at least one of the first antenna and the plurality of antennas comprises:
If only information on the distance to the external electronic device is included in the characteristic required by the UWB service, the first antenna is selected when transmitting the data, and one of the plurality of antennas is selected when receiving the data. It is a choice action,
If only information on a direction with respect to the external electronic device is included in the characteristic required by the UWB service, one antenna is selected from among the plurality of antennas when transmitting the data, and the plurality of antennas are selected when receiving the data. A method of operating an electronic device, which is an operation to select.
제14항에 있어서, 상기 제1 안테나와 상기 복수의 안테나 중 적어도 하나를 선택하는 동작은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 제1 안테나를 선택하는 동작이고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보만 포함하면, 상기 복수의 안테나를 선택하는 동작인, 전자 장치의 동작 방법.
The method of claim 14, wherein the selecting of at least one of the first antenna and the plurality of antennas comprises:
Selecting the first antenna when only information on the distance to the external electronic device is included in the characteristic required by the UWB service;
and selecting the plurality of antennas when only information on a direction with respect to the external electronic device is included in the characteristic required by the UWB service.
제14항에 있어서, 상기 제1 안테나와 상기 복수의 안테나 중 적어도 하나를 선택하는 동작은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 데이터를 송신시 상기 제1 안테나를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나 중 하나의 안테나를 선택하는 동작이고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하면, 상기 데이터를 송신시 상기 제1 안테나를 선택하고, 상기 복수의 안테나 중 두 개의 안테나를 선택하는 동작인, 전자 장치의 동작 방법.
The method of claim 14, wherein the selecting of at least one of the first antenna and the plurality of antennas comprises:
If only information on the distance to the external electronic device is included in the characteristic required by the UWB service, the first antenna is selected when transmitting the data, and one of the plurality of antennas is selected when receiving the data. It is a choice action,
An operation of selecting the first antenna and selecting two antennas from among the plurality of antennas when transmitting the data when the characteristic required by the UWB service includes information on a direction with the external electronic device, A method of operation of an electronic device.
제14항에 있어서, 상기 제1 안테나와 상기 복수의 안테나 중 적어도 하나를 선택하는 동작은,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 거리에 대한 정보만 포함하면, 상기 제1 안테나를 선택하는 동작이고,
상기 UWB 서비스가 요구하는 특성에 상기 외부의 전자 장치와의 방향에 대한 정보를 포함하면, 상기 데이터를 송신시 상기 제1 안테나를 선택하고, 상기 데이터를 수신시 상기 복수의 안테나 중 두 개의 안테나를 선택하는 동작인, 전자 장치의 동작 방법.
The method of claim 14, wherein the selecting of at least one of the first antenna and the plurality of antennas comprises:
Selecting the first antenna when only information on the distance to the external electronic device is included in the characteristic required by the UWB service;
When information on a direction with respect to the external electronic device is included in the characteristic required by the UWB service, the first antenna is selected when transmitting the data, and two antennas are selected among the plurality of antennas when receiving the data. A method of operating an electronic device, which is an operation to select.
제12항에 있어서,
상기 UWB 서비스가 요구하는 특성에 따라 데이터 송신 또는 수신에 이용되는 안테나에 대한 정보가 포함된 안테나 설정 파일을 더 포함하는, 전자 장치의 동작 방법.
13. The method of claim 12,
The method of operating an electronic device, further comprising an antenna configuration file including information on an antenna used for data transmission or reception according to a characteristic required by the UWB service.
제19항에 있어서,
상기 안테나 설정 파일은 상기 전자 장치의 제조사 또는 상기 UWB 서비스를 제공하는 업체에 의해 제공되는, 전자 장치의 동작 방법.
20. The method of claim 19,
The method of operating an electronic device, wherein the antenna setting file is provided by a manufacturer of the electronic device or a company providing the UWB service.
KR1020200083004A 2020-07-06 2020-07-06 Antenna control method for providing uwb service and electronic device supporting the same KR20220005306A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200083004A KR20220005306A (en) 2020-07-06 2020-07-06 Antenna control method for providing uwb service and electronic device supporting the same
PCT/KR2021/007231 WO2022010115A1 (en) 2020-07-06 2021-06-09 Antenna control method for providing uwb service, and electronic device supporting same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200083004A KR20220005306A (en) 2020-07-06 2020-07-06 Antenna control method for providing uwb service and electronic device supporting the same

Publications (1)

Publication Number Publication Date
KR20220005306A true KR20220005306A (en) 2022-01-13

Family

ID=79342080

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200083004A KR20220005306A (en) 2020-07-06 2020-07-06 Antenna control method for providing uwb service and electronic device supporting the same

Country Status (2)

Country Link
KR (1) KR20220005306A (en)
WO (1) WO2022010115A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11671788B2 (en) 2021-04-28 2023-06-06 Samsung Electronics Co., Ltd. Electronic device for supporting positioning communication

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015176776A1 (en) * 2014-05-23 2015-11-26 Decawave Ltd. Measuring angle of incidence in an ultrawideband communication system
US10749778B2 (en) * 2015-07-28 2020-08-18 Acorn Technologies, Inc. Communication system determining time of arrival using matching pursuit
KR101755944B1 (en) * 2015-12-15 2017-07-26 한양대학교 산학협력단 Autonomous driving method and system for determing position of car graft on gps, uwb and v2x
US10942249B2 (en) * 2017-12-22 2021-03-09 Nxp B.V. Method and system for determining a location of a mobile device
KR102589000B1 (en) * 2018-09-07 2023-10-16 삼성전자주식회사 Apparatus and method for adaptively controlling preamble in ultra wide band network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11671788B2 (en) 2021-04-28 2023-06-06 Samsung Electronics Co., Ltd. Electronic device for supporting positioning communication

Also Published As

Publication number Publication date
WO2022010115A1 (en) 2022-01-13

Similar Documents

Publication Publication Date Title
US11445468B2 (en) Electronic device and method for position determination using UWB signal
US20230152440A1 (en) Electronic device for determining position of external electronic device and method thereof
US11435462B2 (en) Electronic device for performing ranging and method thereof
EP3989612A1 (en) Bluetooth communication connection method and electronic device thereof
US11277711B2 (en) Electronic device for determining location information of external device
KR20210020616A (en) Electronic device and method for calculating position
CN112400346A (en) Server apparatus and method for collecting location information of other apparatus
KR20200138931A (en) Flexible electronic device and operating method thereof
US20230221430A1 (en) Positioning method using multiple devices and electronic device therefor
US20230269350A1 (en) Electronic device and image sharing method of electronic device
KR20220005306A (en) Antenna control method for providing uwb service and electronic device supporting the same
US20230156316A1 (en) Electronic device and image transmission method by electronic device
US11509504B2 (en) Electronic device for performing positioning and control method of electronic device
US20210076302A1 (en) Access control method for smart card and electronic device using same
US11528680B2 (en) Method and electronic device for tracking position of access point
KR20220112952A (en) Electronic device, and method for mataining sho0ting composition in electronic device
US11895616B2 (en) Electronic device and method for measuring location of electronic device
US20230260437A1 (en) Electronic device with flexible display
US11153018B2 (en) Electronic device and method for controlling electronic device
EP4246279A1 (en) Electronic device comprising antenna
US11962169B2 (en) Wireless power transmission device transmitting charging power to wireless power receiving device and method of operating the same
US20230333202A1 (en) Wireless power reception device displaying wireless charging range, and operating method thereof
US20230130891A1 (en) Electronic device for controlling external electronic device and method of controlling the same
US20230336945A1 (en) Electronic device, and method for grouping external devices by space in electronic device
US20230113597A1 (en) Electronic device and positioning system for determining channel for performing indoor positioning system

Legal Events

Date Code Title Description
A201 Request for examination