TWI669639B - Electronic device for detecting power of stylus pen - Google Patents
Electronic device for detecting power of stylus pen Download PDFInfo
- Publication number
- TWI669639B TWI669639B TW107120446A TW107120446A TWI669639B TW I669639 B TWI669639 B TW I669639B TW 107120446 A TW107120446 A TW 107120446A TW 107120446 A TW107120446 A TW 107120446A TW I669639 B TWI669639 B TW I669639B
- Authority
- TW
- Taiwan
- Prior art keywords
- stylus
- time length
- touch screen
- electronic device
- time
- Prior art date
Links
Landscapes
- Position Input By Displaying (AREA)
- User Interface Of Digital Computer (AREA)
- Power Sources (AREA)
Abstract
本發明揭露一種電子裝置,其包含了一觸控螢幕、一記錄電路以及一信號處理電路。該觸控螢幕用以接收一觸控筆的複數個輸入信號,該記錄電路用以估計該觸控筆操作在一主動模式的一第一時間長度以及一閒置模式的一第二時間長度,以及該信號處理電路依據該第一時間長度及該第二時間長度來計算該觸控筆的一剩餘電量資訊,以及設置該觸控螢幕顯示該剩餘電量資訊。 The invention discloses an electronic device comprising a touch screen, a recording circuit and a signal processing circuit. The touch screen is configured to receive a plurality of input signals of a stylus, the recording circuit is configured to estimate a first time length of the stylus operating in an active mode and a second time length of an idle mode, and The signal processing circuit calculates a remaining battery information of the stylus according to the first time length and the second time length, and sets the touch screen to display the remaining battery information.
Description
本發明有關於觸控筆,尤指一種偵測觸控筆之電量的電子裝置。 The invention relates to a stylus, and more particularly to an electronic device for detecting the power of a stylus.
主動式觸控筆技術眾多,主要可分為主動式電磁筆與主動式電容筆。當電子裝置使用主動式電容筆進行輸入時,主動式電容筆的筆尖預載一電壓並點擊電子裝置的觸控螢幕,而由電子裝置計算筆尖於觸控螢幕的點擊位置,其優點在於電子裝置無須另外設置獨立感應板,利用觸控螢幕即可感應到手指與主動式電容筆的輸入信號,因此在成本上較具優勢,在觸控面板普及的今日已成主流。 Active stylus technology is widely divided into active electromagnetic pen and active capacitive pen. When the electronic device uses an active capacitive pen to input, the tip of the active capacitive pen preloads a voltage and clicks on the touch screen of the electronic device, and the electronic device calculates the click position of the pen tip on the touch screen, which is advantageous in that the electronic device There is no need to separately set a separate sensor board, and the touch screen can sense the input signal of the finger and the active capacitor pen, so the cost is more advantageous, and the popularity of the touch panel has become mainstream today.
在主動式電容筆中,會具有一電池對筆本身的電子元件進行供電,為了符合長效供電與適當的筆徑尺寸等需求,許多主動式電容筆採用AAAA 1.5V的鹼性電池。但隨著觸控筆收納於機身的需求,觸控筆的尺寸必須小型化而採用小尺寸的鋰電池或超級電容。然而,鋰電池或超級電容的體積雖然較小卻也伴隨電量較少的困擾,在使用時數上無法與AAAA電池動輒數個月的時間相比。鋰電池與超級電容的電量較少,並且使用時間通常僅在數小時至數日的範圍而可能隨時斷電,許多電子裝置因而設計成可收納觸控筆並對其充電。 In the active capacitive pen, there will be a battery to supply power to the electronic components of the pen itself. In order to meet the requirements of long-term power supply and appropriate pen size, many active capacitive pens use AAAA 1.5V alkaline batteries. However, as the stylus is stored in the body, the size of the stylus must be miniaturized and a small-sized lithium battery or super capacitor is used. However, lithium batteries or supercapacitors, although small in size, are also plagued by less power, and cannot be compared to AAAA batteries for several months. Lithium batteries and supercapacitors are less powerful, and their usage time is usually only in the range of hours to days and may be powered off at any time. Many electronic devices are designed to accommodate and charge the stylus.
此外,相較於過往觸控筆可用上數個月而毋須擔心耗電的情形,使用小電量電池的觸控筆時,如何得知觸控筆的電池狀態以適時地充電就顯得更為重要了。在先前技術中,有些觸控筆會藉由藍牙等通訊界面將電池狀態傳送至電子裝置中以供使用者了解,然而,這些通訊界面的電子元件除了耗電的問題,也造成觸控筆的尺寸無法有效縮小。 In addition, compared with the past stylus used for several months without worrying about power consumption, when using a stylus with a small battery, how to know the battery state of the stylus to charge at the right time is more important. It is. In the prior art, some styluses transmit battery status to the electronic device through a communication interface such as Bluetooth for the user to understand. However, in addition to power consumption, the electronic components of these communication interfaces also cause the size of the stylus. Can't effectively shrink.
因此,本發明的目的之一在於提供一種偵測觸控筆之電量的電子裝置,其可以在不需要透過觸控筆傳送剩餘電量資訊至電子裝置的情形下準確地估計出觸控筆之剩餘電量資訊,以解決先前技術的問題。 Therefore, an object of the present invention is to provide an electronic device for detecting the power of a stylus, which can accurately estimate the remaining of the stylus without transmitting the remaining power information to the electronic device through the stylus. Power information to solve problems with prior art.
在本發明的一個實施例中,揭露了一種電子裝置,其包含了一觸控螢幕、一記錄電路以及一信號處理電路。在該電子裝置的操作上,該觸控螢幕用以接收一觸控筆的複數個輸入信號;該記錄電路用以估計該觸控筆操作在一主動模式的一第一時間長度以及一閒置模式的一第二時間長度;以及該信號處理電路依據該第一時間長度及該第二時間長度來計算該觸控筆的一剩餘電量資訊,以及設置該觸控螢幕顯示該剩餘電量資訊;其中該記錄電路將該觸控螢幕接收該觸控筆的該複數個輸入信號的複數個第一時段,計入該第一時間長度;並且將該觸控螢幕接收該觸控筆的該複數個輸入信號之間大於一第一預設時間長度的複數個第二時段,計入該第二時間長度。 In an embodiment of the invention, an electronic device is disclosed that includes a touch screen, a recording circuit, and a signal processing circuit. In the operation of the electronic device, the touch screen is configured to receive a plurality of input signals of a stylus; the recording circuit is configured to estimate a first time length of the stylus operating in an active mode and an idle mode a second time length; and the signal processing circuit calculates a remaining battery information of the stylus according to the first time length and the second time length, and sets the touch screen to display the remaining battery information; The recording circuit receives the plurality of first time periods of the plurality of input signals of the stylus and counts the first time period; and the touch screen receives the plurality of input signals of the stylus A plurality of second time periods greater than a first predetermined time length are included in the second time length.
110‧‧‧電子裝置 110‧‧‧Electronic devices
112‧‧‧觸控螢幕 112‧‧‧Touch screen
114‧‧‧記錄電路 114‧‧‧recording circuit
116‧‧‧信號處理電路 116‧‧‧Signal Processing Circuit
118‧‧‧充電電路 118‧‧‧Charging circuit
120‧‧‧觸控筆 120‧‧‧ stylus
122‧‧‧導電式筆尖 122‧‧‧Conductive nib
124‧‧‧壓力感測器 124‧‧‧pressure sensor
126‧‧‧控制電路 126‧‧‧Control circuit
128‧‧‧電池 128‧‧‧Battery
400~406‧‧‧步驟 400~406‧‧‧Steps
第1圖為本發明一實施例之一電子裝置以及一觸控筆的示意圖。 FIG. 1 is a schematic diagram of an electronic device and a stylus according to an embodiment of the invention.
第2圖為本發明一實施例之觸控筆操作在主動模式以及閒置模式的示意圖。 FIG. 2 is a schematic diagram of the stylus operating in an active mode and an idle mode according to an embodiment of the invention.
第3圖為本發明一實施例之觸控筆操作在主動模式、閒置模式以及休眠模式的示意圖。 FIG. 3 is a schematic diagram of the stylus operating in an active mode, an idle mode, and a sleep mode according to an embodiment of the invention.
第4圖繪示了本發明一實施例之一種偵測一觸控筆之電量的方法的流程圖。 FIG. 4 is a flow chart of a method for detecting the power of a stylus according to an embodiment of the invention.
第1圖為本發明一實施例之一電子裝置110以及一觸控筆120的示意圖。如第1圖所示,電子裝置110包含一觸控螢幕112、一記錄電路114、一信號處理電路116以及一充電電路118,且觸控筆120包含一導電式筆尖122、一壓力感測器124、一控制電路126以及一電池128。在本實施例中,電子裝置110可以是筆記型電腦、智慧型手機、平板電腦或是任何包含觸控螢幕且可以透過觸控筆120來操控的電子裝置,觸控筆120可以是任何包含可充電電池的觸控筆,且觸控筆120本身並不包含用以將電池128之電量資訊傳送給電子裝置110的有線或無線通訊元件。 FIG. 1 is a schematic diagram of an electronic device 110 and a stylus 120 according to an embodiment of the invention. As shown in FIG. 1 , the electronic device 110 includes a touch screen 112 , a recording circuit 114 , a signal processing circuit 116 , and a charging circuit 118 . The stylus 120 includes a conductive tip 122 and a pressure sensor. 124. A control circuit 126 and a battery 128. In this embodiment, the electronic device 110 can be a notebook computer, a smart phone, a tablet computer, or any electronic device including a touch screen and can be controlled by the stylus pen 120. The stylus pen 120 can be any included The stylus of the rechargeable battery, and the stylus 120 itself does not include a wired or wireless communication component for transmitting power information of the battery 128 to the electronic device 110.
在觸控筆120的操作中,電池128用來供電至控制電路126,以供控制電路126控制觸控筆120內部元件的運作,其中控制電路126可以包含內部處理電路以及相關的充電及供電電路;壓力感測器124用以偵測導電式筆尖122是否碰觸到觸控螢幕112。 In operation of stylus 120, battery 128 is used to power control circuit 126 for control circuit 126 to control the operation of internal components of stylus 120, wherein control circuit 126 may include internal processing circuitry and associated charging and powering circuitry The pressure sensor 124 is configured to detect whether the conductive tip 122 touches the touch screen 112.
在電子裝置110的操作中,觸控螢幕112用來接收觸控筆112的碰觸來產生對應的動作,記錄電路114用以偵測觸控螢幕112接收觸控筆120接觸的時間點,以估計出觸控筆120在不同操作模式下的時間長度,且信號處理電路116根 據記錄電路114所估計出之觸控筆120在不同操作模式下的時間長度來計算出觸控筆120之電池128的一剩餘電量資訊。此外,充電電路118用來對觸控筆120的電池120進行充電。 In the operation of the electronic device 110, the touch screen 112 is configured to receive a touch of the stylus 112 to generate a corresponding action, and the recording circuit 114 is configured to detect a time point at which the touch screen 112 receives the contact of the stylus 120. Estimating the length of time that the stylus 120 is in different operating modes, and the signal processing circuit 116 A remaining battery information of the battery 128 of the stylus 120 is calculated based on the length of time that the stylus 120 is estimated in the different operating modes. In addition, the charging circuit 118 is used to charge the battery 120 of the stylus 120.
在本發明的一個實施例中,觸控筆120可操作在一主動模式以及一閒置模式,其中主動模式主要是當使用者手寫繪圖之時,筆尖受壓力下持續開始書寫的時間,可視為筆壓持續時間;而閒置模式可視為觸控筆120的休息時間,亦可為未有筆壓的一筆懸空時間(Pen Hover),其中主動模式的耗電量高於閒置模式的耗電量。在觸控筆120的操作上,因為使用者使用觸控筆120書寫過程中可能會中斷,例如十分鐘後才畫下一筆,所以用於計算主動模式的時間為各次筆壓持續時間的總和。此外,在設計上為求每次使用觸控筆120書寫不延遲,所以不會在筆壓一停止就立即進入閒置模式,而會設置一預定時間(例如5分鐘)以作為一延遲,亦即當觸控筆120離開觸控螢幕112後的5分鐘內,觸控筆120仍然會操作在主動模式;而當觸控筆120離開觸控螢幕112後的5分鐘後,觸控筆120才會進入到閒置模式。 In one embodiment of the present invention, the stylus 120 is operable in an active mode and an idle mode, wherein the active mode is mainly a time when the user continues to start writing under pressure when the user writes a handwriting, which can be regarded as a pen. The idle mode can be regarded as the rest time of the stylus 120, or a pen hover time without a pen pressure, wherein the active mode consumes more power than the idle mode. In the operation of the stylus pen 120, since the user may interrupt during writing using the stylus pen 120, for example, after ten minutes, the time for calculating the active mode is the sum of the durations of the respective pen pressures. . In addition, in order to write no delay for each use of the stylus pen 120, the idle mode is not immediately entered when the pen pressure is stopped, and a predetermined time (for example, 5 minutes) is set as a delay, that is, The stylus 120 will still operate in the active mode within 5 minutes after the stylus 120 leaves the touch screen 112; and the stylus 120 will be detached 5 minutes after the stylus 120 leaves the touch screen 112. Enter the idle mode.
第2圖繪示了觸控筆120操作在不同模式的示意圖。在第2圖中,一開始由於使用者頻繁地使用觸控筆120來接觸觸控螢幕112(亦即,筆觸間隔均小於5分鐘),故觸控筆120會操作在主動模式,接著,在觸控筆120離開觸控螢幕112的5分鐘後觸控筆120才會切換至閒置模式;接著,當使用者再次使用觸控筆120碰觸觸控螢幕112後觸控筆120會再次切換到主動模式。 FIG. 2 is a schematic diagram showing the operation of the stylus 120 in different modes. In FIG. 2, since the user frequently uses the stylus 120 to contact the touch screen 112 (ie, the stroke interval is less than 5 minutes), the stylus 120 operates in the active mode, and then, in The stylus 120 switches to the idle mode after the stylus 120 leaves the touch screen 112 for 5 minutes. Then, when the user touches the touch screen 112 again using the stylus 120, the stylus 120 switches to the stylus 120 again. Active mode.
如上所述,由於電子裝置110內的記錄電路114可以偵測到觸控筆120接觸觸控螢幕112的時間點,因此記錄電路114可以準確地計算出觸控筆120操作 在主動模式以及閒置模式的時間長度。具體來說,記錄電路114可以估計觸控筆120操作在主動模式的一第一時間長度以及閒置模式的一第二時間長度,其中記錄電路114將觸控螢幕112接收觸控筆120的複數個輸入信號的複數個第一時段計入該第一時間長度,將觸控螢幕112接收觸控筆120的該複數個輸入信號之間小於一第一預設時間長度(例如,第2圖所示的5分鐘)的複數個第三時段(例如,第2圖中筆觸間隔小於5分鐘內的每一時段)計入該第一時間長度,並將觸控螢幕112接收觸控筆120的該複數個輸入信號之間大於該第一預設時間長度的複數個第二時段(例如,第2圖中5分鐘未有筆觸後的時段)計入該第二時間長度。另外,由於在設計階段時工程師已經對觸控筆120的主動模式以及閒置模式進行了耗電量(例如,單位時間的平均電流值)的量測,且這些相關資訊可以被儲存在電子裝置110中,因此信號處理電路116可以透過將主動模式的時間長度乘以主動模式的耗電量、再加上閒置模式的時間長度乘以閒置模式的耗電量,以得到目前觸控筆120之電池128的總耗電量。接著,信號處理電路116可以將目前電池128的滿電電量減去所計算出的總耗電量,以得到電池128的一剩餘電量資訊。 As described above, since the recording circuit 114 in the electronic device 110 can detect the time point when the stylus pen 120 contacts the touch screen 112, the recording circuit 114 can accurately calculate the operation of the stylus 120. The length of time in active mode and idle mode. Specifically, the recording circuit 114 can estimate a first time length of the stylus 120 operating in the active mode and a second time length of the idle mode, wherein the recording circuit 114 receives the plurality of touch pens 120 from the touch screen 112. The plurality of first time periods of the input signal are counted in the first time length, and the touch screen 112 receives the plurality of input signals of the stylus 120 less than a first predetermined time length (for example, as shown in FIG. 2 The plurality of third time periods of 5 minutes) (eg, each time period in which the stroke interval is less than 5 minutes in FIG. 2) is included in the first time length, and the touch screen 112 receives the plural number of the stylus 120 A plurality of second time periods between the input signals greater than the first predetermined time length (for example, a period after 5 minutes without a stroke in FIG. 2) are included in the second time length. In addition, since the engineer has measured the power consumption (eg, the average current value per unit time) of the active mode and the idle mode of the stylus 120 at the design stage, and the related information may be stored in the electronic device 110. Therefore, the signal processing circuit 116 can obtain the current battery of the stylus pen by multiplying the length of the active mode by the power consumption of the active mode, and the length of the idle mode by the power consumption of the idle mode. The total power consumption of 128. Then, the signal processing circuit 116 can subtract the calculated total power consumption from the current full power of the battery 128 to obtain a remaining battery information of the battery 128.
在本發明的另一個實施例中,觸控筆120除了可操作在主動模式、閒置模式之外,亦可操作在一個更省電的休眠模式,其中休眠模式為當觸控筆120進入到閒置模式後超過一第二預設時間長度(例如,10分鐘)後才會進入的模式。第3圖繪示了觸控筆120操作在不同模式的示意圖。在第3圖中,一開始由於使用者頻繁地使用觸控筆120來接觸觸控螢幕112(亦即,筆觸間隔均小於5分鐘),故觸控筆120會操作在主動模式,接著,在觸控筆120離開觸控螢幕112的5分鐘後觸控筆120才會切換至閒置模式;接著,使用者再次使用觸控筆120碰觸觸控螢幕112後觸控筆120再次切換到主動模式;接著,由於觸控筆120沒有碰觸觸控螢幕112的時間超過5分鐘,故觸控筆120切換到閒置模式,接著觸控筆120沒有碰 觸觸控螢幕112的時間又超過了10分鐘,故觸控筆120接著切換到休眠模式。 In another embodiment of the present invention, the stylus 120 can operate in a more power-saving sleep mode in addition to the active mode and the idle mode, wherein the sleep mode is when the stylus 120 enters idle state. The mode that enters after the mode exceeds a second preset time length (for example, 10 minutes). FIG. 3 is a schematic diagram showing the operation of the stylus 120 in different modes. In FIG. 3, initially, since the user frequently uses the stylus 120 to contact the touch screen 112 (ie, the stroke interval is less than 5 minutes), the stylus 120 operates in the active mode, and then, in After the stylus 120 leaves the touch screen 112 for 5 minutes, the stylus 120 switches to the idle mode; then, after the user touches the touch screen 112 again using the stylus 120, the stylus 120 switches to the active mode again. Then, since the stylus 120 does not touch the touch screen 112 for more than 5 minutes, the stylus 120 switches to the idle mode, and then the stylus 120 does not touch. The time to touch the touch screen 112 exceeds 10 minutes, so the stylus 120 then switches to the sleep mode.
如上所述,由於電子裝置110內的記錄電路114可以偵測到觸控筆120接觸觸控螢幕112的時間點,因此記錄電路114可以準確地計算出觸控筆120操作在主動模式、閒置模式以及休眠模式的時間長度。具體來說,記錄電路114可以估計觸控筆120操作在主動模式的一第一時間長度、閒置模式的一第二時間長度以及休眠模式的一第三時間長度,其中記錄電路114將觸控螢幕112接收觸控筆120的複數個輸入信號的複數個第一時段計入該第一時間長度,將觸控螢幕112接收觸控筆120的該複數個輸入信號之間小於一第一預設時間長度(例如,第3圖所示的5分鐘)的複數個第三時段(例如,第2、3圖中筆觸間隔小於5分鐘內的每一時段)計入該第一時間長度,將觸控螢幕112接收觸控筆120的該複數個輸入信號之間大於該第一預設時間長度的複數個第二時段(例如,第2圖中5分鐘未有筆觸後的時段)計入該第二時間長度,並將該複數個輸入信號之間大於該第二預設時間長度(例如,第3圖所示的10分鐘)的複數個第四時段計入該第三時間長度。另外,由於在設計階段時工程師已經對觸控筆120的主動模式、閒置模式以及休眠模式進行了耗電量(例如,單位時間的平均電流值)的量測,且這些相關資訊可以被儲存在電子裝置110中,因此信號處理電路116可以透過將主動模式的時間長度乘以主動模式的耗電量、加上閒置模式的時間長度乘以閒置模式的耗電量、再加上休眠模式的時間長度乘以休眠模式的耗電量,以得到目前觸控筆120之電池128的總耗電量。接著,信號處理電路116可以將目前電池128的滿電電量減去所計算出的總耗電量,以得到電池128的剩餘電量資訊。 As described above, since the recording circuit 114 in the electronic device 110 can detect the time point when the stylus 120 contacts the touch screen 112, the recording circuit 114 can accurately calculate that the stylus 120 operates in the active mode and the idle mode. And the length of time in sleep mode. Specifically, the recording circuit 114 can estimate a first time length of the stylus 120 operating in the active mode, a second time length of the idle mode, and a third time length of the sleep mode, wherein the recording circuit 114 will touch the screen The plurality of first time periods of receiving the plurality of input signals of the stylus 120 are counted in the first time length, and the plurality of input signals received by the touch screen 112 receiving the stylus 120 are less than a first preset time. a plurality of third time periods of length (for example, 5 minutes shown in FIG. 3) (for example, each time period in which the stroke interval in FIGS. 2 and 3 is less than 5 minutes) is included in the first time length, and the touch is performed. The screen 112 receives a plurality of second time periods between the plurality of input signals of the stylus 120 that are greater than the first preset time length (eg, a period after 5 minutes without a stroke in FIG. 2) is included in the second The length of time and the plurality of fourth time periods between the plurality of input signals greater than the second predetermined time length (eg, 10 minutes shown in FIG. 3) are included in the third time length. In addition, since the engineer has measured the power consumption (for example, the average current value per unit time) of the active mode, the idle mode, and the sleep mode of the stylus 120 during the design phase, and the related information can be stored in In the electronic device 110, the signal processing circuit 116 can multiply the power consumption of the active mode by the power consumption of the active mode, the length of the idle mode, the power consumption of the idle mode, and the time of the sleep mode. The length is multiplied by the power consumption of the sleep mode to obtain the total power consumption of the battery 128 of the current stylus 120. Then, the signal processing circuit 116 can subtract the calculated total power consumption from the current full power of the battery 128 to obtain the remaining power information of the battery 128.
另外,電池128本身也會有電池壽命,而透過事前預估,電池128的滿電電量會隨充電次數進行衰減,如放電深度80%(總使用電量剩餘20%)實施了 625次後,電池128的滿電電量會僅剩原始容量的80%,因此更精準的計算上滿電電池電量可取代為滿電電池電量乘以降額率(De-rating)。具體來說,信號處理電路116可以在每一次觸控筆120透過電子裝置110進行充電時進行記錄,並統計觸控筆120總共進行了多少次的充電,以估計出目前電池128的滿電電量,以使得上述所計算出之電池128的剩餘電量資訊能夠更準確。 In addition, the battery 128 itself will have battery life, and through the prior estimation, the full power of the battery 128 will be attenuated with the number of times of charging, such as 80% of the discharge depth (20% of the total used electricity) After 625 times, the full power of the battery 128 will only be 80% of the original capacity, so a more accurate calculation of the full battery power can be replaced by the full battery power multiplied by the de-rating rate (De-rating). Specifically, the signal processing circuit 116 can record each time the stylus 120 is charged by the electronic device 110, and count how many times the stylus 120 is charged to estimate the current full charge of the battery 128. So that the remaining battery information of the battery 128 calculated above can be more accurate.
此外,當觸控筆120透過電子裝置110進行充電且充到滿電電量時,信號處理電路116以及記錄電路114會重置(reset)所記錄之觸控筆120在各個模式的操作時間長度,亦即當觸控筆120的電池128充到滿電電量時,要重新開始計算每個模式的操作時間長度,以避免後續在計算剩餘電量資訊時發生錯誤。 In addition, when the stylus 120 is charged by the electronic device 110 and charged to a full charge, the signal processing circuit 116 and the recording circuit 114 reset the recorded operation time of the stylus 120 in each mode. That is, when the battery 128 of the stylus pen 120 is fully charged, the operation time length of each mode is restarted to avoid an error in the subsequent calculation of the remaining battery information.
此外,信號處理電路116所計算出之剩餘電量資訊可以被顯示在觸控螢幕上112以供使用者參考。至於在表達方式上剩餘電量資訊可以有多種不同的呈現方式,例如可使用電量百分比、可使用時間、已使用多久...等等,且也可以利用文字或圖表表示當時現況、預測尚能連續使用的時間、尚能使用的時間、或快充後馬上可使用的時間。此外,剩餘電量資訊亦可被來作為護眼提醒。 In addition, the remaining power information calculated by the signal processing circuit 116 can be displayed on the touch screen 112 for reference by the user. As for the remaining battery information in the expression, there are many different ways of presentation, such as the percentage of available electricity, the available time, how long it has been used, etc., and can also use words or graphs to indicate the current situation and predict that it can continue. The time of use, the time that can still be used, or the time available immediately after fast charging. In addition, the remaining battery information can also be used as an eye protection reminder.
第4圖繪示了本發明一實施例之一種偵測一觸控筆之電量的方法的流程圖。參考以上所揭露的內容,流程如下所述:步驟400:流程開始。 FIG. 4 is a flow chart of a method for detecting the power of a stylus according to an embodiment of the invention. Referring to the above disclosure, the process is as follows: Step 400: The process begins.
步驟402:偵測該觸控筆與一觸控螢幕接觸的時間點,以判斷該觸控筆操作在一主動模式以及一閒置模式的時間長度。 Step 402: Detect a time point at which the stylus is in contact with a touch screen to determine a length of time during which the stylus operates in an active mode and an idle mode.
步驟404:根據該觸控筆操作在該主動模式以及該閒置模式的時間長度,以計算出該觸控筆的一剩餘電量資訊。 Step 404: Calculate a remaining battery information of the stylus according to the length of time in which the stylus operates in the active mode and the idle mode.
步驟406:將該觸控筆的該剩餘電量資訊顯示於該觸控螢幕上。 Step 406: Display the remaining battery information of the stylus on the touch screen.
簡要歸納本發明,在本發明之偵測觸控筆之電量的方法中,透過電子裝置根據觸控筆與觸控螢幕接觸的時間點,以估計出觸控筆操作在主動模式以及閒置模式,或是觸控筆操作在主動模式、閒置模式以及休眠模式的時間長度,以計算出觸控筆的總耗電量之後以得到剩餘電量資訊。在本發明中,電子裝置在計算觸控筆的剩餘電量資訊時,並不會自觸控筆接收任何電量相關資訊,亦即觸控筆可以不需要設置與電子裝置聯繫的無線通訊元件,因此可以縮小觸控筆的體積並降低製造成本,且也省下了先前技術中使用無線通訊傳輸電量訊息的功率消耗。 Briefly summarized in the present invention, in the method for detecting the power of the stylus of the present invention, the electronic device is used to estimate the stylus operation in the active mode and the idle mode according to the time point at which the stylus is in contact with the touch screen. Or the length of time the stylus operates in the active mode, the idle mode, and the sleep mode to calculate the total power consumption of the stylus to obtain the remaining power information. In the present invention, the electronic device does not receive any power related information from the stylus when calculating the remaining power information of the stylus, that is, the stylus does not need to set a wireless communication component that is associated with the electronic device, so It can reduce the size of the stylus and reduce the manufacturing cost, and also saves the power consumption of the prior art using wireless communication to transmit power information.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107120446A TWI669639B (en) | 2018-06-14 | 2018-06-14 | Electronic device for detecting power of stylus pen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107120446A TWI669639B (en) | 2018-06-14 | 2018-06-14 | Electronic device for detecting power of stylus pen |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI669639B true TWI669639B (en) | 2019-08-21 |
TW202001502A TW202001502A (en) | 2020-01-01 |
Family
ID=68316728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107120446A TWI669639B (en) | 2018-06-14 | 2018-06-14 | Electronic device for detecting power of stylus pen |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI669639B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876871A (en) * | 2009-04-30 | 2010-11-03 | 统宝光电股份有限公司 | Image display system and input position judging method |
CN103235271A (en) * | 2013-04-25 | 2013-08-07 | 苏州瀚瑞微电子有限公司 | Method of detecting power of touch pen |
TW201344508A (en) * | 2012-04-26 | 2013-11-01 | Acer Inc | Touch detecting method and touch control device using the same |
TW201416914A (en) * | 2012-10-17 | 2014-05-01 | Pixart Imaging Inc | Coordinate positioning module, optical touch system, method of detecting power of an active stylus, and method of switching modes of the active stylus |
TWM521214U (en) * | 2015-11-27 | 2016-05-01 | Emright Technology Co Ltd | Active stylus |
-
2018
- 2018-06-14 TW TW107120446A patent/TWI669639B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101876871A (en) * | 2009-04-30 | 2010-11-03 | 统宝光电股份有限公司 | Image display system and input position judging method |
TW201344508A (en) * | 2012-04-26 | 2013-11-01 | Acer Inc | Touch detecting method and touch control device using the same |
TW201416914A (en) * | 2012-10-17 | 2014-05-01 | Pixart Imaging Inc | Coordinate positioning module, optical touch system, method of detecting power of an active stylus, and method of switching modes of the active stylus |
CN103235271A (en) * | 2013-04-25 | 2013-08-07 | 苏州瀚瑞微电子有限公司 | Method of detecting power of touch pen |
TWM521214U (en) * | 2015-11-27 | 2016-05-01 | Emright Technology Co Ltd | Active stylus |
Also Published As
Publication number | Publication date |
---|---|
TW202001502A (en) | 2020-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9081569B2 (en) | Active stylus force sensing mechanism for generating a wakeup interrupt to the controller | |
JP3156466U (en) | Power saving management device | |
US11275423B2 (en) | Low-power touch button sensing system | |
WO2018120236A1 (en) | Battery charging method, charging device and terminal equipment | |
US20130285942A1 (en) | Touch detection method and touch control device using the same | |
US8990038B2 (en) | Method and apparatus for monitoring battery life | |
WO2018223395A1 (en) | Management method and apparatus for wearable smart device | |
CN101598986B (en) | Touch detection device capable of saving power source consumption | |
US10175741B2 (en) | Touch sensor mode transitioning | |
CN109040467A (en) | Interface electricity determines method, apparatus, storage medium and mobile terminal | |
JP2008547107A (en) | Contact reset system and method for electronic devices | |
CN102999291A (en) | Method for waking up mobile terminal in standby state | |
TWI669639B (en) | Electronic device for detecting power of stylus pen | |
TWI566166B (en) | Method for image controlling and portable electronic apparatus using the same | |
CN105117078A (en) | Systems and methods for capacitive touch detection | |
CN102023698B (en) | Electricity-saving managing method and system for computer peripheral devices | |
CN106547334A (en) | Handheld device and the method for controlling handheld device wake-up and dormancy | |
CN112666467A (en) | Battery leakage current detection method and device, electronic equipment and readable storage medium | |
JP5135463B1 (en) | Electronic equipment, power consumption measurement method | |
CN106843440B (en) | A kind of mobile terminal restarts control method, device and mobile terminal | |
CN109144811A (en) | A kind of application monitoring method, device and mobile terminal | |
EP2741170A1 (en) | Active stylus force sensing mechanism for generating a wakeup interrupt to the stylus controller | |
US9297894B2 (en) | Electronic device for preventing an accidental touch and operating method thereof | |
CN105243251A (en) | Multifunctional calendar with touch screen | |
EP2657827A2 (en) | Touch detection method and touch control device using the same |