JP2016157322A - Output device, output device system, image display system, output method, computer program, and recording medium - Google Patents

Output device, output device system, image display system, output method, computer program, and recording medium Download PDF

Info

Publication number
JP2016157322A
JP2016157322A JP2015035574A JP2015035574A JP2016157322A JP 2016157322 A JP2016157322 A JP 2016157322A JP 2015035574 A JP2015035574 A JP 2015035574A JP 2015035574 A JP2015035574 A JP 2015035574A JP 2016157322 A JP2016157322 A JP 2016157322A
Authority
JP
Japan
Prior art keywords
unit
output
conversion
output device
output value
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2015035574A
Other languages
Japanese (ja)
Other versions
JP6422368B2 (en
Inventor
晃 阪本
Akira Sakamoto
晃 阪本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2015035574A priority Critical patent/JP6422368B2/en
Publication of JP2016157322A publication Critical patent/JP2016157322A/en
Application granted granted Critical
Publication of JP6422368B2 publication Critical patent/JP6422368B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an output device capable of improving reduced conversion accuracy, when converting an added external force into an output value and to provide an output device system, an image display system, an output method, a computer program, and a recording medium.SOLUTION: An output device 1 including a detection part which detects an external force, a conversion part which converts the value of the external force detected by the detection part on the basis of predetermined conversion information, and an output part which outputs the output value obtained by converting the value of the external force in the conversion part to an external device 2 includes a condition determination part which determines whether or not a predetermined condition relating to the updating of the conversion information is satisfied and an updating part which updates the conversion information on the basis of the output value obtained by conversion in the conversion part, after the condition determination part determines that the predetermined condition is satisfied.SELECTED DRAWING: Figure 1

Description

本発明は、外力に応じた出力値を出力する出力装置、出力方法、コンピュータプログラム、及び記録媒体に関する。また、本発明は、当該出力装置を備える出力装置システム、及び画像表示システムに関する。   The present invention relates to an output device that outputs an output value corresponding to an external force, an output method, a computer program, and a recording medium. The present invention also relates to an output device system including the output device and an image display system.

従来、先端部に加えられた外力に応じた出力値を外部装置に出力する方法が知られている。特許文献1には、自身の先端部に加えられた外力に応じて撓む撓み部材と、当該撓み部材の歪を検出する歪センサとを備える電子ペンが開示されている。特許文献1に開示された電子ペンは、当該歪センサの検出結果を出力値である筆圧値に所定の数式を用いて変換し、変換した筆圧値を外部装置に出力する。特許文献1に開示された電子ペンは、当該撓み部材及び歪センサによって、加えられた外力による先端部の変位を3次元的に検出することができるため、変換する筆圧値を高精度とすることができる。   Conventionally, a method of outputting an output value corresponding to an external force applied to a tip portion to an external device is known. Patent Document 1 discloses an electronic pen that includes a bending member that bends in response to an external force applied to its tip, and a strain sensor that detects distortion of the bending member. The electronic pen disclosed in Patent Document 1 converts the detection result of the distortion sensor into a writing pressure value that is an output value using a predetermined mathematical expression, and outputs the converted writing pressure value to an external device. Since the electronic pen disclosed in Patent Document 1 can detect the displacement of the tip portion due to the applied external force three-dimensionally by the bending member and the strain sensor, the pen pressure value to be converted is highly accurate. be able to.

特開2006−92410号公報JP 2006-92410 A

一般的に、センサ類は検出精度の変動要因を有している。当該変動要因は例えば、センサの個体差、センサの経年劣化等である。しかしながら、特許文献1に開示された電子ペンは、歪センサにおける検出精度の変動要因を考慮していない。そのため、当該電子ペンは、当該変動要因の影響を受けて変換する筆圧値の精度が低下する虞がある。   In general, sensors have a variation factor of detection accuracy. The fluctuation factors are, for example, individual differences between sensors, sensor deterioration over time, and the like. However, the electronic pen disclosed in Patent Document 1 does not take into consideration a variation factor of detection accuracy in the strain sensor. Therefore, there is a possibility that the accuracy of the pen pressure value converted by the electronic pen is affected by the variation factor.

本発明は斯かる事情に鑑みてなされたものであり、その目的は、加えられた外力を出力値に変換するに際して、低下した変換精度を向上することができる出力装置、出力装置システム、画像表示システム、出力方法、コンピュータプログラム、及び記録媒体を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide an output device, an output device system, and an image display capable of improving reduced conversion accuracy when converting an applied external force into an output value. A system, an output method, a computer program, and a recording medium are provided.

本発明に係る出力装置は、外力を検出する検出部と、該検出部が検出した外力の値を所定の変換情報に基づいて変換する変換部と、該変換部で外力の値を変換して得られた出力値を外部装置に出力する出力部とを備える出力装置において、前記変換情報の更新に係る所定条件を満たしたか否かを判定する条件判定部と、該条件判定部が所定条件を満たしたと判定した後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新する更新部とを備えることを特徴とする。   An output device according to the present invention includes a detection unit that detects an external force, a conversion unit that converts a value of the external force detected by the detection unit based on predetermined conversion information, and a conversion unit that converts the value of the external force. In an output device including an output unit that outputs the obtained output value to an external device, a condition determination unit that determines whether or not a predetermined condition for updating the conversion information is satisfied, and the condition determination unit satisfies the predetermined condition And an update unit that updates the conversion information based on an output value obtained by conversion by the conversion unit after determining that the conversion is satisfied.

本発明に係る出力装置は、前記検出部に特定の外力が加えられたときに前記外部装置に出力すべき基準出力値を記憶する記憶部と、前記条件判定部が所定条件を満たしたと判定した後に前記変換部で変換して得られた出力値を、前記記憶部に記憶された基準出力値で除算する除算部を更に備え、前記更新部は、前記除算部の除算結果を用いて前記変換情報を更新するようにしてあることを特徴とする。   The output device according to the present invention determines that a storage unit that stores a reference output value to be output to the external device when a specific external force is applied to the detection unit, and the condition determination unit satisfies a predetermined condition. A division unit that divides an output value obtained by subsequent conversion by the conversion unit by a reference output value stored in the storage unit; and the update unit uses the division result of the division unit to perform the conversion It is characterized in that information is updated.

本発明に係る出力装置は、前記除算結果が所定の数値範囲内にあるか否かを判定する除算結果判定部を更に備え、前記更新部は、前記除算結果判定部が所定の数値範囲内にあると判定した場合に、前記変換情報を更新するようにしてあることを特徴とする。   The output device according to the present invention further includes a division result determination unit that determines whether or not the division result is within a predetermined numerical range, and the update unit includes the division result determination unit within the predetermined numerical range. If it is determined that there is, the conversion information is updated.

本発明に係る出力装置は、前記条件判定部が所定条件を満たしたと判定した場合に報知する報知部を更に備え、前記更新部は、前記報知部が報知した後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新するようにしてあることを特徴とする。   The output device according to the present invention further includes a notification unit that notifies when the condition determination unit determines that the predetermined condition is satisfied, and the update unit is obtained by performing conversion at the conversion unit after the notification unit notifies. The conversion information is updated based on the output value obtained.

本発明に係る出力装置は、前記変換情報は、複数の外力の値夫々に対応する複数の出力値を含み、前記検出部が検出した外力の値に基づいて、前記変換情報に含まれる複数の出力値から1つ又は2つの出力値を選択する選択部を更に備え、前記変換部は、前記選択部が選択した1つ又は2つの出力値に基づいて、前記外力の値を変換するようにしてあり、前記更新部は、前記複数の出力値を更新するようにしてあることを特徴とする。   In the output device according to the present invention, the conversion information includes a plurality of output values corresponding to a plurality of external force values, and a plurality of conversion values included in the conversion information based on the external force values detected by the detection unit. A selection unit that selects one or two output values from the output value is further provided, and the conversion unit converts the value of the external force based on the one or two output values selected by the selection unit. The updating unit is configured to update the plurality of output values.

本発明に係る出力装置は、ペン型であり、前記検出部は、自装置の先端部に加えられた外力を検出するようにしてあることを特徴とする。   The output device according to the present invention is a pen type, and the detection unit is configured to detect an external force applied to a distal end portion of the own device.

本発明に係る出力装置は、自装置の姿勢を検知する姿勢検知部を更に備え、前記条件判定部は、前記姿勢検知部が特定の姿勢を検知した場合に所定条件を満たしたと判定するようにしてあることを特徴とする。   The output device according to the present invention further includes a posture detection unit that detects a posture of the device, and the condition determination unit determines that a predetermined condition is satisfied when the posture detection unit detects a specific posture. It is characterized by being.

本発明に係る出力装置は、前記特定の姿勢は、前記先端部を鉛直方向下向きにした姿勢であることを特徴とする。   The output device according to the present invention is characterized in that the specific posture is a posture in which the tip portion is directed vertically downward.

本発明に係る出力装置システムは、上述の出力装置と、前記出力装置が先端部から挿入可能に開口しており、底を有する筒形をなし、前記出力装置を挿入させた状態で支持する係合部を内側に設けてあるスタンドとを備え、前記出力装置は、前記スタンドに挿入され、先端部が前記スタンドの底部を押圧するように押し込まれた場合に、前記係合部に係合される被係合部と、前記係合部の前記被係合部への係合を検知する係合検知部とを更に有し、前記条件判定部は、前記係合検知部が係合を検知した場合に所定条件を満たしたと判定するようにしてあることを特徴とする。   The output device system according to the present invention includes the above-described output device, and the output device that is open so as to be insertable from a tip portion, has a cylindrical shape having a bottom, and supports the output device in a state of being inserted. The output device is inserted into the stand and is engaged with the engaging portion when the tip is pushed to press the bottom of the stand. And an engagement detection unit that detects engagement of the engagement unit with the engaged unit. The condition determination unit is configured such that the engagement detection unit detects engagement. In this case, it is determined that a predetermined condition is satisfied.

本発明に係る出力装置システムは、上述の出力装置と、前記出力装置が先端部から挿入可能に開口しており、底を有する筒形をなし、底部に設けられた電磁石、該電磁石に給電する給電部、及び該給電部が該電磁石に給電している場合に前記出力装置に通知する通知部を有するスタンドとを備え、前記出力装置は磁性体を更に有し、前記更新部は、前記通知部からの通知を受けた後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新するようにしてあることを特徴とする。   The output device system according to the present invention has the above-described output device and the output device open so that it can be inserted from the tip, and has a cylindrical shape having a bottom, and supplies power to the electromagnet provided at the bottom. A power supply unit, and a stand having a notification unit that notifies the output device when the power supply unit supplies power to the electromagnet, the output device further including a magnetic body, and the update unit includes the notification unit. The conversion information is updated based on an output value obtained by conversion by the conversion unit after receiving a notification from the unit.

本発明に係る画像表示システムは、上述の出力装置と、前記出力装置が出力する出力値を入力し、入力された出力値及び先端部が特定の被接触面に接触したときにおける軌跡に基づく描画画像を表示画面に表示する表示装置とを備えることを特徴とする。   The image display system according to the present invention inputs the output device described above and an output value output from the output device, and draws based on the input output value and a trajectory when the tip portion contacts a specific contacted surface. And a display device that displays an image on a display screen.

本発明に係る出力方法は、外力を検出し、検出した外力の値を所定の変換情報に基づいて変換し、変換して得られた出力値を外部に出力する出力方法において、前記変換情報の更新に係る所定条件を満たしたか否かを判定するステップと、前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報を更新するステップとを含むことを特徴とする。   The output method according to the present invention is an output method for detecting an external force, converting a value of the detected external force based on predetermined conversion information, and outputting an output value obtained by the conversion to the outside. Determining whether or not a predetermined condition for updating is satisfied, and updating the conversion information based on an output value obtained by conversion after determining that the predetermined condition is satisfied. Features.

本発明に係るコンピュータプログラムは、外力の値を取得し、取得した外力の値を所定の変換情報に基づいて変換し、変換して得られた出力値を出力する処理をコンピュータに実行させるコンピュータプログラムにおいて、前記コンピュータに、前記変換情報の更新に係る所定条件を満たしたか否かを判定するステップと、前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報を更新するステップとを実行させることを特徴とする。   A computer program according to the present invention acquires a value of an external force, converts the acquired value of the external force based on predetermined conversion information, and causes the computer to execute a process of outputting an output value obtained by the conversion In step (b), the computer determines whether or not a predetermined condition relating to the update of the conversion information is satisfied, and based on an output value obtained by conversion after determining that the predetermined condition is satisfied. And a step of updating information.

本発明に係る記録媒体は、上述のコンピュータプログラムを記録してあることを特徴とする。   A recording medium according to the present invention records the above-described computer program.

本発明によれば、加えられた外力を出力値に変換するに際して、低下した変換精度を向上することができる。   According to the present invention, when the applied external force is converted into an output value, the reduced conversion accuracy can be improved.

実施形態1における画像表示システムの構成を示す模式図である。1 is a schematic diagram illustrating a configuration of an image display system in Embodiment 1. FIG. タッチペン及び表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of a touch pen and a display apparatus. 基準テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a reference | standard table. 変換テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a conversion table. 先端部に加えられた圧力の値を出力値に変換し、変換した出力値を表示装置に送信するときにおけるタッチペンの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a touch pen when converting the value of the pressure applied to the front-end | tip part into an output value, and transmitting the converted output value to a display apparatus. タッチペンの出力値の変換精度が低下する例を説明する説明図である。It is explanatory drawing explaining the example which the conversion accuracy of the output value of a touch pen falls. 変換テーブルを更新するときにおけるタッチペンの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a touch pen when updating a conversion table. 変換テーブルの更新を行うことによる効果を説明する説明図である。It is explanatory drawing explaining the effect by updating a conversion table. 実施形態2におけるタッチペンが変換テーブルを更新するときの画像表示システムの処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of the image display system when the touch pen in Embodiment 2 updates a conversion table. 実施形態2におけるタッチペンが変換テーブルを更新するときの画像表示システムの処理手順を示すフローチャートである。10 is a flowchart illustrating a processing procedure of the image display system when the touch pen in Embodiment 2 updates a conversion table. 実施形態3におけるタッチペンシステムの構成を示す模式図である。It is a schematic diagram which shows the structure of the touch pen system in Embodiment 3. タッチペンの構成を示すブロック図である。It is a block diagram which shows the structure of a touch pen. 変換テーブルを更新するときにおけるタッチペンの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a touch pen when updating a conversion table. 実施形態4におけるタッチペンシステムの構成を示す模式図である。It is a schematic diagram which shows the structure of the touch pen system in Embodiment 4. 変換テーブルを更新するときにおけるタッチペンの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a touch pen when updating a conversion table. 実施形態5におけるタッチペンシステムの構成を示す模式図である。It is a schematic diagram which shows the structure of the touch pen system in Embodiment 5. スタンドの構成を示すブロック図である。It is a block diagram which shows the structure of a stand. 切替テーブルの一例を示す概念図である。It is a conceptual diagram which shows an example of a switching table. タッチペンが変換テーブルを更新するときにおけるタッチペンシステムの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a touch pen system when a touch pen updates a conversion table.

以下、本発明をその実施の形態を示す図面に基づいて詳述する。なお、以下で説明する各実施形態においては、本発明の出力装置をタッチペン(電子ペン)に適用する場合について説明するが、例えば圧力等を検出するセンサを備えるペンタブレット等の入力装置に当該出力装置が適用されてもよい。また、照度、温度、加速度等を検出するセンサを備え、当該センサの検出結果に応じた値を外部に出力するスマートフォン、タブレット端末等の各種の情報処理装置に当該出力装置が適用されてもよい。即ち、本発明の出力装置は、加えられた外力に応じた出力値を外部に出力する任意の出力装置に適用可能である。   Hereinafter, the present invention will be described in detail with reference to the drawings illustrating embodiments thereof. In each of the embodiments described below, a case where the output device of the present invention is applied to a touch pen (electronic pen) will be described. For example, the output is applied to an input device such as a pen tablet provided with a sensor that detects pressure or the like. An apparatus may be applied. Further, the output device may be applied to various information processing devices such as a smartphone and a tablet terminal that include a sensor that detects illuminance, temperature, acceleration, and the like and outputs a value according to a detection result of the sensor to the outside. . That is, the output device of the present invention can be applied to any output device that outputs an output value corresponding to an applied external force to the outside.

(実施形態1)
図1は、実施形態1における画像表示システムの構成を示す模式図である。画像表示システムは、タッチペン1及び表示装置2を備える。タッチペン1は、先端部1aに加えられた圧力を検出し、検出した圧力に応じた出力値を表示装置2に送信するペン型の出力装置である。また、タッチペン1の筐体には、後述の報知部15及びボタン16が設けられている。表示装置2は、画像を表示する表示部21及び表示部21への画像の表示を制御するタッチパネル装置22を備える。表示装置2は、表示部21の表示面に対して接触又は近接したときにおけるタッチペン1の軌跡の座標をタッチパネル装置22が取得し、取得した座標に基づき、当該軌跡を表す描画画像を表示部21に表示する。実施形態1における表示部21の表示面は、被接触面に相当する。実施形態1における画像表示システムの使用者は、タッチペン1の先端部1aを表示部21に対して接触又は近接させた状態で移動させることによって、先端部1aの移動の軌跡を表す描画画像を表示部21に表示させることができる。このとき、タッチペン1は、先端部1aに加えられた圧力に応じた出力値を表示装置2に送信する。表示装置2は、タッチペン1からの出力値を受信し、出力値の大きさに応じた表示態様の描画画像を表示部21に表示する。表示装置2は例えば、図1中の描画画像Aのように、出力値の大きさに応じて線幅が異なる描画画像を表示部21に表示する。実施形態1における表示装置2は、外部装置に相当する。
なお、表示装置2は、タッチペン1からの出力値の大きさに応じた表示態様の描画画像を表示部21に表示すればよく、例えば、出力値の大きさに応じて表示色の濃度等が異なる描画画像を表示してもよい。また、表示装置2は、表示部21の表示面以外の特定の被接触面に対して接触又は近接したときにおけるタッチペン1の座標を取得するようにしてもよい。例えば、表示装置2は、ペンタブレットの操作面を被接触面として接触したときにおけるタッチペン1の座標を取得するようにしてもよい。
(Embodiment 1)
FIG. 1 is a schematic diagram illustrating a configuration of an image display system according to the first embodiment. The image display system includes a touch pen 1 and a display device 2. The touch pen 1 is a pen-type output device that detects a pressure applied to the distal end portion 1 a and transmits an output value corresponding to the detected pressure to the display device 2. The case of the touch pen 1 is provided with a notification unit 15 and a button 16 to be described later. The display device 2 includes a display unit 21 that displays an image and a touch panel device 22 that controls display of the image on the display unit 21. The display device 2 acquires the coordinates of the trajectory of the touch pen 1 when touching or approaching the display surface of the display unit 21, and based on the acquired coordinates, the display unit 21 displays a drawing image representing the trajectory. To display. The display surface of the display unit 21 in the first embodiment corresponds to a contacted surface. The user of the image display system according to the first embodiment displays a drawn image representing the movement trajectory of the distal end portion 1a by moving the distal end portion 1a of the touch pen 1 in contact with or close to the display unit 21. It can be displayed on the unit 21. At this time, the touch pen 1 transmits an output value corresponding to the pressure applied to the tip portion 1a to the display device 2. The display device 2 receives the output value from the touch pen 1 and displays a drawn image in a display mode corresponding to the magnitude of the output value on the display unit 21. For example, the display device 2 displays, on the display unit 21, a drawing image having a different line width depending on the output value, such as a drawing image A in FIG. 1. The display device 2 in the first embodiment corresponds to an external device.
Note that the display device 2 only needs to display a drawn image having a display mode corresponding to the magnitude of the output value from the touch pen 1 on the display unit 21, for example, the density of the display color according to the magnitude of the output value. Different drawing images may be displayed. Further, the display device 2 may acquire the coordinates of the touch pen 1 when contacting or approaching a specific contacted surface other than the display surface of the display unit 21. For example, the display device 2 may acquire the coordinates of the touch pen 1 when the operation surface of the pen tablet is used as a contacted surface.

図2は、タッチペン1及び表示装置2の構成を示すブロック図である。タッチペン1は、制御部11、記憶部12、通信部13、検出部14、報知部15、及びボタン16を備え、夫々がバスを介して接続している。制御部11は、CPU(Central Processing Unit)又はMPU(Micro Processor Unit)等を含み、タッチペン1が備える各部の動作を制御する。具体的には、制御部11のCPU又はMPUは、記憶部12に記憶されている後述の制御プログラムを実行することにより各部の動作を制御する。   FIG. 2 is a block diagram illustrating configurations of the touch pen 1 and the display device 2. The touch pen 1 includes a control unit 11, a storage unit 12, a communication unit 13, a detection unit 14, a notification unit 15, and a button 16, and each is connected via a bus. The control unit 11 includes a CPU (Central Processing Unit), an MPU (Micro Processor Unit), or the like, and controls the operation of each unit included in the touch pen 1. Specifically, the CPU or MPU of the control unit 11 controls the operation of each unit by executing a later-described control program stored in the storage unit 12.

記憶部12は、EEPROM(Electrically Erasable and Programmable ROM:登録商標)、フラッシュメモリ、HDD(Hard Disk Drive)等の不揮発性メモリと、SRAM(Static RAM)、DRAM(Dynamic RAM)等の揮発性メモリとを備える。記憶部12の不揮発性メモリには、制御部11が処理を行うための制御プログラムが記憶されている。制御プログラムは、表示装置2との通信を行うときの処理内容と、タッチペン1が備える各部を制御するときの処理内容とが記述されたコンピュータプログラムである。記憶部12の揮発性メモリは、制御部11が制御プログラムを実行することによって生ずる各種データを一時記憶する。なお、制御部11及び記憶部12は一体に構成されていてもよい。   The storage unit 12 includes an EEPROM (Electrically Erasable and Programmable ROM: registered trademark), a flash memory, a nonvolatile memory such as an HDD (Hard Disk Drive), and a volatile memory such as an SRAM (Static RAM) and a DRAM (Dynamic RAM). Is provided. A control program for the control unit 11 to perform processing is stored in the nonvolatile memory of the storage unit 12. The control program is a computer program in which processing contents when communicating with the display device 2 and processing contents when controlling each unit included in the touch pen 1 are described. The volatile memory of the storage unit 12 temporarily stores various data generated by the control unit 11 executing the control program. In addition, the control part 11 and the memory | storage part 12 may be comprised integrally.

タッチペン1に係る制御プログラムは、記録媒体3にコンピュータが読み取り可能に記録されている制御プログラム3aの複製であってもよい。記憶部12は、図示しない読出装置によって記録媒体3から読み出された制御プログラム3aを記憶する。記録媒体3は、CD(Compact Disc)−ROM、DVD(Digital Versatile Disc)−ROM、BD(Blu-ray (登録商標)Disc)等の光ディスク、フレキシブルディスク、ハードディスク等の磁気ディスク、磁気光ディスク、半導体メモリ等である。また、記憶部12に記憶される制御プログラムは、通信ネットワークや放送波等の任意の伝送媒体を介して後述の通信部13に伝送された制御プログラムであってもよい。なお、本発明は、制御プログラムが電子的な伝送における搬送波に埋め込まれた情報信号の形態でも実現され得る。   The control program related to the touch pen 1 may be a copy of the control program 3a recorded on the recording medium 3 so as to be readable by the computer. The storage unit 12 stores a control program 3a read from the recording medium 3 by a reading device (not shown). The recording medium 3 is a CD (Compact Disc) -ROM, a DVD (Digital Versatile Disc) -ROM, an optical disc such as a BD (Blu-ray (registered trademark) Disc), a magnetic disc such as a flexible disc or a hard disc, a magnetic optical disc, and a semiconductor. Memory, etc. The control program stored in the storage unit 12 may be a control program transmitted to the communication unit 13 described later via an arbitrary transmission medium such as a communication network or a broadcast wave. The present invention can also be realized in the form of an information signal in which a control program is embedded in a carrier wave in electronic transmission.

また、記憶部12には、基準テーブル121及び変換テーブル122が記憶されている。基準テーブル121は、タッチペン1の先端部1aに特定の圧力が加えられたときに、当該タッチペン1が出力すべき出力値が記憶されたテーブルである。変換テーブル122は、タッチペン1の先端部1aに加えられた圧力の値を出力値に変換する際に用いる値を記憶するテーブルである。なお、基準テーブル121及び変換テーブル122の詳細については後述する。   The storage unit 12 stores a reference table 121 and a conversion table 122. The reference table 121 is a table in which an output value to be output by the touch pen 1 when a specific pressure is applied to the tip portion 1a of the touch pen 1 is stored. The conversion table 122 is a table that stores values used when converting a pressure value applied to the tip 1a of the touch pen 1 into an output value. Details of the reference table 121 and the conversion table 122 will be described later.

通信部13は、制御部11の指示に従って表示装置2との間で無線により通信を行う。通信部13は例えば、IEEE802.11の規格に準拠した無線通信、Bluetooth(登録商標)、ZigBee(登録商標)、Z−wave(登録商標)、赤外線通信等によって、表示装置2との間で通信を行う。なお、通信部13は、無線により通信を行うようにしてあれば、電磁波の周波数帯、規格等は問わない。また、通信部13は、有線により表示装置2と通信を行うようにしてもよい。   The communication unit 13 performs wireless communication with the display device 2 in accordance with instructions from the control unit 11. The communication unit 13 communicates with the display device 2 by, for example, wireless communication conforming to the IEEE 802.11 standard, Bluetooth (registered trademark), ZigBee (registered trademark), Z-wave (registered trademark), infrared communication, or the like. I do. The communication unit 13 may be any electromagnetic wave frequency band, standard, or the like as long as it communicates wirelessly. The communication unit 13 may communicate with the display device 2 by wire.

検出部14は例えば、ダイヤフラム等を有する圧力センサであり、先端部1aに加えられた圧力を検出する。検出部14は例えば、圧力を検出する都度、検出した圧力の値を表す信号を制御部11に出力する。   The detection unit 14 is, for example, a pressure sensor having a diaphragm or the like, and detects the pressure applied to the tip 1a. For example, each time the pressure is detected, the detection unit 14 outputs a signal indicating the detected pressure value to the control unit 11.

報知部15は例えば、LED(Light Emitting Diode)等のランプであり、タッチペン1の筐体に設けられている。報知部15は、制御部11の指示に従って、点灯又は消灯する。なお、報知部15は、点滅以外に点灯色を変える等の異なる点灯態様にて点灯可能であってもよい。また、実施形態1では、報知部15はランプであるとして主に説明するが、スピーカ等の音声を出力する構成、振動を発生させる構成等の報知可能な構成であればよい。   The notification unit 15 is a lamp such as an LED (Light Emitting Diode), for example, and is provided in the housing of the touch pen 1. The notification unit 15 is turned on or off according to an instruction from the control unit 11. In addition, the alerting | reporting part 15 may be able to be lighted in different lighting modes, such as changing a lighting color other than blinking. In the first embodiment, the notification unit 15 is mainly described as a lamp. However, the notification unit 15 may be a configuration capable of notification such as a configuration of outputting sound such as a speaker or a configuration of generating vibration.

ボタン16は、タッチペン1の筐体に設けられたボタンであり、ボタン16は押下された場合に、押下されたことを表す信号を制御部11に出力する。   The button 16 is a button provided on the housing of the touch pen 1. When the button 16 is pressed, a signal indicating that the button 16 is pressed is output to the control unit 11.

表示装置2は、表示部21及びタッチパネル装置22を備える。表示部21は、例えば液晶ディスプレイ、プラズマディスプレイ又は有機EL(Electroluminescence)パネル等であり、タッチパネル装置22からの指示に従って、使用者に対して通知すべき情報、操作に必要な情報等を表示する。   The display device 2 includes a display unit 21 and a touch panel device 22. The display unit 21 is, for example, a liquid crystal display, a plasma display, an organic EL (Electroluminescence) panel, or the like, and displays information to be notified to the user, information necessary for operation, and the like according to instructions from the touch panel device 22.

タッチパネル装置22は、制御部22a、通信部22b、座標取得部22cを備え、制御部22aは、通信部22b及び座標取得部22cに接続される。制御部22aは、CPU又はMPU等を含み、タッチパネル装置22が備える各部の動作を制御する。また、制御部22aは、画像情報生成部22dを備える。画像情報生成部22dは、表示部21に対してタッチペン1が接触又は近接したときにおける座標の情報と、タッチペン1から送信された出力値の情報とに基づいて、描画画像を表す画像情報を生成する。制御部22aは、画像情報生成部22dが生成した画像情報を表示部21に出力し、表示部21に当該画像情報が表す描画画像を表示させる。なお、当該座標の情報は後述の座標取得部22cが取得した情報である。   The touch panel device 22 includes a control unit 22a, a communication unit 22b, and a coordinate acquisition unit 22c, and the control unit 22a is connected to the communication unit 22b and the coordinate acquisition unit 22c. The control unit 22a includes a CPU, an MPU, or the like, and controls the operation of each unit provided in the touch panel device 22. The control unit 22a includes an image information generation unit 22d. The image information generation unit 22d generates image information representing a drawing image based on coordinate information when the touch pen 1 is in contact with or close to the display unit 21 and output value information transmitted from the touch pen 1. To do. The control unit 22a outputs the image information generated by the image information generation unit 22d to the display unit 21, and causes the display unit 21 to display a drawing image represented by the image information. The coordinate information is information acquired by a coordinate acquisition unit 22c described later.

通信部22bは、制御部22aの指示に従ってタッチペン1との間で無線により通信を行う。通信部22bは例えば、IEEE802.11の規格に準拠した無線通信、Bluetooth、ZigBee、Z−wave、赤外線通信等によって、タッチペン1との間で通信を行う。なお、通信部22bは、無線により通信を行うようにしてあれば、電磁波の周波数帯、規格等は問わない。また、通信部22bは、有線によりタッチペン1と通信を行うようにしてもよい。   The communication unit 22b performs wireless communication with the touch pen 1 in accordance with an instruction from the control unit 22a. The communication unit 22b performs communication with the touch pen 1 by, for example, wireless communication compliant with the IEEE 802.11 standard, Bluetooth, ZigBee, Z-wave, infrared communication, or the like. The communication unit 22b may be any electromagnetic wave frequency band, standard, or the like as long as it communicates wirelessly. Moreover, you may make it the communication part 22b communicate with the touch pen 1 by a wire communication.

座標取得部22cは、タッチパネルを備え、表示部21に対してタッチペン1が接触又は近接したときにおける座標の情報を取得する。座標取得部22cは、赤外線の発光素子及び赤外線の受光素子を用いた方式、透明電極を用いた方式、並びに抵抗膜を用いた方式等の各種の方式によって、当該タッチペン1が接触又は近接したときにおける座標の情報を取得する。座標取得部22cは、取得した座標の情報を制御部22aに出力する。   The coordinate acquisition unit 22 c includes a touch panel, and acquires coordinate information when the touch pen 1 contacts or approaches the display unit 21. When the touch pen 1 comes into contact with or approaches the coordinate acquisition unit 22c by various methods such as a method using an infrared light emitting element and an infrared light receiving element, a method using a transparent electrode, and a method using a resistive film. Get coordinate information at. The coordinate acquisition unit 22c outputs the acquired coordinate information to the control unit 22a.

図3は、基準テーブル121の一例を示す概念図である。基準テーブル121には、圧力値毎に基準出力値が記憶されている。基準テーブル121には例えば、圧力値300g及び基準出力値2500と、圧力値500g及び基準出力値2700とが夫々対応付けて記憶されている。即ち、図3の基準テーブル121は、先端部1aに300gの圧力が加えられたときにタッチペン1が出力すべき出力値が2500であり、先端部1aに500gの圧力が加えられたときにタッチペン1が出力すべき出力値が2700であることを示している。当該基準出力値は例えば、サンプルとして用意された複数のタッチペン1の先端部1a夫々に300g及び500gの圧力を加えたときにおける出力値の平均、最頻値、中央値等の各種の統計量を用いることができる。   FIG. 3 is a conceptual diagram illustrating an example of the reference table 121. The reference table 121 stores a reference output value for each pressure value. In the reference table 121, for example, a pressure value 300g and a reference output value 2500, and a pressure value 500g and a reference output value 2700 are stored in association with each other. That is, the reference table 121 of FIG. 3 has an output value that the touch pen 1 should output when a pressure of 300 g is applied to the tip end portion 1a, and a touch pen when a pressure of 500 g is applied to the tip end portion 1a. 1 indicates that the output value to be output is 2700. The reference output value includes, for example, various statistics such as an average, a mode, and a median of output values when 300 g and 500 g of pressure are applied to the tip portions 1a of a plurality of touch pens 1 prepared as samples. Can be used.

図4は、変換テーブル122の一例を示す概念図である。変換テーブル122には、入力値毎に出力値が記憶されている。入力値は、検出部14が検出した圧力の値である。出力値は、入力値の値に応じてタッチペン1が出力すべき値である。実施形態1においては、8つの入力値及び出力値が夫々対応付けて記憶されている。なお、変換テーブル122は変換情報に相当する。   FIG. 4 is a conceptual diagram illustrating an example of the conversion table 122. The conversion table 122 stores an output value for each input value. The input value is a pressure value detected by the detection unit 14. The output value is a value that the touch pen 1 should output according to the value of the input value. In the first embodiment, eight input values and output values are stored in association with each other. The conversion table 122 corresponds to conversion information.

以上のように構成された画像表示システムにおいて、タッチペン1は、先端部1aに加えられた圧力の値を検出部14が検出した場合、変換テーブル122を用いて当該圧力の値を出力値に変換し、変換した出力値を表示装置2に送信する。   In the image display system configured as described above, when the detection unit 14 detects the pressure value applied to the tip 1a, the touch pen 1 converts the pressure value into an output value using the conversion table 122. Then, the converted output value is transmitted to the display device 2.

図5は、先端部1aに加えられた圧力の値を出力値に変換し、変換した出力値を表示装置2に送信するときにおけるタッチペン1の処理手順を示すフローチャートである。タッチペン1の制御部11は、検出部14が圧力を検出したか否かを判定する(ステップS11)。制御部11は例えば、検出部14から圧力の値を表す信号が入力されているか否かにより判定を行う。圧力を検出していないと判定した場合(S11:NO)、制御部11は出力値に変換する処理を行わず、圧力を検出するまで処理を待つ。   FIG. 5 is a flowchart showing a processing procedure of the touch pen 1 when the pressure value applied to the tip 1a is converted into an output value and the converted output value is transmitted to the display device 2. The control unit 11 of the touch pen 1 determines whether or not the detection unit 14 has detected a pressure (step S11). For example, the control unit 11 determines whether or not a signal representing a pressure value is input from the detection unit 14. When it determines with not detecting the pressure (S11: NO), the control part 11 does not perform the process converted into an output value, but waits for a process until a pressure is detected.

圧力を検出したと判定した場合(S11:YES)、制御部11は変換テーブル122の中から1つ又は2つの出力値を選択する(ステップS12)。制御部11は例えば、検出部14が検出した圧力の値と同じ入力値が変換テーブル122に記憶されている場合、当該入力値に対応する1つの出力値を選択する。制御部11は例えば、当該圧力の値と同じ入力値が変換テーブル122に記憶されていない場合、変換テーブル122に記憶された出力値の中から、当該圧力の値における直前及び直後の2つの入力値夫々に対応する2つの出力値を選択する。例えば、検出部14が検出した圧力の値が50gであった場合、制御部11は変換テーブル122から1500の出力値を選択する。また例えば、検出部14が検出した圧力の値が70gであった場合、制御部11は変換テーブル122から入力値が50及び100夫々に対応する1500及び1900の出力値を選択する。制御部11はステップS12で制御プログラムを実行することにより、選択部として機能する。   When it determines with having detected the pressure (S11: YES), the control part 11 selects one or two output values from the conversion table 122 (step S12). For example, when the same input value as the pressure value detected by the detection unit 14 is stored in the conversion table 122, the control unit 11 selects one output value corresponding to the input value. For example, when the same input value as the pressure value is not stored in the conversion table 122, the control unit 11 selects two input values immediately before and immediately after the pressure value from the output values stored in the conversion table 122. Two output values corresponding to each value are selected. For example, when the pressure value detected by the detection unit 14 is 50 g, the control unit 11 selects an output value of 1500 from the conversion table 122. Further, for example, when the pressure value detected by the detection unit 14 is 70 g, the control unit 11 selects the output values 1500 and 1900 corresponding to the input values 50 and 100 from the conversion table 122, respectively. The control unit 11 functions as a selection unit by executing a control program in step S12.

次いで、制御部11は、検出部14が検出した圧力の値を出力値に変換する(ステップS13)。制御部11は例えば、選択した出力値が1つであった場合、選択した出力値を変換すべき出力値とする。即ち、制御部11は、ステップS12で変換テーブル122から検出部14が検出した圧力の値に応じた出力値を選択することにより、当該圧力の値を出力値に変換する。また制御部11は例えば、選択した出力値が2つであった場合、当該2つの選択値を用いて下記式(1)に基づく線形補間を行うことで、当該圧力の値を変換する。制御部11はステップS13で制御プログラムを実行することにより、変換部として機能する。   Next, the control unit 11 converts the pressure value detected by the detection unit 14 into an output value (step S13). For example, when there is one selected output value, the control unit 11 sets the selected output value as an output value to be converted. That is, the control unit 11 converts the pressure value into an output value by selecting an output value corresponding to the pressure value detected by the detection unit 14 from the conversion table 122 in step S12. For example, when there are two selected output values, the control unit 11 converts the pressure value by performing linear interpolation based on the following equation (1) using the two selected values. The control unit 11 functions as a conversion unit by executing the control program in step S13.

Pout=((T2−T1)/(P2−P1))×(Pin−P1)+T1…(1)
但し、
T1<T2
T1:選択された出力値
T2:選択された出力値
P1:T1に対応する入力値
P2:T2に対応する入力値
Pout:変換結果である出力値
Pin:検出部14が検出した圧力の値
Pout = ((T2−T1) / (P2−P1)) × (Pin−P1) + T1 (1)
However,
T1 <T2
T1: Selected output value T2: Selected output value P1: Input value P2 corresponding to T1: Input value Pout corresponding to T2: Output value Pin as a conversion result: Pressure value detected by the detection unit 14

ここで、制御部11は、検出部14が検出した圧力の値に相当する出力値が変換テーブル122に存在する場合に当該出力値を変換すべき出力値とすることで、変換に際しての処理負担を軽減することができる。また、制御部11は、当該圧力の値に相当する出力値が変換テーブル122に存在しない場合に選択した2つの出力値を用いて線形補間した値を変換すべき出力値とすることによって、簡便に変換すべき出力値を得ることができる。更に、制御部11が当該線形補間を行うことによって、タッチペン1は検出部14が検出可能な圧力の値全てに対応する出力値を変換テーブル122に記憶する必要がないため、記憶部12の記憶領域の使用量を少なくすることができる。   Here, when the output value corresponding to the pressure value detected by the detection unit 14 exists in the conversion table 122, the control unit 11 sets the output value as an output value to be converted. Can be reduced. Further, the control unit 11 makes it easy to convert the value obtained by linear interpolation using the two output values selected when the output value corresponding to the pressure value does not exist in the conversion table 122 to the output value to be converted. An output value to be converted into can be obtained. Furthermore, since the control unit 11 performs the linear interpolation, it is not necessary for the touch pen 1 to store output values corresponding to all pressure values that can be detected by the detection unit 14 in the conversion table 122. The amount of area used can be reduced.

制御部11は、ステップS13の処理の後、通信部13に指示を出し、変換した出力値を表示装置2に送信する(ステップS14)。その後、制御部11は処理を終える。通信部13は、出力部に相当する。   After the process of step S13, the control unit 11 issues an instruction to the communication unit 13 and transmits the converted output value to the display device 2 (step S14). Thereafter, the control unit 11 finishes the process. The communication unit 13 corresponds to an output unit.

タッチペン1は図5に示した処理手順によって先端部1aに加えられた圧力に応じた出力値を表示装置2に送信することができる。しかしながら、検出部14の検出精度は、タッチペン1の周囲の環境、経年劣化等により、変動する場合がある。そのため、タッチペン1は先端部1aに実際に加えられた圧力に応じて変換すべき所望の出力値を得ることができない、即ち出力値の変換精度が低下する場合がある。   The touch pen 1 can transmit an output value corresponding to the pressure applied to the tip portion 1a to the display device 2 by the processing procedure shown in FIG. However, the detection accuracy of the detection unit 14 may vary depending on the environment around the touch pen 1, deterioration over time, and the like. For this reason, the touch pen 1 cannot obtain a desired output value to be converted according to the pressure actually applied to the tip 1a, that is, the output value conversion accuracy may be reduced.

図6は、タッチペン1の出力値の変換精度が低下する例を説明する説明図である。図6には、タッチペン1が変換した出力値のグラフが示され、横軸には先端部1aに加えられた圧力の大きさが示され、縦軸にはタッチペン1が変換した出力値の大きさが示されている。また、図6中、太線は変換精度の低下がないタッチペン1によって変換された出力値を表しており、細線は変換精度の低下があるタッチペン1によって変換された出力値を表している。図6に示したように、変換精度の低下がないタッチペン1の先端部1aに50gの圧力が加えられたときに変換した出力値と、変換精度の低下があるタッチペン1の先端部1aに100gの圧力が加えられたときに変換した出力値とが同じである。即ち、変換精度の低下があるタッチペン1は、検出部14の検出精度が低下することに起因して、先端部1aに100gの圧力が加えられているにも関わらず、50gの圧力が加えられたときの出力値に変換される。そのため、変換精度が低下したタッチペン1を使用者が使用した場合に、所望の描画画像を表示装置2に表示させることができず、利便性が低下する。本願におけるタッチペン1は、低下した変換精度を向上させるべく、変換テーブル122の記憶内容を更新する処理を実行する。以下にその処理手順について説明する。   FIG. 6 is an explanatory diagram illustrating an example in which the conversion accuracy of the output value of the touch pen 1 is lowered. FIG. 6 shows a graph of the output value converted by the touch pen 1, the horizontal axis shows the pressure applied to the tip 1 a, and the vertical axis shows the output value converted by the touch pen 1. Is shown. In FIG. 6, the thick line represents the output value converted by the touch pen 1 with no reduction in conversion accuracy, and the thin line represents the output value converted by the touch pen 1 with a decrease in conversion accuracy. As shown in FIG. 6, the output value converted when 50 g of pressure is applied to the tip 1a of the touch pen 1 with no reduction in conversion accuracy, and 100 g at the tip 1a of the touch pen 1 with reduced conversion accuracy. The output value converted when the pressure is applied is the same. That is, the touch pen 1 having a reduced conversion accuracy is subjected to a pressure of 50 g even though a pressure of 100 g is applied to the tip 1 a due to a decrease in the detection accuracy of the detection unit 14. The output value is converted to Therefore, when the user uses the touch pen 1 with reduced conversion accuracy, a desired drawing image cannot be displayed on the display device 2, and convenience is reduced. The touch pen 1 in the present application executes a process of updating the stored contents of the conversion table 122 in order to improve the reduced conversion accuracy. The processing procedure will be described below.

図7は、変換テーブル122を更新するときにおけるタッチペン1の処理手順を示すフローチャートである。タッチペン1の制御部11は、自装置の電源がオンになったか否かを判定する(ステップS21)。制御部11は例えば、図示しない電源ボタンから電源投入を示す信号が入力されたか否かにより判定を行う。電源がオンになっていないと判定した場合(S21:NO)、制御部11は電源がオンになるまで処理を行わない。   FIG. 7 is a flowchart illustrating a processing procedure of the touch pen 1 when the conversion table 122 is updated. The control unit 11 of the touch pen 1 determines whether or not the power of its own device is turned on (step S21). For example, the control unit 11 determines whether or not a signal indicating power-on is input from a power button (not shown). When it is determined that the power is not turned on (S21: NO), the control unit 11 does not perform the process until the power is turned on.

電源がオンになったと判定した場合(S21:YES)、制御部11はボタン16が押下されているか否かを判定する(ステップS22)。制御部11は、ボタン16から信号が入力されているか否かにより判定を行う。ここで、制御部11は、ステップS21及びステップS22の処理を行うことにより、ボタン16が押下された状態で自装置の電源がオンとなったか否かを判定する。ボタン16が押下されていないと判定した場合(S22:NO)、制御部11は処理を終え、図5に示した処理を行う。   When it determines with the power supply having been turned on (S21: YES), the control part 11 determines whether the button 16 is pressed down (step S22). The control unit 11 determines whether or not a signal is input from the button 16. Here, the control part 11 determines whether the power supply of the own apparatus was turned on in the state by which the button 16 was pressed by performing the process of step S21 and step S22. When it determines with the button 16 not being pressed down (S22: NO), the control part 11 complete | finishes a process and performs the process shown in FIG.

ボタン16が押下されていると判定した場合(S22:YES)、制御部11は基準テーブル121の中から、1つの基準出力値を読み出す(ステップS23)。その後、制御部11は、読み出した基準出力値に基づいて、報知処理を行う(ステップS24)。制御部11は例えば、読み出した基準出力値に対応する圧力の値を先端部1aに加えさせるべく、報知部15に報知させる。制御部11はステップS23において、図3に示したような基準テーブル121から2500の基準出力値を読み出した場合、300gの圧力を先端部1aに加えさせるべく、報知部15に指示を出す。報知部15は例えば、当該指示に基づいて、0.5秒間隔で3回点灯した後、3秒間消灯を継続する点灯態様を複数回に亘って繰り返す。なお、報知処理は使用者に読み出した基準出力値に対応する圧力の値を報知する態様であれば、どのような報知態様であってもよい。   If it is determined that the button 16 is pressed (S22: YES), the control unit 11 reads one reference output value from the reference table 121 (step S23). Thereafter, the control unit 11 performs a notification process based on the read reference output value (step S24). For example, the control unit 11 causes the notification unit 15 to notify the tip portion 1a of the pressure value corresponding to the read reference output value. When the control unit 11 reads the reference output value of 2500 from the reference table 121 as shown in FIG. 3 in step S23, the control unit 11 instructs the notification unit 15 to apply a pressure of 300 g to the distal end portion 1a. For example, based on the instruction, the notification unit 15 repeats a lighting mode in which the light is continuously turned off for 3 seconds after being turned on three times at intervals of 0.5 seconds. The notification process may be any notification mode as long as the pressure value corresponding to the reference output value read to the user is notified.

その後、制御部11は、完了操作を受け付けたか否かを判定する(ステップS25)。
完了操作は、使用者によって先端部1aへ圧力を加える動作が完了したことを示す操作であり、例えばボタン16を1回押下する操作等である。ここで、使用者は、報知処理に基づいて先端部1aに圧力を加える。例えば、タッチペン1が報知処理において300gの圧力を加えさせるべく報知を行った場合、使用者はプッシュゲージ等を用いて300gの圧力が先端部1aに加わるようにする。その後、使用者は300gの圧力を先端部1aに加えた状態で完了操作を行う。
Thereafter, the control unit 11 determines whether or not a completion operation has been accepted (step S25).
The completion operation is an operation indicating that the operation of applying pressure to the distal end portion 1a has been completed by the user, for example, an operation of pressing the button 16 once. Here, the user applies pressure to the distal end portion 1a based on the notification process. For example, when the touch pen 1 makes a notification to apply a pressure of 300 g in the notification process, the user uses a push gauge or the like to apply a pressure of 300 g to the tip 1a. Thereafter, the user performs a completion operation with 300 g of pressure applied to the tip 1a.

完了操作を受け付けていないと判定した場合(S25:NO)、制御部11は完了操作を受け付けるまで待機する。即ち、制御部11は使用者によって報知処理に対応する圧力が先端部1aに加えられるまで待機する。   When it is determined that the completion operation has not been received (S25: NO), the control unit 11 waits until the completion operation is received. That is, the control unit 11 stands by until a pressure corresponding to the notification process is applied to the tip portion 1a by the user.

完了操作を受け付けたと判定した場合(S25:YES)、制御部11は図5中のステップS12及びステップS13と同様の処理を行うことで検出部14の検出値を変換した出力値を、読み出した基準出力値で除算する(ステップS26)。以下では特に断らない限り、図5中のステップS12及びステップS13と同様の処理を行うことで変換された出力値を変換値と称する。ここで、制御部11はステップS26の処理を行うことにより変換値と基準出力値とのずれを算出している。また、制御部11はステップS26において制御プログラムを実行することにより除算部として機能する。その後、制御部11は、除算結果を記憶部12に一時的に記憶する(ステップS27)。   When it is determined that the completion operation has been received (S25: YES), the control unit 11 reads the output value obtained by converting the detection value of the detection unit 14 by performing the same processing as in step S12 and step S13 in FIG. Divide by the reference output value (step S26). In the following, unless otherwise specified, an output value converted by performing the same processing as Step S12 and Step S13 in FIG. 5 is referred to as a conversion value. Here, the control unit 11 calculates the difference between the converted value and the reference output value by performing the process of step S26. Moreover, the control part 11 functions as a division part by executing a control program in step S26. Thereafter, the control unit 11 temporarily stores the division result in the storage unit 12 (step S27).

次いで、制御部11は、基準テーブル121から全ての基準出力値の読み出しが完了したか否かを判定する(ステップS28)。制御部11は例えば、ステップS23の処理を、基準テーブル121の行数分だけ行ったか否かにより判定を行う。読み出しが完了していないと判定した場合(S28:NO)、制御部11はステップS23に処理を戻す。このとき、制御部11は、先のステップS23の処理で読み出した基準出力値と異なる基準出力値を基準テーブル121から読み出す。   Next, the control unit 11 determines whether or not reading of all reference output values from the reference table 121 has been completed (step S28). For example, the control unit 11 determines whether or not the processing in step S23 has been performed by the number of rows in the reference table 121. If it is determined that the reading has not been completed (S28: NO), the control unit 11 returns the process to step S23. At this time, the control unit 11 reads from the reference table 121 a reference output value different from the reference output value read in the process of the previous step S23.

読み出しが完了したと判定した場合(S28:YES)、制御部11は一時的に記憶した除算結果の平均値を算出する(ステップS29)。次いで、制御部11は算出した平均値を用いて、変換テーブル122に記憶されている出力値を更新する更新処理を行う(ステップS30)。更新処理において、制御部11は変換テーブル122に記憶されている出力値夫々を算出した平均値で除算した除算結果を新たな出力値として変換テーブル122に記憶する。制御部11はステップS30において制御プログラムを実行することにより、更新部として機能する。制御部11は、ステップS30の処理を行った後、処理を終え、図5に示した処理を行う。   When it is determined that the reading has been completed (S28: YES), the control unit 11 calculates an average value of the temporarily stored division results (step S29). Next, the control unit 11 performs an update process for updating the output value stored in the conversion table 122 using the calculated average value (step S30). In the update process, the control unit 11 stores the division result obtained by dividing each output value stored in the conversion table 122 by the calculated average value in the conversion table 122 as a new output value. The control unit 11 functions as an update unit by executing the control program in step S30. After performing the process of step S30, the controller 11 finishes the process and performs the process shown in FIG.

タッチペン1は、図7に示した処理によって更新された変換テーブル122を用いて図5に示した処理を実行することにより、低下した変換精度を向上させることができる。図8は、変換テーブル122の更新を行うことによる効果を説明する説明図である。図8には、図6と同様にタッチペン1が変換した出力値のグラフが示されており、図8中の太線及び細線は夫々、図6中の太線及び細線と同様である。図8中の破線は、変換精度の低下があるタッチペン1の変換テーブル122を図7に示した処理によって更新した後の出力値を表している。即ち、変換精度の低下があるタッチペン1が図7に示した処理を行うことによって、細線の出力値を破線の出力値とすることができ、太線で示された変換精度の低下がないタッチペン1の出力値に近付けることができる。従って、実施形態1におけるタッチペン1は、例えば検出部14による圧力の検出精度が低下した場合であっても、変換テーブル122を更新することによって、先端部1aに加えられた圧力を出力値に変換するに際して、低下した変換精度を向上することができる。   The touch pen 1 can improve the reduced conversion accuracy by executing the process shown in FIG. 5 using the conversion table 122 updated by the process shown in FIG. FIG. 8 is an explanatory diagram for explaining the effect of updating the conversion table 122. FIG. 8 shows a graph of output values converted by the touch pen 1 in the same manner as in FIG. 6, and the thick and thin lines in FIG. 8 are the same as the thick and thin lines in FIG. 6, respectively. The broken line in FIG. 8 represents the output value after the conversion table 122 of the touch pen 1 having a decrease in conversion accuracy is updated by the process shown in FIG. That is, when the touch pen 1 with reduced conversion accuracy performs the process shown in FIG. 7, the output value of the thin line can be changed to the output value of the broken line, and the touch pen 1 with no decrease in conversion accuracy indicated by the thick line. The output value can be approached. Therefore, the touch pen 1 according to the first embodiment converts the pressure applied to the distal end portion 1a into an output value by updating the conversion table 122 even when, for example, the pressure detection accuracy by the detection unit 14 is reduced. In doing so, the reduced conversion accuracy can be improved.

(実施形態2)
実施形態2においては、タッチペン1が通信機能を有する外部装置との間で通信を行うことにより変換テーブル122を更新する例について説明する。なお、以下の説明においては、外部装置が表示装置2である例について説明するが、他のコンピュータ、タブレット端末等の各種の通信機能を有する装置が外部装置であってもよい。また、以下で説明する構成及び作用を除くその他の構成及び作用は上述の実施形態1と同様であるため、同様の部分については同一の符号を付し、同様の構成に関する詳細な説明及びその作用効果の説明は省略する。
(Embodiment 2)
In the second embodiment, an example in which the conversion table 122 is updated by performing communication between the touch pen 1 and an external device having a communication function will be described. In the following description, an example in which the external device is the display device 2 will be described. However, devices having various communication functions such as other computers and tablet terminals may be external devices. In addition, since the other configurations and functions other than the configurations and functions described below are the same as those of the first embodiment, the same reference numerals are given to the same parts, and the detailed description of the same configurations and the functions thereof are the same. Description of the effect is omitted.

図9及び図10は、実施形態2におけるタッチペン1が変換テーブル122を更新するときの画像表示システムの処理手順を示すフローチャートである。表示装置2におけるタッチパネル装置22の制御部22aは、開始操作を受け付けたか否かを判定する(ステップS31)。開始操作は、変換テーブル122の更新を開始するための操作であり、例えば、表示部21に表示された更新の開始を表すボタンに対して、使用者が接触する操作である。制御部22aは、使用者が接触した際に取得した座標が、上記表示部21に表示されたボタンの座標範囲内に含まれていた場合、開始操作を受け付けたと判定する。開始操作を受け付けていないと判定した場合(S31:NO)、制御部22aは開始操作を受け付けるまで処理を待つ。   FIGS. 9 and 10 are flowcharts illustrating the processing procedure of the image display system when the touch pen 1 according to the second embodiment updates the conversion table 122. The control unit 22a of the touch panel device 22 in the display device 2 determines whether or not a start operation is accepted (step S31). The start operation is an operation for starting the update of the conversion table 122. For example, the start operation is an operation in which the user touches the button indicating the start of the update displayed on the display unit 21. The control unit 22a determines that the start operation has been received when the coordinates acquired when the user touches are included in the coordinate range of the button displayed on the display unit 21. When it determines with not accepting start operation (S31: NO), the control part 22a waits for a process until it accepts start operation.

開始操作を受け付けたと判定した場合(S31:YES)、制御部22aは、通信部22bに指示を出し、変換テーブル122の更新の開始を示す開始信号をタッチペン1に送信する(ステップS32)。   If it is determined that the start operation has been received (S31: YES), the control unit 22a issues an instruction to the communication unit 22b and transmits a start signal indicating the start of update of the conversion table 122 to the touch pen 1 (step S32).

タッチペン1の通信部13は、表示装置2から送信された開始信号を受信する(ステップS33)。その後、タッチペン1は、基準テーブル121から1つの基準出力値を読み出す(ステップS34)。ステップS34の処理は、実施形態1における図7中のステップS23と同様の処理である。次いで、制御部11は通信部13に指示を出し、表示装置2に表示信号を送信する(ステップS35)。表示信号は、読み出した基準出力値に対応する圧力の値を表す信号である。制御部11は、表示装置2の表示部21に当該圧力の値を表示させるべく表示信号を送信する。   The communication unit 13 of the touch pen 1 receives the start signal transmitted from the display device 2 (step S33). Thereafter, the touch pen 1 reads one reference output value from the reference table 121 (step S34). The process of step S34 is the same process as step S23 in FIG. Next, the control unit 11 issues an instruction to the communication unit 13 and transmits a display signal to the display device 2 (step S35). The display signal is a signal representing a pressure value corresponding to the read reference output value. The control unit 11 transmits a display signal to display the pressure value on the display unit 21 of the display device 2.

表示装置2におけるタッチパネル装置22の通信部22bは、当該表示信号を受信する(ステップS36)。次いで、タッチパネル装置22の制御部22aは、受信した表示信号に含まれる圧力値を表示部21に表示させる(ステップS37)。制御部22aは、受信した表示信号が表す圧力値の情報を表示部21に出力することにより、表示部21に当該圧力値を表示させる。例えば、表示信号に300gを表す圧力値が表示されている場合、使用者はプッシュゲージ等を用いて300gの圧力が先端部1aに加わるようにする。   The communication unit 22b of the touch panel device 22 in the display device 2 receives the display signal (step S36). Next, the control unit 22a of the touch panel device 22 displays the pressure value included in the received display signal on the display unit 21 (step S37). The control unit 22a outputs information on the pressure value represented by the received display signal to the display unit 21, thereby causing the display unit 21 to display the pressure value. For example, when a pressure value representing 300 g is displayed in the display signal, the user uses a push gauge or the like to apply a pressure of 300 g to the tip portion 1a.

次いで、制御部22aは完了操作を受け付けたか否かを判定する(ステップS38)。実施形態2における完了操作は、使用者によって先端部1aへ圧力を加える動作が完了したことを示す操作であり、例えば、表示部21に表示された圧力値の表示を終了させる操作等である。   Next, the control unit 22a determines whether or not a completion operation has been accepted (step S38). The completion operation in the second embodiment is an operation indicating that the operation of applying pressure to the distal end portion 1a is completed by the user, for example, an operation for ending the display of the pressure value displayed on the display unit 21.

完了操作を受け付けていないと判定した場合(S38:NO)、制御部22aは完了操作を受け付けるまで処理を待つ。一方、完了操作を受け付けたと判定した場合(S38:YES)、制御部22aは、通信部22bに指示を出し、完了操作を受け付けたことを示す完了信号を送信する(ステップS39)。   If it is determined that the completion operation has not been accepted (S38: NO), the control unit 22a waits for processing until the completion operation is accepted. On the other hand, when it is determined that the completion operation has been accepted (S38: YES), the control unit 22a issues an instruction to the communication unit 22b and transmits a completion signal indicating that the completion operation has been accepted (step S39).

タッチペン1の通信部13は、完了信号を受信する(ステップS40)。タッチペン1の制御部11は、変換値をステップS34で読み出した基準出力値で除算する(ステップS41)。制御部11はステップS41において制御プログラムを実行することにより、除算部として機能する。   The communication unit 13 of the touch pen 1 receives the completion signal (step S40). The control unit 11 of the touch pen 1 divides the converted value by the reference output value read in step S34 (step S41). The control unit 11 functions as a division unit by executing a control program in step S41.

その後、制御部11は、除算結果が所定の数値範囲内にあるか否かを判定する(ステップS42)。所定の数値範囲は例えば、0.5〜1.5である。即ち、制御部11はステップS42において、変換値と基準出力値とのずれが正常であるか否かを判定している。制御部11はステップS42において制御プログラムを実行することにより、除算結果判定部として機能する。   Thereafter, the control unit 11 determines whether or not the division result is within a predetermined numerical range (step S42). The predetermined numerical range is, for example, 0.5 to 1.5. That is, in step S42, the control unit 11 determines whether or not the deviation between the converted value and the reference output value is normal. The control unit 11 functions as a division result determination unit by executing a control program in step S42.

除算結果が所定の数値範囲内にないと判定した場合、即ち当該ずれが異常であると判定した場合(S42:NO)、制御部11は通信部13に指示を出し、表示装置2に当該ずれが異常であることを示すエラー信号を送信し(ステップS43)、処理を終える。   When it is determined that the division result is not within the predetermined numerical range, that is, when it is determined that the deviation is abnormal (S42: NO), the control unit 11 issues an instruction to the communication unit 13, and the display device 2 is informed of the deviation. An error signal indicating that is abnormal is transmitted (step S43), and the process ends.

表示装置2の制御部22aは、通信部22bがエラー信号を受信したか否かを判定する(ステップS44)。エラー信号を受信したと判定した場合(S44:YES)、制御部22aは、受信したエラー信号に基づいて、表示部21にエラー表示を行い(ステップS45)、処理を終える。エラー表示は例えば、変換テーブル122の更新を行うことを中止することを示す表示である。ここで、当該ずれが異常となる原因としては、表示部21に表示された圧力値と異なる圧力値が使用者によって先端部1aに加えられたこと、検出部14が故障していること等が挙げられる。従って、当該エラー表示は、上述の開始操作を再度行うことを促す表示、タッチペン1が故障している虞があることを報知する表示であってもよい。
エラー信号を受信していないと判定した場合(S44:NO)、後述のステップS51に処理を進める
The control unit 22a of the display device 2 determines whether or not the communication unit 22b has received an error signal (step S44). When it determines with having received the error signal (S44: YES), the control part 22a displays an error on the display part 21 based on the received error signal (step S45), and complete | finishes a process. For example, the error display is a display indicating that the update of the conversion table 122 is to be stopped. Here, the reason why the deviation becomes abnormal is that a pressure value different from the pressure value displayed on the display unit 21 is applied to the distal end portion 1a by the user, the detection unit 14 is broken, or the like. Can be mentioned. Therefore, the error display may be a display prompting the user to perform the start operation again, or a display notifying that the touch pen 1 may be broken.
If it is determined that an error signal has not been received (S44: NO), the process proceeds to step S51 described below.

一方、ステップS42において除算結果が所定の数値範囲内にあると判定した場合、即ち、当該ずれが正常である場合(S42:YES)、制御部11は当該除算結果を記憶部12に一時記憶する(ステップS46)。その後、制御部11は基準テーブル121から全ての基準出力値の読み出しを完了したか否かを判定する(ステップS47)。ステップS47の処理は、実施形態1における図7中のステップS28の処理と同様であるため、説明を省略する。読み出しを完了していないと判定した場合(S47:NO)、制御部11はステップS34に処理を戻す。このとき、制御部11は、先のステップS34の処理で読み出した基準出力値と異なる基準出力値を基準テーブル121から読み出す。   On the other hand, when it is determined in step S42 that the division result is within the predetermined numerical range, that is, when the deviation is normal (S42: YES), the control unit 11 temporarily stores the division result in the storage unit 12. (Step S46). Thereafter, the control unit 11 determines whether or not all the reference output values have been read from the reference table 121 (step S47). The processing in step S47 is the same as the processing in step S28 in FIG. When it is determined that the reading has not been completed (S47: NO), the control unit 11 returns the process to step S34. At this time, the control unit 11 reads from the reference table 121 a reference output value that is different from the reference output value read in the process of the previous step S34.

読み出しを完了したと判定した場合(S47:YES)、制御部11は、ステップS48及びステップS49に処理を進める。ステップS48及びステップS49の処理は、実施形態1における図7中のステップS29及びステップS30の処理と同様であるため、説明を省略する。制御部11は、ステップS49の処理の後、通信部13に指示を出し、変換テーブル122の更新を終了したことを示す終了信号を表示装置2に送信し(ステップS50)、処理を終える。   When it is determined that the reading has been completed (S47: YES), the control unit 11 advances the process to step S48 and step S49. The processing in step S48 and step S49 is the same as the processing in step S29 and step S30 in FIG. After the process of step S49, the control unit 11 issues an instruction to the communication unit 13, transmits an end signal indicating that the update of the conversion table 122 is completed to the display device 2 (step S50), and ends the process.

表示装置2の制御部22aは、通信部22bが終了信号を受信したか否かを判定する(ステップS51)。終了信号を受信していないと判定した場合(S51:NO)、制御部22aはステップS36に処理を戻す。一方、終了信号を受信したと判定した場合(S51:YES)、制御部22aは、表示部21にタッチペン1の変換テーブル122の更新が終了したことを示す表示を行い(ステップS52)、処理を終える。   The control unit 22a of the display device 2 determines whether or not the communication unit 22b has received an end signal (step S51). When it determines with not having received the completion | finish signal (S51: NO), the control part 22a returns a process to step S36. On the other hand, when it determines with having received the completion | finish signal (S51: YES), the control part 22a performs the display which shows that the update of the conversion table 122 of the touch pen 1 was complete | finished on the display part 21 (step S52), and performs a process. Finish.

以上の構成及び処理によって、実施形態1と同様の効果を得ることができる。また、タッチペン1の変換精度を向上させる処理を行うときに、表示装置2が図9中のステップS37、ステップS45、ステップS52で表示部21に表示を行うことができるため、使用者の利便性を向上することができる。また、タッチペン1は、上述のようにステップS42の処理によって変換値と基準出力値とのずれが正常である場合に変換テーブル122の更新を行うことができるため、出力値の変換精度の低下をより確実に向上することができる。   With the above configuration and processing, the same effects as in the first embodiment can be obtained. Further, when the process of improving the conversion accuracy of the touch pen 1 is performed, the display device 2 can display on the display unit 21 in step S37, step S45, and step S52 in FIG. Can be improved. Moreover, since the touch pen 1 can update the conversion table 122 when the shift between the converted value and the reference output value is normal by the process of step S42 as described above, the conversion accuracy of the output value is reduced. It can improve more reliably.

(実施形態3)
実施形態3においては、タッチペン1が自身の姿勢を特定し、特定の姿勢であることを特定した場合に、変換テーブル122を更新する処理を開始する例について説明する。なお、以下の説明においては、タッチペン1と、タッチペン1を支持するスタンドとを備えるタッチペンシステムについて説明する。また、以下で説明する構成及び作用を除くその他の構成及び作用は上述の実施形態1及び2と同様であるため、同様の部分については同一の符号を付し、同様の構成に関する詳細な説明及びその作用効果の説明は省略する。
(Embodiment 3)
In the third embodiment, an example will be described in which the process of updating the conversion table 122 is started when the touch pen 1 specifies its own posture and specifies that it is in a specific posture. In the following description, a touch pen system including the touch pen 1 and a stand that supports the touch pen 1 will be described. In addition, since the other configurations and operations other than the configurations and operations described below are the same as those in the first and second embodiments, the same reference numerals are given to the same parts, and the detailed description on the same configurations and The description of the function and effect is omitted.

図11は、実施形態3におけるタッチペンシステムの構成を示す模式図である。実施形態3におけるタッチペンシステムは、タッチペン1とタッチペン1を支持するスタンド4とを備える。スタンド4は、底を有する筒形をなし、タッチペン1を先端部1aから挿入可能に開口している。スタンド4は、開口を上向きにして載置されている。図11には、タッチペン1がスタンド4の開口から挿入された状態で支持されているときにおけるタッチペンシステムが模式的に示されている。タッチペン1は、先端部1aがスタンド4の底面に接触した状態で直立するように支持されている。即ち、タッチペン1がスタンド4に支持されているとき、先端部1aには自重に相当する圧力が加えられている。   FIG. 11 is a schematic diagram illustrating a configuration of a touch pen system according to the third embodiment. The touch pen system according to the third embodiment includes a touch pen 1 and a stand 4 that supports the touch pen 1. The stand 4 has a cylindrical shape having a bottom, and is open so that the touch pen 1 can be inserted from the distal end portion 1a. The stand 4 is placed with the opening facing upward. FIG. 11 schematically shows the touch pen system when the touch pen 1 is supported while being inserted from the opening of the stand 4. The touch pen 1 is supported so as to stand upright in a state where the distal end portion 1 a is in contact with the bottom surface of the stand 4. That is, when the touch pen 1 is supported by the stand 4, a pressure corresponding to its own weight is applied to the distal end portion 1 a.

図12は、タッチペン1の構成を示すブロック図である。実施形態3におけるタッチペン1の記憶部12には、実施形態1における基準テーブル121に代えて、基準情報123が記憶されている。基準情報123は、タッチペン1の重さと同等の圧力が先端部1aに加えられたときにタッチペン1が出力すべき一の出力値を表す情報である。また、実施形態3におけるタッチペン1は、加速度検出部17を備える。加速度検出部17は例えば、自身の加速度を検出可能な3軸加速度センサ等の各種のセンサを備える。加速度検出部17は例えば、タッチペン1が静止している場合、重力加速度を検出することができる。また、加速度検出部17は、検出した加速度を表す信号を制御部11に出力する。更に、タッチペン1は、計時部18を備える。計時部18は、例えばタイマ、リアルタイムクロック等を有し、制御部11の制御に従って計時を開始し、計時結果を制御部11に与える。   FIG. 12 is a block diagram illustrating a configuration of the touch pen 1. The storage unit 12 of the touch pen 1 according to the third embodiment stores reference information 123 instead of the reference table 121 according to the first embodiment. The reference information 123 is information representing one output value that the touch pen 1 should output when a pressure equivalent to the weight of the touch pen 1 is applied to the tip 1a. The touch pen 1 according to the third embodiment includes an acceleration detection unit 17. The acceleration detection unit 17 includes, for example, various sensors such as a three-axis acceleration sensor that can detect its own acceleration. For example, when the touch pen 1 is stationary, the acceleration detection unit 17 can detect gravitational acceleration. In addition, the acceleration detection unit 17 outputs a signal representing the detected acceleration to the control unit 11. Further, the touch pen 1 includes a timer unit 18. The timer unit 18 includes, for example, a timer, a real-time clock, and the like, starts timing according to the control of the control unit 11, and gives the timing result to the control unit 11.

以上のように構成されたタッチペン1は、図11に示すようにスタンド4に支持された姿勢であることを加速度検出部17の検出値に基づいて検知し、変換テーブル122の更新を開始する。以下、その処理手順について説明する。   The touch pen 1 configured as described above detects that the posture is supported by the stand 4 as shown in FIG. 11 based on the detection value of the acceleration detection unit 17 and starts updating the conversion table 122. The processing procedure will be described below.

図13は、変換テーブル122を更新するときにおけるタッチペン1の処理手順を示すフローチャートである。タッチペン1の制御部11は、スタンド4に支持された姿勢、即ち先端部1aを下向きにした姿勢を検知したか否かを判定する(ステップS61)。制御部11は、例えば加速度検出部17がタッチペン1における軸心方向の先端部1a側に重力加速度と同等の加速度を検出し、かつその他の方向の加速度が所定の閾値以下である場合、当該姿勢を検知したと判定する。重力加速度と同等の加速度は例えば、重力加速度の値よりも1m/s2 小さい値から重力加速度の値よりも1m/s2 大きい値までの範囲内にある加速度であり、所定の閾値は例えば1m/s2 である。制御部11はステップS61において制御プログラムを実行することにより、姿勢検知部として機能する。支持された姿勢を検知していないと判定した場合(S61:NO)、制御部11は当該姿勢を検知するまで処理を待つ。 FIG. 13 is a flowchart illustrating a processing procedure of the touch pen 1 when the conversion table 122 is updated. The control unit 11 of the touch pen 1 determines whether or not the posture supported by the stand 4, that is, the posture with the tip 1a facing downward is detected (step S61). For example, when the acceleration detection unit 17 detects an acceleration equivalent to the gravitational acceleration on the tip end 1a side in the axial center direction of the touch pen 1 and the acceleration in the other direction is equal to or less than a predetermined threshold, the control unit 11 Is detected. The acceleration equivalent to the gravitational acceleration is, for example, an acceleration within a range from a value that is 1 m / s 2 smaller than the value of the gravitational acceleration to a value that is 1 m / s 2 larger than the value of the gravitational acceleration, and the predetermined threshold is 1 m, for example. / S 2 . The control unit 11 functions as an attitude detection unit by executing a control program in step S61. When it determines with not detecting the supported attitude | position (S61: NO), the control part 11 waits for a process until the said attitude | position is detected.

支持された姿勢を検知したと判定した場合(S61:YES)、制御部11は計時部18に指示を出し、計時を開始する(ステップS62)。次いで、制御部11は別姿勢を検知したか否かを判定する(ステップS63)。制御部11は例えば、加速度検出部17から、上述のスタンド4に支持された姿勢を表す加速度以外の加速度を表す信号が入力されたか否かにより判定を行う。別姿勢を検知したと判定した場合(S63:YES)、制御部11は計時部18に指示を出し、計時をリセットする(ステップS64)。その後、制御部11はステップS61に処理を戻す。   When it determines with having detected the supported attitude | position (S61: YES), the control part 11 issues an instruction | indication to the time measuring part 18, and starts time measuring (step S62). Next, the control unit 11 determines whether another posture is detected (step S63). For example, the control unit 11 determines whether or not a signal representing an acceleration other than the acceleration representing the posture supported by the stand 4 is input from the acceleration detection unit 17. When it determines with having detected another attitude | position (S63: YES), the control part 11 gives the instruction | indication to the time measuring part 18, and resets time measuring (step S64). Then, the control part 11 returns a process to step S61.

別姿勢を検知していないと判定した場合(S63:NO)、制御部11は計時を開始してから所定時間が経過したか否かを判定する(ステップS65)。所定時間は例えば5秒である。所定時間を経過していないと判定した場合(S65:NO)、制御部11はステップS63に処理を戻す。   When it is determined that a different posture has not been detected (S63: NO), the control unit 11 determines whether or not a predetermined time has elapsed since the start of timing (step S65). The predetermined time is, for example, 5 seconds. When it determines with predetermined time not having passed (S65: NO), the control part 11 returns a process to step S63.

所定時間を経過したと判定した場合(S65:YES)、制御部11は変換値を記憶部12から読み出した基準出力値で除算する(ステップS66)。具体的には、制御部11は記憶部12に記憶された基準情報123を読み出し、読み出した基準情報123が表す出力値で変換値を除算する。その後、制御部11はステップS67に処理を進め、その後処理を終える。ステップS67の処理は、実施形態1における図7中のステップS30の処理と同様であるため、説明を省略する。   When it is determined that the predetermined time has elapsed (S65: YES), the control unit 11 divides the converted value by the reference output value read from the storage unit 12 (step S66). Specifically, the control unit 11 reads the reference information 123 stored in the storage unit 12, and divides the converted value by the output value represented by the read reference information 123. Then, the control part 11 advances a process to step S67, and finishes a process after that. The process of step S67 is the same as the process of step S30 in FIG.

以上の構成及び処理によって、タッチペン1は使用者によって特定の圧力を先端部1aに加えられることなく、自重の値に基づいて変換テーブル122を更新することができる。   With the configuration and processing described above, the touch pen 1 can update the conversion table 122 based on the value of its own weight without applying a specific pressure to the tip 1a by the user.

(実施形態4)
実施形態4においては、タッチペン1はスタンド4に係合した状態で支持され、当該状態を検知することにより、変換テーブル122の更新を開始する例について説明する。なお、以下で説明する構成及び作用を除くその他の構成及び作用は上述の実施形態3と同様であるため、同様の部分については同一の符号を付し、同様の構成に関する詳細な説明及びその作用効果の説明は省略する。
(Embodiment 4)
In the fourth embodiment, an example in which the touch pen 1 is supported in a state of being engaged with the stand 4 and updating of the conversion table 122 is started by detecting the state will be described. Since the other configurations and operations other than the configurations and operations described below are the same as those in the third embodiment, the same reference numerals are given to the same parts, and the detailed description of the same configurations and the operations thereof are the same. Description of the effect is omitted.

図14は、実施形態4におけるタッチペンシステムの構成を示す模式図である。図14Aには、タッチペン1がスタンド4に支持される前の状態が模式的に示され、図14Bには、タッチペン1がスタンド4に支持されている状態が模式的に示されている。実施形態4におけるタッチペン1は、2つのボタン19が設けられている。2つのボタン19は、タッチペン1の軸心を挟んだ位置に、当該軸心に向かって押下可能に設けられている。即ち、ボタン19が押下された場合、タッチペン1には凹部1bが形成される。また、各ボタン19は例えば、使用者がタッチペン1を把持した場合に誤って押下されないように、タッチペン1の筐体よりも内側に設けられている。更に、各ボタン19は、押下されている間に亘って、押下されたことを表す信号を制御部11に出力する。   FIG. 14 is a schematic diagram illustrating a configuration of a touch pen system according to the fourth embodiment. FIG. 14A schematically shows a state before the touch pen 1 is supported by the stand 4, and FIG. 14B schematically shows a state where the touch pen 1 is supported by the stand 4. The touch pen 1 according to the fourth embodiment is provided with two buttons 19. The two buttons 19 are provided at positions sandwiching the axis of the touch pen 1 so as to be pressed toward the axis. That is, when the button 19 is pressed, the touch pen 1 is formed with the recess 1b. Each button 19 is provided, for example, on the inner side of the housing of the touch pen 1 so that the button 19 is not accidentally pressed when the user holds the touch pen 1. Furthermore, each button 19 outputs a signal indicating that the button 19 has been pressed to the control unit 11 while the button 19 is being pressed.

スタンド4は、内周面に2つの凸部41を備える。具体的には、凸部41は夫々、スタンド4の底部までの寸法が、タッチペン1のボタン19から先端部1aまでの寸法と略同等となる位置のスタンド4の内周面に形成されている。   The stand 4 includes two convex portions 41 on the inner peripheral surface. Specifically, each of the convex portions 41 is formed on the inner peripheral surface of the stand 4 at a position where the dimension from the bottom of the stand 4 to the bottom part of the touch pen 1 is substantially equal to the dimension from the button 19 to the tip 1a. .

使用者はタッチペン1を先端部1aからスタンド4の開口に挿入し、先端部1aをスタンド4の底部に押圧するように押し込むことによってボタン19が凸部41に押し下げされ、形成された凹部1bに凸部41が係合する。タッチペン1の凹部1b及びスタンド4の凸部41が係合することによって、図14Bに示すような状態でタッチペン1がスタンド4に支持される。このとき、先端部1aには、例えば300g等の所定の圧力が加えられる。なお、タッチペン1の凹部1bは被係合部に相当し、スタンド4の凸部41は係合部に相当する。
また、実施形態4のタッチペン1が記憶する基準情報123は、当該所定の圧力が先端部1aに加えられたときに出力すべき一の出力値を表す情報である。
The user inserts the touch pen 1 into the opening of the stand 4 from the tip portion 1a, and pushes the tip portion 1a against the bottom portion of the stand 4 so that the button 19 is pushed down to the convex portion 41, and the concave portion 1b is formed. The convex part 41 engages. By engaging the concave portion 1b of the touch pen 1 and the convex portion 41 of the stand 4, the touch pen 1 is supported by the stand 4 in a state as shown in FIG. 14B. At this time, a predetermined pressure such as 300 g is applied to the distal end portion 1a. The concave portion 1b of the touch pen 1 corresponds to the engaged portion, and the convex portion 41 of the stand 4 corresponds to the engaging portion.
The reference information 123 stored in the touch pen 1 according to the fourth embodiment is information representing one output value to be output when the predetermined pressure is applied to the distal end portion 1a.

図15は、変換テーブル122を更新するときにおけるタッチペン1の処理手順を示すフローチャートである。なお、図15中のステップS72、ステップS74〜ステップS77の処理は、図13中のステップS62、ステップS64、ステップS65〜ステップS67の処理と同様であるため、説明を省略する。タッチペン1の制御部11は、ボタン19が押下されたことを検知したか否かを判定する(ステップS71)。制御部11は例えば、ボタン19が押下されたことを表す信号が入力されているか否かにより判定する。制御部11はステップS71において制御プログラムを実行することにより、係合検知部として機能する。   FIG. 15 is a flowchart illustrating a processing procedure of the touch pen 1 when the conversion table 122 is updated. Note that the processing in step S72, step S74 to step S77 in FIG. 15 is the same as the processing in step S62, step S64, step S65 to step S67 in FIG. The control unit 11 of the touch pen 1 determines whether or not it is detected that the button 19 has been pressed (step S71). For example, the control unit 11 determines whether or not a signal indicating that the button 19 is pressed is input. The control unit 11 functions as an engagement detection unit by executing a control program in step S71.

ボタン19が押下されたことを検知していないと判定した場合(S71:NO)、制御部11はボタン19が押下されたことを検知するまで処理を待つ。一方、ボタン19が押下されたことを検知したと判定した場合(S71:YES)、制御部11はステップS72に処理を進める。   When it is determined that the button 19 has not been pressed (S71: NO), the control unit 11 waits for processing until it is detected that the button 19 has been pressed. On the other hand, when it determines with having detected that the button 19 was pressed (S71: YES), the control part 11 advances a process to step S72.

制御部11はステップS72の処理の後、ボタン19の押下が解除されたか否かを判定する(ステップS73)。制御部11は例えば、ボタン19が押下されていることを表す信号が入力されていない場合に押下が解除されたと判定する。押下が解除されたと判定した場合(S73:YES)、制御部11はステップS74に処理を進め、押下が解除されていないと判定した場合(S73:NO)、制御部11はステップS75に処理を進める。   After the process of step S72, the control unit 11 determines whether or not the button 19 is released (step S73). For example, the control unit 11 determines that the pressing is released when a signal indicating that the button 19 is pressed is not input. When it is determined that the press has been released (S73: YES), the control unit 11 proceeds to step S74, and when it is determined that the press has not been released (S73: NO), the control unit 11 performs a process at step S75. Proceed.

以上の構成及び処理によって、タッチペン1はボタン19が押下されることによって形成される凹部1bにスタンド4の凸部41が係合しているときに先端部1aに加えられる圧力の値に基づいて変換テーブル122を更新することができる。また、タッチペン1の凹部1bと、スタンド4の凸部41が係合することによって、先端部1aに自重以上の圧力を加えることができるため、変換精度をより向上することができる。   With the above configuration and processing, the touch pen 1 is based on the value of pressure applied to the distal end portion 1a when the convex portion 41 of the stand 4 is engaged with the concave portion 1b formed when the button 19 is pressed. The conversion table 122 can be updated. Further, since the concave portion 1b of the touch pen 1 and the convex portion 41 of the stand 4 are engaged, a pressure higher than its own weight can be applied to the distal end portion 1a, so that the conversion accuracy can be further improved.

(実施形態5)
実施形態5においては、スタンド4に電磁石を設け、当該電磁石に発生させる磁力の大きさを切り替えることによって、タッチペン1の先端部1aに加えられる圧力の大きさを切り替える例について説明する。なお、以下で説明する構成及び作用を除くその他の構成及び作用は上述の実施形態3と同様であるため、同様の部分については同一の符号を付し、同様の構成に関する詳細な説明及びその作用効果の説明は省略する。
(Embodiment 5)
In the fifth embodiment, an example will be described in which an electromagnet is provided in the stand 4 and the magnitude of pressure applied to the tip 1a of the touch pen 1 is switched by switching the magnitude of the magnetic force generated by the electromagnet. Since the other configurations and operations other than the configurations and operations described below are the same as those in the third embodiment, the same reference numerals are given to the same parts, and the detailed description of the same configurations and the operations thereof are the same. Description of the effect is omitted.

図16は、実施形態5におけるタッチペンシステムの構成を示す模式図である。実施形態5におけるタッチペン1は、筐体内に磁性体5が設けられている。磁性体5は、例えば、鉄、フェライト等の金属、非金属を問わない磁性体を有している。スタンド4は、底部に電磁石42が埋設されている。実施形態5におけるタッチペンシステムにおいては、スタンド4は、電磁石42に発生させる磁力の大きさを切り替えることで磁性体5を引きつける強さを切り替える。   FIG. 16 is a schematic diagram illustrating a configuration of a touch pen system according to the fifth embodiment. In the touch pen 1 according to the fifth embodiment, a magnetic body 5 is provided in a housing. The magnetic body 5 has a magnetic body regardless of a metal such as iron or ferrite, or a non-metal. The stand 4 has an electromagnet 42 embedded at the bottom. In the touch pen system according to the fifth embodiment, the stand 4 switches the strength of attracting the magnetic body 5 by switching the magnitude of the magnetic force generated in the electromagnet 42.

次に実施形態5におけるスタンド4の構成について説明する。図17は、スタンド4の構成を示すブロック図である。スタンド4は、上述の電磁石42の他、制御部43、記憶部44、通信部45、電源46、スイッチ47a及び47b、並びに抵抗48a及び48bを備える。制御部43は、例えばMPU、CPU等を備え、スタンド4が備える各部の動作を制御する。具体的には、制御部43のMPU又はCPUは、記憶部44に記憶されている後述の制御プログラムを実行することにより各部の動作を制御する。   Next, the structure of the stand 4 in Embodiment 5 is demonstrated. FIG. 17 is a block diagram showing the configuration of the stand 4. The stand 4 includes a control unit 43, a storage unit 44, a communication unit 45, a power source 46, switches 47a and 47b, and resistors 48a and 48b, in addition to the electromagnet 42 described above. The control unit 43 includes, for example, an MPU, a CPU, etc., and controls the operation of each unit included in the stand 4. Specifically, the MPU or CPU of the control unit 43 controls the operation of each unit by executing a later-described control program stored in the storage unit 44.

記憶部44は、EEPROM、フラッシュメモリ、HDD等の不揮発性メモリと、SRAM、DRAM等の揮発性メモリとを備え、制御部43に接続されている。記憶部44の不揮発性メモリには、制御部43が処理を行うための制御プログラムが記憶されている。制御プログラムは、電磁石42に発生させる磁力の大きさを切り替えるときの処理内容等が記述されたコンピュータプログラムである。記憶部44の揮発性メモリには、制御部43が制御プログラムを実行することによって生ずる各種データを一時記憶する。なお、制御部43及び記憶部44は一体に構成されていてもよい。   The storage unit 44 includes a nonvolatile memory such as an EEPROM, a flash memory, and an HDD, and a volatile memory such as an SRAM and a DRAM, and is connected to the control unit 43. The nonvolatile memory of the storage unit 44 stores a control program for the control unit 43 to perform processing. The control program is a computer program in which the contents of processing for switching the magnitude of the magnetic force generated in the electromagnet 42 are described. The volatile memory of the storage unit 44 temporarily stores various data generated by the control unit 43 executing the control program. In addition, the control part 43 and the memory | storage part 44 may be comprised integrally.

また、記憶部44には切替テーブル441が記憶されている。切替テーブル441は、制御部43が電磁石42に発生させる磁力の大きさを切り替えるときに用いるテーブルであり、後述する。   In addition, a switching table 441 is stored in the storage unit 44. The switching table 441 is a table used when the control unit 43 switches the magnitude of the magnetic force generated by the electromagnet 42, which will be described later.

通信部45は制御部43に接続され、制御部43の指示に従ってタッチペン1との間で無線により通信を行う。通信部45は例えば、IEEE802.11の規格に準拠した無線通信、Bluetooth、ZigBee、Z−wave、赤外線通信等によって、タッチペン1との間で通信を行う。なお、通信部45は、無線により通信を行うようにしてあれば、電磁波の周波数帯、規格等は問わない。また、通信部45は、有線によりタッチペン1と通信を行うようにしてもよい。   The communication unit 45 is connected to the control unit 43 and performs wireless communication with the touch pen 1 in accordance with instructions from the control unit 43. The communication unit 45 performs communication with the touch pen 1 by wireless communication, Bluetooth, ZigBee, Z-wave, infrared communication, or the like based on the IEEE 802.11 standard, for example. The communication unit 45 is not limited to the electromagnetic wave frequency band, standard, or the like as long as it communicates wirelessly. The communication unit 45 may communicate with the touch pen 1 by wire.

電源46は5V等の所定の電圧を出力可能に構成された電源であり、一端が接地され、他端がスイッチ47a及び47b並びに抵抗48a及び48bを介して電磁石42に接続されており、電磁石42に給電する。電源46は給電部に相当する。   The power source 46 is a power source configured to be able to output a predetermined voltage such as 5 V. One end is grounded, and the other end is connected to the electromagnet 42 via the switches 47a and 47b and resistors 48a and 48b. Power to The power source 46 corresponds to a power feeding unit.

スイッチ47aは、電源46及び抵抗48aに接続され、スイッチ47bは電源46及び抵抗48bに接続されている。制御部43は、スイッチ47a及び47bの開閉を制御することによって、電源46及び電磁石42間の電流経路を切り替える。抵抗48aは例えば、16.7Ωの抵抗であり、抵抗48bは例えば10Ωの抵抗である。   The switch 47a is connected to the power source 46 and the resistor 48a, and the switch 47b is connected to the power source 46 and the resistor 48b. The control unit 43 switches the current path between the power supply 46 and the electromagnet 42 by controlling opening and closing of the switches 47a and 47b. The resistor 48a is, for example, a 16.7Ω resistor, and the resistor 48b is, for example, a 10Ω resistor.

図18は、切替テーブル441の一例を示す概念図である。切替テーブル441は、圧力値毎にスイッチ番号が記憶されている。切替テーブル441には例えば、圧力値300g及びスイッチ番号1と、圧力値500g及びスイッチ番号2とが夫々対応付けて記憶されている。例えば、スイッチ番号1はスイッチ47aを表し、スイッチ番号2はスイッチ47bを表している。制御部43はスタンド4に支持されたタッチペン1の先端部1aに300gの圧力を加える場合、切替テーブル441を参照してスイッチ47aをオンにし、先端部1aに500gの圧力を加える場合、切替テーブル441を参照してスイッチ47bをオンにする。   FIG. 18 is a conceptual diagram illustrating an example of the switching table 441. The switching table 441 stores a switch number for each pressure value. In the switching table 441, for example, the pressure value 300g and the switch number 1 and the pressure value 500g and the switch number 2 are stored in association with each other. For example, the switch number 1 represents the switch 47a, and the switch number 2 represents the switch 47b. When the controller 43 applies 300 g of pressure to the tip 1a of the touch pen 1 supported by the stand 4, the switch 47a is turned on with reference to the switching table 441, and when the pressure of 500g is applied to the tip 1a, the switching table 43 Referring to 441, the switch 47b is turned on.

実施形態5におけるタッチペン1は、基準情報123に代えて実施形態1と同様の基準テーブル121を記憶部12に記憶している。また、タッチペン1の通信部13はスタンド4との間で通信することができるように構成されている。   The touch pen 1 according to the fifth embodiment stores a reference table 121 similar to that of the first embodiment in the storage unit 12 instead of the reference information 123. The communication unit 13 of the touch pen 1 is configured to be able to communicate with the stand 4.

以上のようなタッチペンシステムにおいて、タッチペン1は、スタンド4との間で通信を行うことにより、スタンド4にスイッチ47a及び47bのオンオフを切り替えさせる。ここで、抵抗48a及び48bの抵抗値は互いに異なるため、電磁石42が発生する磁力の大きさはスイッチ47a及び47bが切り替えられることにより変化する。即ち、タッチペン1の磁性体5を引きつける力がスイッチ47a及び47bのオンオフの切り替えによって変化するため、先端部1aに加えられる圧力が変化する。タッチペン1は、磁性体5を引きつける力をスタンド4に変化させることにより、変換テーブル122を更新する。以下にその処理手順について説明する。   In the touch pen system as described above, the touch pen 1 causes the stand 4 to switch the switches 47 a and 47 b on and off by communicating with the stand 4. Here, since the resistance values of the resistors 48a and 48b are different from each other, the magnitude of the magnetic force generated by the electromagnet 42 changes when the switches 47a and 47b are switched. That is, since the force that attracts the magnetic body 5 of the touch pen 1 is changed by turning on and off the switches 47a and 47b, the pressure applied to the tip 1a changes. The touch pen 1 updates the conversion table 122 by changing the force that attracts the magnetic body 5 to the stand 4. The processing procedure will be described below.

図19は、タッチペン1が変換テーブル122を更新するときにおけるタッチペンシステムの処理手順を示すフローチャートである。タッチペン1の制御部11は、変換テーブル122の更新を開始するための開始条件が成立したか否かを判定する(ステップS81)。開始条件は例えば、実施形態3同様、特定の姿勢を検知した場合であってもよいし、ボタン16が例えば2秒等の所定秒数間に亘って押下された場合等であってもよい。制御部11はステップS81において制御プログラムを実行することにより、条件判定部として機能する。   FIG. 19 is a flowchart illustrating a processing procedure of the touch pen system when the touch pen 1 updates the conversion table 122. The control unit 11 of the touch pen 1 determines whether or not a start condition for starting the update of the conversion table 122 is satisfied (step S81). For example, the start condition may be a case where a specific posture is detected as in the third embodiment, or a case where the button 16 is pressed for a predetermined number of seconds such as 2 seconds. The control unit 11 functions as a condition determination unit by executing a control program in step S81.

開始条件が成立していないと判定した場合(S81:NO)、制御部11は開始条件が成立するまで処理を待つ。一方、開始条件が成立したと判定した場合(S81:YES)、制御部11は、通信部13に指示を出し、変換テーブル122の更新の開始を表す開始信号をスタンド4に送信する(ステップS82)。   When it is determined that the start condition is not satisfied (S81: NO), the control unit 11 waits for processing until the start condition is satisfied. On the other hand, when it is determined that the start condition is satisfied (S81: YES), the control unit 11 issues an instruction to the communication unit 13 and transmits a start signal indicating the start of update of the conversion table 122 to the stand 4 (step S82). ).

スタンド4の通信部45は、タッチペン1から送信された開始信号を受信する(ステップS83)。スタンド4の制御部43は、スイッチ47a及び47bの中で1つのスイッチをオンにする(ステップS84)。   The communication unit 45 of the stand 4 receives the start signal transmitted from the touch pen 1 (step S83). The control unit 43 of the stand 4 turns on one of the switches 47a and 47b (step S84).

次いで、制御部43は、通信部45に指示を出し、スイッチをオンにしたことを表すオン信号をタッチペン1に送信する(ステップS85)。このとき、制御部43は、切替テーブル441を参照し、オンにしたスイッチに対応する圧力値を表す情報をオン信号に含める処理を実行する。例えば、ステップS84でオンにしたスイッチがスイッチ47aであった場合、300gの圧力値を表す情報をオン信号に含める。通信部45は、通知部に相当する。   Next, the control unit 43 issues an instruction to the communication unit 45, and transmits an on signal indicating that the switch is turned on to the touch pen 1 (step S85). At this time, the control unit 43 refers to the switching table 441 and executes a process of including information indicating the pressure value corresponding to the turned-on switch in the ON signal. For example, when the switch turned on in step S84 is the switch 47a, information representing a pressure value of 300 g is included in the on signal. The communication unit 45 corresponds to a notification unit.

一方、タッチペン1の通信部13は、スタンド4から送信されたオン信号を受信する(ステップS86)。タッチペン1の制御部11は、受信したオン信号に含まれる圧力値に対応する1つの基準出力値を基準テーブル121から読み出す(ステップS87)。その後、制御部11は、ステップS88及びステップS89の処理を実行する。ここで、ステップS88及びステップS89の処理は、実施形態1における図7中のステップS26及びステップS27と同様であるため、説明を省略する。その後、制御部11は、通信部13に指示を出し、ステップS89の処理が完了したことを表す処理完了信号をスタンド4に送信する(ステップS90)。   On the other hand, the communication unit 13 of the touch pen 1 receives the ON signal transmitted from the stand 4 (step S86). The control unit 11 of the touch pen 1 reads one reference output value corresponding to the pressure value included in the received ON signal from the reference table 121 (step S87). Then, the control part 11 performs the process of step S88 and step S89. Here, the processing of step S88 and step S89 is the same as step S26 and step S27 in FIG. Thereafter, the control unit 11 issues an instruction to the communication unit 13 and transmits a process completion signal indicating that the process of step S89 is completed to the stand 4 (step S90).

スタンド4の通信部45は、タッチペン1から送信された処理完了信号を受信する(ステップS91)。その後、スタンド4の制御部43は、スイッチの切り替えが完了したか否かを判定する(ステップS92)。制御部43は例えば、処理完了信号を2回受信したか否か、スイッチ47a及び47b夫々を1回オンにしたか否かにより、当該切り替えが完了したか否かを判定する。切り替えが完了していないと判定した場合(S92:NO)、制御部43はステップS84に処理を戻す。このとき、制御部43は、スイッチ47a及び47bの内、先のステップS84の処理においてオンにしたスイッチとは異なるスイッチをオンにする。   The communication unit 45 of the stand 4 receives the processing completion signal transmitted from the touch pen 1 (step S91). Thereafter, the control unit 43 of the stand 4 determines whether or not the switch switching is completed (step S92). For example, the control unit 43 determines whether or not the switching is completed depending on whether or not the processing completion signal has been received twice and whether or not each of the switches 47a and 47b has been turned on once. If it is determined that the switching has not been completed (S92: NO), the control unit 43 returns the process to step S84. At this time, the control unit 43 turns on a switch different from the switch turned on in the process of the previous step S84 among the switches 47a and 47b.

切り替えが完了したと判定した場合(S92:YES)、制御部43は、通信部45に指示を出し、スイッチの切り替えが完了したことを表す切替完了信号をタッチペン1に送信する(ステップS93)。   When it is determined that the switching has been completed (S92: YES), the control unit 43 instructs the communication unit 45 to transmit a switching completion signal indicating that the switching of the switch is completed to the touch pen 1 (step S93).

タッチペン1の制御部11は、通信部13が切替完了信号を受信したか否かを判定する(ステップS94)。切替完了信号を受信していないと判定した場合(S94:NO)、制御部11は、ステップS86に処理を戻す。即ち、制御部11はスタンド4からオン信号を受信する都度、ステップS87〜ステップS90の処理を実行する。一方、切替完了信号を受信したと判定した場合(S94:YES)、ステップS95及びステップS96の処理を実行後、処理を終える。ここで、ステップS95及びステップS96の処理は夫々、実施形態1における図7中のステップS29及びステップS30と同様であるため説明を省略する。   The control unit 11 of the touch pen 1 determines whether or not the communication unit 13 has received a switching completion signal (step S94). When it determines with not having received the switch completion signal (S94: NO), the control part 11 returns a process to step S86. That is, every time the control unit 11 receives an ON signal from the stand 4, the control unit 11 executes the processes of steps S <b> 87 to S <b> 90. On the other hand, when it determines with having received the switch completion signal (S94: YES), a process is complete | finished after performing the process of step S95 and step S96. Here, the processing in step S95 and step S96 is the same as that in step S29 and step S30 in FIG.

以上の構成及び処理によって、タッチペン1は例えば、スタンド4に設けられた電磁石42により、自身の磁性体5が引きつけられたときに先端部1aに加えられる外力の値に基づいて変換テーブル122を更新することができる。   With the above configuration and processing, the touch pen 1 updates the conversion table 122 based on the value of the external force applied to the distal end portion 1a when the magnetic body 5 is attracted by the electromagnet 42 provided on the stand 4, for example. can do.

なお、実施形態1〜5においては、タッチペン1における出力値の変換精度が低下した場合に当該変換精度を向上することができることを説明したが、その他の用途にも用いることができる。例えば、タッチペン1の製造工程において、検出部14に用いるセンサの検出精度のばらつきを一様とする補正のために、上述のように変換テーブル122を更新する処理を行うようにしてもよい。   In the first to fifth embodiments, it has been described that the conversion accuracy of the output value in the touch pen 1 can be improved, but the conversion accuracy can be improved, but it can also be used for other purposes. For example, in the manufacturing process of the touch pen 1, the process of updating the conversion table 122 as described above may be performed in order to correct the variation in detection accuracy of the sensor used in the detection unit 14.

また、今回開示された実施の形態は、全ての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は、上述した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。また、本発明の上述の各実施の形態で記載されている技術特徴は、互いに組み合わせて新しい技術方案を形成することができる。   In addition, it should be understood that the embodiment disclosed this time is illustrative in all respects and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the meanings described above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims. Further, the technical features described in the above embodiments of the present invention can be combined with each other to form a new technical plan.

本発明の実施態様1においては、外力を検出する検出部(14)と、該検出部(14)が検出した外力の値を所定の変換情報(122)に基づいて変換する変換部(11)と、該変換部(11)で外力の値を変換して得られた出力値を外部装置(2)に出力する出力部(13)とを備える出力装置(1)において、前記変換情報(122)の更新に係る所定条件を満たしたか否かを判定する条件判定部(11)と、該条件判定部(11)が所定条件を満たしたと判定した後に前記変換部(11)で変換して得られた出力値に基づいて、前記変換情報(11)を更新する更新部(11)とを備えることを特徴とする。   In Embodiment 1 of the present invention, a detection unit (14) that detects an external force, and a conversion unit (11) that converts the value of the external force detected by the detection unit (14) based on predetermined conversion information (122). And an output device (1) that outputs an output value obtained by converting the value of the external force by the converter (11) to the external device (2). In the output device (1), the conversion information (122 ) And a condition determination unit (11) that determines whether or not a predetermined condition related to the update is satisfied, and after the condition determination unit (11) determines that the predetermined condition is satisfied, the conversion unit (11) performs conversion. And an update unit (11) for updating the conversion information (11) based on the output value.

本発明にあっては、検出部(14)は自装置に加えられた外力を検出する。変換部(11)は、検出部(14)が検出した外力の値を所定の変換情報(122)に基づいて変換する。出力部(11)は、変換部で外力の値を変換して得られた出力値を外部装置(2)に出力する。条件判定部(11)は、変換情報(122)の更新に係る所定条件を満たしたか否かを判定する。更新部(11)は、条件判定部(11)が所定条件を満たしたと判定した後に前記変換部(11)で変換して得られた出力値に基づいて、当該変換情報(122)を更新する。従って、出力装置(1)は、条件判定部(11)の判定結果に基づいて、変換情報(122)を更新することができる。そのため、例えば検出部(14)による外力の検出精度が低下し、加えられた外力を出力値に変換するに際しての変換精度が低下した場合であっても、変換情報(122)を更新することによって、その低下した変換精度を向上することができる。   In this invention, a detection part (14) detects the external force applied to the own apparatus. The conversion unit (11) converts the value of the external force detected by the detection unit (14) based on predetermined conversion information (122). The output unit (11) outputs an output value obtained by converting the value of the external force by the conversion unit to the external device (2). The condition determination unit (11) determines whether or not a predetermined condition relating to the update of the conversion information (122) is satisfied. The update unit (11) updates the conversion information (122) based on the output value obtained by the conversion unit (11) after the condition determination unit (11) determines that the predetermined condition is satisfied. . Therefore, the output device (1) can update the conversion information (122) based on the determination result of the condition determination unit (11). Therefore, for example, even when the detection accuracy of the external force by the detection unit (14) decreases and the conversion accuracy when converting the applied external force into an output value decreases, by updating the conversion information (122) The reduced conversion accuracy can be improved.

本発明の実施態様2においては、前記検出部(14)に特定の外力が加えられたときに前記外部装置(2)に出力すべき基準出力値を記憶する記憶部(12)と、前記条件判定部(11)が所定条件を満たしたと判定した後に前記変換部(11)で変換して得られた出力値を、前記記憶部(12)に記憶された基準出力値で除算する除算部(11)を更に備え、前記更新部(11)は、前記除算部(11)の除算結果を用いて前記変換情報(122)を更新するようにしてあることを特徴とする。   In Embodiment 2 of the present invention, a storage unit (12) that stores a reference output value to be output to the external device (2) when a specific external force is applied to the detection unit (14), and the condition The division unit (11) that divides the output value obtained by conversion by the conversion unit (11) by the reference output value stored in the storage unit (12) after the determination unit (11) determines that the predetermined condition is satisfied. 11), and the update unit (11) updates the conversion information (122) using the division result of the division unit (11).

本発明にあっては、記憶部(12)は、検出部(14)に特定の外力が加えられたときに外部装置(2)に出力すべき基準出力値を記憶する。即ち、出力装置(1)は、特定の外力が加えられたときに変換すべき基準となる出力値を記憶している。除算部(11)は、条件判定部(11)が所定条件を満たしたと判定した後に変換部(11)で変換して得られた出力値を、記憶部(12)に記憶された基準出力値で除算する。更新部(11)は、除算部(11)の除算結果を用いて変換情報(122)を更新する。従って、除算部(11)は例えば、当該特定の外力が検出部(14)に加えられたときに変換部(11)で変換された出力値における当該基準出力値に対する割合を算出することができる。当該割合は、変換部(11)で変換された出力値と基準出力値とのずれを表している。また、更新部(11)は、当該割合で表されるずれを低減させるように変換情報(122)を更新することができる。   In the present invention, the storage unit (12) stores the reference output value to be output to the external device (2) when a specific external force is applied to the detection unit (14). That is, the output device (1) stores an output value serving as a reference to be converted when a specific external force is applied. The division unit (11) uses the reference output value stored in the storage unit (12) as the output value obtained by converting the conversion unit (11) after the condition determination unit (11) determines that the predetermined condition is satisfied. Divide by. The update unit (11) updates the conversion information (122) using the division result of the division unit (11). Therefore, for example, the division unit (11) can calculate the ratio of the output value converted by the conversion unit (11) to the reference output value when the specific external force is applied to the detection unit (14). . The ratio represents a difference between the output value converted by the conversion unit (11) and the reference output value. Moreover, the update part (11) can update the conversion information (122) so that the shift | offset | difference represented by the said ratio may be reduced.

本発明の実施態様3においては、前記除算結果が所定の数値範囲内にあるか否かを判定する除算結果判定部(11)を更に備え、前記更新部(11)は、前記除算結果判定部(11)が所定の数値範囲内にあると判定した場合に、前記変換情報(122)を更新するようにしてあることを特徴とする。   In Embodiment 3 of this invention, the division result determination part (11) which determines whether the said division result is in a predetermined numerical range is further provided, The said update part (11) is the said division result determination part. When it is determined that (11) is within a predetermined numerical range, the conversion information (122) is updated.

本発明にあっては、除算結果判定部(11)は、除算部(11)による除算結果が所定の数値範囲内にあるか否かを判定する。更新部(11)は、除算結果判定部(11)が所定の数値範囲内にあると判定した場合に変換情報(122)を更新する。出力装置(1)は例えば、当該除算結果が所定の数値範囲内にない場合には、基準出力値に対応する外力と異なる外力が使用者によって加えられたこと、検出部(14)が故障していること等を判定することができる。従って、出力装置(1)は、当該特定の外力が加えられたときに変換情報(122)を更新することができるため、出力値の変換精度の低下をより確実に向上することができる。   In the present invention, the division result determination unit (11) determines whether the division result by the division unit (11) is within a predetermined numerical range. The update unit (11) updates the conversion information (122) when the division result determination unit (11) determines that it is within a predetermined numerical range. In the output device (1), for example, when the division result is not within a predetermined numerical range, an external force different from the external force corresponding to the reference output value is applied by the user, and the detection unit (14) fails. Can be determined. Therefore, since the output device (1) can update the conversion information (122) when the specific external force is applied, it is possible to more reliably improve the decrease in the conversion accuracy of the output value.

本発明の実施態様4においては、前記条件判定部(11)が所定条件を満たしたと判定した場合に報知する報知部(15)を更に備え、前記更新部(11)は、前記報知部(15)が報知した後に前記変換部(11)で変換して得られた出力値に基づいて、前記変換情報(122)を更新するようにしてあることを特徴とする。   In Embodiment 4 of this invention, it further has the alerting | reporting part (15) notified when the said condition determination part (11) determines with satisfy | filling predetermined conditions, The said update part (11) is the said alerting | reporting part (15). ), The conversion information (122) is updated based on an output value obtained by conversion by the conversion unit (11).

本発明にあっては、報知部(15)は条件判定部(11)が所定条件を満たしたと判定した場合に報知する。更新部(11)は、報知部(15)が報知した後に変換部(11)で変換して得られた出力値に基づいて、変換情報(122)を更新する。従って、出力装置(1)は例えば、特定の外力を加える旨の報知を報知部(15)によって使用者に対して行うことができ、使用者によって加えられた当該特定の外力に基づいて変換情報(122)を更新することができる。   In this invention, an alerting | reporting part (15) alert | reports, when it determines with the condition determination part (11) satisfy | filling predetermined conditions. The update unit (11) updates the conversion information (122) based on the output value obtained by the conversion by the conversion unit (11) after the notification unit (15) notifies. Therefore, for example, the output device (1) can notify the user that a specific external force is applied by the notification unit (15), and the conversion information is based on the specific external force applied by the user. (122) can be updated.

本発明の実施態様5においては、前記変換情報(122)は、複数の外力の値夫々に対応する複数の出力値を含み、前記検出部(14)が検出した外力の値に基づいて、前記変換情報(122)に含まれる複数の出力値から1つ又は2つの出力値を選択する選択部(11)を更に備え、前記変換部(11)は、前記選択部(11)が選択した1つ又は2つの出力値に基づいて、前記外力の値を変換するようにしてあり、前記更新部(11)は、前記複数の出力値を更新するようにしてあることを特徴とする。   In Embodiment 5 of the present invention, the conversion information (122) includes a plurality of output values corresponding to a plurality of external force values, respectively, and based on the external force values detected by the detection unit (14), It further includes a selection unit (11) that selects one or two output values from a plurality of output values included in the conversion information (122), and the conversion unit (11) is the 1 selected by the selection unit (11). The external force value is converted based on one or two output values, and the updating unit (11) updates the plurality of output values.

本発明にあっては、変換情報(122)は、複数の外力の値夫々に対応する複数の出力値を含む。選択部(11)は、検出部(14)が検出した外力の値に基づいて、変換情報(122)に含まれる複数の出力値から1つ又は2つの出力値を選択する。変換部(11)は、当該1つ又は2つの出力値に基づいて当該外力の値を変換する。従って、出力装置(1)は例えば、検出部(14)が検出した外力の値に対応する出力値が存在する場合に当該出力値を変換すべき出力値とすることで、変換に際しての処理負担を軽減することができる。また、出力装置(1)は例えば、当該外力の値に相当する出力値が変換情報(122)に含まれていない場合に変換情報(122)に含まれる2つの出力値を用いて線形補間した値を変換すべき出力値とすることによって、簡便に変換すべき出力値を得ることができる。更に、出力装置(1)は当該線形補間を行うことによって、検出部(14)が検出可能な外力の値全てに対応する出力値を変換すべき出力値として記憶する必要がないため、記憶部(12)の記憶領域の使用量を少なくすることができる。
また、更新部(11)は、変換情報(122)に含まれる複数の出力値を更新する。従って、変換部(11)は、変換精度を向上すべく更新された出力値に基づいて、検出部(14)が検出した外力の値を変換することができる。そのため、出力装置(1)は、加えられた外力を出力値に変換するに際しての変換精度が低下した場合であっても、その低下した変換精度を向上させることができる。
In the present invention, the conversion information (122) includes a plurality of output values corresponding to a plurality of external force values. The selection unit (11) selects one or two output values from a plurality of output values included in the conversion information (122) based on the value of the external force detected by the detection unit (14). The conversion unit (11) converts the value of the external force based on the one or two output values. Therefore, for example, when there is an output value corresponding to the value of the external force detected by the detection unit (14), the output device (1) sets the output value as an output value to be converted. Can be reduced. In addition, for example, when the output value corresponding to the value of the external force is not included in the conversion information (122), the output device (1) performs linear interpolation using two output values included in the conversion information (122). By making the value an output value to be converted, an output value to be converted can be easily obtained. Furthermore, since the output device (1) does not need to store the output values corresponding to all the values of the external force that can be detected by the detection unit (14) as the output values to be converted by performing the linear interpolation, the storage unit The amount of use of the storage area in (12) can be reduced.
The updating unit (11) updates a plurality of output values included in the conversion information (122). Therefore, the conversion unit (11) can convert the value of the external force detected by the detection unit (14) based on the output value updated to improve the conversion accuracy. Therefore, the output device (1) can improve the reduced conversion accuracy even when the conversion accuracy when converting the applied external force into an output value is reduced.

本発明の実施態様6においては、ペン型であり、前記検出部(14)は、自装置の先端部(1a)に加えられた外力を検出するようにしてあることを特徴とする。   In Embodiment 6 of the present invention, it is a pen type, and the detection unit (14) is configured to detect an external force applied to the front end (1a) of the device itself.

本発明にあっては、出力装置(1)はペン型である。また、検出部(14)は自装置の先端部(1a)に加えられた外力を検出する。従って、出力装置(1)は例えば、表示装置(2)の表示画面に描画画像を表示させるときに用いられるタッチペン等に適用可能である。   In the present invention, the output device (1) is a pen type. Moreover, a detection part (14) detects the external force applied to the front-end | tip part (1a) of an own apparatus. Therefore, the output device (1) can be applied to, for example, a touch pen used when displaying a drawing image on the display screen of the display device (2).

本発明の実施態様7においては、自装置の姿勢を検知する姿勢検知部(11)を更に備え、前記条件判定部(11)は、前記姿勢検知部(11)が特定の姿勢を検知した場合に所定条件を満たしたと判定するようにしてあることを特徴とする。   In the seventh embodiment of the present invention, the apparatus further includes an attitude detection unit (11) for detecting the attitude of the own device, and the condition determination unit (11) is configured such that the attitude detection unit (11) detects a specific attitude. It is determined that the predetermined condition is satisfied.

本発明にあっては、姿勢検知部(11)は自装置の姿勢を検知する。条件判定部(11)は、姿勢検知部(11)が特定の姿勢を特定した場合に所定条件を満たしたと判定する。従って、出力装置(1)は、変換情報(122)を更新するタイミングを自装置の姿勢によって決定することができる。   In the present invention, the posture detection unit (11) detects the posture of the device itself. The condition determination unit (11) determines that the predetermined condition is satisfied when the posture detection unit (11) specifies a specific posture. Therefore, the output device (1) can determine the timing for updating the conversion information (122) according to the posture of the own device.

本発明の実施態様8においては、前記特定の姿勢は、前記先端部(1a)を鉛直方向下向きにした姿勢であることを特徴とする。   In Embodiment 8 of the present invention, the specific posture is a posture in which the tip end portion (1a) is directed downward in the vertical direction.

本発明にあっては、出力装置(1)は、自装置が先端部(1a)を鉛直方向に下向きにした姿勢であるときに変換情報(122)を更新することができる。出力装置(1)は例えば、上向きに開口した底を有する筒形のスタンド(4)に先端部(1a)から挿入されていた場合、先端部(1a)を略鉛直方向に下向きにした姿勢であり、先端部(1a)には自重分の圧力がスタンド(4)の底部から加えられている。この場合、出力装置(1)は、特定の外力を加えることなく、自重の値に基づいて変換情報(122)を更新することができる。   In the present invention, the output device (1) can update the conversion information (122) when the device is in a posture in which the tip portion (1a) is directed downward in the vertical direction. For example, when the output device (1) is inserted from the tip (1a) into a cylindrical stand (4) having a bottom that opens upward, the tip (1a) has a posture in which the tip (1a) faces downward in a substantially vertical direction. In addition, a pressure corresponding to its own weight is applied from the bottom of the stand (4) to the tip (1a). In this case, the output device (1) can update the conversion information (122) based on the value of its own weight without applying a specific external force.

本発明の実施態様9においては、実施態様6から8までの何れか一つに記載の出力装置(1)と、前記出力装置(1)が先端部(1a)から挿入可能に開口しており、底を有する筒形をなし、前記出力装置(1)を挿入させた状態で支持する係合部(41)を内側に設けてあるスタンド(4)とを備え、前記出力装置(1)は、前記スタンド(4)に挿入され、先端部(1a)が前記スタンドの底部を押圧するように押し込まれた場合に、前記係合部(41)に係合される被係合部(1b)と、前記係合部(41)の前記被係合部(1b)への係合を検知する係合検知部(11)とを更に有し、前記条件判定部(11)は、前記係合検知部(11)が係合を検知した場合に所定条件を満たしたと判定するようにしてあることを特徴とする。   In Embodiment 9 of the present invention, the output device (1) according to any one of Embodiments 6 to 8 and the output device (1) are opened so as to be insertable from the distal end portion (1a). And a stand (4) which has a cylindrical shape with a bottom and is provided with an engagement portion (41) for supporting the output device (1) in a state in which the output device (1) is inserted, and the output device (1) The engaged portion (1b) which is inserted into the stand (4) and is engaged with the engaging portion (41) when the distal end portion (1a) is pushed so as to press the bottom portion of the stand. And an engagement detection part (11) for detecting engagement of the engagement part (41) with the engaged part (1b), wherein the condition determination part (11) It is characterized in that when the detection unit (11) detects engagement, it is determined that a predetermined condition is satisfied.

本発明にあっては、実施態様6から8までの何れか一つに記載の出力装置(1)と当該出力装置(1)のスタンド(4)とを備える。実施態様8のスタンド(4)は、出力装置(1)が先端部(1a)から挿入可能に開口しており、底を有する筒形をなし、当該出力装置(1)を挿入させた状態で支持する係合部(41)を内側に設けてある。出力装置(1)は、スタンド(4)に挿入され、自装置の先端部(1a)がスタンドの底部を押圧するように押し込まれた場合に、被係合部(1b)にて当該係合部(41)に係合する。出力装置(1)は、係合部(41)の被係合部(1b)への係合を係合検知部(11)にて検知する。出力装置(1)の条件判定部(11)は、係合検知部(11)が係合を検知した場合に所定条件を満たしたと判定する。従って、出力装置(1)は係合部(41)が自装置の被係合部(1b)に係合しているときに先端部(1a)に加えられる外力の値に基づいて変換情報(122)を更新することができる。   In this invention, the output apparatus (1) as described in any one of Embodiment 6 to 8 and the stand (4) of the said output apparatus (1) are provided. In the stand (4) of Embodiment 8, the output device (1) is open so as to be insertable from the tip (1a), has a cylindrical shape with a bottom, and the output device (1) is inserted. The engaging part (41) to support is provided inside. When the output device (1) is inserted into the stand (4) and the front end portion (1a) of the own device is pushed so as to press the bottom of the stand, the output device (1) is engaged with the engaged portion (1b). Engage with the part (41). The output device (1) detects the engagement of the engaging portion (41) with the engaged portion (1b) by the engagement detecting portion (11). The condition determination unit (11) of the output device (1) determines that the predetermined condition is satisfied when the engagement detection unit (11) detects engagement. Accordingly, the output device (1) converts the conversion information (based on the value of the external force applied to the tip portion (1a) when the engaging portion (41) is engaged with the engaged portion (1b) of its own device. 122) can be updated.

本発明の実施態様10においては、実施態様6から8までの何れか一つに記載の出力装置(1)と、前記出力装置(1)が先端部(1a)から挿入可能に開口しており、底を有する筒形をなし、底部に設けられた電磁石(42)、該電磁石(42)に給電する給電部(46)、及び該給電部(46)が該電磁石(42)に給電している場合に前記出力装置(1)に通知する通知部(45)を有するスタンド(4)とを備え、前記出力装置(1)は磁性体(5)を更に有し、前記更新部(11)は、前記通知部(45)からの通知を受けた後に前記変換部(11)で変換して得られた出力値に基づいて、前記変換情報(122)を更新するようにしてあることを特徴とする。   In Embodiment 10 of the present invention, the output device (1) according to any one of Embodiments 6 to 8 and the output device (1) are opened so as to be insertable from the distal end portion (1a). The bottom of the electromagnet (42), the power supply unit (46) for supplying power to the electromagnet (42), and the power supply unit (46) for supplying power to the electromagnet (42). A stand (4) having a notification unit (45) for notifying the output device (1) when the output device (1) is present, the output device (1) further comprising a magnetic body (5), and the updating unit (11) Is configured to update the conversion information (122) based on the output value obtained by the conversion by the conversion unit (11) after receiving the notification from the notification unit (45). And

本発明にあっては、実施態様6から8までの何れか一つに記載の出力装置(1)とスタンド(4)とを備える。実施態様10のスタンド(4)は、出力装置(1)が先端部(1a)から挿入可能に開口しており、底を有する筒形をなし、底部に設けられた電磁石(42)と、当該電磁石(42)に給電する給電部(46)と、当該給電部(46)が当該電磁石(42)に給電している場合に出力装置(1)に通知する通知部(45)とを有する。また、出力装置(1)は、磁性体(5)を有する。更に、出力装置(1)の更新部(11)は、スタンド(4)の通知部(45)からの通知を受けた後に変換部(11)で変換して得られた出力値に基づいて変換情報(122)を更新する。従って、出力装置(1)は例えば、スタンド(4)に設けられた電磁石(42)により、自装置の磁性体(5)が引きつけられたときに先端部(1a)に加えられる外力の値に基づいて変換情報(122)を更新することができる。   In this invention, the output apparatus (1) and the stand (4) as described in any one of Embodiment 6-8 are provided. The stand (4) according to the tenth embodiment has an output device (1) that is open so that the output device (1) can be inserted from the distal end (1a), has a cylindrical shape with a bottom, A power supply unit (46) that supplies power to the electromagnet (42) and a notification unit (45) that notifies the output device (1) when the power supply unit (46) supplies power to the electromagnet (42). The output device (1) has a magnetic body (5). Further, the update unit (11) of the output device (1) converts based on the output value obtained by conversion by the conversion unit (11) after receiving the notification from the notification unit (45) of the stand (4). Information (122) is updated. Therefore, for example, the output device (1) has the value of the external force applied to the tip (1a) when the magnetic body (5) of the device is attracted by the electromagnet (42) provided on the stand (4). Based on this, the conversion information (122) can be updated.

本発明の実施態様11においては、実施態様6から8までの何れか一つに記載の出力装置(1)と、前記出力装置(1)が出力する出力値を入力し、入力された出力値及び先端部(1a)が特定の被接触面に接触したときにおける軌跡に基づく描画画像(A)を表示画面に表示する表示装置(2)とを備えることを特徴とする。   In Embodiment 11 of the present invention, the output device (1) according to any one of Embodiments 6 to 8 and the output value output by the output device (1) are input, and the input output value And a display device (2) for displaying on the display screen a drawing image (A) based on a locus when the tip (1a) contacts a specific contacted surface.

本発明にあっては、実施態様6から8までの何れか一つに記載の出力装置(1)と表示装置(2)とを備える。表示装置(2)は、出力装置(1)が出力する出力値を入力し、入力された出力値と出力装置(1)の先端部(1a)が特定の被接触面に接触したときにおける軌跡に基づく描画画像(A)を表示画面に表示する。従って、表示装置(2)は、加えられた外力を出力値に変換するに際しての低下した変換精度を向上することができる出力装置(1)から出力された出力値に基づいて、描画画像(A)を表示画面に表示することができる。   In this invention, the output apparatus (1) and display apparatus (2) as described in any one of Embodiment 6-8 are provided. The display device (2) receives the output value output from the output device (1), and the locus when the input output value and the tip (1a) of the output device (1) are in contact with a specific contacted surface. A drawing image (A) based on the above is displayed on the display screen. Therefore, the display device (2) can draw the drawn image (A) based on the output value output from the output device (1) that can improve the reduced conversion accuracy when converting the applied external force into the output value. ) Can be displayed on the display screen.

本発明の実施態様12においては、外力を検出し、検出した外力の値を所定の変換情報(122)に基づいて変換し、変換して得られた出力値を外部に出力する出力方法において、前記変換情報(122)の更新に係る所定条件を満たしたか否かを判定するステップと、前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報(122)を更新するステップとを含むことを特徴とする。   In Embodiment 12 of the present invention, in the output method of detecting an external force, converting the detected external force value based on predetermined conversion information (122), and outputting the output value obtained by the conversion to the outside, Based on a step of determining whether or not a predetermined condition relating to the update of the conversion information (122) is satisfied, and an output value obtained by conversion after determining that the predetermined condition is satisfied, the conversion information (122 ) Is updated.

本発明にあっては、出力方法は、変換情報(122)の更新に係る所定条件を満たしたか否かを判定するステップを含む。出力方法は、当該所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、当該変換情報(122)を更新するステップを含む。従って、本発明に係る出力方法は、所定条件を満たした場合に変換情報(122)を更新することができる。そのため、例えば外力の検出精度が低下し、加えられた外力を出力値に変換するに際しての変換精度が低下した場合であっても、変換情報(122)を更新することによって、その低下した変換精度を向上することができる。   In the present invention, the output method includes a step of determining whether or not a predetermined condition relating to the update of the conversion information (122) is satisfied. The output method includes a step of updating the conversion information (122) based on an output value obtained by conversion after it is determined that the predetermined condition is satisfied. Therefore, the output method according to the present invention can update the conversion information (122) when a predetermined condition is satisfied. Therefore, for example, even when the detection accuracy of the external force is reduced and the conversion accuracy when the applied external force is converted into an output value is reduced, the reduced conversion accuracy is obtained by updating the conversion information (122). Can be improved.

本発明の実施態様13においては、外力の値を取得し、取得した外力の値を所定の変換情報(122)に基づいて変換し、変換して得られた出力値を出力する処理をコンピュータに実行させるコンピュータプログラムにおいて、前記コンピュータに、前記変換情報(122)の更新に係る所定条件を満たしたか否かを判定するステップと、前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報(122)を更新するステップとを実行させることを特徴とする。   In the embodiment 13 of the present invention, the process of acquiring the value of the external force, converting the acquired value of the external force based on the predetermined conversion information (122), and outputting the output value obtained by the conversion is performed on the computer. In the computer program to be executed, the computer determines whether or not a predetermined condition relating to the update of the conversion information (122) is satisfied, and an output obtained by converting after determining that the predetermined condition is satisfied And updating the conversion information (122) based on the value.

本発明にあっては、コンピュータは、変換情報(122)の更新に係る所定条件を満たしたか否かを判定する。コンピュータは、所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、当該変換情報(122)を更新する。従って、コンピュータは、所定条件を満たした場合に変換情報(122)を更新することができる。そのため、例えば外力の検出精度が低下し、加えられた外力を出力値に変換するに際しての変換精度が低下した場合であっても、変換情報(122)を更新することによって、その低下した変換精度を向上することができる。   In the present invention, the computer determines whether or not a predetermined condition relating to the update of the conversion information (122) is satisfied. The computer updates the conversion information (122) based on the output value obtained by conversion after determining that the predetermined condition is satisfied. Therefore, the computer can update the conversion information (122) when the predetermined condition is satisfied. Therefore, for example, even when the detection accuracy of the external force is reduced and the conversion accuracy when the applied external force is converted into an output value is reduced, the reduced conversion accuracy is obtained by updating the conversion information (122). Can be improved.

本発明の実施態様14においては、実施態様13に記載のコンピュータプログラム(3a)を記録してあることを特徴とする。   Embodiment 14 of the present invention is characterized in that the computer program (3a) described in Embodiment 13 is recorded.

本発明にあっては、記録媒体(3)に上述のコンピュータプログラム(3a)を記録する。コンピュータが当該記録媒体(3)からコンピュータプログラム(3a)を読み出して、上述の出力装置(1)及び出力方法がコンピュータにより実現される。   In the present invention, the above-described computer program (3a) is recorded on the recording medium (3). The computer reads the computer program (3a) from the recording medium (3), and the output device (1) and the output method described above are realized by the computer.

1 タッチペン
1a 先端部
1b 凹部
2 表示装置
3 記録媒体
3a コンピュータプログラム
4 スタンド
5 磁性体
11 制御部
12 記憶部
121 基準テーブル
122 変換テーブル
13 通信部
14 検出部
15 報知部
16 ボタン
17 加速度検出部
18 計時部
19 ボタン
21 表示部
22 タッチパネル装置
22a 制御部
22b 通信部
22c 座標取得部
22d 画像情報生成部
41 凸部
42 電磁石
43 制御部
44 記憶部
45 通信部
46 電源
47a,47b スイッチ
48a,48b 抵抗
DESCRIPTION OF SYMBOLS 1 Touch pen 1a Tip part 1b Recessed part 2 Display apparatus 3 Recording medium 3a Computer program 4 Stand 5 Magnetic body 11 Control part 12 Storage part 121 Reference table 122 Conversion table 13 Communication part 14 Detection part 15 Notification part 16 Button 17 Acceleration detection part 18 Timekeeping Unit 19 Button 21 Display unit 22 Touch panel device 22a Control unit 22b Communication unit 22c Coordinate acquisition unit 22d Image information generation unit 41 Protrusion unit 42 Electromagnet 43 Control unit 44 Storage unit 45 Communication unit 46 Power supply 47a, 47b Switch 48a, 48b Resistance

Claims (14)

外力を検出する検出部と、該検出部が検出した外力の値を所定の変換情報に基づいて変換する変換部と、該変換部で外力の値を変換して得られた出力値を外部装置に出力する出力部とを備える出力装置において、
前記変換情報の更新に係る所定条件を満たしたか否かを判定する条件判定部と、
該条件判定部が所定条件を満たしたと判定した後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新する更新部と
を備えることを特徴とする出力装置。
A detection unit that detects an external force, a conversion unit that converts the value of the external force detected by the detection unit based on predetermined conversion information, and an output value obtained by converting the value of the external force by the conversion unit In an output device comprising an output unit that outputs to
A condition determination unit that determines whether or not a predetermined condition relating to the update of the conversion information is satisfied;
An output device comprising: an update unit that updates the conversion information based on an output value obtained by conversion by the conversion unit after the condition determination unit determines that the predetermined condition is satisfied.
前記検出部に特定の外力が加えられたときに前記外部装置に出力すべき基準出力値を記憶する記憶部と、
前記条件判定部が所定条件を満たしたと判定した後に前記変換部で変換して得られた出力値を、前記記憶部に記憶された基準出力値で除算する除算部を更に備え、
前記更新部は、前記除算部の除算結果を用いて前記変換情報を更新するようにしてあること
を特徴とする請求項1に記載の出力装置。
A storage unit for storing a reference output value to be output to the external device when a specific external force is applied to the detection unit;
A division unit that divides the output value obtained by conversion by the conversion unit after determining that the condition determination unit satisfies a predetermined condition by a reference output value stored in the storage unit;
The output device according to claim 1, wherein the update unit is configured to update the conversion information using a division result of the division unit.
前記除算結果が所定の数値範囲内にあるか否かを判定する除算結果判定部を更に備え、
前記更新部は、前記除算結果判定部が所定の数値範囲内にあると判定した場合に、前記変換情報を更新するようにしてあること
を特徴とする請求項2に記載の出力装置。
A division result determination unit for determining whether or not the division result is within a predetermined numerical range;
The output device according to claim 2, wherein the updating unit updates the conversion information when the division result determining unit determines that the division result is within a predetermined numerical range.
前記条件判定部が所定条件を満たしたと判定した場合に報知する報知部を更に備え、
前記更新部は、前記報知部が報知した後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新するようにしてあること
を特徴とする請求項1から3までの何れか一つに記載の出力装置。
A notification section for notifying when the condition determination section determines that the predetermined condition is satisfied;
4. The update unit according to claim 1, wherein the update unit updates the conversion information based on an output value obtained by conversion by the conversion unit after the notification unit notifies. The output device according to any one of the above.
前記変換情報は、複数の外力の値夫々に対応する複数の出力値を含み、
前記検出部が検出した外力の値に基づいて、前記変換情報に含まれる複数の出力値から1つ又は2つの出力値を選択する選択部を更に備え、
前記変換部は、前記選択部が選択した1つ又は2つの出力値に基づいて、前記外力の値を変換するようにしてあり、
前記更新部は、前記複数の出力値を更新するようにしてあること
を特徴とする請求項1から4までの何れか一つに記載の出力装置。
The conversion information includes a plurality of output values corresponding to a plurality of external force values,
A selection unit that selects one or two output values from a plurality of output values included in the conversion information based on the value of the external force detected by the detection unit;
The conversion unit is configured to convert the value of the external force based on one or two output values selected by the selection unit,
The output device according to any one of claims 1 to 4, wherein the update unit updates the plurality of output values.
ペン型であり、
前記検出部は、自装置の先端部に加えられた外力を検出するようにしてあること
を特徴とする請求項1から5までの何れか一つに記載の出力装置。
Is a pen type,
The output device according to any one of claims 1 to 5, wherein the detection unit is configured to detect an external force applied to a tip portion of the device itself.
自装置の姿勢を検知する姿勢検知部を更に備え、
前記条件判定部は、前記姿勢検知部が特定の姿勢を検知した場合に所定条件を満たしたと判定するようにしてあること
を特徴とする請求項6に記載の出力装置。
It further includes a posture detection unit that detects the posture of the device itself,
The output device according to claim 6, wherein the condition determination unit determines that a predetermined condition is satisfied when the posture detection unit detects a specific posture.
前記特定の姿勢は、前記先端部を鉛直方向下向きにした姿勢であること
を特徴とする請求項7に記載の出力装置。
The output device according to claim 7, wherein the specific posture is a posture in which the tip end portion is directed vertically downward.
請求項6から8までの何れか一つに記載の出力装置と、
前記出力装置が先端部から挿入可能に開口しており、底を有する筒形をなし、前記出力装置を挿入させた状態で支持する係合部を内側に設けてあるスタンドと
を備え、
前記出力装置は、
前記スタンドに挿入され、先端部が前記スタンドの底部を押圧するように押し込まれた場合に、前記係合部に係合される被係合部と、
前記係合部の前記被係合部への係合を検知する係合検知部と
を更に有し、
前記条件判定部は、前記係合検知部が係合を検知した場合に所定条件を満たしたと判定するようにしてあること
を特徴とする出力装置システム。
An output device according to any one of claims 6 to 8,
The output device is open so as to be insertable from a tip portion, has a cylindrical shape with a bottom, and includes a stand provided inside with an engaging portion that supports the output device in a inserted state,
The output device is
An engaged portion that is inserted into the stand and is engaged with the engaging portion when the tip is pushed so as to press the bottom of the stand;
An engagement detection unit that detects engagement of the engagement unit with the engaged unit;
The output device system, wherein the condition determination unit determines that a predetermined condition is satisfied when the engagement detection unit detects engagement.
請求項6から8までの何れか一つに記載の出力装置と、
前記出力装置が先端部から挿入可能に開口しており、底を有する筒形をなし、底部に設けられた電磁石、該電磁石に給電する給電部、及び該給電部が該電磁石に給電している場合に前記出力装置に通知する通知部を有するスタンドと
を備え、
前記出力装置は磁性体を更に有し、
前記更新部は、前記通知部からの通知を受けた後に前記変換部で変換して得られた出力値に基づいて、前記変換情報を更新するようにしてあること
を特徴とする出力装置システム。
An output device according to any one of claims 6 to 8,
The output device is open so that it can be inserted from the tip, has a cylindrical shape with a bottom, an electromagnet provided at the bottom, a power feeding unit that feeds power to the electromagnet, and the power feeding unit feeds the electromagnet A stand having a notification unit for notifying the output device in case,
The output device further includes a magnetic body,
The output unit system, wherein the update unit updates the conversion information based on an output value obtained by conversion by the conversion unit after receiving the notification from the notification unit.
請求項6から8までの何れか一つに記載の出力装置と、
前記出力装置が出力する出力値を入力し、入力された出力値及び先端部が特定の被接触面に接触したときにおける軌跡に基づく描画画像を表示画面に表示する表示装置と
を備えることを特徴とする画像表示システム。
An output device according to any one of claims 6 to 8,
A display device configured to input an output value output from the output device and display a drawing image based on the input output value and a trajectory when the tip is in contact with a specific contacted surface on a display screen. Image display system.
外力を検出し、検出した外力の値を所定の変換情報に基づいて変換し、変換して得られた出力値を外部に出力する出力方法において、
前記変換情報の更新に係る所定条件を満たしたか否かを判定するステップと、
前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報を更新するステップと
を含むことを特徴とする出力方法。
In an output method for detecting an external force, converting the detected external force value based on predetermined conversion information, and outputting the output value obtained by conversion to the outside,
Determining whether or not a predetermined condition relating to the update of the conversion information is satisfied;
And updating the conversion information based on an output value obtained by conversion after it is determined that the predetermined condition is satisfied.
外力の値を取得し、取得した外力の値を所定の変換情報に基づいて変換し、変換して得られた出力値を出力する処理をコンピュータに実行させるコンピュータプログラムにおいて、
前記コンピュータに、
前記変換情報の更新に係る所定条件を満たしたか否かを判定するステップと、
前記所定条件を満たしたと判定された後に変換して得られた出力値に基づいて、前記変換情報を更新するステップと
を実行させることを特徴とするコンピュータプログラム。
In a computer program for acquiring an external force value, converting the acquired external force value based on predetermined conversion information, and causing a computer to execute a process of outputting an output value obtained by conversion,
In the computer,
Determining whether or not a predetermined condition relating to the update of the conversion information is satisfied;
And a step of updating the conversion information based on an output value obtained by conversion after it is determined that the predetermined condition is satisfied.
請求項13に記載のコンピュータプログラムを記録してあることを特徴とするコンピュータでの読み取りが可能な記録媒体。   14. A computer-readable recording medium in which the computer program according to claim 13 is recorded.
JP2015035574A 2015-02-25 2015-02-25 Output device, output device system, image display system, output method, computer program, and recording medium Active JP6422368B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015035574A JP6422368B2 (en) 2015-02-25 2015-02-25 Output device, output device system, image display system, output method, computer program, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015035574A JP6422368B2 (en) 2015-02-25 2015-02-25 Output device, output device system, image display system, output method, computer program, and recording medium

Publications (2)

Publication Number Publication Date
JP2016157322A true JP2016157322A (en) 2016-09-01
JP6422368B2 JP6422368B2 (en) 2018-11-14

Family

ID=56826240

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015035574A Active JP6422368B2 (en) 2015-02-25 2015-02-25 Output device, output device system, image display system, output method, computer program, and recording medium

Country Status (1)

Country Link
JP (1) JP6422368B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018083872A1 (en) * 2016-11-04 2018-05-11 株式会社ワコム Stylus, method, and processing device
JP2018116568A (en) * 2017-01-19 2018-07-26 シャープ株式会社 Image display device for receiving operation by multiple electronic pen
JP2018156383A (en) * 2017-03-17 2018-10-04 株式会社リコー Electronic pen, brushstroke strength detection method, and program
JP2020126417A (en) * 2019-02-04 2020-08-20 株式会社リコー Electronic blackboard system and electronic blackboard system depicting method
WO2021166691A1 (en) 2020-02-19 2021-08-26 ソニーグループ株式会社 Information processing device, information processing method, and program

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301463A (en) * 1993-04-16 1994-10-28 Sharp Corp Handwriting input device
JPH09237147A (en) * 1996-03-01 1997-09-09 Sharp Corp Information processor
JP2001075720A (en) * 1999-09-01 2001-03-23 Sharp Corp Device for adjusting pen pressure on tablet
WO2010007731A1 (en) * 2008-07-15 2010-01-21 株式会社ニューコム Indicator and position detection device
JP2014026460A (en) * 2012-07-26 2014-02-06 Xacti Corp Pen type input device, electronic equipment and electronic equipment system
JP2014102762A (en) * 2012-11-21 2014-06-05 Sharp Corp Drawing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06301463A (en) * 1993-04-16 1994-10-28 Sharp Corp Handwriting input device
JPH09237147A (en) * 1996-03-01 1997-09-09 Sharp Corp Information processor
JP2001075720A (en) * 1999-09-01 2001-03-23 Sharp Corp Device for adjusting pen pressure on tablet
WO2010007731A1 (en) * 2008-07-15 2010-01-21 株式会社ニューコム Indicator and position detection device
JP2014026460A (en) * 2012-07-26 2014-02-06 Xacti Corp Pen type input device, electronic equipment and electronic equipment system
JP2014102762A (en) * 2012-11-21 2014-06-05 Sharp Corp Drawing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018083872A1 (en) * 2016-11-04 2018-05-11 株式会社ワコム Stylus, method, and processing device
US10359865B2 (en) * 2016-11-04 2019-07-23 Wacom Co., Ltd. Stylus, stylus signal processing method, and stylus signal processing device
JP2018116568A (en) * 2017-01-19 2018-07-26 シャープ株式会社 Image display device for receiving operation by multiple electronic pen
JP2018156383A (en) * 2017-03-17 2018-10-04 株式会社リコー Electronic pen, brushstroke strength detection method, and program
JP2020126417A (en) * 2019-02-04 2020-08-20 株式会社リコー Electronic blackboard system and electronic blackboard system depicting method
JP7363040B2 (en) 2019-02-04 2023-10-18 株式会社リコー Electronic blackboard system and electronic pen
WO2021166691A1 (en) 2020-02-19 2021-08-26 ソニーグループ株式会社 Information processing device, information processing method, and program
US11959775B2 (en) 2020-02-19 2024-04-16 Sony Group Corporation Information processing device and information processing method that enable simple calibration

Also Published As

Publication number Publication date
JP6422368B2 (en) 2018-11-14

Similar Documents

Publication Publication Date Title
JP6422368B2 (en) Output device, output device system, image display system, output method, computer program, and recording medium
EP3120222B1 (en) Trainable sensor-based gesture recognition
US9841462B2 (en) Electronic apparatus, input apparatus for display apparatus, and method of detecting remaining utility of battery of the same
KR102330655B1 (en) Vein scanning device for automatic gesture and finger recognition
JP2022123022A (en) stylus for electronic devices
EP3401890B1 (en) Control device and method for controlling function thereof
JP2011086253A (en) Position detection device and position indicator
KR20200126422A (en) Stylus with haptic feedback for texture simulation
CN111012009A (en) Interchangeable amulet messaging wearable electronic device for wireless communication
US11204645B2 (en) Method for providing haptic feedback, and electronic device for performing same
KR20140094671A (en) Method And Electronic Device For Providing Guide
KR20170085826A (en) Apparatus and method for displaying data in an eletronic device
JP2014063517A (en) Position indicator
US10990199B2 (en) Electronic device including digital pen
CN209765455U (en) Touch pen
KR20190056565A (en) Electronic pen for the blind and deaf, Smart device and Control method thereof
US11656752B2 (en) Electronic device for displaying slider track and slider and method of operating same
KR102473081B1 (en) Electronic apparatus and Method of performing a function thereof
CN106856069A (en) A kind of intelligent sign language translation device
CN105549735A (en) Control method, control device and electronic device
JP2017004574A5 (en)
CN107920757B (en) Electronic device and display method thereof
KR20150078159A (en) Electronic device and method for operating an application thereof
KR101627411B1 (en) Smart device and method of controlling the same
JP6450232B2 (en) Data transmission apparatus, display system, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170925

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180427

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180508

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180703

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180925

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181016

R150 Certificate of patent or registration of utility model

Ref document number: 6422368

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150