Sign up to receive free email alerts when patent applications with chosen keywords are publishedSIGN UP

Abstract:

An apparatus and method compensate for a touch error in an electronic
device with a touch screen. A method for compensating a touch error
includes identifying if a touch error takes place and., when the touch
error takes place, compensating the touch error using at least one touch
error compensation scheme among a noise reduction filter addition scheme,
a touch sensibility adjustment scheme, and a touch frequency change
scheme.

Claims:

1. A method for compensating a touch error in an electronic device using
a capacitive touch scheme, the method comprising: identifying if a touch
error occurred; and in response to identifying that the touch error
occurred, compensating for the touch error using at least one touch error
compensation scheme among a noise reduction filter addition scheme, a
touch sensibility adjustment scheme, or a touch frequency change scheme.

2. The method of claim 1, wherein, when using the noise reduction filter
addition scheme, compensating for the touch error comprises adding at
least one noise reduction filter to compensate for the touch error.

4. The method of claim 1, wherein, when using the touch sensibility
adjustment scheme, the compensating for the touch error comprises
lowering a touch sensitivity up to a reference range to compensate for
the touch error.

5. The method of claim 1, further comprising: identifying if an
additional touch error occurs after the touch error compensation; and
when the additional touch error occurs after the touch error
compensation, additionally compensating for the additional touch error
using the at least one touch error compensation scheme among the noise
reduction filter addition scheme, the touch sensibility adjustment
scheme, or the touch frequency change scheme.

6. The method of claim 5, wherein additionally compensating the
additional touch error comprises: identifying an error occurrence count;
when the error occurrence count is less than a reference count,
additionally compensating for the additional touch error using the at
least one touch error compensation scheme among the noise reduction
filter addition scheme, the touch sensibility adjustment scheme, or the
touch frequency change scheme.

7. The method of claim 6, wherein the reference count is determined
depending on a connection or non-connection of a travel adapter (TA) to
the electronic device.

8. The method of claim 7, wherein a 1st reference count when the TA is
connected to the electronic device is set larger than a 2nd reference
count when the TA is not connected to the electronic device.

9. The method of claim 6, further comprising, when the error occurrence
count is greater than the reference count, generating touch error
compensation impossibility information.

10. The method of claim 5, further comprising, when the touch error does
not occur after the touch error compensation, initializing an error
occurrence count.

11. An electronic device comprising: a touch screen; a storage unit; and
one or more programs stored on the storage unit; and one or more
processors configured to execute the one or more programs to: compensate,
in response to an identification that a touch error occurred, for the
touch error using at least one touch error compensation scheme among a
noise reduction filter addition scheme, a touch sensibility adjustment
scheme, or a touch frequency change scheme.

12. The device of claim 11, wherein, when using the noise reduction
filter addition scheme, the one or more processors are configured to
execute the one or more programs to add at least one noise reduction
filter to compensate for the touch error.

14. The device of claim 11, wherein, when using the touch sensibility
adjustment scheme, the one or more processors are configured to execute
the one or more programs to lower a touch sensitivity up to a reference
range to compensate for the touch error.

15. The device of claim 11, wherein, in response to an identification
that an additional touch error occurs after the touch error compensation,
the one or more processors are configured to execute the one or more
programs to additionally compensate for the additional touch error using
the at least one touch error compensation scheme among the noise
reduction filter addition scheme, the touch sensibility adjustment
scheme, or the touch frequency change scheme.

16. The device of claim 15, wherein, when an error occurrence count is
less than a reference count, the one or more processors are configured to
execute the one or more programs to additionally compensate for the
additional touch error using the at least one touch error compensation
scheme among the noise reduction filter addition scheme, the touch
sensibility adjustment scheme, or the touch frequency change scheme.

17. The device of claim 16, wherein the reference count is determined
depending on connection or non-connection of a travel adapter (TA) to the
electronic device.

18. The device of claim 17, wherein a 1st reference count when the TA is
connected to the electronic device is set larger than a 2nd reference
count when the TA is not connected to the electronic device.

19. The device of claim 16, wherein, when the error occurrence count is
greater than the reference count, the one or more processors are
configured to execute the one or more programs to generate touch error
compensation impossibility information.

20. The device of claim 15, wherein, when the touch error does not occur
after the touch error compensation, the one or more processors are
configured to execute the one or more programs to initialize an error
occurrence count.

Description:

CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

[0001] The present application is related to and claims priority under 35
U.S.C. §119(a) to a Korean Patent Application filed in the Korean
Intellectual Property Office on Feb. 10, 2012 and assigned Serial No.
10-2012-0013831, the contents of which are herein incorporated by
reference.

TECHNICAL FIELD OF THE INVENTION

[0002] The present disclosure relates to an electronic device with a touch
screen. More particularly, the present disclosure relates to an apparatus
and method for compensating a touch error in an electronic device with a
touch screen.

BACKGROUND OF THE INVENTION

[0003] Portable electronic devices becoming necessities of modern people
owing to the easiness of carriage are evolving into multimedia devices
providing a variety of services such as a voice and image calling
function, an information input/output function, and data storage.

[0004] As the use of a multimedia service using a portable electronic
device increases, information quantitation to process and display in the
portable electronic device increase. This results in an increase of a
concern for a portable electronic device with a touch screen capable of
improving space utilization and increasing the size of a display unit.

[0005] The touch screen is an input/output device performing information
input and display on one screen. According to this, if employing the
touch screen, the portable electronic device can increase a display area
since the portable electronic device does not require a separate input
unit such as a keypad.

[0006] A touch input scheme of the portable electronic device with the
touch screen includes a resistive touch scheme and a capacitive touch
scheme.

[0007] If employing the resistive touch scheme, the portable electronic
device determines a touch coordinate considering a pressure that is
sensed at a time a user touches the touch screen with a finger and the
like.

[0008] If employing the capacitive touch scheme, the portable electronic
device determines the touch coordinate considering a variation of
capacitance that occurs at a time the user touches the touch screen with
the finger and the like.

[0009] If employing the capacitive touch scheme as above, the portable
electronic device can suffer a touch recognition error due to the
affection of the environment, because the portable electronic device
operates by the capacitance variation. For example, the portable
electronic device using the capacitive touch scheme can suffer the touch
recognition error, because a capacitance variation error takes place due
to the affection of the electric field and the magnetic field of the
surroundings such as a fluorescent light, a microwave oven and the like.
For another example, when a Travel Adapter (TA) of the unstable ground is
connected to the portable electronic device, the portable electronic
device may suffer the touch recognition error, because the capacitance
variation is affected by unstable power supply by the TA.

SUMMARY OF THE INVENTION

[0010] To address the above-discussed deficiencies of the prior art, it is
a primary object to provide an apparatus and method for compensating a
touch error in an electronic device with a touch screen.

[0011] Another aspect of the present disclosure is to provide an apparatus
and method for compensating a touch error in an electronic device using a
capacitive touch scheme.

[0012] A further aspect of the present disclosure is to provide an
apparatus and method for compensating a touch error resulting from a
radiation noise in an electronic device using a capacitive touch scheme.

[0013] Yet another aspect of the present disclosure is to provide an
apparatus and method for compensating a touch error resulting from
unstable power supply of a Travel Adapter (TA) in an electronic device
using a capacitive touch scheme.

[0014] Still another aspect of the present disclosure is to provide an
apparatus and method for compensating a touch error considering a touch
error occurrence count in an electronic device using a capacitive touch
scheme.

[0015] Still another aspect of the present disclosure is to provide an
apparatus and method for compensating a touch error using a noise
reduction filter in an electronic device using a capacitive touch scheme.

[0016] Still another aspect of the present disclosure is to provide an
apparatus and method for adjusting touch sensibility to compensate a
touch error in an electronic device using a capacitive touch scheme.

[0017] Still another aspect of the present disclosure is to provide an
apparatus and method for compensating a touch error using at least one of
noise reduction filter addition, touch sensibility adjustment, and
frequency change schemes in an electronic device using a capacitive touch
scheme.

[0018] The above aspects are achieved by providing an apparatus and method
for compensating a touch error in an electronic device with a touch
screen.

[0019] According to one aspect of the present disclosure, a method for
compensating a touch error in an electronic device using a capacitive
touch scheme is provided. The method includes identifying if a touch
error takes place and, when the touch error takes place, adding a noise
reduction filter to compensate the touch error.

[0020] According to another aspect of the present disclosure, a method for
compensating a touch error in an electronic device using a capacitive
touch scheme is provided. The method includes identifying if a touch
error takes place and, when the touch error takes place, adjusting touch
sensibility to compensate the touch error.

[0021] According to a further aspect of the present disclosure, a method
for compensating a touch error in an electronic device using a capacitive
touch scheme is provided. The method includes identifying if a touch
error takes place and, when the touch error takes place, compensating the
touch error using at least one touch error compensation scheme among a
noise reduction filter addition scheme, a touch sensibility adjustment
scheme, and a touch frequency change scheme.

[0022] According to yet another aspect of the present disclosure, an
electronic device using a capacitive touch scheme is provided. The device
includes a touch screen for detecting the presence and location of a
touch, one or more processors for executing computer programs, a storage
unit for storing data and instructions, and one or more programs stored
in the storage unit and executed by the one or more processors. When a
touch error takes place, the program adds a noise reduction filter to
compensate the touch error.

[0023] According to still another aspect of the present disclosure, an
electronic device using a capacitive touch scheme is provided. The device
includes a touch screen for detecting the presence and location of a
touch, one or more processors for executing computer programs, a storage
unit for storing data and instructions, and one or more programs stored
in the storage unit and executed by the one or more processors. When a
touch error takes place, the program adjusts touch sensibility to
compensate the touch error.

[0024] According to still another aspect of the present disclosure, an
electronic device using a capacitive touch scheme is provided. The device
includes a touch screen for detecting the presence and location of a
touch, one or more processors for executing computer programs, a storage
unit for storing data and instructions, and one or more programs stored
in the storage unit and executed by the one or more processors. When a
touch error takes place, the program compensates the touch error using at
least one touch error compensation scheme among a noise reduction filter
addition scheme, a touch sensibility adjustment scheme, and a touch
frequency change scheme.

[0025] Before undertaking the DETAILED DESCRIPTION OF THE INVENTION below,
it may be advantageous to set forth definitions of certain words and
phrases used throughout this patent document: the terms "include" and
"comprise," as well as derivatives thereof, mean inclusion without
limitation: the term "or," is inclusive, meaning and/or; the phrases
"associated with" and "associated therewith," as well as derivatives
thereof, may mean to include, be included within, interconnect with,
contain, be contained within, connect to or with, couple to or with, be
communicable with, cooperate with, interleave, juxtapose, be proximate
to, be bound to or with, have, have a property of, or the like; and the
term "controller" means any device, system or part thereof that controls
at least one operation, such a device may be implemented in hardware,
firmware or software, or some combination of at least two of the same. It
should be noted that the functionality associated with any particular
controller may be centralized or distributed, whether locally or
remotely. Definitions for certain words and phrases are provided
throughout this patent document, those of ordinary skill in the art
should understand that in many, if not most instances., such definitions
apply to prior, as well as future uses of such defined words and phrases.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026] For a more complete understanding of the present disclosure and its
advantages, reference is now made to the following description taken in
conjunction with the accompanying drawings, in which like reference
numerals represent like parts:

[0027] FIG. 1 illustrates a block diagram of an electronic device with a
touch screen according to an exemplary embodiment of the present
disclosure;

[0028]FIG. 2 illustrates a flowchart of a procedure for compensating a
touch error in an electronic device with a touch screen according to a
first exemplary embodiment of the present disclosure;

[0029]FIG. 3 illustrates a flowchart of a procedure for compensating a
touch error considering connection or non-connection with a Travel
Adapter (TA) in an electronic device with a touch screen according to a
first exemplary embodiment of the present disclosure;

[0030] FIG. 4 illustrates a flowchart of a procedure for compensating a
touch error in an electronic device with a touch screen according to a
second exemplary embodiment of the present disclosure;

[0031] FIG. 5 illustrates a flowchart of a procedure for compensating a
touch error considering connection or non-connection with a TA in an
electronic device with a touch screen according to a second exemplary
embodiment of the present disclosure;

[0032]FIG. 6 illustrates a flowchart of a procedure for compensating a
touch error in an electronic device with a touch screen according to a
third exemplary embodiment of the present disclosure; and

[0033] FIG. 7 illustrates a flowchart of a procedure for compensating a
touch error considering connection or non-connection with a TA in an
electronic device with a touch screen according to a third exemplary
embodiment of the present disclosure.

DETAILED DESCRIPTION OF THE INVENTION

[0034] FIGS. 1 through 7, discussed below, and the various embodiments
used to describe the principles of the present disclosure in this patent
document are by way of illustration only and should not be construed in
any way to limit the scope of the disclosure. Those skilled in the art
will understand that the principles of the present disclosure may be
implemented in any suitably arranged system or device. Preferred
embodiments of the present invention will be described herein below with
reference to the accompanying drawings. In the following description,
well-known functions or constructions are not described in detail since
they would obscure the invention in unnecessary detail. And, terms
described below, which are defined considering functions in the present
invention, can be different depending on user and operator's intention or
practice. Therefore, the terms should be defined on the basis of the
disclosure throughout this specification.

[0035] Below, the present disclosure describes a technology for
compensating a touch error in an electronic device using a capacitive
touch scheme.

[0036] In the following description, an electronic device includes a
mobile communication terminal with a touch sensing display of a
capacitive touch scheme, a Portable Digital Assistant (PDA), a laptop
computer, a smart phone, a netbook, a Mobile Internet Device (MID), an
Ultra Mobile Personal Computer (UMPC), a tablet PC, a navigator, an MPEG
Audio Layer-3 (MP3) player and the like.

[0037] FIG. 1 illustrates a block diagram of an electronic device with a
touch screen according to an exemplary embodiment: of the present
disclosure.

[0038] As illustrated in FIG. 1, the electronic device 100 includes a
storage unit 110, a processor unit 120, a communication system 130, an
external port 140, an audio processor 150, an Input Output (IO)
controller 160, a touch screen 170, and an input device 180. Here, the
storage unit 110 and the external port 140 may be provided in plural.

[0039] The processor unit 120 includes a memory controller 121, a
processor 122, and a peripheral interface 123. Here, the processor 122
may be provided in plural.

[0040] The communication unit 130 includes a Radio Frequency (RF)
processor 131 and a baseband processor 132.

[0041] The aforementioned constituent elements can be realized in hardware
such as one or more integrated circuits, software, or a combination of
hardware and software.

[0042] Each constituent element is described as follows.

[0043] The storage unit 110 can be composed of a program storage unit and
a data storage unit. The program storage unit stores a program for
controlling an operation of the electronic device 100. The data storage
unit stores data generated during program execution. For example, the
program storage unit includes an Operating System (OS) program 111, a
communication program 112, a graphic program 113, a user interface
program 114, at least one application 115, and a touch compensation
program 116.

[0044] The OS program ill includes at least one software constituent
element for controlling general system operation. In an exemplary
embodiment, the OS program 111 performs a function of making smooth
communication between a plurality of hardware (device) and software
constituent elements as well.

[0045] The communication program 112 includes at least one software
constituent element for processing data transmitted and received through
the RF processor 131 or the external port 140.

[0046] The graphic program 113 includes at least one software constituent
element for providing a user interface on the touch screen 170 by
graphic.

[0047] The user interface program 114 includes at least one software
constituent element related to a user interface between the electronic
device 100 and a user.

[0048] The application program 115 includes a software constituent element
for at least one application installed in the electronic device 100.

[0049] The touch compensation program 116 includes a software constituent
element for compensating a touch error that is recognized by a Touch
Screen Panel Integrated Circuit (TSP IC) included in the IO controller
160. For example, the touch compensation program 116 includes an
instruction of applying at least one noise reduction filter according to
an error occurrence count to compensate a touch error as illustrated in
FIG. 2 below. In an exemplary embodiment, the touch compensation program
116 can include an instruction of adjusting the number of application of
the noise reduction filter according to the cause of touch error
occurrence as illustrated in FIG. 3 below. For another example, the touch
compensation program 116 can include an instruction of adjusting touch
sensibility according to an error occurrence count to compensate a touch
error as illustrated in FIG. 4 below. In an exemplary embodiment, the
touch compensation program 116 may include an instruction of adjusting a
touch sensibility adjustment count according to the cause of touch error
occurrence as illustrated in FIG. 5 below. Here, the cause of the touch
error occurrence includes at least one of a radiation noise resulting
from the electric field or magnetic field of surroundings and a power
noise resulting from unstable power supply.

[0050] The memory controller 121 of the processor unit 120 controls the
access of the storage unit 110 to the other constituent elements such as
the processor 122 or the peripheral interface 123.

[0051] The peripheral interface 123 controls connection of the processor
122 and the storage unit 110 with peripheral devices of the electronic
device 100.

[0052] The processor 122 controls to provide various services such as
voice communication and data communication. Also, the processor 122
controls to execute a program stored in the storage unit 110 and provide
a multimedia service corresponding to the executed program. For example,
when the TSP IC of the IO controller 160 recognizes a touch error, the
processor 122 executes the touch compensation program 116 and compensates
a touch error.

[0053] The memory controller 121, the processor 122, and the peripheral
interface 123, which are included in the processor unit 120, can be
realized as a single chip or a separate chip.

[0054] The RF processor 131 of the communication unit 130 processes an RF
signal transmitted/received through an antenna. For example, the RF
processor 131 converts a baseband signal provided from the baseband
processor 132 into an RF signal, and transmits the RF signal through the
antenna. Also, the RF processor 131 converts an RF signal provided
through the antenna into a baseband signal, and transmits the baseband
signal to the baseband processor 132. Here, the RF processor 131 includes
an RF transceiver, an amplifier, a tuner, an oscillator, a digital signal
processor, a Coding DECoding (CODEC) chipset, a Subscriber Identity
Module (SIM) card and the like.

[0055] The external port 140 includes a connection interface for allowing
the electronic device 100 to connect direct to other devices or connect
indirect to the other devices through a network. For example, the
external port 140 includes a charging interface for charging the
electronic device 100.

[0056] The audio processor 150 provides an audio interface between the
user and the electronic device 100 through a speaker and a microphone.

[0057] The IO controller 160 provides an interface between an input output
device such as the touch screen 170, the input device 180 and the like,
and the peripheral interface 123. In an exemplary embodiment, the IO
controller 160 includes the TSP IC for determining a touch coordinate
according to a capacitance variation provided through the touch screen
170.

[0058] The touch screen 170 displays status information of the electronic
device 100, a character input by a user, a moving picture, a still
picture and the like according to control of the graphic program 113.
Also, the touch screen 170 provides the touch screen's 170 touch
information to the processor unit 130 through the IO controller 160.

[0059] The input device 180 provides input data generated by user's
selection to the processor unit 120 through the IO controller 160. For
example, the input device 180 is constructed including only a control
button for control of the electronic device 100. For another example, the
input device 180 may be constructed as a keypad for receiving input data
from the user.

[0060]FIG. 2 illustrates a procedure for compensating a touch error in an
electronic device with a touch screen according to a first exemplary
embodiment of the present disclosure.

[0061] Referring to FIG. 2, in step 201, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0062] If it is identified in step 201 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0063] In contrast, if it is identified in step 201 that the touch error
occurs, the electronic device proceeds to step 203 and applies a noise
reduction filter to compensate the touch error. In an exemplary
embodiment, the electronic device applies noise reduction filters of
reference number. Here, the reference number represents the number of
noise reduction filters to be applied once to compensate the touch error.
The noise reduction filter includes a median filter.

[0064] After compensating the touch error, the electronic device proceeds
to step 205 and identifies if a new touch error occurs even after the
noise reduction filter is applied.

[0065] If it is identified in step 205 that the new touch error does not
occur after the noise reduction filter is applied, the electronic device
recognizes that the touch error has been compensated through the noise
reduction filter applied. According to this, the electronic device
terminates the algorithm of the present disclosure. In an exemplary
embodiment, the electronic device initializes an error occurrence count.

[0066] In contrast, if it is identified in step 205 that the new touch
error occurs even after the noise reduction filter is applied, the
electronic device proceeds to step 207 and identifies if the error
occurrence count is greater than a reference count in order to determine
additional application or non-application of the noise reduction filter.

[0067] If it is identified in step 207 that the error occurrence count is
less than or is equal to the reference count, the electronic device
determines to additionally apply the noise reduction filter. According to
this, the electronic device proceeds to step 209 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0068] Next, the electronic device returns to step 203 and additionally
applies the noise reduction filter to compensate the new touch error.

[0069] In contrast, if it is identified in step 207 that the error
occurrence count is greater than the reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0070] In the aforementioned exemplary embodiment, the electronic device
with the touch screen compensates a touch error using a noise reduction
filter. In an exemplary embodiment, the electronic device with the touch
screen may set the number of application of the noise reduction filter
differently according to the cause of touch error occurrence as
illustrated in FIG. 3 below. In the following description, it is assumed
that the cause of the touch error occurrence includes a radiation noise
resulting from the electric field or magnetic field of the surroundings,
and a power noise resulting from unstable power supply.

[0071]FIG. 3 illustrates a procedure for compensating a touch error
considering connection or non-connection to a Travel Adapter (TA) in an
electronic device with a touch screen according to a first exemplary
embodiment of the present disclosure.

[0072] Referring to FIG. 3, in step 301, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0073] If it is identified in step 301 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0074] In contrast, if it is identified in step 301 that the touch error
occurs, the electronic device proceeds to step 303 and identifies if a TA
is connected to the electronic device. For example, the electronic device
identifies whether an external power is connected to a charging interface
of an external port of the electronic device.

[0075] If it is identified in step 303 that connection with the TA is
made, the electronic device proceeds to step 305 and applies a noise
reduction filter to compensate the touch error. In an exemplary
embodiment, the electronic device applies noise reduction filters of
reference number. Here, the reference number represents the number of
noise reduction filters to be applied once for the sake of touch error
compensation. The noise reduction filter includes a median filter.

[0076] After compensating the touch error, the electronic device proceeds
to step 307 and identifies if a new touch error occurs even after the
noise reduction filter is applied.

[0077] If it is identified in step 307 that the new touch error does not
occur after the noise reduction filter is applied, the electronic device
recognizes that the touch error has been compensated through the noise
reduction filter applied. According to this, the electronic device
terminates the algorithm of the present disclosure. In an exemplary
embodiment, the electronic device initializes an error occurrence count.

[0078] In contrast, if it is identified in step 307 that the new touch
error occurs even after the noise reduction filter is applied, the
electronic device proceeds to step 309 and identifies if the error
occurrence count is greater than a 1st reference count in order to
determine additional application or non-application of the noise
reduction filter.

[0079] If it is identified in step 309 that the error occurrence count is
less than or is equal to the 1st reference count, the electronic device
determines to additionally apply the noise reduction filter. According to
this, the electronic device proceeds to step 311 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0080] Next, the electronic device returns to step 305 and additionally
applies the noise reduction filter to compensate the new touch error.

[0081] In contrast, if it is identified in step 309 that the error
occurrence count is greater than the 1st reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0082] If it is identified in step 303 that the connection with the TA is
not made, the electronic device proceeds to step 313 and applies a noise
reduction filter to compensate the touch error. In an exemplary
embodiment, the electronic device applies noise reduction filters of
reference number. Here, the reference number represents the number of
noise reduction filters to be applied once for the sake of touch error
compensation. The noise reduction filter includes a median filter.

[0083] After compensating the touch error, the electronic device proceeds
to step 315 and identifies if a new touch error occurs even after the
noise reduction filter is applied.

[0084] If it is identified in step 315 that the new touch error does not
occur after the noise reduction filter is applied, the electronic device
recognizes that the touch error has been compensated through the noise
reduction filter applied. According to this, the electronic device
terminates the algorithm of the present disclosure. In an exemplary
embodiment, the electronic device initializes an error occurrence count.

[0085] In contrast, if it is identified in step 315 that the new touch
error occurs even after the noise reduction filter is applied, the
electronic device proceeds to step 317 and identifies if the error
occurrence count is greater than a 2nd reference count in order to
determine additional application or non-application of the noise
reduction filter. Here, the 2nd reference count is set less than the 1st
reference count.

[0086] If it is identified in step 317 that the error occurrence count is
less than or is equal to the 2nd reference count, the electronic device
determines to additionally apply the noise reduction filter. According to
this, the electronic device proceeds to step 319 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0087] Next, the electronic device returns to step 313 and additionally
applies the noise reduction filter to compensate the new touch error.

[0088] In contrast, if it is identified in step 317 that the error
occurrence count is greater than the 2nd reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0089] As described above, the electronic device can set the number of
addition of a noise reduction filter differently according to the cause
of touch error occurrence. For example, because a power noise resulting
from unstable power supply acts as a greater touch error than a radiation
noise in the electronic device, the electronic device can set the number
of addition for compensating the power noise resulting from the unstable
power supply, greater than the number of addition for compensating the
radiation noise.

[0090] If the touch environment for sensing a capacitance variation of a
touch screen is changed, an electronic device may initialize the touch
compensation algorithm illustrated in FIG. 2 or FIG. 3. For example, if a
TA is connected to an electronic device compensating a touch error
resulting from a radiation noise, the electronic device may initialize
the touch compensation algorithm illustrated in FIG. 2 or FIG. 3. In an
exemplary embodiment, the electronic device restores a noise reduction
filter value identically to before the first occurrence of the touch
error.

[0091] For another example, if the TA is disconnected from the electronic
device compensating a touch error resulting from unstable power supply,
the electronic device may initialize the touch compensation algorithm:
illustrated in FIG. 2 or FIG. 3. In an exemplary embodiment, the
electronic device restores a noise reduction filter value identically to
before the first occurrence of the touch error.

[0092] In the aforementioned exemplary embodiment, the electronic device
with the touch screen compensates a touch error using a noise reduction
filter.

[0093] In another exemplary embodiment, the electronic device with the
touch screen may adjust touch sensibility and compensate a touch error.
For instance, as the touch sensibility is high, the electronic device
using a capacitive touch scheme is more sensitive to the surrounding
noise. According to this, the electronic device using the capacitive
touch scheme may adjust the touch sensibility and compensate the touch
error as illustrated in FIG. 4 below.

[0094] FIG. 4 illustrates a procedure for compensating a touch error in an
electronic device with a touch screen according to a second exemplary
embodiment of the present disclosure.

[0095] Referring to FIG. 4, in step 401, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0096] If it is identified in step 401 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0097] In contrast, if it is identified in step 401 that the touch error
occurs, the electronic device proceeds to step 403 and adjusts touch
sensibility to compensate the touch error. For example, the electronic
device increases the touch sensitivity by one level. That is, the
electronic device lowers touch sensitivity by one level.

[0098] After compensating the touch error, the electronic device proceeds
to step 405 and identifies if a new touch error occurs even after the
touch sensibility is adjusted.

[0099] If it is identified in step 405 that the new touch error does not
occur after the touch sensibility is adjusted, the electronic device
recognizes that the touch error has been compensated through the
adjustment of the touch sensibility. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device initializes an error
occurrence count.

[0100] In contrast, if it is identified in step 405 that the new touch
error occurs even after the touch sensibility is adjusted, the electronic
device proceeds to step 407 and identifies if the error occurrence count
is greater than a reference count in order to determine additional
adjustment of the touch sensibility.

[0101] If it is identified in step 407 that the error occurrence count is
less than or is equal to the reference count, the electronic device
determines to additionally adjust the touch sensibility. According to
this, the electronic device proceeds to step 409 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0102] Next, the electronic device returns to step 403 and additionally
adjusts the touch sensibility to compensate the new touch error. For
example, the electronic device increases the touch sensibility by one
level. That is, the electronic device lowers the touch sensitivity by one
level.

[0103] In contrast, if it is identified in step 407 that the error
occurrence count is greater than the reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0104] In the aforementioned exemplary embodiment, the electronic device
adjusts touch sensibility according to an error occurrence count to
compensate a touch error. In an exemplary embodiment, the electronic
device with the touch screen may set the number of adjustment of touch
sensibility differently according to the cause of touch error occurrence
as illustrated in FIG. 5 below. In the following description, it is
assumed that the cause of the touch error occurrence includes a radiation
noise resulting from the electric field or magnetic field of the
surroundings, and a power noise resulting from unstable power supply.

[0105] FIG. 5 illustrates a procedure for compensating a touch error
considering connection or non-connection with a TA in an electronic
device with a touch screen according to a second exemplary embodiment of
the present disclosure.

[0106] Referring to FIG. 5, in step 501, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0107] If it is identified in step 501 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0108] In contrast, if it is identified in step 501 that the touch error
occurs, the electronic device proceeds to step 503 and identifies if a TA
is connected to the electronic device. For example, the electronic device
identifies whether an external power is connected to a charging interface
of an external port of the electronic device.

[0109] If it is identified in step 503 that connection with the TA is
made, the electronic device proceeds to step 505 and adjusts touch
sensibility to compensate the touch error. For example, the electronic
device increases the touch sensitivity by one level. That is, the
electronic device lowers touch sensitivity by one level.

[0110] After compensating the touch error, the electronic device proceeds
to step 507 and identifies if a new touch error occurs even after the
touch sensibility is adjusted.

[0111] If it is identified in step 507 that the new touch error does not
occur after the touch sensibility is adjusted, the electronic device
recognizes that the touch error has been compensated through the touch
sensibility adjusted. According to this, the electronic device terminates
the algorithm of the present disclosure. In an exemplary embodiment, the
electronic device initializes an error occurrence count.

[0112] In contrast, if it is identified in step 507 that the new touch
error occurs even after the touch sensibility is adjusted, the electronic
device proceeds to step 509 and identifies if the error occurrence count
is greater than a 1st reference count in order to determine additional
adjustment or non-adjustment of the touch sensibility.

[0113] If it is identified in step 509 that the error occurrence count is
less than or is equal to the 1st reference count, the electronic device
determines to additionally adjust the touch sensibility. According to
this, the electronic device proceeds to step 511 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0114] Next, the electronic device returns to step 505 and additionally
adjusts the touch sensibility to compensate the new touch error. For
example, the electronic device increases the touch sensibility by one
level. That is, the electronic device lowers the touch sensitivity by one
level.

[0115] In contrast, if it is identified in step 509 that the error
occurrence count is greater than the 1st reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0116] If it is identified in step 503 that the connection with the TA is
not made, the electronic device proceeds to step 513 and adjusts touch
sensibility to compensate the touch error. For example, the electronic
device increases the touch sensibility by one level. That is, the
electronic device lowers touch sensitivity by one level.

[0117] After compensating the touch error, the electronic device proceeds
to step 515 and identifies if a new touch error occurs even after the
touch sensibility is adjusted.

[0118] If it is identified in step 515 that the new touch error does not
occur after the touch sensibility is adjusted, the electronic device
recognizes that the touch error has been compensated through the touch
sensibility adjusted. According to this, the electronic device terminates
the algorithm of the present disclosure. In an exemplary embodiment, the
electronic device initializes the error occurrence count.

[0119] In contrast, if it is identified in step 515 that the new touch
error occurs even after the touch sensibility is adjusted, the electronic
device proceeds to step 517 and identifies if the error occurrence count
is greater than a 2nd reference count in order to determine additional
adjustment or non-adjustment of the touch sensibility. Here, the 2nd
reference count is set less than the 1st reference count.

[0120] If it is identified in step 517 that the error occurrence count is
less than or is equal to the 2nd reference count, the electronic device
determines to additionally adjust the touch sensibility. According to
this, the electronic device proceeds to step 519 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0121] Next, the electronic device returns to step 513 and additionally
adjusts the touch sensibility to compensate the new touch error. For
example, the electronic device increases the touch sensibility by one
level. That is, the electronic device lowers the touch sensitivity by one
level.

[0122] In contrast, if it is identified in step 517 that the error
occurrence count is greater than the 2nd reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide the touch error
compensation impossibility information to the user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0123] As described above, the electronic device with the touch screen can
set the number of adjustment of touch sensibility differently according
to the cause of touch error occurrence. For example, because a power
noise resulting from unstable power supply acts as a greater touch error
than a radiation noise in the electronic device, the electronic device
can set the number of adjustment for compensating the power noise
resulting from the unstable power supply, greater than the number of
adjustment for compensating the radiation noise.

[0124] If the environment for sensing a capacitance variation of a touch
screen is changed, an electronic device may initialize the touch
compensation algorithm illustrated in FIG. 4 or FIG. 5. For example, if a
TA is connected to an electronic device compensating a touch error
resulting from a radiation noise, the electronic device may initialize
the touch compensation algorithm illustrated in FIG. 4 or FIG. 5. In an
exemplary embodiment, the electronic device restores touch sensibility
identically to before the first occurrence of the touch error. For
another example, if the TA is disconnected from the electronic device
compensating a touch error resulting from unstable power supply, the
electronic device may initialize the touch compensation algorithm
illustrated in FIG. 4 or FIG. 5. In an exemplary embodiment, the
electronic device restores touch sensibility identically to before the
first occurrence of the touch error.

[0125] In the aforementioned exemplary embodiment, the electronic device
with the touch screen compensates a touch error using a noise reduction
filter or a touch sensibility adjustment scheme.

[0126] In another exemplary embodiment, the electronic device with the
touch screen may compensate a touch error by applying at least one of a
noise reduction filter, a touch sensibility adjustment scheme, and a
frequency change scheme as illustrated in FIG. 6 below.

[0127]FIG. 6 illustrates a procedure for compensating a touch error in an
electronic device with a touch screen according to a third exemplary
embodiment of the present disclosure.

[0128] Referring to FIG. 6, in step 601, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0129] If it is identified in step 601 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0130] In contrast, if it is identified in step 601 that the touch error
occurs, the electronic device proceeds to step 603 and applies at least
one of noise reduction filter addition, touch sensibility adjustment, and
frequency change schemes to compensate the touch error. For example, the
electronic device compensates the touch error using the noise reduction
filter addition and touch sensibility adjustment schemes. For another
example, the electronic device compensates the touch error using the
noise reduction filter addition and frequency change schemes. For further
example, the electronic device compensates the touch error using the
touch sensibility adjustment scheme and the frequency change scheme. For
yet another example, the electronic device compensates the touch error
using the noise reduction filter addition scheme, the touch sensibility
adjustment scheme, and the frequency change scheme. For still another
example, the electronic device compensates the touch error using any one
of the noise reduction filter addition scheme, the touch sensibility
adjustment scheme, and the frequency change scheme. Here, the frequency
change scheme represents a touch error compensation scheme of changing a
frequency into any one of a plurality of available frequencies for a
touch scheme.

[0131] After compensating the touch error, the electronic device proceeds
to step 605 and identifies if a new touch error occurs even after the
touch error is compensated.

[0132] If it is identified in step 605 that the new touch error does not
occur after the touch error is compensated, the electronic device
recognizes that the touch error has been compensated. According to this,
the electronic device terminates the algorithm of the present disclosure.
In an exemplary embodiment, the electronic device initializes an error
occurrence count.

[0133] In contrast, if it is identified in step 605 that the new touch
error occurs even after the touch error is compensated., the electronic
device proceeds to step 607 and identifies if the error occurrence count
is greater than a reference count in order to determine additional
compensation or non-compensation of the touch error.

[0134] If it is identified in step 607 that the error occurrence count is
less than or is equal to the reference count, the electronic device
determines to additionally compensate the touch error. According to this,
the electronic device proceeds to step 609 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0135] Next, the electronic device returns to step 603 and applies at
least one of the noise reduction filter addition, touch sensibility
adjustment, and frequency change schemes to additionally compensate the
new touch error. For example, the electronic device additionally
compensates the touch error using the noise reduction filter addition and
touch sensibility adjustment schemes. For another example, the electronic
device additionally compensates the touch error using the noise reduction
filter addition and frequency change schemes. For further example, the
electronic device additionally compensates the touch error using the
touch sensibility adjustment scheme and the frequency change scheme. For
yet another example, the electronic device additionally compensates the
touch error using the noise reduction filter addition scheme, the touch
sensibility adjustment scheme, and the frequency change scheme. For still
another example, the electronic device additionally compensates the touch
error using any one of the noise reduction filter addition scheme, the
touch sensibility adjustment scheme, and the frequency change scheme.

[0136] In contrast, if it is identified in step 607 that the error
occurrence count is greater than the reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0137] In the aforementioned exemplary embodiment, the electronic device
with the touch screen determines a touch compensation count according to
an error occurrence count. In an exemplary embodiment, the electronic
device with the touch screen may set the touch compensation count
differently according to the cause of touch error occurrence as
illustrated in FIG. 7 below. In the following description, it is assumed
that the cause of the touch error occurrence includes a radiation noise
resulting from the electric field or magnetic field of the surroundings,
and a power noise resulting from unstable power supply.

[0138] FIG. 7 illustrates a procedure for compensating a touch error
considering connection or non-connection with a TA in an electronic
device with a touch screen according to a third exemplary embodiment of
the present disclosure.

[0139] Referring to FIG. 7, in step 701, the electronic device with the
touch screen identifies if a touch error takes place. For example, when a
sudden capacitance variation takes place, the electronic device
recognizes that the touch error takes place. For another example, when a
touch recognition position is not included in the touch screen, the
electronic device can recognize that the touch error takes place.

[0140] If it is identified in step 701 that the touch error does not
occur, the electronic device recognizes that touch error compensation is
unnecessary, and terminates the algorithm of the present disclosure.

[0141] In contrast, if it is identified in step 701 that the touch error
occurs, the electronic device proceeds to step 703 and identifies if a TA
is connected to the electronic device. For example, the electronic device
identifies whether an external power is connected to a charging interface
of an external port of the electronic device.

[0142] In contrast, if it is identified in step 703 that the TA is
connected to the electronic device, the electronic device proceeds to
step 705 and applies at least one of noise reduction filter addition,
touch sensibility adjustment, and frequency change schemes to compensate
the touch error. For example, the electronic device compensates the touch
error using the noise reduction filter addition and touch sensibility
adjustment schemes. For another example, the electronic device
compensates the touch error using the noise reduction filter addition and
frequency change schemes. For further example, the electronic device
compensates the touch error using the touch sensibility adjustment scheme
and the frequency change scheme. For yet another example, the electronic
device compensates the touch error using the noise reduction filter
addition scheme, the touch sensibility adjustment scheme, and the
frequency change scheme. For still another example, the electronic device
compensates the touch error using any one of the noise reduction filter
addition scheme, the touch sensibility adjustment scheme, and the
frequency change scheme. Here, the frequency change scheme represents a
touch error compensation scheme of changing a frequency into any one of a
plurality of available frequencies for a touch scheme.

[0143] After compensating the touch error, the electronic device proceeds
to step 707 and identifies if a new touch error occurs even after the
touch error is compensated.

[0144] If it is identified in step 707 that the new touch error does not
occur after the touch error is compensated, the electronic device
recognizes that the touch error has been compensated. According to this,
the electronic device terminates the algorithm of the present disclosure.
In an exemplary embodiment, the electronic device initializes an error
occurrence count.

[0145] In contrast, if it is identified in step 707 that the new touch
error occurs even after the touch error is compensated, the electronic
device proceeds to step 709 and identifies if the error occurrence count
is greater than a 1st reference count in order to determine additional
compensation or non-compensation of the touch error.

[0146] If it is identified in step 709 that the error occurrence count is
less than or is equal to the 1st reference count, the electronic device
determines to additionally compensate the touch error. According to this,
the electronic device proceeds to step 711 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0147] Next, the electronic device returns to step 705 and applies at
least one of the noise reduction filter addition, touch sensibility
adjustment, and frequency change schemes to additionally compensate the
new touch error. For example, the electronic device additionally
compensates the touch error using the noise reduction filter addition and
touch sensibility adjustment schemes. For another example, the electronic
device additionally compensates the touch error using the noise reduction
filter addition and frequency change schemes. For further example, the
electronic device additionally compensates the touch error using the
touch sensibility adjustment scheme and the frequency change scheme. For
yet another example, the electronic device additionally compensates the
touch error using the noise reduction filter addition scheme, the touch
sensibility adjustment scheme, and the frequency change scheme. For still
another example, the electronic device additionally compensates the touch
error using any one of the noise reduction filter addition scheme, the
touch sensibility adjustment scheme, and the frequency change scheme.

[0148] In contrast, if it is identified in step 709 that the error
occurrence count is greater than the 1st reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0149] In contrast, if it is identified in step 703 that the TA is not
connected to the electronic device, the electronic device proceeds to
step 713 and applies at least one of the noise reduction filter addition,
touch sensibility adjustment, and frequency change schemes to compensate
the touch error. For example, the electronic device compensates the touch
error using the noise reduction filter addition and touch sensibility
adjustment schemes. For another example, the electronic device
compensates the touch error using the noise reduction filter addition and
frequency change schemes. For further example, the electronic device
compensates the touch error using the touch sensibility adjustment scheme
and the frequency change scheme. For yet another example, the electronic
device compensates the touch error using the noise reduction filter
addition scheme, the touch sensibility adjustment scheme, and the
frequency change scheme. For still another example, the electronic device
compensates the touch error using any one of the noise reduction filter
addition scheme, the touch sensibility adjustment scheme, and the
frequency change scheme. Here, the frequency change scheme represents a
touch error compensation scheme of changing a frequency into any one of a
plurality of available frequencies for a touch scheme.

[0150] After compensating the touch error, the electronic device proceeds
to step 715 and identifies if a new touch error occurs even after the
touch error is compensated.

[0151] If it is identified in step 715 that the new touch error does not
occur after the touch error is compensated, the electronic device
recognizes that the touch error has been compensated. According to this,
the electronic device terminates the algorithm of the present disclosure.
In an exemplary embodiment, the electronic device initializes the error
occurrence count.

[0152] In contrast, if it is identified in step 715 that the new touch
error occurs even after the touch error is compensated, the electronic
device proceeds to step 717 and identifies if the error occurrence count
is greater than a 2nd reference count in order to determine additional
compensation or non-compensation of the touch error.

[0153] If it is identified in step 717 that the error occurrence count is
less than or is equal to the 2nd reference count, the electronic device
determines to additionally compensate the touch error. According to this,
the electronic device proceeds to step 719 and updates the error
occurrence count. For example, the electronic device increases the error
occurrence count by one level.

[0154] Next, the electronic device returns to step 713 and applies at
least one of the noise reduction filter addition, touch sensibility
adjustment, and frequency change schemes to additionally compensate the
new touch error. For example, the electronic device additionally
compensates the touch error using the noise reduction filter addition and
touch sensibility adjustment schemes. For another example, the electronic
device additionally compensates the touch error using the noise reduction
filter addition and frequency change schemes. For further example, the
electronic device additionally compensates the touch error using the
touch sensibility adjustment scheme and the frequency change scheme. For
yet another example, the electronic device additionally compensates the
touch error using the noise reduction filter addition scheme, the touch
sensibility adjustment scheme, and the frequency change scheme. For still
another example, the electronic device additionally compensates the touch
error using any one of the noise reduction filter addition scheme, the
touch sensibility adjustment scheme, and the frequency change scheme.

[0155] In contrast, if it is identified in step 717 that the error
occurrence count is greater than the 2nd reference count, the electronic
device recognizes that touch error compensation may not be possible
because the touch error is serious. According to this, the electronic
device terminates the algorithm of the present disclosure. In an
exemplary embodiment, the electronic device may provide touch error
compensation impossibility information to a user. For example, the
electronic device generates at least one of a warning and a warning sound
that a touch noise is serious, providing the touch error compensation
impossibility information to the user.

[0156] As described above, the electronic device with the touch screen can
set the number of touch compensation differently according to the cause
of touch error occurrence. For example, because a power noise resulting
from unstable power supply acts as a greater touch error than a radiation
noise in the electronic device, the electronic device can set the number
of touch compensation for compensating the power noise resulting from the
unstable power supply, greater than the number of touch compensation for
compensating the radiation noise.

[0157] If the touch environment for sensing a capacitance variation of a
touch screen is changed, an electronic device with the touch screen may
initialize the touch compensation algorithm illustrated in FIG. 6 or FIG.
7. For example, if a TA is connected to an electronic device compensating
a touch error resulting from a radiation noise, the electronic device may
initialize the touch compensation algorithm illustrated in FIG. 6 or FIG.
7. In an exemplary embodiment, the electronic device restores a noise
reduction filter value identically to before the first occurrence of the
touch error. For another example, if the TA is disconnected from the
electronic device compensating a touch error resulting from unstable
power supply, the electronic device may initialize the touch compensation
algorithm illustrated in FIG. 6 or FIG. 7. In an exemplary embodiment,
the electronic device restores a noise reduction filter value identically
to before the first occurrence of the touch error.

[0158] As described above, exemplary embodiments of the present disclosure
have an advantage of being capable of compensating a touch error
resulting from the electric field or magnetic field of the surroundings
or unstable power supply, by compensating the touch error considering a
touch error occurrence count and compensating the touch error using at
least one of noise reduction filter addition, touch sensibility
adjustment, and frequency change schemes in an electronic device using a
capacitive touch scheme.

[0159] While the invention has been shown and described with reference to
certain preferred embodiments thereof, it will be understood by those
skilled in the art that various changes in form and details may be made
therein without departing from the spirit and scope of the invention as
defined by the appended claims.