201028907 六、發明說明: 【發明所屬之技術領域】 電路,特 觸控控制方法 本發明有關於-種電容式觸控姉方法及复 別是有關於—種整合至顯示控制器的電容式、 及其電路。 【先前技術】201028907 VI. Description of the Invention: [Technical Field of the Invention] Circuit, special touch control method The present invention relates to a capacitive touch method and a reset method relating to a capacitive type integrated into a display controller, and Its circuit. [Prior Art]
賴⑽上方雜會有數個發光二極體與對 :文鍵她特殊魏,或者,電腦螢幕或電視也會有」些 (〇n'SCreen diSplay 5 ®^〇SD)^ Γ者觸控技術的發展,小_控面板也逐漸應用在高階產 =,可以減少按鍵元件的使用,讓產品的附加價值提升, 減>、按鍵長期使用後損壞的機會,使用可靠度也增加。There are several light-emitting diodes and pairs on the top of the Lai (10): she is special Wei, or, on the computer screen or TV, there are some (〇n'SCreen diSplay 5 ®^〇SD)^ Development, small _ control panel is also gradually applied to high-order production =, can reduce the use of button components, so that the added value of the product is improved, less, and the chance of damage after long-term use of the button, the reliability of use is also increased.
第-圖顯示f知技術的小型顯示電路1G,利用按鍵1 二分別控制發光二鐘m〜D7是否發光顯*,電阻R1 7刀別為限流電阻,由連接器〗2連接到顯示控制器(未 顯示)。 第二圖顯示習知技術的小型觸控顯示電路20,包含接 觸板22與觸控控制器24,接觸板22耦接至觸控控制器 24,接觸板22提供使用者複數個接觸點cs〇〜CS5,訊號 26提供觸控控制器24接地於接觸板22。應注意到,使用 者經由觸控所提供的訊號變化十分微弱,也容易受到環境 干擾,習知技術必須利用獨立的觸控控制器24,典型的為 201028907 獨立的積體電路(integratedcircuit,IC),且必須將觸控控 制器24設置鄰近於接觸板22,接觸板22與觸控控制器24 所形成的小型觸控顯示電路20係佈局實現於一塊獨立的 小型電路板上,遠離於其他控制電路板或電源電路板,以 最小化訊號之干擾,才可以實現觸控控制。 因此十分殷切需要發展出一套可以降低成本之觸控控 : 制解決方案。The first figure shows the small display circuit 1G of the technology, which uses the button 1 to control whether the two lights m~D7 are illuminated*, the resistor R1 7 is a current limiting resistor, and the connector is connected to the display controller by the connector 2 (not shown). The second figure shows a small touch display circuit 20 of the prior art. The touch panel 22 is coupled to the touch controller 24, and the contact panel 22 is coupled to the touch controller 24. The contact panel 22 provides a plurality of contact points cs. ~CS5, signal 26 provides touch controller 24 to ground contact plate 22. It should be noted that the signal provided by the user through touch is very weak and vulnerable to environmental interference. The prior art must utilize a separate touch controller 24, typically 201028907 independent integrated circuit (IC). The touch controller 24 must be disposed adjacent to the contact panel 22, and the small touch display circuit 20 formed by the contact panel 22 and the touch controller 24 is disposed on a separate small circuit board, away from other control. The circuit board or power supply board can minimize the interference of the signal to achieve touch control. Therefore, it is very urgent to develop a touch control system that can reduce costs.
【發明内容】 本發明提出一種顯示控制器,包括觸控控制電路以及 脈波寬度調變電路,觸控控制電路藉由主張觸控重置訊號 而偵測接觸點是否被觸碰;脈波寬度調變電路,耦接至觸 控控制電路,用以產生脈波寬度調變訊號,觸控重 與脈波寬度調變訊號相關於影像同步訊號,例如水平同步° 訊號、垂直同步訊號或輸出水平同步訊號,觸控重置訊號 係同步於影像时織,或者,魅控職路接收影像同 步n;以產生-同步訊號給脈波寬度調變電路,使得脈波 寬m %路產生該脈波寬度調變訊號以同步於該同步訊 號。 。 本發明更提出-種整合於顯示控制器中之觸控控制電 ί哭包2弟一電流源、第二電流源、複數個開關、遲滯比 車父器、_電路紅反器’魏__接射卜部複數個 接觸點,獅味器具有第—參考啸電壓與第二 較電壓’經由該些«將該些接觸點擇於該遲 201028907 電流源與該第二電流_接於遲滞比 生感測電壓’遲滯比較器將感測電壓與 產生严及第二參考比較進行遲滯比較,以 致用以控制第一電流源與第二電流源之 =广、否,除㈣路接收遲滞比較輸出並進行 :=古正,妾於除頻電路,用以產生取樣輸出, 有-8^脈端’用以接收上升緣觸發訊號, 取樣輸出’代表遲滯比較輪出之頻率值是否高於—預定值。SUMMARY OF THE INVENTION The present invention provides a display controller including a touch control circuit and a pulse width modulation circuit. The touch control circuit detects whether a contact point is touched by a touch reset signal; a pulse wave The width modulation circuit is coupled to the touch control circuit for generating a pulse width modulation signal, and the touch weight and the pulse width modulation signal are related to the image synchronization signal, such as a horizontal synchronization signal, a vertical synchronization signal, or The horizontal sync signal is output, the touch reset signal is synchronized with the image woven, or the fascinating control channel receives the image sync n; to generate a sync signal to the pulse width modulation circuit, so that the pulse width m % path is generated The pulse width modulation signal is synchronized with the synchronization signal. . The invention further proposes a touch control device integrated in the display controller, a current source, a second current source, a plurality of switches, a hysteresis ratio, a parent device, a _circuit red counter device, and a ___ Receiving a plurality of contact points of the bud, the lion scent has a first reference voltage and a second voltage </ </ RTI> through the «the contact points are selected for the late 201028907 current source and the second current _ connected to the hysteresis ratio The raw sensing voltage 'hysteresis comparator compares the sensing voltage with the generated strict comparison with the second reference, so as to control the first current source and the second current source = wide, no, except (four) way receiving hysteresis comparison Output and carry out: = Gu Zheng, 妾 in the frequency divider circuit, used to generate the sampling output, there is -8 ^ pulse end 'to receive the rising edge trigger signal, the sample output 'represents the hysteresis comparison round out the frequency value is higher than - Predetermined value.
本發明更提出-種應用於顯示控制器内之觸碰福測方 法,包括產生侧於影像同錢號之重置訊號; ^觸控重置訊號,相應於接觸點以產生具有感測頻率;: 感測電壓,以及根據感_率決定該接觸狀否被觸碰, 當決定接繼_碰時,鼓—㈣㈣㈣—接觸板上 複數個發光二極體是否發亮。 為了使鈞局月b更進一步瞭解本發明特徵及技術内 容,、請參_下«本發明之詳細說赌關,然而所附 圖式僅提供參考與_,並翻來對本發明加以限制。 【實施方式】 π第三圖顯示根據本發明具體實施例之整合至顯示控制 器的電谷式觸控控制電路獅,電容式觸控控制電路猶 J以整合至顯不控制H中,例如縮放控制晶片(%心)或 電視控制晶f容摘控姉電路·包含複數侧關 〇 S51 电 /瓜源1s〇urce、ISink'遲滯比較器(hysteresis 201028907 comparator) 320,電容式觸控控制電路3〇〇耦接至遠端的 接觸板310,於此實施例中,接觸板31〇提供cS〇〜CS5 六個接觸點,接觸板31〇經由訊號312提供接地訊號以改 善訊號品質,接觸板310所提供之CS〇〜CS5六個接觸點, 經由使用者之觸碰位置,而產生不同的等效電容。舉例而 吕,電容式觸控控制電路3〇〇可以循序導通開關s〇1、sl卜 ' S21、S3卜S4卜S5卜而將CS0〜CS5六個接觸點循序耦 接於遲滯比較器320之正端,而將其餘五個接觸點接地, ❹ 進行使用者觸控位置之偵測。假設對接觸點CS2進行偵 測,電容式觸控控制電路3〇〇將開關S21導通,而將其餘 五個接觸點接地,其等效電路如第四圖所示。 第四圖顯示利用第三圖實施例對接觸點CS2進行偵測 之等效電路400 ’於此實施例中,接觸點CS2耦接於遲滯 比較器320之正端,而將其餘五個接觸點接地,根據使用 者之觸碰位置而產生不同的電容Ckeypad,較佳地’利用電 流源ISQurce對電容ckeypad充電,產生充電電壓Vx ;遲滞比 ❹ 較器32〇具有參考比較電壓VH、VL,遲滯比較器320將充 - 電電壓Vx與參考比較電壓進行比較,產生遲滯比較輪出 - VGut,遲滯比較輸出VGUt可控制電流源Is_、Isink之運作。 也就是說,一開始未充電前,電壓Vx為低位準,此時, 致能電流源Is〇urce而禁能電流源Isink,利用電流源Is。^咖對 電谷Ckeypad充電,當電壓Vx到達參考比較電壓,遲滯 比較輸出Vout ώ健準轉為高位準,禁能電絲Is_而 致能電流源Isink,然後將電壓Vx逐漸放電到參考比較電壓 VL,遲滯比較輸出Vout再由高位準轉為低位準,致能電流 7 201028907 源Is〇urce而禁能電流源Isink,利用電流源IsQurce對電容Ckeypad 充電,如此循序往復,而因應不同的電容Ckeypad產生不^ 感測頻率。舉例而言,人體本身大部分為水,相對於空氣 為良導體,當使用者手指碰觸到接觸點CS2,將使電容 Ckeypad變大,充放電的時間拉長,亦即接觸點CS2處的感 ' 測頻率變低。 * 第五圖顯示根據本發明另一具體實施例之整合至顯示 控制器的電容式觸控控制電路5〇〇,其電路結構大致類似 Φ 於第三圖實施例,差異在於增加了緩衝器550。接觸板31〇 通常需要以長連接纜線連接到電容式觸控控制電路3〇〇, 於此實施例中,利用開關S00〜S51之導通與否,將未進 行檢測的多個接觸點,耦接至緩衝器55〇之負端與輸出 端,而將進行感測的接觸點CS2耦接至緩衝器550之正 端,產生訊號屏蔽,改善訊號品質。 第六圖顯示根據本發明具體實施例之整合觸控控制電 路610之顯示控制器600之方塊圖,顯示控制器6〇〇包含 〇 觸控控制電路61〇及脈波寬度調變電路620,觸控控制電 - 路610輕接於脈波寬度調變電路620,觸控控制電路61〇 - 與接觸板630可以利用前面電路實施例實現,觸控控制電 路610經由訊號612感測使用者之觸碰控制,觸控控制電 路610經由訊號614控制接觸板630上複數個發光二極體 (未示出)之亮滅’脈波寬度調變電路620產生脈波寬度 5周變訊號624控制背光板640的運作,脈波寬度調變電路 620接收影像同步訊號626’並根據影像同步訊號626產生 脈波寬度調變訊號624 ’使得脈波寬度調變訊號624波形 201028907 產生相關於影像同步訊號626,舉例而言,脈波寬度調變 訊號624可同步於影像同步訊號626,所謂同步並不限定 於頻率完全相同,舉例而言,脈波寬度調變訊號624與影 像同步訊號626之間產生頻率具有比例關係,而訊號開始 產生的上升緣彼此對齊;脈波寬度調變電路620根據脈波 ' 寬度調變訊號624產生一同步訊號Sync給觸控控制電路 : 610,觸發觸控控制電路610,觸控控制電路610根據同步 訊號Sync控制觸控控制電路610内部之運作,舉例而言, φ 觸控控制電路610根據同步訊號Sync内部主張(assert) 重置(reset)訊號TP—reset (未示出),產生内部控制訊號 以控制第三圖中諸多開關S00〜S51的切換運作,因此, 觸控控制電路610與脈波寬度調變電路620之運作皆可相 關於影像同步訊號626之運作,將訊號雜訊降至最低,影 像同步訊號626可以是水平同步訊號Hsync、垂直同步訊 號Vsync或者輸出水平同步訊號〇Hsync。 脈波寬度調變電路620產生脈波寬度調變訊號624控 ❿ 制背光板64〇的運作,舉例而言,背光板640包含複數個 - 發光二極體,脈波寬度調變電路020,可以利用顯示控制 器600内部的微控制器(microcontroller)實現’例如8051 微控制器,相關於影像同步訊號626之出現,微控制器下 達才曰令利用内部計數器(counter)計數適當計數值,便可 決定脈波寬度調變訊號624之高低位準之寬度,經由顯示 控制器 600 之 ( general purpose input/output,通用輸 出/輸入)腳位輪出脈波寬度調變訊號624,控制背光板640 的運作,或者,背光板64〇包含冷陰極燈管,此部分之說 201028907 明可以參考同申請人於95年2月7日提出的第951〇5533 號專利申請案之内容,在此不予贅述。 f七_示第三®、第六體實施例之相關訊號波 形圖’脈波寬度調變訊號624或者發光二極體控制訊號相 關於影像同步訊號626而產生,脈波寬度調變訊號624產 生同步訊號Sync給觸控控制電路61〇,觸控控制電路61〇 "* 根據同步訊號Sync主張觸控重置訊號TP_reset,電壓Vx 在參考比較電壓VH、VL反覆震盪,產生感測頻率,也就是 0 說,遲坪比較器320之輸出Vout會產生具有感測頻率之方 波,應注意到’圖示中的感測頻率僅為示意波形;而此感 測頻率之方波可提供給顯示控制器内部後端的數位電 路適當處理’或者搭配適當的軟體運作,以決定對應的接 觸點是否被觸碰。偵測感測頻率之方式有多種可能變化, 舉例而言’利用計數器於預定躺内之觸發次數而決定。 第八圖顯示根據本發明另一具體實施例之整合觸控控 制電路810之顯不控制器8〇〇之方塊圖,顯示控制器獅 ⑩ &含觸控㈣電路_及脈波寬度難電路㈣,分別轉 紗外部翻板㈣射歧_,其架構_於第六圖 - 實施例,差異在於觸控控制電路810接收影像同步訊號812 參考運作,相關於影像同步訊號幻2而主張觸控重置訊號 reset ’影像同步訊號812可以是水平同步訊號吻加、 ^同步況號Vsync或者輸出水平同步訊號〇jjSync,觸控 &制電路810於主張重置訊號τρ—郎技時提供同步訊號 給脈波寬度調變電路82〇產生脈波寬度調變訊號 24,將訊號雜訊降至最低。 201028907 第九圖顯示第二圖、第八圖具體實施例之相關訊號波 形圖,觸控控制電路810於主張觸控重置訊號Tp_reset後, 電壓Vx在參考比較電壓VH、Vl反覆震盪,產生感測頻率, 也就疋s兒,遲滞比較器320之輸出v〇ut會產生具有感測頻 率之方波(未示出);觸控控制電路81〇於主張觸控重置訊 - 號TP-reset時提供同步訊號sync,給脈波寬度調變電路820 , 產生脈波寬度調變訊號824或者發光二極體控制訊號。 第十圖顯示根據本發明具體實施例之偵測感測頻率之 ❿ 電路圖,包含除以N之除頻電路1〇2〇以及正反器1〇4〇, 除頻電路1020耦接於正反器1〇4〇。於此實施例中,除頻 電路102G接收來自第三圖之遲滞比較器32()之輸出訊號 V〇ut,爻到觸控重置訊號Tp—reset之重置觸發開始除頻, 經過除頻後,於適當時機,送進一上升緣觸發訊號於正反 器1040之時脈端,而取樣當時的正反器1〇4〇之〇輸入端 之訊號狀態,於正反器1〇4〇之$產生取樣輸出之反相,代 表對應的接觸點疋否被觸磁;舉例而言,除頻電路1〇2〇 Ο 可以為一裱計數器(ring counter),上述所謂適當時機係例 • 舉於一預定期間,除頻電路1〇2〇是否有計數到-預定值, 巾在輸㈣產生高或餘準,即可代域_率之頻率值 是否高於一預定值;而上述預定期間可以由顯示控制器内 (未示=)之時脈產生器(未示出)所產生之時脈數量決 定該預定期間之長短,而決定發出上述上升緣觸發訊號於 正反器1040之時脈端之時機,達到偵測輸出訊號Vout之 頻率之目的。 以液晶平面顯示器為例,内部具有控制電路板,其上 11 201028907 具有控制晶片,例如縮放控制晶片或電視控制晶片,熟知 技斉之人士可以了解控制晶片雜訊非常高,而觸控控制 電路為雜訊敏感的電路,習知技術無法將兩者整合為-。 、·二由以上實&例之揭露,熟知此技藝之人士可實現將電容 摘控控職路整合_放㈣^或電視控制晶片令, ' 達到降低成本與組裝複雜度的目的。 . 。第十一圖顯示根據本發明具體實施例之用於顯示控制 器内之觸碰偵測方法流程圖,此流程開始於步驟丨觸,於 ❹ ッ驟mo,產生相關於影像同步訊號之觸控重置訊號 TP_reset ’影像同步訊號可以是水平同步訊號Hsync、垂直 同步訊號Vsync或者輸出水平同步訊號OHsync,舉例而 吕’將觸控重置訊號TP一reset同步於影像同步訊號,所謂 「同步」並不限定於頻率完全相同,舉例而言,觸控重置 訊號TP_reset與影像同步訊號之間產生頻率具有比例關 係,而訊號開始產生的上升緣彼此對齊,或者,所謂「相 關」可以是直接相關或者間接相關,舉例而言,如以上電 ® 路實施例所揭露,觸控重置訊號TP_reset可以直接同步於 ' 影像同步訊號,或者,由脈波寬度調變訊號同步於影像同 步訊號,再將觸控重置訊號TP_reset同步於脈波寬度調變 汛號,反之亦然;於步驟1120,回應於觸控重置訊號 TP—re s et,充放電一接觸點以產生具有一感測頻率之感測電 麗Vx,於步驟1130,將感測電壓Vx與兩個參考比較電麗 進行遲滯比較以產生遲滯比較輸出;於步驟114〇,根據感 測頻率決定該接觸點是否被觸碰’並輪出控制訊號控制發 光二極體之開關。較佳地,可以利用兩個受控電流源進行 12 201028907 充放電,而遲滯比較輸出控制電流源之致能與否。 本發明揭示一種顯示控制器,包括觸控控制電路以及 脈波寬度調變電路,觸控控制電路藉由主張觸控重置訊號 而偵測接觸點是否被觸碰;脈波寬度調變電路,耦接至觸 墟制電路,用以產生脈波寬度調變訊號,觸控重置訊號 與脈波寬度調變訊號相關於影像同步訊號,例如水平同步 · 喊、垂直同步訊號或輸出水平同步訊號,觸控重置訊號 係同步於影像同步訊號,或者’觸控控制電路接收影像同 ❹ 步鮮,魅—时城給崎X度婦€路,使得脈波 寬度調變電路產生該脈波寬度調變訊號以同步於該同步訊 號0 ❹ 本發明亦揭示-種整合於顯示控制器中之觸控控制電 路包括第f:流源、第二電流源、複數個開關、遲滯比 較器、除頻電路及正反器,複數個開_接於外部複數個 接觸點,遲滯比觀具有第—參考比較電壓與第二參考比 較電壓’經由該些開關將該些接觸點擇一麵接於該遲滯比 f器之輸人端’第—電流_該接於遲滯比 較器之輸人端以產生感職壓,遲滯味n概測電壓與 第參考比較電壓及第二參考比較電壓進行遲滞比較,以 產生遲滯比較輸出,用以控制第—電流源與第二電流源之 =能與否;除頻電路接收遲滞比較輸出並進行除頻以產生 除頻訊號,正反||_於_電路,_產生取樣輸出, j器具有-時脈端,用以接收上升緣觸發訊號,以產生 取樣輸出’代表賴比讀出之解值是否高於—預定值。 本發月亦揭不種應用於顯示控制器内之觸碰债測方 13 201028907 法’包括產生相關於影像同步訊號之觸控重置訊號;回應 於該觸控重置訊號,相應於接觸點以產生具有感測頻率之 感測電壓;以及根據感測頻率決定該接觸點是否被觸碰, 當決定接觸點被觸碰時’產生一控制序列控制一接觸板上 複數個發光二極體是否發亮。 ' 綜上所述,雖然本發明已以較佳實施例揭露如上,然 、 其並非用以限定本發明,熟習此技藝者,在不脫離本發明 之精神和範圍内,當可作各種更動與潤飾,因此本發明之 保護範圍當視後附之申請專利範圍所界定者為準。The present invention further provides a touch detection method for use in a display controller, comprising: generating a reset signal on the side of the image and the money number; ^ a touch reset signal corresponding to the contact point to generate the sensed frequency; : Sensing the voltage, and determining whether the contact is touched according to the sensation_rate. When determining the continuation_bump, the drum-(4)(4)(4)--the plurality of LEDs on the contact plate are illuminated. In order to further understand the features and technical contents of the present invention, please refer to the detailed description of the present invention. However, the attached drawings only provide a reference and _, and the present invention is limited. [Embodiment] The third figure shows the electric valley touch control circuit lion integrated into the display controller according to an embodiment of the present invention. The capacitive touch control circuit is integrated into the display control H, for example, zooming. Control chip (% core) or TV control crystal f-capacitor control circuit · Contains multiple side switch S51 electric / melon source 1s〇urce, ISink' hysteresis comparator (hysteresis 201028907 comparator) 320, capacitive touch control circuit 3 The contact plate 310 is coupled to the remote end. In this embodiment, the contact plate 31 provides six contact points cS〇~CS5, and the contact plate 31 provides a ground signal via the signal 312 to improve the signal quality. The contact plate 310 is provided. The six contact points of CS〇~CS5 are provided, and different equivalent capacitances are generated through the touch position of the user. For example, the capacitive touch control circuit 3 can sequentially turn on the switches s 〇 1, sl ' S21, S3, S4, S5, and sequentially connect the six contact points CS0 to CS5 to the hysteresis comparator 320. The positive end, and the other five contact points are grounded, 进行 the detection of the user's touch position. Assuming that the contact point CS2 is detected, the capacitive touch control circuit 3 turns on the switch S21 and grounds the remaining five contact points, and the equivalent circuit is as shown in the fourth figure. The fourth figure shows an equivalent circuit 400 for detecting the contact point CS2 by using the third embodiment. In this embodiment, the contact point CS2 is coupled to the positive terminal of the hysteresis comparator 320, and the remaining five contact points are Grounding, according to the user's touch position, different capacitance Ckeypad is generated. Preferably, the current source ISQurce is used to charge the capacitor ckeypad to generate a charging voltage Vx. The hysteresis ratio comparator 32 has a reference comparison voltage VH, VL. The hysteresis comparator 320 compares the charging voltage Vx with a reference comparison voltage to generate a hysteresis comparison wheel-VGut, and the hysteresis comparison output VGUt controls the operation of the current sources Is_, Isink. That is to say, before the initial charging, the voltage Vx is at a low level. At this time, the current source Is 〇urce is enabled and the current source Isink is disabled, and the current source Is is utilized. ^Cay charges the electric valley Ckeypad. When the voltage Vx reaches the reference comparison voltage, the hysteresis comparison output Vout ώ 准 turns to the high level, disables the wire Is_ and enables the current source Isink, and then gradually discharges the voltage Vx to the reference comparison. Voltage VL, hysteresis comparison output Vout turns from high level to low level, enables current 7 201028907 source Is〇urce and disables current source Isink, uses current source IsQurce to charge capacitor Ckeypad, so reciprocally, and respond to different capacitance Ckeypad generates no sense frequency. For example, the human body itself is mostly water, which is a good conductor with respect to the air. When the user touches the contact point CS2, the capacitance Ckeypad will become larger, and the charging and discharging time is elongated, that is, at the contact point CS2. The sense 'measurement frequency becomes lower. The fifth figure shows a capacitive touch control circuit 5〇〇 integrated into a display controller according to another embodiment of the present invention, the circuit structure of which is substantially similar to that of the third embodiment, with the difference that the buffer 550 is added. . The contact plate 31A usually needs to be connected to the capacitive touch control circuit 3 by a long connection cable. In this embodiment, the plurality of contact points that are not detected are coupled by the conduction of the switches S00 to S51. Connected to the negative terminal and the output terminal of the buffer 55, and the sensing contact CS2 is coupled to the positive terminal of the buffer 550 to generate signal shielding to improve signal quality. The sixth figure shows a block diagram of a display controller 600 integrated with the touch control circuit 610 according to an embodiment of the present invention. The display controller 6 includes a touch control circuit 61 and a pulse width modulation circuit 620. The touch control circuit 610 is lightly connected to the pulse width modulation circuit 620, and the touch control circuit 61A and the contact plate 630 can be implemented by using the previous circuit embodiment, and the touch control circuit 610 senses the user via the signal 612. The touch control circuit 610 controls the light-emitting diodes (not shown) on the contact plate 630 via the signal 614 to turn on the pulse width modulation circuit 620 to generate a pulse width of 5 weeks. Controlling the operation of the backlight 640, the pulse width modulation circuit 620 receives the image synchronization signal 626' and generates a pulse width modulation signal 624' according to the image synchronization signal 626, so that the pulse width modulation signal 624 waveform 201028907 is related to the image. The sync signal 626, for example, the pulse width modulation signal 624 can be synchronized with the image sync signal 626. The so-called synchronization is not limited to the same frequency, for example, the pulse width modulation signal 6 The frequency is proportional to the frequency of the image sync signal 626, and the rising edges of the signal are aligned with each other; the pulse width modulation circuit 620 generates a sync signal Sync according to the pulse width modulation signal 624 for touch control. The circuit 610: triggers the touch control circuit 610, and the touch control circuit 610 controls the operation of the touch control circuit 610 according to the synchronization signal Sync. For example, the φ touch control circuit 610 is based on the internal assertion of the synchronization signal Sync. The reset signal TP_reset (not shown) generates an internal control signal to control the switching operation of the plurality of switches S00 to S51 in the third figure. Therefore, the touch control circuit 610 and the pulse width modulation circuit 620 The operation can be related to the operation of the image synchronization signal 626 to minimize the signal noise. The image synchronization signal 626 can be a horizontal synchronization signal Hsync, a vertical synchronization signal Vsync or an output horizontal synchronization signal 〇Hsync. The pulse width modulation circuit 620 generates a pulse width modulation signal 624 to control the operation of the backlight 64 ,. For example, the backlight 640 includes a plurality of light-emitting diodes, and the pulse width modulation circuit 020 The microcontroller can be implemented by a microcontroller inside the display controller 600. For example, the 8051 microcontroller is associated with the appearance of the image synchronization signal 626, and the microcontroller issues an internal counter to count the appropriate count value. The width of the pulse width modulation signal 624 can be determined, and the pulse width modulation signal 624 is controlled by the general purpose input/output of the display controller 600 to control the backlight. The operation of the 640, or the backlight board 64 〇 includes a cold cathode lamp, the contents of this section can be referred to the patent application No. 951〇5533 filed on February 7, 1995 with the applicant. Give a brief description. f _ shows the third signal signal of the third embodiment and the sixth body embodiment. The pulse width modulation signal 624 or the LED control signal is generated related to the image synchronization signal 626, and the pulse width modulation signal 624 is generated. The synchronization signal Sync is sent to the touch control circuit 61, and the touch control circuit 61 〇"* according to the synchronization signal Sync, the touch reset signal TP_reset is asserted, and the voltage Vx is repeatedly oscillated at the reference comparison voltages VH, VL to generate a sensing frequency. That is, 0, the output Vout of the late-level comparator 320 will generate a square wave with a sensing frequency, it should be noted that the sensing frequency in the illustration is only a schematic waveform; and the square wave of the sensing frequency can be provided to the display The digital circuit at the back end of the controller is properly processed 'or with appropriate software operation to determine if the corresponding contact point is touched. There are many possible variations in the manner in which the sensing frequency is detected, for example, by using the number of triggers of the counter within a predetermined lie. The eighth figure shows a block diagram of the display controller 8 of the integrated touch control circuit 810 according to another embodiment of the present invention. The display controller 10 & includes a touch (four) circuit _ and a pulse width difficult circuit (4) respectively, the outer flap of the yarn is twisted (4), and the structure is _ in the sixth figure - the difference is that the touch control circuit 810 receives the image sync signal 812 reference operation, and the touch is related to the image sync signal illusion 2 The reset signal reset 812 may be a horizontal sync signal plus, a sync status Vsync or an output horizontal sync signal 〇jjSync, and the touch & circuit 810 provides a sync signal when asserting the reset signal τρ-lang technology The pulse width modulation circuit 82 generates a pulse width modulation signal 24 to minimize signal noise. 201028907 The ninth diagram shows the related signal waveform diagrams of the second embodiment and the eighth embodiment. After the touch control circuit 810 asserts the touch reset signal Tp_reset, the voltage Vx is repeatedly oscillated at the reference comparison voltages VH and V1. The frequency is measured, that is, the output of the hysteresis comparator 320 v〇ut will generate a square wave with a sensing frequency (not shown); the touch control circuit 81 is in favor of the touch reset signal-number TP The -reset provides a sync signal sync to the pulse width modulation circuit 820 to generate a pulse width modulation signal 824 or a light emitting diode control signal. FIG. 10 is a circuit diagram showing the detection of a sensing frequency according to an embodiment of the present invention, including a frequency dividing circuit 1〇2〇 divided by N and a flip-flop 1〇4〇, and the frequency dividing circuit 1020 is coupled to the front and back. 1〇4〇. In this embodiment, the frequency dividing circuit 102G receives the output signal V〇ut from the hysteresis comparator 32() of the third figure, and the reset trigger of the touch reset signal Tp_reset starts the frequency division. After the frequency, at a suitable timing, a rising edge trigger signal is sent to the clock terminal of the flip-flop 1040, and the signal state of the input terminal of the current flip-flop 1〇4〇 is sampled, and the flip-flop is 1〇4. 〇 $ 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生 产生For a predetermined period of time, whether the frequency dividing circuit 1〇2〇 counts to a predetermined value, and the towel generates a high or a margin at the input (4), whether the frequency value of the domain _ rate is higher than a predetermined value; During the period, the number of clocks generated by the clock generator (not shown) in the display controller (not shown) may determine the length of the predetermined period, and the decision to issue the rising edge trigger signal to the flip-flop 1040 is determined. At the timing of the pulse end, the purpose of detecting the frequency of the output signal Vout is achieved. Taking a liquid crystal flat panel display as an example, there is a control circuit board inside, and 11 201028907 has a control chip, such as a zoom control chip or a TV control chip. Those skilled in the art can understand that the control chip noise is very high, and the touch control circuit is miscellaneous. For sensitive circuits, conventional techniques cannot integrate the two into -. According to the above disclosure, the person familiar with the art can realize the integration of the capacitor control and control system, or the TV control chip, to achieve the purpose of reducing cost and assembly complexity. . . . FIG. 11 is a flow chart showing a method for detecting a touch in a display controller according to an embodiment of the present invention. The process begins with a step of touching, and at step mo, generating a touch related to the image synchronization signal. The reset signal TP_reset 'image sync signal can be horizontal sync signal Hsync, vertical sync signal Vsync or output horizontal sync signal OHsync. For example, Lu's touch reset signal TP-reset is synchronized with the image sync signal, so-called "synchronization" It is not limited to the same frequency. For example, the touch reset signal TP_reset has a proportional relationship with the frequency generated by the image sync signal, and the rising edges of the signal start to be aligned with each other, or the so-called "related" may be directly related or Indirectly related, for example, as disclosed in the above embodiment of the electric circuit, the touch reset signal TP_reset can be directly synchronized with the 'image sync signal, or the pulse width modulation signal is synchronized with the image sync signal, and then touched The control reset signal TP_reset is synchronized to the pulse width modulation apostrophe, and vice versa; in step 1120, in response to Controlling the reset signal TP_re s et, charging and discharging a contact point to generate a sensing sensation Vx having a sensing frequency, and in step 1130, comparing the sensing voltage Vx with two reference comparisons to generate a hysteresis The hysteresis comparison output; in step 114, determining whether the contact point is touched according to the sensing frequency and rotating the control signal to control the switch of the LED. Preferably, two controlled current sources can be used to perform 12 201028907 charge and discharge, and the hysteresis comparison output controls whether the current source is enabled or not. The invention discloses a display controller, comprising a touch control circuit and a pulse width modulation circuit. The touch control circuit detects whether the contact point is touched by claiming the touch reset signal; The circuit is coupled to the touch-screen circuit for generating a pulse width modulation signal, and the touch reset signal and the pulse width modulation signal are related to the image synchronization signal, such as horizontal synchronization, shouting, vertical synchronization signal or output level. Synchronous signal, the touch reset signal is synchronized with the image sync signal, or the 'touch control circuit receives the image with the same step, and the charm-time city gives the K-channel, so that the pulse width modulation circuit generates the The pulse width modulation signal is synchronized with the synchronization signal 0. The invention also discloses that the touch control circuit integrated in the display controller includes a f: stream source, a second current source, a plurality of switches, and a hysteresis comparator The frequency dividing circuit and the flip-flop, the plurality of open-connected to the external plurality of contact points, the hysteresis ratio has a first reference voltage and a second reference comparison voltage 'the contact points via the switches Connected to the input end of the hysteresis ratio device, the current-current is connected to the input end of the hysteresis comparator to generate the sensed voltage, and the hysteresis taste is compared with the reference voltage and the second reference. The voltage is subjected to hysteresis comparison to generate a hysteresis comparison output for controlling whether the first current source and the second current source are capable or not; the frequency dividing circuit receives the hysteresis comparison output and performs frequency division to generate a de-frequency signal, positive and negative ||_In the _ circuit, _ produces a sampled output, the j-device has a -clock end for receiving the rising edge trigger signal to generate a sampled output 'representing whether the solution value of the ratio read is higher than - a predetermined value. This month's month also reveals that the touch-to-debt tester used in the display controller 13 201028907 method includes generating a touch reset signal related to the image sync signal; in response to the touch reset signal, corresponding to the touch point To generate a sensing voltage having a sensing frequency; and determining whether the contact point is touched according to the sensing frequency, and when determining that the contact point is touched, 'generating a control sequence to control whether a plurality of light emitting diodes on a contact plate are Shine. In the above, the present invention has been disclosed in the above preferred embodiments. However, it is not intended to limit the invention, and various modifications may be made without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.
W 【圖式簡單說明】 本案得藉*下列®式及綱,俾得更深人之了解: 第一圖顯示習知技術的小型顯示電路。 第二圖顯示習知技術的小型觸控顯示電路。 第三圖顯錄據本發料體實_之整合至齡控制器的 電容式觸控控制電路。W [Simple description of the diagram] This case can be borrowed from the following formulas and outlines to gain a deeper understanding: The first figure shows a small display circuit of the prior art. The second figure shows a small touch display circuit of the prior art. The third figure shows the capacitive touch control circuit integrated into the age controller according to the present invention.
第四圖顯示_第三圖實施騎行接觸點侧之等效電 具體實施例之整合至顯示控制 實施例之整合觸控控制電路之 第五圖顯示根據本發明另— 器的電容式觸控控制電路。 第六圖顯示根據本發明具體 顯示控制器之方塊圖。 14 201028907 路之顯示控制器之方壤圖。 第九圖顯示第三圖、第人圖具體實施例之相關訊號波形圖。 第十圖顯示根據本發明具體實施例之偵測感測頻率之電路 圖。 第十一圖顯示根據本發明具體實施例之觸碰偵測方法流裎 圖。 【主要元件符號說明】The fourth figure shows that the third figure is equivalent to the equivalent of the implementation of the riding contact point. The fifth figure of the integrated touch control circuit integrated into the display control embodiment shows the capacitive touch control according to the present invention. Circuit. Figure 6 is a block diagram showing a specific display controller in accordance with the present invention. 14 201028907 The road map of the display controller of the road. The ninth figure shows the waveform diagram of the relevant signals in the third embodiment and the first embodiment. The tenth diagram shows a circuit diagram for detecting a sensing frequency in accordance with an embodiment of the present invention. Fig. 11 is a flow chart showing a touch detection method according to an embodiment of the present invention. [Main component symbol description]
本案圖式中所包含之各元件列示如下·· 10小型顯示電路 D1〜D7發光二極體 R1〜R7電阻 12連接器 20小型觸控顯示電路 22接觸板 24觸控控制器 26訊號 CS0〜CS5接觸點 31〇接觸板 300、400、500電容式觸控控制電路 320遲滯比較器 Is〇urce、Isink電流源 S00、S(U、S10、sil、S20、S21 開關 S30、S3卜 S40、S41、S50、S51 開關 550緩衝器 600、800顯示控制器 620、820脈波寬度調變電路 640、840背光板 624、824脈波寬度調變訊號 1020除頻電路 610、810觸控控制電路 630、830接觸板 312、612、614 訊號 626、812影像同步訊號 1040正反器The components included in the drawings are as follows: 10 small display circuits D1 to D7 light-emitting diodes R1 to R7 resistors 12 connectors 20 small touch display circuits 22 contact pads 24 touch controllers 26 signals CS0~ CS5 contact point 31〇 contact plate 300, 400, 500 capacitive touch control circuit 320 hysteresis comparator Is〇urce, Isink current source S00, S (U, S10, sil, S20, S21 switch S30, S3, S40, S41 , S50, S51 switch 550 buffer 600, 800 display controller 620, 820 pulse width modulation circuit 640, 840 backlight 624, 824 pulse width modulation signal 1020 frequency dividing circuit 610, 810 touch control circuit 630 , 830 contact board 312, 612, 614 signal 626, 812 image sync signal 1040 flip-flop