TW201122916A - Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit - Google Patents

Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit Download PDF

Info

Publication number
TW201122916A
TW201122916A TW98146220A TW98146220A TW201122916A TW 201122916 A TW201122916 A TW 201122916A TW 98146220 A TW98146220 A TW 98146220A TW 98146220 A TW98146220 A TW 98146220A TW 201122916 A TW201122916 A TW 201122916A
Authority
TW
Taiwan
Prior art keywords
signal
signal lines
keyboard
line
scanning
Prior art date
Application number
TW98146220A
Other languages
Chinese (zh)
Other versions
TWI501114B (en
Inventor
Meng-Ta Yu
Jia-Wan Lin
Original Assignee
Universal Scient Ind Co Ltd
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 Universal Scient Ind Co Ltd filed Critical Universal Scient Ind Co Ltd
Priority to TW098146220A priority Critical patent/TWI501114B/en
Publication of TW201122916A publication Critical patent/TW201122916A/en
Application granted granted Critical
Publication of TWI501114B publication Critical patent/TWI501114B/en

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

A keyboard scanning apparatus includes: a key matrix circuit and a keyboard controller. The key matrix circuit contains: a plurality of first signal lines, a plurality of second signal lines, a plurality of switches, and a modulation circuit. The second signal lines are separately crossed through the first signal lines for forming a normal crossing point, and separately crossed through the first signal lines via an extended line for forming at least one extended crossing point. The switches are correspondingly located on the normal crossing points and the extended crossing points, and the modulation circuit is coupled to the extended crossing points. The keyboard controller generates a scanning signal to the first signal lines and decodes a sensing signal transmitted by any one of the second signal lines. When one of the switches is turned-on, the keyboard controller can recognize a matrix location of the turned-on switch.

Description

201122916 六、發明說明: 【發明所屬之技術領域】 本發明係涉及一種鍵盤掃描裝置,特別係指一種可減 少按鍵矩陣電路的控制信號線數量的鍵盤掃描裂置及其按 鍵矩陣電路與其掃描方法。 【先技術】 由於科技產業的快速成長,鍵盤已經是相當成熟且普 遍的周邊輸入裝置,用來讓使用者方便在電子產品(如:電 腦、行動裝置等)上進行輸入資料。 在鍵盤的設計架構上,主要是包含一按鍵矩陣及一鍵 盤控制器。該按鍵矩陣的每一行信號線及列信號線的交越 點是並聯一按鍵開關,讓該交越點得以用來實現一按鍵功 能。舉例來說,假設要設計一個具有6 4個按鍵的鍵盤的話, 則按鍵矩陣的行信號線及列信號線就例如是分別設計為8 條信號線來進行交越,以形成8*8=64的按鍵矩陣。然而, 也就因此’鍵盤控制器就必須至少設計有16個控制腳位 (8+8=16),才能順利以掃描偵測的方式來控制按鍵矩陣的運 作0 隨著產業的競爭越來越強烈,對於產品成本的要求也 就越來越嚴格’目前市面上各種產品都不斷地在進行改良 η又。十,以期降低產品成本。而對於技術已經相當成熟的鍵 盤來講,要如何進一步有效地降低成本,便是目前所需進 行研究及探討的地方。 此外’由於電子產品的體積越來越講究輕薄短小,因 此在電子產品上所搭配的鍵盤也就相對的會受到考量及重 視。而在按鍵數量固定(操作功能不變)的情況下,要如何降 4/18 201122916 【發明内容】 有鑑於此,本發明所要解決的技 本:按鍵矩陣電路的行信二= 不僅僅是形成-個交越點,而是得以延伸來开/^ ^線 點’亚且針對延伸出來的交越點再搭配一調變電:固 有交越點。 母一條列信號線所交越形成的所 置,出之—方案’提供-種鍵盤掃描裝 電路進陣電路及一鍵盤控制器。按鍵矩陣 複數個按鍵H Γ數條第—信號線、複數條第二信號線、 = 第二信號線是 至少-⑽-li 母一該些第一信號線交越形成 ^ 按鍵開關収分別設於每—該些基本 該些延伸交越點,用來做為第-信號線;第 有=伸交越=導=關’而調變電關是電性連接於所 提供給該些第’鍵=制器是產生一婦描信號來 间種认一成、、,丄 支,亚且解碼該些第二信號線分別所 dim 號’以在任—該些按鍵關導通時,辨气 出该導通之按鍵開關所在的一矩陣位置。 辨為 路另-方案’提供-種按鍵矩陣電 數條弟一信號線、複數條第二信號線、複 5/18 201122916 數個按鍵開關及—市错 與每-該些第—信其中該些第二信號線是分別 再透過-延伸線路而:;越:=基本交越點’並且分別 及每一關是分別設於每-該些基本交越ΐ 及母邊些延伸父越點 人越點 線之間的導通開關,而植φ 1 H線及第二信號 交越點。 …電關性連胁該些延伸 依據本發明所提出 用以掃描如前述方‘』二方案’提供—種掃描方法’ 碼料ί=:提供給該些第-信號線,並且解 二第刀別所回傳的-感測信號,以當有至小 -該些按鍵Μ形絲通時 乂 在的-^ 導通之&鍵開關所 傳輸的㈣信㈣,該導通之按鍵_是屬於基 點,而右感測w是經該調變電路所調變後的掃描” 時,則該導通之按_關是屬於延伸交賴。 ” u 藉此,本發明所能達到的功效在於,讓按鍵矩陣電 得以利綠少的行信號線及列信號線來實現設計時所需的 按鍵數量。而在有料低行信號線及列㈣_總數的情 況下,鍵盤控制益相對所需的控制腳位也就可以減少。如 此一來’不僅可以達到降低鍵盤控制器的成本,更是可以 讓鍵盤控制器在所佔用的面積上獲得改善,以降低佔用的 空間,進而在應用上更為靈活。 以上之概述與接下來的詳細說明及附圖,皆是為了能 進一步說明本發明為達成預定目的所採取之方式、手段及 功效。而有關本發明的其他目的及優點,將在後續的說明 6/18 201122916 及圖式中加以闡述。 【實施方式】 的行透過按鍵矩陣電路的改良,將按鍵矩陣電路 縣進行制,讓原本的每-條行仲 線對母一條列信號線不單σ ” 延伸來形成多個交越點。; 槔西ρ 一 π㈣+扑 兀立針對所延伸出來的交越點再201122916 VI. Description of the Invention: The present invention relates to a keyboard scanning device, and more particularly to a keyboard scanning splitting and a key matrix circuit thereof and a scanning method thereof, which can reduce the number of control signal lines of a key matrix circuit. [First Technology] Due to the rapid growth of the technology industry, the keyboard is already a mature and universal peripheral input device, which is convenient for users to input data on electronic products (such as computers, mobile devices, etc.). In the design of the keyboard, it mainly includes a button matrix and a keyboard controller. The crossover point of each row of signal lines and column signal lines of the button matrix is a parallel button switch, so that the crossover point can be used to implement a button function. For example, if a keyboard with 64 buttons is to be designed, the row signal lines and column signal lines of the button matrix are respectively designed as 8 signal lines for crossover to form 8*8=64. Button matrix. However, the keyboard controller must have at least 16 control pins (8+8=16) in order to smoothly control the operation of the button matrix in the form of scan detection. Strongly, the requirements for product cost are becoming more and more strict. Currently, various products on the market are constantly being improved. Ten, in order to reduce product costs. For keyboards with mature technology, how to further reduce costs is the place where research and discussion are needed. In addition, because the size of electronic products is becoming more and more light and thin, the keyboards used in electronic products are relatively considered and valued. In the case where the number of buttons is fixed (the operation function is unchanged), how to reduce it 4/18 201122916 [Invention] In view of this, the invention to be solved by the present invention: the letter matrix circuit of the letter 2 = not only formed - The crossover point, but is extended to open / ^ ^ line point 'ya and for the extended crossover point with a tone change: the inherent crossover point. The arrangement of the parent line signal lines is formed, and the program provides a keyboard scanning circuit circuit and a keyboard controller. Button matrix, a plurality of buttons H Γ number of strips - signal line, a plurality of second signal lines, = second signal line is at least - (10) - li mother - the first signal line crossover formation ^ button switch is set separately Each of the basic extension crossing points is used as the first signal line; the first = extension = conduction = off ' and the modulation switch is electrically connected to the first 'keys' = The controller generates a smear signal to identify each other, and 丄 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , A matrix position where the button switch is located. Distinguish as a road-scenario-provide-a kind of button matrix electric number, a signal line, a plurality of second signal lines, complex 5/18 201122916, a number of key switches and - the wrong and each - the first - the letter The second signal lines are respectively transmitted through the extension line:; the more: = the basic crossing point' and the respective and each level are respectively set at each of the basic crossovers and the mother side. The turn-on switch between the dotted lines, and the φ 1 H line and the second signal crossover point. ...the electrical connection threats are extended in accordance with the present invention for scanning as provided by the aforementioned "two schemes" - a scanning method 'code ί =: provided to the first - signal lines, and the second knives are returned The transmitted-sensing signal, when there is a small-to-small button, the -4 is transmitted by the -4 key switch (4), the conductive button _ is the base point, and the right When the sensing w is a scan after being modulated by the modulation circuit, the ON_OFF of the conduction is an extension of the connection. u By this, the effect of the present invention is that the key matrix is electrically The number of buttons required for design can be realized by using a row signal line and a column signal line with less green. In the case of a low-line signal line and a column (four)_ total number, the control gain of the keyboard control can be reduced. In this way, not only can the cost of the keyboard controller be reduced, but also the keyboard controller can be improved in the occupied area to reduce the occupied space, thereby making the application more flexible. The above summary, the following detailed description and the annexed drawings are intended to further illustrate the manner, the Other objects and advantages of the present invention will be set forth in the accompanying descriptions in the following descriptions. [Embodiment] The line matrix circuit is implemented by the improvement of the key matrix circuit, so that the original line-by-row line of the parent line is not simply σ ” extended to form a plurality of crossing points; West ρ π (4) + 兀 兀 针对 针对 针对 针对 针对 针对 针对 针对

讓鍵盤控制器在進行掃描作業時,得 按鍵矩陣電路中每—條行信號線對每一條列 二虎線所父細彡成的所有交無。航,讓越控制器得 以利用較少的控制腳位來控制按鍵矩陣電路。 士由於按鍵矩陣電路的矩陣大小是取決於鍵盤實際設計 日1需的按鍵數量,而為了讀制起見,在訂所揭示 :!實化例巾’便*舉㈣三制錢線及三條行信號線的 又片匕、樣來進行5兒明本發明並非僅是形成3*3的矩陣(控制 9個按鍵)。但是在實際設計上並非以此為限,在此先予以 敘明。 凊參考第一圖,為本發明鍵盤掃描裝置的實施例電路 示意圖。本實施例是提供一種鍵盤掃描裝置〗,其包括:一 按鍵矩陣電路10及一鍵盤控制器u。 針對按鍵矩陣電路10的電路架構來看,其包含:複數 條第说線(二條列信號線,Rowl、R〇w2及Row3)、複 數條第二信號線(三條行信號線,C〇ii、c〇i2及Col3)、複 數個按鍵開關S及一調變電路ιοί。 其中,行信號線(CoU、Col2及CoB)是分別與列信號 信(Row卜R〇w2及R0W3)交越形成一基本交越點P1,並且 分別再透過一延伸線路的設計而與列信號信(Rowl、row2 7/18 201122916 、 及Row3)交越形成一延伸交越點1>2。而按鍵開關s是分別 對應设於母一個基本父越點p 1及每一個延伸交越點p2,用 來做為列信號線(Rowl、R0W2及Row3)及行信號線(c〇n、 Col2及Col3)之間的導通開關。藉此,在任一按鍵開關s 導通時,讓該按鍵開關S兩端分別所對應電性連接的列信 號線(RowhRow〗或R0W3)及行信號線(c〇u、c〇12或c〇13) 得以形成相互電性連接。 而在上述的架構下,基本交越點P1所代表的列信號線 (Rowl、Row2 及 R〇w3)和行信號線(c〇ll、col2 及 CoB)的 交越關係’會與延伸交越點P2所代表的列信號線(R〇wl、 Row2及R〇w3)和行信號線(Coll、Col2及Col3)的交越關係 產生重疊的情況,因此進一步設計調變電路101來電性連 接於每一延伸交越點P2,以進行信號調變而產生區隔。 鍵盤控制器11是電性連接列信號線(Rowl、R0W2及 Row3)及行k说線(Coll、Col2及Col3)。並且鍵盤控制哭 11是依據一間隔頻率來產生一掃描信號,以依序提供給列 信號線(Rowl、R〇w2及R〇w3)。而關於所謂的依序提供, 更具體來講指的就是鍵盤控制器11會依據間隔頻率所形成 一時間差來將掃描信號分時提供給列信號線(R〇 w 1、W2 及Row3) ’也就是例如依序先提供給列信號線R〇wl,再提 供給列信號線R〇w2,最後再提供給列信號線row3,以同 時僅讓一條列信號線(R0W1、R0W2或R〇w3)來傳輸掃描信 號’以進行掃描。 此外,在運作設計上,鍵盤控制器11會持續進行解碼 行信號線(Coll、Col2及Col3)所回傳的一感測信號,用以 判斷是否有任一按鍵開關S形成導通,並且當有任—按鍵 8/18 201122916 開時’加明識科通之按關關s實際所在的 9八:的疋’由於在架構上’所有的按鍵開關s =刀’’一;所有的基本交越點pi及延伸交越點P2。因 ^’假設目前鍵盤控㈣u解碼行信號線(⑽、c〇i2及 ^3)所㈣的感顺號的絲是等於mti線(Rowl、 OW2及R〇w3)原本傳輸的掃描信號的話,則可判斷出目前When the keyboard controller performs the scanning operation, all the lines of the signal line in the key matrix circuit are matched to the parent of each column. The navigation allows the controller to control the button matrix circuit with fewer control pins. Because the matrix size of the button matrix circuit is determined by the number of buttons required for the actual design day of the keyboard, and for the sake of reading, it is revealed in the book:! The actualized case towel will be lifted (four) three money lines and three lines The signal line is further spliced and sampled. The invention is not limited to the formation of a 3*3 matrix (control of 9 buttons). However, the actual design is not limited to this, and will be described first. Referring to the first figure, a circuit diagram of an embodiment of a keyboard scanning device of the present invention is shown. The embodiment provides a keyboard scanning device, which includes: a button matrix circuit 10 and a keyboard controller u. For the circuit architecture of the key matrix circuit 10, it includes: a plurality of lines (two column signal lines, Rowl, R〇w2, and Row3), and a plurality of second signal lines (three line signal lines, C〇ii, C〇i2 and Col3), a plurality of key switches S and a modulation circuit ιοί. Wherein, the row signal lines (CoU, Col2, and CoB) are respectively formed with a column signal signal (Row Bu R〇w2 and R0W3) to form a basic crossing point P1, and are respectively transmitted through an extension line design and column signal. The letter (Rowl, row2 7/18 201122916, and Row3) crosses to form an extended crossing point 1 > 2. The key switch s is respectively corresponding to a basic parent point p 1 and each extended crossing point p2, and is used as a column signal line (Rowl, R0W2, and Row3) and a line signal line (c〇n, Col2). A turn-on switch between and Col3). Therefore, when any of the pushbutton switches s is turned on, the column signal lines (RowhRow or R0W3) and the row signal lines (c〇u, c〇12 or c〇13) respectively connected to the two ends of the button switch S are electrically connected. ) to form a mutual electrical connection. Under the above architecture, the cross-relationship relationship between the column signal lines (Rowl, Row2, and R〇w3) and the row signal lines (c〇ll, col2, and CoB) represented by the basic crossover point P1 will be extended with the extension. The crossover relationship between the column signal lines (R〇wl, Row2, and R〇w3) represented by the point P2 and the row signal lines (Coll, Col2, and Col3) is overlapped, so that the modulation circuit 101 is further designed to be electrically connected. At each extension crossing point P2, a signal modulation is performed to generate a division. The keyboard controller 11 electrically connects the column signal lines (Rowl, R0W2, and Row3) and the line k lines (Coll, Col2, and Col3). And the keyboard controls the crying 11 to generate a scan signal according to an interval frequency, which is sequentially supplied to the column signal lines (Rowl, R〇w2, and R〇w3). With regard to the so-called sequential supply, more specifically, the keyboard controller 11 will provide the scan signal time-sharing to the column signal lines (R〇w 1, W2, and Row3) according to a time difference formed by the interval frequency. For example, it is first supplied to the column signal line R〇wl, and then to the column signal line R〇w2, and finally to the column signal line row3, so that only one column signal line (R0W1, R0W2 or R〇w3) is simultaneously provided. To transmit the scan signal 'to scan. In addition, in operation design, the keyboard controller 11 continuously performs a sensing signal returned by the decoded line signal lines (Coll, Col2, and Col3) to determine whether any of the key switches S are turned on, and when there is任—buttons 8/18 201122916 When opening, 'Knowing the knowledge of Ketong's press is the actual 9-8: 疋' due to the architecture's 'all key switches s = knives' 'one; all basic crossovers Point pi and extended crossing point P2. Assume that the current keyboard-controlled (four)u-decoded line signal lines ((10), c〇i2, and ^3) are equal to the scan signals originally transmitted by the mti lines (Rowl, OW2, and R〇w3). Can judge the current

所導通的按鍵_ S是設於基本交越點P1;另外,假設目 前鍵盤控㈣11解碼行信號線(Col卜0)12及CoB)所回傳 的感測信號的結果是經調變電路1〇1所調變後的掃描信號 時’則可繼it}目前所導㈣按賴關s枝於延伸交越 點P2。 對此,可再一併參考第二圖,為本發明行列信號線所 傳輸之掃描信號的波形比對示意圖。其中,第二圖所示的 掃描信號是例如以一電壓波形信號來進行說明,由波形比 對的情況可以看出,當目前所導通的按鍵開關s是設於基 本交越點P1時,行信號線Coll所回傳的感測信號是等於 原本列信號線Rowl所傳輸的電壓波形信號;而若目前所導 通的按鍵開關S是設於延伸交越點P2時,則行信號線c〇ii 所回傳的感測信號是經由調變電路101所調變後的電壓波 形信號,如此以讓鍵盤控制器11在判斷上得以順利產生區 隔。 承上所述,在判斷出目前所導通之按鍵開關s是屬於 基本交越點P1或是延伸交越點P2之後,由於鍵盤控制器 11原本就已經是可以藉由間隔頻率來得知電壓波形信號是 由哪一列信號線(Rowl、Row2或R〇w3)所傳輪,並且感測 9/18 201122916 信號是自哪一行信號線(Coll、Col2或c〇13)所接收,因此 便可順利辨識出該導通之按鍵開關S的矩陣位置。於是, 鍵盤控制器11也就可以進一步依據該導通之按鍵開關s的 矩陣位置來輸出一對應的鍵盤功能信號。 補充說明的是,在本實施例中,行信號線(c〇n、c〇12 及Col3)的一端是電性連接於鍵盤控制器n,並且另一端則 是進-步透過-電阻R來接地,如此以架構成一拉低電位 (Pull-Low)的設計。而基於此一架構的設計,鍵盤控制器u 所設計產生的電壓波形信號將會是以高電位波形來代表有 效信號。換句話說’當鍵盤控制器u解碼行信號線(c〇u、 C〇12及Col3)所回傳的感測信號的結果是屬於接地之低電 位信號(悝為低電位波形)時,便可以判斷出目前是沒有任 按鍵開關S形成導通。 此外,按鍵矩陣電路1G除了本實施例的設計之外,亦 ^采用Λ高電位(PUll_High)的方式來設計,以讓行信號線 、n〇及C〇B)的一端是電性連接於鍵盤控制器U, U一端則是進一步透過一電阻來連接於-電壓源。如 是=電計產生的電壓波形信號則將會 -电位_來代表有效信號。於 回二 以判斷出目號(怔為高電位波形)時,同樣可 告 疋/又有任何按鍵開關S形成導通。 路設二用1判斷按鍵開關s導爾之信號差異的電 ,,式亚非僅侷限於 , 明所保護的ί圍變的電路設計方式都是屬於本發 10/18 201122916 最後,在按1 建矩陣電路10中,針對每一按鍵開關s可 例^是進—步串接—二極體D’ _來進—步關電壓波 形#號在按鍵開關s導通時是由列信號線(R〇wi、或 Row3)傳輸至行信號線(⑽、㈤或Cd3),並且避免在運 作時發生干擾或衝突的情形。The turned-on button _ S is set at the basic crossover point P1; in addition, it is assumed that the result of the sensing signal returned by the keyboard control (four) 11 decoded line signal line (Col Bu 0) 12 and CoB is the modulated circuit. When the scan signal of 1〇1 is modulated, it can be followed by it. (4) According to Laiguan, the branch crossing point P2. In this regard, reference may be made to the second figure, which is a schematic diagram of waveform comparison of the scanning signals transmitted by the row and signal lines of the present invention. The scanning signal shown in the second figure is described by, for example, a voltage waveform signal. As can be seen from the waveform comparison, when the currently-pressed key switch s is set at the basic crossing point P1, The sensing signal returned by the signal line Coll is equal to the voltage waveform signal transmitted by the original column signal line Rowl; and if the currently-pressed key switch S is set at the extended crossing point P2, the line signal line c〇ii The returned sensing signal is a voltage waveform signal modulated by the modulation circuit 101, so that the keyboard controller 11 can smoothly segment the judgment. As described above, after judging that the currently-pressed push button switch s belongs to the basic crossover point P1 or the extended crossover point P2, since the keyboard controller 11 is already capable of knowing the voltage waveform signal by the interval frequency Which column of signal lines (Rowl, Row2, or R〇w3) is transmitted, and the 9/18 201122916 signal is received from which line (Coll, Col2, or c〇13), so it can be successfully identified. The matrix position of the on-button switch S is turned on. Therefore, the keyboard controller 11 can further output a corresponding keyboard function signal according to the matrix position of the turned-on button switch s. It should be noted that, in this embodiment, one end of the row signal lines (c〇n, c〇12, and Col3) is electrically connected to the keyboard controller n, and the other end is the step-through-resistor R. Grounding, so that the frame constitutes a pull-low (Pull-Low) design. Based on the design of this architecture, the voltage waveform signal designed by the keyboard controller u will represent the effective signal with a high potential waveform. In other words, when the result of the sensing signal returned by the keyboard controller u decoding the line signal lines (c〇u, C〇12, and Col3) is a grounded low potential signal (悝 is a low potential waveform), It can be judged that there is no key switch S that is currently turned on. In addition, in addition to the design of the embodiment, the key matrix circuit 1G is also designed to adopt a high potential (PUll_High) manner so that one end of the line signal line, n〇, and C〇B) is electrically connected to the keyboard. The U, U end of the controller is further connected to the -voltage source through a resistor. If the voltage waveform signal generated by the = meter will be - potential_ to represent the valid signal. When returning to the second to judge the eyepiece (怔 is a high-potential waveform), it is also possible to have any button switch S to be turned on. The road is set to use two to judge the difference between the signal of the button switch s, and the type of circuit is only limited to that. The circuit design method of the protection of the wai is changed to belong to this issue 10/18 201122916 Finally, press 1 In the built-in matrix circuit 10, for each button switch s, it can be exemplified that the step-by-step series-diode D'__into-step-off voltage waveform# is a column signal line when the button switch s is turned on. 〇wi, or Row3) is transmitted to the line signal line ((10), (5), or Cd3), and avoids interference or collision during operation.

。月基於第—圖之實施例來進一步參考第三A圖及第三 B f ’為本發明按鍵矩陣電路中的機f路的實施例電路 不意圖。如第三A圖及第三B圖所示,調變電路1〇1是可 例如包含-電容α及—電阻R1,當設在任—延伸交越點 P2的按鍵開㈣s導通時’可以實際依據電容的電容值 及電阻R1的電阻值來對列信號線(R〇w;l、R0W2及R0w3) 所傳輸的掃描信號進行調變。 =外,第二A圖是進一步用來等效說明同一行信號線 C〇U父越於不同列信號線(R〇w:l、Row2或R0W3)時,調變 電路⑺1的電路共接態樣;而第三B ®則是用來等效說明 ^同仃信號線(C〇U、Col2或c〇B)交越於同一列信號線 〇wl時’調變電路1〇1的電路共接態樣。以此類推,結合 —圖及第三B圖的等效電路連接態樣,使得本實施例 鍵矩陣電路1G中的所有延伸交越點P2所電性連接的 調變電路θ U1疋可以透過在電路板上的電路佈線設計而共 電,連接於同-個調變電路1G卜以節省成本。 。然,在不考慮成本的情況下,不同延伸交越點Ρ2則 1 =疋單獨電性連接各自的調變電路101,並分別透過不同 二 及電阻R1之搭配來產生不同的調變内容。在此 亚非為本發明所限制。 而值得一提的是,在上述實施例中,行信號線(Coll、 11/18 201122916 C〇12及Col3)是單純分別與列信號線(R〇w1、row2及Row3) 交越形,-延伸交越點P2(假設第一圖中的所有延伸交越 點P2是形成為一組延伸交越點組)。而若為了讓實際鍵盤 能支援更多按鍵的話,在設計上,行信號線(coll、col2及 C〇I3)更可再進—步進行延伸,以分別再與列信號信 (〇w卜R0w2及R〇w3)交越形成更多組延伸交越點組(圖未 示)〇 而針對不同組延伸交越點組所搭配的調變電路101則 ^須是不同調變内容的調變電路1G1,以讓鍵盤控制器 η付以順利區隔不同延伸交越點組中的延伸交越點。 列述:ί過本發明之設計’讓本實施例原本三條 ==(rgw1、Rgw2及Rgw3)及三條行信號線(⑽、⑽ =C〇13)不單是形成3*3的矩陣(控制9個按鍵),更是可以 =18個按鍵(-組延伸交越點組)、27個按鍵(兩組延伸交 越趣)、36個按鍵(三組延伸交越點組),以此類推。 為了更清楚地說明有關按鍵矩陣電路1〇的實際 構來ίίΓ 一圖實施例中所揭示的按鍵矩陣電路1〇“ =參ί第四圖,為本發明用來掃描按鍵矩陣電路的掃^ 掃描方法,好驟包括..首先,進行—掃 依據-間隔頻率來產生-掃描信號,並且 1 提供給聽號線(R_、Row2及R〇w3)(s4降田。唬依序 接著,解碼行信號線(C〇ii、c〇i2 的-感測信號(S405)’以進一步判斷:/刀::回傳 =通(_)。若步驟關 #郁〇11、⑽及C。13)所回傳的感測信號並非= 12/18 201122916 地之低電位信號。並且依據解碼感測信號的結果,若感測 信號是等於原本顺號線(R〇wl、Rqw2或Rqw3)所傳輸的 掃描信號時,則導通之按鍵開關S是屬於基本交越點ρι; 而若感測信號是經調變電路1G1所調變後的掃描信號時, 則導通之按鍵開關S係屬於延伸交越點P2。因此,得以辨 識出導通之按_關S所在的—矩陣位置,以進行輸出一 對應的鍵盤功能錢(S4G9)。另—方面,若步驟(s術)的判 斷結果為否,也就是沒有任何按_關s導通時,則是表 示行信號線(COU、Col2及⑽)所回傳的感測信號是接地 之低電位信號。 接下來 乜號是依序提供給列信號線(Rowl、 〇w2及R〇w3) ’而在完成—次依序將掃描信號提供給列传 唬線(Rowi、RGw2及R⑽3)的動作即稱之為—掃描週期。 =I ^驟(ΓΤΙ之後或者步驟師7)的判斷結果為 ^ 订判斷疋否完成一掃描週期(S411)。 若步驟(S411)的酬結果否,則麵目前掃描信 =完全提供給列信號線(R_、r : 描,。因此,便重覆執行步驟(s4峨二 業rS413,) (S411)的判斷結果為是時,則完成掃描作 ㈣鍵盤是_提供給使 掃描作業之後,則是重„ (S41脱成—次掃描週期的 以不斷地進行掃描作業。藉:步驟(s—401)及f爾後的步驟’ 電路之控财法的實際運作^程Μ成本實施例按鍵矩陣 Τ斤迷本發明讓按鍵矩陣電路得以湘較少的行 201122916 信號線及列信號線來實現設計時所需的按鍵數量。而在有 效降低行信號線及列信號線的總數的情況下,鍵盤控制器 相對所需的控制腳位也就可以減少,亦或者讓鍵盤 在固定的腳位數量下能提供較多的通用型輸人輸出腳位 (GPIO)以供其他控制使用。此外,在剌上,當按鍵矩陣 電路與鍵盤㈣H是分職計在不同桃_,其間是需 透過軟性電路板或者麟來進行連接,而透過本發明之設 計’讓鍵盤控制器控制按鍵矩陣電路的控制腳位得以‘ 得軟性電路板或排線的設計就可以更加靈活,並且 料^制^所佔用的面積上也可以同時獲得改善,而有 效減輕電路板佈線時的困擾。 及圖上所述’僅為本發_具體實施例之詳細說明 以本發明,本發明之所有範圍應 明之領域為準’任何熟悉該項技藝者在本發 案所界定之專利範圍。 在以下本 【圖式簡單說明】 電路』施二及:z圖係及本發明按鍵矩陣電路中的調變 實:='本發明用來掃描按鍵坦陣電路的掃描方法之 【主要元件符號說明】 1鍵盤掃描襄置 14/18 201122916 ίο按鍵矩陣電路 101調變電路 11鍵盤控制器 C1電容. Further, referring to the third embodiment and the third Bf', based on the embodiment of the first embodiment, the circuit of the embodiment of the button matrix circuit of the present invention is not intended. As shown in FIG. 3A and FIG. 3B, the modulation circuit 1〇1 can include, for example, a-capacitance α and a resistor R1, which can be practical when the button provided at the any-exit crossing point P2 is turned on (four)s. The scan signals transmitted by the column signal lines (R〇w; l, R0W2, and R0w3) are modulated according to the capacitance value of the capacitor and the resistance value of the resistor R1. In addition, the second A picture is further used to equivalently describe that the circuit of the modulation circuit (7) 1 is connected to the same line of the signal line C〇U father over the different column signal lines (R〇w:l, Row2 or R0W3). The third B ® is used to equivalently indicate that the same signal line (C〇U, Col2 or c〇B) crosses the same column signal line 〇wl 'modulation circuit 1〇1 The circuit is connected to each other. By analogy, in combination with the equivalent circuit connection pattern of the figure and the third B picture, the modulation circuit θ U1疋 electrically connected to all the extended crossover points P2 in the key matrix circuit 1G of the present embodiment can be transmitted through The circuit wiring on the circuit board is designed to be electrically connected, and is connected to the same modulation circuit 1G to save cost. . However, regardless of the cost, the different extended crossover points Ρ2 1 = 疋 are individually electrically connected to the respective modulation circuits 101, and respectively generate different modulation contents by the combination of different bis resistors R1. Here, Asia and Africa are limited by the present invention. It is worth mentioning that, in the above embodiment, the line signal lines (Coll, 11/18 201122916 C〇12 and Col3) are simply intersected with the column signal lines (R〇w1, row2, and Row3), respectively. The crossing point P2 is extended (assuming that all of the extended crossing points P2 in the first figure are formed as a set of extended crossing points). In order to allow the actual keyboard to support more buttons, in the design, the line signal lines (coll, col2, and C〇I3) can be further extended to separate the column signal signals (〇w Bu R0w2) And R〇w3) crossover to form more groups of extended crossover points (not shown), and the modulation circuit 101 for different groups of extended crossover points must be modulated by different modulation contents. The circuit 1G1 is configured to allow the keyboard controller n to smoothly separate the extended crossover points in the different extended crossover point groups. List: ί The design of the present invention 'Let the original three strips == (rgw1, Rgw2 and Rgw3) and three row signal lines ((10), (10) = C〇13) not only form a matrix of 3*3 (Control 9 One button), you can = 18 buttons (-group extension crossover point group), 27 buttons (two groups of extended crossover interest), 36 buttons (three groups of extended crossover points), and so on. In order to more clearly explain the actual configuration of the key matrix circuit 1 ί Γ Γ Γ Γ 按键 按键 按键 按键 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = The method includes the following steps: first, the sweep-based interval frequency is used to generate the scan signal, and 1 is supplied to the listener lines (R_, Row2, and R〇w3) (s4 falls into the field. Signal line (C〇ii, c〇i2 - sense signal (S405)' to further judge: / knife:: return = pass (_). If the step is off #郁〇11, (10) and C. 13) The returned sensing signal is not a low potential signal of = 12/18 201122916. And according to the result of decoding the sensing signal, if the sensing signal is equal to the original transmission line (R〇wl, Rqw2 or Rqw3) transmitted scanning When the signal is signaled, the on-off key switch S belongs to the basic crossover point ρι; and if the sensing signal is the scan signal modulated by the modulation circuit 1G1, the on-press key switch S belongs to the extended crossover point. P2. Therefore, it is possible to recognize the position of the matrix where the on-off _off S is located for outputting a pair The keyboard function money (S4G9). On the other hand, if the judgment result of the step (s) is no, that is, if there is no _ off s conduction, it means that the line signal line (COU, Col2 and (10)) is returned. The transmitted sensing signal is a grounded low potential signal. The next apostrophe is provided to the column signal lines (Rowl, 〇w2, and R〇w3) in sequence, and the scan signal is sequentially supplied to the column transmission line in sequence. The actions of (Rowi, RGw2, and R(10)3) are called - scan cycles. =I ^ ( (after or after step 7), the result of the judgment is YES, whether or not a scan cycle is completed (S411). If the step (S411) If the result of the remuneration is no, then the current scan letter = is completely supplied to the column signal line (R_, r: description, therefore, repeat the execution step (s4峨二业rS413,)) (S411) Then, the scan is completed (4) The keyboard is _ provided to make the scan job, then it is heavy „ (S41 is de-converted to the scan cycle to continuously scan the operation. Borrow: steps (s-401) and subsequent steps' The actual operation of the circuit's wealth control method ^Cheng ΜCost example button matrix Τ 迷 本 本 本 本 本 本 本The road can use the 201122916 signal line and the column signal line to achieve the number of buttons required for design. In the case of effectively reducing the total number of row signal lines and column signal lines, the keyboard controller is relatively required. The bit can also be reduced, or the keyboard can provide more general-purpose input output pin (GPIO) for other control purposes at a fixed number of pins. In addition, on the keyboard, when the key matrix circuit and keyboard (4) H is divided into different peaches, in which it is connected through a flexible circuit board or a lining, and the design of the present invention allows the keyboard controller to control the control pins of the key matrix circuit to obtain a flexible circuit board or row. The design of the wire can be more flexible, and the area occupied by the material can also be improved at the same time, and the trouble of wiring the circuit board can be effectively alleviated. And the present invention is intended to be in the scope of the invention as defined by the appended claims. In the following [simplified description of the drawing] circuit "2" and: z diagram and the modulation matrix circuit of the present invention: = 'The scanning method of the invention for scanning the button array circuit [main component symbol description 】 1 keyboard scanning device 14/18 201122916 ίο button matrix circuit 101 modulation circuit 11 keyboard controller C1 capacitor

Coll,Col2,Col3 行信號線 D二極體 P1基本交越點 P2延伸交越點 R,R1電阻Coll, Col2, Col3 line signal line D diode P1 basic crossover point P2 extension crossover point R, R1 resistance

Rowl,Row2,Row3 列信號線 S按鍵開關 S401至S413流程圖步驟說明 15/18Rowl, Row2, Row3 column signal line S button switch S401 to S413 flowchart step description 15/18

Claims (1)

201122916 七、申請專利範圍: 1. 一種鍵盤掃描裝置,包括: 一按鍵矩陣電路,進一步包含: 複數條第一信號線; ^ 複數條第二信號線,係分別與每一該些第一信號線交 越形成一基本交越點,並且分別透過一延伸線路而 與每一該些第一信號線交越形成至少一延伸交越 點; 複數個按鍵開關,係分別設於每一該些基本交越點及 · 每一該些延伸交越點,用來做為該些第一信號線及 該些第二信號線之間的導通開關;及 一調變電路,係電性連接於該些延伸交越點;以及 一鍵盤控制器,係產生一掃描信號來提供給該些第一信 號線,並且解碼該些第二信號線分別所回傳的一感測 信號,以在任一該些按鍵開關導通時,辨識出該導通 之按鍵開關所在的一矩陣位置。 2. 如申請專利範圍第1項所述之鍵盤掃描裝置,其中該鍵 · 盤控制器係依據一間隔頻率來產生該掃描信號,以依序 提供給該些第一信號線。 3. 如申請專利範圍第1項所述之鍵盤掃描裝置,其中該調 變電路係包含一電容及一電阻,並且當設於任一該些延 伸交越點的按鍵開關導通時,進行調變該掃描信號。 4. 如申請專利範圍第3項所述之鍵盤掃描裝置,其中該些 第二信號線的一端係電性連接該鍵盤控制器,而該些第 二信號線的另一端係接地。 5. 如申請專利範圍第4項所述之鍵盤掃描裝置,其中該感 16/18 201122916 電路;::::=一信號線所傳輸的掃描信號、該調變 6.如二Ϊ的知描信號或者該接地之低電位信號。 第二;圍13Γ述之鍵盤掃描裝置,其中該些 二信號二另—t 連接該鍵盤控制器,而該些第 々另—端係電性連接一電壓源。 H請翻範目第6項所叙掃 ,號係等於該第一信號線所傳輸的掃描信號201122916 VII. Patent application scope: 1. A keyboard scanning device, comprising: a button matrix circuit, further comprising: a plurality of first signal lines; ^ a plurality of second signal lines, respectively, and each of the first signal lines The crossover forms a basic crossover point, and respectively intersects each of the first signal lines to form at least one extended crossover point through an extended line; a plurality of key switches are respectively disposed in each of the basic intersections The point of intersection and each of the extended crossing points is used as a conduction switch between the first signal lines and the second signal lines; and a modulation circuit is electrically connected to the Extending a crossover point; and a keyboard controller generating a scan signal for providing the first signal lines, and decoding a sensed signal respectively returned by the second signal lines to be at any of the buttons When the switch is turned on, it recognizes a matrix position where the on-off key switch is located. 2. The keyboard scanning device of claim 1, wherein the key controller generates the scan signal according to an interval frequency to sequentially supply the first signal lines. 3. The keyboard scanning device of claim 1, wherein the modulation circuit comprises a capacitor and a resistor, and is adjusted when a button switch provided at any of the extended crossover points is turned on. Change the scan signal. 4. The keyboard scanning device of claim 3, wherein one end of the second signal lines is electrically connected to the keyboard controller, and the other ends of the second signal lines are grounded. 5. The keyboard scanning device according to claim 4, wherein the sense 16/18 201122916 circuit;::::=a scan signal transmitted by a signal line, the modulation 6. The signal or the low potential signal of the ground. Secondly, in the keyboard scanning device described in the above, the two signals are connected to the keyboard controller, and the other terminals are electrically connected to a voltage source. H Please turn to the sixth item in the model, the number is equal to the scan signal transmitted by the first signal line. ::所調變後的掃描信號或者該電壓源之高電位二 8. 如申請專利範圍第丨項所述之鍵盤掃描裝置,4:;掃 描信號係一電壓波形信號。 、〇 9. 如申請專賴㈣w所述之鍵歸描裝置,其中該鍵 盤控制器係進一步依據該導通之按鍵開關所在的矩陣 位置來輸出一對應的鍵盤功能信號。 10. 如申請專利範圍第〗項所述之鍵盤掃描裝置,其中該些 按鍵開關係分別進一步串接一二極體。 ^一 11· 一種按鍵矩陣電路,包括: 複數條第一信號線; 複數條第二信號線,係分別與每一該些第一信號線交越 开乂成基本父越點,並且分別透過一延伸線路而與每 該些第一彳5 5虎線父越形成至少一延伸交越點; 複數個按鍵開關,係分別設於每一該些基本交越點及每 一該些延伸交越點,用來做為該些第一信號線及該些 第一彳§號線之間的導通開關;及 一調變電路,係電性連接於該些延伸交越點。 12.—種掃描方法,用以掃描如申請專利範圍第11項所述 之按鍵矩陣電路,其步驟包括: 17/18 201122916 產生一掃描信號以提供給該些第一信號線; 解碼§亥些第二信號線分別所回傳的—感、, 至少-該些按鍵開關形成導通時,辨識出:=當: 鍵開關所在的一矩陣位置; X 、之按 其中’若該❹m觸等㈣第—㈣線所 1”虎時:該導通之按鍵開關係屬於該基本交越點 右該感測信號係經該調變電路:,而 時’該導通之按鍵開關係屬於該延;=⑽信號 申料概圍第12韻述之掃財法越= 測信號係-接地之低電位信號或一電愿源之 號時,則無任何該些按鍵開關導通。,、口、位仏 ⑷如申請專·㈣12項所述之掃描 完成-掃描作業,以在—掃描週期内 步包含 將該掃描信號依序提供給該些第一信號線。㈢隔頻率來 15·如申請專利範圍第12項所述之掃。 信號係一電壓波形信號。 / /、中該掃描 16.如申請專利第12項所述之掃描方法, 出該導通之按鍵開關所在的矩陣位置之〔、在辨識 —對應的鍵盤功能信號。 < ,進—步輪出 18/18:: The modulated scan signal or the high potential of the voltage source. 2. The keyboard scanning device according to the scope of claim 2, wherein the scan signal is a voltage waveform signal. 〇 9. If the application is directed to the key-return device described in (4)w, the keyboard controller further outputs a corresponding keyboard function signal according to the matrix position of the turned-on button switch. 10. The keyboard scanning device of claim 1, wherein the button-opening relationships are further connected in series with a diode. ^11·11. A button matrix circuit comprising: a plurality of first signal lines; a plurality of second signal lines respectively crossing each of the first signal lines to form a basic parent point and respectively transmitting Extending the line to form at least one extended crossing point with each of the first plurality of five-line fathers; a plurality of key switches are respectively disposed at each of the basic crossing points and each of the extended crossing points And a turn-on switch between the first signal line and the first 彳 § line; and a modulation circuit electrically connected to the extended crossover points. 12. A scanning method for scanning a key matrix circuit as described in claim 11 wherein the steps include: 17/18 201122916 generating a scan signal for providing to the first signal lines; decoding § hai The sense that the second signal line is transmitted back, at least - when the button switches are turned on, recognizes: = when: a matrix position where the key switch is located; X, which presses 'if the ❹m touches, etc. (4) — (4) Line 1” Tiger Time: The on-button key-opening relationship belongs to the basic crossover point. The sensing signal is passed through the modulation circuit: and the 'button-on relationship of the conduction is the extension;=(10) The signal processing is the 12th rhyme of the sweeping method. = When measuring the signal system - the low potential signal of the grounding or the source of the power source, there is no such button switch to turn on., port, position 仏 (4) Applying the scanning completion-scanning operation described in item 12 (4) to include the scanning signal in the step of the scanning period to the first signal lines in sequence. (3) Separating the frequency 15 · As claimed in the 12th item The signal is a voltage waveform signal / /, the scanning 16. According to the scanning method described in claim 12, the matrix position where the conductive button switch is located [, in the identification - corresponding keyboard function signal. <, step-by-step 18/18
TW098146220A 2009-12-31 2009-12-31 Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit TWI501114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098146220A TWI501114B (en) 2009-12-31 2009-12-31 Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098146220A TWI501114B (en) 2009-12-31 2009-12-31 Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit

Publications (2)

Publication Number Publication Date
TW201122916A true TW201122916A (en) 2011-07-01
TWI501114B TWI501114B (en) 2015-09-21

Family

ID=45046431

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098146220A TWI501114B (en) 2009-12-31 2009-12-31 Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit

Country Status (1)

Country Link
TW (1) TWI501114B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513775A (en) * 2012-06-22 2014-01-15 盛群半导体股份有限公司 Keyboard device and method for detecting key state
TWI568196B (en) * 2015-08-17 2017-01-21 光寶電子(廣州)有限公司 Scaning circuit of keyboard, keyboard and scaning method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI650676B (en) * 2017-09-26 2019-02-11 精元電腦股份有限公司 Keyboard that can change the position of the button arbitrarily

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW588387B (en) * 2003-05-16 2004-05-21 Inventec Appliances Corp Pressing button circuit of electronic product
US8471733B2 (en) * 2006-06-20 2013-06-25 Qualcomm Incorporated Two-wire connection to a key matrix in a mobile device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103513775A (en) * 2012-06-22 2014-01-15 盛群半导体股份有限公司 Keyboard device and method for detecting key state
CN103513775B (en) * 2012-06-22 2016-08-03 盛群半导体股份有限公司 Keyboard device and method for detecting key state
TWI568196B (en) * 2015-08-17 2017-01-21 光寶電子(廣州)有限公司 Scaning circuit of keyboard, keyboard and scaning method thereof

Also Published As

Publication number Publication date
TWI501114B (en) 2015-09-21

Similar Documents

Publication Publication Date Title
CN103713742B (en) capacitive touch keyboard
US20140198062A1 (en) Input Element for Operating a Touch-Screen
US6504492B1 (en) Input means for generating input signals to an electronic device
US20100321214A1 (en) Touch sensing method for resistive type touch apparatus
USRE41017E1 (en) Circuit layout arrangement for key switch signal recognition
CN103677467B (en) Touch sensitive device
KR20160124133A (en) Touch panel and method for detecting pressed position on touch panel
TWM342558U (en) Capacitive type touch panel
TWI443570B (en) Ungrounded touch input device and control device thereof
CN101488046B (en) Electronic device and keyboard module thereof
CN106055156A (en) Touch substrate, display panel and display device
TW201122916A (en) Keyboard scanning apparatus and key matrix circuit thereof and method for scanning the key matrix circuit
CN100447718C (en) Keyboard and its input method
CN107908317B (en) Touch device and touch method applied to capacitive touch screen
US10884511B2 (en) Input device with key input and touch input, and operating method thereof
CN102142846A (en) Keyboard scanning device as well as key matrix circuit and scanning method thereof
US7339499B2 (en) Keypad signal input apparatus
CN203894703U (en) Computer keyboard
TW201528091A (en) Touch emulator
CN106293254A (en) Touch control display apparatus
TW201316230A (en) Touch control module and electronic device thereof
US8947393B2 (en) Touch screen panel in resistive type
CN105700729B (en) Touch system for planning touch configuration by using operation processing unit
TW201525791A (en) Touch display apparatus
JP2008033843A (en) Computer system, keyboard, and structure of key for keyboard