TWI412978B - Electronic device with infrared touch-control function and method thereof - Google Patents

Electronic device with infrared touch-control function and method thereof Download PDF

Info

Publication number
TWI412978B
TWI412978B TW98144355A TW98144355A TWI412978B TW I412978 B TWI412978 B TW I412978B TW 98144355 A TW98144355 A TW 98144355A TW 98144355 A TW98144355 A TW 98144355A TW I412978 B TWI412978 B TW I412978B
Authority
TW
Taiwan
Prior art keywords
infrared
processing unit
display
main processing
electronic device
Prior art date
Application number
TW98144355A
Other languages
Chinese (zh)
Other versions
TW201122963A (en
Inventor
Xin Zhao
Xiao-Guang Li
Rufy Shyang You
Han Che Wang
Kuan Hong Hsieh
Original Assignee
Hon Hai Prec 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW98144355A priority Critical patent/TWI412978B/en
Publication of TW201122963A publication Critical patent/TW201122963A/en
Application granted granted Critical
Publication of TWI412978B publication Critical patent/TWI412978B/en

Links

Abstract

The present invention provides an infrared touch-control methods, including steps: controlling the display of one or more touch inputs icon; controlling infrared transmitters to emit infrared signals to the infrared receivers in turn to form a number of non-matrix structure; determining corresponding infrared connection if one or more infrared receivers do not receive the infrared signal; recording information of the infrared connection; determining a display area thereby determining the icon displayed on the display area; and implementing function of the icon. The invention also provides an infrared touch-control electronic device.

Description

具有紅外觸摸功能的電子裝置及其控制方法 Electronic device with infrared touch function and control method thereof

本發明涉及一種具有觸摸功能的電子裝置,尤其涉及一種具有紅外觸摸功能的電子裝置。 The present invention relates to an electronic device having a touch function, and more particularly to an electronic device having an infrared touch function.

紅外觸摸裝置作為電子裝置的一種新型的輸入設備,使人與電子裝置之間的人機交互更為直觀,給用戶帶來極大的便利,應用領域已遍及家電、公共資訊、電子遊戲、辦公自動化設備等各個領域。目前常見的紅外觸摸裝置一般將紅外線發射管與紅外線接收管設置成水準垂直交叉的紅外線矩陣。用戶在觸摸螢幕時,手指就會擋住經過該位置的水準與垂直兩條紅外線,因而可以判斷出觸摸點在顯示單元上的座標值,並將該座標值輸入主處理單元進行處理。然而,該類紅外觸摸裝置為準確確定觸摸點的位置,紅外線發射管與紅外線接收管往往需要設置為一一對應的形式,這樣增加了使用元件,而導致資源浪費。 As a new type of input device for electronic devices, the infrared touch device makes the human-computer interaction between human and electronic devices more intuitive, and brings great convenience to users. The application fields have spread to home appliances, public information, electronic games, office automation. Equipment and other fields. At present, the common infrared touch device generally sets the infrared emitting tube and the infrared receiving tube to an infrared matrix in which the level vertically intersects. When the user touches the screen, the finger will block the two infrared rays passing through the position and the vertical direction, so that the coordinate value of the touch point on the display unit can be judged, and the coordinate value is input into the main processing unit for processing. However, in order to accurately determine the position of the touch point, the infrared emitting tube and the infrared receiving tube often need to be arranged in a one-to-one correspondence, which increases the use of components and causes waste of resources.

因此,有必要發明一種具有紅外觸摸功能的電子裝置及其控制方法,採用較少數量的紅外發射管和紅外接收管檢測用戶觸摸,並能保證檢測的準確度,從而有效地降低具有紅外觸摸功能的電子裝置的生產成本。 Therefore, it is necessary to invent an electronic device with an infrared touch function and a control method thereof, and use a small number of infrared transmitting tubes and infrared receiving tubes to detect a user's touch, and can ensure the accuracy of detection, thereby effectively reducing the infrared touch function. The production cost of electronic devices.

本發明提供的具有紅外觸摸功能的電子裝置,以降低具有紅外觸摸功能的電子裝置的生產成本。 The invention provides an electronic device with an infrared touch function to reduce the production cost of an electronic device having an infrared touch function.

本發明所提供的具有紅外觸摸功能的電子裝置,包括一顯示單元、一主處理單元、一紅外觸摸裝置、一面罩框及一後蓋,所述紅外觸摸裝置電連接於所述主處理單元,所述主處理單元電連接所述顯示單元所述紅外觸摸裝置、主處理單元以及顯示單元置於所述面罩框與後蓋形成的空間內,所述紅外觸摸裝置緊固於所述顯示單元上。該紅外觸摸裝置還包括至少一紅外接收器,安裝在所述電路板上,用於接收紅外訊號;至少一紅外發射器,安裝在所述電路板上,用於發射紅外訊號;一微控制器,安裝在所述電路板上,電連接所述紅外接收器和所述紅外發射器,用於依次控制所述紅外發射器向所述紅外接收器發射紅外訊號以構成多條紅外連線,偵測所述紅外接收器是否接收到紅外發射器發射的紅外訊號,在未接收到紅外發射器發射的紅外訊號時確定對應的紅外連線被割斷,並發送該紅外連線資訊至所述主處理單元,其中,所述多條紅外連線構成非矩陣式結構。所述顯示單元被預先分割為若干顯示區域,每一顯示區域與由兩個紅外發射管產生的兩條紅外連線相對應,且一顯示區域上只能同時顯示一個可以接收用戶觸摸輸入的圖示;所述主處理單元同時電連接所述顯示單元與所述紅外觸摸裝置,控制所述顯示單元顯示一個或多個可觸摸輸入的圖示,在接收微處理器發送的被割斷的紅外連線資訊時,記錄該紅外連線資訊,且在確定已存在其他紅外發射管發送的紅外連線的記錄時,根據該兩條紅外連線確定一顯示區域,獲知該顯示 區域上顯示的圖示,執行與該圖示對應的指令。 The electronic device with infrared touch function provided by the present invention comprises a display unit, a main processing unit, an infrared touch device, a cover frame and a back cover, and the infrared touch device is electrically connected to the main processing unit. The main processing unit electrically connects the display unit, the infrared touch device, the main processing unit and the display unit are disposed in a space formed by the mask frame and the back cover, and the infrared touch device is fastened on the display unit . The infrared touch device further includes at least one infrared receiver mounted on the circuit board for receiving an infrared signal; at least one infrared emitter mounted on the circuit board for transmitting an infrared signal; a microcontroller Installing on the circuit board, electrically connecting the infrared receiver and the infrared emitter, and sequentially controlling the infrared emitter to emit an infrared signal to the infrared receiver to form a plurality of infrared connections, detecting Detecting whether the infrared receiver receives the infrared signal emitted by the infrared emitter, determining that the corresponding infrared connection is cut when the infrared signal emitted by the infrared emitter is not received, and transmitting the infrared connection information to the main processing a unit, wherein the plurality of infrared lines form a non-matrix structure. The display unit is pre-divided into a plurality of display areas, each display area corresponding to two infrared lines generated by two infrared transmitting tubes, and only one picture capable of receiving user touch input can be simultaneously displayed on one display area The main processing unit electrically connects the display unit and the infrared touch device at the same time, and controls the display unit to display an icon of one or more touchable inputs, and receives the cut infrared link sent by the microprocessor. In the line information, the infrared connection information is recorded, and when it is determined that there is already a record of the infrared connection sent by the other infrared transmitting tube, a display area is determined according to the two infrared lines, and the display is known. The icon displayed on the area executes the instruction corresponding to the icon.

本發明提供了一種電子裝置的紅外觸摸控制方法,該方法包括:提供一顯示單元被預先分割為若干顯示區域,每一顯示區域與由兩個紅外發射管產生的兩條紅外連線相對應,且一顯示區域上只能同時顯示一個可以接收用戶觸摸輸入的圖示;控制所述顯示單元顯示一個或多個可觸摸輸入的圖示;依次控制紅外發射器向所述紅外接收器發射紅外訊號以構成多條紅外連線,偵測所述紅外接收器是否接收到紅外發射器發射的紅外訊號,在未接收到紅外發射器發射的紅外訊號時確定對應的紅外連線被割斷,其中,所述多條紅外連線構成非矩陣式結構;記錄該紅外連線資訊;在確定已存在其他紅外發射管發送的紅外連線的記錄時,根據該兩條紅外連線確定一顯示區域,獲知該顯示區域上顯示的圖示;及執行與該圖示對應的指令。 The invention provides an infrared touch control method for an electronic device, the method comprising: providing a display unit to be pre-divided into a plurality of display areas, each display area corresponding to two infrared connections generated by two infrared transmitting tubes, And displaying on the display area only one icon capable of receiving user touch input; controlling the display unit to display one or more icons of touchable input; sequentially controlling the infrared emitter to emit infrared signals to the infrared receiver To form a plurality of infrared connections, detecting whether the infrared receiver receives the infrared signal emitted by the infrared emitter, and determining that the corresponding infrared connection is cut when the infrared signal emitted by the infrared emitter is not received, wherein The plurality of infrared lines form a non-matrix structure; the infrared connection information is recorded; when it is determined that there are already records of the infrared connection sent by the other infrared transmitting tubes, a display area is determined according to the two infrared lines, and the information is known An icon displayed on the display area; and an instruction corresponding to the icon is executed.

100‧‧‧電子裝置 100‧‧‧Electronic devices

1‧‧‧紅外觸摸裝置 1‧‧‧Infrared touch device

2‧‧‧主處理單元 2‧‧‧Main Processing Unit

3‧‧‧顯示單元 3‧‧‧Display unit

4‧‧‧面罩框 4‧‧‧ mask frame

5‧‧‧後蓋 5‧‧‧Back cover

10(10a 10b 10c 10d 10e 10f 10g 10h)‧‧‧紅外接收模組 10(10a 10b 10c 10d 10e 10f 10g 10h)‧‧‧Infrared receiver module

11(11a 11b)‧‧‧紅外發射模組 11(11a 11b)‧‧‧Infrared launch module

12‧‧‧電路板 12‧‧‧ boards

13‧‧‧微控制器 13‧‧‧Microcontroller

S11‧‧‧第i個紅外發射管發射紅外訊號 S11‧‧‧i-th infrared transmitting tube emits infrared signal

S12‧‧‧有紅外接收管未接收到紅外訊號 S12‧‧‧Infrared receiver tube did not receive infrared signal

S13‧‧‧記錄對應的紅外連線 S13‧‧‧ Record corresponding infrared connection

S14‧‧‧已存在其他紅外發射管產生的紅外連線被記錄 S14‧‧‧Infrared connections generated by other infrared transmitting tubes have been recorded

S15‧‧‧確定對應的圖示並執行指令 S15‧‧‧Determine the corresponding icon and execute the instruction

S16‧‧‧清空已有的紅外連線記錄 S16‧‧‧ Empty existing infrared connection records

S17‧‧‧i=i+1>N S17‧‧‧i=i+1>N

S18‧‧‧開始下一掃描週期 S18‧‧‧Start the next scan cycle

圖1為本發明具有紅外觸摸功能的電子裝置的爆炸圖。 1 is an exploded view of an electronic device having an infrared touch function according to the present invention.

圖2為本發明具有紅外觸摸功能的電子裝置的硬體架構圖。 2 is a hardware structural diagram of an electronic device having an infrared touch function according to the present invention.

圖3為本發明優選實施方式下具有紅外觸摸功能的電子裝置的示意圖。 3 is a schematic diagram of an electronic device having an infrared touch function according to a preferred embodiment of the present invention.

圖4為本發明優選實施方式下具有紅外觸摸功能的電子裝置顯示圖示的示意圖,示出了在顯示單元上顯示的圖示與紅外連線的關係。 4 is a schematic diagram showing a display diagram of an electronic device having an infrared touch function according to a preferred embodiment of the present invention, showing a relationship between the illustration displayed on the display unit and the infrared connection.

圖5為本發明優選實施方式下具有紅外觸摸功能的電子裝置的控 制流程圖。 FIG. 5 is a control diagram of an electronic device having an infrared touch function according to a preferred embodiment of the present invention; Flow chart.

請參考圖1和2,圖1為本發明具有紅外觸摸功能的電子裝置的爆炸視圖,圖2為本發明紅外觸摸功能的電子裝置的硬體架構圖。所述具有紅外觸摸功能的電子裝置100包括一紅外觸摸裝置1、一主處理單元2、一顯示單元3、一面罩框4及一後蓋5。所述紅外觸摸裝置1、主處理單元2、及顯示單元3位於所述面罩框4與所述後蓋5形成的空間內。所述主處理單元2分別電連接於紅外觸摸裝置1和顯示單元2。所述紅外觸摸裝置1包括一紅外接收模組10、一紅外發射模組11及一電路板12。所述面罩框4卡合在所述後蓋5上後,可以將所述框形電路板12緊固在所述顯示單元3上的邊緣位置。所述紅外發射模組11與紅外接收模組10安裝在所述框形電路板12的不同邊框上。 1 and 2, FIG. 1 is an exploded view of an electronic device with an infrared touch function according to the present invention, and FIG. 2 is a hardware structure diagram of an electronic device with an infrared touch function according to the present invention. The electronic device 100 with infrared touch function includes an infrared touch device 1, a main processing unit 2, a display unit 3, a cover frame 4 and a back cover 5. The infrared touch device 1, the main processing unit 2, and the display unit 3 are located in a space formed by the mask frame 4 and the back cover 5. The main processing unit 2 is electrically connected to the infrared touch device 1 and the display unit 2, respectively. The infrared touch device 1 includes an infrared receiving module 10, an infrared emitting module 11 and a circuit board 12. After the mask frame 4 is engaged with the back cover 5, the frame circuit board 12 can be fastened to an edge position on the display unit 3. The infrared emitting module 11 and the infrared receiving module 10 are mounted on different frames of the frame circuit board 12.

所述電路板12上還安裝有一微控制器13,電連接所述紅外接收模組10和所述紅外發送模組11。該微控制器13用於控制所述紅外發射模組11向所述紅外接收模組10發射紅外訊號以構成多條紅外連線;從所述紅外接收模組10接收訊號的情況以確定被隔斷的紅外連線;發送被隔斷的紅外連線資訊至所述主處理單元2。 A microcontroller 13 is further mounted on the circuit board 12 to electrically connect the infrared receiving module 10 and the infrared transmitting module 11. The microcontroller 13 is configured to control the infrared transmitting module 11 to send an infrared signal to the infrared receiving module 10 to form a plurality of infrared connections; and receive a signal from the infrared receiving module 10 to determine that the infrared signal is blocked. Infrared connection; sending the blocked infrared connection information to the main processing unit 2.

圖3為本發明優選實施方式下具有紅外觸摸功能的電子裝置的示意圖。在本實施例中,所述紅外發射模組11被例舉為2個紅外發射管11a及11b,所述紅外接收模組10被例舉為8個紅外接收管10a-10h。所述紅外發射管11a向所述紅外接收管10發射紅外訊號,形成8條紅外連線La1~La8,所述紅外發射管11b向所述紅外接 收管發射紅外訊號,形成8條紅外連線Lb1~Lb8,該些紅外連線為非矩陣式。所述紅外發射管與紅外接收管的數量可以根據實際需要增減。顯示單元3已預先根據紅外觸摸裝置1的紅外發射管和紅外接收管的位置被分割為若干顯示區域。每一顯示區域與由兩個紅外發射管產生的兩條紅外連線相對應,且在每一顯示區域上不能同時顯示兩個或以上可以接收用戶觸摸輸入的圖示。 3 is a schematic diagram of an electronic device having an infrared touch function according to a preferred embodiment of the present invention. In the present embodiment, the infrared emitting module 11 is exemplified by two infrared transmitting tubes 11a and 11b, and the infrared receiving module 10 is exemplified by eight infrared receiving tubes 10a-10h. The infrared transmitting tube 11a emits an infrared signal to the infrared receiving tube 10 to form eight infrared connecting lines La1~La8, and the infrared transmitting tube 11b is connected to the infrared The infrared signal is emitted and the eight infrared connections Lb1~Lb8 are formed. The infrared connections are non-matrix type. The number of the infrared transmitting tube and the infrared receiving tube can be increased or decreased according to actual needs. The display unit 3 has been previously divided into a plurality of display areas in accordance with the positions of the infrared transmitting tube and the infrared receiving tube of the infrared touch device 1. Each display area corresponds to two infrared connections generated by two infrared transmitting tubes, and two or more icons that can receive user touch input cannot be simultaneously displayed on each display area.

所述微控制器13輸出一控制訊號,使多個紅外發射管在一預設週期內逐個被導通。為便於理解,以2個紅外發射管11a及11b為例進行說明,在該預設週期內,微控制器13依序分別導通紅外發射管11a及11b,使紅外發射管11a及11b依次分別向紅外接收管10a-10h發送紅外訊號。例如:當控制訊號為0時,紅外發射管11a按所述預設週期依次發射紅外訊號至紅外接收管10a-10h,紅外發射管11b不發射紅外訊號;當控制訊號為1時,紅外發射管11b按所述預設週期依次發射紅外訊號至紅外接收管10a-10h,紅外發射管11a不發射紅外訊號。該控制訊號按照所述預設週期重複變化,故紅外發射管11a及11b依次週期發射紅外訊號至紅外接收管10a-10h。 The microcontroller 13 outputs a control signal such that the plurality of infrared transmitting tubes are turned on one by one in a predetermined period. For convenience of understanding, the two infrared transmitting tubes 11a and 11b are taken as an example. During the preset period, the microcontroller 13 sequentially turns on the infrared transmitting tubes 11a and 11b, respectively, so that the infrared transmitting tubes 11a and 11b are sequentially turned to The infrared receiving tubes 10a-10h transmit infrared signals. For example, when the control signal is 0, the infrared transmitting tube 11a sequentially transmits the infrared signal to the infrared receiving tube 10a-10h according to the preset period, and the infrared transmitting tube 11b does not emit the infrared signal; when the control signal is 1, the infrared transmitting tube 11b sequentially emits infrared signals to the infrared receiving tubes 10a-10h according to the preset period, and the infrared transmitting tubes 11a do not emit infrared signals. The control signal is repeatedly changed according to the preset period, so the infrared transmitting tubes 11a and 11b sequentially emit infrared signals to the infrared receiving tubes 10a-10h in sequence.

圖4為本發明優選實施方式下具有紅外觸摸功能的電子裝置顯示圖示的示意圖,示出了在顯示單元上顯示的圖示與紅外連線的關係。主處理單元2控制一個或多個可接收用戶觸摸輸入的圖示在顯示單元3上顯示後,當用戶的手指或其他物體觸摸顯示單元3上任一可接收用戶觸摸輸入的圖示時,微控制器13偵測紅外接收管10a-10h是否接收到紅外訊號。若紅外接收管10a未接收到紅外訊 號,且此時控制訊號為0,則紅外連線La8被割斷,微處理單元13發送該被割斷的紅外連線La8至主處理單元2。 4 is a schematic diagram showing a display diagram of an electronic device having an infrared touch function according to a preferred embodiment of the present invention, showing a relationship between the illustration displayed on the display unit and the infrared connection. The main processing unit 2 controls one or more icons of the user-acceptable touch input to be displayed on the display unit 3, and when the user's finger or other object touches any icon on the display unit 3 that can receive the user's touch input, the micro-control The device 13 detects whether the infrared receiving tubes 10a-10h receive an infrared signal. If the infrared receiving tube 10a does not receive the infrared signal If the control signal is 0, the infrared connection La8 is cut off, and the micro processing unit 13 sends the cut infrared connection La8 to the main processing unit 2.

主處理單元2記錄所述被割斷的紅外連線資訊,判斷是否存在其他紅外發射管發送的紅外連線被割斷的記錄。若存在其他紅外發射管發送的紅外連線被割斷的記錄,則可根據該兩條紅外連線確定一與該兩條紅外連線對應的顯示區域,從而獲知該顯示區域上顯示圖示被觸摸,執行該圖示對應的指令。例如,若圖示A被觸摸時,微控制器13依次偵測到紅外連線Lb4與La5被隔斷,依次發送紅外連線Lb4與La5至主處理單元2。主處理單元2根據兩條紅外連線Lb4與La5確定一對應的顯示區域,即可獲知該顯示區域上的圖示A被觸摸,從而執行與圖示A對應的指令。由兩條不同紅外發射管發送的紅外連線,可使得本發明具有紅外觸摸功能的電子裝置確定一對應的顯示區域時更加準確,從而更加準確地確定被觸摸的圖示,提高了檢測的準確度。 The main processing unit 2 records the cut infrared connection information to determine whether there is a record that the infrared connection sent by the other infrared transmitting tube is cut. If there is a record that the infrared connection sent by the other infrared transmitting tube is cut off, a display area corresponding to the two infrared connections may be determined according to the two infrared connections, so that the display icon on the display area is touched. Execute the instruction corresponding to the icon. For example, if the figure A is touched, the microcontroller 13 sequentially detects that the infrared lines Lb4 and La5 are blocked, and sequentially transmits the infrared lines Lb4 and La5 to the main processing unit 2. The main processing unit 2 determines a corresponding display area according to the two infrared connections Lb4 and La5, and can know that the graphic A on the display area is touched, thereby executing an instruction corresponding to the graphic A. The infrared connection sent by two different infrared transmitting tubes can make the electronic device with infrared touch function of the invention more accurate when determining a corresponding display area, thereby more accurately determining the touched icon, and improving the accuracy of the detection. degree.

所述具有紅外觸摸功能的電子裝置100還可包括一計時單元(未圖示),用於在主處理單元2確定不存在一其他紅外發射管產生的紅外連線的記錄時開始計時,當計時時間超過一預設時間段且仍未有其他紅外發射管產生的紅外連線被記錄時,通知主處理單元2清空已有的紅外連線資訊的記錄。 The electronic device 100 with infrared touch function may further include a timing unit (not shown) for starting timing when the main processing unit 2 determines that there is no recording of an infrared connection generated by another infrared transmitting tube. When the time exceeds a predetermined period of time and no infrared connection generated by other infrared transmitting tubes is recorded, the main processing unit 2 is notified to clear the record of the existing infrared connection information.

圖5為本發明優選實施方式下具有紅外觸摸功能的電子裝置的控制流程圖。本實施方式中,所述控制流程圖只具體描述了一個掃描週期。步驟S11中:微控制器13控制第i個紅外發射管發射紅外訊號,其中,從i=1開始掃描。步驟S12中:微控制器13判斷在該 掃描週期內是否有紅外接收管未接收到紅外訊號,若是,表示第i個紅外發射管與紅外接收管之間形成的紅外連線被割斷,則執行步驟S13;若否,表示第i個紅外發射管與紅外接收管10之間形成的紅外連線未被割斷,則執行步驟S17。步驟S13中:所述微控制器13將確定被割斷的紅外連線資訊傳送給主處理單元2;主處理單元2記錄該紅外連線,後執行步驟S14。步驟S14中:主處理單元2判斷是否已存在一其他紅外發射管產生的紅外連線被記錄,若是,執行步驟S15,若否,執行步驟S11。步驟S15中:主處理單元2根據記錄的兩個不同紅外發射管產生的紅外連線確定一顯示區域,獲知該顯示區域上顯示圖示被觸摸,從而執行所述圖示對應的指令,後執行步驟S16。步驟S16中:主處理單元2清空已有的紅外連線資訊的記錄,後執行步驟S17。步驟S17中:所述微控制器13使i=i+1,判斷i+1是否大於紅外發射管的數量N,即判斷是否所有紅外發射管已按照次序發射完紅外訊號,若是,則主處理單元2發送一第一執行訊號至微處理單元13,執行步驟S18;若否,則主處理單元2發送一第二執行訊號至微處理單元13,返回步驟S11。步驟S18中:微處理器13開始下一掃描週期。 FIG. 5 is a control flow chart of an electronic device having an infrared touch function according to a preferred embodiment of the present invention. In this embodiment, the control flow chart only specifically describes one scanning period. In step S11, the microcontroller 13 controls the i-th infrared transmitting tube to emit an infrared signal, wherein the scanning starts from i=1. In step S12: the microcontroller 13 determines that the Whether the infrared receiving tube does not receive the infrared signal during the scanning period, and if so, indicating that the infrared connection formed between the i-th infrared transmitting tube and the infrared receiving tube is cut, step S13 is performed; if not, indicating the ith infrared The infrared connection formed between the transmitting tube and the infrared receiving tube 10 is not cut, and step S17 is performed. In step S13, the microcontroller 13 transmits the infrared connection information determined to be cut to the main processing unit 2; the main processing unit 2 records the infrared connection, and then executes step S14. In step S14, the main processing unit 2 determines whether an infrared connection generated by another infrared transmitting tube is recorded, and if so, step S15 is performed, and if no, step S11 is performed. In step S15, the main processing unit 2 determines a display area according to the infrared connection generated by the two different infrared emission tubes, and knows that the display icon on the display area is touched, thereby executing the instruction corresponding to the graphic, and then executing Step S16. In step S16, the main processing unit 2 clears the record of the existing infrared connection information, and then executes step S17. In step S17, the microcontroller 13 makes i=i+1, and determines whether i+1 is greater than the number N of the infrared transmitting tubes, that is, whether all the infrared transmitting tubes have transmitted the infrared signals in order, and if so, the main processing The unit 2 sends a first execution signal to the micro processing unit 13, and performs step S18; if not, the main processing unit 2 sends a second execution signal to the micro processing unit 13, and returns to step S11. In step S18: the microprocessor 13 starts the next scan cycle.

綜上所述,本發明所述具有紅外觸摸功能的電子裝置,能夠以非矩陣的方式,採用較少數量的紅外發射管和紅外接收管檢測用戶觸摸,並能保證檢測的準確度,從而有效地降低具有紅外觸摸功能的電子裝置的生產成本。 In summary, the electronic device with infrared touch function of the present invention can detect user touch in a non-matrix manner by using a small number of infrared transmitting tubes and infrared receiving tubes, and can ensure the accuracy of detection, thereby effectively The production cost of an electronic device having an infrared touch function is lowered.

100‧‧‧電子裝置 100‧‧‧Electronic devices

1‧‧‧紅外觸摸裝置 1‧‧‧Infrared touch device

2‧‧‧主處理單元 2‧‧‧Main Processing Unit

3‧‧‧顯示單元 3‧‧‧Display unit

10‧‧‧紅外接收模組 10‧‧‧Infrared receiver module

11‧‧‧紅外發射模組 11‧‧‧Infrared emission module

13‧‧‧微控制器 13‧‧‧Microcontroller

Claims (8)

一種具有紅外觸摸功能的電子裝置,包括一顯示單元、一主處理單元、一紅外觸摸裝置、一面罩框及一後蓋,所述紅外觸摸裝置電連接於所述主處理單元,所述主處理單元電連接所述顯示單元與所述紅外觸摸裝置、主處理單元以及顯示單元置於所述面罩框與後蓋形成的空間內,所述紅外觸摸裝置緊固於所述顯示單元上,其改良在於:所述紅外觸摸裝置包括:至少一紅外接收器,安裝在所述電路板上,用於接收紅外信號;至少一紅外發射器,安裝在所述電路板上,用於發射紅外信號;一微控制器,安裝在所述電路板上,電連接所述紅外接收器和所述紅外發射器,用於依次控制所述紅外發射器向所述紅外接收器發射紅外信號以構成多條紅外連線,偵測所述紅外接收器是否接收到紅外發射器發射的紅外信號,在未接收到紅外發射器發射的紅外信號時確定對應的紅外連線被割斷,並發送該紅外連線資訊至所述主處理單元,其中,所述多條紅外連線構成非矩陣式結構;所述顯示單元被預先分割為若干顯示區域,每一顯示區域與由兩個紅外發射管產生的兩條紅外連線相對應,且一顯示區域上只能同時顯示一個可以接收用戶觸摸輸入的圖示;所述主處理單元同時電連接所述顯示單元與所述紅外觸摸裝置,控制所述顯示單元顯示一個或多個可觸摸輸入的圖示,在接收微處理器發送的被割 斷的紅外連線資訊時,記錄該紅外連線資訊,且在確定已存在其他紅外發射管發送的紅外連線的記錄時,根據兩條紅外連線確定一顯示區域,獲知該顯示區域上顯示的圖示,執行與該圖示對應的指令。 An electronic device with an infrared touch function includes a display unit, a main processing unit, an infrared touch device, a cover frame and a back cover, the infrared touch device is electrically connected to the main processing unit, and the main processing The unit is electrically connected to the display unit and the infrared touch device, the main processing unit and the display unit are disposed in a space formed by the mask frame and the back cover, and the infrared touch device is fastened on the display unit, and the improvement is performed. The infrared touch device includes: at least one infrared receiver mounted on the circuit board for receiving an infrared signal; at least one infrared emitter mounted on the circuit board for transmitting an infrared signal; a microcontroller mounted on the circuit board to electrically connect the infrared receiver and the infrared emitter for sequentially controlling the infrared emitter to emit an infrared signal to the infrared receiver to form a plurality of infrared connections a line, detecting whether the infrared receiver receives an infrared signal emitted by the infrared emitter, and determining when the infrared signal emitted by the infrared emitter is not received The infrared connection is cut, and the infrared connection information is sent to the main processing unit, wherein the plurality of infrared connections form a non-matrix structure; the display unit is pre-divided into a plurality of display areas, each A display area corresponds to two infrared lines generated by two infrared transmitting tubes, and only one icon capable of receiving user touch input can be simultaneously displayed on one display area; the main processing unit simultaneously electrically connects the display a unit and the infrared touch device, controlling the display unit to display an icon of one or more touchable inputs, being cut by the receiving microprocessor When the infrared connection information is broken, the infrared connection information is recorded, and when it is determined that there is already a record of the infrared connection sent by the other infrared transmitting tube, a display area is determined according to the two infrared connections, and the display area is displayed. The illustration of the figure corresponds to the instruction corresponding to the illustration. 如申請專利範圍第1項所述的具有紅外觸摸功能的電子裝置,其中,所述主處理單元在執行與該圖示對應的指令後,清空已有的紅外連線資訊的記錄,並在確定所有紅外發射管已按照次序發射完紅外訊號時,發送一第一執行訊號至微處理單元,通知微處理單元開始下一掃描週期。 The electronic device with infrared touch function according to claim 1, wherein the main processing unit clears the record of the existing infrared connection information after executing the instruction corresponding to the graphic, and determines When all the infrared transmitting tubes have transmitted the infrared signals in sequence, a first execution signal is sent to the micro processing unit to notify the micro processing unit to start the next scanning period. 如申請專利範圍第1項所述的具有紅外觸摸功能的電子裝置,其中,所述主處理單元在執行與該圖示對應的指令後,清空已有的紅外連線資訊的記錄,並在確定所有紅外發射管未按照次序發射完紅外訊號時,發送一第一執行訊號至微處理單元,通知微處理單元控制下一紅外發射管發射紅外訊號。 The electronic device with infrared touch function according to claim 1, wherein the main processing unit clears the record of the existing infrared connection information after executing the instruction corresponding to the graphic, and determines When all the infrared transmitting tubes fail to transmit the infrared signals in sequence, a first execution signal is sent to the micro processing unit to notify the micro processing unit to control the next infrared transmitting tube to emit the infrared signal. 如申請專利範圍第1項所述的具有紅外觸摸功能的電子裝置,其中,所述電子裝置還包括一計時單元,用於在主處理單元確定不存在一其他紅外發射管產生的紅外連線的記錄時開始計時,當計時時間超過一預設時間段且仍未有其他紅外發射管產生的紅外連線被記錄時,通知主處理單元清空已有的紅外連線資訊的記錄。 The electronic device with infrared touch function according to claim 1, wherein the electronic device further comprises a timing unit for determining, in the main processing unit, that there is no infrared connection generated by another infrared transmitting tube. When the recording starts, the main processing unit is notified to clear the record of the existing infrared connection information when the timing exceeds a predetermined period of time and no infrared connection generated by other infrared transmitting tubes is recorded. 一種電子裝置的紅外觸摸控制方法,所述電子裝置提供一顯示單元被預先分割為若干顯示區域,每一顯示區域與由兩個紅外發射管產生的兩條紅外連線相對應,且一顯示區域上只能同時顯示一個可以接收用戶觸摸輸入的圖示,其改良在於:所述電子裝置執行如下步驟: 控制所述顯示單元顯示一個或多個可觸摸輸入的圖示;依次控制紅外發射器向所述紅外接收器發射紅外訊號以構成多條紅外連線,偵測所述紅外接收器是否接收到紅外發射器發射的紅外訊號,在未接收到紅外發射器發射的紅外訊號時確定對應的紅外連線被割斷,其中,所述多條紅外連線構成非矩陣式結構;記錄該紅外連線資訊;在確定已存在其他紅外發射管發送的紅外連線的記錄時,根據該兩條紅外連線確定一顯示區域,獲知該顯示區域上顯示的圖示;及執行與該圖示對應的指令。 An infrared touch control method for an electronic device, wherein the electronic device provides a display unit that is pre-divided into a plurality of display areas, each display area corresponding to two infrared lines generated by two infrared transmitting tubes, and a display area Only one icon that can receive the user's touch input can be displayed at the same time, and the improvement is that the electronic device performs the following steps: Controlling the display unit to display an icon of one or more touchable inputs; sequentially controlling the infrared emitter to transmit an infrared signal to the infrared receiver to form a plurality of infrared connections, and detecting whether the infrared receiver receives the infrared The infrared signal emitted by the transmitter determines that the corresponding infrared connection is cut when the infrared signal emitted by the infrared emitter is not received, wherein the plurality of infrared connections form a non-matrix structure; and the infrared connection information is recorded; When it is determined that there is already a record of the infrared connection sent by the other infrared transmitting tube, a display area is determined according to the two infrared lines, the icon displayed on the display area is known; and an instruction corresponding to the icon is executed. 如申請專利範圍第5項所述的紅外觸摸控制方法,其中,還包括步驟:在執行與所述圖示對應的指令後,清空已有的紅外連線資訊的記錄,並在確定所有紅外發射管已按照次序發射完紅外訊號時,開始下一掃描週期。 The infrared touch control method of claim 5, further comprising the step of: after executing the instruction corresponding to the graphic, clearing the record of the existing infrared connection information, and determining all infrared emission. When the tube has transmitted the infrared signal in order, the next scan cycle begins. 如申請專利範圍第5項所述的紅外觸摸控制方法,其中,還包括步驟:在執行與該圖示對應的指令後,清空已有的紅外連線資訊的記錄,並在確定所有紅外發射管未按照次序發射完紅外訊號時,控制下一紅外發射管發射紅外訊號。 The infrared touch control method according to claim 5, further comprising the steps of: after executing the instruction corresponding to the icon, clearing the record of the existing infrared connection information, and determining all the infrared emission tubes. When the infrared signal is not transmitted in order, the next infrared transmitting tube is controlled to emit an infrared signal. 如申請專利範圍第5項所述的紅外觸摸控制方法,其中,還包括步驟:在確定不存在一其他紅外發射管產生的紅外連線的記錄時開始計時,當計時時間超過一預設時間段且仍未有其他紅外發射管產生的紅外連線被記錄時,清空已有的紅外連線資訊的記錄。 The infrared touch control method of claim 5, further comprising the step of: starting timing when determining that there is no recording of an infrared connection generated by another infrared transmitting tube, when the counting time exceeds a preset time period When there is still no infrared connection generated by other infrared transmitting tubes, the existing infrared connection information is emptied.
TW98144355A 2009-12-23 2009-12-23 Electronic device with infrared touch-control function and method thereof TWI412978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98144355A TWI412978B (en) 2009-12-23 2009-12-23 Electronic device with infrared touch-control function and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98144355A TWI412978B (en) 2009-12-23 2009-12-23 Electronic device with infrared touch-control function and method thereof

Publications (2)

Publication Number Publication Date
TW201122963A TW201122963A (en) 2011-07-01
TWI412978B true TWI412978B (en) 2013-10-21

Family

ID=45046458

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98144355A TWI412978B (en) 2009-12-23 2009-12-23 Electronic device with infrared touch-control function and method thereof

Country Status (1)

Country Link
TW (1) TWI412978B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7002556B2 (en) * 2001-06-20 2006-02-21 Hitachi, Ltd. Touch responsive display unit and method
US20060125799A1 (en) * 2004-08-06 2006-06-15 Hillis W D Touch driven method and apparatus to integrate and display multiple image layers forming alternate depictions of same subject matter
US20080074401A1 (en) * 2006-09-26 2008-03-27 Lg. Philips Lcd Co. Ltd. Display with infrared backlight source and multi-touch sensing function
TWM358360U (en) * 2008-10-03 2009-06-01 Chunghwa Picture Tubes Ltd Touch display device
TWM365505U (en) * 2009-04-09 2009-09-21 Yu-Ching Chen Human-machine interaction apparatus for multiple fingers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7002556B2 (en) * 2001-06-20 2006-02-21 Hitachi, Ltd. Touch responsive display unit and method
US20060125799A1 (en) * 2004-08-06 2006-06-15 Hillis W D Touch driven method and apparatus to integrate and display multiple image layers forming alternate depictions of same subject matter
US20080074401A1 (en) * 2006-09-26 2008-03-27 Lg. Philips Lcd Co. Ltd. Display with infrared backlight source and multi-touch sensing function
TWM358360U (en) * 2008-10-03 2009-06-01 Chunghwa Picture Tubes Ltd Touch display device
TWM365505U (en) * 2009-04-09 2009-09-21 Yu-Ching Chen Human-machine interaction apparatus for multiple fingers

Also Published As

Publication number Publication date
TW201122963A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
US20120032923A1 (en) Infrared controlling device
CN106909289B (en) A kind of operating method and mobile terminal of application controls
US8482548B2 (en) Electronic device with infrared touch panel and method for configuring the infrared touch panel
US20130009912A1 (en) Method for recognizing touch and display apparatus thereof
CN101714044B (en) Camera positioning-based touch screen system
CN109992148A (en) Touch-control display driver circuit
KR20130051300A (en) Display system and control method thereof
CN102043544A (en) Electronic device with infrared touch function and control method thereof
CN101968700B (en) Ultrasonic and infrared combined positioning method
US20100110007A1 (en) Input system and method, and computer program
CN101727246B (en) Electronic device with infrared touch function and control method thereof
CN102184062B (en) Infrared touch system and control method thereof
TWI525480B (en) Position detection device and detection method
TWI412978B (en) Electronic device with infrared touch-control function and method thereof
CN112506383A (en) Control method and device of infrared touch screen and infrared touch screen
CN101727247A (en) Electronic device with infrared touch function and control method thereof
CN105808019B (en) Contact coordinate detection method for infrared touch screen
CN101739179B (en) Electronic device with infrared touch function and control method thereof
TWI723708B (en) Stylus, method and system for updating stylus setting
CN101944001B (en) Simulated keyboard device and implementation method thereof
CN201348775Y (en) Electronic device with infrared touch function
TWI469015B (en) Electronic device with sliding touch control function and control method thereof
TW201435688A (en) Inputting device and inputting method
TWI514230B (en) Method of operating a capacitive touch panel and capacitive touch sensor
CN104834411A (en) Rapid scanning method for infrared touch screen

Legal Events

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