Electronic device and method for detecting touch input thereof

An electronic device includes a first display panel that detects a touch input; a driving circuit electrically connected to the first display panel and that transfers at least one driving signal for measuring a touch signal to the first display panel; and a processor connected to the driving circuit, wherein the processor is configured to: display a screen by activating a first area which is at least a part of areas of the first display panel; control the driving circuit to measure the touch signal in the first area based on a first period; detect a first event related to a change in an activated area of the areas of the first display panel to a second area; change the first period to a second period different from the first period, based on the first event; and measure the touch signal in the second area based on the second period.

BACKGROUND

1. Technical Field

Various embodiments of the present disclosure relate to an electronic device, for example, a method of controlling detection of a touch input by an electronic device including a touch screen panel.

2. Background Art

Electronic devices including touch screens have been actively introduced. An electronic device may display a screen including objects on the touch screen. A user may touch one point on the touch screen with a finger or a stylus pen, and the electronic device may detect the location of the touch on the touch screen. The electronic device may perform a function related to an object corresponding to the detected location, and accordingly, a user-friendly user interface which allows the user to control the electronic device through a simple touch may be provided.

A touch panel included in the touch screen may include a plurality of electrodes. The electrodes may be conductors and thus mutual capacitance may be formed between the electrodes. For example, when the touch panel is implemented in a capacitive type, the electronic device may apply a driving signal to at least one electrode, that is, a driving electrode of the touch panel, and driving electrodes may form an electric field. Other electrodes may output electric signals on the basis of the electric field formed by the driving electrodes. Meanwhile, when the user places his/her finger near at least one electrode, the size of the electric signal output from the at least one electrode located near the finger may be changed. The electronic device may detect a change in mutual capacitance on the basis of the changed size and detect the location of the touch on the basis of electrodes of which mutual capacitance is changed.

Alternatively, the electronic device may measure self-capacitance for each electrode. The electronic device may determine the location of the touch on the basis of the measured self-capacitance or determine information other than the touch identified on the basis of mutual capacitance.

SUMMARY

In the case of a current touch input measurement scheme, there is no problem in the conventional situation in which the number of electrodes are equally maintained, but, in a situation in which the number of electrodes of a screen which should be managed such as a stretchable (slidable) display or a flexible display increases or decreases, the corresponding change should be supported, and a method of smoothly measuring a touch input within a predetermined entire time when the number of electrodes is changed is needed.

An electronic device according to various embodiments of the present disclosure includes a first display panel configured to detect a touch input, a driving circuit electrically connected to the first display panel and configured to transfer at least one driving signal for measuring a touch signal to the first display panel, and a processor operatively connected to the driving circuit. The processor is configured to display a screen by activating a first area which is at least a part of areas of the first display panel; control the driving circuit to measure a touch signal in the first area based on a first period; detect a first event related to a change in an activated area of the areas of the first display panel to a second area; change the first period to a second period different from the first period, based on the first event; and measure a touch signal in the second area based on the second period.

According to various embodiments, it is possible to actively secure a uniform touch input measurement result in accordance with various state changes of a display panel and guarantee reliability of a touch display panel.

DETAILED DESCRIPTION

FIG.2is a perspective view of the electronic device according to various embodiments.

FIG.3is a perspective view of the electronic device according to various embodiments.

FIG.2is a perspective view illustrating a first state (e.g., a closed state or a roll-in state) of the electronic device101.

FIG.3is a perspective view illustrating a second state (e.g., open state or a roll-out state) of the electronic device101.

Referring toFIGS.2and3, the electronic device101according to various embodiments may include a first housing210and a second housing220. According to an embodiment, the second housing220may move in a predetermined direction, for example, a first direction (+X direction) from the first housing210. For example, the second housing220may slide and move in the first direction (+X direction) by a predetermined distance from the first housing210. According to an embodiment, the second housing220may go and return from one part of the first housing210within a predetermined distance range in the first direction (+X direction).

In various embodiments of the present disclosure, a state in which the second housing220slides and moves from the first housing210in the first direction (+X direction) may be defined as a second state (e.g., an expanded state or a slide-out state) of the electronic device101. In various embodiments of the present disclosure, the second state of the electronic device101may be defined as a state in which a second part230bof a display (e.g., a first display panel230) is visually exposed to the outside.

In various embodiments of the present disclosure, a state in which the second housing220slides and moves in a direction towards the first housing210, for example, a second direction (−X direction) opposed to the first direction (+X direction) may be defined as a first state (e.g., a contracted state or a slide-in state) of the electronic device101. In various embodiments of the present disclosure, the first state of the electronic device101may be defined as a state in which the second part230bof the first display panel230is not visually exposed to the outside.

In various embodiments, the first state may be referred to as a first shape, and the second state may be referred to as a second shape. For example, the first shape may include a normal state, a contracted state, or a closed state, and the second shape may include an open state. Further, in an embodiment, the electronic device101may make a third state (e.g., a middle state) between the first state and the second state. For example, the third state may be referred to as a third shape, and the third shape may include a free stop state.

In mutual switching of the electronic device101between the second state and/or the first state, the electronic device101according to various embodiments of the present disclosure may be manually switched by the control of the user or may be automatically switched through a driving module disposed within the first housing210or the second housing220. According to an embodiment, an operation of the driving module may be triggered on the basis of a user input. According to an embodiment, a user input for triggering the operation of the driving module may include a touch input, a force touch input, and/or a gesture input through the first display panel230. In another embodiment, the user input for triggering the operation of the driving module may include a voice input or an input of a physical button of the first housing210or the second housing220exposed to the outside. According to an embodiment, the driving module may be driven in a semiautomatic type such that the operation thereof is performed when the manual control of the user by external force is detected.

According to an embodiment, the electronic device101may be referred to as a “slidable electronic device” as the second housing220is designed to slide and move or a “rollable electronic device” as at least a part of the first display panel230is designed to be rolled into the second housing220(or the first housing210) on the basis of the slide movement of the second housing220.

According to an embodiment, in the electronic device101, the second housing200may be coupled to the first housing210to be at least partially slidable and movable from the first housing210. According to an embodiment, the coupling form between the first housing210and the second housing220is not limited to the form and coupling illustrated inFIGS.2and3, and may be implemented by combination and/or coupling of other shapes or components.

According to an embodiment, the first housing210of the electronic device101may include a first side member210asurrounding another side surface of the electronic device101.

According to an embodiment, the second housing220of the electronic device101may include side members surrounding one side surface of the electronic device101. According to an embodiment, the side members of the second housing220may include a second side member220a, always visually exposed to the outside in the second state and the first state of the electronic device101without being inserted into the inside of the first housing210, and a third side member220binserted into or withdrawn from an inner space of the first housing210through one end of the second housing220.

According to an embodiment, the third side member220bof the second housing220may not be visually exposed to the outside in the first state but may be visually exposed to the outside in the second state.

According to an embodiment, the first display panel230may be disposed to be visually exposed to the outside through a front direction (e.g., +Z direction) of each of the first housing210and the second housing220. According to an embodiment, a display area of the first display panel230may be defined to include a first part230aand a second part230b.

According to an embodiment, the first part230aof the first display panel230may be a display area fixedly and visually exposed to the outside regardless of the second state or the first state of the electronic device101. For example, the first part230aof the first display panel230may be fixed without movement regardless of slide movement of the second housing220.

According to an embodiment, the second part230bof the first display panel230is a display area expanded from one end of the first part230aand may be inserted into the inner space of the second housing220or withdrawn to the outside from the inner space of the second housing220according to the slide movement of the second housing220. According to an embodiment, a hole (not shown) from which or into which the second part230bof the first display panel230is withdrawn or inserted may be disposed to be adjacent to a lateral side in the +X direction of the second housing220. For example, the second part230bof the first display panel230may be withdrawn from or inserted into a boundary part in the +X direction of the second housing220.

According to an embodiment, the second part230bof the first display panel230may be withdrawn from the inner space of the second housing220to the outside in the second state and visually exposed to the outside. According to an embodiment, the second part230bof the first display panel230may be withdrawn to the outside by a length corresponding to a withdrawn length of the second housing220. For example, the second part230bmay be withdrawn to the outside by the length A in accordance with the withdrawn length of the second housing220. When the second housing220is maximally withdrawn, the second part230bmay be withdrawn by the length B. According to an embodiment, the second part230bof the first display panel230may be inserted into the inner space of the second housing220in the first state and may not be visually exposed to the outside.

According to an embodiment, the first display panel230may include a flexible display. For example, the first part230aof the first display panel230may include a flexible display and may be inserted into the inner space of the second housing220in the first state, or the second part230bof the first display panel230may include a flexible display and may be inserted into the inner space of the second housing220in the first state.

According to an embodiment, with respect to a display area of the first display panel230, only the first part230aof the first display panel230may be visually exposed to the outside in the first state.

According to an embodiment, with respect to a display area of the first display panel230, the first part230aand the second part230bof the first display panel230may be visually exposed to the outside in the second state.

According to various embodiments, the electronic device101may include a sensor module and/or a camera module.

According to an embodiment, the sensor module may be disposed below the first display panel230(e.g., the −Z direction from the first display panel230) and detect an external environment on the basis of information (e.g., light) received through the first display panel230. According to an embodiment, the sensor module may include at least one of a receiver, a proximity sensor, an ultrasonic sensor, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, a motor encoder, or an indicator. According to an embodiment, at least some sensor modules of the electronic device101may be visually exposed to the outside through some areas of the first display panel230.

The electronic device (e.g., the electronic device101ofFIG.2) according to various embodiments may include a housing structure (e.g., the first housing210and the second housing220ofFIG.2) and the first display panel230corresponding to a display (e.g., the first display panel230) supported by the housing structure and having a display area of which the size is controlled by movement of at least a part of the housing structure in a first direction, the display area including a first part (e.g., the first part230aofFIG.3) fixedly exposed to the outside regardless of movement of at least a part of the housing structure in the first direction and a second part (e.g., the second part230bofFIG.3) extended from one end of the first part230aand withdrawn from an inner space of the housing structure according to movement of at least a part of the housing structure to be exposed to the outside according to movement of at least a part of the housing structure.

FIG.4is a block diagram of an electronic device according to various embodiments.

Referring toFIG.4, the electronic device101may include a processor120(e.g., the processor120ofFIG.1) and a display module160(the display module160ofFIG.1). The electronic device101may include at least some of the elements and/or the functions of the electronic device101ofFIG.1.

According to various embodiments, the display module160may include a driving circuit161, a first display panel230(e.g., the first display panel230ofFIG.2), and a second display panel350.

According to various embodiments, the first display panel230may visually provide information to the outside of the electronic device101. According to an embodiment, the first display panel230may include a touch sensor configured to detect a touch. According to an embodiment, the first display panel230may include a plurality of electrodes (e.g., conductive coils) and, when a voltage is applied to a transmission (TX) electrode (e.g., a first conductive coil) of the plurality of electrodes, form mutual capacitance with a reception (RX) electrode (e.g., a second conductive coil).

According to various embodiments, the second display panel350may visually provide information to the outside of the electronic device101. According to an embodiment, the second display panel350may include a touch sensor configured to detect a touch. According to an embodiment, the second display panel350may include a plurality of electrodes (e.g., conductive coils) and, when a voltage is applied to a TX electrode (e.g., a first conductive coil) of the plurality of electrodes, form mutual capacitance with an RX electrode (e.g., a second conductive coil).

According to various embodiments, the driving circuit161may apply a driving signal to a display (e.g., the first display panel230and/or the second display panel350) and receive a response signal of the driving signal from the display (e.g., the first display panel230and/or the second display panel350). According to an embodiment, the driving signal may be a signal (e.g., a first driving signal) for detecting a touch input by controlling a display panel. For example, the driving circuit161may apply the first driving signal to at least one transmission electrode (TX electrode) included in the display panel (e.g., the first display panel230and/or the second display panel350) and measure a change in the signal from at least one reception electrode (TX electrode), and the driving circuit161may acquire information on an input location on the display panel by processing the measurement result. The method of measuring the mutual capacitance is only an example and there is no limitation on the measurement method. Alternatively, the operation in which the driving circuit161detects the input location may mean that the driving circuit161measures self capacitance (or a change) of at least one electrode included in the display panel. The driving circuit161may provide the driving signal to at least one electrode included in the display panel and identify charges accumulated in a capacitor corresponding to the electrodes, so as to measure self capacitance of at least one electrode. The method of measuring the self capacitance is only an example and there is no limitation on the measurement method. According to an embodiment, the driving circuit161may apply a driving signal (e.g., voltage) to some electrodes (e.g., first conductive coils) of the display panel and identify an amount of charges of other electrodes (e.g., second conductive coils). According to an embodiment, the driving circuit161may control the display panel to detect a touch input or a hovering input for a specific location of the display panel. For example, driving circuit161may detect the touch input or the hovering input by measuring a change in a signal (e.g., voltage, an amount of light, resistance, or an amount of charges) for the specific location of the display panel. The driving circuit161may provide information on the detected touch input or hovering input (e.g., location, size, pressure, or time) to the processor120. According to an embodiment, at least a portion of the touch circuit (e.g., the driving circuit161) may be included as the part of the driving circuit161or the display panel or as the part of another element (e.g., the auxiliary processor123ofFIG.1) disposed at the outside of the display module160

According to various embodiments, the processor120may process calculations or data related to the control and/or communication of respective elements of the electronic device101. The processor120may include at least some of the elements and/or functions of the processor120ofFIG.1. The processor120may be operatively, electrically, and/or functionally connected to elements of the electronic device101such as the display module160. There is no limitation on the type and/or amount of the operations, calculations, and data processing which can be performed by the processor120. As merely an example, the present disclosure describes a method of driving the electronic device101and elements and functions of the processor120related to an operation of performing the method.

According to various embodiments, the processor120may activate at least some areas (e.g., the first area) of the display panel (the first display panel230or the second display panel350). According to an embodiment, the processor120may display the screen of the electronic device101through the activated area of the display panel. According to an embodiment, the first area may include an area of the display (e.g., the first display panel230) of the electronic device101exposed to the outside. For example, in the case of the electronic device101ofFIG.3, a part exposed to the outside among a first part (e.g., the first part230aofFIG.3) and a second part (e.g., the second part230bofFIG.3) of the first display panel230may be included in the first area.

According to various embodiments, the processor120may measure a touch input signal on the display panel. Measurement of the touch signal may include measurement of the location of the touch input on the display panel. According to an embodiment, the processor120may simultaneously or sequentially measure touch signals for predetermined locations on the display panel. Methods of measuring the touch signal may include a capacitive method, an ultrasonic method, and an infrared method, but are not limited to one thereof. In the present disclosure, description is made on the capacitive method for convenience of description. According to an embodiment, the processor120may measure touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charge of a plurality of second conductive coils disposed to cross the first conductive coils. The processor120may measure the touch signal by measuring a change in the amount of charge of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the first area710. For example, the processor120may measure the touch signal on the basis of a first period for each node. The processor120may measure the touch signal of each node during the first period. According to an embodiment, the processor120may measure the touch signal over the entire first area within a predetermined time. The processor120may determine the first period on the basis of a time designated to the entire first area710and the number of all nodes corresponding to the first area710. According to an embodiment, the processor120may determine the first period on the basis of the size of the first area710. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the first period corresponding to the first area on the basis of the size of the first area.

According to various embodiments, the processor120may detect a first event. The event may include reception of a signal related to a change in the activated area of the display panel. According to an embodiment, the processor120may detect the first event on the basis of whether the activated area of the display panel is changed. According to an embodiment, the processor120may detect the first event on the basis of a change in the withdrawn length of the second housing (e.g., the second housing220ofFIG.3). According to an embodiment, when the electronic device101includes a plurality of displays (e.g., the first display panel230and the second display panel350), the processor120may detect the first event on the basis of the change in the activated display.

According to various embodiments, the processor120may determine a second period for measuring the touch signal on the basis of the first event. According to an embodiment, the activated area of the display panel may be changed according to the first event. For example, the activated area of the display panel may be changed from the first area to a second area when the first event is generated. According to an embodiment, the processor120may determine the second period on the basis of a predetermined time to measure the touch signal for the entire second area and the number of all nodes corresponding to the second area. The predetermined time to measure the touch signal for the entire second area may be the same as the predetermined time for the first area. According to an embodiment, the processor120may determine the second period on the basis of the size of the second area. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the second period corresponding to the second area on the basis of the size of the second area.

According to various embodiments, the processor120may change the first period to the second period and measure the touch signal. According to an embodiment, the processor120may measure the touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charges of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The processor120may measure the touch signal by measuring a change in the amount of charges of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the second area. For example, the processor120may measure the touch signal on the basis of the second period for each node. According to an embodiment, when a frame rate of the display panel is changed, the processor120may change the touch signal measurement period from the first period to the second period. The processor120may measure the touch signal for each node on the basis of the second period and identify the location of the touch signal on the basis of the measurement result.

FIG.5illustrates a display panel of the electronic device according to various embodiments.

Referring toFIG.5, a display panel500(e.g., the first display panel230or the second display panel350ofFIG.4) may include a plurality of electrodes. The plurality of electrodes may include conductive coils. The display panel500may include a plurality of first conductive coils510and a plurality of second conductive coils520. The plurality of first conductive coils510may be disposed to cross the plurality of second conductive coils520at one point, respectively. The plurality of first conductive coils510may be disposed to be substantially parallel to each other, and the plurality of second conductive coils520may be disposed to be substantially parallel to each other. According to an embodiment, one of the first conductive coils510and one of the second conductive coils520may cross each other to form one node. For example, a node N1-1may be formed at a point at which a coil TX1, which is one of the plurality of first conductive coils510, and a coil RX1, which is one of the plurality of second conductive coils520, cross each other; a node N2-1may be formed through cross of a coil TX2and the coil RX1; and a node N1-2may be formed through cross of the coil TX1and a coil RX2. According to an embodiment, the display panel500may include nodes corresponding to the product of a total number of plurality of first conductive coils510and a total number of plurality of second conductive coils520. The processor (e.g., the processor120ofFIG.4) of the electronic device (e.g., the electronic device101ofFIG.4) may control the driving circuit (e.g., the driving circuit161ofFIG.4) to apply the driving signal (e.g., voltage) to the first conductive coil corresponding to one of the plurality of nodes, read a change in the amount of charges of the second conductive coil corresponding to the corresponding node, and measure the touch signal of the corresponding node. The electronic device101may measure the touch signal of each node by allocating a predetermined period for each predetermined node. According to an embodiment, the plurality of first conductive coils510may be disposed to be substantially parallel to each other at equivalent intervals. According to an embodiment, the plurality of second conductive coils520may be disposed to be substantially parallel to each other at equivalent intervals. According to an embodiment, the plurality of nodes may be disposed at regular intervals with adjacent nodes and may be uniformly distributed to the display panel500.

FIG.6is a graph illustrating characteristics of an RC circuit of the conductive coil of the display according to various embodiments.

Referring toFIG.6, the graph ofFIG.6shows a charging voltage of the conductive coil according to the time when the voltage is applied to the conductive coil. According to various embodiments, an amount of charges may be calculated on the basis of a voltage value of the conductive coil corresponding to the node when the touch signal is measured for each node (e.g., each of the plurality of nodes ofFIG.5). According to an embodiment, the processor (e.g., the processor120ofFIG.4) may calculate the amount of charges when the charging voltage reaches a peak state, that is, on the basis of a saturation voltage value. According to an embodiment, when the touch signal is measured on the basis of the first period (T1), the processor120may apply the voltage to first conductive coils (e.g., the first conductive coils510ofFIG.5) during a first period. In this case, the processor120may calculate the amount of charges on the basis of a ratio of the saturation voltage value to a charging voltage value (V1) corresponding to the time of the first period (T1). According to an embodiment, when the touch signal is measured for a second period (T2), the processor120may apply the voltage to second conductive coils (e.g., the second conductive coils520ofFIG.5) during the second period. In this case, the processor120may calculate the amount of charges on the basis of a ratio of the saturation voltage value to a charging voltage value (V2) corresponding to the time of the second period (T2). According to an embodiment, the processor120may calculate the saturation voltage value on the basis of a time constant (τ). The time constant (τ) may be a unique value determined according to RC characteristics of the conductive coils. The processor120may calculate a saturation voltage value (Vs) on the basis of the time constant (τ) and the measurement voltage (e.g., charging voltage value V1or charging voltage value V2) at the actual application time (e.g., first period T1or second period T2).

According to various embodiments, the processor120may calibrate a time constant (τ) and a saturation voltage (Vs). The processor120may acquire an actual time constant (τ) and saturation voltage (Vs) through calibration. According to an embodiment, when a first event is detected, the processor120may calibrate the time constant (τ) and the saturation voltage (Vs). According to an embodiment, the processor120may measure the charging voltage value V1and the charging voltage value V2for time period T1and time period T2by controlling the driving circuit161and substitute the same into Equation 1 below to calculate the time constant (τ) and the saturation voltage (Vs).

In Equation 1, e denotes a natural constant, t denotes a voltage application time, R denotes resistance of a conductive coil, and C denotes capacitance, the time constant (τ) may be expressed by the product of R and C, and the saturation voltage (Vs) may be expressed by a reaching charging voltage when the voltage is applied for a time of 5 τ.

FIG.7illustrates a change in a measurement period of a touch signal by the electronic device according to various embodiments.

According to various embodiments, the electronic device101may activate at least some areas (e.g., a first area710) of the display panel (e.g., the first display panel230or the second display panel350). According to an embodiment, the electronic device101may display the screen of the electronic device101through the activated first area710of the display panel. According to an embodiment, the first area710may include an area of the display (e.g., the first display panel230ofFIG.2) of the electronic device101exposed to the outside. For example, in the case of the electronic device101ofFIG.3, a part exposed to the outside among a first part (e.g., the first part230aofFIG.3) and a second part (e.g., the second part230bofFIG.3) of the first display panel230may be included in the first area710.

According to various embodiments, the electronic device101may measure a touch input signal on the display panel. Measurement of the touch signal may include measurement of the location of the touch input on the display panel. According to an embodiment, the electronic device101may simultaneously or sequentially measure touch signals for predetermined locations on the display panel. Methods of measuring the touch signal may include a resistive method, a capacitive method, an ultrasonic method, and an infrared method, but are not limited to one thereof. In the present disclosure, the description is made on the capacitive method for convenience of description. According to an embodiment, the electronic device101may measure touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the electronic device101may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charge of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The electronic device101may measure the touch signal by measuring a change in the amount of charge of the second conductive coils. According to an embodiment, the electronic device101may measure the touch signal based on a same amount of time with respect to all of the nodes within the first area710. For example, the electronic device101may measure the touch signal on the basis of a first period (T1) for each node. The electronic device101may measure the touch signal of each node during the first period (T1). According to an embodiment, the electronic device101may measure the touch signal over the entire first area710within a predetermined time. The electronic device101may determine the first period (T1) on the basis of a time designated to the entire first area710and the number of all nodes corresponding to the first area710. According to an embodiment, the electronic device101may determine the first period (T1) on the basis of the size of the first area710. Respective nodes may be disposed to be uniformly distributed to the display panel, and the electronic device101may determine the number of all nodes/or the first period (T1) corresponding to the first area710on the basis of the size of the first area710. Referring toFIG.7, TX electrodes (e.g., first conductive coils) corresponding to the first area710may be a total of 20 and RX electrodes (e.g., second conductive coils) may be a total of 40. In this case, the number of all nodes may be 800 corresponding to the number of intersections of TX electrodes and RX electrodes. The electronic device101may determine the first period (T1) on the basis of the number of nodes being 800.

According to various embodiments, the electronic device101may detect a first event. The first event may include reception of a signal related to a change in an activated panel of the display panel. According to an embodiment, the electronic device101may detect the first event on the basis of the change in the activated area of the display panel. According to an embodiment, the electronic device101may detect the first event on the basis of a change in the withdrawn length of the second housing (e.g., the second housing220ofFIG.3). According to an embodiment, when the electronic device101includes a plurality of displays (e.g., the first display panel230and the second display panel350), the electronic device101may detect the first event on the basis of a change in the activated display. According to an embodiment, the electronic device101may detect withdrawal of the second housing (e.g., the second housing220ofFIG.3) as the first event. The description of the first event inFIG.7is made on the basis of an example of extension of the display panel, but is not limited thereto. For example, the first event may refer to the case in which the activated area of the display is reduced and/or the electronic device101may also detect the case in which the activated area of the display is changed to another area distinguished from the existing activated area (e.g., the first area710) as the first event. According to an embodiment, the electronic device101may identify an increase or a decrease in the withdrawn length of the second housing (e.g., the second housing220ofFIG.3) and detect the first event on the basis of the identified increase or decrease of the withdrawn length.

According to various embodiments, the electronic device101may determine a second period (T2) for measuring a touch signal on the basis of the first event. According to an embodiment, the activated area of the display panel may be changed according to the first event. For example, the activated area of the display panel may be changed from the first area710to the second area720when the first event is generated. According to an embodiment, the electronic device101may determine the second period (T2) on the basis of a predetermined time to measure the touch signal for the entire second area720and the number of all nodes corresponding to the second area720. The predetermined time to measure the touch signal for the entire second area720may be the same as the predetermined time for the first area710. According to an embodiment, the electronic device101may determine the second period (T2) on the basis of the size of the second area720. Respective nodes may be disposed to be uniformly distributed to the display panel, and the electronic device101may determine the number of all nodes and/or the second period (T2) corresponding to the second area720on the basis of the size of the second area720. According to an embodiment, the electronic device101may detect the first event or determine the second period (T2) on the basis of a difference between sizes of the second area720and the first area710. Referring toFIG.7, TX electrodes (e.g., first conductive coils) corresponding to the second area720may be a total of 25, and RX electrodes (e.g., second conductive coils) may be a total of 40. In this case, the number of all nodes may be 1000 which is the number of intersections of TX electrodes and RX electrodes. The electronic device101may determine the second period (T2) on the basis of the number of nodes corresponding to 1000.

According to various embodiments, the electronic device101may change the first period (T1) to the second period (T2) and measure the touch signal. According to an embodiment, the electronic device101may measure the touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the electronic device101may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charges of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The electronic device101may measure the touch signal by measuring a change in the amount of charges of the second conductive coils. According to an embodiment, the electronic device101may measure the touch signal based on a same amount of time with respect to all of the nodes within the second area720. For example, the electronic device101may measure the touch signal on the basis of the second period (T2) for each node. According to an embodiment, when a frame rate of the display panel is changed, the electronic device101may change the touch signal measurement period from the first period (T1) to the second period (T2). The electronic device101may measure the touch signal for each node on the basis of the second period (T2) and identify the location of the touch signal on the basis of the measurement result.

FIG.8is a flowchart illustrating an operation in which the electronic device changes a measurement period of a touch signal according to various embodiments.

Referring toFIG.8, the operation in which the electronic device (e.g., the electronic device101ofFIG.4) changes the measurement period of the touch signal may be understood as an operation of a processor (e.g., the processor120ofFIG.4) of the electronic device101.

Referring to operation801, the processor120may activate a first area of the display panel. According to various embodiments, the processor120may activate at least some areas (e.g., the first area) of the display panel (e.g., the first display panel230ofFIG.4). According to an embodiment, the processor120may display a screen of the electronic device101through the activated first area of the display panel. According to an embodiment, the first area may include an area of a display (e.g., the first display panel230) of the electronic device101exposed to the outside. For example, in the case of the electronic device101ofFIG.3, a part exposed to the outside among a first part (e.g., the first part230aofFIG.3) and a second part (e.g., the second part230bofFIG.3) of the first display panel230may be included in the first area.

Referring to operation802, the processor120may measure a touch signal on the basis of the first period. According to various embodiments, the processor120may measure a touch input signal on the display panel. Measurement of the touch signal may include measurement of the location of the touch input on the display panel. According to an embodiment, the processor120may simultaneously or sequentially measure touch signals for predetermined locations on the display panel. Methods of measuring the touch signal may include a resistive method, a capacitive method, an ultrasonic method, and an infrared method, but are not limited to one thereof. In the present disclosure, the description is made on the capacitive method for convenience of description. According to an embodiment, the processor120may measure touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charge of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The processor120may measure the touch signal by measuring a change in the amount of charge of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the first area710. For example, the processor120may measure the touch signal on the basis of a first period for each node. The processor120may measure the touch signal of each node during the first period. According to an embodiment, the processor120may measure the touch signal over the entire first area within a predetermined time. The processor120may determine the first period on the basis of a time designated to the entire first area710and the number of all nodes corresponding to the first area710. According to an embodiment, the processor120may determine the first period on the basis of the size of the first area710. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the first period corresponding to the first area on the basis of the size of the first area.

Referring to operation803, the processor120may detect a first event. The first event may include reception of a signal related to a change in an activated panel of the display panel. According to an embodiment, the processor120may detect the first event on the basis of the change in the activated area of the display panel. According to an embodiment, the processor120may detect the first event on the basis of a change in the withdrawn length of the second housing (e.g., the second housing220ofFIG.3). According to an embodiment, when the electronic device101includes a plurality of displays (e.g., the first display panel230and the second display panel350), the processor120may detect the first event on the basis of a change in the activated display. The first event may include any event corresponding to a change in the activated area of the display. According to an embodiment, when the activated area of the display increases or decreases to be larger or smaller than the size of the first area and/or when the activated area of the display changes to another area distinguished from the existing activated area (first area), the processor120may detect the first event. According to an embodiment, the processor120may identify an increase or a decrease in the withdrawn length of the second housing (e.g., the second housing220ofFIG.3) and detect the first event on the basis of the identified increase or decrease in the withdrawn length. According to an embodiment, the processor120may identify the size of the activated area of the display in real time and/or periodically and compare the identified activated area of the display and the previously activated area. Accordingly, the processor120may detect the first event related to a change in the activated display area on the basis of the area comparison.

Referring to operation804, the processor120may determine a second period for measuring the touch signal on the basis of the first event. According to an embodiment, the activated area of the display panel may be changed according to the first event. For example, the activated area of the display panel may be changed from the first area to a second area when the first event is generated. According to an embodiment, the processor120may determine the second period on the basis of a predetermined time to measure the touch signal for the entire second area and the number of all nodes corresponding to the second area. The predetermined time to measure the touch signal for the entire second area may be the same as the predetermined time for the first area. According to an embodiment, the processor120may determine the second period on the basis of the size of the second area. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the second period corresponding to the second area on the basis of the size of the second area.

Referring to operation805, the processor120may change the first period to the second period and measure the touch signal. According to an embodiment, the processor120may measure the touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charges of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The processor120may measure the touch signal by measuring a change in the amount of charges of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the second area. For example, the processor120may measure the touch signal on the basis of the second period for each node. According to an embodiment, when a frame rate of the display panel is changed, the processor120may change the touch signal measurement period from the first period to the second period. The processor120may measure the touch signal for each node on the basis of the second period and identify the location of the touch signal on the basis of the measurement result.

FIG.9illustrates a change in a measurement period of a touch signal when a frame rate of the electronic device is changed according to various embodiments.

According to various embodiments, when a frame rate of a display panel is changed, the electronic device101(e.g., the electronic device101ofFIG.4) may change a touch signal measurement period from a first period to a second period. The electronic device101may measure a touch signal for each node on the basis of the second period and identify the location of the touch signal on the basis of the measurement result.

According to various embodiments, the touch signal measurement period (e.g., the first period (T1) or the second period (T2)) may have a value obtained by adding a measurement time (ta, ta′) and a calculation time (tb). Referring toFIG.9, when the frame rate of the display panel is changed form 60 Hz to 120 Hz, the electronic device101may change the signal measurement period from the first period (T1) to the second period (T2). According to an embodiment, the electronic device101may change the first period (T1) to the second period (T2) on the basis of a ratio between the frame rate before the change and the frame rate after the change. According to an embodiment, a ratio between the measurement time of the touch signal before the change and the measurement time thereof after the change may be different from a change rate between the first period (T1) and the second period (T2). For example, even when the measurement time increases or decreases, the time (e.g., calculation time) spent for calculating the measured signal by the electronic device101may be substantially the same. Accordingly, when the measurement period is changed, the actual measurement time may be changed at a larger rate than the measurement period change rate. Referring toFIG.9, the period may be the first period (T1) that may have a value of about 16 ms when the frame rate of the display panel is 60 Hz, and the period may be the second period (T2) that may have a value of about 8 ms when the frame rate is 120 Hz. For example, when the calculate time (tb) has a value of about 3 ms, the measurement time (ta) which can be configured in the signal measurement period of the first period (T1) may be configured within a time of about 13 ms except for the calculation time (tb) (about 3 ms) from the first period (T1) (about 16 ms). That is, in the case corresponding to the example, the measurement period (ta) may have a maximum of about 13 ms in the first period (T1). Since the calculation time (tb) may have substantially the same value regardless of a change in the signal measurement period, the measurement time (ta′) may be configured within a time of about 5 ms except for the calculation time (tb) (about 3 ms) from the second period (T2) (about 8 ms) when the signal measurement period is changed to the second period (T2). That is, in the case corresponding to the example, the measurement time (ta′) may have a maximum of about 5 ms in the second period (T2). As described above, when the measurement period is changed, the actual measurement time may be changed at a larger rate than the measurement period change rate.

According to an embodiment, the electronic device101may change the measurement time (ta) distributed when the touch signal measurement period is changed in consideration of the calculation time (tb). The signal measurement period is not limited to the above-described first period (T1) and second period (T2) and may be a value configured on the basis of the activated area of the display panel. The electronic device101may change the signal measurement signal to various values on the basis of the activated area of the display. According to an embodiment, the electronic device101may store a plurality of signal measurement period values (e.g., the first period, the second period, a third period, a fourth period, and the like) corresponding to respective sizes of the activated area of the display panel in a memory (e.g., the memory130ofFIG.1). According to an embodiment, the electronic device101may calculate the signal measurement period (second period (T2)) on the basis of the activated area of the display. According to an embodiment, the electronic device101may configure a value (e.g., the second period (T2)) corresponding to the current activated area as the signal measurement period among the plurality of signal measurement period values stored on the basis of the activated area of the display to change the value to the signal measurement period. According to an embodiment, the electronic device101may change the signal measurement period value (e.g., the second period (T2)) calculated on the basis of the activated area of the display as the signal measurement period.

FIG.10is a block diagram of the electronic device according to various embodiments.

Referring toFIG.10, the electronic device101may include an application processor (AP)1010, touch screen panel (TSP)11020, and/or TSP21030as functional functions. Each of the AP1010, TSP11020, and TSP21030may be implemented in the form of an integrated circuit (IC) as a functional module of the processor (e.g., the processor120ofFIG.4) of the electronic device101or may be implemented as data stored in the memory (e.g., the memory130ofFIG.1).

According to various embodiments, TSP11020and TSP21030may be implemented as functional modules of the first display panel and the second display panel, respectively. According to an embodiment, TSP11020may store information on the number of TX electrodes (TX num) and the number of RX electrodes (RX num) of the first display panel (e.g., the first display panel230ofFIG.4) and information on a measurement period distributed for each node (node timing). According to an embodiment, TSP21030may store information on the number of TX electrodes (TX num) and the number of RX electrodes (RX num) of the second display panel (e.g., the second display panel350ofFIG.4) and information on a measurement period distributed for each node (node timing).

According to an embodiment, each of TSP1and TSP2may transfer the information on the number of TX electrodes and the number of RX electrodes and the information on the measurement period for each node to the AP1010through a kernel driver and store the same in a framework.

According to an embodiment, when a change in the measurement period is needed (e.g., when the first event is detected), the framework may transmit information on TX and RX ranges which should be measured in each panel and application timing (measurement period). Accordingly, the IC of each panel (e.g., TSP1and TSP2) may determine the measurement period for each node, calculate a time constant, and measure data.

FIG.11Ais first view of the electronic device including a plurality of display panels in a folded state according to various embodiments.FIG.11Bis a front view of the electronic device including the plurality of display panels in an unfolded state according to various embodiments.FIG.11Cis a second view of the electronic device including a plurality of display panels in the folded state according to various embodiments.FIG.11Dis a side view of the electronic device including the plurality of display panels in the folded state according to various embodiments.FIG.11Eis a perspective view of the electronic device including the plurality of display panels in the unfolded state according to various embodiments.

FIGS.11A-Eillustrates an example of a change in the structure and the form of the electronic device including a flexible display according to various embodiments.

Referring toFIGS.11A-E, an electronic device1100(e.g., the electronic device101ofFIG.1) including a flexible display (e.g., a first display1110) according to various embodiments may be a foldable electronic device. According to various embodiments, a first housing1121, a second housing1122, and/or a hinge part1130included in a housing structure1120of the electronic device1100may be included. For example, the first housing1121may include a first surface (S2) and a second surface (S2), and the second housing1122may include a third surface (S3) and a fourth surface (S4). For example, when the first display1110of the electronic device1100is folded with respect to an axis A, the first surface (S1) of the first housing1121may lie on the third surface (S3) of the second housing1122to face each other. Here, the case of the folded form of the electronic device101may include the case in which an angle (e.g., angle A) between the first surface (S1) of the first housing1121and the third surface (S3) of the second housing1122is a narrow angle (e.g., 0 to 5 degrees). The folded state may be a closed state (folded state or closed state) and may mean that the electronic device1100is completely folded. The first display1110may be divided into a first area1111and a second area1112which are physically divided areas, the first area may be located on the first surface (S1) of the first housing1121, and the second area may be located on the third surface (S3) of the second housing1122. The first housing1121and the second housing1122may be disposed in both sides from the folding axis (e.g., axis A) and may be totally symmetrical with respect to the folding axis.

According to various embodiments, the hinge part1130may be formed between the first housing1121and the second housing1122, and thus the first housing1121and the second housing1122of the electronic device1100may be folded. According to an embodiment, the first housing1121and the second housing1122may be connected through the hinge part1130. However, the housing structure in which the electronic device is disposed in left and right sides from the folding axis (e.g., axis A) is only an example, and may have housings disposed in up and down sides from the folding axis of the electronic device as illustrated inFIG.3, which will be described below. According to an embodiment, the hinge part1130may be disposed along the axis A.

According to various embodiments, the housing structure1120of the electronic device1100may have a variable form. For example, the first housing1121and the second housing1122may move by being unfolded and folded with respect to the hinge part1130. According to an embodiment, the first housing1121and the second housing1122may form a folding angle (e.g., angle A). According to various embodiment, the folding angle (e.g., angle A) may vary. For example, the angle A may have a size from about 0 degrees to about 180 degrees. In another example, the angle A may have a size from about 0 degrees to about 360 degrees. The angle (e.g., angle A) or distance between the first housing1121and the second housing1122may vary depending on the form thereof such as an unfolded form (or open form), a folded form (or closed form), or an intermediate form. For example, the unfolded form may be a flat state, opened state, or an open state. The state in which the first display1110of the electronic device1100is unfolded is a state in which the first housing1121and the second housing1122are disposed in parallel and may refer to a form in which the electronic device1100is completely unfolded. The unfolded state of the first display1110may be a state in which the angle A is about 180 degrees. In the state in which the electronic device1100is unfolded, the first surface (S1) of the first housing1121and the third surface (S3) of the second housing1122may be disposed to face substantially the same direction.

Among the forms of the first display of the electronic device1100, the intermediate form (intermediate state) is a state in which the first housing1121and the second housing1122are disposed at a predetermined angle and may be an intermediate state from the folded state to the unfolded state. For example, the intermediate state may refer to a form in which the angel A has a predetermined angle (e.g., about 6 degrees to about 179 degrees).

According to an embodiment, the electronic device may include a second display1150(e.g., the display module160ofFIG.1) in at least some of the first housing1121and the second housing1122. Referring toFIG.2, the second display1150may be formed on at least some of the second surface (S2) of the first housing1121of the electronic device1100. In another example, the second display1150may be disposed on the fourth surface (S4) of the second housing1122, and may be formed in some areas or substantially the entire areas of the second surface (S2) of the first housing1121and the fourth surface (S4) of the second housing1122. The second display1150may include at least some of the configurations and/or the functions of the display module160ofFIG.1.

According to various embodiments, the electronic device1100may include a sensor module and camera modules1142,1143, and1145.

According to an embodiment, the sensor module may be disposed below the first display1110(e.g., the −Z direction from the first display1110) and detect an external environment on the basis of information (e.g., light) received through the first display1110. According to an embodiment, the sensor module may include at least one of a receiver, a proximity sensor, an ultrasonic sensor, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, and a humidity sensor. According to an embodiment, at least some sensor modules of the electronic device1100may be visually exposed to the outside through some areas of the first display1110. According to an embodiment, the electronic device1100may detect a folding angle (e.g., angle A) through the sensor module.

According to an embodiment, the electronic device1100may include at least one sensor (e.g., the acceleration sensor, the gyro sensor, and/or the magnetic sensor) in each of the plurality of housings (e.g., the first housing1121and/or the second housing1122). In another example, the electronic device1100may include the respective sensor (e.g., the acceleration sensor, the gyro sensor, and/or the magnetic sensor) only in one of the plurality of housings (e.g., the first housing1121and/or the second housing1122).

FIG.12is a flowchart illustrating an operation in which an electronic device including a plurality of display panels changes a measurement period of a touch signal according to various embodiments.

Referring toFIG.12, the operation in which electronic device (e.g., the electronic device101ofFIG.4) changes the measurement period of the touch signal may be understood as the operation of the processor (e.g., the processor120ofFIG.4) of the electronic device101.

Referring to operation1201, the processor120may activate a first area of a first display panel (e.g., the first display panel230ofFIG.4). According to various embodiments, the processor120may activate at least some areas (e.g., the first area) of the first display panel230. According to an embodiment, the processor120may display the screen of the electronic device101through the activated first area of the display panel. According to an embodiment, the first area may include an area of the display (e.g., the first display panel230) of the electronic device101exposed to the outside.

According to various embodiments, the processor120may measure a touch input signal on the display panel. Measurement of the touch signal may include measurement of the location of the touch input on the display panel. According to an embodiment, the processor120may simultaneously or sequentially measure touch signals for predetermined locations on the display panel. Methods of measuring the touch signal may include a resistive method, a capacitive method, an ultrasonic method, and an infrared method, but are not limited to one thereof. In the present disclosure, the description is made on the capacitive method for convenience of description. According to an embodiment, the processor120may measure touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charge of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The processor120may measure the touch signal by measuring a change in the amount of charge of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the first area710. For example, the processor120may measure the touch signal on the basis of a first period for each node. The processor120may measure the touch signal of each node during the first period. According to an embodiment, the processor120may measure the touch signal over the entire first area within a predetermined time. The processor120may determine the first period on the basis of a time designated to the entire first area and the number of all nodes corresponding to the first area. According to an embodiment, the processor120may determine the first period on the basis of the size of the first area710. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the first period corresponding to the first area on the basis of the size of the first area.

According to various embodiments, the processor120may detect a second event. The second event may include reception of a signal related to a change in the activated area of the display panel. According to an embodiment, when the electronic device101includes a plurality of displays (e.g., the first display panel230and the second display panel350), the processor120may detect the second event on the basis of the change in the activated display. For example, the processor120may detect the case in which the second display panel is also activated in the state in which the first display panel is activated as the second event. According to an embodiment, when the activated display panel switches from the first display panel to the second display panel, the processor120may detect the second event.

According to various embodiments, the processor120may determine a second period for measuring the touch signal on the basis of the second event. According to an embodiment, the activated area of the display panel may be changed according to the second event. For example, when the second event is generated, the activated area of the display panel may be changed from the first area to the second area. According to an embodiment, the processor120may determine the second period on the basis of a predetermined time to measure the touch signal for the entire second area and the number of all nodes corresponding to the second area. The predetermined time to measure the touch signal for the entire second area may be the same as the predetermined time for the first area. According to an embodiment, the processor120may determine the second period on the basis of the size of the second area. Respective nodes may be disposed to be uniformly distributed to the display panel, and the processor120may determine the number of all nodes and/or the second period corresponding to the second area on the basis of the size of the second area. According to an embodiment, when the plurality of display panels are activated, the processor120may determine the second period on the basis of the size of the entire areas of the activated displays. According to an embodiment, the processor120may determine the second period on the basis of the number of all nodes corresponding to all of the one or more activated display panels.

According to various embodiments, the processor120may change the first period to the second period and measure the touch signal. According to an embodiment, the processor120may measure the touch signals for respective nodes formed by a plurality of electrodes (e.g., conductive coils), which cross each other, included in the display panel. For example, the processor120may apply a voltage to a plurality of first conductive coils and receive a value obtained by measuring an amount of charges of a plurality of second conductive coils disposed to cross the first conductive coils from the driving circuit161. The processor120may measure the touch signal by measuring a change in the amount of charges of the second conductive coils. According to an embodiment, the processor120may measure the touch signal based on a same amount of time with respect to all of the nodes within the second area. For example, the processor120may measure the touch signal on the basis of the second period for each node. According to an embodiment, when a frame rate of the display panel is changed, the processor120may change the touch signal measurement period from the first period to the second period. The processor120may measure the touch signal for each node on the basis of the second period and identify the location of the touch signal on the basis of the measurement result.

The electronic device according to various embodiments of the present disclosure may include a first display panel (e.g.,230ofFIG.2) configured to detect a touch input, a driving circuit (e.g.,161ofFIG.2) electrically connected to the first display panel and configured to transfer at least one driving signal for measuring a touch signal to the first display panel, and a processor (e.g.,120ofFIG.2) operatively connected to the driving circuit, wherein the processor may be configured to display a screen by activating a first area (e.g.,710ofFIG.7) which is at least a part of areas of the first display panel, control the driving circuit to measure the touch signal in the first area based on a first period (e.g., T1ofFIG.9); detect a first event related to a change in an activated area of the areas of the first display panel to a second area (e.g.,720ofFIG.7); change the first period to a second period (e.g., T2ofFIG.9) different from the first period, based on the first event; and measure the a touch signal in the second area based on the second period.

The processor may be configured to identify a size of the first area, determine the first period, based on the size of the first area, identify a size of the second area, based on the first event, compare the size of the first area with the size of the second area to identify whether a size of the activated area of the first display panel is changed, and change the first period to the second period, based on whether the size of the activated area is changed.

The processor may be configured to determine the second period, based on the size of the activated area.

The first display panel may include a plurality of first conductive coils (e.g.,510ofFIG.5) and a plurality of second conductive coils (e.g.,520ofFIG.5) crossing the plurality of first conductive coils, the plurality of first conductive coils and the plurality of second conductive coils may form a plurality of nodes at points where the plurality of first conductive coils and the plurality of second conductive coils intersect, and the processor may be configured to measure the touch signal for each of the plurality of nodes.

The processor may be configured to measure the touch signal for each of the plurality of nodes corresponding to the first area during the first period.

The processor may be configured to identify a number of nodes corresponding to the second area, based on the first event, determine the second period, based on the number of nodes corresponding to the second area, and measure the touch signal for each of the nodes corresponding to the second area during the second period.

The electronic device may further include a memory configured to store data, wherein the memory may be configured to store information on a number of nodes corresponding to a predetermined area on the first display panel and a touch signal measurement period corresponding to the number of nodes, and the processor may be configured to identify the activated area of the first display panel and identify the touch signal measurement period, based on a number of nodes corresponding to the activated area.

The plurality of first conductive coils may correspond to a size of the first display panel and may be sequentially disposed to be substantially parallel to each other, and the plurality of second conductive coils may correspond to the size of the first display panel and may be sequentially disposed to be substantially parallel to each other.

The electronic device may further include a second display panel, wherein the driving circuit may be electrically connected to the second display panel and configured to transfer at least one driving signal for measuring the touch signal to the second display panel, and the processor may be configured to detect a second event related to activation of the second display panel, change the first period to a third period different from the first period on the basis of the second event, and measure touch signals on the first display panel and the second display panel, based on the third period.

The processor may be configured to determine the third period, based on the activated area of the first display panel and a size of an entire activated area of the second display panel.

The first display panel may include a first plurality of conductive coils and a first plurality of nodes formed by crossing of the first plurality of conductive coils, the second display panel may include a second plurality of conductive coils and a second plurality of nodes formed by crossing of the second plurality of conductive coils, and the processor may be configured to determine the second period, based on a total sum of numbers of the first plurality of nodes included in the first display panel and the second plurality of nodes included in the second display panel.

The electronic device may further include a housing structure including: a first housing; and a second housing connected to the first housing, wherein the second housing may be connected to the first housing such that at least a part of the second housing is configured to be slidably inserted into or withdrawn from the first housing, the first display panel may include a flexible display that is configured to be inserted or withdrawn according to movement of the second housing, and the processor may be configured to activate an area of the first display panel corresponding to the first housing and an area of the first display panel corresponding to a part of the second housing withdrawn from the first housing and detect the first event based on a withdrawn length of the second housing being changed.

The processor may be configured to determine the second period, based on the withdrawn length of the second housing.

The processor may be configured to apply a screen output signal to the first display panel, based on a first refresh rate; change the first refresh rate to a second refresh rate, based on identification of a signal related to a refresh rate change; determine the second period, based on the second refresh rate; and change the first period to the second period.

A method of controlling detection of a touch signal by an electronic device including a first display panel configured to detect a touch input according to various embodiments of the present disclosure may include: an operation of displaying a screen by activating a first area which is at least a part of areas of the first display panel; an operation of controlling a driving circuit to measure the touch signal in the first area based on a first period; an operation of detecting a first event related to a change in an activated area of the areas of the first display panel to a second area; an operation of changing the first period to a second period different from the first period, based on the first event; and an operation of measuring the touch signal in the second area based on the second period.

The operation of measuring the touch signal, based on the first period may include: an operation of identifying a size of the first area; and an operation of determining the first period, based on the size of the first area, and the operation of changing the first period to the second period may include: an operation of identifying a size of the second area, based on the first event; an operation of comparing the size of the first area with the size of the second area to identify whether a size of the activated area of the first display panel is changed; and an operation of changing the first period to the second period, based on whether the size is changed.

The first display panel may include a plurality of first conductive coils and a plurality of second conductive coils disposed to cross the plurality of first conductive coils, the plurality of first conductive coils and the plurality of second conductive coils may form a plurality of nodes at points where the plurality of first conductive coils and the plurality of second conductive coils intersect, and the operation of measuring the touch signal may include an operation of measuring the touch signal for each of the plurality of nodes.

The operation of changing the first period to the second period may include an operation of identifying a number of nodes corresponding to the second area, based on the first event; an operation of determining the second period, based on the number of nodes corresponding to the second area; and an operation of measuring the touch signal for each of the nodes corresponding to the second area during the second period.

The electronic device may include the first display panel and a second display panel, and the method may further include: an operation of detecting a second event related to activation of the second display panel; an operation of changing the first period to a third period different from the first period, based on the second event; and an operation of measuring touch signals on the first display panel and the second display panel, based on the third period.

The processor may be configured to determine the third period, based on the activated area of the first display panel and a size of an entire activated area of the second display panel.