The present invention relates to a touch panel system and an electronic device.
Patent literature 1 discloses such configuration that in a touch panel which includes a plurality of transmission electrode lines and a plurality of reception electrode lines which are orthogonal to the transmission electrode lines, a touch position of an electronic pen is detected based on output voltages, which are obtained by sequentially driving the transmission lines, of respective reception electrode lines and further discloses such configuration that an identification signal is transmitted from a touch pen (so-called electronic pen) to the touch panel.
PTL 1: Japanese Unexamined Patent Application Publication No. 2012-022543 (Published on Feb. 2, 2012)
An object of the present invention is to efficiently transmit a state signal from a touch pen to a touch panel.
A touch panel system according to an aspect of the present invention includes a touch panel which includes a plurality of horizontal signal lines and a plurality of vertical signal lines, a touch panel controller which controls the touch panel, and a touch pen. In the touch panel system, the touch panel controller drives the horizontal signal lines in one of successive two frame periods and drives the horizontal signal lines or the vertical signal lines in the other of the frame periods, the touch pen outputs a state signal about a state of the touch pen in each frame period, and a first item representing a state of the touch pen is expressed by a plurality of state signals which are outputted in a plurality of successive frame periods.
According to the above-mentioned configuration, transmission of a state signal from the touch pen to the touch panel can be efficiently performed by setting an item, a slower response of which is permitted, to the first item, for example.
According to one aspect of the present invention, transmission of a state signal from a pen to a touch panel can be efficiently performed.
An embodiment of the present invention is described below with reference to
(Configuration of touch panel system)
As illustrated in
The touch panel controller 10 is provided with a processor 5, a driver circuit 4, and a sense circuit 3. In each frame period, the driver circuit 4 sequentially drives the horizontal signal lines HL1 to HLm in accordance with an instruction of the processor 5 and voltage signals which are sequentially outputted from the vertical signal lines (VL1 to VLn) in response to the driving of the horizontal signal lines HL1 to HLm are inputted into the sense circuit 3. Waveforms of these voltage signals are adjusted in the sense circuit 3 and the voltage signals are inputted into the processor 5. Further, in a synchronization period coming before each frame period, the driver circuit 4 simultaneously outputs synchronization signals to the horizontal signal lines HL1 to HLm in accordance with an instruction of the processor 5.
The touch pen 30 includes a control unit 11, a synchronization signal detection circuit 12, a sense circuit 13, a driver circuit 15, a first operation button 17, a second operation button 18, and a contact sensor 19. The contact sensor 19 recognizes presence/absence of contact between a pen tip K and the touch panel 20 and inputs touch information into the control unit 11. Further, pen function information obtained by combining a selection position of the first operation button 17 (ON/OFF) and a selection position of the second operation button 18 (including at least mode 1 and mode 2) is also inputted into the control unit 11.
Synchronization signals outputted from the touch panel controller 10 to the horizontal signal lines HL1 to HLm are detected at the synchronization signal detection circuit 12 via the pen tip K and the sense circuit 13 and are transmitted to the control unit 11. The control unit 11 controls the driver circuit 15 based on these synchronization signals, the above-mentioned pen function information (first item information), and the above-mentioned touch information (second item information), and accordingly, a state signal (a pulse signal) about a state of the touch pen 30 is outputted from the driver circuit 15. This state signal (pulse signal) is outputted after the horizontal signal line HLm is driven in each frame period.
Here, even in a non-touch state (hovering state) in which the pen tip K is separated from the touch panel 20, it is possible to receive a synchronization signal from the touch panel 20 and output a state signal to the touch panel 20 as long as the pen tip K is within an electrostatic limit.
The processor 5 of the touch panel controller 10 recognizes a position of a touch (a touch position) by the touch pen 30 and a state of the touch pen 30 based on voltage signals which are sequentially outputted from the vertical signal lines (VL1 to VLn) in each frame period.
In the touch panel system 1, between a pen function (first item) and presence/absence of a touch (second item) which represent a state of the touch pen, the pen function, of which a response slower than that of the presence/absence of a touch is permitted, is expressed by a plurality of state signals which are outputted in a plurality of successive frame periods. Further, presence/absence of a touch of which a quick response is required is expressed by a state signal of each frame period.
In the touch panel system 1, the pen function information is expressed by a bit string obtained by combining two (2 bits) or more pieces of 0 or 1, and one bit is allocated per one frame. Namely, as illustrated in
As illustrated in
In this case, as illustrated in
In a synchronization period 2 following the frame period 1, the touch panel controller 10 outputs a synchronization signal 2 to the horizontal signal lines HL1 to HLm and the touch pen 30 receives the synchronization signal 2 via the pen tip K. In a frame period 2 following the synchronization period 2, after the touch panel controller 10 sequentially drives the horizontal signal lines HL1 to HLm, the touch pen 30 outputs a pulse signal which represents the second bit (right side) of the pen function information (2 bits) and presence/absence of a touch. When these frame periods 1 and 2 are ended, the touch panel controller 10 can recognize the pen function.
For example, when the pen function is the first type (the case where selection of the first operation button is OFF and selection of the second operation button is mode 1), further a touch is absent in the frame period 1, and a touch is present in the frame period 2 (refer to X of
The touch panel controller 10 recognizes that a touch is absent based on the pulse signal of pattern Pi after the end of the frame period 1, recognizes that a touch is present based on the pulse signal of pattern Pi+2 after the end of the frame period 2, and further recognizes that the pen function is the first type based on the pulse signal of pattern Pi and the pulse signal of pattern Pi+2 after the end of the frame periods 1 and 2.
Further, when the pen function is the third type (the case where selection of the first operation button is ON and selection of the second operation button is mode 1), further a touch is absent in the frame period 1, and a touch is present in the frame period 2 (refer to Y of
The touch panel controller 10 recognizes that a touch is absent based on the pulse signal of pattern Pi+1 after the end of the frame period 1, recognizes that a touch is present based on the pulse signal of pattern Pi+2 after the end of the frame period 2, and further recognizes that the pen function is the third type based on the pulse signal of pattern Pi+1 and the pulse signal of pattern Pi+2 after the end of the frame periods 1 and 2.
Here, patterns of the synchronization signals 1 and 2 are different from each other as illustrated in
Here, 00, 01, 10, and 11 are used as bit strings of two bits and the synchronization signals 1 and 2 have different patterns from each other so as to discriminate 10 and 01, in
In a case where the synchronization signals 1 and 2 are set to mutually have identical patterns, bit strings to be used may be set as 00, 01, and 11 (the number of types of the pen function which can be expressed is three) so as to enable recognition of the pen function regardless of reception timing even when the bit strings are repeated. In a case where synchronization signals are set to mutually have identical patterns in bit strings of three bits, 000, 001, 011, and 111 (the number of types of the pen function which can be expressed is four) may be used. In a case where synchronization signals are set to mutually have identical patterns in bit strings of four bits, 0000, 0001, 0011, 0101, 0111, and 1111 (the number of types of the pen function which can be expressed is six) may be used.
In a case where the synchronization signals 1 and 2 are set to mutually have identical patterns, the types of the pen function may be set to the first to eighth types, a bit string 10000000 may be allocated to the first type, a bit string 1000000 may be allocated to the second type, a bit string 100000 may be allocated to the third type, a bit string 10000 may be allocated to the fourth type, a bit string 1000 may be allocated to the fifth type, a bit string 100 may be allocated to the sixth type, a bit string 10 may be allocated to the seventh type, and a bit string 1 may be allocated to the eighth type, as illustrated in
The horizontal signal lines HL1 to HLm are sequentially driven in each frame period as illustrated in
As illustrated in
The touch panel controller 10 is provided with a processor 5, a driver circuit 4, a sense circuit 3, and a multiplexer 4. The multiplexer 4 connects a plurality of horizontal signal lines HL1 to HLm to the driver circuit 3 and connects a plurality of vertical signal lines (VL1 to VLn) to the sense circuit 2 in uneven-number frame periods and synchronization periods coming ahead the uneven-number frame periods, while the multiplexer 4 connects a plurality of vertical signal lines (VL1 to VLn) to the driver circuit 3 and connects a plurality of horizontal signal lines HL1 to HLm to the sense circuit 2 in even-number frame periods and synchronization periods coming ahead the even-number frame periods.
In uneven-number frame periods, the driver circuit 4 sequentially drives the horizontal signal lines HL1 to HLm in accordance with an instruction of the processor 5 and voltage signals which are sequentially outputted from the vertical signal lines (VL1 to VLn) in response to the driving of the horizontal signal lines HL1 to HLm are inputted into the sense circuit 3. In even-number frame periods, the driver circuit 4 sequentially drives the vertical signal lines (VL1 to VLn) in accordance with an instruction of the processor 5 and voltage signals which are sequentially outputted from the horizontal signal lines HL1 to HLm in response to the driving of the vertical signal lines (VL1 to VLn) are inputted into the sense circuit 3. Waveforms of these voltage signals are adjusted in the sense circuit 3 and the voltage signals are inputted into the processor 5.
Further, in synchronization periods coming ahead uneven-number frame periods, the driver circuit 4 outputs synchronization signals to the horizontal signal lines HL1 to HLm in parallel in accordance with an instruction of the processor 5, while in synchronization periods coming ahead even-number frame periods, the driver circuit 4 outputs synchronization signals to the vertical signal lines (VL1 to VLn) in parallel in accordance with an instruction of the processor 5. Here, synchronization signals can be outputted to the vertical signal lines VL1 to VLn and the horizontal signal lines HL1 to HLm respectively before each frame period, can be outputted to the vertical signal lines VL1 to VLn before each frame period, and can be outputted to the horizontal signal lines HL1 to HLm before each frame period.
The configuration of the touch pen 30 is same as that of the first embodiment.
In uneven-number frame periods, synchronization signals outputted to the horizontal signal lines HL1 to HLm are detected at the synchronization signal detection circuit 12 via the pen tip K and the sense circuit 13 and are transmitted to the control unit 11. The control unit 11 controls the driver circuit 15 based on these synchronization signals, the above-mentioned pen function information (first item information), and the above-mentioned touch information (second item information), and accordingly, a state signal (a pulse signal) representing a state of the touch pen 30 is outputted from the driver circuit 15. This state signal (pulse signal) is outputted after the horizontal signal line HLm is driven in each frame period.
In even-number frame periods, synchronization signals outputted to the vertical signal lines (VL1 to VLn) are detected at the synchronization signal detection circuit 12 via the pen tip K and the sense circuit 13 and are transmitted to the control unit 11. The control unit 11 controls the driver circuit 15 based on these synchronization signals, the above-mentioned pen function information (first item information), and the above-mentioned touch information (second item information), and accordingly, a state signal (a pulse signal) representing a state of the touch pen 30 is outputted from the driver circuit 15. This state signal (pulse signal) is outputted after the vertical signal line VLn is driven in each frame period.
The processor 5 of the touch panel controller 10 recognizes a position of a touch (a touch position) by the touch pen 30 and a state of the touch pen 30 based on voltage signals which are sequentially outputted from the vertical signal lines (VL1 to VLn) or the horizontal signal lines (HL1 to HLm) in each frame period.
In the touch panel system 1, pen function information is expressed by a bit string obtained by combining two (2 bits) or more pieces of 0 or 1, and one bit is allocated per one frame. Namely, as illustrated in
As illustrated in
In this case, as illustrated in
In a synchronization period 2 following the frame period 1, the touch panel controller 10 outputs a synchronization signal 2 to the vertical signal lines VL1 to VLn and the touch pen 30 receives the synchronization signal 2 via the pen tip K. In a frame period 2 following the synchronization period 2, after the touch panel controller 10 sequentially drives the vertical signal lines VL1 to VLn, the touch pen 30 outputs a pulse signal which represents the second bit (right side) of the pen function information (2 bits) and presence/absence of a touch. When these frame periods 1 and 2 are ended, the touch panel controller 10 can recognize the pen function.
For example, when the pen function is the first type (the case where selection of the first operation button is OFF and selection of the second operation button is mode 1), further a touch is absent in the frame period 1, and a touch is present in the frame period 2 (refer to X of
The touch panel controller 10 recognizes that a touch is absent based on the pulse signal of pattern Pi after the end of the frame period 1, recognizes that a touch is present based on the pulse signal of pattern Pj+2 after the end of the frame period 2, and further recognizes that the pen function is the first type based on the pulse signal of pattern Pi and the pulse signal of pattern Pj+2 after the end of the frame periods 1 and 2.
Further, in the second embodiment, in a case where the bit string has four bits and the number of types of patterns of a synchronization signal is two (one type for each of an uneven-number frame period and an even-number frame period), by using 00, 01, and 11 for each of the uneven-number frame period and the even-number frame period, the pen function can be recognized regardless of reception timing even though bit strings are repeated. That is, the first to ninth types of pen functions can be expressed by four-bit strings. In particular, as illustrated in
Further, in a case where a bit order can be specified in an uneven-number frame period, states which can be expressed by N bits are all available in an even-number frame period. In a case of a two-bit string, orders of bits of 00 and 11 are indefinite, but a bit order of 01 is specified. Therefore, four patterns of 00, 01, 10, and 11 can be used in even-number frame periods when 01 is used in an uneven-number frame period. As a result, a total of 10 types obtained by 3+4+3 can be expressed in four frames (an uneven number and an even number may be reversed).
In particular, as illustrated in
In a third embodiment, a case where a touch panel system 1 is mounted on a mobile telephone serving as an electronic device is described with reference to
As described above, the touch panel system 1 includes a touch panel 20, a touch panel controller 10, and a touch pen 30.
The display panel 61 displays an image which is stored in the ROM 67 and the RAM 68, by the display control circuit 69. Further, the display panel 61 is superposed on the touch panel 20 or incorporates the touch panel 20. Here, a touch recognition signal which is generated by a touch recognition unit 17 and represents a touch position on the touch panel 20 may be allowed to serve as a signal which represents that the operation key 62 is operated.
The operation key 62 receives an input of an instruction by a user of the portable telephone 60.
The speaker 63 outputs a sound based on music data and the like which are stored in the RAM 68, for example.
The microphone 64 receives an input of a voice of the user. The portable telephone 60 digitalizes the inputted voice (analog data). Then, the portable telephone 60 transmits the digitalized voice to a communication partner (for example, another portable telephone).
The camera 65 photographs an object in response to an operation of the operation key 62 operated by the user. Here, image data of the photographed object is stored in the RAM 68 or an external memory (for example, a memory card).
The CPU 66 controls operations of the touch panel system 1 and the portable telephone 60. The CPU 66 executes a program stored in the ROM 67, for example.
The ROM 67 stores data in a nonvolatile manner. Further, the ROM 67 is a ROM, such as an erasable programmable read-only memory (EPROM) and a flash memory, which is writable and erasable. Not illustrated in
The RAM 68 stores data which is generated through execution of a program by the CPU 66 or data which is inputted via the operation key 62 in a volatile manner.
Thus, the portable telephone 60 as an electronic device according to the present embodiment includes the touch panel system 1. Accordingly, the portable telephone 60 as an electronic device which is provided with the touch panel system 1 which is capable of detecting a synchronization signal in a qualified manner can be provided.
The touch panel system is characterized in that the touch panel system includes a touch panel which includes a plurality of horizontal signal lines and a plurality of vertical signal lines, a touch panel controller which controls the touch panel, and a touch pen, the touch panel controller drives the horizontal signal lines in one of successive two frame periods and drives the horizontal signal lines or the vertical signal lines in the other of the frame periods, the touch pen outputs a state signal about a state of the touch pen in each frame period, and a first item representing a state of the touch pen is expressed by a plurality of state signals which are outputted in a plurality of successive frame periods.
In the touch panel system, such configuration may be employed that a second item representing a state of the touch pen is an item a response of which is required to be quicker than that of the first item and the second item is expressed by a state signal of each frame period.
In the touch panel system, such configuration may be employed that the touch panel controller outputs a synchronization signal to the touch panel before each frame period and the touch pen receives the synchronization signal via the touch panel.
In the touch panel system, such configuration may be employed that the state signal is a pulse signal having a pattern which corresponds to a state of the touch pen.
In the touch panel system, such configuration may be employed that the first item is an item representing a function of a pen and the second item is an item representing presence/absence of a contact between a pen tip and the touch panel.
In the touch panel system, such configuration may be employed that the number of types of a state signal which is outputted by the touch pen is double the number of types of the second item.
In the touch panel system, such configuration may be employed that when the number of types of the first item is the X-th (X is an integer which is 2 or larger) power of 2, the plurality of successive frame periods are X pieces of frame periods.
In the touch panel system, such configuration may be employed that there are a plurality of types of first items and the number of the plurality of successive frame periods differs for each of the types.
The electronic device is characterized in that the electronic device is provided with the touch panel system.
For example, the present invention is available for an electronic blackboard and a portable telephone.
Number | Date | Country | Kind |
---|---|---|---|
2013-116253 | May 2013 | JP | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/JP2014/064173 | 5/28/2014 | WO | 00 |