Foldable electronic device and operating method of same electronic device

The integration of Hall and motion sensors in foldable electronic devices allows for intelligent threshold adjustments based on folding angle information, addressing malfunctions and reducing power consumption by ensuring accurate detection of intentional and unintentional operations, thus enhancing battery life and thermal management.

WO2024205125A1PCT designated stage expired Publication Date: 2024-10-03SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/003546
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2024-03-21
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Foldable electronic devices experience malfunctions and increased current consumption due to unintentional opening and closing operations caused by external forces or user use, leading to unnecessary driving of the application processor and display, which is not effectively addressed by current Hall IC operation methods that rely solely on magnetic force values from one axis.

Method used

The implementation of a foldable electronic device with a Hall sensor, motion sensor, and processor that detects magnetic force changes and outputs an interrupt signal based on a set threshold, allowing the device to fold and adjust the threshold value based on folding angle information to prevent malfunctions and reduce current consumption.

Benefits of technology

This solution effectively reduces current consumption and heat generation by accurately identifying and preventing malfunctions caused by external influences and user actions, maintaining the device in a sleep state unless intentional operation is detected, thereby conserving battery life and reducing heat production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024003546_03102024_PF_FP_ABST
    Figure KR2024003546_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present document relates to a foldable electronic device and an operating method of the electronic device. An electronic device, according to one embodiment, may comprise: a first housing and a second housing that are foldable against each other; a magnetic body disposed in at least one of the first housing and the second housing; a memory; a Hall sensor that detects a magnetic force value of the magnetic body that changes according to the folding of the first housing and the second housing, and outputs an interrupt signal on the basis of a set threshold; a motion sensor; and at least one processor electrically connected to the Hall sensor, the motion sensor, and the memory. According to one embodiment, the at least one processor may be configured to: identify folding angle information of the first housing and the second housing by means of the motion sensor according to identifying the interrupt signal; and change a first threshold of the Hall sensor on the basis of the folding angle information. Other embodiments are possible.
Need to check novelty before this filing date? Find Prior Art

Description

Foldable electronic device and method of operation in the electronic device

[0001] This document relates to a foldable electronic device and an operating method for preventing current consumption due to malfunction in the electronic device.

[0002] Electronic devices are evolving into diverse forms for user convenience, offering a variety of services, applications, and functions. As the variety of services, applications, and functions offered by electronic devices continues to increase, larger displays are required to provide more screen real estate.

[0003] Recently, various types of electronic devices (e.g., foldable or flexible electronic devices) with a shape-changing housing are being developed to accommodate larger displays. Foldable electronic devices have a housing that can be partially opened and closed. Unintended opening and closing, triggered by external forces or user interaction, can lead to malfunctions in the electronic device.

[0004] Electronic devices may have an IC (hereinafter, Hall IC) that utilizes a change in magnetic force, which can be placed in a portion of a housing, and the Hall IC can identify the opening and closing operation of the electronic device. The electronic device may be configured to prevent malfunctions in the driving switching of the display due to minute magnetic differences in threshold values ​​caused by unintended opening and closing operations due to external force or user use. However, the current Hall IC operation method simply uses only the magnetic force value of one axis of the Hall IC to identify whether the threshold value has been exceeded, so malfunctions caused by various external influences occur, and as a result, the electronic device wakes up, significantly increasing current consumption and heat generation in the display and application processor (AP).

[0005] This document provides a foldable electronic device and an operating method for preventing current consumption due to malfunction in the electronic device.

[0006] According to one embodiment of the present document, an electronic device may include a first housing and a second housing that are foldable to each other, a magnetic body disposed in at least one of the first housing and the second housing, a memory, a Hall sensor that detects a magnetic force value of the magnetic body that changes according to folding of the first housing and the second housing and outputs an interrupt signal based on a set threshold value, a motion sensor, and at least one processor electrically connected to the Hall sensor, the motion sensor, and the memory.

[0007] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify folding angle information of the first housing and the second housing using the motion sensor upon identifying the interrupt signal.

[0008] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to change the threshold value of the Hall sensor based on folding angle information.

[0009] According to one embodiment, an operating method in an electronic device may include an operation of identifying folding angle information of a first housing and a second housing of the electronic device by using the motion sensor by identifying an interrupt signal output by a Hall sensor of the electronic device based on a set threshold value.

[0010] According to one embodiment, the method may include an operation of changing the threshold value of the Hall sensor based on the folding angle information.

[0011] According to one embodiment, in a non-transitory storage medium storing a program, the program may include executable instructions that, when executed by at least one processor of an electronic device, cause the electronic device to perform an operation of identifying folding angle information of a first housing and a second housing of the electronic device using a motion sensor of the electronic device when the electronic device identifies an interrupt signal generation output by a Hall sensor of the electronic device, and an operation of changing the threshold value of the Hall sensor based on the folding angle information.

[0012] FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.

[0013] FIGS. 2A and 2B are diagrams showing an example configuration of an electronic device according to one embodiment.

[0014] FIGS. 2C and 2D are diagrams showing the opening and closing of an electronic device according to one embodiment.

[0015] FIGS. 3A and 3B are diagrams showing examples of changing the threshold value of a Hall sensor in an electronic device according to one embodiment.

[0016] FIG. 4 is a drawing showing an example of an operating method in an electronic device according to one embodiment.

[0017] FIG. 5 is a drawing showing an example of an operating method in an electronic device according to one embodiment.

[0018] FIGS. 6A and 6B are diagrams showing examples of an operating method in an electronic device according to one embodiment.

[0019] FIG. 7 is a drawing showing an example of an operating method in an electronic device according to one embodiment.

[0020] FIG. 8 is a drawing showing an example of an operating method in an electronic device according to one embodiment.

[0021] FIG. 9 is a drawing showing the effect of an operating method in an electronic device according to one embodiment.

[0022] FIG. 10 is a drawing showing the effect of an operating method in an electronic device according to one embodiment.

[0023] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.

[0024] Hereinafter, electronic devices according to various embodiments will be described with reference to the attached drawings. The term "user" used in various embodiments may refer to a person using an electronic device or a device (e.g., an artificial intelligence electronic device) using an electronic device.

[0025] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with an electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) via 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) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

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

[0027] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, 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. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can 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 can include multiple artificial neural network layers.The artificial neural network may be one of 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, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

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

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

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

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

[0032] The display module (160) can visually provide information to an external party (e.g., a 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 the 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 a force generated by the touch.

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

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

[0035] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) to an external electronic device (e.g., the electronic device (102)). In 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.

[0036] The connection terminal (178) may include a connector through which the electronic device (101) may 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).

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

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

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

[0040] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0041] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the 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 operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that 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., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as 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 can 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 verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0042] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), 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), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the 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 1eMBB, a loss coverage (e.g., 164 dB or less) for realizing mMTC, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for realizing URLLC.

[0043] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In 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 the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

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

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

[0046] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via 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 executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an 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 process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the 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.

[0047] FIGS. 2A and 2B are diagrams showing an example of a configuration of an electronic device according to one embodiment, FIGS. 2C and 2D are diagrams showing opening and closing of an electronic device according to one embodiment, and FIGS. 3A and 3B are diagrams showing an example of changing a threshold value of a Hall sensor in an electronic device according to one embodiment.

[0048] Referring to FIGS. 1, 2A, 2B, 2C, and 2D, an electronic device (101) according to one embodiment (e.g., the electronic device (101) of FIGS. 1, 2A, 2B, 2C, and 2D) may include a housing including a first housing structure (210) and a second housing structure (220), at least one processor (120), a memory (130), a display module (160), and a sensor module (176) including a plurality of sensors. In addition, the electronic device may further include other components. The electronic device (101) may be configured in a form in which the shape of the housing is deformable (e.g., foldable or flexible).

[0049] According to one embodiment, the first housing structure (210) and the second housing structure (220) may be arranged on both sides with respect to the folding axis (B) (e.g., the horizontal folding axis) and may be rotatably coupled with respect to the folding axis (B) so as to face each other and be folded through the hinge structure (260). The present invention is not limited thereto, and according to another embodiment, the housing of the electronic device (101) may further include other housing structures in addition to the first housing structure (210) and the second housing structure (220), and may be configured to have a structure that can be folded in various shapes through a plurality of folding axes. According to another embodiment, the electronic device (101) may be configured to have a shape in which a portion of the housing can be folded in a direction other than the folding axis (B) of FIG. 2A (e.g., the y-axis or the vertical direction perpendicular to B).

[0050] According to one embodiment, the first housing structure (210) may have a camera module (e.g., a camera (214) included in the camera module (180) of FIG. 1), various sensors (215), and a speaker (e.g., a receiver) (216) disposed thereon. In another embodiment, the camera (214), various sensors (215), and the speaker (216) may be additionally disposed or replaced in at least a portion of the second housing structure (220). According to another embodiment, at least some of the camera (214), various sensors (215), and the speaker (216) may be disposed in at least a portion of the first housing (210), and the remaining portions may be disposed in at least a portion of the second housing structure (220). The camera (214) may be exposed through an opening provided at one corner of the front side (e.g., the first surface (211)) of the first housing structure (210). The sensors (215) may include a proximity sensor, an illumination sensor, It may include at least one of an iris recognition sensor, an ultrasonic sensor, or an indicator. For example, the sensors (215) may be exposed on the front of the electronic device (101) through an opening provided in one corner of the first housing structure (210), or may be arranged on the bottom of at least a portion of the display (161). For example, the electronic device (101) may further include a camera (e.g., a rear camera) exposed through an opening provided in one corner of the second surface (212) of the first housing structure (210).

[0051] According to one embodiment, the electronic device (101) may include a plurality of opening / closing magnets (201) disposed in each of the first housing structure (210) and the first housing structure (220), and a first sensor (e.g., a Hall sensor (hall IC)) (203) that detects the generation of an interrupt signal based on a change in the magnetic force value of the opening / closing magnets (201) according to opening / closing. The electronic device (101) may include a second sensor (e.g., a motion sensor) that detects the movement and folding angle of the electronic device according to opening / closing, and a third sensor (e.g., a grip sensor) that detects the grip state by a user's hand, and may further include various sensors. The second sensor has been described as an example of at least one 6-axis sensor as a motion sensor, but may include various other sensors that can detect the movement and folding angle.

[0052] According to one embodiment, the electronic device (101) may include an ear jack hole, an external speaker module, a SIM card tray, an interface connector port, or at least one key button, which are not shown but are arranged through the first housing structure (210) and / or the second housing structure (220).

[0053] According to one embodiment, the first housing structure (210) and the second housing structure (220) may have different angles or distances relative to each other depending on whether the electronic device (101) is in an unfolded state (open or flat state) (e.g., the unfolded state of FIGS. 2A and 2B), a folded state (or closed state) (e.g., the folded state of FIG. 2C), or an intermediate state (or half-folded state). The description of the state may be replaced with the description of the mode. The intermediate state may mean a semi-folded state in which the angle between the first side (211) of the first housing structure (210) and the first side (221) of the second housing structure (220) forms a specified reference angle (e.g., a range of 90 degrees or 80 degrees to 100 degrees). The unfolded state may mean a state in which the angle between the first side (211) of the first housing structure (210) and the first side (221) of the second housing structure (220) is opened to an angular range exceeding a specified reference angle (e.g., more than 90 degrees to 180 degrees or more than 101 degrees to 180 degrees) or a state in which the angle is fully opened and unfolded (e.g., an angle of 180 degrees). The folded state may mean a state in which the angle between the first side (211) of the first housing structure (210) and the first side (221) of the second housing structure (220) is closed to an angular range less than a specified reference angle (e.g., less than 90 degrees or less than 80 degrees to 0 degrees to 5 degrees) or a state in which the angle is fully closed and folded (e.g., 0 degrees to 5 degrees).

[0054] According to one embodiment, when the first housing structure (210) and the second housing structure (220) perform an opening / closing operation by folding or unfolding (or opening) based on the hinge structure (260), the electronic device (101) can use the magnetic value that varies depending on the distance between the magnet (e.g., magnetic body) (201) and the first sensor (e.g., Hall IC) (203) to determine the open / close state based on the magnetic force (or the strength of the magnetic force) due to the proximity of the magnet (201) and the first sensor (e.g., Hall sensor) (203). According to one embodiment, the first sensor (e.g., Hall sensor) (203) can obtain the magnetic force of the magnetic body in real time, and when a value (folding angle) exceeding a threshold value (THD) of a certain range is identified using the obtained magnetic force value, the first sensor (e.g., Hall sensor) (203) can generate an interrupt signal. According to one embodiment, when an interrupt signal is generated, the electronic device (101) can control the wakeup of the application processor (AP) according to the state of the electronic device (101) and perform an operation (e.g., display ON) appropriate to the state of the electronic device (101).

[0055] According to one embodiment, a foldable electronic device (101) may be configured to have a hinge that also has a fixing force by arranging fixing magnets at both ends of the terminal to be in a folded state. However, if the fixing force of the hinge is exceeded due to external force, shaking (e.g., running), or a decrease in the hinge fixing force over time, the electronic device may not be completely closed and may float. In this case, since the strength of the magnetic force recognized by the first sensor (203) changes due to the opening, a magnetic force may float as shown in FIG. 2C, and a malfunction may occur as the display is switched to an operating state by the first sensor (203) regardless of the user's intention to use it. As shown in FIG. 2D, a user may unconsciously repeatedly perform an opening and closing operation of the foldable electronic device (101). In this case, the electronic device (101) may consume a lot of current due to unnecessary driving of the AP and display when the user is not actually using the electronic device.

[0056] According to one embodiment, when a malfunction occurs due to an external force as illustrated in FIG. 2c and a malfunction occurs due to hinge movement following a repeated opening and closing operation as illustrated in FIG. 2d, the electronic device can perform an operation to prevent the current consumption from increasing from a level of 10 mA in a sleep state (e.g., AP, LCD sleep state) to about 250 mA when the screen is turned on (e.g., AP, LCD wakeup).

[0057] According to one embodiment, the processor (120) of the electronic device (101) can identify the occurrence of an interrupt signal due to the opening and closing of the housing of the electronic device (101) from the first sensor (203) based on the magnetic value detected using the first sensor among the plurality of sensors. The processor (120) can check whether an interrupt signal is generated in a sleep state and maintain the sleep state if the interrupt signal is not generated. Here, the sleep state can indicate a state in which the AP and the display (161) are not driven (e.g., waked up). The first sensor (203) can continuously operate without consuming additional current in the sleep state to generate an interrupt signal.

[0058] According to one embodiment, the processor (120) may obtain movement information of a portion of the housing using a second sensor (e.g., a motion sensor) among a plurality of sensors, and may identify folding angle information using the movement information. Here, the second sensor may be a plurality of 6-axis sensors located at the top / bottom or left / right of the housing of the electronic device. The movement information may be obtained based on an acceleration or gyro value detected by the second sensor, and may include information on whether the first housing structure (210) and the second housing structure (220) of the electronic device (101) are moving and the amount of movement. The second sensor may constantly operate without consuming additional current in a sleep state to detect movement and the amount of movement.

[0059] According to one embodiment, the processor (120) can identify a malfunction or normal operation of the electronic device (101) based on movement information. According to one embodiment, the processor (120) can determine an operation state based on the movement of the 6-axis sensor after an interrupt signal is generated. According to one embodiment, the processor (120) can identify a malfunction, for example, when a main sensor of a 6-axis sensor located in a first housing structure (e.g., an upper or left area) (210) of the electronic device (101) is stationary and a sub sensor of a 6-axis sensor located in a second housing structure (e.g., a lower or right area) (220) of the electronic device is stationary. According to one embodiment, the processor (120) can identify a normal operation, for example, when a main sensor located in a first housing structure (210) is in a moving state and a sub sensor located in a second housing structure (220) is stationary. According to one embodiment, the processor (120) can identify a normal operation, for example, when a main sensor located in the first housing structure (210) is stationary and a sub sensor located in the second housing structure (220) is in motion. According to one embodiment, the processor (120) can identify a normal operation, for example, when a main sensor located in the first housing structure (210) and a sub sensor located in the second housing structure (220) are in motion and have different amounts of momentum. According to one embodiment, the processor (120) can identify a malfunction, for example, when a main sensor located in the first housing structure (210) and a sub sensor located in the second housing structure (220) are in motion and have the same amount of momentum.

[0060] According to one embodiment, the processor (120) may change the threshold of the first sensor (203) from the first threshold to the second threshold based on identifying a malfunction. Here, the first threshold may be set using the magnetic values ​​for each of the designated states (e.g., open state, open threshold state, closed threshold state, and closed state) of one axis (e.g., x-axis), and when identifying a malfunction, the first threshold may be changed to the second threshold using the magnetic values ​​for each of the designated states (e.g., open state, open threshold state, closed threshold state, and closed state) of each of the three axes (e.g., x, y, z-axis). According to one embodiment, the processor (120) may store data on the magnetic force of each of the three axes collected through experiments using various types of external magnets in a memory and use the data when confirming a malfunction. Here, the malfunction of the electronic device (101) may be caused by the x, y, and z axes of the magnetic force recognized by the first sensor (203) being all different depending on the position, strength, shape, etc. of the magnet. According to one embodiment, the processor (120) may use the difference between the fixed value generated by the upper / lower folding and the magnetic force value acquired by the first sensor (203) when identifying the malfunction. According to one embodiment, the processor (120) may normally use one axis (e.g., x-axis), but may use three axes (e.g., x, y, z-axes) when a change in magnetic force occurs due to hinge movement. As illustrated in FIG. 3A, according to one embodiment, the processor (120) may set a nulling section in a magnetic force range that exceeds a certain portion of the magnetic force values ​​of the open and closed states, thereby blocking an area outside the magnetic force range that may occur in the electronic device (101). According to one embodiment, the processor (120) can compare the acquired magnetic force values ​​with reference values ​​for each of the three axes at designated states (e.g., open state (e.g., 180 degrees), open THD state (e.g., 20 degrees), close THD state (e.g., 5 degrees), and close state (e.g., 0 degrees)).Here, the close THD state may indicate a state in which a close threshold angle (e.g., 5 degrees) for recognizing closure is identified using the set magnetic value of the first sensor (e.g., a Hall sensor) when transitioning from open to closed. The open THD state may indicate a state in which an open threshold angle (e.g., 10 degrees or 20 degrees) for recognizing closure is identified using the set magnetic value of the first sensor (e.g., a Hall sensor) when transitioning from closed to open. The open state may indicate a state in which a fully open angle (e.g., 180 degrees) is identified using the set magnetic value of the first sensor (e.g., a Hall sensor), and the closed state may indicate a state in which a fully closed angle (e.g., 0 degrees) is identified using the set magnetic value of the first sensor (e.g., a Hall sensor).

[0061] Referring to FIGS. 3A and 3B , according to one embodiment, the processor (120) can change the opening threshold angle (e.g., 10 degrees or 20 degrees) according to the hinge movement. Here, the opening threshold angle can represent a threshold value of a first sensor for outputting an interrupt signal output by the first sensor (e.g., a Hall sensor). According to one embodiment, the processor (120) can change the threshold angle range (a hysteresis section representing a range between the closing threshold angle (e.g., 5 degrees) and the opening threshold angle) to prevent screen switching malfunction due to the hinge movement. The processor (120) can change the threshold of the first sensor from a first threshold (e.g., an opening threshold angle of 10 degrees) to a second threshold (e.g., an opening threshold angle of 20 degrees) to change the existing hysteresis range (e.g., a range of 5 to 10 degrees (at 5-degree intervals)) to an extended hysteresis range (e.g., a range of 5 to 20 degrees (at 15-degree intervals)). According to one embodiment, the processor (120) can set a section of a folding angle of 0 to 20 degrees as a closed section, and can set a section of a folding angle of 5 to 180 degrees as an open section.

[0062] According to one embodiment, if the processor (120) is not identified as a malfunction, it can identify normal operation and control the display module (160) to drive (on) the display (161).

[0063] According to one embodiment, the processor (120) may be configured to identify the exact intention and situation by checking whether there is a short period of repeated opening and closing of the electronic device by a specified mode (e.g., hand mode and back mode) when a malfunction is not identified and normal operation is identified using the first sensor and the second sensor, and to switch the display (1161) to an operating state.

[0064] According to one embodiment, the processor (120) can detect a grip by the user's hand using a third sensor to determine whether a grip state exists. The processor (120) can be configured to switch from a sleep state to an AP operating state when an interrupt signal is generated, and can identify whether a grip state exists and whether opening and closing is repeated in the AP operating state.

[0065] According to one embodiment, the processor (120) may identify a hand mode based on a grip state, and perform an operation of identifying a malfunction due to hinge movement based on a folding angle and opening / closing repetition in the hand mode. Here, the hand mode may be a mode in which an interrupt signal is output from a first threshold value (e.g., 10 degrees) of a previous first sensor to prevent a malfunction due to hinge movement of the electronic device (101) by the user while the user is holding the electronic device (101) with his / her hand, and an operation of ignoring the interrupt signal for a certain period of time is performed when opening / closing of the electronic device (101) is repeated.

[0066] According to one embodiment, the processor (120) may identify the back mode based on the non-grip state, and identify a malfunction due to hinge movement based on the folding angle and the opening / closing repetition in the back mode. Here, the back mode may be a mode in which the second threshold value (e.g., 20 degrees) of the first sensor (203) is changed to prevent a case in which an external force (e.g., running, climbing stairs, riding an amusement ride) exceeding the fixing force of the hinge of the electronic device (101) occurs while the electronic device (101) is contained in the user's bag or pocket, and an operation of ignoring an interrupt signal for a certain period of time is performed when the opening / closing of the electronic device (101) is repeated.

[0067] According to one embodiment, the processor (120) can identify a malfunction due to hinge flow by comparing a folding angle acquired using a second sensor in hand mode (e.g., a set angle including angles measured for a specified time (1 second or 1.5 seconds)) with a first reference angle (e.g., 20 degrees). If the processor (120) identifies that the folding angle is less than or equal to the first reference angle (e.g., 20 degrees), the processor can identify a malfunction due to hinge flow and, to prevent the malfunction due to hinge flow, change the threshold value of the first sensor (e.g., a Hall sensor) to a second threshold value (e.g., 20 degrees) to expand the threshold angle range (e.g., hysteresis section) (e.g., from 5 degree intervals to 15 degree intervals). Here, the first reference angle (e.g., 20 degrees) can be designated as another angle by a model of the electronic device or empirical judgment.

[0068] According to one embodiment, when the processor (120) identifies that the folding angle exceeds a first reference angle (e.g., 20 degrees), it can compare the folding angle with a second reference angle (e.g., 90 degrees) to identify repeated opening and closing in hand mode. Since many malfunctions occur in hand mode due to the user's repeated opening and closing actions, the timeout time can be separately confirmed based on the second reference angle (e.g., 90 degrees). Here, the second reference angle can be designated as another angle (e.g., 80 degrees or 70 degrees) depending on the model of the electronic device, the user's usage experience, usage environment, or usage habits. According to one embodiment, when the folding angle does not exceed the second reference angle (e.g., 90 degrees), the processor (120) can check whether an interrupt signal is generated during the first timeout time (e.g., 1 second). The processor (120) can identify whether the opening / closing is repeated when an interrupt signal is generated, and can identify whether the operation is normal when no interrupt signal is generated. According to one embodiment, the processor (120) can check whether an interrupt signal is generated during a second timeout period (e.g., 1.5 seconds) when the folding angle exceeds a second reference angle (e.g., 90 degrees). When an interrupt signal is generated, the processor can identify whether the operation is repeated when an interrupt signal is generated, and can identify whether the operation is normal when no interrupt signal is generated.

[0069] According to one embodiment, when the processor (120) identifies that there is an open / close repetition, it may increase a count, and if the increased count is greater than or equal to a reference value, it may ignore an interrupt signal for a certain period of time. According to one embodiment, if the increased count is less than the reference value, the processor (120) may identify the operating state of the electronic device (101) as normal operation.

[0070] According to one embodiment, the processor (120) may compare the folding angle acquired using the second sensor in back mode with a first reference angle (e.g., 20 degrees). Here, the first reference angle (e.g., 20 degrees) may be designated as another angle by a model of the electronic device or empirical judgment. According to one embodiment, the processor (120) may identify a malfunction due to hinge flow based on the folding angle being less than or equal to the first reference angle (e.g., 20 degrees), and may change the threshold value of the first sensor to a second threshold value (e.g., 20 degrees) to expand the threshold angle range (e.g., hysteresis range) (e.g., from a 5 degree range to a 15 degree range) to prevent the malfunction due to hinge flow. According to one embodiment, the processor (120) can check whether an interrupt signal is generated during a timeout period (e.g., 1 second), and if an interrupt signal is generated, identify that it is an open / close repetition, and if an interrupt signal is not generated, identify the operating state of the electronic device (101) as a normal operation.

[0071] According to one embodiment, the processor (120) may increase a count upon identifying that it is an opening / closing repetition, and if the increased count is greater than or equal to a reference value, the processor may ignore an interrupt signal for a certain period of time, and if the increased count is less than or equal to the reference value, the processor may identify the operating state of the electronic device (101) as a normal operation.

[0072] According to one embodiment, the processor (120) may control the display (161) to display a guidance message (e.g., “Folding repetition detected” or “Folding repetition detected, only part of the screen turned on to save battery life. Touch below to view the entire screen”) by turning on only a portion of the display instead of debounce time, which forces the display to turn off when the interrupt signal is ignored.

[0073] According to one embodiment, when an interrupt signal is generated, the processor (120) performs an operation corresponding to each malfunction situation using the sensing data (e.g., raw data) of the second sensor and the third sensor, changes the first threshold value and / or the second threshold value, finally checks the status of the first sensor (e.g., Hall sensor), performs an operation of driving or not driving the display, and then restores the first threshold value and / or the second threshold value.

[0074] An electronic device (101) according to one embodiment may implement a software module (e.g., a program (140) of FIG. 1) to prevent current consumption due to malfunction of the electronic device. A memory (130) of the electronic device (101) may store commands (e.g., instructions) to implement the software module. At least one processor (120) may execute the commands stored in the memory (130) to implement the software module, and may control hardware (e.g., a sensor module (176), a power management module (188), or a communication module (190) of FIG. 1) associated with the function of the software module. A software module of the electronic device (101) according to one embodiment may be configured to include a kernel (or HAL), a framework (e.g., a middleware (144) of FIG. 1), and an application (e.g., an application (146) of FIG. 1). At least some of the software modules may be preloaded on the electronic device (101) or downloadable from a server (e.g., server (108)).

[0075] As such, in one embodiment, the main components of the electronic device (101) are described through the electronic device (101) of FIGS. 1 and 2A to 2D. However, in various embodiments, not all of the components illustrated through FIGS. 1 and 2A to 2D are essential components, and the electronic device (101) may be implemented with more components than the illustrated components, or may be implemented with fewer components. In addition, the positions of the main components of the electronic device (101) described above through FIGS. 1 and 2A to 2D may be changed according to various embodiments.

[0076] According to one embodiment, a foldable type electronic device (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) may include a first housing and a second housing that are foldable to each other, a magnetic body disposed in at least one of the first housing and the second housing, a memory (e.g., the memory (130) of FIG. 1), a Hall sensor (e.g., the Hall sensor (203) of FIGS. 2A and 2B) that detects a magnetic force value of the magnetic body that changes according to folding of the first housing and the second housing and outputs an interrupt signal based on a set threshold value), a motion sensor, and at least one processor (e.g., the processor (120) of FIG. 1) that is electrically connected to the Hall sensor, the motion sensor, and the memory.

[0077] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify folding angle information of the first housing and the second housing using the motion sensor upon identifying the interrupt signal.

[0078] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to change a threshold value of the Hall sensor based on the folding angle information.

[0079] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify a malfunction of the electronic device based on movement information acquired using the motion sensor and to change the threshold value of the Hall sensor from a first threshold value to a second threshold value.

[0080] According to one embodiment, the movement information may include whether or not the first housing structure and the second housing structure are moving and the amount of movement.

[0081] According to one embodiment, the motion sensor may include at least one six-axis sensor.

[0082] According to one embodiment, the first threshold value may be an opening threshold angle set using a magnetic value of one axis of the motion sensor, and the second threshold value may be an opening threshold angle set using a magnetic value of each of three axes of the motion sensor.

[0083] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify a back mode or a hand mode of the electronic device using a third sensor among the plurality of sensors, obtain a folding angle by the opening and closing using the second sensor, identify a malfunction due to hinge movement based on the folding angle being less than or equal to a first reference angle, and change a second threshold value of the hall sensor.

[0084] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to, in the back mode, ignore the interrupt signal for a specified period of time based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have been repeatedly opened and closed, and, in the back mode, identify that the folding angle exceeds a first reference angle and that there has been no repeated opening and closing of the housing of the electronic device, and switch the display of the electronic device to an operating state.

[0085] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify the opening / closing repetition when the number of interrupt signal occurrences during a specified period of time is greater than or equal to a specified number of times.

[0086] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to, in the hand mode, ignore the interrupt signal for a specified period of time based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have repeated opening and closing, and, in the hand mode, identify that the folding angle exceeds the first reference angle and that there is no repeated opening and closing, and switch the display of the electronic device to an operating state.

[0087] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to identify the open / close repetition when, in the hand mode, the folding angle exceeds a second reference angle and the number of occurrences of the interrupt signal is greater than or equal to a specified number of times during a specified first time period, and to identify the open / close repetition when, in the hand mode, the folding angle is less than or equal to a second reference angle and the number of occurrences of the interrupt signal is greater than or equal to a specified number of times during a specified second time period.

[0088] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to change the second threshold value of the first sensor to a second folding angle higher than the specified first folding angle.

[0089] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to control the display to activate a portion of a display of the electronic device, deactivate a remaining portion, and display a guidance message on a portion of the display based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have been repeatedly opened and closed.

[0090] According to one embodiment, the memory may store instructions that, when executed by the at least one processor, cause the electronic device to restore the changed threshold value of the Hall sensor after performing an operation to drive the display.

[0091] FIG. 4 is a drawing showing an example of an operating method in an electronic device according to one embodiment.

[0092] Referring to FIG. 4, in operation 401, an electronic device according to an embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) may identify an interrupt signal generated from a first sensor based on a magnetic value detected by a first sensor among a plurality of sensors. Here, the first sensor may be a Hall sensor (hall IC).

[0093] In operation 403, the electronic device may identify folding angle information of the first housing and the second housing using a second sensor among the plurality of sensors upon identifying an interrupt signal. Here, the second sensor may be a motion sensor. In this document, the second sensor is described as an example of at least one 6-axis sensor as a motion sensor, but may include various other sensors capable of detecting movement and folding angles. Here, the folding angle information may be information related to an angle between the first housing and the second housing according to movement of the first housing and / or the second housing rotating around a folding axis (e.g., B of FIG. 2A) of the electronic device (e.g., an angle identified based on 6-axis sensor data corresponding to a magnetic value, or / and a folding angle set as a set angle, including angles measured for a specified time (e.g., 1 second or 1.5 seconds) in an opening and closing repeated situation (e.g., a malfunction situation due to hinge movement).

[0094] In operation 405, the electronic device may identify a malfunction of the electronic device (e.g., a malfunction due to external magnetic force and / or a malfunction due to hinge movement) based on the folding angle information. In operation 407, the electronic device may change the threshold value of the first sensor upon identifying the malfunction.

[0095] According to one embodiment, the electronic device can identify a malfunction caused by an external magnetic force based on the identified folding angle information, for example, when it identifies a stationary state without movement of a 6-axis sensor or that the momentum (raw data) of sensors at different locations has the same movement. Based on the identification of the malfunction caused by an external magnetic force, the electronic device can change the threshold of the first sensor from a designated threshold value (THD #0) to a first threshold value (THD #1). Here, the designated threshold value (THD #0) is an initially set process threshold, and can be set using a magnetic value for each designated state (e.g., open state, open threshold state, closed threshold state, and closed state) of one axis (e.g., x-axis) among the X, Y, and Z axes. The first threshold value (THD #1) can be set using the nulling section of the Hall sensor set to ignore the magnetic force that exceeds the closed-open section due to an external magnetic force and the magnetic force values ​​for each of the three axes (e.g., x, y, z axes) for the specified states (e.g., open state, open threshold state, closed threshold state, and closed state).

[0096] According to one embodiment, when the electronic device identifies a malfunction due to hinge flow based on the identified folding angle information, the threshold of the first sensor can be changed from a designated threshold (THD #0) or the first threshold (THD #1) to a second threshold (THD #2). Here, the second threshold (THD #2) can be set using a nulling section of a Hall sensor set to ignore a magnetic force exceeding a close-open section due to an external magnetic force, magnetic values ​​of each of the three axes (e.g., x, y, z axes), and an opening angle range (hysteresis section) condition.

[0097] FIG. 5 is a drawing showing an example of an operating method in an electronic device according to one embodiment, and FIGS. 6a and 6b are drawings showing an example of an operating method in an electronic device according to one embodiment.

[0098] Referring to FIGS. 5, 6A, and 6B, in operation 501, an electronic device according to an embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) may determine whether an interrupt signal is generated by opening and closing a housing of the electronic device from a first sensor based on a magnetic value detected by a first sensor among a plurality of sensors. Here, the first sensor may be a Hall sensor (hall IC). If, as a result of the determination, an interrupt signal is not generated, the electronic device may maintain a sleep state in operation 503. Here, the sleep state may indicate a state in which the AP and the display are not driven (e.g., waked up). The first sensor may continuously operate without consuming additional current in the sleep state to generate an interrupt signal. If, as a result of the determination in operation 501, an interrupt signal is generated, the electronic device may perform operation 505.

[0099] In operation 505, an electronic device according to an embodiment may use a second sensor (e.g., a motion sensor) among a plurality of sensors to determine whether a part of a housing (a first housing and / or a second housing) of the electronic device moves. Here, the second sensor may be a plurality of 6-axis sensors located at the top / bottom or left / right of the housing of the electronic device. The electronic device may obtain movement information including whether or not there is movement and the amount of movement of each of the first housing structure and the second housing structure of the electronic device through the second sensor, and may obtain folding angle information based on the magnetic values ​​and the movement information. The second sensor may constantly operate without consuming additional current in a sleep state to detect movement and the amount of movement. The electronic device according to an embodiment may identify whether the electronic device is malfunctioning based on the folding angle information.

[0100] In operation 505, if a movement occurs, the electronic device may perform operation 509, and if no movement occurs, the electronic device may perform operation 507. According to one embodiment, the electronic device may determine an operation based on the movement of the 6-axis sensor as illustrated in FIG. 6A after an interrupt signal is generated. For example, the electronic device may identify a malfunction caused by an external magnetic force if a main sensor of a 6-axis sensor located in a first housing structure (e.g., an upper or left area) of the electronic device is stationary and a sub sensor of a 6-axis sensor located in a second housing structure (e.g., a lower or right area) of the electronic device is stationary. For example, the electronic device may identify a normal operation if a main sensor located in a first housing structure (e.g., an upper or left area) of the electronic device is in motion and a sub sensor located in a second housing structure (e.g., a lower or right area) of the electronic device is stationary. For example, an electronic device can identify a normal operation when a main sensor located in a first housing structure (e.g., an upper or left area) is stationary and a sub sensor located in a second housing structure (e.g., a lower or right area) of the electronic device is in motion. For example, an electronic device can identify a normal operation when a main sensor located in a first housing structure (e.g., an upper or left area) and a sub sensor located in a second housing structure (e.g., a lower or right area) of the electronic device are in motion and have different momentum amounts. For example, an electronic device can identify a malfunction due to an external magnetic force when a main sensor located in a first housing structure (e.g., an upper or left area) and a sub sensor located in a second housing structure (e.g., a lower or right area) of the electronic device are in motion and have the same momentum amounts.

[0101] In operation 507 (operation 505-No), the electronic device can identify a malfunction due to an external magnetic force and change the threshold value of the first sensor. The electronic device can change the threshold value of the first sensor from a reference threshold value (THD #0) to a first threshold value (THD #1). Here, the reference threshold value can be set using the magnetic value for each of the designated states (e.g., open state, open threshold state, closed threshold state, and closed state) of one axis (e.g., x-axis). As illustrated in FIG. 6B, when identifying a malfunction of the electronic device due to an external magnetic force, the first threshold value can be set using the magnetic value for each of the designated states (e.g., open state, open threshold state, closed threshold state, and closed state) of each of the three axes (e.g., x, y, z-axes). According to one embodiment, the electronic device can store data on the magnetic force of each of the three axes collected through experiments using various types of external magnets in the memory and use the data to check for malfunction due to external magnetic force. Here, the malfunction due to external magnetic force may have different values ​​of the x, y, and z axes of the magnetic force recognized by the first sensor (hall IC) depending on the position, strength, shape, etc. of the magnet. As illustrated in FIG. 6b, the electronic device can use the difference between the fixed value generated by the folding of the upper / lower parts and the magnetic force value acquired by the first sensor when identifying a malfunction due to external magnetic force. The electronic device normally uses one axis (e.g., x-axis), but can use three axes (e.g., x, y, z-axes) when a change in the external magnetic force occurs. The electronic device can set a nulling section in a magnetic force range that exceeds a certain portion of the magnetic force values ​​of the open and closed states to block the area outside the magnetic force range that may occur in the electronic device. According to one embodiment, the electronic device can compare the acquired external magnetic force values ​​with reference values ​​for each of the three axes in designated states (e.g., open state, open THD state, close THD state, and close state).For example, when comparing only the x-axis, the electronic device may prevent malfunction if the acquired external magnetic force value is greater than the reference value of the open state, or may prevent malfunction if the acquired external magnetic force values ​​of the y-axis and z-axis are each less than or equal to the reference value of the open threshold state of the y-axis and exceed the threshold value of the open state of the z-axis. For example, the electronic device may identify a malfunction if the acquired external magnetic force values ​​of the x-axis and z-axis are each greater than or equal to the reference value of the open threshold state, but may prevent malfunction if the acquired external magnetic force value of the y-axis exceeds the reference value of the open state of the y-axis. For example, the electronic device may identify a malfunction if the acquired external magnetic force value is greater than the reference value of the open threshold state, or may prevent malfunction if the acquired external magnetic force values ​​of the y-axis and z-axis exceeds the reference value of the open threshold state of the y-axis and exceeds the threshold value of the open threshold state of the z-axis.

[0102] As confirmed in operation 505, when a movement occurs, the electronic device can identify a malfunction due to an external magnetic force as a normal operation or, like operations after operation 509, perform malfunction identification operations by hinge movement to check whether the electronic device is repeatedly opened and closed for a short period of time by additionally designated mode (e.g., hand mode and back mode). The electronic device can identify the exact intention and situation through malfunction identification by hinge movement and switch the display to the driving (on) state.

[0103] In operation 509, an electronic device according to an embodiment can detect a grip by a user's hand using a third sensor to determine whether the user is in a grip state. If the determination result indicates a grip state, the electronic device can perform operation 511, and if the user is not in a grip state, the electronic device can perform operation 515.

[0104] In operation 511, the electronic device can identify the hand mode based on the grip state. In operation 513, the electronic device can perform an operation to identify a malfunction due to hinge movement based on the folding angle and the opening / closing repetition in the hand mode. Here, the hand mode may be a mode in which a second threshold value (e.g., a folding angle at which an interrupt signal is generated) of the first sensor is changed (e.g., changed from 5 degrees to 20 degrees) to prevent a malfunction due to hinge movement of the electronic device by the user while the user is holding the electronic device with his / her hand, and an operation is performed to ignore the interrupt signal for a certain period of time when the opening / closing of the electronic device is repeated.

[0105] In operation 515, the electronic device can identify the back mode based on the non-grip state. In operation 517, the electronic device can perform an operation to identify a malfunction due to hinge movement based on the folding angle and the opening / closing repetition in the back mode. Here, the back mode may be a mode in which the second threshold value (e.g., 20 degrees) of the first sensor is changed to prevent a case in which an external force exceeding the fixing force of the hinge of the electronic device (e.g., running, climbing stairs, riding an amusement ride) occurs while the electronic device is contained in the user's bag or pocket, and an operation is performed to ignore an interrupt signal for a certain period of time when the opening / closing of the electronic device is repeated.

[0106] FIG. 7 is a drawing showing an example of a method of operating a hand mode in an electronic device according to one embodiment.

[0107] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) can perform operations for identifying malfunctions due to hinge movement in hand mode, such as operations 511 and 513 of FIG. 5.

[0108] Referring to FIG. 7, in operation 701, an electronic device according to an embodiment may determine whether a folding angle obtained using a second sensor in a hand mode is less than or equal to a first reference angle (e.g., 20 degrees). If the folding angle is less than or equal to the first reference angle (e.g., 20 degrees), the electronic device may perform operation 703, and if the folding angle exceeds the first reference angle (e.g., 20 degrees), the electronic device may perform operation 707. Here, the first reference angle (e.g., 20 degrees) may be designated as another angle by a model of the electronic device or empirical judgment.

[0109] In operation 703, the electronic device can identify a malfunction due to hinge flow based on the folding angle being less than or equal to a first reference angle (e.g., 20 degrees). In operation 705, the electronic device can change the threshold value of the first sensor to a second threshold value to prevent the malfunction due to hinge flow. For example, the electronic device can change the threshold value of the first sensor (e.g., the opening threshold angle is 10 degrees) to the second threshold value (e.g., the opening threshold angle is 20 degrees).

[0110] In operation 707, the electronic device can determine whether the folding angle exceeds a second reference angle (e.g., 90 degrees) based on whether the folding angle exceeds a first reference angle (e.g., 20 degrees). In hand mode, since malfunctions often occur due to the user's repeated opening and closing actions, the timeout time can be separately determined based on the second reference angle (e.g., 90 degrees). Here, the second reference angle may be designated as a different angle (e.g., 80 degrees or 70 degrees) depending on the model of the electronic device, the user's usage experience, usage environment, or usage habits.

[0111] In operation 707, if the folding angle does not exceed the second reference angle (e.g., 90 degrees), in operation 709, the electronic device can check whether an interrupt signal is generated during the first timeout period (e.g., 1 second). If the interrupt signal is generated, the electronic device performs operation 715 by identifying that it is an open / close repetition, and if the interrupt signal is not generated, the electronic device can identify a normal operation in operation 713.

[0112] In operation 707, if the folding angle exceeds the second reference angle (e.g., 90 degrees), in operation 711, the electronic device can check whether an interrupt signal is generated during the second timeout period (e.g., 1.5 seconds). If the interrupt signal is generated, the electronic device performs operation 715 by identifying that it is an open / close repetition, and if the interrupt signal is not generated, the electronic device can identify a normal operation in operation 713.

[0113] In operation 715, the electronic device increases the count by 1 upon identifying that it is an open / close repetition, and in operation 717, the electronic device can determine whether the increased count is greater than or equal to a reference value.

[0114] As confirmed in operation 717, if the increased count is greater than the reference value, the electronic device can ignore the interrupt signal for a certain period of time in operation 719.

[0115] As a result of checking in operation 717, if the increased count is less than the reference value, the electronic device can identify normal operation in operation 721.

[0116] FIG. 8 is a drawing showing an example of a method of operating a back mode in an electronic device according to one embodiment.

[0117] An electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) can perform operations for identifying malfunctions due to hinge flow in back mode, such as operations 515 and 517 of FIG. 5.

[0118] Referring to FIG. 8, in operation 801, an electronic device according to an embodiment may determine whether a folding angle obtained using a second sensor in a back mode is equal to or less than a first reference angle (e.g., 20 degrees). If the folding angle is equal to or less than the first reference angle (e.g., 20 degrees), the electronic device may perform operation 803, and if the folding angle exceeds the first reference angle (e.g., 20 degrees), the electronic device may perform operation 807. Here, the first reference angle (e.g., 20 degrees) may be designated as another angle by a model of the electronic device or empirical judgment.

[0119] In operation 803, the electronic device can identify a malfunction due to hinge movement based on the folding angle being less than or equal to a reference folding angle (e.g., 20 degrees). In operation 805, the electronic device can change the threshold of the first sensor to a second threshold to prevent the malfunction due to hinge movement. For example, the electronic device can change the angle designated as the second threshold from 10 degrees to 20 degrees.

[0120] In operation 807, the electronic device can check whether an interrupt signal has occurred during a timeout period (e.g., 1 second). If the interrupt signal has occurred, the electronic device performs operation 811 to identify that it is a repeating open / close operation. If the interrupt signal has not been generated, the electronic device can identify normal operation in operation 809.

[0121] In operation 811, the electronic device increments the count by 1 upon identifying that it is an open / close repetition, and in operation 813, the electronic device can determine whether the incremented count is greater than or equal to a reference value.

[0122] As a result of checking in operation 813, if the increased count is greater than the reference value, in operation 815, the electronic device can ignore the interrupt signal for a certain period of time.

[0123] As a result of checking in operation 813, if the increased count is less than the reference value, the electronic device can identify normal operation in operation 817.

[0124] According to one embodiment, when an interrupt signal is generated, the electronic device may perform an operation corresponding to each malfunction situation using sensing data of a second sensor (e.g., a motion sensor) and a third sensor (e.g., a grip sensor), change a first threshold value and / or a second threshold value, and then finally check the status of the first sensor (e.g., a hall sensor (hall IC)) to perform an operation of driving or not driving the display, and then restore the first threshold value and / or the second threshold value, and terminate the operations described in FIGS. 4, 6, 7, and 8.

[0125] FIG. 9 is a drawing showing the effect of an operating method in an electronic device according to one embodiment.

[0126] Referring to FIG. 9, an electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) accumulates a count due to repeated opening and closing in hand mode or back mode, thereby blocking the operation of the display, thereby reducing the current consumption of the electronic device by preventing malfunctions from occurring, for example, from 16 times to 3 times, 13 times.

[0127] In one embodiment, the electronic device may reduce the risk of the display's on time being delayed by turning on only a portion of the display and displaying a guidance message (e.g., "Folding repetition detected" or "Folding repetition detected, only a portion of the screen is turned on to save battery life. Touch below to view the entire screen.") instead of forcing the display off with a debounce time when the interrupt signal is ignored.

[0128] FIG. 10 is a drawing showing the effect of an operating method in an electronic device according to one embodiment.

[0129] Referring to FIG. 10, in an electronic device according to one embodiment (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D), the degree of current consumption reduction can be seen by comparing the malfunction or normal operation of the Hall IC in the existing or changed algorithm to a reduced current consumption. In the changed algorithm, a current consumption of about 10 mA occurs in a sleep state, and when an interrupt signal of the Hall IC is generated and the AP is woken up (e.g., LCD OFF), a current consumption of about 90 mA occurs, and when the electronic device is woken up (e.g., AP, LCD ON), a current consumption of about 250 mA may occur. Accordingly, the changed algorithm can reduce the current consumption by about 160mA (250-90mA) compared to the current consumption of about 250mA of the existing algorithm when the AP wakes up due to an interrupt signal generated in a Hall IC malfunction situation, as the current consumption is about 90mA. In addition, the current consumption in some sections can be reduced even when the Hall IC operates normally.

[0130] According to one embodiment, an operating method in an electronic device (e.g., the electronic device (101) of FIGS. 1 and 2A to 2D) may include an operation of identifying folding angle information of a first housing and a second housing of the electronic device by using a motion sensor by identifying an interrupt signal output based on a set threshold value by a Hall sensor of the electronic device (e.g., the first sensor (203) of FIG. 2B).

[0131] According to one embodiment, the method may include an operation of changing the threshold value of the Hall sensor based on the folding angle information.

[0132] According to one embodiment, the operation of changing the threshold value of the Hall sensor may include an operation of identifying a malfunction of the electronic device based on movement information acquired using the motion sensor and an operation of changing the threshold value of the Hall sensor from a first threshold value to a second threshold value.

[0133] According to one embodiment, the movement information may include whether or not the first housing structure and the second housing structure are moving and the amount of movement.

[0134] In one embodiment, the motion sensor may include at least one six-axis sensor. In one embodiment, the first threshold may be an opening threshold angle set using a magnetic value of one axis of the motion sensor, and the second threshold may be an opening threshold angle set using a magnetic value of each of three axes of the motion sensor.

[0135] According to one embodiment, the method may further include an operation of identifying a back mode or a hand mode of the electronic device using a grip sensor of the electronic device, an operation of obtaining a folding angle by the opening and closing using the motion sensor, and an operation of identifying a malfunction due to hinge movement based on the folding angle being less than or equal to a first reference angle, and changing a second threshold value of the hall sensor.

[0136] According to one embodiment, the method may further include an operation of ignoring the interrupt signal for a specified period of time based on the folding angle exceeding a first reference angle in the back mode and identifying repeated opening and closing of the housing of the electronic device, and an operation of identifying a normal operation and switching the display of the electronic device to an operating state based on the folding angle exceeding the first reference angle and no repeated opening and closing of the housing of the electronic device in the back mode. According to one embodiment, the repeated opening and closing may be identified when the number of occurrences of the interrupt signal is a specified number or more during a specified period of time.

[0137] According to one embodiment, the method may further include an operation of ignoring the interrupt signal for a specified period of time based on identifying, in the hand mode, that the folding angle exceeds a first reference angle and that there is no repeated opening and closing of the housing of the electronic device, and an operation of identifying, in the hand mode, that the folding angle exceeds the first reference angle and that there is no repeated opening and closing of the housing of the electronic device, and switching the display of the electronic device to an operating state.

[0138] According to one embodiment, the method may further include an operation of identifying the opening / closing repetition when, in the hand mode, the folding angle exceeds a second reference angle and the number of occurrences of the interrupt signal is greater than or equal to a specified number of times during a specified first time period, and an operation of identifying the opening / closing repetition when, in the hand mode, the folding angle is less than or equal to the second reference angle and the number of occurrences of the interrupt signal is greater than or equal to a specified number of times during a specified second time period.

[0139] In one embodiment, the operation of changing the second threshold value of the Hall sensor may include an operation of changing the second threshold value to a second folding angle higher than the specified first folding angle.

[0140] According to one embodiment, the method may further include an operation of activating a portion of a display of the electronic device and deactivating a remaining portion based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have been repeatedly opened and closed, and an operation of displaying a guidance message on a portion of the display.

[0141] According to one embodiment, the method may further include an operation of restoring a changed threshold value of the Hall sensor after performing an operation for driving the display.

[0142] According to one embodiment, in a non-transitory storage medium storing a program, the program may include executable instructions that, when executed by at least one processor of an electronic device, cause the electronic device to perform an operation of identifying an interrupt signal generation output by a Hall sensor of the electronic device, an operation of identifying folding angle information of a first housing and a second housing of the electronic device using a motion sensor of the electronic device, and an operation of changing a first threshold value of the Hall sensor based on the folding angle information.

[0143] According to one embodiment, an electronic device can identify malfunctions caused by external force and hinge movement that cannot be determined by the operation method of a Hall IC using a 6-axis sensor and a grip sensor in addition to a Hall IC, and can prevent an increase in current consumption due to display operation caused by the malfunction by changing the operating conditions of the Hall IC (e.g., a first threshold value and a second threshold value) according to the malfunction, thereby preventing a decrease in usage time and heat generation problems caused by this. In addition, various effects that can be directly or indirectly identified through this document can be provided.

[0144] The embodiments disclosed in this document are presented for the purpose of explaining and understanding the disclosed technical content, and do not limit the scope of the technology described in this document. Therefore, the scope of this document should be interpreted to include all modifications or various other embodiments based on the technical concepts of this document.

[0145] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0146] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the 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 the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0147] The term "module" used in 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. A module may be an integral component, or a minimum unit or part of such a component 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).

[0148] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among 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 executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0149] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers 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 may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0150] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the 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 a foldable type electronic device (101), A first housing and a second housing which are foldable to each other; A magnetic body disposed in at least one of the first housing and the second housing; Memory (130); A Hall sensor (203) that detects the magnetic force value of the magnetic body that changes according to the folding of the first and second housings and outputs an interrupt signal based on a set threshold value; motion sensor; and It comprises at least one processor (120) electrically connected to the above Hall sensor, the above motion sensor and the above memory, The memory, when executed by the at least one processor, causes the electronic device to: By identifying the above interrupt signal, the folding angle information of the first housing and the second housing is identified using the above motion sensor, An electronic device storing instructions for changing the threshold value of the Hall sensor based on the folding angle information.

2. In the first paragraph, the memory, when executed by the at least one processor, causes the electronic device to: Based on the movement information obtained using the above motion sensor, the malfunction of the electronic device is identified, Store instructions for changing the threshold value of the above Hall sensor from a first threshold value to a second threshold value, The above movement information includes whether the first housing structure and the second housing structure are moving and the amount of movement, respectively. The above motion sensor comprises at least one six-axis sensor, The above first threshold value is an opening threshold angle set using the magnetic value of one axis of the motion sensor, An electronic device wherein the second threshold value is an opening threshold angle set using the magnetic values ​​of each of the three axes of the motion sensor.

3. In the first or second paragraph, the memory, when executed by the at least one processor, causes the electronic device to: Identifying the back mode or hand mode of the electronic device by using the grip sensor of the electronic device, Using the above motion sensor, the folding angle by the opening and closing is obtained, Based on the folding angle being less than or equal to the first reference angle, instructions are stored for identifying a malfunction due to hinge flow and changing a second threshold value of the Hall sensor. An electronic device wherein the second threshold value is changed to a second folding angle higher than the specified first folding angle.

4. In any one of paragraphs 1 to 3, the memory, when executed by the at least one processor, causes the electronic device to: Identifying the switching repetition based on the number of interrupt signal occurrences exceeding a specified number of times during a specified period of time, In the above back mode, the folding angle exceeds the first reference angle, and based on identifying the repeated opening and closing of the first housing and the second housing, the interrupt signal is ignored for a specified period of time, An electronic device storing instructions for identifying a normal operation and switching the display of the electronic device to an operating state based on the folding angle exceeding the first reference angle and the absence of the opening / closing repetition in the above back mode.

5. In any one of paragraphs 1 to 4, the memory, when executed by the at least one processor, causes the electronic device to: In the above hand mode, the folding angle exceeds the first reference angle, and based on identifying the repeated opening and closing of the first housing and the second housing, the interrupt signal is ignored for a specified period of time, In the above hand mode, the normal operation is identified based on the folding angle exceeding the first reference angle and the absence of the opening / closing repetition, and the display of the electronic device is switched to the operating state. In the above hand mode, the opening / closing repetition is identified based on the folding angle exceeding the second reference angle and the number of occurrences of the interrupt signal being greater than or equal to a specified number of times during a specified first time period, An electronic device storing instructions for identifying the opening / closing repetition based on the folding angle being less than or equal to a second reference angle and the number of occurrences of the interrupt signal being greater than or equal to a specified number of times during a specified second time, in the hand mode.

6. In any one of paragraphs 1 to 5, the memory, when executed by the at least one processor, causes the electronic device to: Based on the identification that the folding angle exceeds the first reference angle and that the first housing and the second housing have been repeatedly opened and closed, a portion of the display of the electronic device is activated and the remaining portions are deactivated. An electronic device storing instructions for controlling the display to display a guidance message in a portion of the display.

7. In any one of paragraphs 1 to 6, the memory, when executed by the at least one processor, causes the electronic device to: An electronic device storing an instruction for restoring a changed threshold value of the Hall sensor after performing an operation for driving the display.

8. In the operating method in the electronic device (101), An operation of identifying folding angle information of the first housing and the second housing of the electronic device by using the motion sensor by identifying an interrupt signal output based on a set threshold value by the hall sensor (203) of the electronic device; and A method including an operation of changing the threshold value of the hall sensor based on the folding angle information.

9. In the 8th paragraph, the operation of changing the threshold value of the Hall sensor is as follows: An operation for identifying malfunction of the electronic device based on movement information acquired using the motion sensor; and An operation of changing the threshold value of the above Hall sensor from a first threshold value to a second threshold value is included, The operation of changing the second threshold value includes an operation of changing the second threshold value to a second folding angle higher than the specified first folding angle, The above movement information includes whether the first housing structure and the second housing structure are moving and the amount of movement, respectively. The above motion sensor comprises at least one six-axis sensor, The above first threshold value is an opening threshold angle set using the magnetic value of one axis of the motion sensor, The above second threshold value is an opening threshold angle set using the magnetic value of each of the three axes of the motion sensor.

10. In clause 8 or 9, the method, An action of identifying a back mode or a hand mode of the electronic device by using a grip sensor of the electronic device; An operation of obtaining a folding angle by the opening and closing using the above motion sensor; and A method further comprising: identifying a malfunction due to hinge flow based on the folding angle being less than or equal to a first reference angle, and changing a second threshold value of the Hall sensor.

11. In any one of clauses 8 to 10, the method, In the above back mode, an operation of ignoring the interrupt signal for a specified period of time based on identifying that the folding angle exceeds the first reference angle and that the first housing and the opening and closing repetition of the first housing have been identified; and In the above back mode, the operation further includes identifying a normal operation and switching the display of the electronic device to an operating state based on the folding angle exceeding the first reference angle and the absence of the opening and closing repetition. The above opening / closing repetition is identified when the number of occurrences of an interrupt signal is greater than a specified number of times during a specified time.

12. In any one of clauses 8 to 11, the method, In the hand mode, an action of ignoring the interrupt signal for a specified period of time based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have been repeatedly opened and closed; In the hand mode, an operation of identifying a normal operation and switching the display of the electronic device to an operating state based on the folding angle exceeding the first reference angle and the absence of the opening / closing repetition; In the hand mode, an operation of identifying the opening / closing repetition based on the folding angle exceeding the second reference angle and the number of occurrences of the interrupt signal being greater than or equal to a specified number of times during a specified first time; and A method further comprising an operation of identifying the opening / closing repetition based on the folding angle being less than or equal to the second reference angle and the number of occurrences of the interrupt signal being greater than or equal to a specified number of times during a specified second time, in the hand mode.

13. In any one of clauses 8 to 12, the method, An operation of activating a portion of a display of the electronic device and deactivating the remaining portions based on identifying that the folding angle exceeds a first reference angle and that the first housing and the second housing have been repeatedly opened and closed; and A method further comprising the action of displaying a guidance message in some area of ​​the above display.

14. In any one of clauses 8 to 13, the method, A method further comprising an operation of restoring a changed threshold value of the hall sensor after performing an operation for driving the display.

15. In a non-transitory storage medium storing a program, the program, when executed by at least one processor of an electronic device, causes the electronic device to: An operation of identifying folding angle information of a first housing and a second housing of the electronic device by using a motion sensor of the electronic device according to identifying an interrupt signal generation output by a hall sensor of the electronic device; and A non-transitory storage medium including executable commands to change a first threshold value of the hall sensor based on the folding angle information.

Citation Information

Patent Citations

  • Foldable terminal

    CN110730255A

  • Mobile communication terminal sensible on / off offolders

    KR1020070010714A

  • Ingot growing apparatus

    KR102271714B1

  • A integrated robot system for mounting and dismounting for multi-variety mixed production

    KR102715170B1

  • KR20230027555A