1222008 玖、發明說明: 【發明所屬之技術領域】 本發明係關於一種手寫筆,尤其係關於一種可彎曲式之壓力感 應手寫筆,其可以根據手寫筆之軟性筆頭之形變程度,來計算出 使用者之書寫力道,以模擬出不同風格之筆觸模式。 【先前技術】 近幾年來,手寫裝置已經成為愈來愈普遍的輸入裝置。一般 而言,手寫裝置係包含一個手寫板以及一支手寫筆,使用者可以 利用手寫筆在手寫板上書寫,以取代利用鍵盤輸入資料的方式。 常見的手寫裝置包含Tablet PC,其具有一平板手寫液晶螢幕以及 一電磁感應式觸控筆(有線/無線),以及WACOM數位版、繪圖 版,其包含感應式繪圖板(數位版)以及(有線/無線)感應筆。 除此之外,使用者必須安裝辨識軟體,例如Photoshop等繪囷軟 體,於電腦中,以用來辨識使用者利用手寫裝置所輸入的文字。 辨識軟體必須辨識出手寫筆在手寫板上之位置,即座標位置 (X,Y)以及使用者書寫的力道,即壓力值Z,才可以模擬出不同 風格的筆觸。然而,由於所獲得的資料有限,因此,目前的繪圖 軟體,例如Photoshop、CorelDraw、Painter等,只能模擬鋼筆、 炭筆、粉筆之筆觸,而無法模擬毛筆、水彩筆、油畫筆等軟性筆 之筆觸,而造成其模擬功能的侷限。在習知技術中,有發展出筆 6 1222008 觸模擬軟體來模擬軟性筆的筆觸,以彌補資料之不足,但是軟體 模擬必須耗費較多的計算資源,因此現階段而言較難實現。 【發明内容】 因此,本發明之主要目的在於提供一種可彎曲式之壓力感應 手寫筆,其可以根據手寫筆之軟性筆頭之形變程度,來計算出使 用者之書寫力道,以模擬出毛筆、水彩筆、油畫筆等軟性筆之筆 觸,使得繪圖軟體之模擬功能更趨完備,又不需耗費太多的計算 資源。 本發明之手寫筆係經由一訊號傳輸線連接於一主系統,如電 腦,並且搭配一手寫板來使用。手寫筆包含一筆桿;一筆頭,連 接於筆桿之一端,其係以軟性材質所製成;一齒輪,安裝於筆頭 之内,其中當筆頭產生形變時,齒輪會根據形變程度,產生相對 應之轉動;一轉動速度偵測器,安裝於筆頭内,用來偵測齒輪之 轉動,並且根據齒輪之直徑與齒輪之齒長度,計算出一轉動速度 資料以及一轉動方向資料;以及一壓力值產生器,連接於轉動速 度偵測器,用來接收轉動速度資料與轉動方向資料,並且根據轉 動速度資料與轉動方向資料,產生一壓力值。其中壓力值會連同 手寫筆在手寫板上之位置座標,經由訊號傳輸線傳送至主系統。 【實施方式】 請參考第1圖。第1圖為本發明之手寫筆10之示意圖。手寫 7 筆10係經由一訊號傳輸線12連接於一主系統(未顯示),例如一 電腦,而手寫筆10係搭配一手寫板14來使用。如圖所示,手寫 筆10包含一筆桿16 ;以及一筆頭18,連接於筆桿16之一端。其 中,筆頭18係以軟性材質所製成,例如,橡膠、塑膠,其特點係 受到壓力時會產生形變,而在壓力釋放之後,則會回復原本的狀 態。如第1圖所示,筆頭18的形狀係模仿毛筆之幾何形狀,以模 擬毛筆之筆觸。 請參考第2圖。第2圖為手寫筆10之系統架構圖。手寫筆10 另包含一齒輪20; —轉動速度偵測器22; —筆尖24;以及一中心 桿26。中心桿26包含一第一桿28,自筆桿16延伸至筆頭18; — 第二桿30,位於筆頭18内;以及一彈簧32,用來將第一桿28連 接於第二桿30。彈簧32可為一扭力彈簧或一拉簧,使得手寫筆 10會因受力而彎曲,而在力消失時,手寫筆10則會恢復原本筆直 的狀態。 如第2圖所示,筆尖24係連接於第二桿30之一端,以延伸 突出於筆頭18,而齒輪20係安裝於中心桿26之側邊,且位於第 一桿28以及第二桿30之間。轉動速度偵測器22則係安裝於第一 桿28之側邊,且位於齒輪20之上端。轉動速度偵測器22係用來 偵測齒輪20轉動時之磁力變化,並且根據齒輪20之直徑與齒之 長度來計算轉動瞬間的速度。轉動速度偵測器22可以採用Philips 公司所製造之KMI22/1裝置,其不但可以偵測齒輪20之轉動速 1222008 度,還能計算其轉動方向。 請參考第3圖。第3圖為手寫筆10之筆頭18發生形變之示 意圖。由於手寫筆10之筆頭18係利用軟性材質所製成,因此會 因為使用者書寫力道的不同而發生不同程度之形變。如圖所示, 當筆頭18產生形變時,彈簧32會因為受力而彎曲。由於彈簧32 係連接第一桿28與第二桿30,因此當彈簧32因受力不同而產生 不同程度的彎曲時,第一桿28與第二桿30之間之夾角也會發生 不同的變化。此外,因為齒輪20係位於第一桿28以及第二桿30 之間,第一桿28與第二桿30之間之夾角變化,會導致齒輪20發 生不同程度的轉動,包含速度上的不同與方向上的不同。換句話 說,當筆頭18產生形變時,齒輪20會根據其形變程度,產生相 對應之轉動。 請參考第4圖。第4圖為手寫筆10之齒輪20與轉動速度偵 測器22之示意圖。轉動速度偵測器22係位於齒輪20之上方。齒 輪20具有複數個齒52。當齒輪20發生轉動時,位於其上方之轉 動速度偵測器22會偵測齒輪20之轉動,並且根據齒輪20之直徑 與齒輪20之齒長度,計算出一轉動速度資料以及一轉動方向資料。 請參考第5圖。第5圖為手寫筆10之電路方塊圖。手寫筆10 另包含一位置感測器34,安裝於筆尖24内,用來感測筆尖24在 手寫板14上之位置座標,即(X,Y);以及一壓力值產生器36, 連接於轉動速度偵測器22,用來接收齒輪20之轉動速度資料與轉 9 1222008 動方向資料,並且根據轉動速度資料與轉動方向資料,產生一壓 力值Z。其中位置座標(X,Y)係連同壓力值Z,經由訊號傳輸線 12傳送至主系統。 如第5圖所示,壓力值產生器36包含一訊號處理器38,用來 接收齒輪20之轉動速度資料與轉動方向資料,並且根據轉動速度 資料與轉動方向資料產生齒輪20之一切線轉動速度;以及一壓力 訊號轉換器46,連接於訊號處理器38,用來接收切線轉動速度, 並且根據切線轉動速度,產生壓力值Ζ。 訊號處理器38包含一位置感測器40,一方向感測器42,以 及一切線轉動速度產生器44。位置感測器40係用來感測齒輪20 之轉動位置。當位置感測器40感測到齒輪20之齒52時,其會輸 出一位置信號。方向感測器42係用來感測齒輪20之轉動方向, 以產生一方向信號。當齒輪20之轉動方向為順時針時,方向信號 為1,而當20齒輪之轉動方向為逆時針時,方向信號則為·1。 切線轉動速度產生器44係連接於位置與方向感測器40、42, 用來接收位置信號與方向信號。切線轉動速度產生器44會利用齒 輪20之周長除以齒輪20之齒數,以計算出每兩個齒52間之齒間 距離,並且利用齒間距離除以每兩個位置信號之間隔時間,以計 算出齒輪20之切線轉動速率,並且根據方向信號,決定切線轉動 速率之方向,以取得一切線轉動速度。 因此,切線轉動速度之計算公式係表示為: 10 切線轉動速度=土1 之周長 1 _齒輪之齒數 ^^時辑〇 如第5圖所示,壓力訊號轉換器46包含一角度計算器48以 及〆角度-壓力轉換器5〇。角度計算器48係用來接收切線轉動速 度虞生器44所產生之切線轉動速度,並且根據切線轉動速度計算 出筆頭18之彎曲角度A,而角度-壓力轉換器50係連接於角度計 算器48’用來接收彎曲角度巧,並且根據彎曲角度巧產生壓力值& 請參考第6囷。第6圖為筆頭18之寶曲角度之示意圖。如上 所述‘筆頭丨8產生彎曲形變時,第一桿28與第二桿3〇之間之 夾角也會發生變化。在本實施例中,係將筆頭18之彎曲角度定義 為第6圖所示之角度沒。 為了计算出筆頭18在時間t+以時之彎曲角度内,角度計算 器48必須包含下列已知參數。其中,4示筆頭狀長度;巧表 示在時間t時筆頭18之弯曲角度4表示齒輪2〇在時間t時之轉 動角加速度、表示齒輪2G在時間以轉動角速度;以及〜表示 一個單位時間。 角度計算器所接收到之切線轉動速度係表示為V其表示齒輪 在時間t+辦之切線轉動逮度。因此,齒輪2〇在時間t+_ 之轉動角速度%係表示為: 25*2 = 0 r 因此,齒輪20在時間t+㈣之轉動角加速度•表示為: 〜-,1) 〇 At 1222008 因此,彎曲角度巧之計算公式係表示為: 請參考第7圖。第7圖係顯示筆頭18之彎曲角度Θ與手寫筆 10所受之壓力值Ζ之間之變化關係之角度-壓力變化表。此角度· 壓力變化表係預先設定的,並且存在於角度-壓力轉換器50之中。 角度-壓力轉換器50會利用此預設之角度-壓力變化表,產生一壓 力值計算公式,並且將筆頭18在時間t+心時之彎曲角度内代入 此壓力值計算公式中,以產生壓力值Ζ。其計算公式為: 籲 Κ^θ ,if〇<0<0a Ζ = 12*(Θ-怂)+&*怂 M0a<e<eb ; 尤3 *(夕一怂)+尤2 *(怂—怂)+A *么 ΛΪ㈣k 其中尤7、A、心為預先設定之斜率,而^與^則係預先設 定之角度值。 請參考第8圖。第8圖為本發明之手寫筆54之另一實施例之 示意圖。手寫筆54之筆頭56的形狀係設計成模仿水彩筆之幾何 形狀,以模擬水彩筆之筆觸。 _ 綜上所述,本發明之手寫筆10、54之筆頭18、56係利用軟 性材質製成,其形狀則分別模仿毛筆與水彩筆之幾何形狀,而手 寫筆10、54會根據筆頭18、56之形變程度,來計算出使用者之 書寫力道,以分別模擬出毛筆與水彩筆之筆觸。 綜上所陳,本發明無論就目的、手段及功效,在在均顯示其 迥異於習知技術之特徵,為一大突破,懇請貴審査委員明察, 12 1222008 早曰賜准專利,俾嘉惠社會,實感德便。惟須注意,上述實施例 僅為例示性說明本發明之原理及其功效,而非用於限制本發明之 範圍。任何熟於此項技藝之人士均可在不違背本發明之技術原理 及精神下,對實施例作修改與變化。本發明之權利保護範圍應如 後述之申請專利範圍所述。1222008 发明 Description of the invention: [Technical field to which the invention belongs] The present invention relates to a stylus, in particular to a bendable pressure-sensitive stylus, which can be calculated and used according to the degree of deformation of the soft tip of the stylus. The writing force of the person, in order to simulate the stroke pattern of different styles. [Prior Art] In recent years, handwriting devices have become more and more popular input devices. Generally speaking, a handwriting device includes a stylus and a stylus. Users can use the stylus to write on the stylus instead of using the keyboard to input data. Common handwriting devices include a Tablet PC, which has a tablet handwriting LCD screen and an electromagnetic induction stylus (wired / wireless), and a WACOM digital version and a drawing version, which includes an inductive drawing tablet (digital version) and (wired / Wireless) sensor pen. In addition, the user must install recognition software, such as drawing software such as Photoshop, on the computer to recognize the text entered by the user using a handwriting device. The recognition software must recognize the position of the stylus on the tablet, that is, the coordinate position (X, Y) and the force of the user's writing, that is, the pressure value Z, in order to simulate different styles of strokes. However, due to the limited data obtained, current drawing software, such as Photoshop, CorelDraw, Painter, etc., can only simulate the strokes of pens, charcoal pens, and chalk, but cannot simulate the soft pens such as brushes, watercolor pens, and oil brushes. Strokes, which limits its analog capabilities. In the conventional technology, pen 6 1222008 has been developed to simulate the strokes of soft pens to make up for the lack of data. However, software simulation must consume more computing resources, so it is difficult to achieve at this stage. [Summary of the Invention] Therefore, the main object of the present invention is to provide a bendable pressure-sensitive stylus pen, which can calculate the writing force of a user according to the degree of deformation of the soft tip of the stylus pen to simulate a brush, watercolor The strokes of soft pens such as pens and oil brushes make the simulation functions of drawing software more complete without consuming too much computing resources. The stylus pen of the present invention is connected to a host system, such as a computer, via a signal transmission line, and is used with a stylus tablet. The stylus pen includes a pen; a pen connected to one end of the pen, which is made of a soft material; a gear, which is installed in the pen, and when the pen is deformed, the gear will correspond to the degree of deformation. Rotation; a rotation speed detector installed in the pen head to detect the rotation of the gear, and calculate a rotation speed data and a rotation direction data according to the gear diameter and gear tooth length; and a pressure value generation The device is connected to the rotation speed detector, and is used for receiving the rotation speed data and the rotation direction data, and generating a pressure value according to the rotation speed data and the rotation direction data. The pressure value will be transmitted to the main system through the signal transmission line together with the position coordinates of the stylus on the tablet. [Embodiment] Please refer to FIG. 1. FIG. 1 is a schematic diagram of a stylus pen 10 according to the present invention. The stylus 7 pen 10 is connected to a host system (not shown), such as a computer, via a signal transmission line 12, and the stylus pen 10 is used with a stylus 14. As shown, the stylus pen 10 includes a pen 16 and a pen 18 connected to one end of the pen 16. Among them, the pen tip 18 is made of a soft material, such as rubber and plastic, which is characterized by deformation when subjected to pressure, and returns to its original state after the pressure is released. As shown in Fig. 1, the shape of the pen tip 18 mimics the geometry of a brush to simulate brush strokes. Please refer to Figure 2. FIG. 2 is a system architecture diagram of the stylus 10. The stylus pen 10 further includes a gear 20;-a rotational speed detector 22;-a pen tip 24; and a center rod 26. The center rod 26 includes a first rod 28 extending from the pen rod 16 to the pen head 18; a second rod 30 located in the pen head 18; and a spring 32 for connecting the first rod 28 to the second rod 30. The spring 32 may be a torsion spring or a tension spring, so that the stylus pen 10 will bend due to the force, and when the force disappears, the stylus pen 10 will return to the original straight state. As shown in FIG. 2, the pen tip 24 is connected to one end of the second lever 30 so as to extend beyond the pen tip 18, and the gear 20 is mounted on the side of the center lever 26 and is located on the first lever 28 and the second lever 30 between. The rotational speed detector 22 is mounted on the side of the first lever 28 and is located on the upper end of the gear 20. The rotation speed detector 22 is used to detect a change in magnetic force when the gear 20 rotates, and calculates the speed at the moment of rotation based on the diameter of the gear 20 and the length of the teeth. The rotation speed detector 22 can be a KMI22 / 1 device manufactured by Philips, which can not only detect the rotation speed 1222008 degrees of the gear 20, but also calculate its rotation direction. Please refer to Figure 3. FIG. 3 is a view showing the deformation of the pen tip 18 of the stylus pen 10. Since the stylus 18 of the stylus 10 is made of a soft material, it will be deformed to different degrees due to the different writing strength of the user. As shown in the figure, when the pen tip 18 is deformed, the spring 32 is bent due to the force. Since the spring 32 connects the first rod 28 and the second rod 30, when the spring 32 is bent to different degrees due to different forces, the angle between the first rod 28 and the second rod 30 will also change differently. . In addition, because the gear 20 is located between the first lever 28 and the second lever 30, the change in the angle between the first lever 28 and the second lever 30 will cause the gear 20 to rotate to different degrees, including the difference in speed and Different directions. In other words, when the pen tip 18 is deformed, the gear 20 will rotate correspondingly according to the degree of deformation. Please refer to Figure 4. FIG. 4 is a schematic diagram of the gear 20 and the rotation speed detector 22 of the stylus 10. The rotation speed detector 22 is located above the gear 20. The gear 20 has a plurality of teeth 52. When the gear 20 rotates, the rotation speed detector 22 located above it detects the rotation of the gear 20, and calculates a rotation speed data and a rotation direction data according to the diameter of the gear 20 and the tooth length of the gear 20. Please refer to Figure 5. FIG. 5 is a circuit block diagram of the stylus 10. The stylus pen 10 further includes a position sensor 34 installed in the pen tip 24 to sense the position coordinates of the pen tip 24 on the tablet 14 (ie, (X, Y)); and a pressure value generator 36 connected to The rotation speed detector 22 is used for receiving the rotation speed data and the rotation direction data of the gear 20 and the rotation direction data, and generates a pressure value Z according to the rotation speed data and the rotation direction data. The position coordinates (X, Y) are transmitted to the main system via the signal transmission line 12 together with the pressure value Z. As shown in FIG. 5, the pressure value generator 36 includes a signal processor 38 for receiving the rotational speed data and the rotational direction data of the gear 20, and generating all the linear rotational speeds of the gear 20 according to the rotational speed data and the rotational direction data. And a pressure signal converter 46 connected to the signal processor 38 for receiving the tangential rotation speed and generating a pressure value Z according to the tangential rotation speed. The signal processor 38 includes a position sensor 40, a direction sensor 42, and an all-line rotation speed generator 44. The position sensor 40 is used to sense the rotational position of the gear 20. When the position sensor 40 senses the teeth 52 of the gear 20, it outputs a position signal. The direction sensor 42 is used to sense the rotation direction of the gear 20 to generate a direction signal. When the rotation direction of the gear 20 is clockwise, the direction signal is 1, and when the rotation direction of the 20 gear is counterclockwise, the direction signal is · 1. The tangential rotation speed generator 44 is connected to the position and direction sensors 40 and 42 and is used for receiving position signals and direction signals. The tangential rotation speed generator 44 divides the perimeter of the gear 20 by the number of teeth of the gear 20 to calculate the inter-tooth distance between every two teeth 52, and uses the inter-tooth distance to divide the interval time between every two position signals. The tangential rotation rate of the gear 20 is calculated, and the direction of the tangential rotation rate is determined according to the direction signal, so as to obtain all linear rotation speeds. Therefore, the calculation formula of the tangential rotation speed is expressed as: 10 tangential rotation speed = the circumference of soil 1 1 _ the number of teeth of the gear ^^ series 0 As shown in Figure 5, the pressure signal converter 46 includes an angle calculator 48 And 〆 angle-pressure converter 50. The angle calculator 48 is used to receive the tangent rotation speed generated by the tangential rotation speed 44 and calculate the bending angle A of the pen 18 according to the tangent rotation speed. The angle-pressure converter 50 is connected to the angle calculator 48. 'Used to receive the bending angle, and generate a pressure value based on the bending angle, please refer to Section 6 囷. FIG. 6 is a schematic diagram of the angle of the treasure of the pen 18. As described above, when the pen tip 8 undergoes a bending deformation, the angle between the first lever 28 and the second lever 30 will also change. In this embodiment, the bending angle of the pen tip 18 is defined as the angle shown in FIG. In order to calculate the bending angle of the pen tip 18 over time t +, the angle calculator 48 must include the following known parameters. Among them, 4 indicates the pen-like length; cleverly indicates the bending angle of the pen 18 at time t, 4 represents the rotational angular acceleration of the gear 20 at time t, and represents the angular velocity of the gear 2G at time; and ~ represents a unit time. The tangential rotation speed received by the angle calculator is expressed as V, which represents the tangent rotation catch of the gear at time t +. Therefore, the rotational angular velocity% of the gear 20 at time t + _ is expressed as: 25 * 2 = 0 r Therefore, the rotational angular acceleration of the gear 20 at time t + ㈣ is expressed as: ~-, 1) 〇At 1222008 Therefore The formula for calculating the bending angle is shown as follows: Please refer to Figure 7. FIG. 7 is an angle-pressure change table showing the relationship between the bending angle Θ of the pen tip 18 and the pressure value Z received by the stylus pen 10. This angle / pressure change table is set in advance and exists in the angle-pressure converter 50. The angle-pressure converter 50 will use this preset angle-pressure change table to generate a pressure value calculation formula and substitute the bending angle of the pen 18 at time t + heart into this pressure value calculation formula to generate a pressure value ZZ. The calculation formula is: ΚΚ ^ θ, if〇 < 0 < 0a ZZ = 12 * (Θ- 怂) + & * 怂 M0a < e <eb; You 3 * (夕 一 怂) + YOU 2 * ( (Suggestion-counseling) + A * Mod ΛΪ㈣k where especially 7, A, heart is a preset slope, and ^ and ^ are preset angle values. Please refer to Figure 8. Fig. 8 is a schematic diagram of another embodiment of the stylus pen 54 of the present invention. The shape of the tip 56 of the stylus pen 54 is designed to imitate the geometric shape of the watercolor pen to simulate the strokes of the watercolor pen. _ In summary, the styluses 18 and 56 of the stylus pens 10 and 54 of the present invention are made of soft materials, and their shapes mimic the geometric shapes of a brush and a watercolor pen, respectively. The degree of deformation of 56 is used to calculate the writing power of the user to simulate the strokes of a brush and a watercolor brush respectively. In summary, the present invention, regardless of the purpose, means and effect, shows its characteristics that are quite different from the conventional technology. This is a major breakthrough. I invite your reviewing committee to make a clear observation. 12 1222008 Early grant of a quasi-patent. Society, real sense of virtue. It should be noted that the above-mentioned embodiments are merely illustrative for explaining the principle of the present invention and its effects, and are not intended to limit the scope of the present invention. Anyone skilled in the art can modify and change the embodiments without departing from the technical principles and spirit of the present invention. The scope of protection of the rights of the present invention shall be as described in the patent application scope mentioned later.
13 1222008 【圖式簡單說明】 第1圖為本發明之手寫筆之示意圖。 第2圖為手寫筆之系統架構圖。 第3圖為手寫筆之筆頭發生形變之示意圖。 第4圖為手寫筆之齒輪與轉動速度偵測器之示意圖。 第5圖為手寫筆之電路方塊圖。13 1222008 [Schematic description] Figure 1 is a schematic diagram of the stylus pen of the present invention. Figure 2 shows the system architecture of the stylus. Figure 3 is a schematic diagram showing the deformation of the stylus tip. Figure 4 is a schematic diagram of the stylus gear and rotation speed detector. Figure 5 is a block diagram of the stylus circuit.
第6圖為筆頭之彎曲角度之示意圖。 第7圖係顯示筆頭之彎曲角度與手寫筆所受之壓力值之間之變化 關係之角度·壓力變化表。 第8圖為本發明之手寫筆之另一實施例之示意圖。Figure 6 is a schematic diagram of the bending angle of the pen tip. Fig. 7 is an angle-pressure change table showing the relationship between the bending angle of the pen tip and the pressure value experienced by the stylus. FIG. 8 is a schematic diagram of another embodiment of the stylus pen of the present invention.
14 1222008 【圖號說明】 10、 54 手寫筆 12 訊號傳輸線 14 手寫板 16 筆桿 18、 56 筆頭 20 齒輪 22 轉動速度偵測器 24 筆尖 26 中心桿 28 第一桿 30 第二桿 32 彈簧 34 位置感測器 36 壓力值產生器 38 訊號處理器 40 位置感測器 42 方向感測器 1222008 44 46 48 50 52 切線轉動速度產生器 壓力訊號轉換器 角度計算器 角度-壓力轉換器 齒14 1222008 [Illustration of drawing number] 10, 54 Stylus 12 Signal transmission line 14 Pen tablet 16 Pen bar 18, 56 Pen head 20 Gear 22 Rotation speed detector 24 Pen tip 26 Center bar 28 First bar 30 Second bar 32 Spring 34 Position sense Sensor 36 Pressure value generator 38 Signal processor 40 Position sensor 42 Direction sensor 1222008 44 46 48 50 52 Tangent rotation speed generator Pressure signal converter Angle calculator Angle-pressure converter tooth
1616