Electronic device determining hinge angle by using virtual gyro data and control method therefor

By replacing some 6-axis sensors with 3-axis sensors and using AI to generate virtual gyroscope data, the method addresses cost and accuracy issues in determining folding angles in electronic devices, reducing manufacturing costs and enhancing the accuracy of folding angle measurements.

WO2026134859A1PCT designated stage Publication Date: 2026-06-25SAMSUNG ELECTRONICS CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SAMSUNG ELECTRONICS CO LTD
Filing Date
2025-12-03
Publication Date
2026-06-25

AI Technical Summary

Technical Problem

The use of 6-axis sensors in electronic devices, such as foldable smartphones, increases manufacturing costs and can lead to inaccurate folding angle measurements due to external magnetic field interference.

Method used

Replace a portion of the 6-axis sensors with 3-axis sensors and utilize an artificial intelligence model trained on magnetic field data to generate virtual gyroscope data, using geomagnetic and accelerometer data to determine the folding angle with improved accuracy.

Benefits of technology

Reduces manufacturing costs and enhances the accuracy of folding angle determination by generating virtual gyroscope data through an AI model adapted to the device's magnetic field environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025020543_25062026_PF_FP_ABST
    Figure KR2025020543_25062026_PF_FP_ABST
Patent Text Reader

Abstract

Provided are an electronic device determining a hinge angle by using virtual gyro data and a control method therefor. The electronic device according to an embodiment of the present disclosure comprises: a first housing; a second housing connected to the first housing through a hinge coupling; a first gyro sensor positioned inside the first housing; a first acceleration sensor and a geomagnetic sensor positioned inside the second housing; and at least one processor and a memory positioned inside the first housing, wherein the memory may be configured to store instructions that, when executed by the at least one processor, cause the electronic device to: acquire first sensing data through the first acceleration sensor; acquire second sensing data through the geomagnetic sensor; identify, on the basis of acquisition of the first sensing data and the second sensing data, a performance index of an artificial intelligence model stored in the memory; when the identified performance index is less than or equal to a designated threshold value, generate, by using the artificial intelligence model, virtual gyro data on the basis of the acquired first sensing data and second data; and determine an angle of the hinge coupling by using the generated virtual gyro data and third sensing data acquired by the first gyro sensor.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for determining hinge angle using virtual gyroscope data and control method thereof

[0001] The present disclosure relates to an electronic device for determining a hinge angle using virtual gyroscope data and a method for controlling the same.

[0002] Various services and additional features provided through electronic devices, such as portable devices like foldable smartphones (e.g., Samsung® Flip®), are gradually increasing. To enhance the utility value of these electronic devices and satisfy the needs of diverse users, telecommunications service providers or electronic device manufacturers are competitively developing devices to offer various functions and differentiate themselves from competitors. Consequently, the various functions provided through electronic devices are also becoming increasingly sophisticated.

[0003] An electronic device (e.g., a foldable smartphone) providing a flexible display and a hinge structure may be provided with a plurality of housings (e.g., a first housing and a second housing). In this case, in order to determine the folding angle of the electronic device, a 6-axis sensor (e.g., a 3-axis accelerometer and a 3-axis gyroscope) must be mounted in each housing to determine the folding angle. However, in the case of an electronic device equipped with a 6-axis sensor, problems such as increased manufacturing costs of the electronic device may arise due to the mounting of the 6-axis sensor. Furthermore, even if some of the plurality of 6-axis sensors are changed to 3-axis sensors, it may be difficult to accurately determine or measure the folding angle due to external factors such as the influence of a magnetic field formed around the electronic device.

[0004] According to one embodiment of the present disclosure, an electronic device can be provided in which the manufacturing cost of the electronic device can be reduced by changing a portion of the 6-axis sensor provided in each of the plurality of housings to a 3-axis sensor and mounting it.

[0005] According to one embodiment of the present disclosure, when an electronic device generates virtual gyroscope data using a 3-axis sensor, an electronic device capable of determining a folding angle with relatively improved accuracy can be provided by performing training on an artificial intelligence model based on a magnetic field environment (e.g., magnetic field strength) formed around the electronic device and generating virtual gyroscope data through an artificial intelligence model suitable for the current magnetic field environment.

[0006] According to one embodiment of the present disclosure, when an electronic device generates virtual gyroscope data using a 3-axis sensor, a method for controlling an electronic device can determine a folding angle with relatively improved accuracy by performing training on an artificial intelligence model based on a magnetic field environment (e.g., magnetic field strength) formed around the electronic device and generating virtual gyroscope data through an artificial intelligence model suitable for the current magnetic field environment.

[0007] An electronic device according to one embodiment of the present disclosure comprises a first housing, a second housing connected to the first housing via a hinge connection, a first gyroscope sensor disposed inside the first housing, a first accelerometer and a geomagnetic sensor disposed inside the second housing, and at least one processor and a memory disposed inside the first housing, wherein the memory may be configured to store an instruction that, when executed by the at least one processor, causes the electronic device to acquire first sensing data through the first accelerometer and acquire second sensing data through the geomagnetic sensor, identify a performance indicator of an artificial intelligence model stored in the memory based on the acquisition of the first sensing data and the second sensing data, and if the identified performance indicator is below a specified threshold value, generate virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model, and determine the angle of the hinge connection using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor. there is.

[0008] According to one embodiment of the present disclosure, in a non-transient recording medium configured to store computer-readable instructions, the instructions may be configured to store instructions such that, when executed by at least one processor of an electronic device, the electronic device acquires first sensing data through a first accelerometer of the electronic device and acquires second sensing data through a geomagnetic sensor of the electronic device, and based on the acquisition of the first sensing data and the second sensing data, identifies a performance indicator of an artificial intelligence model stored in the memory of the electronic device, and if the identified performance indicator is below a specified threshold value, uses the artificial intelligence model to generate virtual gyroscope data based on the acquired first sensing data and the second data, and determines the angle of a hinge joint of the electronic device using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor of the electronic device.

[0009] A method for controlling an electronic device according to one embodiment of the present disclosure may include: acquiring first sensing data through a first acceleration sensor of the electronic device; acquiring second sensing data through a geomagnetic sensor of the electronic device; identifying a performance indicator of an artificial intelligence model stored in the memory of the electronic device based on the acquisition of the first sensing data and the second sensing data; generating virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model when the identified performance indicator is below a specified threshold value; and determining the angle of a hinge joint of the electronic device using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor of the electronic device.

[0010] FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present document.

[0011] FIG. 2 is a front view, a side view, and a rear view of an electronic device in an unfolded state according to one embodiment of the present disclosure.

[0012] FIG. 3 is a front view, a side view, and a rear view of an electronic device in a folded state according to one embodiment of the present disclosure.

[0013] FIG. 4 is an exploded perspective view of an electronic device in an unfolded state according to one embodiment of the present disclosure.

[0014] FIG. 5 is an exemplary drawing illustrating a function or operation of an electronic device according to one embodiment of the present disclosure determining a folding angle (e.g., the angle of a hinge joint) using virtual gyroscope data.

[0015] FIG. 6 is an exemplary drawing for explaining the hardware configuration of an electronic device including a 3-axis gyroscope sensor according to one embodiment of the present disclosure.

[0016] FIG. 7 is an exemplary drawing for explaining the software configuration of an electronic device including a 3-axis gyroscope sensor according to one embodiment of the present disclosure.

[0017] FIG. 8 is an example drawing for illustrating time series data (810) (time series data) generated and / or acquired by an electronic device according to one embodiment of the present document.

[0018] FIG. 9 is an example drawing for explaining the necessity of generating projected gyroscope data used for training an artificial intelligence model according to one embodiment of the present disclosure.

[0019] FIG. 10 is an example drawing for explaining a lookup table used in the process of generating projection gyroscope data according to one embodiment of the present disclosure.

[0020] FIG. 11 is an example drawing for explaining the function or operation of an electronic device according to one embodiment of the present disclosure to generate new time series data (810) using a moving average of time series data (810) when the performance of the artificial intelligence model is not sufficient to generate virtual gyroscope data.

[0021] FIG. 12 is an example drawing for explaining a function or operation in which an electronic device according to one embodiment of the present disclosure applies information about a generated folding angle to a compass rotation vector operation.

[0022] FIG. 13 is an example drawing for explaining a function or operation of generating virtual gyroscope data to determine the folding angle of each hinge structure when an electronic device according to one embodiment of the present disclosure includes a plurality of hinge structures.

[0023] FIG. 1 is a block diagram of an electronic device (101) in a network environment (100) according to various embodiments.

[0024] Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network) or with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through a server (108). According to one embodiment, the electronic device (101) may include a processor (120), memory (130), input module (150), sound output module (155), display module (160), audio module (170), 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 antenna module (197). In some embodiments, at least one of these components (e.g., connection terminal (178)) may be omitted from the electronic device (101), or one or more other components may be added. In some embodiments, some of these components (e.g., sensor module (176), camera module (180), or antenna module (197)) may be integrated into a single component (e.g., display module (160)).

[0025] The processor (120) can control at least one other component (e.g., hardware or software component) of the electronic device (101) connected to the processor (120) by executing software (e.g., program (140)), for example, and can perform various data processing or operations. According to one embodiment, as at least part of the data processing or operations, the processor (120) can store commands or data received from other components (e.g., sensor module (176) or communication module (190)) in volatile memory (132), process the commands or data stored in volatile memory (132), and store the resulting data in non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., central processing unit or application processor) or an auxiliary processor (123) that can operate independently or together with it (e.g., graphics processing unit, neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device (101) includes a main processor (121) and an auxiliary processor (123), the auxiliary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a designated function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part thereof.

[0026] The auxiliary processor (123) may control at least some of the functions or states associated with at least one component of the electronic device (101) (e.g., display module (160), sensor module (176), or communication module (190)) on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (123) (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module (180) or communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., neural network processing unit) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers.An artificial neural network may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may include a software structure, either additionally or substantially.

[0027] The memory (130) can store various data used by at least one component of the electronic device (101) (e.g., processor (120) or sensor module (176)). The data may include, for example, input data or output data for software (e.g., program (140)) and related commands. The memory (130) may include volatile memory (132) or non-volatile memory (134).

[0028] The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0029] The input module (150) can receive commands or data to be used for a component of the electronic device (101) (e.g., processor (120)) from outside the electronic device (101) (e.g., user). The input module (150) may include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0030] The sound output module (155) can output a sound signal to the outside of the electronic device (101). The sound output module (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback. The receiver may be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part thereof.

[0031] The display module (160) can visually provide information to an external (e.g., user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling said device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of the force generated by said touch.

[0032] The audio module (170) can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150) or output sound through the sound output module (155) or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphones) connected directly or wirelessly to the electronic device (101).

[0033] The sensor module (176) can detect the operating state of the electronic device (101) (e.g., power or temperature) or the external environmental state (e.g., user state) and generate an electrical signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) may include, for example, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0034] The interface (177) may support one or more specified protocols that can be used for the electronic device (101) to be connected directly or wirelessly to an external electronic device (e.g., electronic device (102)). According to one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0035] The connection terminal (178) may include a connector through which the electronic device (101) can be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0036] The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module (179) may include, for example, a motor, a piezoelectric element, or an electric stimulation device.

[0037] The camera module (180) can capture still images and video. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0038] The power management module (188) can manage the power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented, for example, as at least part of a power management integrated circuit (PMIC).

[0039] The battery (189) can supply power to at least one component of the electronic device (101). According to one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0040] The communication module (190) can support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between an electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may include one or more communication processors that operate independently of the processor (120) (e.g., application processor) and support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., cellular communication module, short-range wireless communication module, or GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., LAN (local area network) communication module, or power line communication module). The corresponding communication module among these communication modules can communicate with an external electronic device (104) through a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) using subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module (196).

[0041] The wireless communication module (192) can support 5G networks and next-generation communication technologies following 4G networks, for example, new radio access technology. NR access technology can support high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and connection of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low-latency communications (URLLC)). The wireless communication module (192) can support a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate, for example. The wireless communication module (192) can support various technologies for securing performance in the high-frequency band, such as beamforming, massive MIMO (multiple-input and multiple-output), full-dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large-scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), external electronic device (e.g., electronic device (104)), or network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) can support a Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mMTC, or U-plane latency (e.g., downlink (DL) and uplink (UL) each 0.5 ms or less, or round trip 1 ms or less) for realizing URLLC.

[0042] An antenna module (197) can transmit a signal or power to or from an external source (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna comprising a radiator made of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as a first network (198) or a second network (199), may be selected from the plurality of antennas, for example, by a communication module (190). 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, in addition to the radiator, other components (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module (197).

[0043] According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent to a first surface (e.g., bottom surface) of the printed circuit board and capable of supporting a specified high frequency band (e.g., mmWave band), and a plurality of antennas (e.g., array antennas) disposed on or adjacent to a second surface (e.g., top surface or side surface) of the printed circuit board and capable of transmitting or receiving a signal of the specified high frequency band.

[0044] At least some of the above components can be connected to each other via a communication method between peripheral devices (e.g., bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)) and exchange signals (e.g., commands or data) with each other.

[0045] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) through a server (108) connected to a second network (199). Each of the external electronic devices (102, or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations performed on the electronic device (101) may be performed on one or more of the external electronic devices (102, 104, or 108). For example, if the electronic device (101) needs to perform a function or service automatically or in response to a request from a user or another device, the electronic device (101) may request one or more external electronic devices to perform at least part of the function or service instead of performing the function or service itself or additionally. One or more external electronic devices that receive the above request may execute at least part of the requested function or service, or additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may provide the result as is or additionally processed as at least part of the response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used. The electronic device (101) may provide ultra-low latency services using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server using machine learning and / or neural networks. According to one embodiment, the external electronic device (104) or the server (108) may be included within a second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0046] FIG. 2 is a front view, a side view, and a rear view of an electronic device in an unfolded state according to one embodiment of the present disclosure. FIG. 3 illustrates a front view, a side view, and a rear view of an electronic device in a folded state according to one embodiment of the present disclosure.

[0047] Referring to FIGS. 2 and FIGS. 3, an electronic device (101) according to one embodiment may include a first housing (210), a second housing (220), a flexible or foldable display (230) (hereinafter abbreviated as "first display (230)") (e.g., a display module (160) of FIG. 1), and a hinge cover (260).

[0048] According to one embodiment, the surface on which the first display (230) is placed may be defined as the front of the electronic device (101). The front of the electronic device (101) may be formed by a front plate (e.g., a glass plate or a polymer plate containing various coating layers) in which at least a portion is substantially transparent. And, the opposite side of the front may be defined as the rear of the electronic device (101). The rear of the electronic device (101) may be formed by a rear plate (hereinafter referred to as the "rear cover") that is substantially opaque. The rear cover may be formed by, for example, coated or colored glass, ceramic, polymer, metal (e.g., aluminum, stainless steel (STS), or magnesium), or a combination of at least two of the above materials. Additionally, the surface surrounding the space between the front and the rear may be defined as the side of the electronic device (101). The side may be formed by a side bezel structure (or "side member") comprising metal and / or polymer, which is combined with the front plate and the rear cover. In some embodiments, the rear cover and side bezel structure may be formed integrally and may include the same material (e.g., a metallic material such as aluminum).

[0049] According to one embodiment, the electronic device (101) may include at least one of a first display (230), an audio module (241, 243, 245), a sensor module (255), a camera device (251, 253), a key input device (211, 212, 213), and a connector hole (214). According to one embodiment, the electronic device (101) may omit at least one of the components (e.g., a key input device (211, 212, 213)) or additionally include another component (e.g., a light-emitting element).

[0050] According to one embodiment, the first display (230) may be a display in which at least some area can be transformed into a flat or curved surface. According to one embodiment, the first display (230) may include a folding area (231c), a first area (231a) disposed on one side (e.g., the upper side of the folding area (231c) shown in FIG. 2) with respect to the folding area (231c), and a second area (231b) disposed on the other side (e.g., the lower side of the folding area (231c) shown in FIG. 2). However, the division of the area of ​​the first display (230) shown in FIG. 2 is exemplary, and the first display (230) may be divided into a plurality of areas (e.g., four or more or two) depending on the structure or function. For example, in the embodiment illustrated in FIG. 2, the area of ​​the first display (230) may be divided by a folding area (231c) or a folding axis (A), but in one embodiment, the area of ​​the first display (230) may be divided based on a different folding area (231c) or a different folding axis (e.g., a folding axis perpendicular to the folding axis (A)).

[0051] According to one embodiment, a microphone hole (241) may have a microphone placed inside to acquire external sound, and in some embodiments, a plurality of microphones may be placed to detect the direction of sound.

[0052] According to one embodiment, the speaker holes (243, 245) may include an external speaker hole (243) and a receiver hole (245) for communication. In some embodiments, the speaker holes (243, 245) and the microphone hole (241) may be implemented as a single hole, or a speaker may be included without speaker holes (243, 245) (e.g., a piezo speaker). The location and number of the microphone hole (241) and the speaker holes (243, 245) may vary depending on the embodiment.

[0053] According to one embodiment, the electronic device (101) may include a first camera device (251) disposed on a first surface (210a) of a first housing (210) of the electronic device (101), and a second camera device (253) disposed on a second surface (210b). In addition, the electronic device (101) may further include a flash (not shown). The camera devices (251, 253) may include one or more lenses, an image sensor, and / or an image signal processor. The flash (not shown) may include, for example, a light-emitting diode or a xenon lamp.

[0054] According to one embodiment, the sensor module (255) may generate an electrical signal or data value corresponding to an internal operating state of the electronic device (101) or an external environmental state. The electronic device (101) according to one embodiment of the present disclosure may additionally or substantially include other sensor modules (e.g., the sensor module (176) of FIG. 1) in addition to the sensor module (255) provided on the second surface (210b) of the first housing (210). The electronic device (101) may include at least one of, for example, a proximity sensor, a fingerprint sensor, an HRM sensor, a gesture sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an accelerometer sensor, a grip sensor, a color sensor, an IR (infrared) sensor, a biosensor, a temperature sensor, a humidity sensor, or an illuminance sensor as a sensor module.

[0055] According to one embodiment, the key input devices (211, 212, 213) may be disposed on the side of a foldable housing (e.g., hinge cover (260), first housing (210), and / or second housing (220)). In one embodiment, the electronic device (101) may not include some or all of the aforementioned key input devices (211, 212, 213), and the key input devices not included may be implemented in other forms, such as soft keys, on the first display (230). In some embodiments, the key input devices may be configured so that key input is implemented by a sensor module (e.g., a gesture sensor).

[0056] According to one embodiment, the connector hole (214) may be configured to accommodate a connector (e.g., a USB connector) for transmitting and receiving power and / or data with an external electronic device, or additionally or alternatively, a connector for transmitting and receiving audio signals with an external electronic device.

[0057] According to one embodiment, a foldable housing may be realized by combining a first housing (210), a second housing (220), a first back cover (240), a second back cover (250), and / or a hinge module (e.g., the hinge structure (270) of FIG. 4 described below). The foldable housing of the electronic device (101) is not limited to the form and combination shown in FIG. 2 and may be realized by other shapes or combinations and / or combinations of parts. For example, in one embodiment, the first housing (210) and the first back cover (240) may be formed integrally, and the second housing (220) and the second back cover (250) may be formed integrally. According to one embodiment of the present disclosure, the term "housing" may mean a combination and / or combined configuration of various other parts not mentioned. For example, a first region (231a) of the first display (230) may be described as forming one side of the first housing (210), and in one embodiment, a first region (231a) of the first display (230) may be described as being placed or attached to one side of the first housing (210).

[0058] According to one embodiment, the first housing (210) is connected to a hinge structure (e.g., the hinge structure (270) of FIG. 4 described below) and may include a first surface (210a) facing a first direction and a second surface (210b) facing a second direction opposite to the first direction. The second housing (220) is connected to a hinge structure (e.g., the hinge structure (270) of FIG. 4 described below) and includes a third surface (220a) facing a third direction and a fourth surface (220b) facing a fourth direction opposite to the third direction, and may rotate or pivot relative to the first housing (210) around the hinge structure (or folding axis (A)).

[0059] According to one embodiment, the first housing (210) and the second housing (220) may be positioned on both sides (or upper / lower sides) around the folding axis (A). The angle or distance at which the first housing (210) and the second housing (220) intersect each other may vary depending on whether the state of the electronic device (101) is in an unfolded state, a folded state, or an intermediate state that is partially unfolded (or partially folded).

[0060] According to one embodiment, at least a portion of the first housing (210) and the second housing (220) may be formed of a metal or non-metal material having a selected size of rigidity to support the first display (230). The at least portion formed of the metal material may be provided as a ground plane or a radiating conductor of the electronic device (101), and when provided as a ground plane, may be electrically connected to a ground line formed on a printed circuit board (e.g., printed circuit board (216, 226) of FIG. 4).

[0061] According to one embodiment, a first rear cover (240) is positioned on one side of the folding axis (A) on the rear of the electronic device (101) (e.g., the upper side in FIG. 2) and may have a substantially rectangular periphery, for example, and the periphery may be wrapped by a first housing (210) (and / or a side bezel structure). Similarly, a second rear cover (250) is positioned on the other side of the folding axis (A) on the rear of the electronic device (101) (e.g., the lower side in FIG. 2) and its periphery may be wrapped by a second housing (220) (and / or a side bezel structure).

[0062] According to one embodiment, the first rear cover (240) and the second rear cover (250) may have a substantially symmetrical shape with respect to the folding axis (A). However, the first rear cover (240) and the second rear cover (250) do not necessarily have mutually symmetrical shapes, and in one embodiment, the electronic device (101) may include the first rear cover (240) and the second rear cover (250) of various shapes. In one embodiment, the first rear cover (240) may be formed integrally with the first housing (210), and the second rear cover (250) may be formed integrally with the second housing (220).

[0063] According to one embodiment, the first rear cover (240), the second rear cover (250), the first housing (210), and the second housing (220) may form a space in which various components of the electronic device (101) (e.g., printed circuit boards (216, 226) of FIG. 4, or batteries (215, 225)) may be placed. According to one embodiment, one or more components may be placed or visually exposed on the rear of the electronic device (101). For example, at least a portion of the second display (239) may be visually exposed through the first rear cover (240). In one embodiment, one or more components or sensors may be visually exposed through the first rear cover (240). In various embodiments, the components or sensors may include a proximity sensor, a rear camera, and / or a flash. Additionally, although not separately illustrated in the drawings, one or more components or sensors may be visually exposed through the second rear cover (250).

[0064] According to one embodiment, a front camera device (251) exposed on the front of the electronic device (101) through one or more openings or a rear camera device (253) exposed through a first rear cover (240) may include one or more lenses, an image sensor, and / or an image signal processor. A flash (not shown) may include, for example, a light-emitting diode or a xenon lamp. In some embodiments, two or more lenses (infrared camera, wide-angle and telephoto lenses) and image sensors may be disposed on one side of the electronic device (101).

[0065] According to one embodiment, the foldable housing (210, 220, 260) may include a hinge cover (260), a first housing (210), and a second housing (220). The first housing (210) and the second housing (220) may be rotated about a hinge structure (270). When the electronic device (101) moves from an unfolded state to a folded state, the first housing (210) and the second housing (220) may be rotated about the hinge structure (270) so as to move closer to each other. When the electronic device (101) moves from a folded state to an unfolded state, a part of the first housing (210) and a part of the second housing (220) may be rotated about the hinge cover (260) so as to move away from each other. According to one embodiment of the present disclosure, the folding direction of the first housing (210) and / or the second housing (220) may include the direction in which the first housing (210) and / or the second housing (220) are rotated with respect to the hinge structure (270) when the first housing (210) and / or the second housing (220) are transitioned from an unfolded state to a folded state. The unfolding direction of the first housing (210) and / or the second housing (220) may include the direction in which the first housing (210) and / or the second housing (220) are rotated with respect to the hinge structure (270) when the first housing (210) and / or the second housing (220) are transitioned from a folded state to an unfolded state.

[0066] According to one embodiment, the electronic device (101) can be varied between a folded state and an unfolded state in which the first display (230) is folded. For example, the first housing (210) and the second housing (220) can rotate about a folding axis (A) between a folded state in which the first region (231a) and the second region (231b) of the first display (230) face each other, and an unfolded state in which the first housing (210) is unfolded by a specified angle from the folded state (e.g., the unfolded state of the electronic device (101) shown in FIG. 2).

[0067] According to one embodiment, as the first housing (210) and the second housing (220) rotate about a folding axis (A), the electronic device (101) may include a folded state and an unfolded state. The folded state may be a state in which the first housing (210) and the second housing (220) face each other, and the angle formed by the first housing (210) and the second housing (220) may be less than a predetermined angle (e.g., 10 degrees). The unfolded state may be a state in which the electronic device (101) is fully unfolded or partially unfolded, and the angle formed by the first housing (210) and the second housing (220) may be greater than the predetermined angle.

[0068] FIG. 2 illustrates an unfolded state of an electronic device (101) in which the first housing (210) and the second housing (220) form an angle of approximately 180°. FIG. 3 illustrates a folded state of an electronic device (101) in which the first housing (210) and the second housing (220) face each other and are parallel. In the folded state, the first region (231a) and the second region (231b) of the first display (230) can be positioned to face each other, and the folding region (231c) can be bent.

[0069] According to one embodiment, the folding of the electronic device (101) can be implemented in two ways: 'in-folding,' where the first region (231a) and the second region (231b) are folded to face each other, and 'out-folding,' where the first region (231a) and the second region (231b) are folded to face opposite directions. For example, in the folded state in the in-folding manner, the first region (231a) and the second region (231b) may be substantially concealed, and in the fully unfolded state, the first region (231a) and the second region (231b) may be positioned to face substantially the same direction. For example, when folded in an out-folding manner, the first region (231a) and the second region (231b) may be positioned to face opposite directions and exposed to the outside, and when fully unfolded, the first region (231a) and the second region (231b) may be positioned to face substantially the same direction.

[0070] According to one embodiment, the first display (230) may include a display panel and a window member, at least a portion of which may be formed flexibly. Although not otherwise illustrated, it will be readily understood by those skilled in the art that the first display (230) or the display panel may include various layer(s), such as a light-emitting layer, a substrate(s) encapsulating the light-emitting layer, an electrode or wiring layer, and / or an adhesive layer(s) bonding adjacent different layers. When the first display (230) (e.g., a folding region (231c)) is deformed into a flat shape and a curved shape, relative displacement may occur between the layers forming the first display (230). The relative displacement resulting from the deformation of the first display (230) may increase as the point is further from the folding axis (A) and / or as the thickness of the first display (230) increases.

[0071] According to one embodiment, a window member, for example, a thin film plate, can serve as a protective film for protecting a display panel. As a protective film, the thin film plate may use a material that protects the display panel from external impacts, is resistant to scratches, and causes fewer wrinkles in the folding area (231c) even during repeated folding and unfolding operations of the housings (210, 220). For example, the material of the thin film plate may include a clear polyimide film (CPI) or ultra-thin glass (UTG).

[0072] According to one embodiment, the electronic device (101) may further include a protective member (206)(s) or a decorative cover (218, 228)(s) disposed on at least a portion of the edge of the first display (230) on the front (e.g., the first side (210a) or the third side (220a)). As an example, the protective member (206) and the decorative cover (218, 228) may be connected to each other to surround the edge of the first display (230). The protective member (206) or the decorative cover (218, 228) may prevent at least a portion of the edge of the first display (230) from coming into contact with a mechanical structure (e.g., the first housing (210) or the second housing (220)). The protective member (206) or the decorative cover (218, 228) may be visually exposed to the outside of the electronic device (101).

[0073] According to one embodiment, the decorative covers (218, 228) and the protective member (206) may be connected to each other. As an example, the decorative covers (218, 228) and the protective member (206) may be formed integrally. The decorative covers (218, 228) may extend along the folding axis (A). The decorative covers (218, 228) may include a first decorative cover (218) disposed between a portion of the edge of the first region (231a) of the first display (230) and the inner wall of the first housing (210). The decorative covers (218, 228) may include a second decorative cover (228) disposed between a portion of the edge of the second region (231b) of the first display (230) and the inner wall of the second housing (220). As an example, the first decorative cover (218) and the second decorative cover (228) can be extended substantially parallel along the folding axis (A).

[0074] According to one embodiment, a speaker hole (245) may be formed in a decorative cover (218) or protective member (206) interposed between the edge of the first region (231a) of the first display (230) and the inner wall of the first housing (210). As an example, the speaker hole (245) may be formed in the first decorative cover (218).

[0075] FIG. 4 is an exploded perspective view of an electronic device (101) according to one embodiment of the present disclosure.

[0076] Referring to FIG. 4, according to one embodiment of the present disclosure, the first display (230) may be visually exposed through a significant portion of the front surface of the electronic device (101). In some embodiments, the shape of the first display (230) may be formed to be generally identical to the outer shape of the front surface of the electronic device (101).

[0077] In FIG. 4, 'Y' may represent the longitudinal direction in the second state of the electronic device (101). Additionally, in one embodiment of the present invention, '+Y' may represent the upward direction of the electronic device (101) centered on the folding axis (A) of the electronic device (101), and '-Y' may represent the downward direction of the electronic device (101) centered on the folding axis (A) of the electronic device (101).

[0078] According to one embodiment, the foldable housing of the electronic device (101) may include a first housing (210) and a second housing (220). According to one embodiment, the first housing (210) may include a first surface (210a) and a second surface (210b) facing in the opposite direction to the first surface (210a), and the second housing (220) may include a third surface (220a) and a fourth surface (220b) facing in the opposite direction to the third surface (220a). The electronic device (101) or the foldable housing (210, 220, 260) may additionally or substantially include a bracket assembly (217, 227). The bracket assembly (217, 227) may include a first bracket assembly (217) disposed in the first housing (210) and a second bracket assembly (227) disposed in the second housing (220). At least a portion of the bracket assembly (217, 227), for example, at least a portion of the first bracket assembly (217) and at least a portion of the second bracket assembly (227), can serve as a plate to support the hinge structure (270).

[0079] According to one embodiment, various electrical components may be disposed on the printed circuit board (216, 226). For example, the printed circuit board (216, 226) may be equipped with a processor (e.g., processor (120) of FIG. 1), memory (e.g., memory (130) of FIG. 1), and / or an interface (e.g., interface (177) of FIG. 1). The processor may include, for example, one or more of a central processing unit, an application processor, a graphics processing unit, an image signal processor, a sensor hub processor, or a communication processor. The memory may include, for example, volatile memory or non-volatile memory. The interface may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, and / or an audio interface. The interface may, for example, electrically or physically connect the electronic device (101) to an external electronic device and may include a USB connector, an SD card / MMC connector, or an audio connector.

[0080] According to one embodiment, the printed circuit boards (216, 226) may include a first printed circuit board (216) positioned on the side of the first bracket assembly (217) and a second printed circuit board (226) positioned on the side of the second bracket assembly (227). The first printed circuit board (216) and the second printed circuit board (226) may be positioned inside a space formed by a foldable housing (210, 220, 260), a bracket assembly (217, 227), a first rear cover (240), and / or a second rear cover (250). Components for implementing various functions of the electronic device (101) may be separately positioned on the first printed circuit board (216) and the second printed circuit board (226). For example, a processor may be positioned on the first printed circuit board (216), and an audio interface may be positioned on the second printed circuit board (226).

[0081] According to one embodiment, a battery (215, 225) for supplying power to an electronic device (101) may be disposed adjacent to a printed circuit board (216, 226). At least a portion of the battery (215, 225) may be disposed substantially coplanar with, for example, the printed circuit board (216, 226). According to one embodiment, a first battery (215) may be disposed adjacent to a first printed circuit board (216), and a second battery (225) may be disposed adjacent to a second printed circuit board (226). The battery (215, 225) is a device for supplying power to at least one component of the electronic device (101) and may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell. The battery (215, 225) may be integrally placed inside the foldable housing (210, 220, 260) and may also be detachably placed in the foldable housing (210, 220, 260).

[0082] According to one embodiment, the hinge structure (270) provides a folding axis (e.g., folding axis (A) of FIG. 2) and may be configured to rotatably connect or combine the foldable housing (210, 220, 260) and / or the bracket assembly (217, 227). The hinge structure (270) may include a first hinge structure (271) disposed on the side of the first printed circuit board (216) and a second hinge structure (272) disposed on the side of the second printed circuit board (226). The hinge structure (270) may be disposed between the first printed circuit board (216) and the second printed circuit board (226). According to one embodiment, the hinge structure (270) may be substantially integral with at least a portion of the first bracket assembly (217) and at least a portion of the second bracket assembly (227).

[0083] According to one embodiment, the hinge structure (270) may include a center bar (273). The center bar (273) may be positioned between the first hinge structure (271) and the second hinge structure (272). The center bar (273) may be connected to the first hinge structure (271) and the second hinge structure (272). The center bar (273) may move up and down as the electronic device (101) changes between an unfolded state (e.g., the state of FIG. 2) and a folded state (e.g., the state of FIG. 3). The center bar (273) may support the first display (230).

[0084] According to one embodiment, the electronic device (101) may include a first hinge plate (291) and a second hinge plate (292). The first hinge plate (291) and the second hinge plate (292) may be disposed on a hinge structure (270). The first hinge plate (291) and the second hinge plate (292) may be disposed between the first display (230) and the hinge structure (270). The first hinge plate (291) may be disposed on the side of the first housing (210). The second hinge plate (292) may be disposed on the side of the second housing (220). The first hinge plate (291) and the second hinge plate (292) may support the first display (230). The first hinge plate (291) and the second hinge plate (292) may be components of a 'hinge plate assembly'. For example, the hinge plate assembly may include the first hinge plate (291) and the second hinge plate (292).

[0085] According to one embodiment, the 'housing structure' may refer to a foldable housing (210, 220, 260) and at least one component disposed inside the foldable housing (210, 220, 260) being assembled and / or combined. The housing structure may include a first housing structure and a second housing structure. For example, a configuration assembled to include at least one of a first housing (210), a first bracket assembly (217) disposed inside the first housing (210), a first printed circuit board (216), and a first battery (215) may be referred to as the 'first housing structure'. As another example, a configuration assembled to include at least one of a second housing (220), a second bracket assembly (227) disposed inside the second housing (220), a second printed circuit board (226), and a second battery (225) may be referred to as the 'second housing structure'. However, it should be noted that the 'first housing structure and second housing structure' described above are not limited to the addition of the components mentioned above, and may additionally include or omit various other components.

[0086] According to one embodiment, the flexible connecting member (280) may be, for example, a flexible printed circuit board (FPCB). The flexible connecting member (280) may connect various electrical components placed on the first printed circuit board (216) and the second printed circuit board (226). To this end, the flexible connecting member (280) may be positioned to cross the 'first housing structure' and the 'second housing structure'. According to one embodiment, the flexible connecting member (280) may be positioned to cross at least a portion of the hinge structure (270). According to one embodiment, the flexible connecting member (280) may be configured to connect the first printed circuit board (216) and the second printed circuit board (226) across the hinge structure (270), for example, along a direction parallel to the y-axis of FIG. 4. For example, the flexible connecting member (280) may include a central portion (281) disposed on one side (e.g., upper) of the hinge cover (260). For example, the flexible connecting member (280) may include a first bend (282) disposed on one side (e.g., upper) of the hinge cover (260) and the first bracket assembly (217). For example, the flexible connecting member (280) may include a second bend (283) disposed on one side (e.g., upper) of the hinge cover (260) and the second bracket assembly (227). The first bend (282) and the second bend (283) may have a shape that is convexly bent toward one side (e.g., upper) when the electronic device (101) is in an unfolded state (e.g., the state of FIG. 2). For example, the flexible connecting member (280) may include a first extension part (284) that is connected to the first bend (282), penetrates the first housing (210) (e.g., the first bracket assembly (217)), and extends from the other side (e.g., the bottom) of the first housing (210) (e.g., the first bracket assembly (217)).For example, the flexible connecting member (280) may include a second extension (285) that is connected to the second bend (283), penetrates the second housing (220) (e.g., the second bracket assembly (227)), and extends from the other side (e.g., the bottom) of the second housing (220) (e.g., the second bracket assembly (227)). At a location adjacent to the first hinge structure (271) and the second hinge structure (272), a space (hereinafter referred to as a 'wiring space') surrounded by at least a part of the first hinge structure (271), at least a part of the second hinge structure (272), and at least a part of the hinge cover (260) may be formed. According to one embodiment, at least a part (281, 282, 283) of the flexible connecting member (280) may be disposed within the wiring space.

[0087] According to one embodiment, the electronic device (101) may include a first holder assembly (286) and a second holder assembly (287). The first holder assembly (286) and the second holder assembly (287) may be disposed on one side (e.g., the upper side) of the flexible connecting member (280). The first holder assembly (286) may be fixed to a first housing (210) (e.g., a first bracket assembly (217)), and the second holder assembly (287) may be fixed to a second housing (220) (e.g., a second bracket assembly (227)). The first holder assembly (286) and the second holder assembly (287) may fix the flexible connecting member (280) to the first housing (210) and the second housing (220), respectively.

[0088] According to one embodiment, the hinge cover (260) may be configured to accommodate or enclose at least a portion of the hinge structure (270) or the wiring space. In some embodiments, the hinge cover (260) may form a wiring space together with the hinge structure (270) and protect a configuration disposed within the wiring space (e.g., at least a portion (283) of a flexible connection member (280)) from external impact. According to one embodiment, the hinge cover (260) may be disposed between the first housing (210) and the second housing (220). In an in-folding electronic device (101), the hinge cover (260) may be at least partially concealed by the foldable housings (210, 220, 260). For example, in the folded state, the hinge cover (260) may be visually exposed to the outside space between the rear of the first housing (210) (e.g., the first rear cover (240)) and the rear of the second housing (220) (e.g., the second rear cover (250)), and in the unfolded state, it may be substantially received into the interior of the first housing (210) or the second housing (220) and visually concealed.

[0089] According to one embodiment, an antenna module (219, 229) (e.g., antenna module (197) of FIG. 1) may be positioned between a rear cover (240, 250) and a battery (215, 225). According to one embodiment, the antenna module (219, 229) may include a first antenna module (219) positioned on the side of the first housing (210) and a second antenna module (229) positioned on the side of the second housing (220). The antenna module (219, 229) may perform near-field communication with an external device or wirelessly transmit and receive power required for charging by including, for example, a near field communication (NFC) antenna, a wireless charging antenna, and / or a magnetic secure transmission (MST) antenna. In one embodiment, an antenna structure may be formed by a side bezel structure of a foldable housing (210, 220, 260) and / or a part or combination thereof of a bracket assembly.

[0090] According to one embodiment, the rear cover (240, 250) may include a first rear cover (240) and a second rear cover (250). The rear cover (240, 250) may be combined with the foldable housing (210, 220, 260) to protect the above-described components (e.g., printed circuit board (216, 226), battery (215, 225), flexible connector (280), or antenna module (219, 229)) disposed within the foldable housing (210, 220, 260). As previously mentioned, the rear cover (240, 250) may be formed substantially integrally with the foldable housing (210, 220, 260).

[0091] According to one embodiment, a protective member (206) and / or a decorative cover (218, 228) may protect at least a portion of the edge of the first display (230). The protective member (206) may be positioned between the edge of the first region (231a, see FIG. 2) of the first display (230) and the inner wall of the first housing (210) and / or between the edge of the second region (231b, see FIG. 2) of the first display (230) and the inner wall of the second housing (220) to prevent the edge of the first display (230) from coming into direct contact with the inner wall of the housings (210, 220).

[0092] The present disclosure describes an electronic device of the type that folds (e.g., up and down) based on a horizontally extended folding axis (F) (e.g., a 'flip' type foldable electronic device), but is not limited thereto, and the contents of the present disclosure described below may be applied identically and / or similarly to various types of foldable electronic devices. For example, the contents of the present disclosure described below may be applied identically and / or similarly to an electronic device of the type that folds (e.g., left and right) based on a vertically extended folding axis (e.g., a 'fold' type foldable electronic device) or to an electronic device of the type that includes multiple folding axes (e.g., a multi-foldable electronic device). For example, if the folding axis of each type of foldable electronic device corresponds to the 'folding axis' described below, the specific contents described below may be applied identically and / or similarly to each type of foldable electronic device.

[0093] FIG. 5 is an example drawing for explaining a function or operation in which an electronic device (101) according to one embodiment of the present disclosure determines a folding angle (e.g., the angle of a hinge joint) using virtual gyroscope data.

[0094] Referring to FIG. 5, an electronic device (101) (e.g., processor (120) of FIG. 1) according to one embodiment of the present disclosure may acquire first sensing data (e.g., acceleration data) through a first acceleration sensor in operation 510. The first acceleration sensor according to one embodiment of the present disclosure may include an acceleration sensor mounted in a second housing (220). The second housing (220) according to one embodiment of the present disclosure may include a housing in which a gyroscope sensor is not mounted. The electronic device (101) according to one embodiment of the present disclosure may acquire the first sensing data according to a specified time interval (t) during a specified period (N). The electronic device (101) according to one embodiment of the present disclosure may acquire the first sensing data according to a specified trigger event (e.g., execution of a specified application), but is not limited thereto. For example, an electronic device (101) according to one embodiment of the present disclosure may acquire first sensing data at any point in time, for a specified period of time, according to a specified time interval. An electronic device (101) according to one embodiment of the present disclosure may process the acquired first sensing data according to a specified method.

[0095] FIG. 6 is an exemplary drawing for illustrating the hardware configuration of an electronic device (101) including a 3-axis gyroscope sensor according to one embodiment of the present disclosure. Referring to FIG. 6, the electronic device (101) according to one embodiment of the present disclosure may include a first accelerometer (610a), a second accelerometer (610b), a geomagnetic sensor (620), and / or a first gyroscope sensor (630), an application processor (640) (e.g., the processor (120) of FIG. 1), and / or a sensor controller (642). The electronic device (101) according to one embodiment of the present disclosure may further include a hinge angle calculation module (642a) and / or a virtual gyroscope sensor (642b). The virtual gyroscope sensor (642b) according to one embodiment of the present disclosure may include an artificial intelligence model (720) or a module for accessing the artificial intelligence model (720), and / or a first calculation module (730). An artificial intelligence model (720) according to one embodiment of the present disclosure may be stored in memory (130).

[0096] Returning to FIG. 5, an electronic device (101) according to one embodiment of the present disclosure (e.g., processor (120) of FIG. 1) can acquire second sensing data through a geomagnetic sensor in operation 520. An electronic device (101) according to one embodiment of the present disclosure (e.g., processor (120) of FIG. 1) can identify performance indicators of an artificial intelligence model based on the acquisition of first sensing data and second sensing data in operation 530. A geomagnetic sensor according to one embodiment of the present disclosure may include a sensor mounted in a second housing (220). An electronic device (101) according to one embodiment of the present disclosure can acquire second sensing data according to a specified time interval (t) during a specified period (N). An electronic device (101) according to one embodiment of the present document can generate time series data (810) using the acquired first sensing data and second data. FIG. 8 is an exemplary drawing for illustrating time series data (810) generated and / or acquired by an electronic device according to one embodiment of the present document. An electronic device (101) according to one embodiment of the present disclosure may generate time series data (810) including first sensing data (e.g., acceleration data) and second sensing data (e.g., geomagnetic data) acquired according to a specified time interval (t) during a specified period (N), as illustrated in FIG. 8.

[0097] Returning to FIG. 5, an electronic device (101) according to one embodiment of the present disclosure can identify performance indicators of an artificial intelligence model. An electronic device (101) according to one embodiment of the present disclosure can identify performance indicators of an artificial intelligence model after acquiring first sensing data and second sensing data. An artificial intelligence model according to one embodiment of the present disclosure may include a regression model. An artificial intelligence model according to one embodiment of the present disclosure may include a one-dimensional CNN model (1D-CNN), but is not limited thereto. An artificial intelligence model according to one embodiment of the present disclosure may be generated through machine learning. Such learning may be performed on the electronic device (101) itself where the artificial intelligence model is executed, or it may be performed through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. An artificial intelligence model according to one embodiment of the present disclosure may include a plurality of artificial neural network layers. An artificial neural network according to one embodiment of the present disclosure may be a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above.An artificial intelligence model according to one embodiment of the present disclosure may include, additionally or substantially, a software structure in addition to a hardware structure.

[0098] An electronic device (101) according to one embodiment of the present disclosure may determine that the performance of an artificial intelligence model is sufficient to generate virtual gyroscope data if the value of the mean square error calculated using the mean square error method is below a specified threshold value. Alternatively, an electronic device (101) according to one embodiment of the present disclosure may determine that the performance of an artificial intelligence model is not sufficient to generate virtual gyroscope data if the value of the mean square error calculated using the mean square error method exceeds a specified threshold value. An electronic device (101) according to one embodiment of the present disclosure may calculate the mean square error using a target value (e.g., "projected gyroscope value" generated when the state of the electronic device (101) is in a completely closed state) and a value generated by the artificial intelligence model (e.g., virtual gyroscope data). Alternatively, an electronic device (101) according to one embodiment of the present disclosure may identify or determine the performance of an artificial intelligence model using an identification value representing an indicator of the performance of the artificial intelligence model, in addition to the value of the mean square error. An electronic device (101) according to one embodiment of the present disclosure may perform operation 520, for example, a function or operation of identifying performance indicators of an artificial intelligence model, while the electronic device (101) is in an unfolded state. To this end, before performing operation 520, the electronic device (101) according to one embodiment of the present disclosure may further perform an operation of determining the state of the electronic device (101), that is, whether the electronic device (101) is in an unfolded state or a folded state.

[0099] An electronic device (101) according to one embodiment of the present disclosure may perform training on an artificial intelligence model when the state of the electronic device (101) is determined to be a folded state (e.g., substantially completely folded state). For training the artificial intelligence model, the electronic device (101) according to one embodiment of the present disclosure may generate projected gyroscope data using time series data (810) (e.g., first sensing data) acquired during a first time interval (e.g., a specified period (N)). The electronic device (101) according to one embodiment of the present disclosure may train the artificial intelligence model by setting the generated projected gyroscope data as a target value (e.g., output value) and setting the time series data (810) (e.g., first sensing data and second sensing data) acquired during the first time interval as input values. For example, an electronic device (101) according to one embodiment of the present disclosure can check for an error between an output value obtained when time series data (810) (e.g., first sensing data and second sensing data) obtained during a first time interval is input into an artificial intelligence model and projected gyroscope data set as a target value, and can train the artificial intelligence model based on the checked error (e.g., changing at least one parameter value constituting the artificial intelligence model). FIG. 9 is an example drawing for explaining the necessity of generating projected gyroscope data used for training an artificial intelligence model according to one embodiment of the present disclosure. Referring to FIG. 9, when the electronic device (101) is unfolded, the directions of the three axes of the housing (e.g., first housing (210) and second housing (220)) may correspond to each other, but when the electronic device (101) is folded, as shown in the right drawing of FIG. 9, the directions of the three axes of the housing (e.g., first housing (210) and second housing (220)) may not correspond to each other as the electronic device (101) is in a folded state.Accordingly, it may be necessary to generate projected gyroscope data to align the directions of the three axes of the housing (e.g., first housing (210) and second housing (220)) with one another. First sensing data acquired by a gyroscope sensor mounted in the first housing (210) according to one embodiment of the present disclosure, respectively. Represented as such, and virtual gyro data (e.g., projected gyro data) for the second housing (220) respectively In this form, projection gyroscope data ( ) can be calculated by the following mathematical formulas 1 to 3. FIG. 10 is an example drawing for explaining a lookup table (1010) used in the process of generating projected gyroscope data according to one embodiment of the present disclosure. When an electronic device (101) according to one embodiment of the present disclosure calculates projected gyroscope data, the α and β values ​​included in the lookup table (1010) as shown in FIG. 10 may be used.

[0100]

[0101]

[0102]

[0103] According to one embodiment of the present disclosure, the α and β values ​​may include values ​​corresponding to the angle of the hinge joint (e.g., θ) as illustrated in FIG. 10. For example, the α value according to one embodiment of the present disclosure may be a value corresponding to cos θ, and the β value according to one embodiment of the present disclosure may be a value corresponding to sin θ. The α and β values ​​included in the look-up table (1010) according to one embodiment of the present disclosure may be predetermined values, but may be updated according to the state of the electronic device (101) during the use of the electronic device (101) (e.g., substantial change in sensor position occurring during the use of the electronic device (101). The look-up table (1010) according to one embodiment of the present disclosure may be stored in the electronic device (101) or may be obtained from an external device (e.g., a server) connected to the electronic device (101) to enable operation. In this way, by generating virtual gyroscope data using an artificial intelligence model trained to be suitable for the current magnetic field environment, the accuracy of the generated virtual gyroscope data can be improved.

[0104] An electronic device (101) according to one embodiment of the present disclosure may, when the state of the electronic device (101) is determined to be in an unfolded state and the identified performance indicator is below a specified threshold value (e.g., when the performance indicator of an artificial intelligence model has sufficient performance to generate or estimate virtual gyroscope data), generate virtual gyroscope data based on the acquired first sensing data and second data using an artificial intelligence model in operation 540. An electronic device (101) according to one embodiment of the present disclosure may generate virtual gyroscope data using an artificial intelligence model learned (e.g., updated) in a folded state of the electronic device (101). In this case, the electronic device (101) according to one embodiment of the present disclosure may generate virtual gyroscope data using time series data (810) acquired during a first time interval as an input value, or may generate virtual gyroscope data using time series data (810) acquired during a second time interval different from the first time interval as an input value. An electronic device (101) (e.g., an artificial intelligence model) according to one embodiment of the present disclosure can generate or output virtual gyroscope data (e.g., virtual angular velocity data for three axes) using time series data (810) input to the artificial intelligence model.

[0105] An electronic device (101) according to one embodiment of the present disclosure may compute virtual gyroscope data using a first computation module instead of using an artificial intelligence model when the state of the electronic device (101) is determined to be in an unfolded state and an identified performance indicator exceeds a specified threshold value (e.g., when the performance indicator of an artificial intelligence model does not have sufficient performance to generate or estimate virtual gyroscope data). An electronic device (101) according to one embodiment of the present disclosure may set time series data (810) acquired during a first time interval or time series data (810) acquired during a second time interval as input values ​​to be input to the first computation module. An electronic device (101) according to one embodiment of the present disclosure may generate a posture shape of the electronic device (101) using the time series data (810), and after a specified time has elapsed, compare the generated posture of the electronic device (101) with the current posture and output a gyroscope value corresponding to the comparison result as virtual gyroscope data. An electronic device (101) according to one embodiment of the present disclosure may calculate a moving average of time series data (810) to increase the accuracy of virtual gyroscope data, and may set the calculated moving average value as an input value to a first calculation module. FIG. 11 is an example diagram illustrating a function or operation of an electronic device according to one embodiment of the present disclosure to generate new time series data (810) using the moving average of time series data (810) when the performance of the artificial intelligence model is not sufficient to generate virtual gyroscope data. Referring to FIG. 11, a moving average data (e.g., 4.5 or 5.2) for a specified period among the time series data (810) may be set as an input value to the first calculation module. According to such a function or operation, virtual gyroscope data with increased accuracy may be output even when using the first calculation module.

[0106] An electronic device (101) according to one embodiment of the present disclosure can determine the angle of a hinge joint of the electronic device (101) using virtual gyroscope data generated according to operation 540 and third sensing data acquired by a first gyroscope sensor in operation 550. When determining the angle of a hinge joint, the electronic device (101) according to one embodiment of the present disclosure can further determine the angle of a hinge joint of the electronic device (101) by using sensing data acquired by at least two acceleration sensors mounted on the electronic device (101). For example, the electronic device (101) according to one embodiment of the present disclosure can determine the angle of a hinge joint by integrating each sensing value and performing a convolution operation on the integrated values. According to one embodiment of the present disclosure, various techniques for determining the angle of a hinge joint using acceleration sensing values ​​and gyroscope sensing values ​​can be applied to various embodiments of the present disclosure. An electronic device (101) according to one embodiment of the present disclosure can transmit the determined angle of the hinge joint to other hardware and / or software elements (e.g., a framework layer) of the electronic device (101).

[0107] FIG. 7 is an exemplary drawing for illustrating the software configuration of an electronic device (101) including a 3-axis gyroscope sensor according to one embodiment of the present disclosure. Referring to FIG. 7, the electronic device (101) according to one embodiment of the present disclosure may include a hinge angle manager (710), an artificial intelligence model (720), a first computational model (730), and a look-up table projector (740). The hinge angle manager (710) according to one embodiment of the present disclosure may be configured to determine the current state of the electronic device (101) (e.g., folded state or unfolded state). The hinge angle manager (710) according to one embodiment of the present disclosure may be configured to determine the current state of the electronic device (101) (e.g., folded state or unfolded state) based on sensing data from a Hall sensor, but the method of determining the current state of the electronic device (101) (e.g., folded state or unfolded state) is not limited thereto. A hinge angle manager (710) according to one embodiment of the present disclosure may transmit acquired time series data (810) to an artificial intelligence model (720) or a model trainer when the current state of the electronic device (101) is in a folded state and the performance of the artificial intelligence model (720) is sufficient. To this end, the hinge angle manager (710) according to one embodiment of the present disclosure may be configured to determine the performance of the artificial intelligence model (720). A look-up table projector (740) according to one embodiment of the present disclosure may be configured to generate projected gyroscope data using the time series data (810). For example, the look-up table projector (740) according to one embodiment of the present disclosure may generate projected gyroscope data using Equations 1 to 3.

[0108] FIG. 12 is an example drawing for explaining the function or operation of applying information about the generated folding angle to a compass rotation vector operation in an electronic device (101) according to one embodiment of the present disclosure.

[0109] Referring to FIG. 12, an electronic device (101) according to one embodiment of the present disclosure can obtain information about the angle of the hinge joint of the electronic device (101) in operation 1210. An electronic device (101) according to one embodiment of the present disclosure can obtain information about the angle of the hinge joint determined based on virtual gyro data.

[0110] An electronic device (101) according to one embodiment of the present disclosure can generate projected gyroscope data using information on the angle of the hinge connection obtained in operation 1220 and gyroscope data obtained by the gyroscope sensor (630). An electronic device (101) according to one embodiment of the present disclosure can generate projected gyroscope data using the folding angle obtained when the electronic device (101) is unfolded, the look-up table (1010), and mathematical formulas 1 to 3. An electronic device (101) according to one embodiment of the present disclosure can generate projected gyroscope data by checking the α and β values ​​corresponding to the folding angle in the look-up table (1010) and applying the checked values ​​to mathematical formulas 1 to 3.

[0111] An electronic device (101) according to one embodiment of the present disclosure can apply the generated projected gyroscope data to a compass rotation vector operation in operation 1230. For example, the electronic device (101) according to one embodiment of the present disclosure can apply the projected gyroscope data to a compass rotation vector operation when compass information is required for the performance of a specific task, such as when running a compass application and / or a map application. Accordingly, a compass rotation operation suitable for the current magnetic field environment can be performed by the electronic device (101).

[0112] FIG. 13 is an example drawing for explaining a function or operation of generating virtual gyroscope data to determine the folding angle of each hinge structure when an electronic device (101) according to one embodiment of the present disclosure includes a plurality of hinge structures. Referring to FIG. 13, an electronic device (101) according to one embodiment of the present document may include a main housing (1310), a first sub-housing (1320), and a second sub-housing (1330). In other words, an electronic device (101) according to one embodiment of the present document may include a plurality of hinge coupling structures. In this case, an electronic device (101) according to one embodiment of the present document may have a 6-axis sensor mounted on the main housing (1310), and a 3-axis sensor mounted on each of the first sub-housing (1320) and the second sub-housing (1330). An electronic device (101) according to one embodiment of the present document may store a plurality of artificial intelligence models, and each artificial intelligence model may correspond to each hinge structure. An electronic device (101) according to one embodiment of the present document may determine the angle of the hinge connection by applying various embodiments of the present disclosure described above to each artificial intelligence model. For example, when the angle of the first hinge structure is identified as 0 degrees (e.g., when the first sub-housing (1320) is in a completely folded state) and the second hinge structure is identified as being in an unfolded state (e.g., when the second sub-housing (1330) is in a substantially unfolded state), the electronic device (101) according to one embodiment of the present document may control each artificial intelligence model to perform learning for the first artificial intelligence model corresponding to the first hinge structure and to output virtual gyroscope data for determining the folding angle for the second artificial intelligence model corresponding to the second hinge structure.

[0113] An electronic device according to one embodiment of the present disclosure comprises a first housing, a second housing connected to the first housing via a hinge connection, a first gyroscope sensor disposed inside the first housing, a first accelerometer and a geomagnetic sensor disposed inside the second housing, and at least one processor and a memory disposed inside the first housing, wherein the memory may be configured to store an instruction that, when executed by the at least one processor, causes the electronic device to acquire first sensing data through the first accelerometer and acquire second sensing data through the geomagnetic sensor, identify a performance indicator of an artificial intelligence model stored in the memory based on the acquisition of the first sensing data and the second sensing data, and if the identified performance indicator is below a specified threshold value, generate virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model, and determine the angle of the hinge connection using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor. there is.

[0114] According to one embodiment of the present disclosure, in a non-transient recording medium configured to store computer-readable instructions, the instructions may be configured to store instructions such that, when executed by at least one processor of an electronic device, the electronic device acquires first sensing data through a first accelerometer of the electronic device and acquires second sensing data through a geomagnetic sensor of the electronic device, and based on the acquisition of the first sensing data and the second sensing data, identifies a performance indicator of an artificial intelligence model stored in the memory of the electronic device, and if the identified performance indicator is below a specified threshold value, uses the artificial intelligence model to generate virtual gyroscope data based on the acquired first sensing data and the second data, and determines the angle of a hinge joint of the electronic device using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor of the electronic device.

[0115] A method for controlling an electronic device according to one embodiment of the present disclosure may include: acquiring first sensing data through a first acceleration sensor of the electronic device; acquiring second sensing data through a geomagnetic sensor of the electronic device; identifying a performance indicator of an artificial intelligence model stored in the memory of the electronic device based on the acquisition of the first sensing data and the second sensing data; generating virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model when the identified performance indicator is below a specified threshold value; and determining the angle of a hinge joint of the electronic device using the generated virtual gyroscope data and third sensing data acquired by the first gyroscope sensor of the electronic device.

[0116] The electronic device according to the various embodiments disclosed in this document may be of various forms. The electronic device may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a consumer electronics device. The electronic device according to the embodiments of this document is not limited to the devices described above.

[0117] The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of said embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of said items unless the relevant context clearly indicates otherwise. In this document, phrases such as "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 "at least one of A, B, or C" may each include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish said components from other said components and do not limit said components in any other aspect (e.g., importance or order). Where any (e.g., 1st) component is referred to as “coupled” or “connected” to another (e.g., 2nd) component, with or without the terms “functionally” or “communicationly,” it means that said any component may be connected to said other component directly (e.g., via a wire), wirelessly, or through a third component.

[0118] The term “module” as used in the various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit, for example. A module may be a component formed integrally, or a minimum unit of said component or a part thereof that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0119] Various embodiments of this document may be implemented as software (e.g., program (2540)) comprising one or more instructions stored in a storage medium (e.g., internal memory (2536) or external memory (2538)) readable by a machine (e.g., electronic device (2501)). For example, a processor of the machine (e.g., electronic device (2501)) may call at least one of the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. The storage medium readable by the machine may be provided in the form of a non-transitory storage medium. Here, "non-temporary" simply means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently and cases where it is stored temporarily.

[0120] According to one embodiment, the method according to the various embodiments disclosed herein may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)), or distributed online (e.g., download or upload) through an application store (e.g., Play Store™) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily created on a device-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.

[0121] According to one embodiment of this document, each component (e.g., module or program) of the components described above may include a singular or multiple entities, and some of the multiple entities may be separated and placed in other components. According to one embodiment of this document, one or more of the components or operations among the aforementioned components may be omitted, or one or more other components or operations may be added. Generally or additionally, multiple components (e.g., module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each of the multiple components in the same or similar manner as those performed by the corresponding component among the multiple components prior to the integration. According to one embodiment of this document, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

Claims

1. In an electronic device, First housing; A second housing connected to the first housing through a hinge connection; A first gyro sensor disposed inside the first housing; A first acceleration sensor and a geomagnetic sensor disposed inside the second housing, and It includes at least one processor and memory disposed inside the first housing or the second housing, and The above memory, when executed by the at least one processor, causes the electronic device: First sensing data is obtained through the first acceleration sensor, and Second sensing data is obtained through the above geomagnetic sensor, and Based on the acquisition of the first sensing data and the second sensing data, the performance indicators of the artificial intelligence model stored in the memory are identified, and If the above-mentioned identified performance indicators satisfy specified conditions, virtual gyroscope data is generated based on the acquired first sensing data and the second data using the artificial intelligence model, and An electronic device characterized by being configured to store an instruction for determining the angle of the hinge joint using the virtual gyroscope data generated above and the third sensing data acquired by the first gyroscope sensor.

2. In Paragraph 1, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction for determining whether the above electronic device is in a complete folding state, and An electronic device characterized by further including instructions for performing learning of the artificial intelligence model using the angle of the hinge joint and third sensing data obtained by the gyro sensor, based on the electronic device being in a fully folded state.

3. In Paragraph 1 or 2, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction for determining whether the above electronic device is in a complete folding state, and An electronic device characterized by further including an instruction to generate virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model, based on the electronic device being in an unfolded state.

4. In any one of paragraphs 1 through 3, The above instructions, when executed by the at least one processor, cause the electronic device: Instructions for determining performance indicators of the above artificial intelligence model, and An electronic device characterized by further including instructions to determine the attitude of the electronic device using the first sensing data and the second sensing data when the performance indicator of the artificial intelligence model does not satisfy the specified condition, and to generate the virtual gyroscope data based on the change in the determined attitude.

5. In any one of paragraphs 1 through 4, The above instructions, when executed by the at least one processor, cause the electronic device: An electronic device characterized by further including an instruction to generate a projection gyro value in which the third sensing data acquired by the first gyro sensor is converted using the angle of the hinge joint, based on the acquisition of the first sensing data and the second sensing data.

6. In any one of paragraphs 1 through 5, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction to set the above-mentioned generated projection gyroscope value as a target value, and An electronic device characterized by further including instructions for performing training of the artificial intelligence model using the above-set target value.

7. In any one of paragraphs 1 through 4, An electronic device characterized in that the above performance indicator is determined based on the mean squared error of the target value and the value generated by the artificial intelligence model.

8. In a non-transient recording medium configured to store computer-readable instructions, said instructions, when executed by at least one processor of an electronic device, cause said electronic device: First sensing data is obtained through the first acceleration sensor of the electronic device, and Second sensing data is obtained through the geomagnetic sensor of the above electronic device, and Based on the acquisition of the first sensing data and the second sensing data, the performance indicators of the artificial intelligence model stored in the memory of the electronic device are identified, and If the above-mentioned identified performance indicators satisfy specified conditions, virtual gyroscope data is generated based on the acquired first sensing data and the second data using the artificial intelligence model, and A non-transient recording medium characterized by being configured to store instructions for determining the angle of a hinge joint of an electronic device using the generated virtual gyroscope data and third sensing data acquired by a first gyroscope sensor of the electronic device.

9. In Paragraph 8, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction for determining whether the above electronic device is in a complete folding state, and A non-transient recording medium characterized by further including instructions for performing learning of the artificial intelligence model using the angle of the hinge joint and third sensing data obtained by the first gyro sensor, based on the electronic device being in a complete folding state.

10. In Paragraph 8 or 9, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction for determining whether the above electronic device is in a complete folding state, and A non-transient recording medium characterized by further including instructions to generate virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model, based on the electronic device being in an unfolded state.

11. In any one of paragraphs 8 through 10, The above instructions, when executed by the at least one processor, cause the electronic device: Instructions for determining performance indicators of the above artificial intelligence model, and A non-transient recording medium characterized by further including instructions to determine the attitude of the electronic device using the first sensing data and the second sensing data when the performance indicator of the artificial intelligence model does not satisfy a specified condition, and to generate the virtual gyroscope data based on the change in the determined attitude.

12. In any one of paragraphs 8 through 11, The above instructions, when executed by the at least one processor, cause the electronic device: A non-transient recording medium characterized by further including an instruction to generate a projection gyro value in which the third sensing data acquired by the first gyro sensor is converted using the angle of the hinge coupling, based on the acquisition of the first sensing data and the second sensing data.

13. In any one of paragraphs 8 through 12, The above instructions, when executed by the at least one processor, cause the electronic device: An instruction to set the above-mentioned generated projection gyroscope value as a target value, and A non-transient recording medium characterized by further including instructions for performing training of the artificial intelligence model using the above-set target value.

14. In any one of paragraphs 8 through 13, A non-transient recording medium characterized in that the above performance indicator is determined based on the mean squared error of the target value and the value generated by the artificial intelligence model.

15. In a method for controlling an electronic device, The operation of acquiring first sensing data through the first acceleration sensor of the electronic device, and The operation of acquiring second sensing data through the geomagnetic sensor of the electronic device, and An operation of identifying performance indicators of an artificial intelligence model stored in the memory of the electronic device based on the acquisition of the first sensing data and the second sensing data, and If the above-mentioned identified performance indicators satisfy specified conditions, the operation of generating virtual gyroscope data based on the acquired first sensing data and the second data using the artificial intelligence model, and A method for controlling an electronic device, characterized by including an operation of determining the angle of a hinge joint of the electronic device using the virtual gyroscope data generated above and third sensing data acquired by a first gyroscope sensor of the electronic device.