TW201516770A - Method and system for controlling digital pen - Google Patents

Method and system for controlling digital pen Download PDF

Info

Publication number
TW201516770A
TW201516770A TW102139652A TW102139652A TW201516770A TW 201516770 A TW201516770 A TW 201516770A TW 102139652 A TW102139652 A TW 102139652A TW 102139652 A TW102139652 A TW 102139652A TW 201516770 A TW201516770 A TW 201516770A
Authority
TW
Taiwan
Prior art keywords
writing
digital pen
plane
pen
module
Prior art date
Application number
TW102139652A
Other languages
Chinese (zh)
Inventor
Chiung-Ling Lee
Shan-Chuan Jeng
Chung-I Lee
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 TW102139652A priority Critical patent/TW201516770A/en
Publication of TW201516770A publication Critical patent/TW201516770A/en

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The present invention provides a method and system for controlling a digital pen. The system is operable to: receive position data of the digital pen when a head of the digital pen touches three position points; create a three-dimensional coordinate system according to a first position point, and create a fictitious writing plane according to coordinates of the three position points; receive a detection data of the digital pen when the digital pen writes on a writing plane, to obtain a locus of the head of the digital pen on the fictitious writing plane; transform the locus into a penmanship and display the penmanship on a screen.

Description

數位筆書寫控制方法及系統Digital pen writing control method and system

本發明涉及一種控制方法及系統,尤其是涉及一種數位筆書寫控制方法及系統。The invention relates to a control method and system, in particular to a digital pen writing control method and system.

目前電子白板已被廣泛應用於教學及簡報上,現有的電子白板技術可分為電磁感應式、紅外線感應式、壓力感應式、超聲波感應式、圖像傳感式等。這些方式都需要特定的白板、筆等裝置,在佈署時比較麻煩,適用的環境限制較多。At present, electronic whiteboard has been widely used in teaching and briefing. The existing electronic whiteboard technology can be divided into electromagnetic induction type, infrared induction type, pressure sensing type, ultrasonic induction type, and image sensing type. These methods require specific whiteboards, pens, etc., which are more troublesome to deploy and have more environmental restrictions.

鑒於以上內容,有必要提供一種數位筆書寫控制方法及系統,可以使數位筆在簡單佈署的環境下達到如同真實書寫的效果。In view of the above, it is necessary to provide a digital pen writing control method and system, which can make the digital pen achieve the effect of real writing in a simple deployment environment.

所述數位筆書寫控制方法包括:定位步驟:在顯示螢幕和書寫平面上顯示三個不共線的定位點,接收數位筆傳送的筆尖接觸所述三個定位點的位置資料;建立步驟:以第一個定位點的位置為原點建立筆尖運動的三維空間座標系,根據筆尖接觸三個定位點時的位置資料計算三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面;計算步驟:計算所述三個定位點中任意兩點在所述三維空間座標系中的距離與該兩點在顯示螢幕實體畫面上的距離之間的比值;接收步驟:當使用數位筆在書寫平面上進行書寫時,接收數位筆的壓力感測模組和慣性感測模組的感測資料,得到筆尖在所述虛擬書寫平面上的運動軌跡;轉換步驟:根據計算出的比值,將筆尖在虛擬書寫平面上的運動軌跡轉換成顯示螢幕上顯示的書寫筆跡;及顯示步驟:根據轉換結果在顯示螢幕上顯示數位筆的書寫筆跡。The digital pen writing control method includes: a positioning step of: displaying three non-collinear positioning points on the display screen and the writing plane, and receiving the position of the three pointed points contacting the pen tip transmitted by the digital pen; establishing steps: The position of the first positioning point is a three-dimensional coordinate system of the origin of the nib, and the coordinates of the three positioning points in the three-dimensional coordinate system are calculated according to the position data when the nib contacts the three positioning points, and according to the three a coordinate of the positioning point establishes a virtual writing plane in the three-dimensional coordinate system; and a calculating step: calculating a distance between any two of the three positioning points in the three-dimensional coordinate system and displaying the screen entity at the two points The ratio between the distances on the screen; the receiving step: when writing on the writing plane using the digital pen, receiving the sensing data of the pressure sensing module of the digital pen and the inertial sensing module, obtaining the nib in the virtual a motion trajectory on the writing plane; a conversion step: converting the trajectory of the nib on the virtual writing plane into a display screen according to the calculated ratio Handwriting is displayed; and a display step: The results showed that the conversion of the digital pen stroke written on the display screen.

所述數位筆書寫控制系統包括:定位模組,用於在顯示螢幕和書寫平面上顯示三個不共線的定位點,接收數位筆傳送的筆尖接觸所述三個定位點的位置資料;建立模組,用於以第一個定位點的位置為原點建立筆尖運動的三維空間座標系,根據筆尖接觸三個定位點時的位置資料計算三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面;計算模組,用於計算所述三個定位點中任意兩點在所述三維空間座標系中的距離與該兩點在顯示螢幕實體畫面上的距離之間的比值;接收模組,用於當使用數位筆在書寫平面上進行書寫時,接收數位筆的壓力感測模組和慣性感測模組的感測資料,得到筆尖在所述虛擬書寫平面上的運動軌跡;轉換模組,用於根據計算出的比值,將筆尖在虛擬書寫平面上的運動軌跡轉換成顯示螢幕上顯示的書寫筆跡;及顯示模組,用於根據轉換結果在顯示螢幕上顯示數位筆的書寫筆跡。The digital pen writing control system includes: a positioning module, configured to display three non-collinear positioning points on the display screen and the writing plane, and receive the position information of the pen tip transmitted by the digital pen to contact the three positioning points; The module is configured to establish a three-dimensional coordinate system of the nib movement by using the position of the first positioning point as an origin, and calculate the coordinates of the three positioning points in the three-dimensional coordinate system according to the position data when the nib contacts the three positioning points. And establishing a virtual writing plane in the three-dimensional coordinate system according to the coordinates of the three positioning points; and calculating a module for calculating any two points of the three positioning points in the three-dimensional coordinate system The ratio between the distance and the distance between the two points on the display screen physical screen; the receiving module is configured to receive the pressure sensing module and the inertial sensing mode of the digital pen when writing on the writing plane using the digital pen The sensing data of the group obtains the movement track of the nib on the virtual writing plane; the conversion module is configured to transport the nib on the virtual writing plane according to the calculated ratio Handwriting track into display on the display screen; and a display module for displaying digital pen written images displayed on the display screen based on the conversion result.

相較於習知技術,本發明所述之數位筆書寫控制方法及系統,能夠根據數位筆中壓力感測模組和慣性感測模組提供的資料,建立虛擬書寫平面,計算筆尖的運動軌跡,並在顯示螢幕上顯示數位筆的書寫筆跡。書寫平面可為螢幕或任何平面,佈署快速,透過定位和運算處理,達到如同真實書寫的效果。Compared with the prior art, the digital pen writing control method and system of the present invention can establish a virtual writing plane and calculate the movement track of the nib according to the data provided by the pressure sensing module and the inertial sensing module in the digital pen. And display the writing stroke of the digital pen on the display screen. The writing plane can be a screen or any plane, and the deployment is fast, through positioning and arithmetic processing, to achieve the effect of real writing.

圖1係為本發明數位筆書寫控制系統較佳實施方式之運行環境圖。1 is a diagram showing the operating environment of a preferred embodiment of the digital pen writing control system of the present invention.

圖2係為本發明所用數位筆較佳實施方式之結構圖。2 is a structural diagram of a preferred embodiment of a digital pen used in the present invention.

圖3A-3C係為本發明數位筆書寫控制系統較佳實施方式之應用示意圖。3A-3C are schematic diagrams showing the application of the preferred embodiment of the digital pen writing control system of the present invention.

圖4係為本發明數位筆書寫控制系統較佳實施方式之功能模組圖。4 is a functional block diagram of a preferred embodiment of the digital pen writing control system of the present invention.

圖5係為本發明中建立的三維空間座標系及虛擬書寫平面之示意圖。FIG. 5 is a schematic diagram of a three-dimensional coordinate system and a virtual writing plane established in the present invention.

圖6係為本發明數位筆書寫控制方法較佳實施方式之流程圖。6 is a flow chart of a preferred embodiment of the digital pen writing control method of the present invention.

參閱圖1所示,係為本發明數位筆書寫控制系統較佳實施方式之運行環境圖。所述數位筆書寫控制系統10運行於運算裝置1中,在本實施方式中,所述運算裝置1可以是電腦、筆記本電腦、平板電腦、智慧型手機、智慧型電視等。所述運算裝置1中還包括透過資料線或訊號線相連的儲存器11和處理器12等,所述儲存器11用於儲存所述數位筆書寫控制系統10的程式碼等資料,所述處理器12用於執行所述數位筆書寫控制系統10的各功能模組,以完成本發明。所述運算裝置1與數位筆2、顯示螢幕3及書寫平面4進行資料通訊。Referring to FIG. 1, it is an operating environment diagram of a preferred embodiment of the digital pen writing control system of the present invention. The digital pen writing control system 10 is operated in the computing device 1. In the embodiment, the computing device 1 may be a computer, a notebook computer, a tablet computer, a smart phone, a smart TV, or the like. The computing device 1 further includes a storage device 11 and a processor 12 connected to each other through a data line or a signal line, and the storage unit 11 is configured to store data such as code of the digital pen writing control system 10, and the processing The device 12 is configured to execute various functional modules of the digital pen writing control system 10 to complete the present invention. The computing device 1 performs data communication with the digital pen 2, the display screen 3, and the writing plane 4.

所述數位筆2用於在書寫平面4上進行書寫,包括壓力感測模組21、慣性感測模組22、通訊模組23及電源模組24(參閱圖2所示)。所述壓力感測模組21可以是一個壓力感測器,用來獲取數位筆2的筆尖20接觸書寫平面4時產生的壓力大小,從而判斷筆尖20是否接觸書寫平面4。所述慣性感測模組22可以是一個三軸加速度計和一個三軸陀螺儀或由兩者封裝而成的微型慣性測量元件(IMU),提供三個自由度的加速度輸出及三個自由度的角速度輸出,用來追蹤筆尖20的運動軌跡。所述通訊模組23用於將壓力感測模組21和慣性感測模組22感測到的資料傳送至所述運算裝置1。在本實施方式中,所述通訊模組23可以是NFC(Near Field Communication,近距離無線通訊技術)、WIFI(Wireless Fidelity,無線寬頻)或紅外無線裝置等。所述電源模組24用於提供數位筆2的驅動電源。The digital pen 2 is used for writing on the writing plane 4, and includes a pressure sensing module 21, an inertial sensing module 22, a communication module 23, and a power module 24 (see FIG. 2). The pressure sensing module 21 can be a pressure sensor for acquiring the pressure generated when the pen tip 20 of the digital pen 2 contacts the writing plane 4, thereby determining whether the pen tip 20 contacts the writing plane 4. The inertial sensing module 22 can be a three-axis accelerometer and a three-axis gyroscope or a miniature inertial measurement component (IMU) packaged by the two, providing three degrees of freedom acceleration output and three degrees of freedom. The angular velocity output is used to track the trajectory of the pen tip 20. The communication module 23 is configured to transmit the data sensed by the pressure sensing module 21 and the inertial sensing module 22 to the computing device 1 . In this embodiment, the communication module 23 may be NFC (Near Field Communication), WIFI (Wireless Fidelity), or an infrared wireless device. The power module 24 is configured to provide driving power of the digital pen 2.

所述顯示螢幕3用於顯示定位點和數位筆2書寫的內容,可以是電腦螢幕、電視螢幕、投影儀螢幕等。The display screen 3 is used to display the positioning point and the content written by the digital pen 2, which may be a computer screen, a television screen, a projector screen, or the like.

所述書寫平面4用於進行數位筆2的定位和供數位筆2進行書寫,可以是電腦螢幕、電視螢幕、投影儀螢幕或者任意材質的平面。值得注意的是,在本實施方式中,所述書寫平面4和顯示螢幕3可以是同一個螢幕,也可以是不同的螢幕。所述運算裝置1還可以連接多個顯示螢幕3或書寫平面4。The writing plane 4 is used for positioning the digital pen 2 and writing by the digital pen 2, which may be a computer screen, a television screen, a projector screen or a plane of any material. It should be noted that in the embodiment, the writing plane 4 and the display screen 3 may be the same screen or different screens. The computing device 1 can also be connected to a plurality of display screens 3 or writing planes 4.

參閱圖3A-3C所示,係為本發明數位筆書寫控制系統較佳實施方式之應用示意圖。其中,在圖3A中,所述書寫平面4和顯示螢幕3均為電腦螢幕。在圖3B中,所述書寫平面4和顯示螢幕3均為平板電腦螢幕。在圖3C中,所述書寫平面4為投影儀螢幕,所述顯示螢幕3為投影儀螢幕和電腦螢幕。3A-3C are schematic diagrams showing the application of the preferred embodiment of the digital pen writing control system of the present invention. Wherein, in FIG. 3A, the writing plane 4 and the display screen 3 are both computer screens. In FIG. 3B, the writing plane 4 and the display screen 3 are both tablet screens. In FIG. 3C, the writing plane 4 is a projector screen, and the display screen 3 is a projector screen and a computer screen.

參閱圖4所示,係為本發明數位筆書寫控制系統較佳實施方式之功能模組圖。Referring to FIG. 4, it is a functional module diagram of a preferred embodiment of the digital pen writing control system of the present invention.

所述數位筆書寫控制系統10包括定位模組100、建立模組200、計算模組300、接收模組400、轉換模組500及顯示模組600。The digital pen writing control system 10 includes a positioning module 100, a setting module 200, a computing module 300, a receiving module 400, a conversion module 500, and a display module 600.

所述定位模組100用於在顯示螢幕3和書寫平面4上顯示三個定位點(參閱圖3A-3C所示),接收數位筆2傳送的筆尖20接觸所述三個定位點的位置資料。所述三個定位點不在同一直線上。在本實施方式中,所述三個定位點在顯示螢幕3和書寫平面4上按照一定比例顯示。例如,在顯示螢幕3和書寫平面4上,三個定位點的方向關係相同,且每兩個定位點之間的距離按顯示螢幕3和書寫平面4的螢幕大小之比顯示。The positioning module 100 is configured to display three positioning points on the display screen 3 and the writing plane 4 (see FIGS. 3A-3C), and receive the position data of the pen tip 20 transmitted by the digital pen 2 contacting the three positioning points. . The three anchor points are not on the same line. In the present embodiment, the three positioning points are displayed on the display screen 3 and the writing plane 4 in a certain ratio. For example, on the display screen 3 and the writing plane 4, the orientation relations of the three positioning points are the same, and the distance between each two positioning points is displayed in accordance with the ratio of the screen sizes of the display screen 3 and the writing plane 4.

使用者將數位筆2的筆尖20接觸第一個定位點後,提起筆尖20移至下一定位點位置再進行接觸。當筆尖20分別接觸於書寫平面4上顯示的三個定位點的位置時,壓力感測模組21接收到壓力訊號,判斷筆尖20已接觸到定位點,慣性感測模組22感測數位筆2接觸每個定位點時的位置資料,並傳送至所述定位模組100。After the user touches the nib 20 of the pen 2 to the first positioning point, the pen tip 20 is lifted to the next positioning point position for contact. When the pen tip 20 is in contact with the position of the three positioning points displayed on the writing plane 4, the pressure sensing module 21 receives the pressure signal, determines that the pen tip 20 has touched the positioning point, and the inertial sensing module 22 senses the digital pen. 2 The position data at the time of contacting each positioning point is transmitted to the positioning module 100.

所述建立模組200用於以第一個定位點(數位筆2最先接觸的定位點)的位置為原點建立筆尖20運動的三維空間座標系(參閱圖5所示)。所述慣性感測模組22以所述三維空間座標系的原點做為起點,將筆尖20運動的加速度及角速度換算成移動距離及方向,計算筆尖20每次接觸書寫平面4時在所述三維空間座標系中的座標,可以得到筆尖20的運動軌跡。The establishing module 200 is configured to establish a three-dimensional coordinate system of the movement of the nib 20 with the position of the first positioning point (the positioning point that the digital pen 2 first contacts) as the origin (see FIG. 5). The inertial sensing module 22 uses the origin of the three-dimensional coordinate system as a starting point, converts the acceleration and angular velocity of the movement of the pen tip 20 into a moving distance and a direction, and calculates the pen tip 20 each time it touches the writing plane 4 The coordinates of the nib 20 can be obtained by the coordinates in the coordinate system of the three-dimensional space.

所述建立模組200還用於根據筆尖20接觸三個定位點時的位置資料計算所述三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面。所述虛擬書寫平面為所述三個定位點在所述三維空間座標系中所在的平面(參閱圖5所示)。The establishing module 200 is further configured to calculate coordinates of the three positioning points in the three-dimensional coordinate system according to the position data when the pen tip 20 contacts the three positioning points, and according to the coordinates of the three positioning points, A virtual writing plane is created in the three-dimensional coordinate system. The virtual writing plane is a plane in which the three positioning points are located in the three-dimensional coordinate system (see FIG. 5).

所述計算模組300用於計算所述三個定位點中任意兩點在所述三維空間座標系中的距離(實際物理量)與該兩點在顯示螢幕3實體畫面上的距離(圖元)之間的比值。The calculation module 300 is configured to calculate a distance (actual physical quantity) of any two of the three positioning points in the three-dimensional coordinate system and a distance between the two points on the display screen 3 (picture element) The ratio between the two.

所述接收模組400用於當使用數位筆2在書寫平面4上進行書寫時,接收壓力感測模組21和慣性感測模組22發送的感測資料,得到筆尖20在所述虛擬書寫平面上的運動軌跡。The receiving module 400 is configured to receive the sensing data sent by the pressure sensing module 21 and the inertial sensing module 22 when the digital pen 2 is used to write on the writing plane 4, and obtain the pen tip 20 in the virtual writing. Motion trajectory on the plane.

所述轉換模組500用於根據計算出的比值,將筆尖20在虛擬書寫平面上的運動軌跡轉換成顯示螢幕3上應該顯示的書寫筆跡。在本實施方式中,筆尖20在虛擬書寫平面上的運動軌跡的大小與顯示螢幕3上應該顯示的書寫筆跡之比等於該計算出的比值。The conversion module 500 is configured to convert the motion track of the pen tip 20 on the virtual writing plane into the writing handwriting that should be displayed on the display screen 3 according to the calculated ratio. In the present embodiment, the ratio of the size of the motion track of the pen tip 20 on the virtual writing plane to the writing handwriting that should be displayed on the display screen 3 is equal to the calculated ratio.

所述顯示模組600用於根據轉換結果在顯示螢幕3上顯示書寫筆跡。The display module 600 is configured to display a written handwriting on the display screen 3 according to the conversion result.

值得注意的是,在其他實施方式中,當書寫平面4為任意材質的平面而非前述各種螢幕時,所述三個定位點為使用者自行在書寫平面4上選定的三個不共線的點,所述計算出的比值為使用者自行設定,以調整筆尖20書寫時的運動軌跡於顯示螢幕上所顯示的比例。It should be noted that in other embodiments, when the writing plane 4 is a plane of any material other than the aforementioned various screens, the three positioning points are three non-collinear selected by the user on the writing plane 4. Point, the calculated ratio is set by the user to adjust the scale of the movement track when the pen tip 20 is written on the display screen.

參閱圖6所示,係為本發明數位筆書寫控制方法較佳實施方式之流程圖。Referring to FIG. 6, it is a flowchart of a preferred embodiment of the digital pen writing control method of the present invention.

步驟S10,所述定位模組100在顯示螢幕3和書寫平面4上顯示三個定位點,接收數位筆2傳送的筆尖20接觸所述三個定位點的位置資料。In step S10, the positioning module 100 displays three positioning points on the display screen 3 and the writing plane 4, and receives the position data of the three positioning points that the pen tip 20 transmitted by the digital pen 2 transmits.

步驟S12,所述建立模組200以第一個定位點的位置為原點建立筆尖20運動的三維空間座標系。In step S12, the establishing module 200 establishes a three-dimensional coordinate system of the movement of the nib 20 with the position of the first positioning point as an origin.

步驟S14,所述建立模組200根據筆尖20接觸三個定位點時的位置資料計算所述三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面。Step S14, the establishing module 200 calculates the coordinates of the three positioning points in the three-dimensional coordinate system according to the position data when the pen tip 20 contacts the three positioning points, and according to the coordinates of the three positioning points, A virtual writing plane is created in the three-dimensional coordinate system.

步驟S16,所述計算模組300計算所述三個定位點中任兩點在所述三維空間座標系中的距離與該兩點在顯示螢幕3實體畫面上的距離之間的比值。In step S16, the calculation module 300 calculates a ratio between the distance between any two of the three positioning points in the three-dimensional coordinate system and the distance between the two points on the physical screen of the display screen 3.

步驟S18,當使用數位筆2在書寫平面4上進行書寫時,所述接收模組400接收數位筆2發送的壓力感測模組21和慣性感測模組22的感測資料,得到筆尖20在所述虛擬書寫平面上的運動軌跡。In step S18, when the digital pen 2 is used for writing on the writing plane 4, the receiving module 400 receives the sensing data of the pressure sensing module 21 and the inertial sensing module 22 sent by the digital pen 2 to obtain the pen tip 20 A trajectory of motion on the virtual writing plane.

步驟S20,所述轉換模組500根據計算出的比值,將筆尖20在虛擬書寫平面上的運動軌跡轉換成顯示螢幕3上應該顯示的書寫筆跡。In step S20, the conversion module 500 converts the motion track of the pen tip 20 on the virtual writing plane into the writing handwriting that should be displayed on the display screen 3 according to the calculated ratio.

步驟S22,所述顯示模組600根據轉換結果在顯示螢幕3上顯示數位筆2的書寫筆跡。In step S22, the display module 600 displays the writing stroke of the digital pen 2 on the display screen 3 according to the conversion result.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅爲本發明之較佳實施方式,本發明之範圍並不以上述實施方式爲限,舉凡熟悉本案技藝之人士爰依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in accordance with the spirit of the present invention are It should be covered by the following patent application.

1‧‧‧運算裝置1‧‧‧ arithmetic device

2‧‧‧數位筆2‧‧‧ digital pen

3‧‧‧顯示螢幕3‧‧‧ Display screen

4‧‧‧書寫平面4‧‧‧ writing plane

10‧‧‧數位筆書寫控制系統10‧‧‧Digital pen writing control system

11‧‧‧儲存器11‧‧‧Storage

12‧‧‧處理器12‧‧‧ Processor

20‧‧‧筆尖20‧‧‧ nib

21‧‧‧壓力感測模組21‧‧‧ Pressure Sensing Module

22‧‧‧慣性感測模組22‧‧‧Inertial Sensing Module

23‧‧‧通訊模組23‧‧‧Communication module

24‧‧‧電源模組24‧‧‧Power Module

100‧‧‧定位模組100‧‧‧ Positioning Module

200‧‧‧建立模組200‧‧‧Create module

300‧‧‧計算模組300‧‧‧Computation Module

400‧‧‧接收模組400‧‧‧ receiving module

500‧‧‧轉換模組500‧‧‧ conversion module

600‧‧‧顯示模組600‧‧‧ display module

no

10‧‧‧數位筆書寫控制系統 10‧‧‧Digital pen writing control system

100‧‧‧定位模組 100‧‧‧ Positioning Module

200‧‧‧建立模組 200‧‧‧Create module

300‧‧‧計算模組 300‧‧‧Computation Module

400‧‧‧接收模組 400‧‧‧ receiving module

500‧‧‧轉換模組 500‧‧‧ conversion module

600‧‧‧顯示模組 600‧‧‧ display module

Claims (10)

一種數位筆書寫控制方法,該方法包括:
定位步驟:在顯示螢幕和書寫平面上顯示三個不共線的定位點,接收數位筆傳送的筆尖接觸所述三個定位點的位置資料;
建立步驟:以第一個定位點的位置為原點建立筆尖運動的三維空間座標系,根據筆尖接觸三個定位點時的位置資料計算三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面;
計算步驟:計算所述三個定位點中任意兩點在所述三維空間座標系中的距離與該兩點在顯示螢幕實體畫面上的距離之間的比值;
接收步驟:當使用數位筆在書寫平面上進行書寫時,接收數位筆的壓力感測模組和慣性感測模組的感測資料,得到筆尖在所述虛擬書寫平面上的運動軌跡;
轉換步驟:根據計算出的比值,將筆尖在虛擬書寫平面上的運動軌跡轉換成顯示螢幕上顯示的書寫筆跡;及
顯示步驟:根據轉換結果在顯示螢幕上顯示數位筆的書寫筆跡。
A digital pen writing control method, the method comprising:
Positioning step: displaying three non-collinear positioning points on the display screen and the writing plane, and receiving the position information of the three positioning points touched by the pen tip transmitted by the digital pen;
The establishing step is: establishing a three-dimensional coordinate coordinate system of the nib movement by using the position of the first positioning point as an origin, and calculating the coordinates of the three positioning points in the three-dimensional coordinate system according to the position data when the nib contacts the three positioning points, and according to The coordinates of the three positioning points establish a virtual writing plane in the three-dimensional coordinate system;
a calculating step: calculating a ratio between a distance between any two of the three positioning points in the three-dimensional coordinate system and a distance between the two points on the display screen physical screen;
Receiving step: when writing on the writing plane by using the digital pen, receiving the sensing data of the pressure sensing module of the digital pen and the inertial sensing module, and obtaining a movement track of the pen tip on the virtual writing plane;
Conversion step: converting the movement track of the pen tip on the virtual writing plane into the writing handwriting displayed on the display screen according to the calculated ratio; and displaying step: displaying the writing handwriting of the digital pen on the display screen according to the conversion result.
如申請專利範圍第1項所述之數位筆書寫控制方法,其中,當所述書寫平面為任意材質的平面而非螢幕時,所述三個定位點為在書寫平面上預先選定的三個不共線的點,所述比值為預先設定值。The digital pen writing control method according to claim 1, wherein when the writing plane is a plane of any material instead of a screen, the three positioning points are three pre-selected on the writing plane. A point of collinearity, the ratio being a preset value. 如申請專利範圍第1項所述之數位筆書寫控制方法,其中,所述壓力感測模組為壓力感測器,用於獲取數位筆的筆尖接觸書寫平面時產生的壓力大小,從而判斷筆尖是否接觸書寫平面。The digital pen writing control method according to claim 1, wherein the pressure sensing module is a pressure sensor for acquiring a pressure generated when a pen tip of the digital pen contacts the writing plane, thereby determining a pen tip. Whether to touch the writing plane. 如申請專利範圍第1項所述之數位筆書寫控制方法,其中,所述慣性感測模組為一個三軸加速度計和一個三軸陀螺儀或由兩者封裝而成的微型慣性測量元件,用於提供三個自由度的加速度輸出及三個自由度的角速度輸出,從而追蹤筆尖的運動軌跡。The digital pen writing control method according to claim 1, wherein the inertial sensing module is a three-axis accelerometer and a three-axis gyroscope or a miniature inertial measuring component encapsulated by the two. It is used to provide an acceleration output of three degrees of freedom and an angular velocity output of three degrees of freedom to track the trajectory of the nib. 如申請專利範圍第4項所述之數位筆書寫控制方法,其中,所述慣性感測模組以所述三維空間座標系的原點做為起點,將筆尖運動的加速度及角速度換算成移動距離及方向,計算筆尖每次接觸書寫平面時在所述三維空間座標系中的座標,得到筆尖的運動軌跡。The digital pen writing control method according to claim 4, wherein the inertial sensing module uses the origin of the three-dimensional coordinate system as a starting point, and converts the acceleration and angular velocity of the pen tip motion into a moving distance. And the direction, calculating the coordinates of the nib in the three-dimensional coordinate system each time the pen tip contacts the writing plane, and obtaining the movement track of the nib. 一種數位筆書寫控制系統,該系統包括:
定位模組,用於在顯示螢幕和書寫平面上顯示三個不共線的定位點,接收數位筆傳送的筆尖接觸所述三個定位點的位置資料;
建立模組,用於以第一個定位點的位置為原點建立筆尖運動的三維空間座標系,根據筆尖接觸三個定位點時的位置資料計算三個定位點在三維空間座標系中的座標,並根據所述三個定位點的座標在所述三維空間座標系中建立一個虛擬書寫平面;
計算模組,用於計算所述三個定位點中任意兩點在所述三維空間座標系中的距離與該兩點在顯示螢幕實體畫面上的距離之間的比值;
接收模組,用於當使用數位筆在書寫平面上進行書寫時,接收數位筆的壓力感測模組和慣性感測模組的感測資料,得到筆尖在所述虛擬書寫平面上的運動軌跡;
轉換模組,用於根據計算出的比值,將筆尖在虛擬書寫平面上的運動軌跡轉換成顯示螢幕上顯示的書寫筆跡;及
顯示模組,用於根據轉換結果在顯示螢幕上顯示數位筆的書寫筆跡。
A digital pen writing control system, the system comprising:
a positioning module, configured to display three non-collinear positioning points on the display screen and the writing plane, and receive the position information of the three positioning points touched by the pen tip transmitted by the digital pen;
A module is established for establishing a three-dimensional coordinate coordinate system of the nib movement with the position of the first positioning point as an origin, and calculating the coordinates of the three positioning points in the three-dimensional coordinate system according to the position data when the nib contacts the three positioning points And establishing a virtual writing plane in the three-dimensional coordinate system according to the coordinates of the three positioning points;
a calculation module, configured to calculate a ratio between a distance between any two of the three positioning points in the three-dimensional coordinate system and a distance between the two points on the display screen physical screen;
a receiving module, configured to receive the sensing data of the pressure sensing module of the digital pen and the inertial sensing module when the digital pen is used to write on the writing plane, to obtain the movement track of the pen tip on the virtual writing plane ;
a conversion module, configured to convert a movement track of the pen tip on the virtual writing plane into a writing handwriting displayed on the display screen according to the calculated ratio; and a display module, configured to display the digital pen on the display screen according to the conversion result Write handwriting.
如申請專利範圍第6項所述之數位筆書寫控制系統,其中,當所述書寫平面為任意材質的平面而非螢幕時,所述三個定位點為在書寫平面上預先選定的三個不共線的點,所述比值為預先設定值。The digital pen writing control system according to claim 6, wherein when the writing plane is a plane of any material instead of a screen, the three positioning points are three pre-selected on the writing plane. A point of collinearity, the ratio being a preset value. 如申請專利範圍第6項所述之數位筆書寫控制系統,其中,所述壓力感測模組為壓力感測器,用於獲取數位筆的筆尖接觸書寫平面時產生的壓力大小,從而判斷筆尖是否接觸書寫平面。The digital pen writing control system of claim 6, wherein the pressure sensing module is a pressure sensor for acquiring a pressure generated when a pen tip of the digital pen contacts the writing plane, thereby determining a pen tip. Whether to touch the writing plane. 如申請專利範圍第6項所述之數位筆書寫控制系統,其中,所述慣性感測模組為一個三軸加速度計和一個三軸陀螺儀或由兩者封裝而成的微型慣性測量元件,用於提供三個自由度的加速度輸出及三個自由度的角速度輸出,從而追蹤筆尖的運動軌跡。The digital pen writing control system according to claim 6, wherein the inertial sensing module is a three-axis accelerometer and a three-axis gyroscope or a miniature inertial measuring component encapsulated by the two. It is used to provide an acceleration output of three degrees of freedom and an angular velocity output of three degrees of freedom to track the trajectory of the nib. 如申請專利範圍第9項所述之數位筆書寫控制系統,其中,所述慣性感測模組以所述三維空間座標系的原點做為起點,將筆尖運動的加速度及角速度換算成移動距離及方向,計算筆尖每次接觸書寫平面時在所述三維空間座標系中的座標,得到筆尖的運動軌跡。The digital pen writing control system according to claim 9, wherein the inertial sensing module uses the origin of the three-dimensional coordinate system as a starting point, and converts the acceleration and angular velocity of the pen tip motion into a moving distance. And the direction, calculating the coordinates of the nib in the three-dimensional coordinate system each time the pen tip contacts the writing plane, and obtaining the movement track of the nib.
TW102139652A 2013-10-31 2013-10-31 Method and system for controlling digital pen TW201516770A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102139652A TW201516770A (en) 2013-10-31 2013-10-31 Method and system for controlling digital pen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102139652A TW201516770A (en) 2013-10-31 2013-10-31 Method and system for controlling digital pen

Publications (1)

Publication Number Publication Date
TW201516770A true TW201516770A (en) 2015-05-01

Family

ID=53720370

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102139652A TW201516770A (en) 2013-10-31 2013-10-31 Method and system for controlling digital pen

Country Status (1)

Country Link
TW (1) TW201516770A (en)

Similar Documents

Publication Publication Date Title
US11243617B2 (en) Multi-function stylus with sensor controller
WO2019184889A1 (en) Method and apparatus for adjusting augmented reality model, storage medium, and electronic device
US11625841B2 (en) Localization and tracking method and platform, head-mounted display system, and computer-readable storage medium
EP2919104B1 (en) Information processing device, information processing method, and computer-readable recording medium
US9696859B1 (en) Detecting tap-based user input on a mobile device based on motion sensor data
US10067568B2 (en) Augmented reality writing system and method thereof
WO2022111239A1 (en) Screen projection control method and device, and electronic device
KR102097452B1 (en) Electro device comprising projector and method for controlling thereof
US20190004622A1 (en) Systems, Methods, and Devices for Providing a Virtual Reality Whiteboard
US20150220158A1 (en) Methods and Apparatus for Mapping of Arbitrary Human Motion Within an Arbitrary Space Bounded by a User's Range of Motion
TW201346640A (en) Image processing device, and computer program product
CN103513894A (en) Display apparatus, remote controlling apparatus and control method thereof
KR20130088104A (en) Mobile apparatus and method for providing touch-free interface
KR102057531B1 (en) Mobile devices of transmitting and receiving data using gesture
JP7275885B2 (en) DISPLAY DEVICE, DIRECTION SPECIFICATION METHOD, PROGRAM
CN104598048A (en) Digital pen writing control method and system
CN104007846A (en) Three-dimensional figure generating method and electronic whiteboard system
CN112424832A (en) System and method for detecting 3D association of objects
JP2011138475A (en) Method of generating multi-touch signal, dongle for generating multi-touch signal, and related control system
TWI471764B (en) Coordinate sensing system, coordinate sensing method and display system
CN111381790A (en) Control method, device and system, electronic whiteboard and mobile terminal
CN204945943U (en) For providing the remote control equipment of remote control signal for external display device
TW201439813A (en) Display device, system and method for controlling the display device
WO2021004413A1 (en) Handheld input device and blanking control method and apparatus for indication icon of handheld input device
KR20160072306A (en) Content Augmentation Method and System using a Smart Pen