WO2013179823A1 - 座標出力装置、表示装置、座標出力方法、及びプログラム - Google Patents

座標出力装置、表示装置、座標出力方法、及びプログラム Download PDF

Info

Publication number
WO2013179823A1
WO2013179823A1 PCT/JP2013/061944 JP2013061944W WO2013179823A1 WO 2013179823 A1 WO2013179823 A1 WO 2013179823A1 JP 2013061944 W JP2013061944 W JP 2013061944W WO 2013179823 A1 WO2013179823 A1 WO 2013179823A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinates
detected
coordinate
output
generated
Prior art date
Application number
PCT/JP2013/061944
Other languages
English (en)
French (fr)
Inventor
収 西田
照久 増井
雅之 藤澤
Original Assignee
シャープ株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by シャープ株式会社 filed Critical シャープ株式会社
Priority to US14/403,095 priority Critical patent/US20150145789A1/en
Publication of WO2013179823A1 publication Critical patent/WO2013179823A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • G06F3/04184Synchronisation with the driving of the display or the backlighting unit to avoid interferences generated internally
    • GPHYSICS
    • G02OPTICS
    • G02FOPTICAL DEVICES OR ARRANGEMENTS FOR THE CONTROL OF LIGHT BY MODIFICATION OF THE OPTICAL PROPERTIES OF THE MEDIA OF THE ELEMENTS INVOLVED THEREIN; NON-LINEAR OPTICS; FREQUENCY-CHANGING OF LIGHT; OPTICAL LOGIC ELEMENTS; OPTICAL ANALOGUE/DIGITAL CONVERTERS
    • G02F1/00Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics
    • G02F1/01Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour 
    • G02F1/13Devices or arrangements for the control of the intensity, colour, phase, polarisation or direction of light arriving from an independent light source, e.g. switching, gating or modulating; Non-linear optics for the control of the intensity, phase, polarisation or colour  based on liquid crystals, e.g. single liquid crystal display cells
    • G02F1/133Constructional arrangements; Operation of liquid crystal cells; Circuit arrangements
    • G02F1/1333Constructional arrangements; Manufacturing methods
    • G02F1/13338Input devices, e.g. touch panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/34Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
    • G09G3/36Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals

Definitions

  • the present invention relates to a coordinate output device, a display device, a coordinate output method, and a program, and more particularly to a technique for generating coordinates based on a touch position of a touch panel.
  • Japanese Patent Laid-Open No. 10-124233 detects the contact position in synchronization with the horizontal synchronization signal of the liquid crystal panel, and makes one frame period a display period and a detection period. A technique for detecting the contact position is disclosed separately.
  • the noise due to the driving of the liquid crystal panel is reduced by detecting the contact position according to the driving timing of the liquid crystal panel as in the prior art.
  • the detection timing of the contact position is limited by the driving timing of the liquid crystal panel.
  • the output rate for outputting the coordinates to be drawn decreases for the control device that displays the image on the liquid crystal panel, and the image drawn by the user with a finger or the like may not be displayed properly.
  • An object of the present invention is to propose a technique for reducing a decrease in the output rate of coordinates to be drawn while reducing the influence of noise caused by driving a display panel.
  • the coordinate output device of the present invention outputs the position information indicating the contact position from the touch panel within the display period of the display panel and in the detection period after the elapse of a predetermined time from the start of the display period,
  • a detection unit that detects coordinates corresponding to the contact position
  • a generation unit that generates a coordinate based on the coordinates of the three points detected by the detection unit, and the coordinates generated by the generation unit are the 3
  • An output unit that outputs coordinates data including coordinates detected by the detection unit and the generated coordinates as coordinates in a period in which a point is detected;
  • the coordinate output device of the present invention can reduce the decrease in the output rate of the coordinates to be rendered while reducing the influence of noise due to the drive of the display panel.
  • FIG. 1 is a block diagram illustrating a configuration example of a display device according to the first and second embodiments.
  • FIG. 2 is a schematic diagram showing a touch panel, a display panel, and a backlight in the first and second embodiments.
  • FIG. 3 is a diagram showing a configuration example of the display panel in the first and second embodiments.
  • FIG. 4 is a diagram illustrating a functional block of the touch panel control unit and other configurations in the first and second embodiments.
  • FIG. 5 is a diagram illustrating the detection timing of the touch panel in the first and second embodiments.
  • FIG. 6 is a block diagram illustrating a configuration example of the display panel according to the first and second embodiments.
  • FIG. 7 is an operation flowchart illustrating the coordinate output process of the display device according to the first embodiment.
  • FIG. 8 is a diagram illustrating detected coordinates in the first embodiment.
  • FIG. 9 is a diagram for explaining a generation coordinate generation method according to the first embodiment.
  • FIG. 10 is a diagram illustrating generated coordinates and detected coordinates generated in the first embodiment.
  • FIG. 11 is a diagram illustrating detected coordinates and generated coordinates in the first embodiment.
  • FIG. 12 is an operation flowchart illustrating coordinate output processing of the display device according to the second embodiment.
  • FIG. 13 is a diagram illustrating detected coordinates and midpoints (generated coordinates) based on the detected coordinates in the second embodiment.
  • FIG. 14 is a diagram illustrating detected coordinates and generated coordinates in the second embodiment.
  • FIG. 15 is a diagram illustrating an example of an image drawn in the second embodiment.
  • FIG. 16 is a diagram illustrating generated coordinates when the fourth detected coordinates are detected in the second embodiment.
  • FIG. 17 is a diagram illustrating generated coordinates in the modification example (1).
  • FIG. 18 is a diagram illustrating generated coordinates in the modification example (4).
  • FIG. 19 is a diagram illustrating generated coordinates in the modification example (5).
  • a coordinate output device includes a touch panel that displays position information indicating a contact position within a display period of a display panel and in a detection period after a predetermined time has elapsed from the start of the display period.
  • An output unit that outputs the coordinate data including the coordinates detected by the detection unit and the generated coordinates as the coordinates in the period in which the three points are detected (first configuration) . According to this configuration, it is possible to detect coordinates in which the influence of noise generated at the start of driving the display panel is reduced. In addition, since the coordinates are generated based on the detected coordinates of the three points, it is possible to reduce a decrease in the output rate of the coordinates to be drawn.
  • the generation unit is configured such that an angle formed by two line segments formed by connecting the coordinates of the detected three points in the detection order is within a predetermined angle range.
  • the generation process may be performed. According to this configuration, it is possible to omit unnecessary generation processing and appropriately display an image drawn by the user on the display panel.
  • the generation unit in the first or second configuration, is configured such that the length of each line segment formed by connecting the coordinates of the detected three points in the detection order is equal to or longer than a predetermined length. In this case, the generation process may be performed. According to this configuration, it is possible to omit unnecessary generation processing and appropriately display an image drawn by the user on the display panel.
  • the generation unit calculates (x1, y1), (x2, y2), and (x3, y3) as coordinates of the three points below. It is good also as producing
  • the generation unit is a midpoint coordinate that is a midpoint of each line segment formed by connecting the coordinates of the detected three points in the order of detection. And using the middle point coordinates and the coordinates that become the connection points of the line segments among the coordinates of the three points, generate coordinates located inside the triangle with the coordinates of the three points as vertices,
  • the output unit may output, as the coordinate data, two coordinates serving as a start point and an end point among the coordinates of the three points, and coordinates generated by the generation unit.
  • a display device includes a display panel that displays an image, a touch panel that outputs position information indicating a contact position in accordance with an input signal, the input signal input to the touch panel, and coordinate data output.
  • a coordinate output device having any one of the first to fifth configurations; and a display control unit configured to display an image on the display panel based on the coordinate data output from the coordinate output device.
  • the position information indicating the contact position is displayed on the touch panel in a detection period within a display period of the display panel and after a predetermined time has elapsed from the start of the display period.
  • Detection step for detecting coordinates corresponding to the contact position a generation step for generating coordinates based on the coordinates of the three points detected by the detection step, and the coordinates generated by the generation step
  • An output step of outputting coordinate data including the coordinates detected in the detection step and the generated coordinates as coordinates in a period in which three points are detected is performed.
  • a program provides a computer with position information indicating a contact position in a detection period within a display period of a display panel and after a predetermined time has elapsed from the start of the display period.
  • a detection step of outputting from the touch panel and detecting coordinates corresponding to the contact position, a generation step of generating coordinates based on the coordinates of the three points detected by the detection step, and the coordinates generated by the generation step An output step of outputting coordinate data including the coordinates detected in the detection step and the generated coordinates as coordinates in a period in which the three points are detected is executed.
  • FIG. 1 is a block diagram illustrating a configuration example of a display device according to a first embodiment of the present invention.
  • the display device 1 includes a touch panel 10, a touch panel control unit 11, a display panel 20, a display panel control unit 21, a backlight 30, a backlight control unit 31, a control unit 40, a storage unit 50, and an operation unit. 60 and a timer 70.
  • the touch panel 10, the display panel 20, and the backlight 30 are arranged so as to overlap as shown in FIG.
  • the touch panel 10 functions as an input unit that receives an operation content operated by a user with a finger.
  • FIG. 3 is a schematic view of the touch panel 10 viewed from the z-axis direction of FIG.
  • the touch panel 10 is a capacitive touch panel.
  • the touch panel 10 has a sensing region Sa on a substrate made of translucent glass or the like.
  • the sensing area Sa is an input area that receives a user operation, and is provided so as to overlap the display area of the display panel 20.
  • a plurality of electrodes 101 and electrodes 102 arranged in the x direction and the y direction are provided in the sensing region Sa.
  • the plurality of electrodes 101 and 102 are made of a light-transmitting conductive material such as ITO (indium tin oxide).
  • the touch panel 10 is electrically connected to a touch panel control unit 11 to be described later via a wiring 104 and a wiring 105 connected to the electrode 101 and the electrode 102, respectively.
  • a voltage value corresponding to the capacitance between the electrode 101 and the electrode 102 is displayed via the wiring 105. It is output to the control unit 11.
  • the touch panel control unit 11 includes a CPU (Central Processing Unit) (not shown) and a memory including a ROM (Read Only Memory) and a RAM (Random Access Memory).
  • the touch panel control unit 11 performs coordinate output processing when the CPU executes a control program stored in the ROM.
  • FIG. 4 is a functional block diagram of the touch panel control unit 11 that executes the coordinate output process.
  • the touch panel control unit 11 includes a drive control unit 110, a detection unit 111, a generation unit 112, and an output unit 113. Hereinafter, functions of each unit will be described.
  • the drive control unit 110 drives the touch panel 10 based on the horizontal synchronization signal from the display panel control unit 21.
  • FIG. 5 is a diagram illustrating the display on the display panel 20 and the detection timing of the touch panel 10 in the present embodiment. As shown in FIG. 5, the horizontal synchronization signal becomes H level during a display period when an image is displayed on the display panel 20 and becomes L level during a non-display period.
  • the drive control unit 110 outputs a drive signal to the touch panel 10 at a predetermined number of clocks after the start of the display period in which the horizontal synchronization signal becomes H level, and detects the touch of the touch panel 10. Specifically, in the detection period, the drive control unit 110 sequentially selects the electrodes 101, applies a voltage, and sequentially selects the electrodes 102. As a result, a voltage value corresponding to the capacitance between the selected electrode 101 and electrode 102 is output from the touch panel 10.
  • the detection unit 111 acquires the voltage value output from the touch panel 10, that is, the voltage value for the combination of the electrode 101 and the electrode 102 selected by the drive control unit 110. Then, the acquired voltage value is compared with a predetermined threshold value. When the voltage value is equal to or greater than the threshold value, the detection unit 111 identifies coordinates corresponding to the positions of the electrode 101 and the electrode 102 from which the voltage value is obtained as coordinates indicating the contact position, and identifies the identified coordinates (hereinafter, detection) Are stored in the RAM in time series.
  • the generating unit 112 reads the detected coordinates stored in the RAM in the order of detection, and generates coordinates using a predetermined arithmetic expression and the read detected coordinates. The details of the generation method will be described in the operation description to be described later.
  • the output unit 113 outputs coordinate data including the coordinates generated by the generation unit 112 (hereinafter referred to as generation coordinates) and the detected coordinates stored in the RAM to the control unit 40.
  • a transmissive liquid crystal panel is used as the display panel 20.
  • the display panel 20 includes an active matrix substrate 20b (FIG. 2) and a counter substrate 20a (FIG. 2), and a liquid crystal layer (shown) between the active matrix substrate 20b (FIG. 2) and the counter substrate 20a (FIG. 2). (Omitted) is enclosed.
  • the display panel 20 has a plurality of pixels (not shown) formed in a matrix by a plurality of gate lines 203 (FIG. 6) and a plurality of source lines 204 (FIG. 6) in the active matrix substrate 20b. A region where the plurality of pixels are formed becomes a display region.
  • the active matrix substrate 20b is provided with a thin film transistor and a pixel electrode for each pixel.
  • a common electrode is provided on the counter substrate 20a, and a color filter is provided at a position corresponding to each pixel.
  • a gate line 203 (FIG. 6) is connected to the gate electrode of the thin film transistor, and a source line 204 (FIG. 6) is connected to the source electrode.
  • FIG. 6 is a block diagram showing each part connected to the display panel 20.
  • the display panel control unit 21 includes a CPU (not shown) and a memory (ROM and RAM).
  • the gate driver 201 is connected to the plurality of gate lines 203 and sends a scanning signal to the thin film transistor through the plurality of gate lines 203. When a scanning signal is input from each gate line 203 to the gate electrode, the thin film transistor is driven according to the scanning signal.
  • the source driver 202 is connected to the source line 204.
  • the source driver 202 converts the image data instructed from the display panel control unit 21 into a voltage signal by the voltage conversion unit 202a, and outputs the voltage signal to the source line 204 in accordance with the output timing of the scanning signal of the gate driver 201. Send it out.
  • the gradation of each pixel is controlled by changing the alignment state of the liquid crystal molecules according to the voltage signal.
  • an image corresponding to the image signal is displayed on the display panel 20.
  • the backlight 30 is disposed on the back side of the display panel 20.
  • the backlight 30 is, for example, a direct-type backlight, and has a plurality of light sources composed of LEDs (Light Emitting Diodes).
  • the backlight control unit 31 includes a CPU (not shown) and memory (ROM and RAM). Under the control of the control unit 40, the backlight control unit 31 irradiates light from the backlight 30 so as to have a predetermined brightness.
  • the control unit 40 has a CPU and memory (ROM and RAM) not shown.
  • the control unit 40 controls each unit connected to the control unit 40 by the CPU executing a control program stored in the ROM. Specifically, the control unit 40 receives image data from the operation unit 60 and coordinate data including detection coordinates and generation coordinates from the touch panel control unit 11 and generates image data.
  • the control unit 40 reads image data from the storage unit 50 and outputs an image signal indicating the image data to the display panel control unit 21.
  • the control unit 40 and the display panel control unit 21 are examples of the display control unit.
  • the storage unit 50 is a storage medium such as a hard disk, and stores various data such as application programs and image data that operate on the display device 1.
  • the operation unit 60 is an operator such as a power switch or a menu button of the display device 1.
  • the operation unit 60 outputs an operation signal indicating the operation content operated by the user to the control unit 40.
  • the timer unit 70 counts a clock signal from a clock supply unit (not shown) and counts it.
  • FIG. 7 is a diagram illustrating an operation flow of the display device 1.
  • the display panel control unit 21 drives the display panel 20 based on the horizontal synchronization signal, and the horizontal synchronization signal is sent to the touch panel control unit 11.
  • the touch panel control unit 11 detects the contact position in the sensing area Sa at the timing of a predetermined number of clocks from the rising edge of the horizontal synchronization signal (step S11). Specifically, the touch panel control unit 11 sequentially selects the electrodes 101 of the touch panel 10, applies a voltage, and sequentially selects the electrodes 102. Thereby, voltage values corresponding to each combination of the electrode 101 and the electrode 102 are sequentially output from the touch panel 10.
  • the touch panel control unit 11 determines whether or not the voltage value output from the touch panel 10 is equal to or greater than a predetermined threshold, that is, whether or not the touch panel 10 is touched (step S12). If the voltage value is equal to or greater than a predetermined threshold value (step S12: YES), the touch panel control unit 11 specifies the coordinates corresponding to the combination of the electrode 101 and the electrode 102 from which the voltage value is obtained as the contact position, The identified detection coordinates are stored in the RAM in time series (step S13). If the voltage value is not equal to or greater than a predetermined threshold value (step S12: NO), the touch panel control unit 11 repeatedly performs the process of step S12.
  • the touch panel control unit 11 repeats the processing from step S12 onward until the three detected coordinates are stored in the RAM (step S14: NO).
  • the three detected coordinates (P1, P2, P3) up to the third are read from the RAM (step S16).
  • the touch panel control part 11 produces
  • the touch panel control unit 11 uses the generated coordinates (S5) as coordinates of a period in which the three detected coordinates (P1, P2, P3) are detected, and includes the detected coordinates (P1, P2, P3) and the generated coordinates (S5). Data is output to the control unit 40 (step S18).
  • the touch panel control unit 11 increments the value of the loop counter by 1 (step S20), and repeats the processes after step S16 described above. Do.
  • the detection coordinates used for generating the previous generation coordinates that is, the two detection coordinates other than the last detection coordinate among the three detection coordinates are not output. It may be.
  • step S19 the touch panel control unit 11 performs processing after step S20 if a new detection coordinate is not stored in the RAM (step S19: NO) and the detection period has not ended (step S21: NO). repeat. If the detection period has ended (step S21: YES), the coordinate output process ends.
  • the generation coordinates (S5) have been described using the above formulas (1) to (4). However, by substituting the coordinates of the detection coordinates P1, P2, and P3 into the formula (4), You may ask for it.
  • FIG. 10 shows a curve displayed on the display panel 20 based on the generated coordinates (S5) and the detected coordinates (P1, P2, P3) output to the control unit 40 by the display panel control unit 21 in the above example.
  • the generated coordinates (S5) are located outside the triangle having vertices P1, P2 and P3.
  • the contact position on the touch panel 10 is detected after a predetermined time has elapsed from the start of driving of the display panel 20. Therefore, it is possible to detect the touch panel 10 without being affected by noise generated at the start of driving the display panel 20.
  • coordinates are generated by substituting the three detected coordinates detected during the detection period of the touch panel 10 into a simple arithmetic expression. Therefore, the output rate of coordinates can be increased without increasing the processing load for generating the coordinates.
  • FIG. 12 is an operation flow showing an operation example of the coordinate output processing of the present embodiment.
  • the detection coordinates P1, P2, and P3 are sequentially detected and stored in the RAM of the touch panel control unit 11 as in the example of the first embodiment (FIG. 8).
  • the touch panel control unit 11 reads the detected coordinates P1, P2, and P3 from the RAM (step S14: YES, S15, S161), and generates coordinates using a Bezier curve based on these detected coordinates (step S171).
  • the method for generating coordinates is as follows.
  • the touch panel control unit 11 obtains the midpoint T1 of P1 and P2 and the midpoint T2 of P2 and P3 by the following equations (5) and (6).
  • the touch panel control unit 11 generates the coordinates (xT3, yT3) of T3 shown in FIG. 14 using the quadratic Bezier curve, the midpoints T1 and T2, and the detection coordinates P2.
  • the following equation (7) is obtained by substituting 1/2 into the parameter (t) of the quadratic Bezier curve P (t).
  • the xy coordinates of T1, P2, and T2 are substituted into P0, P1, and P2 of Expression (7) to obtain the xy coordinates of T3 represented by Expressions (8) and (9) below.
  • the touch panel control unit 11 uses the generated coordinates (T1, T2, T3) generated in step S171 as the coordinates of the period during which the detected coordinates (P1, P2, P3) are detected, and the detected coordinates (P1, P3) and the generated coordinates (T1, T2, T3) is output to the control unit 40 (step S191).
  • step S191: YES When the detected coordinate P4 is newly stored in the RAM after the detected coordinate P3 is stored (step S191: YES), the touch panel control unit 11 increments the loop counter by one to detect the detected coordinate P2, P3 and P4 are read (steps S21 and S161), and the above-described processing from step S171 onward is repeated.
  • a generation coordinate T5 based on the midpoint T2 of P2 and P3, P3, and the midpoint T4 of P3 and P4 is generated.
  • new detected coordinates and generated coordinates may be output as coordinate data so as not to overlap with previously detected detected coordinates and generated coordinates.
  • the detection coordinates used for generation and all of the generation coordinates may be output as coordinate data.
  • the solid line image shown in FIG. 15 is displayed on the display panel 20 by the display panel control unit 21. Is displayed.
  • a generation coordinate T3 located inside a triangle having detection coordinates P1, P2, and P3 as vertices is generated.
  • a gentler curve is drawn than when the generation process is not performed (broken line).
  • the contact position is detected after a certain period of time has elapsed from the start of the display period of the display panel 20, so that noise during driving of the display panel 20 is reduced.
  • Detection coordinates can be obtained.
  • the generated coordinates are obtained by substituting the three detected coordinates into a quadratic Bezier curve equation, it is possible to reduce the decrease in the coordinate output rate without increasing the processing load.
  • a coordinate is generated between the last detection coordinate and the previous detection coordinate (hereinafter referred to as an intermediate detection coordinate), and the earliest detection coordinate
  • no coordinate is generated between the detected coordinate and the intermediate detected coordinate.
  • a coordinate may be generated between the earliest detected coordinate and the intermediate detected coordinate. Specific examples (i) and (ii) will be described below.
  • the coordinates may be generated using the coordinates of P1 and P2 and the above-described equation (4). Specifically, the coordinates of P1 are substituted into (x1, y1) and (x2, y2) in equation (4), and the coordinates of P2 are substituted into (x3, y3). That is, the coordinates are generated by using the coordinates of P1 twice.
  • the coordinates can be generated only by the equation (4), so that the memory capacity and the processing load can be reduced as compared with the configuration (i).
  • the coordinates of S4 are not generated until the detected coordinates of the three points P1, P2, and P3 are stored. Therefore, in the configuration (i), after the coordinates of S4 are generated, the detected coordinates (P1, P2, P3) and the generated coordinates (S4, S5) are output.
  • the coordinates of S4 are generated when the detected coordinates of P1 and P2 are stored. Therefore, in the configuration of (ii), after the coordinates of S4 are generated, the detected coordinates (P1, P2) and the generated coordinates (S4) are output, and after the coordinates of S5 are generated, the detected coordinates (P3) And the generated coordinates (S5) are output. Therefore, in the configuration (ii), it is possible to output and draw coordinates earlier than in the configuration (i).
  • the touch panel control unit 11 may generate coordinates when the following conditions are satisfied.
  • the coordinates may be generated when the angle r based on the detected coordinates of the three points is within a predetermined angle range. That is, for example, when the three detection coordinates P1 (x1, y1), P2 (x2, y2), and P3 (x3, y3) shown in FIG. 8 are sequentially detected and stored in the RAM, P1, P2, P3 Coordinates are generated when an angle r formed by two line segments L1 and L2 formed by connecting the two in order of detection is within an arbitrarily defined angle range (for example, less than 90 °).
  • the generated coordinates may be generated when two line segments obtained by connecting the detected coordinates of three points in the detection order are longer than a predetermined length (for example, 5 dots or more), or 2 Coordinates may be generated when the total length of two line segments is greater than or equal to a predetermined length (for example, 10 dots or more).
  • the coordinate generation processing may be performed when an operation for instructing the generation of coordinates is performed.
  • the coordinate generation process may be performed when a condition obtained by arbitrarily combining the above conditions is satisfied.
  • a coordinate S8 between P2 and S5 is used.
  • a coordinate S9 between S5 and P3 may be generated. That is, coordinates may be further generated using two detected coordinates and a generated coordinate generated between the detected coordinates.
  • the coordinates of S9 can be obtained by substituting the coordinates of P2, S5, and P3 into the above equation (4).
  • S8 may be obtained by substituting the coordinates of P2, S5, and P3 into the above formulas (10) and (11), or in modification (1).
  • S8 may be obtained by substituting the coordinates of P2 and S5 into the above equation (4).
  • coordinates may be generated between the detected coordinates P1 and the generated coordinates T1 and between the detected coordinates P3 and the generated coordinates T2.
  • the coordinates of T1, P2, and T2 are substituted into P0, P1, and P2 of each expression in which 1/4 and 3/4 are respectively set in the parameter (t) of Expression (7).
  • FIG. 19 is a diagram showing T8 and T9 obtained by the following formula in the example of FIG.
  • T8 and T9 are located inside the triangle having P1, P2 and P3 as vertices, similarly to T3.
  • xT8 (9 ⁇ x1 + 22 ⁇ x2 + x3)
  • 32 yT8 (9 ⁇ y1 + 22 ⁇ y2 + y3)
  • 32 xT9 (x1 + 22 ⁇ x2 + 9 ⁇ x3)
  • 32 yT9 (y1 + 22 ⁇ y2 + 9 ⁇ y3) / 32
  • the touch panel control unit 11 generates coordinates.
  • the touch panel control unit 11 outputs detected coordinates to the control unit 40, and the control unit 40 outputs the detected coordinates. You may make it produce
  • the display device 1 has been described as an example.
  • a coordinate output device having the function of the touch panel control unit 11 may be provided separately. That is, the coordinate output device may acquire a detection result from the touch panel 10, generate detection coordinates and generation coordinates using the detection result, and output coordinate data, or may detect detection coordinates based on the detection result of the touch panel 10. The coordinates may be obtained by obtaining from another device and the coordinate data may be output.
  • the present invention can be used industrially as a display device with a touch panel.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Nonlinear Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Mathematical Physics (AREA)
  • Optics & Photonics (AREA)
  • Computer Hardware Design (AREA)
  • Position Input By Displaying (AREA)

Abstract

 表示パネルの駆動によるノイズを低減しつつ、描画対象となる座標の出力レートの低下を軽減する。座標出力装置は、表示パネル制御部21から表示パネルの水平同期信号を受け付け、水平同期信号の立ち上がりから所定時間の経過後にタッチパネル10における接触位置の検出を開始する。座標出力装置は、タッチパネル10から出力される信号に基づいて接触位置を示す検出座標を検出し、連続する3点の検出座標に基づいて座標を生成する生成処理を行う。座標出力装置は、生成した座標を3点が検出された期間の座標として、検出座標と生成された生成座標とを含む座標データを制御部40へ出力する。

Description

座標出力装置、表示装置、座標出力方法、及びプログラム
 本発明は、座標出力装置、表示装置、座標出力方法、及びプログラムに関し、特に、タッチパネルの接触位置に基づいて座標を生成する技術に関する。
 タッチパネルと液晶パネルとを組み合わせた表示装置の場合、タッチパネルの接触位置を検出する際、液晶パネルを駆動させる電圧信号がノイズとなることが知られている。そのため、液晶パネルの駆動によるノイズを低減すべく、特開平10-124233号公報には、液晶パネルの水平同期信号と同期して接触位置の検出を行い、1フレーム期間を表示期間と検出期間とに分けて接触位置の検出を行う技術が開示されている。
 上記従来技術のように液晶パネルの駆動タイミングに応じて接触位置の検出を行うことで液晶パネルの駆動によるノイズは低減される。しかしながら、接触位置の検出タイミングが液晶パネルの駆動タイミングによって制限される。その結果、液晶パネルに画像を表示させる制御装置に対し、描画すべき座標を出力する出力レートが低下し、ユーザが指などで描いた画像が適切に表示されない場合がある。
 本発明は、表示パネルの駆動によるノイズの影響を低減しつつ、描画対象となる座標の出力レートの低下を軽減する技術を提案することを目的とする。
 本発明の座標出力装置は、表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出部と、前記検出部によって検出された3点の座標に基づいて座標を生成する生成処理を行う生成部と、前記生成部によって生成された座標を前記3点が検出された期間における座標とし、前記検出部によって検出された座標と、前記生成された座標とを含む座標データを出力する出力部と、を備える。
 本発明の座標出力装置は、表示パネルの駆動によるノイズの影響を低減しつつ、描画対象となる座標の出力レートの低下を軽減することができる。
図1は、第1及び第2の実施形態に係る表示装置の構成例を示すブロック図である。 図2は、第1及び第2の実施形態におけるタッチパネルと表示パネルとバックライトを表す模式図である。 図3は、第1及び第2の実施形態における表示パネルの構成例を示す図である。 図4は、第1及び第2の実施形態におけるタッチパネル制御部の機能ブロックと他の構成とを示す図である。 図5は、第1及び第2の実施形態におけるタッチパネルの検出タイミングを表す図である。 図6は、第1及び第2の実施形態における表示パネルの構成例を示すブロック図である。 図7は、第1の実施形態における表示装置の座標出力処理を表す動作フロー図である。 図8は、第1の実施形態における検出座標を表す図である。 図9は、第1の実施形態における生成座標の生成方法を説明する図である。 図10は、第1の実施形態において生成された生成座標と検出座標とを表す図である。 図11は、第1の実施形態における検出座標と生成座標とを表す図である。 図12は、第2の実施形態における表示装置の座標出力処理を表す動作フロー図である。 図13は、第2の実施形態における検出座標と検出座標に基づく中点(生成座標)とを表す図である。 図14は、第2の実施形態における検出座標と生成座標とを表す図である。 図15は、第2の実施形態で描画される画像例を説明する図である。 図16は、第2の実施形態において4つ目の検出座標が検出された場合の生成座標を表す図である。 図17は、変形例(1)における生成座標を示す図である。 図18は、変形例(4)における生成座標を示す図である。 図19は、変形例(5)における生成座標を示す図である。
 本発明の一実施形態に係る座標出力装置は、表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出部と、前記検出部によって検出された3点の座標に基づいて座標を生成する生成処理を行う生成部と、前記生成部によって生成された座標を前記3点が検出された期間における座標とし、前記検出部によって検出された座標と、前記生成された座標とを含む座標データを出力する出力部と、を備える(第1の構成)。この構成によれば、表示パネルの駆動開始時に発生するノイズの影響が低減された座標を検出することができる。また、検出された3点の座標に基づいて座標が生成されるため、描画すべき座標の出力レートの低下を軽減することができる。
 第2の構成は、前記第1の構成において、前記生成部は、前記検出された3点の座標を検出順に結んで形成される2つの線分がなす角度が予め定めた角度の範囲内となる場合に前記生成処理を行うこととしてもよい。この構成によれば、無駄な生成処理を省き、ユーザが描画した画像を表示パネルに適切に表示させることが可能となる。
 第3の構成は、前記第1又は第2の構成において、前記生成部は、前記検出された3点の座標を検出順に結んで形成される各線分の長さが予め定められた長さ以上となる場合に前記生成処理を行うこととしてもよい。この構成によれば、無駄な生成処理を省き、ユーザが描画した画像を表示パネルに適切に表示させることが可能となる。
 第4の構成は、前記第1から第3のいずれかの構成において、前記生成部は、前記3点の座標である(x1,y1)、(x2,y2)、(x3,y3)を以下の式に代入することにより座標を生成することとしてもよい。
Figure JPOXMLDOC01-appb-M000002
 第5の構成は、前記第1から第3のいずれかの構成において、前記生成部は、前記検出された3点の座標を検出順に結んで形成される各線分の中点となる中点座標を生成し、前記中点座標と、前記3点の座標のうち前記各線分の接続点となる座標とを用いて前記3点の座標を頂点とする三角形の内側に位置する座標を生成し、前記出力部は、前記3点の座標のうち、始点と終点となる2つの座標と、前記生成部によって生成された座標とを前記座標データとして出力することとしてもよい。
 本発明の一実施形態に係る表示装置は、画像を表示する表示パネルと、入力信号に従って接触位置を示す位置情報を出力するタッチパネルと、前記タッチパネルに前記入力信号を入力し、座標データを出力する前記第1から第5のいずれかの構成の座標出力装置と、前記座標出力装置から出力される前記座標データに基づいて前記表示パネルに画像を表示させる表示制御部と、を有する。
 本発明の一実施形態に係る座標出力方法は、表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出ステップと、前記検出ステップによって検出された3点の座標に基づいて座標を生成する生成ステップと、前記生成ステップによって生成された座標を前記3点が検出された期間における座標とし、前記検出ステップによって検出された座標と、前記生成された座標とを含む座標データを出力する出力ステップと、を行う。
 本発明の一実施形態に係るプログラムは、コンピュータに、表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出ステップと、前記検出ステップによって検出された3点の座標に基づいて座標を生成する生成ステップと、前記生成ステップによって生成された座標を前記3点が検出された期間における座標とし、前記検出ステップによって検出された座標と、前記生成された座標とを含む座標データを出力する出力ステップと、を実行させる。
 以下、本発明のより具体的な実施形態について、図面を参照しながら説明する。なお、以下で参照する各図は、説明の便宜上、本発明の実施形態の構成部材のうち、本発明を説明するために必要な主要部材のみを簡略化して示したものである。従って、本発明に係る表示装置は、本明細書が参照する各図に示されていない任意の構成部材を備え得る。また、図中同一又は相当部分には、同一符号を付して、その説明は繰り返さない。
(第1の実施形態)
 (構成)
 図1は、本発明に係る第1の実施形態の表示装置の構成例を表すブロック図である。図1に示すように、表示装置1は、タッチパネル10、タッチパネル制御部11、表示パネル20、表示パネル制御部21、バックライト30、バックライト制御部31、制御部40、記憶部50、操作部60、及び計時部70を有する。タッチパネル10、表示パネル20、バックライト30は、図2に示すように重ねて配置されている。
 タッチパネル10は、ユーザが指で操作した操作内容を受け付ける入力部として機能する。図3は、図2のz軸方向からタッチパネル10を見た模式図である。タッチパネル10は、静電容量型のタッチパネルである。タッチパネル10は、透光性を有するガラスなどで構成された基板上にセンシング領域Saを有する。センシング領域Saはユーザの操作を受け付ける入力エリアであり、表示パネル20の表示領域と重なるように設けられている。センシング領域Saには、x方向とy方向に各々配列された複数の電極101と電極102が設けられている。複数の電極101及び電極102は、ITO(酸化インジウム錫)などの透光性を有する導電性材料で構成される。タッチパネル10は、電極101及び電極102の各々に接続された配線104及び配線105を介して後述のタッチパネル制御部11と電気的に接続されている。タッチパネル制御部11の制御の下、例えば配線104を介して電極101に電圧が順次印加されると、電極101と電極102との間の静電容量に応じた電圧値が配線105を介してタッチパネル制御部11に出力される。
 図1に戻り説明を続ける。タッチパネル制御部11は、図示しないCPU(Central Processing Unit)と、ROM(Read Only Memory)及びRAM(Random Access Memory)を含むメモリとを有する。タッチパネル制御部11は、ROMに記憶されている制御プログラムをCPUが実行することにより座標出力処理を行う。図4は、座標出力処理を実行するタッチパネル制御部11の機能ブロック図である。タッチパネル制御部11は、駆動制御部110、検出部111、生成部112、及び出力部113を有する。以下、各部の機能について説明する。
 駆動制御部110は、表示パネル制御部21からの水平同期信号に基づいてタッチパネル10を駆動させる。図5は、本実施形態における表示パネル20の表示とタッチパネル10の検出のタイミングとを表す図である。図5に示すように、水平同期信号は、表示パネル20に画像を表示する表示期間にHレベルとなり、非表示期間にLレベルとなる。駆動制御部110は、水平同期信号がHレベルとなる表示期間の開始後、所定のクロック数のタイミングでタッチパネル10に対して駆動信号を出力し、タッチパネル10の接触を検出する。具体的には、駆動制御部110は、検出期間において、電極101を順次選択して電圧を印加し、電極102を順次選択する。これにより、選択された電極101と電極102との間の静電容量に応じた電圧値がタッチパネル10から出力される。
 検出部111は、タッチパネル10から出力された電圧値、すなわち、駆動制御部110によって選択された電極101及び電極102の組み合わせに対する電圧値を取得する。そして、取得した電圧値と予め定められた閾値とを比較する。検出部111は、電圧値が閾値以上である場合にはその電圧値が得られた電極101と電極102の位置に対応する座標を接触位置を示す座標として特定し、特定した座標(以下、検出座標と称する)を時系列にRAMに記憶する。
 生成部112は、RAMに記憶された検出座標を検出順に読み出し、予め定められた演算式と読み出した検出座標とを用いて座標を生成する。なお、生成方法の詳細については後述の動作説明で説明する。
 出力部113は、生成部112が生成した座標(以下、生成座標と称する)とRAMに記憶されている検出座標とを含む座標データを制御部40へ出力する。
 図1に戻り、説明を続ける。表示パネル20は、本実施形態では、透過型の液晶パネルが用いられている。表示パネル20は、アクティブマトリクス基板20b(図2)と対向基板20a(図2)とを有し、アクティブマトリクス基板20b(図2)と対向基板20a(図2)との間に液晶層(図示略)が封入されている。表示パネル20は、アクティブマトリクス基板20bにおける複数のゲート線203(図6)と複数のソース線204(図6)とによってマトリクス状に形成された複数の画素(図示略)を有する。これら複数の画素が形成された領域が表示領域となる。アクティブマトリクス基板20bには、画素毎に薄膜トランジスタと画素電極が設けられている。対向基板20aには共通電極が設けられ、各画素に対応する位置にカラーフィルタが設けられている。薄膜トランジスタのゲート電極にはゲート線203(図6)が接続されており、ソース電極にはソース線204(図6)が接続されている。
 図6は、表示パネル20に接続されている各部を示すブロック図である。表示パネル制御部21は、図示しないCPUとメモリ(ROM及びRAM)とを有する。ゲートドライバ201は複数のゲート線203と接続され、複数のゲート線203を介して薄膜トランジスタに対して走査信号を送出する。各ゲート線203からゲート電極に走査信号が入力されると、走査信号に応じて薄膜トランジスタが駆動される。ソースドライバ202はソース線204と接続されている。ソースドライバ202は、表示パネル制御部21から指示された画像データを電圧変換部202aによって電圧信号に変換し、ゲートドライバ201の走査信号の出力タイミングと合わせて、ソース線204に対して電圧信号を送出する。これにより、画素電極と共通電極との間に位置する液晶層において、液晶分子が電圧信号に応じて配向状態を変えることにより、各画素の階調が制御される。その結果、表示パネル20において画像信号に応じた画像が表示される。
 図1に戻り、説明を続ける。バックライト30は、表示パネル20の背面側に配置されている。バックライト30は、例えば直下型のバックライトであり、LED(Light Emitting Diode)で構成された複数の光源を有する。バックライト制御部31は、図示しないCPUとメモリ(ROM及びRAM)とを有する。バックライト制御部31は、制御部40の制御の下、定められた明るさとなるようにバックライト30から光を照射させる。
 制御部40は、図示しないCPUとメモリ(ROM及びRAM)を有する。制御部40は、ROMに記憶されている制御プログラムをCPUが実行することにより、制御部40と接続されている各部を制御する。具体的には、制御部40は、操作部60からの操作信号やタッチパネル制御部11から検出座標及び生成座標を含む座標データを受け付けて、画像データを生成する。また、制御部40は、記憶部50から画像データを読み出し、表示パネル制御部21に画像データを示す画像信号を出力する。なお、制御部40及び表示パネル制御部21は、表示制御部の一例である。
 記憶部50は、ハードディスクなどの記憶媒体であり、表示装置1上で動作するアプリケーションプログラム、画像データなどの各種データを記憶する。操作部60は、表示装置1の電源スイッチ、メニューボタンなどの操作子である。操作部60は、ユーザによって操作された操作内容を示す操作信号を制御部40に出力する。計時部70は、図示しないクロック供給部からのクロック信号をカウントして計時する。
 (動作)
 以下、表示装置1における座標出力処理の動作例について説明する。図7は、表示装置1の動作フローを示す図である。なお、以下の説明において、表示パネル制御部21により水平同期信号に基づいて表示パネル20が駆動され、水平同期信号がタッチパネル制御部11に送出されたものとする。
 タッチパネル制御部11は、水平同期信号の立ち上がりから予め定められたクロック数のタイミングで、センシング領域Saにおける接触位置を検出する(ステップS11)。具体的には、タッチパネル制御部11は、タッチパネル10の電極101を順次選択して電圧を印加し、電極102を順次選択する。これにより、電極101及び電極102の各組み合わせに対応する電圧値がタッチパネル10から逐次出力される。
 タッチパネル制御部11は、タッチパネル10から出力された電圧値が予め定められた閾値以上であるか否か、つまり、タッチパネル10に接触したか否かを判定する(ステップS12)。タッチパネル制御部11は、電圧値が予め定められた閾値以上であれば(ステップS12:YES)、その電圧値が得られた電極101及び電極102の組み合わせに対応する座標を接触位置として特定し、特定した検出座標をRAMに時系列に記憶する(ステップS13)。また、タッチパネル制御部11は、電圧値が予め定められた閾値以上でなければ(ステップS12:NO)、ステップS12の処理を繰り返し行う。
 タッチパネル制御部11は、3つの検出座標がRAMに記憶されるまで(ステップS14:NO)、ステップS12以下の処理を繰り返す。また、タッチパネル制御部11は、3つの検出座標(P1,P2,P3)がRAMに記憶されると(ステップS14:YES)、ループカウンタにn=1を設定し(ステップS15)、1番目から3番目までの3つの検出座標(P1,P2,P3)をRAMから読み出す(ステップS16)。そして、タッチパネル制御部11は、読み出した3つの検出座標を用いて座標を生成する(ステップS17)。
 以下、図8に示すP1、P2、P3の各検出座標を用いてタッチパネル制御部11により座標を生成する過程を図9を参照しながら説明する。
 (a) まず、P1とP3を結ぶ線分L3上の中点S0の座標(xs0,ys0)を以下の式(1)により求める。
Figure JPOXMLDOC01-appb-M000003
 (b) 点P2を基準として、(a)で求めたS0と点対称となるS1の座標(xs1,ys1)を以下の式(2)により求める。
Figure JPOXMLDOC01-appb-M000004
 (c) P3とS1とを結ぶ線分L5と、線分L3と平行な直線L6との交点S3の座標(xs3,ys3)の座標を以下の式(3)により求める。
Figure JPOXMLDOC01-appb-M000005
 (d) P2、P3、S3を頂点とする三角形の重心S5の座標(xs5,ys5)を以下の式(4)により求める。
Figure JPOXMLDOC01-appb-M000006
 (e)上記(d)で求めたS5の座標をP1、P2、P3に基づく生成座標とする。
 このようにして、3つの検出座標P1、P2、P3を頂点とする三角形の外側に位置する生成座標S5が生成される。
 図7に戻り説明を続ける。タッチパネル制御部11は、生成座標(S5)を3つの検出座標(P1,P2,P3)が検出された期間の座標とし、検出座標(P1,P2,P3)と生成座標(S5)を含む座標データを制御部40に出力する(ステップS18)。タッチパネル制御部11は、新たな検出座標がRAMに記憶されている場合には(ステップS19:YES)、ループカウンタの値を1つ増分し(ステップS20)、上述したステップS16以下の処理を繰り返し行う。なお、2回目以降の生成に用いた検出座標を出力する場合、前回の生成座標の生成に用いた検出座標、すなわち3つの検出座標のうち最後の検出座標を除く2つの検出座標は出力しないようにしてもよい。
 ステップS19において、タッチパネル制御部11は、新たな検出座標がRAMに記憶されていない場合において(ステップS19:NO)、検出期間が終了していなければ(ステップS21:NO)、ステップS20以下の処理を繰り返す。また、検出期間が終了した場合(ステップS21:YES)、座標出力処理を終了する。なお、生成座標(S5)は、上記式(1)~(4)を用いて生成される例を説明したが、式(4)に検出座標P1、P2、P3の各座標を代入することにより求めてもよい。
 図10は、上記の例において、表示パネル制御部21により、制御部40に出力された生成座標(S5)と、検出座標(P1,P2,P3)に基づいて表示パネル20に表示される曲線を示した図である。この図に示すように、P1,P2,P3を頂点とする三角形の外側に生成座標(S5)は位置する。
 なお、図11に示すように、P3に続いて、検出座標としてP4、P5がRAMに順次記憶された場合、P4が記憶された際に、上述の生成処理と同様にしてP2,P3,P4を用いてS6の座標を生成し、生成座標(S6)と検出座標(P3)を座標データとして出力する。また、P5が記憶された際には、P3,P4,P5を用いてS7の座標を生成し、生成座標(S7)と検出座標(P4)を座標データとして出力する。この場合も、P2,P3,P4を頂点とする三角形とP3,P4,P5を頂点とする三角形の外側に生成座標(S6、S7)は位置する。
 上述した第1の実施形態では、表示パネル20の駆動開始から一定時間の経過後にタッチパネル10における接触位置の検出を行う。そのため、表示パネル20の駆動開始時に発生されるノイズの影響を受けることなくタッチパネル10の検出を行うことができる。また、上述した第1の実施形態では、タッチパネル10の検出期間に検出された3つの検出座標を簡易な演算式に代入することにより座標を生成する。そのため、座標を生成するための処理負荷を増大させずに座標の出力レートを上げることができる。
(第2の実施形態)
 次に、第1の実施形態とは異なる座標の生成例について説明する。なお、第1の実施形態と共通する構成については第1の実施形態の符号を用い、図12~16を用いて第1の実施形態と異なる部分について説明する。
 図12は、本実施形態の座標出力処理の動作例を示す動作フローである。以下の説明において、第1の実施形態の例(図8)と同様、検出座標P1、P2、P3が順次検出され、タッチパネル制御部11のRAMにこれらが記憶されているものとする。
 タッチパネル制御部11は、RAMから検出座標P1、P2、P3を読み出し(ステップS14:YES、S15、S161)、これら検出座標に基づきベジェ曲線を用いて座標を生成する(ステップS171)。座標の生成方法は以下の通りである。
 (a)タッチパネル制御部11は、図13に示すように、P1とP2の中点T1、P2とP3の中点T2とを以下の式(5)(6)により求める。
Figure JPOXMLDOC01-appb-M000007
 (b)次に、タッチパネル制御部11は、2次のベジェ曲線と中点T1及びT2と、検出座標P2とを用いて、図14に示すT3の座標(xT3,yT3)を生成する。具体的には2次のベジェ曲線P(t)のパラメータ(t)に1/2を代入して以下の式(7)を得る。そして、式(7)のP0、P1、P2に、T1、P2、T2の各xy座標を代入して、以下の式(8)、(9)で示すT3のxy座標を求める。
Figure JPOXMLDOC01-appb-M000008
 図12に戻り説明を続ける。タッチパネル制御部11は、ステップS171において生成した生成座標(T1,T2,T3)を検出座標(P1,P2,P3)が検出された期間の座標とし、検出座標(P1,P3)と、生成座標(T1,T2,T3)とを制御部40へ出力する(ステップS191)。
 また、検出座標P3が記憶された後、新たに検出座標P4がRAMに記憶された場合には(ステップS191:YES)、タッチパネル制御部11は、ループカウンタを1つ増分して検出座標P2、P3、P4を読み出し(ステップS21、ステップS161)、上述したステップS171以下の処理を繰り返し行う。この場合、図16に示すように、P2及びP3の中点T2と、P3と、P3及びP4の中点T4とに基づく生成座標T5が生成される。なお、2回目以降のステップS191の処理は、前回出力した検出座標及び生成座標と重複しないように、新たな検出座標と生成座標とを座標データとして出力するようにしてもよいし、生成座標の生成に用いた検出座標及びその生成座標の全てを座標データとして出力するようにしてもよい。
 上記の例において、制御部40に出力された生成座標(T1,T2,T3)と検出座標(P1,P3)に基づき、図15に示す実線の画像が表示パネル制御部21によって表示パネル20に表示される。この図で示されるように、本実施形態では、検出座標P1、P2、P3を頂点とする三角形の内側に位置する生成座標T3が生成される。その結果、生成処理を行わない場合(破線)よりもなだらかな曲線が描かれる。
 上述した第2の実施形態は、第1の実施形態と同様、表示パネル20の表示期間の開始から一定時間経過後に接触位置の検出を行うため、表示パネル20の駆動時のノイズが低減された検出座標を得ることができる。また、検出された3つの検出座標を2次のベジェ曲線の式に代入することにより生成座標を求めるため、処理負荷を増大させることなく座標の出力レートが低下することを軽減することができる。
(変形例)
 以上、本発明についての実施形態を説明したが、本発明は上述の実施形態のみに限定されず、以下の各変形例の態様及び各変形例を組み合わせた態様も本発明の範囲に含まれる。
 (1)第1の実施形態では、3つの検出座標のうち、最後の検出座標とその前の検出座標(以下、中間の検出座標と称する)の間に座標を生成し、最先の検出座標と中間の検出座標との間に座標を生成しない例であったが、最先の検出座標と中間の検出座標との間に座標を生成してもよい。以下、その具体例(i)(ii)について説明する。
 (i)図8の例において、3つの検出座標P1,P2,P3がRAMに記憶された場合に、S5に加えて、図17に示すように、検出座標P1,P2と、直線L6と線分L4との交点S2とを頂点とする三角形の重心となるS4をP1とP2の間の座標として生成するようにしてもよい。この場合、交点S2の座標(xs2,ys2)は、以下の式(10)により求られる。また、S4の座標(xs4,ys4)は、以下の式(11)により求められる。
Figure JPOXMLDOC01-appb-M000009
 (ii)図8の例において、2つの検出座標P1,P2がRAMに記憶された際に、P1とP2の座標と上述した式(4)とを用いて座標を生成するようにしてもよい。具体的には、式(4)における(x1,y1)と(x2,y2)にP1の座標を代入し、(x3,y3)にP2の座標を代入する。つまり、P1の座標を2回用いて座標を生成する。
 上記(i)の場合には、式(4)に加えてS4を生成するための式(10)を記憶し、式(4)とは異なる処理を別途行う必要がある。(ii)の構成では式(4)だけで座標を生成することができるのでメモリ容量や処理負荷を(i)の構成と比べて軽減することができる。また、(i)の構成では、P1、P2、P3の3点の検出座標が記憶されるまでS4の座標は生成されない。従って、(i)の構成では、S4の座標が生成された後、検出座標(P1,P2,P3)と,生成座標(S4,S5)が出力される。一方、(ii)の構成では、P1、P2の検出座標が記憶されたときにS4の座標が生成される。従って、(ii)の構成では、S4の座標が生成された後に、検出座標(P1,P2)と生成座標(S4)とが出力され、S5の座標が生成された後に、検出座標(P3)と生成座標(S5)が出力される。そのため(ii)の構成では、(i)の構成と比べて座標を早く出力して描画することが可能となる。
 (2)上述した第1及び第2の実施形態において、タッチパネル制御部11は、以下の条件を満たす場合に座標を生成することとしてもよい。例えば、3点の検出座標に基づく角rが予め定めた角度の範囲内である場合に座標を生成するようにしてもよい。つまり、例えば、図8に示す3つの検出座標P1(x1,y1)、P2(x2,y2)、P3(x3,y3)が順次検出されてRAMに記憶されている場合、P1、P2、P3を検出順に結んで形成される2つの線分L1と線分L2とがなす角rが任意に定められた角度範囲内(例えば、90°未満)である場合に座標を生成する。
 また、例えば、3点の検出座標を検出順に結んだ2つの各線分が予め定められた長さ以上(例えば、5ドット以上)である場合に生成座標を生成するようにしてもよいし、2つの線分の長さの合計が予め定められた長さ以上(例えば10ドット以上)である場合に座標を生成するようにしてもよい。
 また、3点の検出座標に基づく角度や長さ以外に、座標の生成を指示する操作がなされた場合に座標の生成処理を行うようにしてもよい。また、上記各条件を任意に組み合わせた条件を満たす場合に座標の生成処理を行うようにしてもよい。
 (3)上述した第2の実施形態の例において、2回目の座標の生成の際、検出座標P2、P3、P4を読み出して座標を生成する例を説明したが、前回生成した生成座標T2と検出座標P3、P4とを用いて座標を生成してもよい。
 (4)上述した第1の実施形態及び変形例(1)において、例えば、検出座標P2と生成座標S5と検出座標P3とを用い、図18に示すように、P2とS5の間の座標S8と、S5とP3との間の座標S9を生成するようにしてもよい。つまり、2つの検出座標と、それら検出座標の間に生成された生成座標とを用いて更に座標を生成するようにしてもよい。この場合、P2、S5、P3の各座標を上記式(4)に代入することによりS9の座標を求めることができる。また、変形例(1)の(i)と同様、上記式(10)(11)にP2、S5、P3の各座標を代入することによりS8を求めてもよいし、変形例(1)の(ii)と同様、P2,S5の座標を上記式(4)に代入することによりS8を求めてもよい。
 (5)上述した第2の実施形態において、更に、検出座標P1と生成座標T1の間、検出座標P3と生成座標T2の間に各々座標を生成するようにしてもよい。この場合には、式(7)のパラメータ(t)に1/4と3/4を各々設定した各式のP0、P1、P2にT1、P2、T2の各座標を代入する。t=1/4の場合と、t=3/4の場合の生成座標S8(xT8,yT8)、S9(xT9,yT9)を求める式を以下に示す。なお、図19は、図15の例において以下の式で求められるT8及びT9を表した図である。この図に示すように、T8,T9はT3と同様、P1,P2,P3を頂点とする三角形の内側に位置している。これらの生成座標と検出座標P1,P3により、第2の実施形態よりもなだらかな曲線を描くことができる。
  xT8=(9×x1+22×x2+x3)/32
  yT8=(9×y1+22×y2+y3)/32
  xT9=(x1+22×x2+9×x3)/32
  yT9=(y1+22×y2+9×y3)/32
 (6)上述した第1及び第2の実施形態では、タッチパネル制御部11において座標の生成を行う例であったが、タッチパネル制御部11から検出座標を制御部40に出力し、制御部40において座標の生成を行うようにしてもよい。
 (7)上述した第1及び第2の実施形態では、表示装置1を例に説明したが、タッチパネル制御部11の機能を有する座標出力装置を別体として設けるようにしてもよい。つまり、座標出力装置は、タッチパネル10から検出結果を取得し、検出結果を用いて検出座標及び生成座標を生成して座標データを出力してもよいし、タッチパネル10の検出結果に基づく検出座標を他の装置から取得して座標を生成し、座標データを出力するようにしてもよい。
産業上の利用の可能性
 本発明は、タッチパネル付き表示装置として産業上の利用が可能である。

Claims (8)

  1.  表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出部と、
     前記検出部によって検出された3点の座標に基づいて座標を生成する生成処理を行う生成部と、
     前記生成部によって生成された座標を前記3点が検出された期間における座標とし、前記検出部によって検出された座標と、前記生成された座標とを含む座標データを出力する出力部と、
     を備える座標出力装置。
  2.  前記生成部は、前記検出された3点の座標を検出順に結んで形成される2つの線分がなす角度が予め定めた角度の範囲内となる場合に前記生成処理を行う、請求項1に記載の座標出力装置。
  3.  前記生成部は、前記検出された3点の座標を検出順に結んで形成される各線分の長さが予め定められた長さ以上となる場合に前記生成処理を行う、請求項1又は2に記載の座標出力装置。
  4.  前記生成部は、前記検出された3点の座標である(x1,y1)、(x2,y2)、(x3,y3)を以下の式に代入することにより座標を生成する、請求項1から請求項3のいずれか一項に記載の座標出力装置。
    Figure JPOXMLDOC01-appb-I000001
  5.  前記生成部は、前記検出された3点の座標を検出順に結んで形成される各線分の中点となる中点座標を生成し、前記中点座標と、前記3点の座標のうち前記各線分の接続点となる座標とを用いて前記3点の座標を頂点とする三角形の内側に位置する座標を生成し、
     前記出力部は、前記3点の座標のうち、始点と終点となる2つの座標と、前記生成部によって生成された座標とを前記座標データとして出力する、請求項1から請求項3のいずれか一項に記載の座標出力装置。
  6.  画像を表示する表示パネルと、
     入力信号に従って接触位置を示す位置情報を出力するタッチパネルと、
     前記タッチパネルに前記入力信号を入力し、座標データを出力する請求項1から請求項5のいずれか一項に記載の座標出力装置と、
     前記座標出力装置から出力される前記座標データに基づいて前記表示パネルに画像を表示させる表示制御部と、
     を有する表示装置。
  7.  表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出ステップと、
     前記検出ステップによって検出された3点の座標に基づいて座標を生成する生成ステップと、
     前記生成ステップによって生成された座標を前記3点が検出された期間における座標とし、前記検出ステップによって検出された座標と、前記生成された座標とを含む座標データを出力する出力ステップと、
     を行う座標出力方法。
  8.  コンピュータに、
     表示パネルの表示期間内であって、前記表示期間の開始から予め定められた時間の経過後の検出期間において、接触位置を示す位置情報をタッチパネルから出力させ、前記接触位置に対応する座標を検出する検出ステップと、
     前記検出ステップによって検出された3点の座標に基づいて座標を生成する生成ステップと、
     前記生成ステップによって生成された座標を前記3点が検出された期間における座標とし、前記検出ステップによって検出された座標と、前記生成された座標とを含む座標データを出力する出力ステップと、
     を実行させるプログラム。
PCT/JP2013/061944 2012-05-28 2013-04-23 座標出力装置、表示装置、座標出力方法、及びプログラム WO2013179823A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/403,095 US20150145789A1 (en) 2012-05-28 2013-04-23 Coordinate output device, display device, coordinate output method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2012-120844 2012-05-28
JP2012120844A JP2015148830A (ja) 2012-05-28 2012-05-28 座標出力装置、表示装置、座標出力方法、及びプログラム

Publications (1)

Publication Number Publication Date
WO2013179823A1 true WO2013179823A1 (ja) 2013-12-05

Family

ID=49673029

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2013/061944 WO2013179823A1 (ja) 2012-05-28 2013-04-23 座標出力装置、表示装置、座標出力方法、及びプログラム

Country Status (3)

Country Link
US (1) US20150145789A1 (ja)
JP (1) JP2015148830A (ja)
WO (1) WO2013179823A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306301A (zh) * 2020-11-02 2021-02-02 北京小米移动软件有限公司 触控数据的处理方法、装置、设备及存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572271A (zh) * 2021-05-17 2021-10-29 惠州市德赛西威汽车电子股份有限公司 一种检测无线充电器充电区域的方法及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689345A (ja) * 1992-09-08 1994-03-29 Nec Corp 描画データ補間装置
JPH0764702A (ja) * 1993-08-31 1995-03-10 Futaba Corp ディスプレイ一体型タブレット
JP2000259335A (ja) * 1999-03-12 2000-09-22 Seiko Epson Corp 手書き情報消去方法及び手書き情報処理機器並びに手書き情報消去処理プログラムを記録した記録媒体
JP2000259348A (ja) * 1999-03-11 2000-09-22 Sharp Corp 座標入力装置
JP2009026095A (ja) * 2007-07-20 2009-02-05 Dainippon Printing Co Ltd 端末装置及びそれに用いられるプログラム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5287738B2 (ja) * 2009-03-16 2013-09-11 株式会社リコー 情報入力装置、画像形成装置、位置判断方法、及び位置判断プログラム
KR101819678B1 (ko) * 2011-04-07 2018-01-17 엘지디스플레이 주식회사 터치센서를 가지는 표시장치와 그 구동방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689345A (ja) * 1992-09-08 1994-03-29 Nec Corp 描画データ補間装置
JPH0764702A (ja) * 1993-08-31 1995-03-10 Futaba Corp ディスプレイ一体型タブレット
JP2000259348A (ja) * 1999-03-11 2000-09-22 Sharp Corp 座標入力装置
JP2000259335A (ja) * 1999-03-12 2000-09-22 Seiko Epson Corp 手書き情報消去方法及び手書き情報処理機器並びに手書き情報消去処理プログラムを記録した記録媒体
JP2009026095A (ja) * 2007-07-20 2009-02-05 Dainippon Printing Co Ltd 端末装置及びそれに用いられるプログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112306301A (zh) * 2020-11-02 2021-02-02 北京小米移动软件有限公司 触控数据的处理方法、装置、设备及存储介质
CN112306301B (zh) * 2020-11-02 2024-06-11 北京小米移动软件有限公司 触控数据的处理方法、装置、设备及存储介质

Also Published As

Publication number Publication date
JP2015148830A (ja) 2015-08-20
US20150145789A1 (en) 2015-05-28

Similar Documents

Publication Publication Date Title
KR101364075B1 (ko) 터치 스크린 일체형 표시장치
CN104731399B (zh) 集成有触摸屏的显示装置及其驱动方法
KR102081606B1 (ko) 터치 ic 및 이를 이용한 터치 스크린 일체형 표시장치
JP5586124B2 (ja) 表示装置
US9239644B2 (en) Liquid crystal display device
JP5253724B2 (ja) 表示装置
JP6074626B2 (ja) 入力装置および表示装置
JP5268118B2 (ja) タッチパネル、タッチパネルの駆動方法、接触情報取得プログラム及び記録媒体
JP6074625B2 (ja) 入力装置および表示装置
US10936013B2 (en) Electronic device with transparent display
US9703441B2 (en) Touch screen device, touch screen display device using the same, and driving method thereof
JP2008198180A (ja) 表示装置及びその駆動方法
KR20120078072A (ko) 터치 센서 구동 장치 및 방법
JP2015072549A (ja) タッチパネル付液晶表示装置
WO2013179823A1 (ja) 座標出力装置、表示装置、座標出力方法、及びプログラム
WO2011065553A1 (ja) 表示装置
JP2014006456A (ja) 表示装置
KR102034216B1 (ko) 디스플레이 장치 및 그 구동 방법
US20150317947A1 (en) Display apparatus, display method, and program
WO2014136155A1 (ja) 入力装置
JP2010271484A (ja) タイミングコントローラ及びタイミング信号生成方法並びにこれを用いた画像表示装置
KR20180025351A (ko) 터치 센서 및 이를 포함하는 표시 장치
KR20150079100A (ko) 터치 스크린 일체형 표시장치
JP7290560B2 (ja) タッチパネルディスプレイ及びタッチパネルディスプレイの制御方法
US20230280858A1 (en) Electronic apparatus and control method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13797585

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14403095

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13797585

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP