TWI703486B - Optical touch control panel, optical detector and coding and encoding method thereof - Google Patents
Optical touch control panel, optical detector and coding and encoding method thereof Download PDFInfo
- Publication number
- TWI703486B TWI703486B TW108108148A TW108108148A TWI703486B TW I703486 B TWI703486 B TW I703486B TW 108108148 A TW108108148 A TW 108108148A TW 108108148 A TW108108148 A TW 108108148A TW I703486 B TWI703486 B TW I703486B
- Authority
- TW
- Taiwan
- Prior art keywords
- optical
- values
- touch panel
- position information
- coded
- Prior art date
Links
Images
Abstract
Description
本發明是有關於一種光學式觸控面板、光學偵測器及其編解碼方法。 The invention relates to an optical touch panel, an optical detector and a coding and decoding method thereof.
隨著電子產品的普及化,電子產品的人機互動功能更形重要。而在現今電子裝置的多種人機互動介面中,觸控裝置扮演重要的角色。 With the popularization of electronic products, the human-computer interaction function of electronic products becomes more important. In the various human-computer interaction interfaces of current electronic devices, touch devices play an important role.
習知技術提供一種光學式觸控面板,透過在面板上設置多個編碼,並透過識別編碼來獲知光學式觸控面板的座標。這類型的編碼方式,其編碼中需具有表頭以及內文兩部份,且表頭以及內文須分別設置在特並的區域。如此一來,單一編碼在光學式觸控面板需占去一定大小的佈局面積,並降低了光學式觸控面板的觸控偵測的感測密度。 The prior art provides an optical touch panel. A plurality of codes are arranged on the panel and the coordinates of the optical touch panel are obtained by identifying the codes. For this type of encoding method, the encoding must have two parts: a header and a text, and the header and text must be set in a special area. As a result, a single code needs to occupy a certain layout area on the optical touch panel, and reduces the sensing density of the touch detection of the optical touch panel.
本發明提供一種光學式觸控面板,提高觸控偵測的感測 密度。 The invention provides an optical touch panel to improve the sensing of touch detection density.
本發明提供一種光學感測裝置,可針對光學式觸控面板上的編碼值進行解碼。 The invention provides an optical sensing device, which can decode coded values on an optical touch panel.
本發明並提供一種編碼及解碼方法,應用在上述的光學式觸控面板以及光學感測裝置上。 The present invention also provides an encoding and decoding method, which is applied to the above-mentioned optical touch panel and optical sensing device.
本發明的光學式觸控面板包括多個光學圖像。光學圖像排列成一圖像陣列,各光學圖像對應多個編碼值的其中之一。其中,光學式觸控面板上具有多個分區,各分區包括光學圖像中的多個相鄰光學圖像,且分區中相鄰的二相鄰分區部分重疊。 The optical touch panel of the present invention includes a plurality of optical images. The optical images are arranged in an image array, and each optical image corresponds to one of a plurality of coded values. Wherein, the optical touch panel has multiple partitions, each partition includes a plurality of adjacent optical images in the optical image, and two adjacent adjacent partitions in the partition partially overlap.
本發明的光學感測裝置包括光源發射裝置、影像識別裝置以及解碼裝置。光源發射裝置傳送光束至如前所述的光學式觸控面板的偵測分區中的光學圖案上。影像識別裝置識別偵測分區中的選中編碼值。解碼裝置用以:區分光學圖像對應的編碼值為多個編碼值組;區分選中編碼值為第一選中編碼值組以及第二選中編碼值組;計算出第一選中編碼值組的多個第一位置資訊,以及計算出第二選中編碼值組的多個第二位置資訊;以及,比對第一位置資訊以及第二位置資訊以獲得偵測分區的座標。 The optical sensing device of the present invention includes a light source emitting device, an image recognition device and a decoding device. The light emitting device transmits the light beam to the optical pattern in the detection zone of the optical touch panel as described above. The image recognition device recognizes the selected code value in the detection partition. The decoding device is used for: distinguishing the encoding value corresponding to the optical image among multiple encoding value groups; distinguishing the selected encoding value between the first selected encoding value group and the second selected encoding value group; and calculating the first selected encoding value A plurality of first position information of the group, and a plurality of second position information of the second selected code value group are calculated; and, the first position information and the second position information are compared to obtain the coordinates of the detection zone.
本發明的編碼及解碼方法包括:設立多項式方程式;針對光學式觸控面板上連續的多個位置資訊以依據多項方程式產生數碼序列,數碼序列包括多個數碼;設定多數個偏移值,基於數碼序列以依據偏移值來產生多個編碼數序,各編碼數序包括多個編碼值;依據編碼數序在光學式觸控面板上設置多個光學圖像; 區分光學式觸控面板為多個分區,各分區包括編碼值中的多個,分區中相鄰的二相鄰分區部分重疊;以及,提供光學感測裝置以偵測分區中的的至少其中之一的偵測分區中的多個選中編碼值,並針對選中編碼值進行解碼動作以獲得偵測分區的座標。 The encoding and decoding method of the present invention includes: setting up a polynomial equation; generating a number sequence based on the polynomial equation for multiple position information on the optical touch panel. The number sequence includes multiple numbers; setting a plurality of offset values based on the number The sequence generates a plurality of code number sequences according to the offset value, and each code number sequence includes multiple code values; according to the code number sequence, multiple optical images are set on the optical touch panel; Distinguish the optical touch panel into multiple partitions, each partition includes a plurality of coded values, and two adjacent partitions in the partition partially overlap; and an optical sensing device is provided to detect at least one of the partitions One detects multiple selected coded values in the partition, and performs a decoding action on the selected coded value to obtain the coordinates of the detected partition.
基於上述,本發明透過在光學式觸控面板上設置多個部分重疊的分區,並使各分區中包括分別表示多個編碼值的多個光學圖像。透過各分區中的編碼值,可對應表示光學式觸控面板上不同區域的座標值。基於相鄰二分區部分重疊的配置手段,光學式觸控面板上的編碼密度可以提升,也提升觸控偵測的精密度。 Based on the above, the present invention provides a plurality of partially overlapping partitions on the optical touch panel, and each partition includes a plurality of optical images respectively representing a plurality of code values. Through the coded values in each zone, the coordinate values of different areas on the optical touch panel can be correspondingly represented. Based on the partially overlapping arrangement of two adjacent partitions, the encoding density on the optical touch panel can be increased, and the precision of touch detection can also be improved.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
100:光學式觸控面板 100: Optical touch panel
PA1~PAN:光學圖像 PA1~PAN: optical image
DZ1~DZ3:分區 DZ1~DZ3: partition
201~205:光學圖像 201~205: Optical image
EV1~EV5:編碼值 EV1~EV5: Code value
C1~C5、CX、CXA:中心標記 C1~C5, CX, CXA: center mark
A1~A4、AX:特徵標記 A1~A4, AX: feature mark
D1~D4:設定方向 D1~D4: set direction
WIR:金屬導線 WIR: Metal wire
GS:玻璃基板 GS: Glass substrate
PV1、PV2:絕緣層 PV1, PV2: insulating layer
OCA:光學膠層 OCA: Optical adhesive layer
CVL:鏡片蓋板 CVL: lens cover
A-B、C-D:截面線段 A-B, C-D: Sectional line segment
S410~S460:編碼及解碼步驟 S410~S460: Encoding and decoding steps
500:線性反饋移位暫存器 500: Linear feedback shift register
DFF1~DFF3:正反器 DFF1~DFF3: flip-flop
XOR1:互斥或閘 XOR1: Mutually exclusive or gate
I:輸入端 I: Input
O:輸出端 O: output
CK:時脈信號 CK: Clock signal
OUT:輸出信號 OUT: output signal
810:數碼序列 810: digital sequence
820、SV1、SV2:偏移值 820, SV1, SV2: offset value
ECS0~ECS14:編碼數序 ECS0~ECS14: Code number sequence
ZD81:分區 ZD81: partition
910、920、930:圖像 910, 920, 930: image
1010:查找資訊 1010: Find information
AINF1、AINF2:位置資訊 AINF1, AINF2: location information
1100:光學感測裝置 1100: Optical sensing device
1110:光源發射裝置 1110: light source emitting device
1120:影像識別裝置 1120: Image recognition device
1130:解碼裝置 1130: Decoding device
LB:光束 LB: beam
IMG:影像 IMG: Image
1210:線性回饋移位暫存器 1210: Linear feedback shift register
1220:儲存裝置 1220: storage device
1230:控制器 1230: Controller
1240:比較器 1240: Comparator
1250:計數器 1250: counter
1260:計算器 1260: calculator
SEED:種子數值 SEED: Seed value
LD:載入信號 LD: Load signal
ED:停止信號 ED: Stop signal
ST:開始信號 ST: start signal
X,Y:座標 X, Y: coordinates
圖1繪示本發明一實施例的光學式觸控面板的示意圖。 FIG. 1 is a schematic diagram of an optical touch panel according to an embodiment of the invention.
圖2繪示本發明實施例的光學圖像的實施方式的示意圖。 FIG. 2 is a schematic diagram of an implementation of an optical image according to an embodiment of the present invention.
圖3A繪示本發明實施例的光學圖像的另一實施方式的示意圖。 FIG. 3A is a schematic diagram of another implementation of an optical image according to an embodiment of the present invention.
圖3B、圖3C繪示圖3A實施方式的頗面結構示意圖。 3B and 3C are schematic diagrams showing the structure of the embodiment in FIG. 3A.
圖4繪示本發明一實施例的編碼及解碼方法的流程圖。 Fig. 4 shows a flowchart of an encoding and decoding method according to an embodiment of the present invention.
圖5繪示線性反饋移位暫存器的示意圖。 Figure 5 shows a schematic diagram of a linear feedback shift register.
圖6A至圖6H繪示線性反饋移位暫存器的動作示意圖。 6A to 6H are schematic diagrams showing the operation of the linear feedback shift register.
圖7繪示本發明實施例的偏移值產生方式的示意圖。 FIG. 7 is a schematic diagram of an offset value generation method according to an embodiment of the present invention.
圖8繪示本發明實施例的編碼數序的產生方式的示意圖。 FIG. 8 is a schematic diagram of a method of generating a code number sequence according to an embodiment of the present invention.
圖9繪示本發明實施例的選中編碼值的解碼方式的示意圖。 Fig. 9 is a schematic diagram of a decoding method of a selected code value according to an embodiment of the present invention.
圖10繪示本發明實施例的偵測分區的座標的產生方式的示意圖。 FIG. 10 is a schematic diagram of a method for generating the coordinates of a detection zone according to an embodiment of the present invention.
圖11繪示本發明實施例的光學感測裝置的示意圖。 FIG. 11 is a schematic diagram of an optical sensing device according to an embodiment of the invention.
圖12繪示本發明圖11的解碼裝置1130的實施方式的示意圖。
FIG. 12 is a schematic diagram of an implementation manner of the
請參照圖1,圖1繪示本發明一實施例的光學式觸控面板的示意圖。光學式觸控面板100具有多個光學圖像PA1~PAN,光學圖像PA1~PAN在光學式觸控面板100排列成圖像陣列,其中各光學圖像PA1~PAN對應多個編碼值的其中之一。
Please refer to FIG. 1. FIG. 1 is a schematic diagram of an optical touch panel according to an embodiment of the present invention. The
在本實施例中,光學式觸控面板100上具有多個分區(例如分區DZ1~DZ3)。各分區DZ1~DZ3包括光學圖像PA1~PAN中的多個相鄰光學圖像。以分區DZ1~DZ3為範例,分區DZ1包括光學圖像PA1、PA2、PA3以及PA4;分區DZ2包括光學圖像PA3、PA4、PA5以及PA6;分區DZ3則包括光學圖像PA5、PA6以及接續的光學圖像。值得注意的,分區DZ1以及分區DZ2中皆包括光學圖像PA3以及PA4,而分區DZ2以及分區DZ3中皆包括光學圖像PA5以及PA6。也就是說,在本實施例中,相鄰的分區(例如
分區DZ1以及分區DZ2;分區DZ2以及分區DZ3)是部分重疊的。
In this embodiment, the
此外,在本實施例中,每一分區(例如分區DZ1~DZ3)中所包括的光學圖像,可分別對應多個編碼值,而同一分區的多個編碼值可代表分區在光學式觸控面板100上的座標。
In addition, in this embodiment, the optical image included in each zone (for example, zone DZ1~DZ3) can correspond to multiple code values, and multiple code values of the same zone can represent that the zone is in the optical touch The coordinates on the
由上述說明不難發現,本發明實施例透過使相鄰二分區部分重疊,可有效提高光學式觸控面板100的位置的辨識密度,提升觸控偵測的效能。
From the above description, it is not difficult to find that the embodiment of the present invention can effectively increase the identification density of the position of the
附帶一提的,在本發明時其他實施例中,每一分區所包括的光學圖像可以為N×M個,其中N、M為大於1的正整數,並不限定為2×2(=4)個。設計者可依據實際的需求,來設定每一分區所包括的光學圖像的數量,以及光學圖像的排列方式,沒有固定的限制。 Incidentally, in other embodiments of the present invention, the number of optical images included in each partition may be N×M, where N and M are positive integers greater than 1, and are not limited to 2×2 (= 4. The designer can set the number of optical images included in each partition and the arrangement of the optical images according to actual needs, and there is no fixed limit.
接著請參照圖2,圖2繪示本發明實施例的光學圖像的實施方式的示意圖。圖2中繪示多個光學圖像201~205,其中光學圖像201~205分別對應編碼值EV1~EV5。在本實施方式中,光學圖像201~205分別具有中心標記C1~C5。光學圖像202~205則分別具有特徵標記A1~A4,其中,特徵標記A1~A4分別配置在中心標記C2~C5的多個不同的設定方向D1~D4上。在當光學圖像(例如光學圖像201)僅具有中心標記C1時,光學圖像201對應編碼值EV1(例如等於0);在當光學圖像(例如光學圖像202)具有中心標記C2,以及依據設定方向D1進行設置的特徵標記A1時,光學圖像202對應編碼值EV2(例如等於1);在當光學圖像(例如光
學圖像203)具有中心標記C3,以及依據設定方向D2進行設置的特徵標記A2時,光學圖像203對應編碼值EV3(例如等於2);在當光學圖像(例如光學圖像204)具有中心標記C4,以及依據設定方向D3進行設置的特徵標記A3時,光學圖像204對應編碼值EV4(例如等於3);在當光學圖像(例如光學圖像205)具有中心標記C5,以及依據設定方向D4進行設置的特徵標記A4時,光學圖像205對應編碼值EV4(例如等於4)。
Next, please refer to FIG. 2, which is a schematic diagram of an implementation of an optical image according to an embodiment of the present invention. FIG. 2 shows a plurality of
值得一提的,上述說明中的中心標記C1~C5為圖像“X”僅只是一個範例,設計者可以任意設置中心標記C1~C5的圖像。並且,設定方向D1~D4的設置也可以依據設計者的需求來變更,沒有固定的限制。 It is worth mentioning that the center mark C1~C5 in the above description is just an example of the image "X", the designer can set the image of the center mark C1~C5 arbitrarily. In addition, the settings of the setting directions D1 to D4 can also be changed according to the needs of the designer, and there is no fixed limit.
以下請參照圖3A、圖3B以及圖3C,圖3A繪示本發明實施例的光學圖像的另一實施方式的示意圖,圖3B、圖3C則繪示圖3A實施方式的剖面結構示意圖。在圖3A中,光學式觸控面板300上具有多個中心標記CX以及多個特徵標記AX,並組成多個光學圖像。其中,各光學圖像具有中心標記CX,或具有中心標記CX以及特徵標記AX。
Please refer to FIGS. 3A, 3B, and 3C below. FIG. 3A shows a schematic diagram of another embodiment of an optical image according to an embodiment of the present invention, and FIGS. 3B and 3C show a schematic cross-sectional structure diagram of the embodiment in FIG. 3A. In FIG. 3A, the
在圖3A中,相鄰的中心標記CX、特徵標記AX間可透過金屬導線(例如金屬導線WIR)相互連接。關於金屬導線WIR的結構,請參照圖3B。光學式觸控面板300具有玻璃基板GS、絕緣層PV1、PV2、光學膠層OCA以及鏡片蓋板CVL。以截面線段A-B為範例,金屬導線WIR被設置在絕緣層PV1以及PV2間,
並具有低光線散射率的表面。如此一來,當金屬導線WIR接收光學感測裝置所發送的光束時,光學感測裝置將不會辨識出金屬導線WIR的存在。
In FIG. 3A, adjacent center marks CX and feature marks AX can be connected to each other through metal wires (such as metal wires WIR). For the structure of the metal wire WIR, please refer to Figure 3B. The
在另一方面,關於中心標記的結構,請參照圖3C。以截面線段C-D,並以中心標記CXA為範例,中心標記CXA同樣可被設置在絕緣層PV1以及PV2間,並具有高光線散射率的表面。如此一來,當中心標記CXA接收光學感測裝置所發送的光束時,光學感測裝置可依據被散射的光線而辨識出中心標記CXA的存在。另外,關於特徵標記的結構,則可依據中心標記CXA的結構進行設置,在此不多贅述。 On the other hand, for the structure of the center mark, please refer to Figure 3C. Taking the cross-section line C-D and the center mark CXA as an example, the center mark CXA can also be set between the insulating layers PV1 and PV2, and has a surface with high light scattering rate. In this way, when the center mark CXA receives the light beam sent by the optical sensing device, the optical sensing device can recognize the existence of the center mark CXA according to the scattered light. In addition, regarding the structure of the feature mark, it can be set according to the structure of the center mark CXA, which will not be repeated here.
請參照圖4,圖4繪示本發明一實施例的編碼及解碼方法的流程圖。圖4的編碼及解碼方法可應用在光學式觸控面板以及對應的光學偵測裝置上。在圖4中,步驟S410用以設立一多項式方程式,並且在步驟S420中,針對光學式觸控面板上連續的多個位置資訊以依據多項方程式來產生數碼序列。在本發明實施例中,多項式方程式的運算可以透過線性反饋移位暫存器來實現,在此請參照圖5繪示的線性反饋移位暫存器的示意圖。在圖5中,線性反饋移位暫存器500包括多個正反器DFF1~DFF3以及互斥或閘XOR1。正反器DFF1~DFF3相互串接,並接收時脈信號CK以進行移位動作。正反器DFF2、DFF3的輸出端O分別傳送信號至互斥或閘XOR1的二輸入端,互斥或閘XOR1的輸出端並耦接至正反器DFF1的輸入端I。正反器DFF3的輸出端O並產生輸出信
號OUT。
Please refer to FIG. 4, which is a flowchart of an encoding and decoding method according to an embodiment of the present invention. The encoding and decoding method of FIG. 4 can be applied to optical touch panels and corresponding optical detection devices. In FIG. 4, step S410 is used to establish a polynomial equation, and in step S420, a number sequence is generated according to the polynomial equation for a plurality of consecutive position information on the optical touch panel. In the embodiment of the present invention, the operation of the polynomial equation can be implemented by a linear feedback shift register. Please refer to the schematic diagram of the linear feedback shift register shown in FIG. 5. In FIG. 5, the linear
關於線性反饋移位暫存器500的動作,請參照圖6A至圖6H繪示的線性反饋移位暫存器的動作示意圖。在圖6A中,在初始狀態下,一種子數值被產生,並被寫入至線性反饋移位暫存器500的正反器DFF1~DFF3中,在本實施例中,種子數值例如為1 1 1,在此同時互斥或閘XOR1產生為0的輸出。在圖6B中,線性反饋移位暫存器500進行移位,並產生為1的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為0 1 1的資料,且互斥或閘XOR1產生為0的輸出。在圖6C中,線性反饋移位暫存器500進行另一次的移位,並產生為1的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為0 0 1的資料,且互斥或閘XOR1產生為1的輸出。在圖6D中,線性反饋移位暫存器500進行下一次的移位,並產生為1的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為1 0 0的資料,且互斥或閘XOR1產生為0的輸出。
Regarding the operation of the linear
接著,在圖6E中,線性反饋移位暫存器500進行下一次的移位,並產生為0的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為0 1 0的資料,且互斥或閘XOR1產生為1的輸出。在圖6F中,線性反饋移位暫存器500進行下一次的移位,並產生為0的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為1 0 1的資料,且互斥或閘XOR1產生為1的輸出。在圖6G中,線性反饋移位暫存器500進行下一次的移位,並產生
為1的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為1 1 0的資料,且互斥或閘XOR1產生為1的輸出。在圖6H中,線性反饋移位暫存器500進行下一次的移位,並產生為0的輸出信號OUT。在此同時,正反器DFF1~DFF3中分別儲存為1 1 1的資料,且互斥或閘XOR1產生為0的輸出。
Next, in FIG. 6E, the linear
由圖6A以及圖6H的繪示可以得知,在圖6H中,線性反饋移位暫存器500恢復與圖6A中的狀態相同。也就是說,由圖6A至圖6H,線性反饋移位暫存器500完成一個循環的移位動作。而透過圖6A至圖6H的狀態重複執行,線性反饋移位暫存器500可執行多個循環的移位動作,並產生具有多個數碼的數碼序列。
It can be seen from the illustrations in FIGS. 6A and 6H that in FIG. 6H, the linear
在本實施方式中,三個正反器DFF1~DFF3所建構的線性反饋移位暫存器500可產生每7(=23-1)個位元一循環的數碼序列,在本實施方式中,線性反饋移位暫存器500可產生為1110010...的數碼序列。
In this embodiment, the linear
上述的線性反饋移位暫存器500可產生二值化(binary)的數碼序列,但本發明其他實施例中的線性反饋移位暫存器500也可產生非二值化的數碼序列。圖6A~圖6H的繪示僅只是說明用的範例,不用以限縮本發明的範疇。
The aforementioned linear
請重新參照圖4,接著,步驟S430設定多數個偏移值,1並基於數碼序列以依據偏移值來產生多個編碼數序,各編碼數序包括多個編碼值。關於偏移值的設定方式請參照圖7繪示的本發明實施例的偏移值產生方式的示意圖。在圖7中可先設定關於偏
移值的種子值(例如為5),並設定出對應光學式觸控面板的垂直軸的間隔值(1~14)。首先,透過使種子值(5)與間隔值(1)相加,可獲得對應光學式觸控面板的第一列的偏移值6(=1+5)。接著,再使偏移值6與下一個間隔值2相加,可獲得對應光學式觸控面板的第一列的偏移值8(=2+6)。依此類推,可計算出對應光學式觸控面板所有列的偏移值。在此請注意,在本實施例中,基於偏移值小於15,因此,當計算出的偏移值大於或等於15時,需減去15。
Please refer to FIG. 4 again. Next, in step S430, a plurality of offset values are set, 1 and a plurality of code number sequences are generated based on the offset value based on the code sequence, and each code number sequence includes multiple code values. For the setting method of the offset value, please refer to the schematic diagram of the method of generating the offset value in the embodiment of the present invention shown in FIG. 7. In Figure 7, you can set the bias
Shift the seed value (for example, 5), and set the interval value (1-14) corresponding to the vertical axis of the optical touch panel. First, by adding the seed value (5) and the interval value (1), the offset value 6 (=1+5) corresponding to the first row of the optical touch panel can be obtained. Then, the offset
承續上述的說明,接著請參照圖8,圖8繪示本發明實施例的編碼數序的產生方式的示意圖。在獲得數碼序列810以及多個偏移值820後,則可基於數碼序列810,以及對應的偏移值820來分別產生多個編碼數序ECS0~ECS14。具體來說明,當要產生對應光學式觸控面板的第一列的個編碼數序ECS0時,可依據對應的偏移值SV1(=5),以基於數碼序列810進行5次的偏移動作,可獲得編碼數序ECS0=0 3 2 3 3 0....。同理,當要產生對應光學式觸控面板的第二列的個編碼數序ECS1時,則可依據對應的偏移值SV2(=6),以基於數碼序列810進行6次的偏移動作,可獲得編碼數序ECS1=3 2 3 3 0 2....。
Continuing the above description, please refer to FIG. 8. FIG. 8 is a schematic diagram of a code number sequence generation method according to an embodiment of the present invention. After the
依據上述的說明類推,可依據多個偏移值820來分別產生編碼數序ECS0~ECS14。並且,藉由步驟S440,以依據編碼數序ECS0~ECS14在光學式觸控面板上設置多個光學圖像。
According to the above description and analogy, the code number sequence ECS0~ECS14 can be generated respectively according to a plurality of offset
光學圖像的設置方式,在前述圖1~圖3C的說明中已有 詳盡的介紹,在此不多贅述。 The setting method of the optical image has been described in the above description of Figure 1~Figure 3C A detailed introduction will not be repeated here.
接著,步驟S450則區分光學式觸控面板為多個分區,各分區包括該些編碼值中的多個,且上述多個分區中相鄰的二相鄰分區部分重疊。在此請重新參照圖8,以分區ZD81為範例,分區ZD81中包括四個編碼值,分別為2 3 1 2,這四個編碼值可用以表示分區ZD81所在位置的座標。 Next, in step S450, the optical touch panel is divided into multiple partitions, each partition includes a plurality of the code values, and two adjacent partitions in the multiple partitions partially overlap. Please refer to Figure 8 again. Taking the zone ZD81 as an example, the zone ZD81 includes four coded values, 2 3 1 2 respectively. These four coded values can be used to represent the coordinates of the location of the zone ZD81.
接著,步驟S460則提供光學感測裝置以偵測分區中的至少其中之一的偵測分區中的多個選中編碼值,並針對選中編碼值進行解碼動作以獲得偵測分區的座標,也就是說,例如當光學感測裝置偵測到分區ZD81時(分區ZD81為偵測分區),可獲得分區ZD81中的多個選中編碼值(分別為2 3 1 2)。步驟S460並可針對上述的選中編碼值進行解碼,並可獲得分區ZD81所在位置的座標。 Then, in step S460, an optical sensing device is provided to detect a plurality of selected coded values in the detection partition of at least one of the partitions, and decode the selected coded value to obtain the coordinates of the detected partition. In other words, for example, when the optical sensing device detects the zone ZD81 (the zone ZD81 is the detection zone), a plurality of selected code values (2 3 1 2 respectively) in the zone ZD81 can be obtained. In step S460, the above-mentioned selected coded value may be decoded, and the coordinates of the location of the partition ZD81 may be obtained.
關於上述解碼動作的實施細節,在下面的實施例會有詳細的說明。 Regarding the implementation details of the foregoing decoding actions, detailed descriptions will be given in the following embodiments.
請參照圖9,圖9繪示本發明實施例的選中編碼值的解碼方式的示意圖。其中,選中編碼值的解碼動作可以由光學感測裝置(光學式觸控筆)來執行。光學感測裝置可發射光束至光學式觸控面板上,並擷取光學式觸控面板上接收上述光束所產生的圖像910。基於圖像910在角度上可能有偏移的現象,光學感測裝置並可針對圖像910進行旋轉,並獲得轉正後的圖像920。接著,光學感測裝置並可針對圖像920上對應多個光學圖像所產生的圖像
進行解析,以獲得解析圖像930。最後再透過識別解析圖像930以獲得光學式觸控面板的多個編碼值940。
Please refer to FIG. 9. FIG. 9 is a schematic diagram of a decoding method of a selected code value according to an embodiment of the present invention. Among them, the decoding action of the selected code value can be performed by an optical sensing device (optical stylus). The optical sensing device can emit a light beam to the optical touch panel, and capture an
關於如何由選中編碼值來推算出偵測分區的座標的動作細節,請同步參照圖8以及圖10,其中圖10繪示本發明實施例的偵測分區的座標的產生方式的示意圖。首先,光學式觸控面板上的所有的編碼值可以被區分為多個編碼值組,且上述的編碼值組在光學式觸控面板上的位置資訊可先被記錄在一儲存裝置中,並作為查找資訊。查找資訊1010可以查找表的形式來呈現,其中記錄各個編碼值組出現在光學式觸控面板上的位置。舉例來說明,查找資訊1010中記錄編碼值組2 3在光學式觸控面板上的各個列中均有出現,並且,編碼值組2 3在第0列中出現在第2行的位置;編碼值組2 3在第1列中出現在第1行的位置;...;編碼值組2 3在第4列中出現在第7行的位置;...編碼值組2 3在第14列中出現在第2行的位置。另外,查找資訊1010中並記錄編碼值組1 2在光學式觸控面板出現的位置,其中,編碼值組1 2在第0列中出現在第7行的位置;編碼值組1 2在第1列中出現在第6行的位置;...;編碼值組1 2在第5列中出現在第7行的位置;...編碼值組1 2在第14列中出現在第7行的位置。
For details on how to calculate the coordinates of the detection zone from the selected code value, please refer to FIG. 8 and FIG. 10 simultaneously. FIG. 10 shows a schematic diagram of the method of generating the coordinates of the detection zone according to an embodiment of the present invention. First, all coded values on the optical touch panel can be divided into multiple coded value groups, and the position information of the coded value groups mentioned above on the optical touch panel can be recorded in a storage device first, and As find information. The
值得一提的,圖10中繪示的查找資訊1010僅只是部份的查找資訊。
It is worth mentioning that the
在此請注意,在本發明另外的實施例中,編碼值組在光學式觸控面板上的位置資訊,可不需預存在儲存裝置以作為查找 資訊。相對的,編碼值組在光學式觸控面板上的位置資訊可以透過計算的方式來產生,並將所計算出的部分的位置資訊儲存在儲存裝置以做為查找資訊。具體來說明,編碼值組在光學式觸控面板上的位置資訊可透過前述實施例所提及的線性反饋移位暫存器所產生的數碼序列,並依據光學式觸控面板上的各個列對應的偏移值來獲得上述的位置資訊。 Please note here that in another embodiment of the present invention, the position information of the coded value group on the optical touch panel does not need to be pre-stored in the storage device for searching News. In contrast, the position information of the coded value group on the optical touch panel can be generated by calculation, and the calculated part of the position information is stored in the storage device as search information. Specifically, the position information of the coded value group on the optical touch panel can be obtained through the digital sequence generated by the linear feedback shift register mentioned in the foregoing embodiment, and is based on each row on the optical touch panel. The corresponding offset value to obtain the above-mentioned position information.
接著,當光學感測裝置以分區ZD81以作為偵測分區時,可獲得選中編碼值2 3 1 2。其中,光學感測裝置可區分選中編碼值2 3 1 2為第一選中編碼值組以及第二選中編碼值組,其中第一選中編碼值組為2 3,第二選中編碼值組則為1 2。接著,依據查找資訊1010所提供的,用以記錄編碼值組2 3的第一位置資訊AINF1以及用以記錄編碼值組1 2的第二位置資訊AINF2,並透過比較第一位置資訊AINF1以及第二位置資訊AINF2,可查找出對應相鄰的第4、5列中,分別具有設置在相同行(第7行)的編碼值2 3以及1 2,因此可以判斷出偵測分區(分區ZD81)的位置在光學式觸控面板的第4、5列的第7行,並可獲得分區ZD81的座標。
Then, when the optical sensing device uses the zone ZD81 as the detection zone, the selected
關於光學感測裝置的實施細節,請參照圖11,其中圖11繪示本發明實施例的光學感測裝置的示意圖。光學感測裝置1100包括光源發射裝置1110、影像識別裝置1120以及解碼裝置1130。光源發射裝置1110傳送光束LB至如圖1所繪示的光學式觸控面板100的偵測分區中的光學圖案上。影像識別裝置1120用以接收
並偵測分區的影像IMG,並識別偵測分區中的選中編碼值。解碼裝置1130耦接至影像識別裝置1120,並用以執行選中編碼值的解碼動作。
Regarding the implementation details of the optical sensing device, please refer to FIG. 11, where FIG. 11 is a schematic diagram of the optical sensing device according to an embodiment of the present invention. The
關於解碼裝置1130的實施細節,請參照圖12繪示的本發明圖11的解碼裝置1130的實施方式的示意圖。在圖12中,解碼裝置1130包括線性回饋移位暫存器1210、儲存裝置1220、控制器1230、比較器1240、計數器1250以及計算器1260。線性回饋移位暫存器1210接收種子數值SEED。種子數值SEED依據載入信號LD被寫入,線性回饋移位暫存器1210中,線性回饋移位暫存器1210並依據種子數值SEED來進行一次或多次的移位動作以產生比較資訊。儲存裝置1220記錄選中編碼值。比較器1240使線性回饋移位暫存器1210的輸出(比較資訊)與選中編碼值進行比較,並產生停止信號ED。控制器1230產生開始信號ST,以使計數器1250開始計數動作,計數器1250並依據停止信號ED停止計數動作。
Regarding the implementation details of the
在動作細節方面,控制器1230可透過載入信號LD使種子數值SEED寫入線性回饋移位暫存器1210,並同時藉由開始信號ST啟動計數器1250的計數動作。在當在選中編碼值中的各選中編碼值組與比較資訊相符時,比較器1240產生停止信號ED停止計數動作。基於編碼值組為依據線性回饋移位暫存器1210所產生的數碼序列所產生,因此透過線性回饋移位暫存器1210的逐次移位動作,以及比較器1240的比較動作,可查找各個選中編碼值
組的位置資訊。
In terms of operation details, the
計數器1250並傳送位置資訊至計算器1260,計算器1260並可依據位置資訊來計算出各個編碼值組對應的座標X,Y。
The
綜上所述,本發明的光學式觸控面板上設置多個連續的光學圖像,並提供多個部份重疊的分區。透過針對多個分區的編碼值進行偵測並解碼,可獲得光學式觸控面板在各分區的座標。藉由部份重疊的分區的設置,可提高觸控偵測的感測密度,提升整體的效益。 In summary, the optical touch panel of the present invention is provided with a plurality of continuous optical images, and provides a plurality of partially overlapping partitions. By detecting and decoding the coded values of multiple partitions, the coordinates of the optical touch panel in each partition can be obtained. With the setting of partially overlapping partitions, the sensing density of touch detection can be increased, and the overall benefit can be improved.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make slight changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:光學式觸控面板 100: Optical touch panel
PA1~PAN:光學圖像 PA1~PAN: optical image
DZ1~DZ3:分區 DZ1~DZ3: partition
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108108148A TWI703486B (en) | 2019-03-12 | 2019-03-12 | Optical touch control panel, optical detector and coding and encoding method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108108148A TWI703486B (en) | 2019-03-12 | 2019-03-12 | Optical touch control panel, optical detector and coding and encoding method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI703486B true TWI703486B (en) | 2020-09-01 |
TW202034147A TW202034147A (en) | 2020-09-16 |
Family
ID=73643837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108108148A TWI703486B (en) | 2019-03-12 | 2019-03-12 | Optical touch control panel, optical detector and coding and encoding method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI703486B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1377488A (en) * | 1999-10-01 | 2002-10-30 | 阿诺托股份公司 | Position determination-calculation |
US20120044213A1 (en) * | 2009-09-23 | 2012-02-23 | Chih-Hung Lu | Optical Touch Display System |
TW201512947A (en) * | 2013-09-18 | 2015-04-01 | Wistron Corp | Optical touch system and control method |
TW201539284A (en) * | 2014-03-19 | 2015-10-16 | Bidirectional Display Inc | Image sensor panel and method for capturing graphical information using same |
-
2019
- 2019-03-12 TW TW108108148A patent/TWI703486B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1377488A (en) * | 1999-10-01 | 2002-10-30 | 阿诺托股份公司 | Position determination-calculation |
US20120044213A1 (en) * | 2009-09-23 | 2012-02-23 | Chih-Hung Lu | Optical Touch Display System |
TW201512947A (en) * | 2013-09-18 | 2015-04-01 | Wistron Corp | Optical touch system and control method |
TW201539284A (en) * | 2014-03-19 | 2015-10-16 | Bidirectional Display Inc | Image sensor panel and method for capturing graphical information using same |
Also Published As
Publication number | Publication date |
---|---|
TW202034147A (en) | 2020-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0578692B1 (en) | Position-sensing apparatus | |
JP4776832B2 (en) | Coordinate input device and coordinate plate of image input device | |
CA2374811C (en) | Position determination | |
TWI407339B (en) | Method for tracing touch input on touch-sensitive panel and related computer program product and electronic apparatus using the same | |
US7672513B2 (en) | Methods, apparatus, computer program and storage medium for position decoding | |
TWI489331B (en) | Touch point coordinate detection method | |
JP2015032235A (en) | Touch detection circuit, touch detection method, and electronic apparatus | |
TWI393043B (en) | Detection Circuit and Method of Capacitive Touchpad | |
JP3949120B2 (en) | Spatial information input device and method, soft key mapping method therefor, and virtual keyboard using the same | |
US9810555B2 (en) | Absolute encoder that provides increased accuracy against defect in scale thereof | |
US9170682B2 (en) | Image processing method for optical touch system | |
CN103810493A (en) | Method and apparatus for identifying mathematical formula | |
CN110262685B (en) | Touch detection method, touch detection device, storage medium and touch screen | |
TWI703486B (en) | Optical touch control panel, optical detector and coding and encoding method thereof | |
US8353461B2 (en) | Image processing apparatus, identification apparatus, electronic writing instrument, method for determining bit sequence and computer readable medium | |
JP4898920B2 (en) | Product having absolute position code pattern on surface and method of forming absolute position code pattern | |
US8657205B2 (en) | Image processing apparatus, identification apparatus, method for determining bit sequence and computer readable medium | |
CN109597524B (en) | Touch detection method, touch detection device and touch display device | |
JP2020525963A (en) | Method and apparatus for comparing media characteristics | |
US20150102111A1 (en) | Encoding method and encoding device | |
CN104598075B (en) | A kind of definite touch screen calibration criterion, touch-screen response method and relevant apparatus | |
TWI474234B (en) | Multipoint positioning method for touchpad | |
US9086773B2 (en) | Touchscreen device and method of processing touch data | |
Čomić et al. | Crossing-free paths in the square grid | |
TWI522928B (en) | Encording method and encording device |