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 PDF

Info

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
Application number
TW108108148A
Other languages
Chinese (zh)
Other versions
TW202034147A (en
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 TW108108148A priority Critical patent/TWI703486B/en
Application granted granted Critical
Publication of TWI703486B publication Critical patent/TWI703486B/en
Publication of TW202034147A publication Critical patent/TW202034147A/en

Links

Images

Abstract

An optical touch control panel, an optical detector and a coding and encoding method thereof are provided. The touch control panel includes a plurality of optical images. The optical images are arranged into an image array, and each of the optical images corresponds to one of a plurality of encode values. The touch control panel has a plurality of partitions, each of the partitions includes a plurality adjacent optical images of the optical images, and two of adjacent partitions are partially overlapped.

Description

光學式觸控面板、光學偵測器及其編解碼方法Optical touch panel, optical detector and coding and decoding method thereof

本發明是有關於一種光學式觸控面板、光學偵測器及其編解碼方法。 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 decoding device 1130 of FIG. 11 of the present invention.

請參照圖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 optical touch panel 100 has a plurality of optical images PA1 to PAN. The optical images PA1 to PAN are arranged in an image array on the optical touch panel 100, wherein each of the optical images PA1 to PAN corresponds to a plurality of coded values. one.

在本實施例中,光學式觸控面板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 optical touch panel 100 has multiple partitions (for example, partitions DZ1 to DZ3). Each partition DZ1~DZ3 includes a plurality of adjacent optical images among the optical images PA1~PAN. Taking partition DZ1~DZ3 as an example, partition DZ1 includes optical images PA1, PA2, PA3, and PA4; partition DZ2 includes optical images PA3, PA4, PA5, and PA6; partition DZ3 includes optical images PA5, PA6 and subsequent optical images image. It is worth noting that both the partition DZ1 and the partition DZ2 include the optical images PA3 and PA4, and the partition DZ2 and the partition DZ3 both include the optical images PA5 and PA6. That is, in this embodiment, adjacent partitions (for example The partition DZ1 and the partition DZ2; the partition DZ2 and the partition DZ3) are partially overlapped.

此外,在本實施例中,每一分區(例如分區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 panel 100.

由上述說明不難發現,本發明實施例透過使相鄰二分區部分重疊,可有效提高光學式觸控面板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 optical touch panel 100 by partially overlapping two adjacent partitions, and improve the performance of touch detection.

附帶一提的,在本發明時其他實施例中,每一分區所包括的光學圖像可以為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 optical images 201 to 205, wherein the optical images 201 to 205 respectively correspond to the encoding values EV1 to EV5. In this embodiment, the optical images 201 to 205 have center marks C1 to C5, respectively. The optical images 202 to 205 respectively have characteristic marks A1 to A4, wherein the characteristic marks A1 to A4 are respectively arranged in a plurality of different setting directions D1 to D4 of the center marks C2 to C5. When the optical image (for example, optical image 201) has only the center mark C1, the optical image 201 corresponds to the code value EV1 (for example, equal to 0); when the optical image (for example, optical image 202) has the center mark C2, And when the feature mark A1 is set according to the set direction D1, the optical image 202 corresponds to the code value EV2 (for example, equal to 1); when the optical image (for example, light When the optical image 203) has the center mark C3 and the feature mark A2 set according to the set direction D2, the optical image 203 corresponds to the code value EV3 (for example, equal to 2); when the optical image (for example, the optical image 204) has When the center mark C4 and the feature mark A3 set according to the set direction D3, the optical image 204 corresponds to the code value EV4 (for example, equal to 3); when the optical image (for example, the optical image 205) has the center mark C5, and according to When the feature mark A4 set in the direction D4 is set, the optical image 205 corresponds to the code value EV4 (for example, equal to 4).

值得一提的,上述說明中的中心標記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 optical touch panel 300 has a plurality of center marks CX and a plurality of feature marks AX, and forms a plurality of optical images. Wherein, each optical image has a center mark CX, or has a center mark CX and a characteristic mark AX.

在圖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 optical touch panel 300 has a glass substrate GS, insulating layers PV1, PV2, an optical adhesive layer OCA, and a lens cover CVL. Taking the cross-section line A-B as an example, the metal wire WIR is set between the insulating layers PV1 and PV2, And has a surface with low light scattering rate. In this way, when the metal wire WIR receives the light beam sent by the optical sensing device, the optical sensing device will not recognize the existence of the metal wire WIR.

在另一方面,關於中心標記的結構,請參照圖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 feedback shift register 500 includes a plurality of flip-flops DFF1 to DFF3 and a mutually exclusive OR gate XOR1. The flip-flops DFF1~DFF3 are connected in series with each other, and receive the clock signal CK for shifting. The output terminals O of the flip-flops DFF2 and DFF3 respectively transmit signals to the two input terminals of the mutual exclusion or gate XOR1, and the output terminal of the mutual exclusion or gate XOR1 is coupled to the input terminal I of the flip-flop DFF1. The output terminal O of the flip-flop DFF3 and generates an output signal No. OUT.

關於線性反饋移位暫存器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 feedback shift register 500, please refer to the schematic diagrams of the operation of the linear feedback shift register shown in FIGS. 6A to 6H. In FIG. 6A, in the initial state, a sub-value is generated and written into the flip-flops DFF1~DFF3 of the linear feedback shift register 500. In this embodiment, the seed value is, for example, 1 1 1. At the same time, the mutex or gate XOR1 produces an output of 0. In FIG. 6B, the linear feedback shift register 500 performs shifting and generates an output signal OUT of 1. At the same time, the data of 0 1 1 is stored in the flip-flops DFF1~DFF3, and the mutex or gate XOR1 generates an output of 0. In FIG. 6C, the linear feedback shift register 500 performs another shift and generates an output signal OUT of 1. At the same time, the data of 0 0 1 are stored in the flip-flops DFF1~DFF3, and the mutex or gate XOR1 generates an output of 1. In FIG. 6D, the linear feedback shift register 500 performs the next shift and generates an output signal OUT of 1. At the same time, the data of 100 are stored in the flip-flops DFF1~DFF3, and the exclusive or gate XOR1 generates an output of 0.

接著,在圖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 feedback shift register 500 performs the next shift and generates an output signal OUT of 0. At the same time, the data of 0 1 0 are stored in the flip-flops DFF1~DFF3, and the mutex or gate XOR1 generates an output of 1. In FIG. 6F, the linear feedback shift register 500 performs the next shift and generates an output signal OUT of 0. At the same time, the flip-flops DFF1~DFF3 store data as 1 0 1 respectively, and the mutex or gate XOR1 produces an output of 1. In FIG. 6G, the linear feedback shift register 500 performs the next shift and generates The output signal OUT is 1. At the same time, the data of 1 10 are stored in the flip-flops DFF1~DFF3, and the mutex or gate XOR1 generates an output of 1. In FIG. 6H, the linear feedback shift register 500 performs the next shift and generates an output signal OUT of 0. At the same time, the data of 1 1 1 are stored in the flip-flops DFF1~DFF3, and the mutex or gate XOR1 generates an output of 0.

由圖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 feedback shift register 500 is restored to the same state as in FIG. 6A. In other words, from FIGS. 6A to 6H, the linear feedback shift register 500 completes one cycle of shifting. Through repeated execution of the states in FIGS. 6A to 6H, the linear feedback shift register 500 can perform multiple cyclic shift operations and generate a digital sequence with multiple digits.

在本實施方式中,三個正反器DFF1~DFF3所建構的線性反饋移位暫存器500可產生每7(=23-1)個位元一循環的數碼序列,在本實施方式中,線性反饋移位暫存器500可產生為1110010...的數碼序列。 In this embodiment, the linear feedback shift register 500 constructed by the three flip-flops DFF1~DFF3 can generate a cyclic digital sequence every 7 (=2 3 -1) bits. In this embodiment , The linear feedback shift register 500 can generate a number sequence of 1110010...

上述的線性反饋移位暫存器500可產生二值化(binary)的數碼序列,但本發明其他實施例中的線性反饋移位暫存器500也可產生非二值化的數碼序列。圖6A~圖6H的繪示僅只是說明用的範例,不用以限縮本發明的範疇。 The aforementioned linear feedback shift register 500 can generate a binary code sequence, but the linear feedback shift register 500 in other embodiments of the present invention can also generate a non-binary code sequence. The drawings in FIGS. 6A to 6H are only examples for illustration, and do not limit the scope of the present invention.

請重新參照圖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 value 6 is added to the next interval value 2 to obtain the offset value 8 (=2+6) corresponding to the first column of the optical touch panel. By analogy, the offset values corresponding to all the columns of the optical touch panel can be calculated. Please note here that in this embodiment, the offset value is less than 15, therefore, when the calculated offset value is greater than or equal to 15, 15 needs to be subtracted.

承續上述的說明,接著請參照圖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 code sequence 810 and the multiple offset values 820 are obtained, a multiple code sequence ECS0 to ECS14 can be generated based on the code sequence 810 and the corresponding offset value 820, respectively. Specifically, when the code number sequence ECS0 corresponding to the first column of the optical touch panel is to be generated, the offset value SV1 (=5) can be used to perform 5 offset actions based on the code sequence 810 , The code number sequence ECS0=0 3 2 3 3 0... can be obtained. Similarly, when the code number sequence ECS1 corresponding to the second column of the optical touch panel is to be generated, the offset value SV2 (=6) can be used to perform 6 offset actions based on the code sequence 810 , The code number sequence ECS1=3 2 3 3 0 2.... can be obtained.

依據上述的說明類推,可依據多個偏移值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 values 820. In addition, in step S440, a plurality of optical images are arranged on the optical touch panel according to the code number sequence ECS0~ECS14.

光學圖像的設置方式,在前述圖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 image 910 generated by receiving the light beam on the optical touch panel. Based on the phenomenon that the image 910 may be offset in angle, the optical sensing device can rotate the image 910 and obtain a corrected image 920. Then, the optical sensing device can target the images generated by the corresponding multiple optical images on the image 920 Perform analysis to obtain an analysis image 930. Finally, the image 930 is identified and analyzed to obtain a plurality of code values 940 of the optical touch panel.

關於如何由選中編碼值來推算出偵測分區的座標的動作細節,請同步參照圖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 lookup information 1010 can be presented in the form of a lookup table, in which the position of each coded value group appearing on the optical touch panel is recorded. For example, the code value group 2 3 recorded in the search information 1010 appears in each column on the optical touch panel, and the code value group 2 3 appears in the position of the second row in the 0th column; The value group 2 3 appears in the first row position in the first column; ...; the coded value group 2 3 appears in the seventh row position in the fourth column; ... the coded value group 2 3 appears in the 14th It appears in the second row of the column. In addition, search the information 1010 and record the position where the code value group 1 2 appears on the optical touch panel. Among them, the code value group 1 2 appears in the 7th row in the 0th column; the code value group 1 2 is in the 7th row. The position that appears in the 6th row in column 1; ...; the position of the coded value group 1 2 that appears in the 7th row in the 5th column; ... the position of the coded value group 1 2 that appears on the 7th in column 14 The location of the line.

值得一提的,圖10中繪示的查找資訊1010僅只是部份的查找資訊。 It is worth mentioning that the search information 1010 shown in FIG. 10 is only part of the search information.

在此請注意,在本發明另外的實施例中,編碼值組在光學式觸控面板上的位置資訊,可不需預存在儲存裝置以作為查找 資訊。相對的,編碼值組在光學式觸控面板上的位置資訊可以透過計算的方式來產生,並將所計算出的部分的位置資訊儲存在儲存裝置以做為查找資訊。具體來說明,編碼值組在光學式觸控面板上的位置資訊可透過前述實施例所提及的線性反饋移位暫存器所產生的數碼序列,並依據光學式觸控面板上的各個列對應的偏移值來獲得上述的位置資訊。 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 code value 2 3 1 2 can be obtained. The optical sensing device can distinguish the selected code value 2 3 1 2 as the first selected code value group and the second selected code value group, where the first selected code value group is 2 3, and the second selected code value group The value group is 1 2. Then, according to the search information 1010, the first position information AINF1 used to record the coded value group 2 3 and the second position information AINF2 used to record the coded value group 12 are provided by comparing the first position information AINF1 with the first position information AINF1. The second position information AINF2 can be found in the adjacent 4th and 5th columns, which have the code values 2 3 and 1 2 set in the same row (the 7th row) respectively, so the detection zone (zone ZD81) can be judged The position is on the 7th row of the 4th and 5th columns of the optical touch panel, and the coordinates of the zone ZD81 can be obtained.

關於光學感測裝置的實施細節,請參照圖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 optical sensing device 1100 includes a light emitting device 1110, an image recognition device 1120, and a decoding device 1130. The light emitting device 1110 transmits the light beam LB to the optical pattern in the detection zone of the optical touch panel 100 as shown in FIG. 1. The image recognition device 1120 is used to receive And detect the image IMG of the partition, and identify the selected code value in the detected partition. The decoding device 1130 is coupled to the image recognition device 1120, and is used to perform the decoding operation of the selected code value.

關於解碼裝置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 decoding device 1130, please refer to FIG. 12 for a schematic diagram of the implementation of the decoding device 1130 of FIG. 11 of the present invention. In FIG. 12, the decoding device 1130 includes a linear feedback shift register 1210, a storage device 1220, a controller 1230, a comparator 1240, a counter 1250, and a calculator 1260. The linear feedback shift register 1210 receives the seed value SEED. The seed value SEED is written according to the load signal LD. In the linear feedback shift register 1210, the linear feedback shift register 1210 performs one or more shift operations according to the seed value SEED to generate comparison information. The storage device 1220 records the selected code value. The comparator 1240 compares the output (comparison information) of the linear feedback shift register 1210 with the selected code value, and generates a stop signal ED. The controller 1230 generates a start signal ST to make the counter 1250 start counting, and the counter 1250 stops counting according to the stop signal ED.

在動作細節方面,控制器1230可透過載入信號LD使種子數值SEED寫入線性回饋移位暫存器1210,並同時藉由開始信號ST啟動計數器1250的計數動作。在當在選中編碼值中的各選中編碼值組與比較資訊相符時,比較器1240產生停止信號ED停止計數動作。基於編碼值組為依據線性回饋移位暫存器1210所產生的數碼序列所產生,因此透過線性回饋移位暫存器1210的逐次移位動作,以及比較器1240的比較動作,可查找各個選中編碼值 組的位置資訊。 In terms of operation details, the controller 1230 can write the seed value SEED into the linear feedback shift register 1210 through the load signal LD, and at the same time start the counting operation of the counter 1250 by the start signal ST. When each selected code value group in the selected code value matches the comparison information, the comparator 1240 generates a stop signal ED to stop the counting operation. Based on the code value group is generated based on the code sequence generated by the linear feedback shift register 1210, so through the successive shift action of the linear feedback shift register 1210 and the comparison action of the comparator 1240, each option can be searched. Middle coded value The location information of the group.

計數器1250並傳送位置資訊至計算器1260,計算器1260並可依據位置資訊來計算出各個編碼值組對應的座標X,Y。 The counter 1250 also sends the position information to the calculator 1260, and the calculator 1260 can calculate the coordinates X and Y corresponding to each coded value group according to the position information.

綜上所述,本發明的光學式觸控面板上設置多個連續的光學圖像,並提供多個部份重疊的分區。透過針對多個分區的編碼值進行偵測並解碼,可獲得光學式觸控面板在各分區的座標。藉由部份重疊的分區的設置,可提高觸控偵測的感測密度,提升整體的效益。 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)

一種光學式觸控面板,包括:多個光學圖像,該些光學圖像排列成一圖像陣列,各該光學圖像對應多個編碼值的其中之一,其中,該光學式觸控面板上具有多個分區,各該分區包括該些光學圖像中的多個相鄰光學圖像,該些分區中相鄰的二相鄰分區部分重疊。 An optical touch panel, comprising: a plurality of optical images, the optical images are arranged into an image array, each of the optical images corresponds to one of a plurality of coded values, wherein the optical touch panel is There are a plurality of partitions, each of the partitions includes a plurality of adjacent optical images in the optical images, and two adjacent partitions in the partitions partially overlap. 如申請專利範圍第1項所述的光學式觸控面板,其中各該分區中包括的該些相鄰光學圖像用以指示各該分區的座標。 In the optical touch panel described in the first item of the scope of patent application, the adjacent optical images included in each partition are used to indicate the coordinates of each partition. 如申請專利範圍第1項所述的光學式觸控面板,其中各該光學圖像具有一中心標記。 According to the optical touch panel described in claim 1, wherein each optical image has a center mark. 如申請專利範圍第3項所述的光學式觸控面板,其中當各該光學圖像僅具有該中心標記時,各該光學圖像對應一第一編碼值。 The optical touch panel described in item 3 of the scope of patent application, wherein when each optical image only has the center mark, each optical image corresponds to a first code value. 如申請專利範圍第3項所述的光學式觸控面板,其中各該光學圖像更具有一特徵標記,其中該特徵標記設置在該特徵標記一設定方向上。 In the optical touch panel described in item 3 of the scope of patent application, each of the optical images has a characteristic mark, and the characteristic mark is arranged in a set direction of the characteristic mark. 如申請專利範圍第5項所述的光學式觸控面板,其中當各該光學圖像具有該中心標記以及該特徵標記時,各該光學圖像依據該對應方向以對應至該些編碼值的其中之一。 For the optical touch panel described in item 5 of the scope of patent application, when each of the optical images has the center mark and the characteristic mark, each of the optical images corresponds to the value of the code values according to the corresponding direction. one of them. 如申請專利範圍第5項所述的光學式觸控面板,其中該中心標記及該特徵標記分別由多個光學散射結構所構成。 According to the optical touch panel described in item 5 of the scope of patent application, the center mark and the characteristic mark are respectively composed of a plurality of optical scattering structures. 一種光學感測裝置,包括:一光源發射裝置,傳送一光束至如申請專利範圍第1項所述的該光學式觸控面板的一偵測分區中的光學圖案上;一影像識別裝置,識別該偵測分區中的該些選中編碼值;以及一解碼裝置,用以:區分該些光學圖像對應的該些編碼值為多個編碼值組區分該些選中編碼值為一第一選中編碼值組以及一第二選中編碼值組;計算出該第一選中編碼值組的多個第一位置資訊,以及計算出該第二選中編碼值組的多個第二位置資訊;以及比對該些第一位置資訊以及該些第二位置資訊以獲得該偵測分區的座標。 An optical sensing device, comprising: a light source emitting device that transmits a light beam to the optical pattern in a detection zone of the optical touch panel as described in the first item of the patent application; an image recognition device that recognizes The selected coded values in the detection partition; and a decoding device for: distinguishing the coded values corresponding to the optical images and multiple coded value groups to distinguish the selected coded values as a first Select a set of coded values and a second selected set of coded values; calculate multiple first position information of the first selected set of coded values, and calculate multiple second positions of the second selected set of coded values Information; and compare the first position information and the second position information to obtain the coordinates of the detection zone. 如申請專利範圍第8項所述的光學感測裝置,包括:一線性回饋移位暫存器,接收一種子數值,依據該種子數值進行移位動作以產生一比較資訊;一儲存裝置,用以儲存該些選中編碼值;一控制器,產生一開始信號;一比較器,用以使該選中編碼值以及該比較資訊進行比較,並產生一停止信號; 一計數器,依據該開始信號啟動一計數動作,並依據該停止信號停止該計數動作,並在該計數動作停止時,產生一位置資訊;以及一計算器,耦接至該計數器,依據該位置資訊產生對應該偵測分區的座標。 The optical sensing device described in item 8 of the scope of patent application includes: a linear feedback shift register that receives a sub-value, and performs a shift operation based on the seed value to generate a comparison information; a storage device, To store the selected coded values; a controller to generate a start signal; a comparator to compare the selected coded value with the comparison information and generate a stop signal; A counter starts a counting operation according to the start signal, stops the counting operation according to the stop signal, and generates position information when the counting operation stops; and a calculator, coupled to the counter, according to the position information Generate coordinates corresponding to the detection zone. 一種編碼及解碼方法,包括:設立一多項式方程式;針對一光學式觸控面板上連續的多個位置資訊以依據該多項方程式產生一數碼序列,該數碼序列包括多個數碼;設定多數個偏移值,基於該數碼序列以依據該些偏移值來產生多個編碼數序,各該編碼數序包括多個編碼值;依據該些編碼數序在該光學式觸控面板上設置多個光學圖像區分該光學式觸控面板為多個分區,各該分區包括該些編碼值中的多個,該些分區中相鄰的二相鄰分區部分重疊;以及提供一光學感測裝置以偵測該些分區中的至少其中之一的一偵測分區中的多個選中編碼值,並針對該些選中編碼值進行解碼動作以獲得該偵測分區的座標。 An encoding and decoding method includes: establishing a polynomial equation; generating a number sequence according to the polynomial equation for a plurality of consecutive position information on an optical touch panel, the number sequence including a plurality of numbers; setting a plurality of offsets Value, based on the code sequence to generate a plurality of coded sequence according to the offset values, each of the coded sequence includes a plurality of coded values; according to the coded sequence, a plurality of optical touch panels are arranged on the optical touch panel The image distinguishes the optical touch panel into a plurality of partitions, each of the partitions includes a plurality of the code values, and two adjacent partitions in the partitions partially overlap; and an optical sensing device is provided to detect Measuring a plurality of selected coding values in a detection partition of at least one of the partitions, and performing a decoding action on the selected coding values to obtain the coordinates of the detection partition. 如申請專利範圍第10項所述的編碼及解碼方法,其中設立該多項式方程式以及針對該光學式觸控面板上連續的多個位置資訊以依據該多項方程式產生該數碼序列的步驟包括:依據該多項式方程式以建立一線性反饋移位暫存器;以及 產生一種子數值,並使該線性反饋移位暫存器對應連續的該些位置資訊依據該種子數值以依序產生該數碼序列中的該些數碼。 For example, in the encoding and decoding method described in claim 10, the steps of establishing the polynomial equation and generating the digital sequence according to the polynomial equation for a plurality of continuous position information on the optical touch panel include: according to the Polynomial equation to create a linear feedback shift register; and A sub-value is generated, and the linear feedback shift register corresponds to the consecutive position information to sequentially generate the codes in the code sequence according to the seed value. 如申請專利範圍第10項所述的編碼及解碼方法,其中設定該些偏移值,基於該數碼序列以依據該些偏移值來產生該些編碼數序的步驟包括:對應該光學式觸控面板的一垂直軸座標以依序設定該些偏移值;以及依據各該偏移值以偏移該數碼序列以產生各該編碼數序。 For example, the encoding and decoding method described in item 10 of the scope of patent application, wherein the steps of setting the offset values and generating the encoding sequence according to the offset values based on the digital sequence include: corresponding to the optical touch A vertical axis coordinate of the control panel is used to sequentially set the offset values; and according to each of the offset values, the number sequence is offset to generate the code number sequence. 如申請專利範圍第10項所述的編碼及解碼方法,其中該偵測分區中的該些選中編碼值排列為N×M的陣列,其中N、M為大於1的正整數。 The encoding and decoding method described in item 10 of the scope of patent application, wherein the selected encoding values in the detection partition are arranged in an N×M array, where N and M are positive integers greater than 1. 如申請專利範圍第10項所述的編碼及解碼方法,更包括:區分該些編碼值為多個編碼值組,記錄各該編碼值組的位置資訊以產生一查找資訊。 For example, the encoding and decoding method described in item 10 of the scope of patent application further includes: distinguishing the encoding values into a plurality of encoding value groups, and recording the position information of each encoding value group to generate search information. 如申請專利範圍第14項所述的編碼及解碼方法,其中提供該光學感測裝置以偵測該些分區的至少其中之一的該偵測分區中的該些選中編碼值,並針對該些選中編碼值進行解碼動作以獲得該偵測分區的座標的步驟包括:區分該些選中編碼值為一第一選中編碼值組以及一第二選中編碼值組; 依據該查找資訊,查找出該第一選中編碼值組的多個第一位置資訊,以及查找出該第二選中編碼值組的多個第二位置資訊;以及;比對該些第一位置資訊以及該些第二位置資訊以獲得該偵測分區的座標。 According to the encoding and decoding method described in claim 14, wherein the optical sensing device is provided to detect the selected encoding values in the detection partition of at least one of the partitions, and target the The step of performing a decoding action on some selected coded values to obtain the coordinates of the detection partition includes: distinguishing the selected coded values into a first selected code value group and a second selected code value group; According to the search information, find out a plurality of first position information of the first selected code value group, and find out a plurality of second position information of the second selected code value group; and; compare the first Position information and the second position information to obtain the coordinates of the detection zone. 如申請專利範圍第11項所述的編碼及解碼方法,其中提供該光學感測裝置以偵測該些分區的至少其中之一的該偵測分區中的該些選中編碼值,並針對該些選中編碼值進行解碼動作以獲得該偵測分區的座標的步驟包括:區分該些選中編碼值為一第一選中編碼值組以及一第二選中編碼值組;提供該線性反饋移位暫存器以計算出該第一選中編碼值組的多個第一位置資訊,以及計算出該第二選中編碼值組的多個第二位置資訊;以及比對該些第一位置資訊以及該些第二位置資訊以獲得該偵測分區的座標。 The encoding and decoding method according to claim 11, wherein the optical sensing device is provided to detect the selected encoding values in the detection partition of at least one of the partitions, and target the The step of performing a decoding action on the selected coded values to obtain the coordinates of the detection partition includes: distinguishing the selected coded values into a first selected coded value group and a second selected coded value group; and provides the linear feedback Shift the register to calculate a plurality of first position information of the first selected code value group, and calculate a plurality of second position information of the second selected code value group; and compare the first Position information and the second position information to obtain the coordinates of the detection zone.
TW108108148A 2019-03-12 2019-03-12 Optical touch control panel, optical detector and coding and encoding method thereof TWI703486B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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