[go: up one dir, main page]

TW201417499A - Touch switch and operation method thereof - Google Patents

Touch switch and operation method thereof Download PDF

Info

Publication number
TW201417499A
TW201417499A TW101138951A TW101138951A TW201417499A TW 201417499 A TW201417499 A TW 201417499A TW 101138951 A TW101138951 A TW 101138951A TW 101138951 A TW101138951 A TW 101138951A TW 201417499 A TW201417499 A TW 201417499A
Authority
TW
Taiwan
Prior art keywords
infrared
control unit
touch switch
unit
touch
Prior art date
Application number
TW101138951A
Other languages
Chinese (zh)
Other versions
TWI505639B (en
Inventor
Wen-Chi Wu
Chih-Hua Lin
Original Assignee
Young Lighting Technology Inc
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 Young Lighting Technology Inc filed Critical Young Lighting Technology Inc
Priority to TW101138951A priority Critical patent/TWI505639B/en
Publication of TW201417499A publication Critical patent/TW201417499A/en
Application granted granted Critical
Publication of TWI505639B publication Critical patent/TWI505639B/en

Links

Landscapes

  • Electronic Switches (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

A touch switch and an operation method thereof are provided. The touch switch includes an infrared detection unit, a power supply unit, and a control unit. The infrared detection unit generates a detection signal according to a detection result. The power supply unit provides an operation voltage. The control unit is respectively coupled to the infrared detection unit and the power supply unit. The control unit provides the operation voltage to the infrared detection unit in a first predetermined duration, and stops providing the operation voltage to the infrared detection unit in a second predetermined duration. The control unit determines whether a touch action occurs according to the detection signal. The first predetermined duration and the second predetermined duration are formed a detection period.

Description

觸碰開關及其運作方法 Touch switch and its operation method

本發明是有關於一種開關及其運作方法,且特別是有關於一種觸碰開關及其運作方法。 The present invention relates to a switch and a method of operating the same, and more particularly to a touch switch and method of operation thereof.

在電子裝置中,通常是以機械開關或是電容式觸碰作為開關。以機械式按鍵開關而言,機械式按鍵開關雖具有不耗電的優點,但是長期按壓機械式按鍵開關會造成使用者的疲勞,以及機械式按鍵開關的損耗。以電容式觸碰開關而言,雖然使用者在操作上較為省力,但是以電容式觸碰來偵測觸碰行為時,由於電容式觸碰系統需要時間作穩定電場、偵測與判斷,因而需要較高的電力進行偵測,因此增加電子裝置的耗電量。另外,由於電容式觸碰開關需較高靈敏度才能精確偵測觸碰位置,以精確控制電子裝置。 In an electronic device, a mechanical switch or a capacitive touch is usually used as a switch. In the case of a mechanical push button switch, the mechanical push button switch has the advantage of not consuming power, but long-term pressing of the mechanical push button switch causes user fatigue and loss of the mechanical push button switch. In the case of a capacitive touch switch, although the user is less labor-intensive, when the capacitive touch is used to detect the touch behavior, since the capacitive touch system requires time to stabilize the electric field, detect and judge, Higher power is required for detection, thus increasing the power consumption of the electronic device. In addition, since the capacitive touch switch requires higher sensitivity to accurately detect the touch position, the electronic device can be precisely controlled.

中華民國公告專利編號TW 484746揭露一種手握式電器用品之省電開關控制結構,當使用電子產品時,手接近其握持部上的感測器而傳送一啟動訊號至切換開關,使電池可供應控制電路所需之電力,而令電子產品可作動,直到手離開電子產品。 The Republic of China Announcement Patent No. TW 484746 discloses a power-saving switch control structure for a hand-held electrical appliance. When an electronic product is used, a hand approaches a sensor on the grip portion thereof to transmit a start signal to the switch, so that the battery can be The power required to control the circuit is supplied, so that the electronic product can be activated until the hand leaves the electronic product.

中華民國公告專利編號TW M416011揭露一種嵌入式燈具,包括一主體、一發光元件以及一電氣迴路部,電氣迴路部包括一選擇元件、一電力供應部以及一控制部件,透過電氣迴路部控制並驅動發光元件的開啟或關閉。 The Republic of China Announcement Patent No. TW M416011 discloses a recessed light fixture comprising a main body, a light-emitting element and an electrical circuit portion, the electrical circuit portion including a selection component, a power supply portion and a control component, controlled and driven through the electrical circuit portion The light-emitting element is turned on or off.

中國公開專利編號CN101425416揭露一種具備非接觸式光開關的電梯按鍵,其在按鍵的內壁面上分別設置發光二極體及受光二極體,根據檢測照射在該二極體間的紅外線光是否被遮斷以切換按鍵。 Chinese Laid-Open Patent No. CN101425416 discloses an elevator button with a non-contact optical switch, which is provided with a light-emitting diode and a light-receiving diode on the inner wall surface of the button, and according to whether the infrared light between the two electrodes is detected according to the detection Interrupt to switch buttons.

中華民國公告專利編號TW M374108揭露一種具有開關單元之條碼讀取器,藉由開關單元之不同狀態以辨別條碼讀取器與座體是否相接觸,進而自動轉換條碼讀取器於自動掃瞄或手動掃瞄狀態。 The Republic of China Announcement Patent No. TW M374108 discloses a bar code reader having a switch unit that automatically switches the bar code reader to an automatic scan by distinguishing the different states of the switch unit to distinguish whether the bar code reader is in contact with the base. Manual scan status.

本發明提出一種觸碰開關及其運作方法,其透過光學式的紅外線偵測方式來偵測是否發生觸碰行為,可以使得用於偵測觸碰行為的耗電量較低,進而降低成本。並且,透過調整對於紅外線偵測單元的操作電壓的提供時間,所述觸碰開關可以達到更省電的效果。 The invention provides a touch switch and a method for operating the same, which can detect the occurrence of a touch behavior through an optical infrared detection method, so that the power consumption for detecting the touch behavior is low, thereby reducing the cost. Moreover, by adjusting the supply time of the operating voltage to the infrared detecting unit, the touch switch can achieve a more power saving effect.

本發明的其他目的和優點可以從本發明所揭露的技術特徵中得到進一步的了解。 Other objects and advantages of the present invention will become apparent from the technical features disclosed herein.

為達上述之一或部份或全部目的或是其他目的,本發明之一實施例提供一種觸碰開關,包括紅外線偵測單元、電源供應單元以及控制單元。紅外線偵測單元依據偵測結果產生偵測信號。電源供應單元用以提供操作電壓。控制單元分別與紅外線偵測單元及電源供應單元耦接,用以在第一預設期間內提供操作電壓至紅外線偵測單元,在第二預設期間內停止提供操作電壓至紅外線偵測單元,並且依 據偵測信號判斷觸碰行為是否發生,其中第一預設期間與第二預設期間構成偵測週期。 In order to achieve one or a part or all of the above or other purposes, an embodiment of the present invention provides a touch switch including an infrared detecting unit, a power supply unit, and a control unit. The infrared detecting unit generates a detection signal according to the detection result. The power supply unit is used to provide an operating voltage. The control unit is coupled to the infrared detecting unit and the power supply unit to provide an operating voltage to the infrared detecting unit during the first predetermined period, and to stop providing the operating voltage to the infrared detecting unit during the second predetermined period. And according to The detection signal determines whether the touch behavior occurs, wherein the first preset period and the second preset period constitute a detection period.

為達上述之一或部份或全部目的或是其他目的,本發明之一實施例亦提供一種觸碰開關的運作方法,適用於包括紅外線偵測單元、電源供應單元以及控制單元的觸碰開關。此方法包括下列步驟:在第一預設期間,控制單元將電源供應單元提供的操作電壓提供至紅外線偵測單元,紅外線偵測單元依據偵測結果產生偵測信號,控制單元依據偵測信號判斷觸碰行為是否發生。在第二預設期間,控制單元停止提供操作電壓至紅外線偵測單元,其中第一預設期間與第二預設期間構成偵測週期。 One embodiment of the present invention also provides a method for operating a touch switch, which is applicable to a touch switch including an infrared detecting unit, a power supply unit, and a control unit. . The method includes the following steps: during the first preset period, the control unit provides the operating voltage provided by the power supply unit to the infrared detecting unit, and the infrared detecting unit generates the detecting signal according to the detection result, and the control unit determines according to the detecting signal. Whether the touch behavior occurred. During the second preset period, the control unit stops providing the operating voltage to the infrared detecting unit, wherein the first preset period and the second preset period constitute a detecting period.

基於上述,本發明實施例的觸碰開關及其運作方法至少具有下列優點:利用紅外線偵測單元對於紅外線信號的接收與否來判斷觸碰行為是否發生。並且,在第一預設期間內提供操作電壓至紅外線偵測單元,以及在第二預設期間內停止提供操作電壓至紅外線偵測單元,且第一預設期間短於第二預設期間,使得觸碰開關更為省電。另外,觸碰開關的省電幅度正比於停止提供操作電壓至紅外線偵測單元的時間(亦即第二預設期間)與提供操作電壓至紅外線偵測單元的時間(亦即第一預設期間)的比例。另外透過控制單元可進入休眠模式或待機模式,以進一步降低偵測觸碰行為的耗電量。 Based on the above, the touch switch and the method for operating the same according to the embodiments of the present invention have at least the following advantages: determining whether a touch behavior occurs by using an infrared detecting unit for receiving or not an infrared signal. And providing an operating voltage to the infrared detecting unit during the first preset period, and stopping providing the operating voltage to the infrared detecting unit during the second predetermined period, and the first preset period is shorter than the second preset period, Make the touch switch more power efficient. In addition, the power saving amplitude of the touch switch is proportional to the time when the operating voltage is stopped to the infrared detecting unit (ie, the second preset period) and the time when the operating voltage is supplied to the infrared detecting unit (ie, the first preset period) )proportion. In addition, the sleep mode or standby mode can be entered through the control unit to further reduce the power consumption of detecting touch behavior.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉多個實施例,並配合所附圖式,作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之多個實施例的詳細說明中,將可清楚的呈現。以下實施例中所提到的方向用語,例如「上」、「下」、「前」、「後」、「左」、「右」等,僅是參考附加圖式的方向。因此,使用的方向用語是用來說明,而非用來限制本發明。 The foregoing and other objects, features, and advantages of the invention will be apparent from the Detailed Description The directional terms mentioned in the following embodiments, such as "upper", "lower", "front", "back", "left", "right", etc., are only directions referring to the additional schema. Therefore, the directional terminology used is for the purpose of illustration and not limitation.

圖1為依據本發明一實施例的觸碰開關的示意圖。請參照圖1,在本實施例中,觸碰開關100包括紅外線偵測單元110、電源供應單元120以及控制單元130。紅外線偵測單元110用以根據紅外線偵測結果產生偵測信號SDT,而得知紅外線偵測單元110是否偵測到紅外線信號,進而提供控制單元130判斷使用者是否對觸控開關100所控制的裝置進行觸碰。電源供應單元120用於提供紅外線偵測單元110及控制單元130運作所需的操作電壓VP,可包括電池或是轉換交流電源(例如市電)所需的元件(例如變壓器、電容及二極體)。控制單元130則耦接紅外線偵測單元110以及電源供應單元120。控制單元130可以是微控制單元(Micro Control Unit,MCU)、中央處理器(Central Processing Unit,CPU)或是其他可程式化之微處理器(Microprocessor)。 1 is a schematic diagram of a touch switch in accordance with an embodiment of the present invention. Referring to FIG. 1 , in the embodiment, the touch switch 100 includes an infrared detecting unit 110 , a power supply unit 120 , and a control unit 130 . The infrared detecting unit 110 is configured to generate the detecting signal SDT according to the infrared detecting result, and know whether the infrared detecting unit 110 detects the infrared signal, thereby providing the control unit 130 to determine whether the user controls the touch switch 100. The device makes a touch. The power supply unit 120 is configured to provide an operating voltage VP required for the operation of the infrared detecting unit 110 and the control unit 130, and may include a battery or a component required for converting an alternating current power source (for example, a commercial power source) (for example, a transformer, a capacitor, and a diode). . The control unit 130 is coupled to the infrared detecting unit 110 and the power supply unit 120. The control unit 130 can be a Micro Control Unit (MCU), a Central Processing Unit (CPU), or other programmable microprocessor (Microprocessor).

在本實施例中,控制單元130根據紅外線偵測單元110之紅外線偵測結果產生的偵測信號SDT以決定是否將電源供應單元120所提供之操作電壓VP提供至紅外線偵測 單元110,進而控制紅外線偵測單元110的運作。進一步來說,控制單元130在第一預設期間內先提供操作電壓VP至紅外線偵測單元110,並且在第二預設期間內停止提供操作電壓VP至紅外線偵測單元110。第一預設期間為紅外線偵測單元110運作期間,且此第一預設期間包含紅外線的發射以及偵測,第二預設期間為紅外線偵測單元110停止運作的期間。第二預設期間鄰接於第一預設期間,其餘則以此類推。因此,第一預設期間與第二預設期間構成紅外線偵測單元110的一個偵測週期。 In this embodiment, the control unit 130 determines whether to provide the operating voltage VP provided by the power supply unit 120 to the infrared detection according to the detection signal SDT generated by the infrared detection result of the infrared detecting unit 110. The unit 110, in turn, controls the operation of the infrared detecting unit 110. Further, the control unit 130 first supplies the operating voltage VP to the infrared detecting unit 110 during the first preset period, and stops providing the operating voltage VP to the infrared detecting unit 110 during the second predetermined period. The first preset period is during the operation of the infrared detecting unit 110, and the first preset period includes the emission and detection of infrared rays, and the second preset period is a period during which the infrared detecting unit 110 stops operating. The second preset period is adjacent to the first preset period, and the rest is deduced by analogy. Therefore, the first preset period and the second preset period constitute one detection period of the infrared detecting unit 110.

由於紅外線偵測單元110具有啟動及偵測速度快的特性,因此紅外線偵測單元110偵測觸碰行為的所需時間較短,相較於習知的電容式觸碰開關需要較長的時間作電場穩定與偵測,紅外線觸控開關100可達到快速控制被控制裝置的效果。並且,在一個偵測週期中,紅外線偵測單元110運作的期間(即第一預設期間)會短於紅外線偵測單元110停止運作的期間(即第二預設期間)。由於控制單元130僅在第一預設期間提供操作電壓VP至紅外線偵測單元110,而在第二預設期間控制單元130則停止供應操作電壓VP給紅外線偵測單元110,透過第一預設期間(電力消耗時間)短於第二預設期間(無電力消耗)的設計,達到降低紅外線觸控開關100的電力消耗。 Since the infrared detecting unit 110 has the characteristics of fast startup and detection speed, the infrared detecting unit 110 has a shorter time required to detect the touch behavior, and requires a longer time than the conventional capacitive touch switch. For electric field stabilization and detection, the infrared touch switch 100 can achieve the effect of quickly controlling the controlled device. Moreover, during a detection period, the period during which the infrared detecting unit 110 operates (ie, the first preset period) may be shorter than the period during which the infrared detecting unit 110 stops operating (ie, the second preset period). Since the control unit 130 provides the operating voltage VP to the infrared detecting unit 110 only during the first preset period, the control unit 130 stops supplying the operating voltage VP to the infrared detecting unit 110 during the second preset period, through the first preset. The design of the period (power consumption time) is shorter than the second preset period (no power consumption), and the power consumption of the infrared touch switch 100 is reduced.

舉例來說,假設紅外線偵測單元110的啟始及偵測一次所需的時間為1毫秒(ms),並假設紅外線偵測單元110每100毫秒(ms)至少偵測一次,依此可定出紅外線偵測 單元110的一個偵測週期為100毫秒。當紅外線偵測單元110進行一次偵測後停止運作時,可節省未運作的99毫秒的電力消耗(亦即節省99%的電力消耗)。或者,假設當紅外線偵測單元110進行偵測達5毫秒後停止運作時,則可節省未運作的95毫秒的電力消耗(亦即節省95%的電力消耗)。其中,上述第一預設期間以及第二預設期間僅用以舉例說明,此可以由使用者自行設定,或是依據本領域通常知識者的設計需求而定。進一步來說,當第一預設期間遠遠小於第二預設期間時,可降低電力消耗。換句話說,觸碰開關的省電幅度正比於停止提供操作電壓至紅外線偵測單元的時間(亦即第二預設期間)與提供操作電壓至紅外線偵測單元的時間(亦即第一預設期間)的比例。 For example, it is assumed that the time required for the start and detection of the infrared detecting unit 110 is 1 millisecond (ms), and it is assumed that the infrared detecting unit 110 detects at least once every 100 milliseconds (ms). Infrared detection One detection period of unit 110 is 100 milliseconds. When the infrared detecting unit 110 stops operating after one detection, it can save 99 milliseconds of power consumption (that is, save 99% of power consumption). Alternatively, it is assumed that when the infrared detecting unit 110 stops detecting for 5 milliseconds, the unoperated 95 milliseconds of power consumption (i.e., 95% of power consumption) can be saved. The first preset period and the second preset period are only used for illustration, which may be set by the user or according to the design requirements of those skilled in the art. Further, when the first preset period is much smaller than the second preset period, power consumption can be reduced. In other words, the power saving amplitude of the touch switch is proportional to the time when the operating voltage is stopped to the infrared detecting unit (ie, the second preset period) and the time when the operating voltage is supplied to the infrared detecting unit (ie, the first pre-predation) Set the ratio of the period).

然而,習知電容式觸碰開關需要較長的時間作電場穩定、偵測與判斷,若偵測一次後即停止運作,需要較長的時間再次作電場穩定、偵測與判斷,因此電容式觸碰開關一般並不會停止運作而節省電力的消耗。若假設電容式觸碰開關啟始及偵測一次所需的時間為30毫秒(ms),則在相同的100毫秒的偵測週期時,電容式觸碰開關進行一次偵測後停止運作時,僅能節省未運作的70毫秒的電力消耗(亦即僅能節省70%的電力消耗),但在下一次的偵測時,需要較長的時間重新電場穩定與啟始,因而無法達到快速控制被控制裝置的效果。 However, the conventional capacitive touch switch requires a long time for the electric field to stabilize, detect and judge. If the operation is stopped once it is detected, it takes a long time to stabilize the electric field, detect and judge again, so the capacitive type The touch switch generally does not stop operating and saves power consumption. If it is assumed that the time required for the capacitive touch switch to start and detect once is 30 milliseconds (ms), then during the same 100 millisecond detection period, when the capacitive touch switch performs a detection and then stops operating, It can only save 70 milliseconds of power consumption that is not operating (that is, it can only save 70% of power consumption), but in the next detection, it takes a long time to re-establish the electric field stability and start, so that it cannot achieve fast control. The effect of the control device.

此外,在其他實施例中,控制單元130在第二預設期間內可以停止運作,以達到更省電的效果。換言之,在第 二預設期間內,控制單元130可進入休眠模式或待機模式,以自動停止提供操作電壓VP至紅外線偵測單元110,藉此進一步節省觸碰開關100的耗電量。 In addition, in other embodiments, the control unit 130 may stop operating during the second preset period to achieve a more power saving effect. In other words, in the first During the second preset period, the control unit 130 may enter the sleep mode or the standby mode to automatically stop providing the operating voltage VP to the infrared detecting unit 110, thereby further saving the power consumption of the touch switch 100.

由於紅外線偵測單元110會依據觸碰行為的偵測結果產生偵測信號SDT,因此控制單元130可以依據偵測信號SDT判斷對應觸碰開關100的觸碰行為是否發生。在判斷對應觸碰開關100的觸碰行為發生之後,控制單元130可對應觸碰開關100所對應的功能進行操控或操作,藉此可實現開關或按鍵的操作功能。在本發明的諸實施例中,觸碰開關100可應用於自動門、音響、燈具、影像播放器、電視、手機、個人電腦、筆記型電腦、平板電腦或是無線控制器等。 Since the infrared detecting unit 110 generates the detecting signal SDT according to the detection result of the touch behavior, the control unit 130 can determine whether the touch behavior of the corresponding touch switch 100 occurs according to the detecting signal SDT. After determining that the touch action of the corresponding touch switch 100 occurs, the control unit 130 can perform manipulation or operation corresponding to the function corresponding to the touch switch 100, thereby realizing the operation function of the switch or the button. In embodiments of the present invention, the touch switch 100 can be applied to an automatic door, an audio, a light fixture, a video player, a television, a mobile phone, a personal computer, a notebook computer, a tablet computer, or a wireless controller.

進一步舉例來說,在一實施例中,當觸碰開關100應用於一可攜式裝置中,例如手電筒,由於手電筒長時間處於待機休眠狀態,只有某些情況下,使用者才會按壓觸碰開關100來開啟手電筒的照明,因此,採用本實施例的觸碰開關100的手電筒在第二預設期間為待機休眠狀態,並在第一預設期間,紅外線偵測單元110接受控制單元130提供的操作電壓VP以快速啟始及偵測是否有觸碰行為,若無觸碰行為,則紅外線偵測單元110及控制單元130則再次進入無電力消耗的第二預設期間的待機休眠狀態,直到下一次偵測週期開始,紅外線偵測單元110在第一預設期間才會再次快速啟始及偵測是否有觸碰行為。藉此,使用此觸碰開關100可達到快速啟始及偵測,以及節省電力 消耗的效果。 For example, in an embodiment, when the touch switch 100 is applied to a portable device, such as a flashlight, since the flashlight is in a standby sleep state for a long time, only in some cases, the user presses and touches the touch. The switch 100 is used to turn on the illumination of the flashlight. Therefore, the flashlight of the touch switch 100 of the embodiment is in a standby sleep state during the second preset period, and the infrared detecting unit 110 is received by the control unit 130 during the first preset period. The operating voltage VP starts and detects whether there is a touch behavior. If there is no touch behavior, the infrared detecting unit 110 and the control unit 130 enter the standby sleep state of the second preset period without power consumption again. Until the next detection cycle begins, the infrared detection unit 110 will quickly start and detect whether there is a touch behavior during the first preset period. Thereby, using the touch switch 100 can achieve fast start and detection, and save power The effect of consumption.

圖2A為圖1依據本發明一實施例的觸碰開關的觸碰偵測示意圖。請參照圖2A,在本實施例中,觸碰開關100’的紅外線偵測單元110’包括紅外線發射單元112以及紅外線接收單元114。控制單元130分別與紅外線發射單元112及紅外線接收單元114耦接,紅外線發射單元112在接收到控制單元130所提供的操作電壓VP並在第一預設期間內持續發射紅外線信號IR。紅外線接收單元114則在接收到控制單元130所提供的操作電壓VP時依據在第一預設期間內是否接收到由紅外線發射單元112所發射的紅外線信號IR以產生偵測信號SDT,控制單元130再根據偵測信號SDT判斷觸碰行為是否發生,以決定是否繼續由電源供應單元120提供操作電壓VP至紅外線偵測單元110’。 2A is a schematic diagram of touch detection of a touch switch according to an embodiment of the invention. Referring to FIG. 2A, in the present embodiment, the infrared detecting unit 110' of the touch switch 100' includes an infrared emitting unit 112 and an infrared receiving unit 114. The control unit 130 is coupled to the infrared ray emitting unit 112 and the infrared ray receiving unit 114, respectively. The infrared ray emitting unit 112 receives the operating voltage VP provided by the control unit 130 and continuously emits the infrared signal IR during the first predetermined period. The infrared receiving unit 114 receives the operating voltage VP provided by the control unit 130 according to whether the infrared signal IR emitted by the infrared emitting unit 112 is received during the first preset period to generate the detecting signal SDT, and the control unit 130 generates the detecting signal SDT. Then, it is determined whether the touch behavior occurs according to the detection signal SDT to determine whether to continue to provide the operating voltage VP from the power supply unit 120 to the infrared detecting unit 110'.

在本實施例中,紅外線發射單元112是直接朝向紅外線接收單元114發射紅外線信號IR。當觸碰開關100’被按壓(或觸碰)時,手指210會阻擋(或遮斷)紅外線信號IR的發射路徑,以致於紅外線接收單元114無法接收到紅外線信號IR,控制單元130可依據偵測信號SDT判斷手指210對於觸碰開關100’的觸碰行為已發生。當觸碰開關100’未被按壓(或觸碰)時,紅外線信號IR的發射路徑不會被阻擋(或遮斷),紅外線接收單元114則可接收紅外線信號IR,此時控制單元130可依據偵測信號SDT判斷觸碰行為未發生。 In the present embodiment, the infrared ray emitting unit 112 directly emits the infrared ray signal IR toward the infrared ray receiving unit 114. When the touch switch 100' is pressed (or touched), the finger 210 blocks (or blocks) the transmission path of the infrared signal IR, so that the infrared receiving unit 114 cannot receive the infrared signal IR, and the control unit 130 can detect The measurement signal SDT determines that the touch behavior of the finger 210 with respect to the touch switch 100' has occurred. When the touch switch 100' is not pressed (or touched), the emission path of the infrared signal IR is not blocked (or blocked), and the infrared receiving unit 114 can receive the infrared signal IR, and the control unit 130 can The detection signal SDT determines that the touch behavior has not occurred.

圖2B為依據本發明另一實施例的觸碰開關的觸碰偵 測示意圖。請參照圖2A與圖2B,圖2B的實施例大致相同於圖2A的實施例,因此以相同標號表示,其不同之處為紅外線發射單元112發射的紅外線信號IR是在紅外線發射單元112與紅外線接收單元114的直接路徑D相差一角度θ的發射路徑,其中角度θ的設定概念為紅外線發射單元112會以與直接路徑D夾角度θ的方向發射紅外線信號IR,當手指210按壓(或觸碰)觸碰開關100’時,紅外線信號IR透過手指210反射而傳遞至紅外線接收單元114。 2B is a touch detection of a touch switch according to another embodiment of the present invention. Measure the diagram. Referring to FIG. 2A and FIG. 2B, the embodiment of FIG. 2B is substantially the same as the embodiment of FIG. 2A, and therefore is denoted by the same reference numeral, except that the infrared signal IR emitted by the infrared emitting unit 112 is in the infrared emitting unit 112 and the infrared ray. The direct path D of the receiving unit 114 is different from the emission path of the angle θ, wherein the setting concept of the angle θ is that the infrared emitting unit 112 emits the infrared signal IR in the direction of the angle θ with the direct path D, when the finger 210 is pressed (or touched) When the switch 100' is touched, the infrared signal IR is reflected by the finger 210 and transmitted to the infrared ray receiving unit 114.

當觸碰開關100’被按壓(或觸碰)時,紅外線發射單元112發射的紅外線信號IR透過手指210反射,並由紅外線接收單元114接收紅外線信號IR,控制單元130可依據偵測信號SDT判斷手指210對於觸碰開關100’的觸碰行為已發生。當觸碰開關100’未被按壓(或觸碰)時,紅外線發射單元112發射的紅外線信號IR則不會被手指210反射,紅外線接收單元114則無法接收到紅外線信號IR,此時控制單元130可依據此偵測信號SDT判斷觸碰行為未發生。 When the touch switch 100' is pressed (or touched), the infrared signal IR emitted by the infrared emitting unit 112 is reflected by the finger 210, and the infrared receiving unit 114 receives the infrared signal IR, and the control unit 130 can determine according to the detecting signal SDT. The touch behavior of the finger 210 to the touch switch 100' has occurred. When the touch switch 100' is not pressed (or touched), the infrared signal IR emitted by the infrared emitting unit 112 is not reflected by the finger 210, and the infrared receiving unit 114 cannot receive the infrared signal IR. At this time, the control unit 130 According to the detection signal SDT, it can be judged that the touch behavior does not occur.

本發明的一實施例中,紅外線接收單元114可依據所接收到的紅外線信號IR的能量高低判斷是否接收到紅外線信號IR,以排除雜訊或是減少誤觸碰行為的發生,當紅外線接收單元114所接收到的紅外線信號IR的能量高於或等於一臨界值時判斷為接收到紅外線信號IR,反之,當紅外線接收單元114所接收到的紅外線信號IR的能量小於此臨界值時判斷為未接收到紅外線信號IR,此可依據本領域 通常知識者而定,本發明實施例不以此為限。 In an embodiment of the present invention, the infrared receiving unit 114 can determine whether the infrared signal IR is received according to the energy level of the received infrared signal IR to eliminate noise or reduce the occurrence of false touch behavior, when the infrared receiving unit When the energy of the received infrared signal IR is higher than or equal to a critical value, it is determined that the infrared signal IR is received. Conversely, when the energy of the infrared signal IR received by the infrared receiving unit 114 is less than the critical value, the determination is not Receiving infrared signal IR, which can be based on the field The embodiments of the present invention are not limited thereto.

圖3是依據本發明一實施例的觸碰開關運作方法的流程圖。請參照圖3,在本實施例中,觸碰開關包括紅外線偵測單元、電源供應單元以及控制單元。控制單元在第一預設期間內將電源供應單元提供的操作電壓提供至紅外線偵測單元(步驟S310),以使紅外線偵測單元依據操作電壓運作。接著,紅外線偵測單元依據偵測結果產生偵測信號(步驟S320),並且控制單元依據偵測信號判斷觸碰行為是否發生(步驟S330)。若觸碰行為未發生,則在第二預設期間內,控制單元停止提供操作電壓至紅外線偵測單元,以使紅外線偵測單元停止運作(步驟S340),並在步驟340執行後,回到步驟S310,以重覆執行觸碰開關的觸碰行為偵測。若觸碰行為已發生,則控制單元持續提供操作電壓至紅外線偵測單元,直到觸碰行為結束(步驟350),回到步驟S310,以重覆執行觸碰開關的觸碰行為偵測。 3 is a flow chart of a method of operating a touch switch in accordance with an embodiment of the present invention. Referring to FIG. 3, in the embodiment, the touch switch includes an infrared detecting unit, a power supply unit, and a control unit. The control unit supplies the operating voltage provided by the power supply unit to the infrared detecting unit during the first preset period (step S310), so that the infrared detecting unit operates according to the operating voltage. Then, the infrared detecting unit generates a detection signal according to the detection result (step S320), and the control unit determines whether the touch behavior occurs according to the detection signal (step S330). If the touch behavior does not occur, in the second preset period, the control unit stops providing the operating voltage to the infrared detecting unit to stop the infrared detecting unit from operating (step S340), and after executing in step 340, returning In step S310, the touch behavior detection of the touch switch is repeatedly performed. If the touch behavior has occurred, the control unit continues to provide the operating voltage to the infrared detecting unit until the touch behavior ends (step 350), and returns to step S310 to repeatedly perform the touch behavior detection of the touch switch.

圖4是依據本發明另一實施例的觸碰開關運作方法的流程圖。請參照圖3及圖4,其不同之處在於步驟S440,亦即步驟S410、S420、S430及S450分別與圖3中的步驟S310、S320、S330及S350相同。在步驟S440中,在第二預設期間內,控制單元停止運作以停止提供操作電壓至紅外線偵測單元,進而使紅外線偵測單元停止運作。在步驟S440執行後,會回到步驟S410,以重覆執行觸碰開關的觸碰行為偵測。其中,上述步驟S310、S320、S330、S340、S350、S410、S420、S430、S440、S450的細節可參照圖1、 圖2A及圖2B實施例的說明,在此則不再贅述。 4 is a flow chart of a method of operating a touch switch in accordance with another embodiment of the present invention. Please refer to FIG. 3 and FIG. 4, which is different in step S440, that is, steps S410, S420, S430 and S450 are the same as steps S310, S320, S330 and S350 in FIG. 3, respectively. In step S440, during the second preset period, the control unit stops operating to stop providing the operating voltage to the infrared detecting unit, thereby stopping the infrared detecting unit from operating. After the execution of step S440, the process returns to step S410 to repeatedly perform the touch behavior detection of the touch switch. For details of the above steps S310, S320, S330, S340, S350, S410, S420, S430, S440, and S450, refer to FIG. The description of the embodiment of FIG. 2A and FIG. 2B will not be repeated here.

綜上所述,本發明實施例的觸碰開關及其運作方法至少具有下列優點:利用紅外線偵測單元來偵測觸碰行為是否發生,亦即透過紅外線偵測方式來偵測是否發生觸碰行為。由於紅外線的啟始與偵測速度較快,因此可降低偵測所需時間,以降低用於偵測觸碰行為的耗電量。並且,在第一預設期間內提供操作電壓至紅外線偵測單元,以及在第二預設期間內停止提供操作電壓至紅外線偵測單元,且第一預設期間短於第二預設期間,使得觸碰開關更為省電。另外,觸碰開關的省電幅度正比於停止提供操作電壓至紅外線偵測單元的時間(亦即第二預設期間)與提供操作電壓至紅外線偵測單元的時間(亦即第一預設期間)的比例。另外透過控制單元可進入休眠模式或待機模式,以進一步降低偵測觸碰行為的耗電量。 In summary, the touch switch and the method for operating the same according to the embodiments of the present invention have at least the following advantages: using an infrared detecting unit to detect whether a touch behavior occurs, that is, detecting whether a touch occurs through an infrared detecting method. behavior. Since the start and detection speed of the infrared light is fast, the time required for detection can be reduced to reduce the power consumption for detecting the touch behavior. And providing an operating voltage to the infrared detecting unit during the first preset period, and stopping providing the operating voltage to the infrared detecting unit during the second predetermined period, and the first preset period is shorter than the second preset period, Make the touch switch more power efficient. In addition, the power saving amplitude of the touch switch is proportional to the time when the operating voltage is stopped to the infrared detecting unit (ie, the second preset period) and the time when the operating voltage is supplied to the infrared detecting unit (ie, the first preset period) )proportion. In addition, the sleep mode or standby mode can be entered through the control unit to further reduce the power consumption of detecting touch behavior.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。另外,本發明的任一實施例或申請專利範圍不須達成本發明所揭露之全部目的或優點或特點。此外,摘要部分和標題僅是用來輔助專利文件搜尋之用,並非用來限制本發明之權利範圍。此外,本說明書或申請專利範圍中提及的“第一”、“第二”等用語僅用以命名元件(element)的名稱或區別不同實施例或範圍,而並非用來限制元件數量上的上限或下限。 The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent. In addition, any of the objects or advantages or features of the present invention are not required to be achieved by any embodiment or application of the invention. In addition, the abstract sections and headings are only used to assist in the search of patent documents and are not intended to limit the scope of the invention. In addition, the terms "first", "second" and the like mentioned in the specification or the scope of the claims are only used to name the elements or distinguish different embodiments or ranges, and are not intended to limit the number of elements. Upper or lower limit.

100、100’‧‧‧觸碰開關 100, 100’‧‧‧ touch switch

110、110’‧‧‧紅外線偵測單元 110, 110'‧‧‧ Infrared detection unit

112‧‧‧紅外線發射單元 112‧‧‧Infrared emitting unit

114‧‧‧紅外線接收單元 114‧‧‧Infrared receiving unit

120‧‧‧電源供應單元 120‧‧‧Power supply unit

130‧‧‧控制單元 130‧‧‧Control unit

210‧‧‧手指 210‧‧‧ fingers

θ‧‧‧角度 Θ‧‧‧ angle

D‧‧‧直接路徑 D‧‧‧Direct path

IR‧‧‧紅外線信號 IR‧‧‧Infrared signal

VP‧‧‧操作電壓 VP‧‧‧ operating voltage

SDT‧‧‧偵測信號 SDT‧‧‧Detection signal

S310、S320、S330、S340、S350、S410、S420、S430、S440、S450‧‧‧步驟 S310, S320, S330, S340, S350, S410, S420, S430, S440, S450‧‧ steps

圖1為依據本發明一實施例的觸碰開關的示意圖。 1 is a schematic diagram of a touch switch in accordance with an embodiment of the present invention.

圖2A為圖1依據本發明一實施例的觸碰開關的觸碰偵測示意圖。 2A is a schematic diagram of touch detection of a touch switch according to an embodiment of the invention.

圖2B為圖1依據本發明另一實施例的觸碰開關的觸碰偵測示意圖。 2B is a schematic diagram of touch detection of the touch switch according to another embodiment of the present invention.

圖3是依據本發明一實施例的觸碰開關運作方法的流程圖。 3 is a flow chart of a method of operating a touch switch in accordance with an embodiment of the present invention.

圖4是依據本發明另一實施例的觸碰開關運作方法的流程圖。 4 is a flow chart of a method of operating a touch switch in accordance with another embodiment of the present invention.

100‧‧‧觸碰開關 100‧‧‧Touch switch

110‧‧‧紅外線偵測單元 110‧‧‧Infrared detection unit

120‧‧‧電源供應單元 120‧‧‧Power supply unit

130‧‧‧控制單元 130‧‧‧Control unit

VP‧‧‧操作電壓 VP‧‧‧ operating voltage

SDT‧‧‧偵測信號 SDT‧‧‧Detection signal

Claims (17)

一種觸碰開關,包括:一紅外線偵測單元,依據一偵測結果產生一偵測信號;一電源供應單元,用以提供一操作電壓;以及一控制單元,分別與該紅外線偵測單元及該電源供應單元耦接,用以在一第一預設期間內提供該操作電壓至該紅外線偵測單元,在一第二預設期間內停止提供該操作電壓至該紅外線偵測單元,並且依據該偵測信號判斷一觸碰行為是否發生,其中該第一預設期間與該第二預設期間構成一偵測週期。 A touch switch includes: an infrared detecting unit that generates a detection signal according to a detection result; a power supply unit for providing an operating voltage; and a control unit, and the infrared detecting unit and the The power supply unit is coupled to provide the operating voltage to the infrared detecting unit during a first predetermined period of time, and stop providing the operating voltage to the infrared detecting unit during a second predetermined period, and according to the The detection signal determines whether a touch behavior occurs, wherein the first preset period and the second preset period constitute a detection period. 如申請專利範圍第1項所述之觸碰開關,其中該偵測週期為一定值。 The touch switch of claim 1, wherein the detection period is a certain value. 如申請專利範圍第1項所述之觸碰開關,其中該第一預設期間為該紅外線偵測單元的運作期間。 The touch switch of claim 1, wherein the first preset period is during operation of the infrared detecting unit. 如申請專利範圍第1項所述之觸碰開關,其中該第二預設期間為該紅外線偵測單元停止運作期間。 The touch switch of claim 1, wherein the second preset period is during the operation of the infrared detecting unit. 如申請專利範圍第1項所述之觸碰開關,其中在該第二預設期間內,該控制單元停止運作。 The touch switch of claim 1, wherein the control unit stops operating during the second predetermined period. 如申請專利範圍第1項所述之觸碰開關,其中該第一預設期間短於該第二預設期間。 The touch switch of claim 1, wherein the first preset period is shorter than the second preset period. 如申請專利範圍第1項所述之觸碰開關,其中該紅外線偵測單元包括:一紅外線發射單元,耦接該控制單元,在接收到該操 作電壓時並在該第一預設期間內持續發射一紅外線信號;以及一紅外線接收單元,耦接該控制單元,在接收到該操作電壓時依據是否在該第一預設期間內接收到該紅外線信號以產生該偵測信號。 The touch switch of claim 1, wherein the infrared detecting unit comprises: an infrared emitting unit coupled to the control unit, and receiving the operation And transmitting an infrared signal continuously during the first predetermined period of time; and an infrared receiving unit coupled to the control unit, when receiving the operating voltage, according to whether the first preset period is received An infrared signal is generated to generate the detection signal. 如申請專利範圍第7項所述之觸碰開關,其中當該紅外線接收單元未接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為已發生,當該紅外線接收單元接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為未發生。 The touch switch of claim 7, wherein when the infrared receiving unit does not receive the infrared signal, the control unit determines that the touch behavior has occurred according to the detection signal, when the infrared receiving unit receives When the infrared signal is received, the control unit determines that the touch behavior does not occur according to the detection signal. 如申請專利範圍第7項所述之觸碰開關,其中當該紅外線接收單元接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為已發生,當該紅外線接收單元未接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為未發生。 The touch switch of claim 7, wherein when the infrared receiving unit receives the infrared signal, the control unit determines that the touch behavior has occurred according to the detection signal, when the infrared receiving unit does not receive When the infrared signal is received, the control unit determines that the touch behavior does not occur according to the detection signal. 一種觸碰開關的運作方法,該觸碰開關具有一紅外線偵測單元、一電源供應單元以及一控制單元,該方法包括:在一第一預設期間,該控制單元將該電源供應單元提供的一操作電壓提供至該紅外線偵測單元,該紅外線偵測單元依據一偵測結果產生一偵測信號,該控制單元依據該偵測信號判斷一觸碰行為是否發生;以及在一第二預設期間,該控制單元停止提供該操作電壓至該紅外線偵測單元; 其中該第一預設期間與該第二預設期間構成一偵測週期。 A method for operating a touch switch, the touch switch having an infrared detecting unit, a power supply unit, and a control unit, the method comprising: the control unit providing the power supply unit during a first preset period An operating voltage is provided to the infrared detecting unit, the infrared detecting unit generates a detecting signal according to a detection result, and the control unit determines whether a touch behavior occurs according to the detecting signal; and a second preset During the period, the control unit stops providing the operating voltage to the infrared detecting unit; The first preset period and the second preset period constitute a detection period. 如申請專利範圍第10項所述之觸碰開關的運作方法,其中該紅外線偵測單元依據該偵測結果產生該偵測信號的步驟包括:該紅外線偵測單元於接收到該操作電壓時,並在該第一預設期間內持續發射一紅外線信號;以及該紅外線偵測單元於接收到該操作電壓時,依據是否接收到該紅外線信號產生該偵測信號。 The method for operating the touch switch according to the method of claim 10, wherein the step of generating the detection signal by the infrared detecting unit according to the detection result comprises: when the infrared detecting unit receives the operating voltage, And continuously transmitting an infrared signal during the first predetermined period; and when the infrared detecting unit receives the operating voltage, generating the detection signal according to whether the infrared signal is received. 如申請專利範圍第10項所述之觸碰開關的運作方法,其中該控制單元依據該偵測信號判斷該觸碰行為是否發生的步驟包括:當該紅外線偵測單元未接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為已發生;以及當該紅外線偵測單元接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為未發生。 The method for operating a touch switch according to claim 10, wherein the step of determining, by the control unit, whether the touch behavior occurs according to the detection signal comprises: when the infrared detecting unit does not receive the infrared signal The control unit determines that the touch behavior has occurred according to the detection signal; and when the infrared detection unit receives the infrared signal, the control unit determines that the touch behavior does not occur according to the detection signal. 如申請專利範圍第10項所述之觸碰開關的運作方法,其中該控制單元依據該偵測信號判斷該觸碰行為是否發生的步驟包括:當該紅外線偵測單元接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為已發生;以及當該紅外線偵測單元未接收到該紅外線信號時,該控制單元依據該偵測信號判斷該觸碰行為未發生。 The method for operating a touch switch according to claim 10, wherein the step of determining, by the control unit, whether the touch behavior occurs according to the detection signal comprises: when the infrared detecting unit receives the infrared signal, The control unit determines that the touch behavior has occurred according to the detection signal; and when the infrared detection unit does not receive the infrared signal, the control unit determines that the touch behavior does not occur according to the detection signal. 如申請專利範圍第10項所述之觸碰開關,其中該 第一預設期間為該紅外線偵測單元的運作期間。 The touch switch described in claim 10, wherein the The first preset period is during the operation of the infrared detecting unit. 如申請專利範圍第10項所述之觸碰開關,其中該第二預設期間為該紅外線偵測單元停止運作期間。 The touch switch of claim 10, wherein the second preset period is during the operation of the infrared detecting unit. 如申請專利範圍第10項所述之觸碰開關的運作方法,其中該第一預設期間短於該第二預設期間。 The method of operating a touch switch according to claim 10, wherein the first preset period is shorter than the second preset period. 如申請專利範圍第10項所述之觸碰開關的運作方法,其中在該第二預設期間內,該控制單元停止運作。 The method of operating a touch switch according to claim 10, wherein the control unit stops operating during the second predetermined period.
TW101138951A 2012-10-22 2012-10-22 Touch switch and operation method thereof TWI505639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101138951A TWI505639B (en) 2012-10-22 2012-10-22 Touch switch and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101138951A TWI505639B (en) 2012-10-22 2012-10-22 Touch switch and operation method thereof

Publications (2)

Publication Number Publication Date
TW201417499A true TW201417499A (en) 2014-05-01
TWI505639B TWI505639B (en) 2015-10-21

Family

ID=51293994

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101138951A TWI505639B (en) 2012-10-22 2012-10-22 Touch switch and operation method thereof

Country Status (1)

Country Link
TW (1) TWI505639B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4872485A (en) * 1987-12-23 1989-10-10 Coyne & Delany Co. Sensor operated water flow control
US5566702A (en) * 1994-12-30 1996-10-22 Philipp; Harald Adaptive faucet controller measuring proximity and motion
US6707030B1 (en) * 2000-10-24 2004-03-16 Synapse, Inc. System and method of automatic dynamic calibration for infrared sensing device
KR200442312Y1 (en) * 2007-01-19 2008-10-29 우진전장 주식회사 Elevator button with non-contact optical switch

Also Published As

Publication number Publication date
TWI505639B (en) 2015-10-21

Similar Documents

Publication Publication Date Title
US10649559B2 (en) Handheld electronic apparatus and touch detection method thereof
US8174500B2 (en) Temperature controlled mouse
CN107037884A (en) A kind of human body intelligent identification and gesture operation control system
JP5129076B2 (en) Input device, information processing device, and program
KR100967316B1 (en) Touch sensing device and electronic device connected with touch sensing device
US20110109553A1 (en) Wireless touchpad mouse
TWI544370B (en) Computer input device with operation modes and method thereof
TW201510772A (en) Gesture determination method and electronic device
US20060011419A1 (en) Non-contact optical sensor switch assembly of elevators
TWI505639B (en) Touch switch and operation method thereof
TWI461970B (en) Mouse with replaceable sensing unit
TW201809977A (en) Stylus
TWI510974B (en) Navigation apparatus and related actuating method
TW201616796A (en) Control chip and system thereof for power saving
US20050162394A1 (en) Mode switch apparatus implemented with a capacitive touchpad for an optical mouse
CN111142958B (en) Active pen sleep awakening method, device, equipment and readable storage medium
US20170160859A1 (en) Dual-mode touch sensing method and stylus and touch panel for the same
TWI525525B (en) Portable device and method for enabling the same
TWI835482B (en) Non-contact switch control system
US9013407B2 (en) Power-saving sensing module for optical mouse and power-saving sensing method
JP6132236B2 (en) Lighting device
CN100380279C (en) Power saving device for wireless input equipment
TW202408597A (en) Sterilizing device and method
KR20100002938U (en) Wireless mouse
KR20010113401A (en) Display Apparatus for Saving-Power of Refrigerator

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees