US-12619288-B2 - Electronic device comprising antenna
Abstract
An electronic device includes: a first housing; a second housing, wherein at least one of the first and the second housing is moveably relative to the other one of the first and the second housing; a display including an expandable or retractable screen, wherein a size of a part of the screen visually exposed to an outside changes as one of the housing is moved; an antenna in an area of the first housing; a camera in an area of the second housing; at least one processor configured to execute the instructions stored in memory to: obtain information on a first position between the antenna and an anchor; obtain information on a position change between the antenna and the camera; and estimate information on a second position between the camera and the anchor based on the information on the first position and the information on the position change.
Inventors
- Duhoon JUNG
- Dongil Son
Assignees
- SAMSUNG ELECTRONICS CO., LTD.
Dates
- Publication Date
- 20260505
- Application Date
- 20230602
- Priority Date
- 20201204
Claims (15)
- 1 . An electronic device comprising: a first housing; a second housing, wherein at least one of the first housing and the second housing is configured to be movable relative to the other one of the first housing and the second housing; a display comprising a screen which is expandable or retractable, wherein a size of a part of the screen visually exposed to an outside changes as at least one of the first housing and the second housing is moved; an antenna disposed in a partial area of the first housing; a camera disposed in a partial area of the second housing; a memory storing instructions; and at least one processor configured to execute the instructions to: obtain information on a first position between the antenna and an anchor; obtain information on a change between a position of the antenna and a position of the camera; and estimate information on a second position between the camera and the anchor based on the information on the first position and the information on the change between the position of the antenna and the position of the camera.
- 2 . The electronic device of claim 1 , wherein the memory comprises: a plurality of lookup tables storing phase offset values corresponding to distance information between the antenna and the anchor, and information on a distance change between the antenna and the camera, and wherein the at least one processor is further configured to execute the instructions to: determine a phase offset value from the plurality of lookup tables based on the information on the first position and the information on the change between the position of the antenna and the position of the camera.
- 3 . The electronic device of claim 2 , wherein the at least one processor is further configured to execute the instructions to: determine a target lookup table corresponding to the information on the first position from among the plurality of lookup tables; and determine the phase offset value from the target lookup table based on the information on the change between the position of the antenna and the position of the camera.
- 4 . The electronic device of claim 1 , further comprising: a sensor configured to detect the size of the part of the screen visually exposed to the outside.
- 5 . The electronic device of claim 4 , wherein the memory is configured to: store information on an initial position between the antenna and the camera in a state in which the second housing does not move, and wherein the at least one processor is further configured to execute the instructions to: obtain the information on the change between the position of the antenna and the position of the camera based on the information on the initial position and the size of the part of the screen visually exposed to the outside.
- 6 . The electronic device of claim 5 , wherein the at least one processor is further configured to execute the instructions to: obtain the information on a distance change between the antenna and the camera based on the information on the initial position and the size of the part of the screen visually exposed to the outside.
- 7 . The electronic device of claim 5 , wherein the at least one processor is further configured to execute the instructions to: obtain information on a phase change between the antenna and the camera based on the information on the initial position and the size of the part of the screen visually exposed to the outside.
- 8 . The electronic device of claim 1 , wherein the antenna is configured to: collect position information data for obtaining the information on the first position by communicating with an antenna mounted on the anchor, and wherein the at least one processor is further configured to execute the instructions to: obtain distance information and phase information between the antenna and the anchor based on the position information data.
- 9 . The electronic device of claim 8 , wherein the antenna comprises: an ultra-wideband (UWB) antenna, and wherein the at least one processor is further configured to execute the instructions to: obtain the phase information between the antenna and the anchor based on a phase difference of a signal received from a plurality of patch antennas comprised in the UWB antenna to the antenna mounted on the anchor.
- 10 . The electronic device of claim 9 , wherein the at least one processor is further configured to execute the instructions to: obtain direction information between the camera and the anchor based on the distance information and the phase information between the antenna and the anchor, and distance information between the antenna and the camera.
- 11 . The electronic device of claim 10 , wherein the at least one processor is further configured to execute the instructions to: obtain distance information between the camera and the anchor based on the distance information and the phase information between the antenna and the anchor, and the distance information between the antenna and the camera.
- 12 . The electronic device of claim 1 , further comprising: an inertial measurement unit (IMU) sensor for measuring direction information on a direction the electronic device is facing and tilt information of the electronic device, wherein the at least one processor is further configured to execute the instructions to: receive additional information determined based on the information on the second position, the direction information, and the tilt information, and render augmented reality content based on the additional information.
- 13 . A method of providing augmented reality content by an electronic device comprising a display comprising a screen that is expandable or retractable, the method comprising: detecting a change in a size of the screen that is visually exposed to an outside; obtaining information on a first position between an antenna of the electronic device and an anchor; obtaining information on a change between a position of the antenna and a position of a camera of the electronic device; estimating information on a second position between the camera and the anchor based on the information on the first position and the information on the change between the position of the antenna and the position of the camera; obtaining direction information and tilt information of the electronic device; receiving additional information determined based on the information on the second position and the direction information and the tilt information of the electronic device; and rendering the augmented reality content based on the additional information, wherein the position of the camera changes as the size of the screen changes.
- 14 . The method of claim 13 , wherein the estimating of the information on the second position comprises: determining a phase offset value from a plurality of lookup tables based on the information on the first position and the information on the change between the position of the antenna and the position of the camera; and estimating the information on the second position by compensating the phase offset value for the information on the first position, and wherein the plurality of lookup tables stores phase offset values corresponding to distance information between the antenna and the anchor and information on a distance change between the antenna and the camera.
- 15 . The method of claim 14 , wherein the determining of the phase offset value comprises: determining a target lookup table corresponding to the information on the first position from among the plurality of lookup tables; and determining the phase offset value from the target lookup table based on the information on the change between the position of the antenna and the position of the camera, and wherein the estimating of the information on the second position comprises: obtaining at least one of direction information and distance information between the camera and the anchor, based on the distance information and phase information between the antenna and the anchor, and distance information between the antenna and the camera.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a by-pass continuation application of International Application No. PCT/KR2021/018174, filed on Dec. 3, 2021, which claims priority to Korean Patent Application No. 10-2020-0168451, filed on Dec. 4, 2020, and Korean Patent Application No. 10-2021-0043851, filed on Apr. 5, 2021, in the Korean Intellectual Property Office, the disclosures of which are incorporated by reference herein in their entireties. BACKGROUND 1. Field The disclosure relates to an electronic device comprising an antenna device. 2. Description of Related Art With the development of display-related technologies, flexible display devices are being researched and developed at a use stage, such as being folded, rolled into a roll shape, or stretchable in at least one direction. Since these displays may be deformed into various shapes, they may satisfy both a demand for a larger display in the use stage and a demand for a smaller display for portability. Furthermore, research and product development on services providing augmented reality (AR) have been actively conducted. In particular, AR is being used more actively as devices including a photographing means, a high-performance computing means, and a communication means, such as a smartphone, is developed. An AR service may be a variety of services that may maximize user convenience by displaying various side information on an image captured through a photographing means or the like. In order to provide augmented reality (AR), it is necessary to be able to estimate, in real time, coordinate values of a position and a posture of an anchor at a camera's viewpoint that changes according to the movement of a user in a three-dimensional (3D) space. However, in a flexible display device, as the size of a display screen changes, coordinate values of the position and posture of the anchor at the camera's viewpoint may change, and as a result, AR content may be displayed at an incorrect position. SUMMARY Provided is an electronic device in which coordinate values of a position and posture of an anchor at a camera's viewpoint are estimated in real time to determine a position where AR content is to be displayed according to a size of a display screen. According to an aspect of the disclosure, an electronic device includes: a first housing; a second housing, wherein at least one of the first housing and the second housing is configured to be movable relative to the other one of the first housing and the second housing; a display including a screen which is expandable or retractable, wherein a size of a part of the screen visually exposed to an outside changes as at least one of the first housing and the second housing is moved; an antenna disposed in a partial area of the first housing; a camera disposed in a partial area of the second housing; a memory storing instructions; and at least one processor configured to execute the instructions to: obtain information on a first position between the antenna and an anchor; obtain information on a position change between the antenna and the camera; and estimate information on a second position between the camera and the anchor based on the information on the first position and the information on the position change. The memory may include: a plurality of lookup tables storing phase offset values corresponding to distance information between the antenna and the anchor, and information on a distance change between the antenna and the camera, and the at least one processor may be further configured to execute the instructions to determine a phase offset value from the plurality of lookup tables based on the information on the first position and the information on the position change. The at least one processor may be further configured to execute the instructions to: determine a target lookup table corresponding to the information on the first position from among the plurality of lookup tables; and determine the phase offset value from the target lookup table based on the information on the position change. The electronic device may further include a sensor configured to detect the size of the part of the screen visually exposed to the outside. The memory may be configured to store information on an initial position between the antenna and the camera in a state in which the second housing does not move, and the at least one processor may be further configured to execute the instructions to obtain the information on the position change based on the information on the initial position and the size of the part of the screen visually exposed to the outside. The at least one processor may be further configured to execute the instructions to obtain the information on a distance change between the antenna and the camera based on the information on the initial position and the size of the part of the screen visually exposed to the outside. The at least one processor may be further configured to execute the instr