Patent Description:
In recent years, as functional gaps between the manufacturers of electronic devices have significantly decreased, efforts have been made to increase the strength of electronic devices, which continue to become more slim to satisfy consumer demands and distinguish functional elements. Shapes of the electronic devices are gradually changing. For example, the electronic devices may have a deformable structure in which a large screen display may be used while in transit. Foldable electronic devices in which a plurality of housings are operated while contacting each other have been introduced.

<CIT> concerns a content collection method and device and a storage medium, and belongs to the technical field of terminals. The method comprises the following steps: displaying a target interface in a main screen; when the auxiliary screen is in the unfolded state, displaying the collection panel in the auxiliary screen; acquiring a collection instruction corresponding to the target content in the target interface; and adding the target content into the collection panel according to the collection instruction.

<CIT> concerns a receiving element that includes a ferromagnetic structure axially symmetrical around a central axis disposed along a length of the ferromagnetic structure. The ferromagnetic structure includes a groove region defining two end regions on opposing sides of the groove region, where the groove region has a smaller length than the two end regions. The receiving element also includes an inductor coil wound about the groove region of the ferromagnetic structure and in between the two end regions.

A multi-foldable electronic device may include a plurality of housings that perform a folding operation when the housings are folded with respect to each other. A large-screen display may be used in an unfolded state and the volume thereof may be reduced in a folded state, enhancing ease of portability of the foldable electronic device. The foldable electronic device may be operated in an out-folding scheme in which a display is exposed to the outside when a plurality of housings are folded, an in-folding scheme in which the display is not exposed to the outside, or a complex folding scheme in which both the out-folding scheme and the in-folding scheme are used such that only a portion of the display is exposed to the outside.

The electronic device may include an electronic pen (e.g., a stylus pen) detachably disposed as an accessory electronic device. The electronic pen may perform an input through a detection panel (e.g., a digitizer or a touch panel) disposed in the interior of the electronic device. The electronic pen provides ease of input, but the portability of the foldable electronic device tends to be compromised. For example, the electronic pen being embedded in the electronic device may hamper slimness of the electronic device. In addition, the electronic pen being arbitrarily attached to an outer surface of the electronic device through a magnetic force tends to cause an unstable attachment state, resulting in loss of the electronic pen and potential damage the display.

Therefore, there is a need in the art for an electronic device which more conveniently and safely stows the electronic pen.

The disclosure is provided to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below.

Accordingly, an aspect of the disclosure is to provide a foldable electronic device including an electronic pen, wherein the foldable electronic device prevents a potential for loss or unintentional movement of the electronic pen and realizes improved portability by providing a stable mounting space for the electronic pen.

Another aspect of the disclosure is to provide a foldable electronic device including an electronic pen, which provides a stable mounting space while contributing to slimness of the electronic device.

Another aspect of the disclosure is to provide a foldable electronic device including an electronic pen, which can perform a charging function in various charging modes.

In accordance with an aspect of the disclosure, there is provided an electronic device including a foldable housing comprising a first housing, a second housing connected to one side of the first housing and being rotatable through a first hinge module and disposed to at least partially face the first housing in a folded state, and a third housing connected to an opposite side of the first housing and being rotatable through a second hinge module and disposed to at least partially face the first housing in a folded state, wherein, in a folded state, the foldable housing further comprises a pen accommodating part defined through a spaced space between a first edge of the second housing and a second edge of the third housing, a flexible display extending from at least a portion of the second housing to at least a portion of the third housing through the first housing, and an electronic pen at least partially accommodated in the pen accommodating part and comprising at least one magnetic force reaction member inside the electronic pen, wherein the electronic device further comprises at least one magnetic force generating member disposed around the first edge of the second housing and/or the second edge of the third housing, and wherein, when the electronic pen is mounted in the pen accommodating part, the location of the electronic pen is maintained through the magnetic force reaction member.

Also disclosed is an electronic device including a foldable housing comprising a first housing, a second housing connected to one side of the first housing and being rotatable through a first hinge module and disposed to at least partially face the first housing in a folded state, and a third housing connected to an opposite side of the first housing and being rotatable through a second hinge module and disposed to at least partially face the first housing in a folded state, wherein, in a folded state, the foldable housing comprises a pen accommodating part defined through a spaced space between a first edge of the second housing and a second edge of the third housing, a flexible display extending from at least a portion of the second housing to at least a portion of the third housing through the first housing, a wireless charging module disposed in an interior space of the electronic device, the wireless charging module comprising a first coil member disposed to a vicinity of the first edge of the second housing and connected to a first charging circuit, and a second coil member disposed to a vicinity of the second edge of the third housing and connected to a second charging circuit, and an electronic pen at least partially accommodated in the pen accommodating part and comprising at least one third coil member connected to a third charging circuitry inside the electronic pen, wherein, when the electronic pen is mounted in the pen accommodating part, the third coil member is disposed at a location at which the third coil member maintains in an arrangement state in which the third coil member performs a wireless charging operation with the first coil member and/or the second coil member.

As described above, the foldable electronic device herein can contribute to slimness of the electronic device and can improve portability by providing a stable pen accommodating part, in which the electronic pen may be accommodated through a folding structure of the housings. The foldable electronic device can also charge the battery of the electronic pen accommodated in the pen accommodating part in various charging modes (e.g., a general charging mode or a high-speed charging mode) through the folding structure of the peripheral housings.

The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following detailed description, taken in conjunction with the accompanying drawings, in which:.

In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.

Thus reference to "a component surface" includes reference to one or more of such surfaces.

<FIG> illustrates an electronic device in a network environment.

Referring to <FIG>, an electronic device <NUM> in a network environment <NUM> may communicate with an electronic device <NUM> via a first network <NUM> (e.g., a short-range wireless communication network), or an electronic device <NUM> or a server <NUM> via a second network <NUM> (e.g., a long-range wireless communication network). The electronic device <NUM> may communicate with the electronic device <NUM> via the server <NUM>. The electronic device <NUM> includes a processor <NUM>, memory <NUM>, an input device <NUM>, an audio output device <NUM>, a display device <NUM>, an audio module <NUM>, a sensor module <NUM>, an interface <NUM>, a haptic module <NUM>, a camera module <NUM>, a power management module <NUM>, a battery <NUM>, a communication module <NUM>, a subscriber identity module (SIM) <NUM>, or an antenna module <NUM>.

The processor <NUM> may execute software (e.g., a program <NUM>) to control at least one other component (e.g., a hardware or software component) of the electronic device <NUM> coupled with the processor <NUM>, and may perform various data processing or computation.

The various data may include software (e.g., the program <NUM>) and input data or output data for a command related thereto. The non-volatile memory <NUM> may include an internal memory <NUM> or external memory <NUM>.

The program <NUM> may be stored in the memory <NUM> as software, and may include an operating system (OS) <NUM>, middleware <NUM>, or an application <NUM>.

The input device <NUM> may include a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).

The audio output device <NUM> may output sound signals to the outside of the electronic device <NUM>. The audio output device <NUM> may include a speaker or a receiver. The receiver may be implemented as separate from, or as part of the speaker.

The display device <NUM> may include a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector.

The audio module <NUM> may obtain the sound via the input device <NUM>, or output the sound via the audio output device <NUM> or a headphone of an external electronic device (e.g., an electronic device <NUM>) directly (e.g., wiredly) or wirelessly coupled with the electronic device <NUM>.

The sensor module <NUM> may include a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

The interface <NUM> may include a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.

A connection terminal <NUM> may include a connector via which the electronic device <NUM> may be physically connected with the external electronic device (e.g., the electronic device <NUM>). The connection terminal <NUM> may include an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

The haptic module <NUM> may include a motor, a piezoelectric element, or an electric stimulator.

The power management module <NUM> may be implemented as at least part of a power management integrated circuit (PMIC).

The battery <NUM> may include a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.

The communication module <NUM> may include one or more communication processors that are operable independently from the processor <NUM> (e.g., the AP) and supports a direct (e.g., wired) communication or a wireless communication. The communication module <NUM> may include a wireless communication module <NUM> (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 <NUM> (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network <NUM> (e.g., a short-range communication network, such as Bluetooth™, wireless-fidelity (Wi-Fi) direct, or a standard of the Infrared Data Association (IrDA)) or the second network <NUM> (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). The wireless communication module <NUM> may identify and authenticate the electronic device <NUM> in a communication network, such as the first network <NUM> or the second network <NUM>, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the SIM <NUM>.

The antenna module <NUM> may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). The antenna module <NUM> may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network <NUM> or the second network <NUM>, may be selected by the communication module <NUM> (e.g., the wireless communication module <NUM>) from the plurality of antennas. Another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module <NUM>.

An electronic device according to an embodiment may be one of various types of electronic devices. The electronic device may include a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. However, the electronic device is not limited to any of those described above.

Various embodiments of the disclosure and the terms used herein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment.

A singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" may include any one of, or all possible combinations of the items enumerated together in a corresponding one of the phrases.

As used herein, such terms as "1st" and "2nd", or "first" and "second" may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). If an element (e.g., a first element) is referred to, with or without the term "operatively" or "communicatively", as "coupled with", "coupled to", "connected with", or "connected to" another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.

The term "module" may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, "logic", "logic block", "part", or "circuitry".

Various examples as set forth herein may be implemented as software (e.g., the program <NUM>) including one or more instructions that are stored in a storage medium (e.g., internal memory <NUM> or external memory <NUM>) that is readable by a machine (e.g., the electronic device <NUM>).

A method according to the disclosure may be included and provided in a computer program product.

Each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. One or more of the above-described components may be omitted, or one or more other components may be added. In such a case, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. Operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.

<FIG> illustrates a front surface of a foldable electronic device <NUM> according to an embodiment, and <FIG> illustrates a rear surface of a foldable electronic device <NUM> according to an embodiment.

The foldable electronic device <NUM> of <FIG> and <FIG> may be partly similar to the electronic device <NUM> of <FIG> or may include other embodiments of an electronic device.

Referring to <FIG> and <FIG>, an electronic device <NUM> (e.g., a multi-foldable electronic device) includes a first housing <NUM>, a second housing <NUM>, and a third housing <NUM> that are disposed to be rotated with respect to each other. The first housing <NUM> and the second housing <NUM> may be connected to each other to be rotatable with reference to a first axis X1 of rotation through a first hinge module <NUM>. The first housing <NUM> and the third housing <NUM> may be connected to each other to be rotatable with reference to a second axis X2 of rotation through a second hinge module <NUM>. For example, the second housing <NUM> may be coupled to one side of the first housing <NUM> through the first hinge module <NUM>, and the third housing <NUM> may be coupled to an opposite side of the first housing <NUM> through the second hinge module <NUM>.

The first housing <NUM> may include a first surface <NUM>, a second surface <NUM> facing a direction that is opposite to the first surface <NUM>, and a first side member <NUM> surrounding a first space between the first surface <NUM> and the second surface <NUM>. The second housing <NUM> may include a third surface <NUM>, a fourth surface <NUM> facing a direction that is opposite to the third surface <NUM>, and a second side member <NUM> surrounding a second space between the third surface <NUM> and the fourth surface <NUM>. The third housing <NUM> may include a fifth surface <NUM>, a sixth surface <NUM> facing a direction that is opposite to the fifth surface <NUM>, and a third side member <NUM> surrounding a third space between the fifth surface <NUM> and the sixth surface <NUM>.

At least a portion of the first housing <NUM>, the second housing <NUM>, and/or the third housing <NUM> may be formed of a metallic material or a nonmetallic material having a selected strength to support the display <NUM>. Portions facing the first surface <NUM>, the third surface <NUM>, and the fifth surface <NUM> of the first housing <NUM>, the second housing <NUM>, and/or the third housing <NUM> may be formed of a support plate (e.g., a support member or a support structure) for supporting the display <NUM>. The first housing <NUM>, the second housing <NUM>, and/or the third housing <NUM> are formed of a metallic material, the side members <NUM>, <NUM>, and <NUM> may include conductive parts that are at least partially electrically isolated, and the isolated conductive parts are electrically connected to a wireless communication circuit and thus may be operated as at least one antenna (e.g., a legacy antenna) that is operated at a predetermined frequency band.

The second surface <NUM>, the fourth surface <NUM>, and the sixth surface <NUM> may include a rear cover which is formed of portions of the first housing <NUM>, the second housing <NUM>, and the third housing <NUM>, or in which the first housing <NUM>, the second housing <NUM>, and the third housing <NUM> are structurally coupled to each other. The rear cover may be formed of coated or colored glass, ceramics, a polymer, a metal (e.g., aluminum, stainless steel (STS), or magnesium), or a combination of at least two thereof. As another embodiment, the electronic device <NUM> may further include a display that is additionally disposed on any one of the second surface <NUM>, the fourth surface <NUM>, or the sixth surface <NUM> according to a folding scheme.

When the foldable electronic device <NUM> is completely unfolded, the display <NUM> (e.g., the flexible display) may be disposed at up to at least a portion of the fifth surface <NUM> from the third surface <NUM> through the first surface <NUM>. The display <NUM> may include a first display area DA1 facing the first housing <NUM>, a second display area DA2 facing the second housing <NUM>, and a third display area DA3 facing the third housing <NUM>. The display areas DA1, DA2, and DA3 may be deformed such that the housings <NUM>, <NUM>, and <NUM> and the display <NUM> face each other or face opposite directions through rotational operations of the hinge modules <NUM> and <NUM>.

The foldable electronic device <NUM> may include at least one electronic component that is disposed below at least a partial area of the display <NUM> or disposed to be exposed through an opening (e.g., a punch hole) provided in at least a portion of the display <NUM>. The at least one electronic component may include at least one sensor module <NUM> that is disposed in at least one camera module <NUM> (e.g., a front camera module) exposed through the opening of the display <NUM> and/or on a rear surface of the display <NUM> to detect an external environment. The at least one camera module <NUM> may be disposed on the first display area DA1, or may be disposed in the second display area DA2 and/or the third display area DA3.

The at least one sensor module <NUM> may include at least one of a proximity sensor, an illumination sensor, an iris recognition sensor, an ultrasonic wave sensor, a fingerprint recognition sensor, a distance detection sensor (a time of flight (TOF) sensor), or an indicator. Alternatively, the at least one electronic component may be disposed in the second display area DA2 and/or the third display area DA3. For example, the electronic device <NUM> is at least one sensor module <NUM>, and may include two or more proximity sensors disposed in the first display area DA1 with reference to the first axis X1 of rotation. As another alternative, the proximity sensor may be disposed in the second display area DA2 and/or the third display area DA3. As another alternative, when the electronic device is operated in an out-folding scheme, one proximity sensor may be disposed in each of the first display area DA1, the second display area DA2, and the third display area DA3. The electronic device <NUM> may also include at least one proximity/illumination sensor that is disposed in a gap space while avoiding the pen accommodating part (e.g., the pen accommodating part <NUM> of <FIG>) when a gap is present between the first edge <NUM> and the second edge <NUM> due to the pen accommodating part in the electronic device <NUM> during a folding operation. The electronic device <NUM> may include a receiver <NUM> disposed through at least a portion of the first housing <NUM>. Alternatively , the receiver <NUM> may be disposed in the second housing <NUM> and/or the third housing <NUM>. The receiver <NUM> may also include a piezoelectric speaker disposed under the display <NUM> in at least one of the first housing <NUM>, the second housing <NUM>, or the third housing <NUM>. The foldable electronic device <NUM> may include an interface connector port, an ear jack hole, an external speaker module, an external card (a subscriver identity module (SIM) card, a universal subscriber identity module (UIM) card, or an secure digital (SD) card) tray, or at least one key button disposed through the first housing <NUM>, the second housing <NUM>, and/or the third housing <NUM>. The foldable electronic device <NUM> may further include at least one camera module <NUM> disposed through the second surface <NUM> of the first housing <NUM> to be exposed to the outside in an unfolded state.

The foldable electronic device <NUM> may be disposed such that all of the display areas DA1, DA2, and DA3 are exposed to the outside in a folded state through a first folding scheme (e.g., the out-folding scheme). The foldable electronic device <NUM> may be disposed such that none of the display areas DA1, DA2, and DA3 is exposed to the outside in a folded state through a second folding scheme (e.g., the in-folding scheme). The foldable electronic device <NUM> may be disposed such that any one of the display areas DA1, DA2, and DA3 is disposed to the outside in a folded state through a complex folding scheme. The foldable electronic device <NUM> may include a pen accommodating part <NUM> that is disposed through the first edge <NUM> that is a portion of the second side member <NUM> of the second housing <NUM> and the second edge <NUM> that is a portion of the third side member <NUM> of the third housing <NUM>, which are disposed to face each other in a folded state of the foldable electronic device <NUM> to accommodate an electronic pen.

<FIG> illustrates when an electronic pen <NUM> is disposed in the pen accommodating part <NUM> of the foldable electronic device <NUM> that is operated in the first folding scheme (e.g., the out-folding type) according to an embodiment.

Referring to <FIG>, and with reference to elements in <FIG> and <FIG>, in the folded state of the foldable electronic device <NUM>, the second housing <NUM> may be operated such that a second display area DA2 faces a direction that is opposite to a portion of a first display area DA1, and the third housing <NUM> may be operated such that a third display area DA3 faces a direction that is opposite to a portion of the first display area DA1. The foldable electronic device <NUM> may be disposed such that the first edge <NUM> that is a portion of the second side member <NUM> of the second housing <NUM> and the second edge <NUM> that is a portion of the third side member <NUM> of the third housing <NUM> may face each other in the folded state of the foldable electronic device <NUM>. The first edge <NUM> and the second edge <NUM> may be spaced apart from each other by a predetermined distance, and the spaced space may be applied to the pen accommodating part <NUM>. Accordingly, the spaced distance d1 between the first edge <NUM> and the second edge <NUM> that define the pen accommodating part <NUM> may be determined according to the thickness or the outer diameter of the electronic pen <NUM>.

The foldable electronic device <NUM> may include an electronic pen <NUM> disposed to be attached or detached through the pen accommodating part <NUM>. When mounted in the pen accommodating part <NUM>, the electronic pen <NUM> may correspond to an outer surface (e.g., the third surface <NUM> and/or the fourth surface <NUM> of the second housing <NUM> or the fifth surface <NUM> and/or the sixth surface <NUM> of the third housing <NUM>) of the foldable electronic device <NUM> or may be disposed to be lower than the outer surface of the foldable electronic device <NUM>. The electronic pen <NUM> may also be disposed to protrude at least partially farther than the foldable electronic device <NUM> in the pen accommodating part <NUM>.

<FIG> illustrates an internal configuration of a foldable electronic device <NUM> when an electronic pen <NUM> is disposed in a pen accommodating part <NUM> according to an embodiment, and <FIG> is a partially cross-sectional view illustrating an internal configuration of a foldable electronic device <NUM> when an electronic pen <NUM> is disposed in a pen accommodating part <NUM> according to an embodiment.

Referring to <FIG> and <FIG>, a foldable electronic device <NUM> provides a fixing structure for fixing the location of the electronic pen <NUM> such that any unintentional movement of the electronic pen <NUM> disposed in the pen accommodating part <NUM> is prevented. The foldable electronic device <NUM> may include a first magnetic force generating member <NUM> disposed around the first edge <NUM> in an interior space <NUM> of the second housing <NUM>, and a second magnetic force generating member <NUM> disposed around the second edge <NUM> in an interior space <NUM> of the third housing <NUM>. Each of the magnetic force generating members <NUM> and <NUM> may include a magnet.

The electronic pen <NUM> may include a first magnetic force reaction member <NUM> disposed in a location where the first magnetic force reaction member <NUM> is affected by a magnetic force of the first magnetic force generating member <NUM> when the electronic pen is disposed in the pen accommodating part <NUM> and a second magnetic force reaction member <NUM> disposed at a location at which the second magnetic force reaction member <NUM> is affected by a magnetic force of the second magnetic force generating member <NUM> in an interior space thereof. Each of the first magnetic force reaction member <NUM> and the second magnetic force reaction member <NUM> may include an iron piece or a magnet that reacts with the magnetic force of the magnetic force generating members <NUM> and <NUM>. When being formed of a magnet, the first magnetic force reaction member <NUM> and the second magnetic force reaction member <NUM> may be disposed in consideration of arrangement of polarities which applies attractive forces with the magnets used for the first magnetic force generating member <NUM> and the second magnetic force generating member <NUM>.

The electronic pen <NUM> may be firmly fixed to the pen accommodating part <NUM> by disposing the first magnetic force generating member <NUM> and the second magnetic force generating member <NUM> at locations that are symmetrical to each other in inclined directions with respect to the pen accommodating part <NUM>. The magnetic force generating members may be disposed at locations of the first edge and the second edge, which face each other. One or more magnetic force generating members may be disposed in any one of the first edge <NUM> or the second edge <NUM>. Four or more magnetic force generating members and four or more magnetic force reaction members may be disposed. In this case, two magnetic force generating members that are spaced apart from each other by a predetermined distance may be disposed in each of the edges <NUM> and <NUM>.

Each of the first magnetic force generating member <NUM> and the second magnetic force generating member <NUM> may include an electromagnet that generates a magnetic force as a selective voltage is applied to the electromagnet. Each of the first magnetic force reaction member <NUM> and the second magnetic force reaction member <NUM> may include a magnet, and when it is necessary to separate the electronic pen <NUM> from the pen accommodating part <NUM>, the electronic pen <NUM> may be pushed to the outside through a repulsive force against the magnet, which is generated as a voltage is applied to the electromagnet through an external input (e.g., a key button). In contrast, when the electronic pen <NUM> is mounted in the pen accommodating part <NUM>, the attachment state of the electronic pen <NUM> to the pen accommodating part <NUM> may be maintained by an attractive force, by which the iron core of the electromagnet is pulled by the magnetic force of the magnet by interrupting the power of the electromagnet.

<FIG> illustrates a configuration of a foldable electronic device <NUM> according to an embodiment.

Referring to <FIG>, the foldable electronic device <NUM> may include a first magnetic force detecting sensor <NUM> disposed in the first edge <NUM> of the second housing <NUM> to face the second magnetic force generating member <NUM> disposed in the second edge <NUM> of the third housing <NUM> in the folded state of the foldable electronic device <NUM>, and a second magnetic force detecting sensor <NUM> disposed in the second edge <NUM> of the third housing <NUM> to face the first magnetic force generating member <NUM> disposed in the first edge <NUM> of the second housing <NUM>. Each of the first magnetic force detecting sensor <NUM> and the second magnetic force detecting sensor <NUM> may include a Hall sensor.

The electronic device <NUM> may detect a folding operation of the electronic device <NUM> through the first magnetic force detecting sensor <NUM> and the second magnetic force detecting sensor <NUM>. The electronic device <NUM> may detect a mounting state of the electronic pen <NUM> accommodated in the pen accommodating part <NUM> through the first magnetic force detecting sensor <NUM> and the second magnetic force detecting sensor <NUM>. For example, even though any one of the magnetic force detecting sensors <NUM> and <NUM> detects another magnetic force in the unfolded state of the electronic device <NUM>, a folding operation error can be prevented through the remaining magnetic force detecting sensors.

<FIG> illustrates when an electronic pen <NUM> is disposed in the pen accommodating part <NUM> of the foldable electronic device <NUM> according to an embodiment. <FIG> illustrates a foldable electronic device when a display is viewed from the top in a folded state of the foldable electronic device according to an embodiment. <FIG> is a partially cross-sectional view illustrating an operational state of a foldable electronic device <NUM> according to an embodiment.

Referring to <FIG>, <FIG>, and <FIG>, a foldable electronic device <NUM> may include a first recess <NUM> disposed in the first edge <NUM> of the second housing <NUM>, and a second recess <NUM> disposed in the second edge <NUM> of the third housing <NUM>. The electronic pen <NUM> may maintain an attachment state in the pen accommodating part <NUM> through the structural shapes of the first recess <NUM> and the second recess <NUM>, in addition to the magnetic forces. The first recess <NUM> may be lower than an outer surface of the first edge <NUM>, and may have a shape and a length by which at least a portion of the outer surface of the electronic pen <NUM> may be accommodated. Similarly, the second recess <NUM> may be lower than an outer surface of the second edge <NUM>, and may have a shape and a length by which at least a portion of the outer surface of the electronic pen <NUM> may be accommodated. The first recess <NUM> and the second recess <NUM> may have a longer length than the length of the electronic pen <NUM>. The first recess <NUM> and the second recess <NUM> may be formed of a material that is different from the material of the second side member <NUM> and the third side member <NUM>. For example, the second side member <NUM> and the third side member <NUM> may be formed of a metallic member, and the first recess <NUM> and the second recess <NUM> may be formed of a polymer that is injection-molded in the metallic member. Alternatively, the first recess <NUM> and the second recess <NUM> may be disposed to have a color that is different from the colors of the surroundings to enhance visibility for secure mounting of the electronic pen <NUM> and an appealing design.

The first recess <NUM> and the second recess <NUM> may be disposed such that the distance d2 between the first edge <NUM> and the second edge <NUM> at a location that is near the display is less than the distance d3 between the first edge <NUM> and the second edge <NUM> at a location that is far from the display <NUM>, in the folded state of the electronic device. The first recess <NUM> and the second recess <NUM> may be disposed such that the distance between the first edge <NUM> and the second edge <NUM> gradually increases as the distance from the display <NUM> increases. Through the shapes of the recesses <NUM> and <NUM>, a gap between the two housings <NUM> and <NUM> is minimized at the part of the display <NUM>, and a size by which the electronic pen <NUM> may be smoothly accommodated may be provided at an opposite part of the display <NUM>.

The foldable electronic device <NUM> may maintain the attachment state of the electronic pen <NUM> in correspondence to the partially folded state of the foldable electronic device <NUM> through the first recess <NUM> and the second recess <NUM>. As illustrated in <FIG>, the electronic pen <NUM> may maintain the attachment state through the second recess <NUM> of the second edge <NUM> even though the foldable electronic device <NUM> is in the partially folded state in which the third housing <NUM> maintains the folded state and the second housing <NUM> is unfolded. In this case, the electronic pen <NUM> may maintain the attachment state in the second recess <NUM> through an attractive force between the second magnetic force generating member <NUM> disposed in the interior space <NUM> of the third housing <NUM> and the second magnetic force reaction member <NUM> of the electronic pen <NUM>. In another embodiment, when only the third housing <NUM> is unfolded, the electronic pen <NUM> may maintain the attachment state in the first recess <NUM> through an attractive force between the first magnetic force generating member <NUM> disposed in the interior space <NUM> of the second housing <NUM> and the first magnetic force reaction member <NUM> of the electronic pen <NUM>.

Since the distance d2 between the first edge <NUM> and the second edge <NUM> may further decrease through the first recess <NUM> and the second recess <NUM> and the electronic pen <NUM> may be accommodated through the recesses <NUM> and <NUM>, the separation of the electronic pen <NUM> can be prevented and the coupling force of the electronic pen <NUM> can be further reinforced in the folded state of the foldable electronic device <NUM> through the first recess <NUM> and/or the second recess <NUM>. Because the electronic pen <NUM> is separated from the first recess <NUM> and remains in the second recess <NUM> through the structural shape of the second recess <NUM> disposed in the third housing <NUM> when only the second housing <NUM> is unfolded, unintentional separation of the electronic pen <NUM> from the pen accommodating part <NUM> can be prevented.

<FIG> is a partially cross-sectional view illustrating a configuration of a foldable electronic device <NUM> according to an embodiment.

Referring to <FIG>, the foldable electronic device <NUM> may have a configuration that is substantially the same as the foldable electronic device of <FIG> and <FIG>, and may be folded in the second folding scheme (e.g., an in-folding scheme) through the first hinge module <NUM> and the second hinge module <NUM>.

Referring to <FIG>, in the folded state of the foldable electronic device <NUM>, the second housing <NUM> may be operated such that the second display area DA2 faces a portion of the first display area DA1, and the third housing <NUM> may be operated such that the third display area DA3 faces a portion of the first display area DA1.

The foldable electronic device <NUM> may be disposed such that the first edge <NUM> that is a portion of the second side member <NUM> of the second housing <NUM> and the second edge <NUM> that is a portion of the third side member <NUM> of the third housing <NUM> may face each other in the folded state of the foldable electronic device <NUM>. The first edge <NUM> and the second edge <NUM> may be spaced apart from each other by a predetermined distance d4, and the pace may be applied to the pen accommodating part <NUM>. As described above, the foldable electronic device <NUM> may accommodate the electronic pen <NUM> in the pen accommodating part <NUM> through the first magnetic force generating member <NUM>, the second magnetic force generating member <NUM>, the first magnetic force reaction member <NUM>, and the second magnetic force reaction member <NUM>.

<FIG> illustrates when an electronic pen is disposed in a pen accommodating part of a foldable electronic device according to an embodiment. <FIG> is a partially cross-sectional view illustrating an operational state of a foldable electronic device according to an embodiment.

Referring to <FIG> and <FIG>, through the second folding scheme, a distance d5 of the pen accommodating part <NUM> between the first edge <NUM> and the second edge <NUM> of the first recess <NUM> and the second recess <NUM> may be further widened. For example, the distance d5 of the pen accommodating part <NUM> may have a size by which at least the electronic pen <NUM> may be accommodated from the outside in the folded state.

The first recess <NUM> and the second recess <NUM> may be disposed such that the distance d5 between the first edge <NUM> and the second edge <NUM> at a location that is far from the display is larger than the distance d6 between the first edge <NUM> and the second edge <NUM> at a location that is near the display <NUM>, in the folded state of the electronic device. For example, the first recess <NUM> and the second recess <NUM> may be disposed such that the distance between the first edge <NUM> and the second edge <NUM> gradually increases as the distance from the display <NUM> increases. Through the shapes of the recesses <NUM> and <NUM>, a gap between the two housings <NUM> and <NUM> is minimized at the part of the display <NUM>, and a size by which the electronic pen <NUM> may be smoothly accommodated may be provided at an opposite part of the display <NUM>.

As described above, the foldable electronic device <NUM> has a structure in which separation of the electronic pen <NUM> may be prevented through the first recess <NUM> and/or the second recess <NUM>, in the folded state. For example, because the electronic pen <NUM> is joined to the first recess <NUM> while being attached to the second recess <NUM> disposed in the third housing <NUM> and is separated only from the first recess <NUM> when only the third housing <NUM> is unfolded, the electronic pen <NUM> is prevented from being unintentionally separated from the foldable electronic device <NUM>.

<FIG> illustrates a foldable electronic device <NUM> having a wireless charging structure according to an embodiment, and <FIG> is a partially sectional view of a foldable electronic device <NUM> having a wireless charging structure according to an embodiment.

Referring to <FIG> and <FIG>, a foldable electronic device <NUM> may have a charging structure for charging a battery included in the electronic pen <NUM>. The foldable electronic device <NUM> may include a first coil member <NUM> disposed around the first edge <NUM> of the second housing <NUM>, and a second coil member <NUM> disposed around the second edge <NUM> of the third housing <NUM>. The first coil member <NUM> may be electrically connected to a first charging circuitry <NUM> disposed in the foldable electronic device <NUM>. The second coil member <NUM> may be electrically connected to a second charging circuitry <NUM> disposed in the foldable electronic device <NUM>. Each of the first coil member <NUM> and the second coil member <NUM> may include a coil member for wireless power transmission and may be independently operated through the first charging circuitry <NUM> and the second charging circuitry <NUM>. Because the batteries may be independently disposed for the housings <NUM> and <NUM> through independent arrangements of the charging circuits, power loss by lines can be minimized by separating the charging circuitries and minimizing the lengths of the power lines between the batteries and the charging circuits. Alternatively, the first coil member <NUM> and the second coil member <NUM> may be controlled together through one charging circuit. The charging circuitry may be disposed in any of the housings.

The electronic pen <NUM> may include a third coil member <NUM> disposed at a location for receiving wireless power between the first coil member <NUM> and the second coil member <NUM> when the electronic pen <NUM> is disposed in the pen accommodating part <NUM>. The third coil member <NUM> may include a coil member for wireless power reception. The third coil member <NUM> may be disposed at a location at which the third coil member <NUM> may be arranged with the first coil member <NUM> and/or the second coil member <NUM> side by side such that the third coil member <NUM> may perform wireless charging with the first coil member <NUM> and/or the second coil member <NUM> through the above-described fixing structure of the magnetic force generating members <NUM> and <NUM> and the magnetic force reaction members <NUM> and <NUM>.

Each of the first coil member <NUM>, the second coil member <NUM>, and the third coil member <NUM> may include a solenoid type coil, or may include a flat plate type coil of flexible printed circuit board (FPCB) type. In another embodiment, the third coil member may include a solenoid type coil, and each of the first coil member <NUM> and the second coil member <NUM> may include a flat plate type coil of an FPCB type. For example, it may be important for the first coil member <NUM>, the second coil member <NUM>, and the third coil member <NUM> to be disposed at locations where the third coil member <NUM> may be arranged with the first coil member <NUM> and/or the second coil member <NUM> side by side such that the third coil member <NUM> may perform wireless charging with the first coil member <NUM> and/or the second coil member <NUM> through the above-described fixing structure of the magnetic force generating members <NUM> and <NUM> and the magnetic force reaction members <NUM> and <NUM> when the electronic pen <NUM> is accommodated in the pen accommodating part <NUM>.

The electronic device <NUM> may include a charging coil member disposed in the first edge <NUM> of the second housing <NUM> or the second edge <NUM> of the third housing <NUM>. The electronic device <NUM> may induce a user to accommodate the electronic pen in the corresponding edge by displaying a charging alarm on the display around the edge, in which the coil member is located, when the electronic pen <NUM> is accommodated in the pen accommodating part or when the remaining battery power of the electronic pen is low. At least one magnetic force generating member <NUM> or <NUM> may be disposed in the edge in which the charging coil is present.

<FIG> illustrates a block diagram of a foldable electronic device <NUM> for wireless charging of an electronic pen <NUM> according to an embodiment.

Referring to <FIG>, the foldable electronic device <NUM> may include a battery <NUM> disposed in the first housing <NUM>, a first magnetic force detecting sensor <NUM> configured to detect a magnetic force of the first magnetic force generating member <NUM> disposed in the second housing <NUM> in the folded state of the foldable electronic device <NUM>, a second magnetic force detecting sensor <NUM> (e.g., a Hall sensor) configured to detect a magnetic force of the second magnetic force generating member <NUM> disposed in the third housing <NUM>, and at least one processor <NUM> configured to receive folding state information of the second housing <NUM> and/or the third housing <NUM> based on sensing information of the first magnetic force detecting sensor <NUM> and the second magnetic force detecting sensor <NUM>. The battery <NUM> may be individually disposed in the second housing <NUM> and/or the third housing <NUM> in parallel. The processor <NUM> may detect the folding state of the second housing <NUM> and/or the third housing according to the sensing information of the first magnetic force detecting sensor <NUM> and/or the second magnetic force detecting sensor <NUM>. The electronic device <NUM> may detect the folding state through another sensor (e.g., a gyro sensor or an illumination sensor) disposed inside the electronic device <NUM>. The processor <NUM> may determine a mounting state of the electronic pen <NUM> based on the intensity (e.g., a voltage change detection signal in a charging circuitry corresponding to a magnetic field signal received by the coil member) of a magnetic field signal received by at least one coil member <NUM> or <NUM>, which has been received through the first charging circuitry <NUM> and/or the second charging circuitry <NUM>. A mounting state of the electronic pen <NUM> may also be determined by detecting the magnetic force of the magnet used as a magnetic force reaction member embedded in the electronic pen <NUM> with a magnetic force detecting sensor. The processor <NUM> may determine a charging mode (e.g., a general charging mode or a high-speed charging mode) through a third charging circuitry <NUM> disposed in the electronic pen <NUM> by controlling the first charging circuitry <NUM> and the second charging circuitry <NUM> based on the intensity of the magnetic field signal received by the at least one coil member <NUM> or <NUM>. The processor <NUM> may determine a charging mode of the electronic pen <NUM> based on magnetic force detection information detected through the first magnetic force detecting sensor <NUM> or the second magnetic force detecting sensor <NUM> and folding state information of the second housing <NUM> or the third housing <NUM>. The processor <NUM> may control the foldable electronic device <NUM> to enter the high-speed charging mode only when both housings <NUM> and <NUM> are folded even though the mounting state of the electronic pen <NUM> is recognized through the plurality of coil members <NUM> and <NUM>.

<FIG> illustrates a wireless charging procedure for an electronic pen <NUM> according to an embodiment. <FIG> is a configuration of a part of a foldable electronic device <NUM> illustrating flows of a current for high-speed charging of an electronic pen <NUM> according to an embodiment.

Referring to <FIG> and <FIG>, in step <NUM>, the foldable electronic device <NUM> may detect a mounting state of the electronic pen <NUM> based on the intensity of a magnetic field signal of a threshold value or more, which has been received through at least one coil member <NUM> or <NUM>. In the foldable electronic device <NUM>, if the magnetic force generating member <NUM> or <NUM> included in the at least one housing <NUM> or <NUM> and the magnetic force reaction member <NUM> or <NUM> of the electronic pen <NUM> are attached to each other, the third coil member <NUM> of the electronic pen <NUM> and the coil member <NUM> or <NUM> of the at least one housing <NUM> or <NUM> may be arranged on one axis.

In step <NUM>, when the foldable electronic device <NUM> detects at least one charging coil signal, the electronic pen <NUM> may be charged in the general charging mode. The processor <NUM> of the foldable electronic device <NUM> may measure the intensities of the magnetic field signals received by the coil members <NUM> and <NUM> of the plurality of arranged coil members (e.g., the at least one housing <NUM> or <NUM>) and the third coil member <NUM> of the electronic pen <NUM>, and may recognize a mounting state of the electronic pen <NUM> based on the measurement result of the threshold value or more. The processor <NUM> of the foldable electronic device <NUM> may determine the coil member <NUM> or <NUM> of the at least one housing <NUM> or <NUM> as a coil for wireless power transmission in the general charging mode, and may determine the third coil member <NUM> of the electronic pen <NUM> as a coil for wireless power reception. The foldable electronic device <NUM> may transmit wireless power through the at least one coil member <NUM> or <NUM> without considering an input direction of a current in the general charging mode.

In step <NUM>, the foldable electronic device <NUM> may provide the general charging mode and the high-speed charging mode based on a dual folding state in which both housings <NUM> and <NUM> are folded. The foldable electronic device <NUM> may determine a dual folding state based on the intensities of magnetic field signals of a threshold value or more, which have been measured through the first magnetic field detecting sensor <NUM> and the second magnetic field detecting sensor <NUM> disposed in the first housing <NUM>. The foldable electronic device <NUM> may control the foldable electronic device <NUM> to be operated in the general charging mode only when neither of the two housings <NUM> and <NUM> is folded even though the mounting state of the electronic pen <NUM> is recognized through the plurality of coil members <NUM> and <NUM>.

In step <NUM>, as illustrated in <FIG>, when both the two housings <NUM> and <NUM> are in a folded state (a dual folding state), the foldable electronic device <NUM> may provide a high-speed charging mode in which an input direction of a current is controlled, such that the direction of a magnetic field E1 generated by the first coil member <NUM> of the second housing <NUM> is identical to the direction of a magnetic field E2 generated by the second coil member <NUM> of the third housing <NUM>. In another embodiment, the foldable electronic device <NUM> may execute the high-speed charging mode when a charging operation is detected when the foldable electronic device <NUM> is mounted on a charging or wireless charging pad through a wired charging cable even though both of the housings <NUM> and <NUM> are not folded.

<FIG> is a partially cross-sectional view of a foldable electronic device <NUM> illustrating an automatic opening/closing configuration of a housing <NUM> through an electronic pen <NUM> according to an embodiment.

Referring to <FIG>, the foldable electronic device <NUM> may include an automatic opening/closing device, such as a rotary motor <NUM> and an actuator controller <NUM>, which automatically releases the folding state of the at least one housing <NUM> through an input of a button <NUM> disposed in the electronic pen <NUM>. The electronic pen <NUM> may transmit an input (e.g., an input through a mechanical key button, a touch input through a touch pad (e.g., a double tab or a long tab), a force sensor input, an input through an ultrasonic sensor, or an input through a fingerprint sensor) signal of a button <NUM> disposed inside the electronic pen <NUM>, to the foldable electronic device <NUM>, through a wireless communication device (e.g., a short-range wireless communication circuit). The foldable electronic device <NUM> may control the automatic opening/closing device connected to the hinge module <NUM> by receiving a signal received from the electronic pen <NUM> through the wireless communication device <NUM> (e.g., a short-range wireless communication circuit).

The automatic opening/closing device may perform an automatic opening/closing operation based on an attachment state of the electronic pen <NUM>. For example, in the folded state, when the electronic pen <NUM> is separated from the pen accommodating part, an automatic opening/closing operation may be performed by recognizing an off state of a magnetic field signal of a wireless charging coil. Similarly, in the unfolded state, when the electronic pen <NUM> is accommodated in the pen accommodating part, an automatic opening/closing operation may be performed. The operations may be performed through setting of a user.

<FIG> is a perspective view of a foldable electronic device <NUM> having an electronic pen <NUM> according to an embodiment, and <FIG> is a partially sectional view of a foldable electronic device <NUM> having an electronic pen <NUM> according to an embodiment.

Referring to <FIG> and <FIG>, a foldable electronic device <NUM> may include an asymmetric recess structure in which a recess <NUM> is provided only in the edge <NUM> of one housing <NUM>. For example, the foldable electronic device <NUM> may include a second housing <NUM> having a first width W1 connected to one side of the first housing <NUM>, and a third housing <NUM> having a second width W2 that is larger than the width W1, which is connected to an opposite side of the first housing <NUM>. The foldable electronic device <NUM> may have a recess structure, into which the electronic pen <NUM> may be inserted in a lateral direction. The third housing <NUM> may include a bezel area (e.g., a black matrix (BM) area) having a distance d7, by which a recess <NUM>, in which the electronic pen <NUM> is accommodated through the second edge <NUM> may be provided. Accordingly, the foldable electronic device <NUM> may further include an optical input device such as a camera <NUM> by using a bezel area that is relatively widened. Then, the electronic pen <NUM> may be mounted on a recess structure, into which the electronic pen <NUM> may be inserted from a side direction of the foldable electronic device <NUM>.

The foldable electronic device <NUM> may be configured such that at least one magnetic force generating member <NUM> or <NUM> (e.g., a magnet) is disposed only in the third housing <NUM> in correspondence to the recess <NUM>. Alternatively, each of the magnetic force generating members <NUM> and <NUM> may include an electromagnet that generates a magnetic force through application of a voltage. In this case, the magnetic force reaction members <NUM> and <NUM> (e.g., magnets) of the electronic pen <NUM> may be disposed at a location where a repulsive force is generated when a voltage is applied to the electromagnet. Accordingly, as a voltage is applied to the electromagnet when the electronic pen <NUM> is mounted in the recess <NUM>, the electronic pen <NUM> may be naturally pushed to the outside of the foldable electronic device <NUM>.

As described above, an electronic device according to an embodiment includes a foldable housing including a first housing, a second housing connected to one side of the first housing to be rotatable through a first hinge module and disposed to at least partially face the first housing in a folded state, and a third housing connected to an opposite side of the first housing to be rotatable through a second hinge module and disposed to at least partially face the first housing in a folded state, the foldable housing includes a pen accommodating part defined through a spaced space between a first edge of the second housing and a second edge of the third housing, a flexible display extending from at least a portion of the second housing to at least a portion of the third housing through the first housing, and an electronic pen at least partially accommodated in the pen accommodating part and including at least one magnetic force reaction member in an interior space thereof, the electronic device includes at least one magnetic force generating member disposed around the first edge of the second housing and/or the second edge of the third housing, and when the electronic pen is mounted in the pen accommodating part, the location of the electronic pen may be maintained through the magnetic force reaction member.

The pen accommodating part may be configured such that the electronic pen corresponds to an outer surface of the electronic device or is lower than the outer surface of the electronic device.

The at least one magnetic force generating member may include a first magnetic force generating member disposed around the first edge of the second housing, and a second magnetic force generating member disposed around the second edge of the third housing.

When the electronic pen is accommodated in the pen accommodating part, the at least one magnetic force generating member may include a first magnetic force reaction member disposed at a location at which the first magnetic force reaction member reacts a magnetic force of the first magnetic force generating member, and a second magnetic force reaction member disposed at a location at which the second magnetic force reaction member reacts a magnetic force of the second magnetic force generating member.

The first magnetic force generating member and the second magnetic force generating member may be disposed to be symmetrical to each other in inclined directions with respect to the pen accommodating part.

The at least one magnetic force generating member may include a magnet or an electromagnet.

The at least one magnetic force reaction member may include a magnet or a metal member that reacts with a magnetic force.

The electronic device may further include a first recess disposed through at least a portion of the first edge, and a second recess disposed through at least a portion of the second edge, and when the second housing and the second housing contact each other, the pen accommodating part may be disposed through the first recess and the second recess.

The first recess and/or the second recess may have a shape corresponding to an outer surface of the electronic pen.

According to various embodiments, in a folded state of the electronic device, a first distance between the first edge and the second edge at a location that is near the display may be less than a second distance between the first edge and the second edge at a location that is far from the display.

The electronic device may include an out-folding type electronic device in which the flexible display is exposed to the outside, and when any one of the second housing or the third housing is unfolded, the electronic pen may maintain a state in which the electronic pen is attached to the recess of the remaining housing.

The electronic device may include an in-folding type electronic device in which the flexible display is disposed not to be viewed from the outside, and when any one of the second housing or the third housing is unfolded, the electronic pen may maintain a state in which the electronic pen is attached to the recess of the unfolded housing.

As described above, an electronic device according to an embodiment may include a foldable housing including a first housing, a second housing connected to one side of the first housing to be rotatable through a first hinge module and disposed to at least partially face the first housing in a folded state, and a third housing connected to an opposite side of the first housing to be rotatable through a second hinge module and disposed to at least partially face the first housing in a folded state, the foldable housing may include a pen accommodating part defined through a spaced space between a first edge of the second housing and a second edge of the third housing in the folded state, a flexible display extending from at least a portion of the second housing to at least a portion of the third housing through the first housing, a wireless charging module disposed in an interior space of the electronic device, the wireless charging module including a first coil member disposed to a vicinity of the first edge of the second housing and connected to a first charging circuitry, and a second coil member disposed to a vicinity of the second edge of the third housing and connected to a second charging circuitry, and an electronic pen at least partially accommodated in the pen accommodating part and including at least one third coil member connected to a third charging circuitry in an interior space thereof,
wherein when the electronic pen is mounted in the pen accommodating part, the third coil member is disposed at a location at which the third coil member maintains in an arrangement state in which the third coil member performs a wireless charging operation with the first coil member and/or the second coil member.

The first coil member, the second coil member, and/or the third coil member may include a solenoid type coil or an FPCB type flat plate coil.

The electronic device may further include a processor, and the processor may detect whether the electronic pen is mounted in the pen accommodating part based on the intensity of an electromagnetic signal received from the first coil member and/or the second coil member.

The electronic device may further include at least one sensor configured to detect a folding state of the electronic device.

The processor may detect a folding state of the second housing and/or the third housing through the at least one sensor.

The processor may control a charging mode of the electronic pen through the first charging circuitry and/or the second charging circuit, based on the folding state of the second housing and/or the third housing through the at least one sensor.

When detecting that both of the second housing and the third hosing are in the folded state, the processor may control the electronic pen to be charged in a high-speed charging mode through the first charging circuitry and/or the second charging circuit.

When detecting that only any one of the second housing and the third hosing is in the folded state, the processor may control the electronic pen to be charged in a general charging mode through the first charging circuitry and/or the second charging circuit.

Claim 1:
An electronic device comprising:
a foldable housing comprising:
a first housing (<NUM>);
a second housing (<NUM>) connected to one side of the first housing (<NUM>) and being rotatable through a first hinge module (<NUM>) and disposed to at least partially face the first housing (<NUM>) in a folded state; and
a third housing (<NUM>) connected to an opposite side of the first housing (<NUM>) and being rotatable through a second hinge module (<NUM>) and disposed to at least partially face the first housing (<NUM>) in a folded state,
wherein, in a folded state, the foldable housing further comprises:
a pen accommodating part (<NUM>) defined through a spaced space between a first edge (<NUM>) of the second housing (<NUM>) and a second edge (<NUM>) of the third housing (<NUM>);
a flexible display (<NUM>) extending from at least a portion of the second housing (<NUM>) to at least a portion of the third housing (<NUM>) through the first housing (<NUM>); and
an electronic pen (<NUM>) at least partially accommodated in the pen accommodating part (<NUM>) and comprising at least one magnetic force reaction member (<NUM>, <NUM>) inside the electronic pen (<NUM>),
wherein the electronic device further comprises at least one magnetic force generating member (<NUM>, <NUM>) disposed around the first edge (<NUM>) of the second housing (<NUM>) and/or the second edge (<NUM>) of the third housing (<NUM>), and
wherein, when the electronic pen (<NUM>) is mounted in the pen accommodating part (<NUM>), the location of the electronic pen (<NUM>) is maintained through the magnetic force reaction member (<NUM>, <NUM>).