Electronic device, interface device and driving method with interpolated sensing data for compensation of noise
An electronic device includes a display layer, a sensor layer that outputs k-th sensing data for a first input during a k-th sensing period in a first mode, and a sensor driver that receives the k-th sensing data from the sensor layer, where k is an integer greater than or equal to 2. The sensor driver determines a period, in which the k-th sensing data is sensed, from among a noise period and a noise-free period, and compares noise included in the k-th sensing data with predetermined reference noise when the k-th sensing data is data sensed in the noise period. When the noise included in the k-th sensing data is greater than the reference noise, the sensor driver generates k-th compensation sensing data by interpolating the k-th sensing data, and generates coordinate information about the first input of the k-th sensing period based on the k-th compensation sensing data.
1 . An electronic device, comprising:
a display layer configured to display an image in units of a frame;
a sensor layer disposed on the display layer and configured to operate in a first mode, in which a first input is sensed, and to output k-th sensing data for the first input during a k-th sensing period in the first mode,
wherein k is an integer greater than or equal to 2; and
a sensor driver configured to:
drive the sensor layer and receive the k-th sensing data from the sensor layer;
determine whether the k-th sensing period, in which the k-th sensing data is sensed, corresponds to a noise period or a noise-free period;
when the k-th sensing data is determined to correspond to the noise period, compare noise included in the k-th sensing data with predetermined reference noise; and
when the noise included in the k-th sensing data is greater than the reference noise, generate k-th compensation sensing data by interpolating the k-th sensing data based on sensing data from at least one preceding period, including compensation sensing data generated for a preceding sensing period corresponding to the noise period, and generate coordinate information about the first input of the k-th sensing period based on the k-th compensation sensing data.
2 . The electronic device of claim 1 , wherein when the k-th sensing data is data sensed in the noise-free period, the sensor driver generates the coordinate information about the first input of the k-th sensing period based on the k-th sensing data.
3 . The electronic device of claim 1 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and
wherein the (k−1)-th sensing period corresponds to the noise-free period.
4 . The electronic device of claim 1 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and (k−2)-th sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period, or (k−2)-th compensation sensing data,
wherein the (k−1)-th sensing period corresponds to the noise-free period, and
wherein the (k−2)-th sensing period corresponds to the noise period.
5 . The electronic device of claim 1 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, (k−2)-th sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period or (k−2)-th compensation sensing data, and (k−3)-th sensing data sensed during a (k−3)-th sensing period preceding the (k−2)-th sensing period,
wherein the (k−1)-th sensing period corresponds to the noise-free period,
wherein the (k−2)-th sensing period corresponds to the noise period, and
wherein the (k−3)-th sensing period corresponds to the noise-free period.
6 . The electronic device of claim 1 , wherein the display layer includes a plurality of pixels,
wherein the frame includes a first period and a second period, which are consecutive, and
wherein one of the first period and the second period corresponds to a data period in which data voltages are written in the pixels, and the other of the first period and the second period corresponds to a blank period in which the data voltages are not written in the pixels.
7 . The electronic device of claim 6 , wherein the blank period corresponds to the noise-free period, and the data period corresponds to the noise period, and
wherein the k-th sensing period corresponds to the data period.
8 . The electronic device of claim 6 , wherein the pixels are arranged in a first direction and a second direction intersecting the first direction, and
wherein a first pixel column extending in the second direction includes first pixels having a first color and second pixels having a second color different from the first color, and
wherein the display layer further includes a 1-1st data line extending in the second direction and connected to the first pixels, and a 1-2nd data line extending in the second direction and connected to the second pixels.
9 . The electronic device of claim 8 , further comprising:
a data driving circuit configured to output the data voltages; and
a switching circuit configured to switch an electrical connection between the data driving circuit and the 1-1st and 1-2nd data lines,
wherein the switching circuit includes a first switching element connected between the 1-1st data line and the data driving circuit and a second switching element connected between the 1-2nd data line and the data driving circuit, and
wherein the first switching element and the second switching element are alternately turned on.
10 . The electronic device of claim 6 , wherein the sensor layer further operates in a second mode different from the first mode, and
wherein the second mode is a mode in which a second input different from the first input is detected.
11 . The electronic device of claim 10 , wherein the sensor layer outputs sensing data for the second input during a sensing period in the second mode,
wherein the sensor driver is further configured to:
receive the sensing data in the second mode; and
generate coordinate information about the second input based on the sensing data,
wherein the sensing period corresponds to the blank period.
12 . The electronic device of claim 6 , further comprising:
a display driver configured to drive the display layer,
wherein the sensor driver receives a synchronization signal from the display driver and determines a period, in which the k-th sensing data is sensed, from among the noise period and the noise-free period.
13 . The electronic device of claim 12 , wherein the synchronization signal includes a vertical synchronization signal that determines a start time point of the frame, and a horizontal synchronization signal that determines a start time point of the data period at which the data voltages are written in the pixels.
14 . An interface device, comprising:
an electronic device; and
an input device configured to communicate with the electronic device,
wherein the electronic device includes:
a display layer configured to display an image in units of a frame;
a sensor layer disposed on the display layer and configured to detect an input from the input device and to output k-th sensing data for the input during a k-th sensing period,
wherein k is an integer greater than or equal to 2; and
a sensor driver configured to:
drive the sensor layer and receive the k-th sensing data from the sensor layer;
determine whether the k-th sensing period, in which the k-th sensing data is sensed, correspond to a noise period or a noise-free period;
when the k-th sensing data is determined to correspond to the noise period, compare noise included in the k-th sensing data with predetermined reference noise; and
when the noise included in the k-th sensing data is greater than the reference noise, generate k-th compensation sensing data by interpolating the k-th sensing data based on sensing data from at least one preceding period, including compensation sensing data generated for a preceding sensing period corresponding to the noise period, and generate coordinate information about the input of the k-th sensing period based on the k-th compensation sensing data.
15 . The interface device of claim 14 , wherein when the k-th sensing data is data sensed in the noise-free period, the sensor driver generates the coordinate information about the input of the k-th sensing period based on the k-th sensing data.
16 . The interface device of claim 14 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and
wherein the (k−1)-th sensing period corresponds to the noise-free period.
17 . The interface device of claim 14 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and (k−2)-th sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period, or (k−2)-th compensation sensing data,
wherein the (k−1)-th sensing period corresponds to the noise-free period, and
wherein the (k−2)-th sensing period corresponds to the noise period.
18 . The interface device of claim 14 , wherein the sensor driver is further configured to:
generate the k-th compensation sensing data by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, (k−2)-th sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period or (k−2)-th compensation sensing data, and (k−3)-th sensing data sensed during a (k−3)-th sensing period preceding the (k−2)-th sensing period,
wherein the (k−1)-th sensing period corresponds to the noise-free period,
wherein the (k−2)-th sensing period corresponds to the noise period, and
wherein the (k−3)-th sensing period corresponds to the noise-free period.
19 . A driving method of an electronic device, the method comprising:
displaying an image in units of a frame;
outputting k-th sensing data for an input during a k-th sensing period in which the input is sensed,
wherein k is an integer greater than or equal to 2;
determining whether the k-th sensing period, in which the k-th sensing data is sensed, corresponds to a noise period or a noise-free period;
when the k-th sensing data is determined to correspond to the noise period, comparing noise included in the k-th sensing data with predetermined reference noise;
when the noise included in the k-th sensing data is greater than the reference noise, generating k-th compensation sensing data by interpolating the k-th sensing data based on sensing data from at least one preceding period, including compensation sensing data generated for a preceding sensing period corresponding to the noise period; and
generating coordinate information about the input of the k-th sensing period based on the k-th compensation sensing data.
20 . The method of claim 19 , further comprising:
when the k-th sensing data is data sensed in the noise-free period, generating the coordinate information about the input of the k-th sensing period based on the k-th sensing data.
21 . The method of claim 19 , wherein the k-th compensation sensing data is generated by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and
wherein the (k−1)-th sensing period corresponds to the noise-free period.
22 . The method of claim 19 , wherein the k-th compensation sensing data is generated by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, and (k−2)-th sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period, or (k−2)-th compensation sensing data,
wherein the (k−1)-th sensing period corresponds to the noise-free period, and
wherein the (k−2)-th sensing period corresponds to the noise period.
23 . The method of claim 19 , wherein the k-th compensation sensing data is generated by interpolating the k-th sensing data based on (k−1)-th sensing data sensed during a (k−1)-th sensing period preceding the k-th sensing period, (k−2)-th compensation sensing data generated during a (k−2)-th sensing period preceding the (k−1)-th sensing period, and (k−3)-th sensing data sensed during a (k−3)-th sensing period preceding the (k−2)-th sensing period,
wherein the (k−1)-th sensing period corresponds to the noise-free period,
wherein the (k−2)-th sensing period corresponds to the noise period, and
wherein the (k−3)-th sensing period corresponds to the noise-free period.
24 . The method of claim 19 , wherein the frame includes a first period and a second period, which are consecutive,
wherein one of the first period and the second period corresponds to a data period in which data voltages are written in a plurality of pixels, and the other of the first period and the second period corresponds to a blank period in which the data voltages are not written in the pixels, and
wherein the determining of whether the k-th sensing period, in which the k-th sensing data is sensed, corresponds to the noise period or the noise-free period, is performed based on a synchronization signal.
25 . The method of claim 24 , wherein the synchronization signal includes a vertical synchronization signal that determines a start time point of the frame, and a horizontal synchronization signal that determines a start time point of the data period at which the data voltages are written in the pixels.