JP2016207067A - Information input device and program - Google Patents

Information input device and program Download PDF

Info

Publication number
JP2016207067A
JP2016207067A JP2015090302A JP2015090302A JP2016207067A JP 2016207067 A JP2016207067 A JP 2016207067A JP 2015090302 A JP2015090302 A JP 2015090302A JP 2015090302 A JP2015090302 A JP 2015090302A JP 2016207067 A JP2016207067 A JP 2016207067A
Authority
JP
Japan
Prior art keywords
ink
writing
line drawing
electronic pen
amount
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.)
Pending
Application number
JP2015090302A
Other languages
Japanese (ja)
Inventor
裕之 山岡
Hiroyuki Yamaoka
裕之 山岡
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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2015090302A priority Critical patent/JP2016207067A/en
Publication of JP2016207067A publication Critical patent/JP2016207067A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pens And Brushes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information input device and program with which it is possible to estimate ink consumption with high accuracy.SOLUTION: The CPU of an information input device acquires the position of a writing instrument on a fixed cycle (S13). On the basis of a first position being the position of the writing instrument which is acquired by the S13 process and a second position being the position of the writing instrument which is acquired by the S13 process a prescribed time after the first position is acquired, the CPU calculates a writing distance that is a distance for which a line drawing is written from the first position to the second position by the writing instrument (S14). On the basis of the writing distance calculated by the S14 process and a reference consumption predetermined as the amount of ink consumed when a line drawing of prescribed distance is written in a prescribed time by the writing instrument, ink consumption that is the amount of ink consumed in writing a line drawing from the first position to the second position is calculated (S15).SELECTED DRAWING: Figure 6

Description

本発明は、筆記具の移動軌跡を電子化することによって、ユーザが筆記した情報を取得可能な情報入力装置およびプログラムに関する。   The present invention relates to an information input device and a program that can acquire information written by a user by digitizing a movement locus of a writing instrument.

ノート等の記録媒体に専用の筆記具で筆記したときの筆記具の移動軌跡を電子化することによって、筆記された文字や図形等の情報を取得可能な情報入力装置が知られている。例えば、特許文献1に記載の座標読取装置は、専用の筆記具としてペンで筆記したときのペンの移動軌跡を電子化できる。さらに、座標読取装置は、ペンのインク消費量に基づきインク残量を推定可能である。ペンは、記録媒体に筆記している場合にONされるスイッチを備える。座標読取装置は、スイッチがONされている時間(すなわち、筆記されている時間)をカウントすることによりインク消費量を算出する。カウントした値が基準値に達した場合、ユーザにインク残量低下を報知する。   There is known an information input device capable of acquiring information such as written characters and figures by digitizing the movement trajectory of a writing instrument when writing on a recording medium such as a notebook with a dedicated writing instrument. For example, the coordinate reading device described in Patent Document 1 can digitize the movement trajectory of a pen when writing with a pen as a dedicated writing instrument. Furthermore, the coordinate reading apparatus can estimate the ink remaining amount based on the ink consumption of the pen. The pen includes a switch that is turned on when writing on the recording medium. The coordinate reading device calculates the ink consumption amount by counting the time that the switch is turned on (that is, the time during which writing is performed). When the counted value reaches the reference value, the user is notified of a decrease in the remaining amount of ink.

特開2001−56734号公報JP 2001-56734 A

ところで、ユーザが記録媒体に筆記具で筆記する場合、素早く筆記したり、ゆっくり筆記したりする場合がある。例えば、ユーザが水性インクのペンで記録媒体に素早く筆記した場合、インクは記録媒体に対してあまり滲み込まない。一方、ユーザが水性インクのペンで記録媒体にゆっくり筆記した場合、インクは記録媒体に対してより滲み出る。すなわち、筆記時間が同じであっても、筆記距離が異なることによりインク消費量が異なる場合がある。この場合、上記座標読取装置は、筆記されている時間をカウントすることによりインク消費量を推定するため、インク消費量を精度よく推定できない可能性があった。   By the way, when a user writes on a recording medium with a writing instrument, the user may write quickly or slowly. For example, when a user quickly writes on a recording medium with a water-based ink pen, the ink does not soak into the recording medium. On the other hand, when the user slowly writes on the recording medium with a water-based ink pen, the ink oozes more on the recording medium. That is, even if the writing time is the same, the ink consumption may differ due to the difference in writing distance. In this case, since the coordinate reading apparatus estimates the ink consumption by counting the written time, there is a possibility that the ink consumption cannot be estimated accurately.

本発明の目的は、インク消費量を精度よく推定できる情報入力装置およびプログラムを提供することである。   An object of the present invention is to provide an information input device and program capable of accurately estimating ink consumption.

本発明の第一態様に係る情報入力装置は、インクによって記録媒体に線画を筆記可能な筆記具の位置を検出可能な検出手段と、前記検出手段によって検出された前記筆記具の位置を取得する第一取得手段と、前記第一取得手段によって取得された前記筆記具の位置である第一位置と、前記第一位置が取得されてから所定時間の経過後に前記第一取得手段によって取得された前記筆記具の位置である第二位置とに基づき、前記筆記具によって前記第一位置から前記第二位置まで線画が筆記された距離である筆記距離を算出する第一算出手段と、前記第一算出手段によって算出された前記筆記距離と、前記筆記具によって前記所定時間で所定距離の線画が筆記されたときに消費される前記インクの量として予め定められた基準消費量とに基づき、前記第一位置から前記第二位置まで線画を筆記するのに消費された前記インクの量であるインク消費量を算出する第二算出手段とを備える。   An information input device according to a first aspect of the present invention is a first detecting unit capable of detecting a position of a writing instrument capable of writing a line drawing on a recording medium using ink, and a first position for acquiring the position of the writing instrument detected by the detecting unit. An acquisition unit, a first position that is the position of the writing instrument acquired by the first acquisition unit, and the writing instrument acquired by the first acquisition unit after a predetermined time has elapsed since the first position was acquired. Based on the second position, which is a position, a first calculation means for calculating a writing distance, which is a distance at which a line drawing was written from the first position to the second position by the writing instrument, and the first calculation means. Further, based on the writing distance and a reference consumption amount predetermined as the amount of the ink consumed when the line drawing of the predetermined distance is written by the writing instrument at the predetermined time, Serial and a second calculating means for calculating the ink consumption is the amount of the ink consumed for writing a line drawing from a first position to the second position.

第一態様によれば、情報入力装置は、第一位置を取得してから所定時間の経過後に第二位置を取得する。基準消費量は、筆記具によって所定時間で所定距離の線画が筆記されたときに消費されるインクの量として予め定められた基準量である。情報入力装置は、所定時間における筆記距離および基準消費量に基づき、第一位置から第二位置まで線画を筆記した筆記具のインク消費量を算出する。ゆえに、情報入力装置は、インク消費量を精度よく推定できる。   According to the first aspect, the information input device acquires the second position after a predetermined time has elapsed after acquiring the first position. The reference consumption amount is a reference amount that is predetermined as the amount of ink that is consumed when a line drawing of a predetermined distance is written in a predetermined time by a writing instrument. The information input device calculates the ink consumption amount of the writing instrument in which the line drawing is written from the first position to the second position based on the writing distance and the reference consumption amount at a predetermined time. Therefore, the information input device can estimate the ink consumption with high accuracy.

本発明の第一態様に係る情報入力装置は、前記筆記具を特定可能な個別情報を取得する第二取得手段を備え、前記第二算出手段は、前記第二取得手段によって取得された前記個別情報に対応させて前記インク消費量を算出してもよい。この場合、情報入力装置は、筆記具毎にインク消費量を推定できる。   The information input device according to the first aspect of the present invention includes second acquisition means for acquiring individual information capable of specifying the writing instrument, and the second calculation means is the individual information acquired by the second acquisition means. The ink consumption may be calculated in correspondence with the above. In this case, the information input device can estimate the ink consumption for each writing instrument.

本発明の第一態様に係る情報入力装置は、前記第二算出手段によって算出された前記インク消費量に基づき、前記筆記具に現在搭載されている前記インクの量であるインク残量に関する報知を行う報知手段を備えてもよい。この場合、情報入力装置は、筆記具のインク残量をユーザに報知できる。   The information input device according to the first aspect of the present invention performs notification regarding the remaining amount of ink that is the amount of the ink currently mounted on the writing instrument based on the ink consumption calculated by the second calculation unit. You may provide an alerting | reporting means. In this case, the information input device can notify the user of the ink remaining amount of the writing instrument.

本発明の第一態様に係る情報入力装置は、前記第二算出手段によって算出された前記インク消費量に基づき、所定条件を満たしているか判断する判断手段を備え、前記報知手段は、前記判断手段によって前記所定条件を満たしていると判断された場合に、前記インク残量に関する報知を行ってもよい。この場合、情報入力装置は、筆記具のインク消費量に基づき、所定条件を満たしていることをユーザに報知できる。   The information input device according to the first aspect of the present invention includes a determination unit that determines whether a predetermined condition is satisfied based on the ink consumption calculated by the second calculation unit, and the notification unit includes the determination unit. When it is determined that the predetermined condition is satisfied, notification regarding the remaining amount of ink may be performed. In this case, the information input device can notify the user that the predetermined condition is satisfied based on the ink consumption of the writing instrument.

本発明の第一態様に係る情報入力装置は、発光可能な発光部を備え、前記報知手段は、前記発光部を発光させることによって、前記インク残量に関する報知を行ってもよい。この場合、情報入力装置は、発光部を発光させることによりインク残量をユーザに報知できる。   The information input device according to the first aspect of the present invention may include a light emitting unit capable of emitting light, and the notification unit may perform notification regarding the ink remaining amount by causing the light emitting unit to emit light. In this case, the information input device can notify the user of the ink remaining amount by causing the light emitting unit to emit light.

本発明の第一態様に係る情報入力装置は、外部の電子機器と通信可能な通信手段を備え、前記報知手段は、前記通信手段を介して前記外部の電子機器に対して、前記インク残量に関する報知を実行させる指示を送信してもよい。この場合、情報入力装置は、インク残量を外部の電子機器にてユーザに報知できる。   The information input device according to the first aspect of the present invention includes communication means capable of communicating with an external electronic device, and the notification means sends the ink remaining amount to the external electronic device via the communication means. An instruction to execute the notification regarding may be transmitted. In this case, the information input device can notify the user of the ink remaining amount with an external electronic device.

本発明の第一態様に係る情報入力装置において、前記指示は、前記外部の電子機器に所定画像を表示させる指示であってもよい。この場合、情報入力装置は、外部の電子機器に警告を表示させることでインク残量をユーザに報知できる。   In the information input device according to the first aspect of the present invention, the instruction may be an instruction to display a predetermined image on the external electronic device. In this case, the information input device can notify the user of the remaining ink amount by displaying a warning on an external electronic device.

本発明の第一態様に係る情報入力装置は、前記第一取得手段によって取得された前記筆記具の位置に基づき、前記筆記具によって前記記録媒体に筆記された前記線画に対応するデータであり、かつ、第一色で表示される線画データを生成する生成手段と、前記生成手段によって生成された前記線画データを、前記通信手段を介して前記外部の電子機器に送信する送信手段とを備え、前記指示は、前記送信手段によって送信された前記線画データを、前記第一色に代えて前記第一色とは異なる第二色で表示させる指示であってもよい。この場合、情報入力装置は、外部の電子機器に線画データの色を第一色から第二色に代えて表示させることでインク残量をユーザに報知できる。   The information input device according to the first aspect of the present invention is data corresponding to the line drawing written on the recording medium by the writing tool based on the position of the writing tool acquired by the first acquisition means, and Generating means for generating line drawing data displayed in a first color; and transmitting means for transmitting the line drawing data generated by the generating means to the external electronic device via the communication means, May be an instruction to display the line drawing data transmitted by the transmitting unit in a second color different from the first color instead of the first color. In this case, the information input device can notify the user of the ink remaining amount by causing the external electronic device to display the color of the line drawing data instead of the first color to the second color.

本発明の第二態様に係るプログラムは、インクによって記録媒体に線画を筆記可能な筆記具の位置を検出可能な検出手段を備えた情報入力装置のコンピュータに、前記検出手段によって検出された前記筆記具の位置を取得する第一取得ステップと、前記第一取得ステップによって取得された前記筆記具の位置である第一位置と、前記第一位置が取得されてから所定時間の経過後に前記第一取得ステップによって取得された前記筆記具の位置である第二位置とに基づき、前記筆記具によって前記第一位置から前記第二位置まで線画が筆記された距離である筆記距離を算出する第一算出ステップと、前記第一算出ステップによって算出された前記筆記距離と、前記筆記具によって前記所定時間で所定距離の線画が筆記されたときに消費される前記インクの量として予め定められた基準消費量とに基づき、前記第一位置から前記第二位置まで線画を筆記するのに消費された前記インクの量であるインク消費量を算出する第二算出ステップとを実行させる。上記第二態様に係るプログラムが情報入力装置のコンピュータによって実行されることによって、第一態様と同様の効果を奏することができる。   The program according to the second aspect of the present invention provides a computer of an information input device provided with a detecting means capable of detecting the position of a writing tool capable of writing a line drawing on a recording medium with ink, the program of the writing tool detected by the detecting means. A first acquisition step of acquiring a position, a first position which is the position of the writing instrument acquired by the first acquisition step, and a first time after the first position is acquired by the first acquisition step. A first calculation step of calculating a writing distance, which is a distance at which a line drawing is written from the first position to the second position by the writing tool, based on the acquired second position that is the position of the writing tool; The writing distance calculated by one calculating step and the consumption when a line drawing of a predetermined distance is written in the predetermined time by the writing instrument. A second calculation step of calculating an ink consumption amount that is an amount of the ink consumed to write a line drawing from the first position to the second position based on a reference consumption amount determined in advance as an ink amount; And execute. When the program according to the second aspect is executed by the computer of the information input device, the same effects as in the first aspect can be achieved.

手書入力システム1の概要を示す図である。It is a figure which shows the outline | summary of the handwriting input system. 手書入力システム1の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the handwriting input system 1. FIG. 用紙111の正面図である。2 is a front view of a sheet 111. FIG. 第一色で表示された画像300の一例を示す図である。It is a figure which shows an example of the image 300 displayed by the 1st color. インク消費量を説明するための図である。It is a figure for demonstrating ink consumption. メイン処理のフローチャートである。It is a flowchart of a main process. 所定画像301の一例を示す図である。It is a figure which shows an example of the predetermined image. 第二色で表示された画像300の一例を示す図であるIt is a figure which shows an example of the image 300 displayed by the 2nd color.

以下、本発明の実施形態について、図面を参照して説明する。図1を参照して、本実施形態に係る手書入力システム1の概要を説明する。以下の説明では、図1の左上側、右下側、上側、下側、右上側、左下側を、それぞれ、読取装置2、紙媒体100、および電子ペン3の左側、右側、前側、後側、上側、下側と定義して説明する。なお、図1の電子ペン3は、説明のため断面図を示している。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. The outline of the handwriting input system 1 according to the present embodiment will be described with reference to FIG. In the following description, the upper left side, lower right side, upper side, lower side, upper right side, and lower left side of FIG. 1 are the left side, right side, front side, and rear side of the reading device 2, the paper medium 100, and the electronic pen 3, respectively. The upper side and the lower side are defined and described. Note that the electronic pen 3 of FIG. 1 is a cross-sectional view for explanation.

図1に示すように、手書入力システム1は、読取装置2、電子ペン3、スマートフォン19等を主に備える。読取装置2は、折り畳んで携行可能な、薄型軽量の手書き入力装置である。手書入力システム1では、ユーザは電子ペン3を用いて、読取装置2に装着された紙媒体100の用紙111に線画を筆記する。線画は、文字、数値、記号、図形等を含む。読取装置2は、筆記の過程で経時的に変化する電子ペン3の複数の位置を特定する。スマートフォン19は、読取装置2で特定された複数の位置を取得する。スマートフォン19は、取得した複数の位置に基づき、電子ペン3によって用紙111に筆記された線画を特定する。スマートフォン19は、特定された線画を少なくとも含む画像の画像ファイルを生成する。スマートフォン19のユーザは、生成された複数の画像ファイルのうちいずれかを選択する操作を、タッチパネル191を介して入力する。スマートフォン19は、選択された画像ファイルに対応する画像を、ディスプレイ192に表示させる。ユーザは、電子ペン3によって用紙111に筆記された線画と同一形状の線画を含む画像を、ディスプレイ192を介して視認できる。   As shown in FIG. 1, the handwriting input system 1 mainly includes a reading device 2, an electronic pen 3, a smartphone 19, and the like. The reading device 2 is a thin and light handwritten input device that can be folded and carried. In the handwriting input system 1, the user writes a line drawing on the paper 111 of the paper medium 100 attached to the reading device 2 using the electronic pen 3. The line drawing includes characters, numerical values, symbols, figures, and the like. The reading device 2 identifies a plurality of positions of the electronic pen 3 that changes over time in the writing process. The smartphone 19 acquires a plurality of positions specified by the reading device 2. The smartphone 19 specifies a line drawing written on the paper 111 with the electronic pen 3 based on the acquired plurality of positions. The smartphone 19 generates an image file of an image including at least the specified line drawing. The user of the smartphone 19 inputs an operation for selecting one of the generated plurality of image files via the touch panel 191. The smartphone 19 causes the display 192 to display an image corresponding to the selected image file. The user can visually recognize an image including a line drawing having the same shape as the line drawing written on the paper 111 with the electronic pen 3 via the display 192.

読取装置2は、左右一対の左読取装置2L,右読取装置2R,およびカバー4を構成の主体とする。左読取装置2Lおよび右読取装置2Rは、矩形薄板状である。左読取装置2Lおよび右読取装置2Rは、カバー4の前面に左右方向に見開き可能に配置されている。左読取装置2Lおよび右読取装置2Rは、フラットケーブル(図示略)によって電気的に接続されている。右読取装置2Rは、3つのLED5を上端に備える。LED5は、発光することにより読取装置2および電子ペン3の状態をユーザに通知可能である。カバー4は、袋状の袋部4Aを左側に備える。左読取装置2Lは、袋部4A内に差し込まれることでカバー4に着脱可能に装着される。右読取装置2Rは、両面テープおよび粘着性を有する樹脂フィルム等によって、カバー4の右前面に貼り付けられる。   The reading device 2 mainly includes a pair of left and right left reading devices 2L, a right reading device 2R, and a cover 4. The left reading device 2L and the right reading device 2R have a rectangular thin plate shape. The left reading device 2L and the right reading device 2R are arranged on the front surface of the cover 4 so as to be spread in the left-right direction. The left reading device 2L and the right reading device 2R are electrically connected by a flat cable (not shown). The right reading device 2R includes three LEDs 5 at the upper end. The LED 5 can notify the user of the state of the reading device 2 and the electronic pen 3 by emitting light. The cover 4 includes a bag-like bag portion 4A on the left side. The left reading device 2L is detachably attached to the cover 4 by being inserted into the bag portion 4A. The right reading device 2R is attached to the right front surface of the cover 4 with a double-sided tape and an adhesive resin film.

読取装置2の前面には紙媒体100が着脱可能に装着される。紙媒体100は、左右方向に見開き可能な冊子状である。紙媒体100では、一対の表紙(表表紙110Lおよび裏表紙110R)と複数の用紙111が、それぞれの縁部の一部で綴じられている。一例として、紙媒体100はA5サイズのノートである。用紙111に予め印刷された図柄のレイアウト等を示すフォーマットは、紙媒体100の種別毎に異なる。本実施形態において、用紙111のフォーマットは無地である。用紙111は、筆記領域111Aとチェックボックス111Bとを含む。チェックボックス111Bは、用紙111の右下隅に設けられる。筆記領域111Aは、用紙111におけるチェックボックス111Bを除く領域である。   A paper medium 100 is detachably mounted on the front surface of the reading device 2. The paper medium 100 is a booklet that can be spread in the left-right direction. In the paper medium 100, a pair of front covers (a front cover 110 </ b> L and a back cover 110 </ b> R) and a plurality of papers 111 are bound at a part of each edge. As an example, the paper medium 100 is an A5 size notebook. The format indicating the layout or the like of symbols preprinted on the paper 111 is different for each type of the paper medium 100. In the present embodiment, the format of the paper 111 is plain. The paper 111 includes a writing area 111A and a check box 111B. The check box 111B is provided in the lower right corner of the paper 111. The writing area 111 </ b> A is an area excluding the check box 111 </ b> B on the paper 111.

紙媒体100は、表表紙110Lが左読取装置2Lの前面に載置され、かつ、裏表紙110Rが右読取装置2Rの前面に載置されるように、読取装置2に装着される。本実施形態では、紙媒体100は、両面テープおよび粘着性を有する樹脂フィルム等によって、紙媒体100が読取装置2に位置決めされた状態で装着される。すなわち、左読取装置2Lおよび右読取装置2Rはそれぞれ、表表紙110Lおよび裏表紙110Rと一体的に移動する。ユーザは電子ペン3を用いて紙媒体100の用紙111に線画を筆記できる。線画は、電子ペン3に搭載されたインクが用紙111に滲み出ることにより、用紙111に筆記される。なお、本実施形態では、読取装置2は電子ペン3によって用紙111に線画が筆記された場合に、用紙111に滲み出るインクの量であるインク消費量を算出できる。読取装置2によるインク消費量の算出方法は後述する。   The paper medium 100 is attached to the reading device 2 such that the front cover 110L is placed on the front surface of the left reading device 2L and the back cover 110R is placed on the front surface of the right reading device 2R. In the present embodiment, the paper medium 100 is mounted in a state where the paper medium 100 is positioned on the reading device 2 by a double-sided tape, an adhesive resin film, or the like. That is, the left reading device 2L and the right reading device 2R move integrally with the front cover 110L and the back cover 110R, respectively. The user can write a line drawing on the paper 111 of the paper medium 100 using the electronic pen 3. The line drawing is written on the paper 111 as the ink mounted on the electronic pen 3 oozes out on the paper 111. In the present embodiment, when the line drawing is written on the paper 111 with the electronic pen 3, the reading device 2 can calculate the ink consumption amount that is the amount of ink that oozes on the paper 111. A method for calculating ink consumption by the reading device 2 will be described later.

電子ペン3は、公知の電磁誘導式の電子ペンであり、筒体30、芯37、検出スイッチ33、ボタン型の電池34、コイル35、および基板36を備える。電子ペン3は、例えばサインペンである。筒体30は、円柱状の形状を有し、芯37の一部、検出スイッチ33、電池34、コイル35、および基板36を内部に収容する。芯37は、ペン先31とインク収納部32とで構成される。ペン先31は、電子ペン3の後端部から外部に突出する。インク収納部32は、インクを収納する。本実施形態では、インク収納部32には、水性のインクが収納される。インク収納部32に収納されたインクはペン先31に供給される。このため、ユーザは、電子ペン3を使用して用紙111に線画を筆記できる。芯37は、弾性部材(図示略)により常に後方に付勢されている。   The electronic pen 3 is a known electromagnetic induction electronic pen, and includes a cylindrical body 30, a core 37, a detection switch 33, a button-type battery 34, a coil 35, and a substrate 36. The electronic pen 3 is a sign pen, for example. The cylindrical body 30 has a cylindrical shape, and houses a part of the core 37, the detection switch 33, the battery 34, the coil 35, and the substrate 36 therein. The core 37 includes a pen tip 31 and an ink storage unit 32. The pen tip 31 protrudes from the rear end of the electronic pen 3 to the outside. The ink storage unit 32 stores ink. In the present embodiment, the ink storage unit 32 stores water-based ink. The ink stored in the ink storage unit 32 is supplied to the pen tip 31. For this reason, the user can write a line drawing on the paper 111 using the electronic pen 3. The core 37 is always urged rearward by an elastic member (not shown).

芯37の前側には、基板36が設けられる。基板36は、ICチップ(図示略)を搭載し、かつ、周知の共振(同調)回路を構成する。基板36に搭載されたICチップは、電子ペン3を特定可能な個別情報を記憶し、読取装置2に送信可能である。基板36の後端部には、検出スイッチ33が実装される。基板36の前側には、電池34が設けられる。検出スイッチ33および電池34は、それぞれ、基板36を介してコイル35に電気的に接続される。   A substrate 36 is provided on the front side of the core 37. The substrate 36 mounts an IC chip (not shown) and constitutes a known resonance (tuning) circuit. The IC chip mounted on the substrate 36 stores individual information that can identify the electronic pen 3 and can transmit it to the reading device 2. A detection switch 33 is mounted on the rear end of the substrate 36. A battery 34 is provided on the front side of the substrate 36. The detection switch 33 and the battery 34 are each electrically connected to the coil 35 via the substrate 36.

コイル35は、電子ペン3の内部において芯37の後端部の周囲に巻回される。芯37は、ユーザが用紙111に線画を筆記する場合の押圧力によって、弾性部材の付勢力に抗して電子ペン3の内部にやや退入する。この場合、芯37の前端部が検出スイッチ33を押下し、検出スイッチ33がON状態になる。   The coil 35 is wound around the rear end portion of the core 37 inside the electronic pen 3. The core 37 is slightly retracted into the electronic pen 3 against the urging force of the elastic member by the pressing force when the user writes a line drawing on the paper 111. In this case, the front end portion of the lead 37 presses the detection switch 33, and the detection switch 33 is turned on.

スマートフォン19は、タッチパネル191およびディスプレイ192を備える。タッチパネル191は、各種指示を入力するために使用される。ディスプレイ192は、画像ファイルに対応する画像を表示可能である。なお、スマートフォン19の代わりに汎用PCやタブレットPCが用いられてもよい。   The smartphone 19 includes a touch panel 191 and a display 192. The touch panel 191 is used for inputting various instructions. The display 192 can display an image corresponding to the image file. A general-purpose PC or a tablet PC may be used instead of the smartphone 19.

図2を参照して、手書入力システム1の電気的構成を説明する。まず、読取装置2の電気的構成を説明する。読取装置2は、センサ基板7L,7R、メイン基板20、センサ制御基板28,29、入力部25、および3つのLED5を備える。センサ基板7L,7Rは、それぞれ、左読取装置2L、右読取装置2R内に設けられる。入力部25および3つのLED5は、右読取装置2Rに設けられる。   The electrical configuration of the handwriting input system 1 will be described with reference to FIG. First, the electrical configuration of the reading device 2 will be described. The reading device 2 includes sensor boards 7L and 7R, a main board 20, sensor control boards 28 and 29, an input unit 25, and three LEDs 5. The sensor substrates 7L and 7R are provided in the left reading device 2L and the right reading device 2R, respectively. The input unit 25 and the three LEDs 5 are provided in the right reading device 2R.

メイン基板20は、CPU21、RAM22、フラッシュROM23、および無線通信部24を備える。RAM22、フラッシュROM23、および無線通信部24は、CPU21に電気的に接続されている。CPU21は、読取装置2の制御を行う。RAM22は、演算データ等の各種データを一時的に記憶する。フラッシュROM23には、CPU21が読取装置2を制御するために実行するプログラム等が記憶される。無線通信部24は、外部の電子機器と近距離無線通信を実行するためのコントローラである。   The main board 20 includes a CPU 21, a RAM 22, a flash ROM 23, and a wireless communication unit 24. The RAM 22, the flash ROM 23, and the wireless communication unit 24 are electrically connected to the CPU 21. The CPU 21 controls the reading device 2. The RAM 22 temporarily stores various data such as calculation data. The flash ROM 23 stores a program executed by the CPU 21 to control the reading device 2. The wireless communication unit 24 is a controller for executing short-range wireless communication with an external electronic device.

入力部25および3つのLED5は、CPU21に電気的に接続されている。入力部25は、読取装置2に対する指示を入力するためのスイッチである。3つのLED5のそれぞれの色は、黄色、緑色、および赤色である。   The input unit 25 and the three LEDs 5 are electrically connected to the CPU 21. The input unit 25 is a switch for inputting an instruction to the reading device 2. The colors of the three LEDs 5 are yellow, green, and red.

センサ基板7L、7Rには、上下方向および左右方向のそれぞれに細長いループコイルが多数配列されている。センサ基板7Lは、センサ制御基板28のASIC28Aに電気的に接続されている。ASIC28Aは、電子ペン3による筆記動作がセンサ基板7L上で行われた場合に、電子ペン3の位置を示す座標データを検出する。センサ基板7Rは、センサ制御基板29のASIC29Aに電気的に接続されている。ASIC29Aは、電子ペン3による筆記動作がセンサ基板7R上で行われた場合に、座標データを検出する。ASIC28A,29Aのうち、マスター側のASIC28AはCPU21に直接接続され、スレーブ側のASIC29AはASIC28Aを介してCPU21に接続されている。   On the sensor boards 7L and 7R, a large number of elongated loop coils are arranged in the vertical direction and the horizontal direction, respectively. The sensor board 7L is electrically connected to the ASIC 28A of the sensor control board 28. The ASIC 28A detects coordinate data indicating the position of the electronic pen 3 when a writing operation by the electronic pen 3 is performed on the sensor substrate 7L. The sensor board 7R is electrically connected to the ASIC 29A of the sensor control board 29. The ASIC 29A detects coordinate data when a writing operation by the electronic pen 3 is performed on the sensor substrate 7R. Of the ASICs 28A and 29A, the ASIC 28A on the master side is directly connected to the CPU 21, and the ASIC 29A on the slave side is connected to the CPU 21 via the ASIC 28A.

センサ基板7L,7R上で電子ペン3による筆記動作が行われた場合に座標データが検出される原理を、概略的に説明する。CPU21はASIC28A,29Aを制御して、センサ基板7L,7Rのそれぞれのループコイルに、一本ずつ特定の周波数の電流(励磁用送信電流)を流す。これにより、センサ基板7L,7Rのそれぞれのループコイルから磁界が発生する。この状態で、例えばユーザが電子ペン3を用いて、読取装置2に装着された紙媒体100の用紙111に線画を筆記する動作を行うと、検出スイッチ33はON状態になり、かつ、電子ペン3はセンサ基板7L,7Rに近接する。そのため、電子ペン3の共振回路は電磁誘導によって共振し、誘導磁界を生じる。   The principle by which coordinate data is detected when a writing operation with the electronic pen 3 is performed on the sensor substrates 7L and 7R will be schematically described. The CPU 21 controls the ASICs 28A and 29A to flow currents of specific frequencies (excitation transmission currents) one by one through the respective loop coils of the sensor substrates 7L and 7R. Thereby, a magnetic field is generated from each of the loop coils of the sensor substrates 7L and 7R. In this state, for example, when the user performs an operation of writing a line drawing on the paper 111 of the paper medium 100 mounted on the reading device 2 using the electronic pen 3, the detection switch 33 is turned on and the electronic pen 3 is close to the sensor substrates 7L and 7R. Therefore, the resonance circuit of the electronic pen 3 resonates by electromagnetic induction and generates an induction magnetic field.

CPU21はASIC28A,29Aを制御して、センサ基板7L,7Rのそれぞれのループコイルからの磁界の発生を停止させる。センサ基板7L,7Rのそれぞれのループコイルは、電子ペン3の共振回路から発せられる誘導磁界を受信する。CPU21はASIC28A,29Aを制御して、センサ基板7L,7Rのそれぞれのループコイルに流れる信号電流(受信電流)を検出させる。ASIC28A,29Aがこの動作を全てのループコイルについて一本ずつ実行し、受信電流を検出することによって、電子ペン3の位置を示す座標データが検出される。   The CPU 21 controls the ASICs 28A and 29A to stop the generation of magnetic fields from the respective loop coils of the sensor substrates 7L and 7R. Each loop coil of the sensor boards 7L and 7R receives an induced magnetic field generated from the resonance circuit of the electronic pen 3. The CPU 21 controls the ASICs 28A and 29A to detect signal currents (reception currents) flowing through the loop coils of the sensor boards 7L and 7R. The ASICs 28A and 29A execute this operation for all the loop coils one by one and detect the received current, whereby coordinate data indicating the position of the electronic pen 3 is detected.

CPU21は、用紙111に線画が筆記されていると判断した場合(すなわち、検出スイッチ33がON状態の間)、ASIC28A,29Aを介して検出された電子ペン3の座標データを一定周期(本実施形態では、10ms)で繰り返し取得し、RAM22に記憶する。   When the CPU 21 determines that the line drawing is written on the paper 111 (that is, while the detection switch 33 is in the ON state), the coordinate data of the electronic pen 3 detected via the ASICs 28A and 29A is obtained at a certain period (this embodiment). In the embodiment, it is repeatedly acquired in 10 ms) and stored in the RAM 22.

次に、スマートフォン19の電気的構成を説明する。スマートフォン19は、CPU41、RAM42、フラッシュROM43、無線通信部44、入力回路45、出力回路46、タッチパネル191、およびディスプレイ192を主に備える。CPU41は、スマートフォン19の制御を行う。CPU41は、RAM42、フラッシュROM43、無線通信部44、入力回路45、および出力回路46と電気的に接続している。   Next, the electrical configuration of the smartphone 19 will be described. The smartphone 19 mainly includes a CPU 41, a RAM 42, a flash ROM 43, a wireless communication unit 44, an input circuit 45, an output circuit 46, a touch panel 191, and a display 192. The CPU 41 controls the smartphone 19. The CPU 41 is electrically connected to the RAM 42, the flash ROM 43, the wireless communication unit 44, the input circuit 45, and the output circuit 46.

RAM42は、種々の一時データを記憶する。無線通信部44は、外部の電子機器と近距離無線通信を実行するためのコントローラである。入力回路45は、CPU41へタッチパネル191からの指示を送る制御を行う。出力回路46は、CPU41からの指示に応じてディスプレイ192に画像を表示する制御を行う。   The RAM 42 stores various temporary data. The wireless communication unit 44 is a controller for executing short-range wireless communication with an external electronic device. The input circuit 45 performs control to send an instruction from the touch panel 191 to the CPU 41. The output circuit 46 performs control to display an image on the display 192 in accordance with an instruction from the CPU 41.

フラッシュROM43には、CPU41が実行するプログラムが記憶される。スマートフォン19は、図示外の媒体読取装置(例えば、メモリカードスロット)を備える。スマートフォン19は、記憶媒体(例えば、メモリカード)に記憶されているプログラムを、媒体読取装置で読み取ってフラッシュROM43にインストールできる。また、スマートフォン19に接続されている外部機器(図示略)またはネットワークからプログラムを受信して、フラッシュROM43にインストールしてもよい。   The flash ROM 43 stores a program executed by the CPU 41. The smartphone 19 includes a medium reading device (for example, a memory card slot) not shown. The smartphone 19 can read a program stored in a storage medium (for example, a memory card) with a medium reader and install it in the flash ROM 43. Further, the program may be received from an external device (not shown) connected to the smartphone 19 or a network and installed in the flash ROM 43.

図3および図4を参照して、読取装置2が用紙111に筆記された線画に基づいてストロークデータファイルを生成する処理、およびスマートフォン19が読取装置2からストロークデータファイルを取得した場合の処理の概要を、具体例を挙げて説明する。図3に示すように、ユーザは電子ペン3を用いて、「123」を示す線画200を筆記領域111Aに筆記する。CPU21は、電子ペン3によって用紙111に線画200が筆記されている間、電子ペン3の座標データを一定周期で繰り返し取得する。   With reference to FIGS. 3 and 4, a process in which the reading device 2 generates a stroke data file based on a line drawing written on the paper 111 and a process in a case where the smartphone 19 acquires a stroke data file from the reading device 2. The outline will be described with a specific example. As illustrated in FIG. 3, the user uses the electronic pen 3 to write the line drawing 200 indicating “123” in the writing area 111 </ b> A. The CPU 21 repeatedly acquires the coordinate data of the electronic pen 3 at a constant period while the line drawing 200 is written on the paper 111 by the electronic pen 3.

CPU21は、一定周期で連続して取得された電子ペン3の座標データに基づき、用紙111における筆記領域111Aおよびチェックボックス111Bのいずれに線画が筆記されたか判断できる。CPU21は、筆記領域111Aに線画が筆記されたとは判断した場合、一定周期で連続して取得された座標データに基づき、電子ペン3によって筆記された一本分の線画を示すストロークデータを生成してRAM22に記憶する。一本分の線画は、検出スイッチ33がON状態になってからOFF状態になるまでに筆記された線画である。   The CPU 21 can determine in which of the writing area 111 </ b> A and the check box 111 </ b> B on the paper 111 the line drawing has been written based on the coordinate data of the electronic pen 3 continuously acquired at a constant period. When the CPU 21 determines that a line drawing has been written in the writing area 111A, the CPU 21 generates stroke data indicating one line drawing written by the electronic pen 3 based on the coordinate data continuously acquired at a constant period. And stored in the RAM 22. The line drawing for one line is a line drawing written from when the detection switch 33 is turned on to when it is turned off.

CPU21は、取得された座標データに基づき、チェックボックス111Bに線画が筆記されたと判断した場合、用紙111に筆記した線画を保存するための保存指示を検出する。CPU21は、保存指示を検出した場合、RAM22に記憶された複数のストロークデータに基づき、ストロークデータファイルを生成する。ストロークデータファイルは、筆記領域111Aに筆記された線画200を示すストロークデータを少なくとも含む。ストロークデータは、例えば線画200が筆記された日の日付等を含んでもよい。CPU21は、生成されたストロークデータファイルをフラッシュROM23に記憶する。   If the CPU 21 determines that a line drawing has been written in the check box 111B based on the acquired coordinate data, the CPU 21 detects a save instruction for saving the line drawing written on the paper 111. When the CPU 21 detects the save instruction, the CPU 21 generates a stroke data file based on the plurality of stroke data stored in the RAM 22. The stroke data file includes at least stroke data indicating the line drawing 200 written in the writing area 111A. The stroke data may include, for example, the date on which the line drawing 200 was written. The CPU 21 stores the generated stroke data file in the flash ROM 23.

CPU41は、ストロークデータファイルを読取装置2から取得するためのデータ要求コマンドの操作がタッチパネル191を介して行われた場合、無線通信部44を介して読取装置2との間で近距離無線通信を実行する。CPU21は、スマートフォン19からのデータ要求コマンドを受信した場合、フラッシュROM23に記憶されたストロークデータファイルをスマートフォン19に送信する。フラッシュROM23に記憶されているストロークデータファイルは、読取装置2からスマートフォン19に無線送信される。CPU41は、読取装置2から無線送信されたストロークデータファイルを受信し、RAM42に記憶する。   When the operation of the data request command for acquiring the stroke data file from the reading device 2 is performed via the touch panel 191, the CPU 41 performs short-distance wireless communication with the reading device 2 via the wireless communication unit 44. Run. When the CPU 21 receives the data request command from the smartphone 19, the CPU 21 transmits the stroke data file stored in the flash ROM 23 to the smartphone 19. The stroke data file stored in the flash ROM 23 is wirelessly transmitted from the reading device 2 to the smartphone 19. The CPU 41 receives the stroke data file wirelessly transmitted from the reading device 2 and stores it in the RAM 42.

CPU41は、RAM42に記憶したストロークデータファイルに基づき、電子ペン3によって用紙111に筆記された線画200と同一形状の線画を含む画像ファイルを生成する。詳細には、CPU41は、受信したストロークデータファイルに含まれる複数のストロークデータをグループ単位で抽出する。CPU41は、抽出した複数のストロークデータのそれぞれによって示される複数の位置の間を、筆記された順番に直線で結ぶ。CPU41は、グループ毎に1本分ずつ得られる線分を結合し、筆記された線画200を特定する。CPU41は、特定した線画200を少なくとも含む画像の画像ファイルを生成する。画像ファイルは、線画をデシタル画像によって示すデータファイルである。デジタル画像の例として、ベクター画像やラスター画像が挙げられる。画像ファイルとしてJPEGファイル、GIFファイル、PNGファイル、BMPファイルが挙げられる。   Based on the stroke data file stored in the RAM 42, the CPU 41 generates an image file including a line drawing having the same shape as the line drawing 200 written on the paper 111 by the electronic pen 3. Specifically, the CPU 41 extracts a plurality of stroke data included in the received stroke data file in units of groups. The CPU 41 connects a plurality of positions indicated by each of the extracted plurality of stroke data with a straight line in the order of writing. CPU41 combines the line segment obtained for every group, and specifies the written line drawing 200. FIG. The CPU 41 generates an image file of an image including at least the specified line drawing 200. The image file is a data file that shows a line drawing as a digital image. Examples of digital images include vector images and raster images. Examples of the image file include a JPEG file, a GIF file, a PNG file, and a BMP file.

図4に示すように、CPU41は、生成された画像ファイルに基づき、画像300をディスプレイ192に表示できる。画像300は、日付を示す「2013/3/31」と、線画200を示す「123」とを含む。なお、読取装置2からスマートフォン19に対してストロークデータファイルが送信される場合の通信は、無線通信に限定されず有線通信であってもよい。   As shown in FIG. 4, the CPU 41 can display an image 300 on the display 192 based on the generated image file. The image 300 includes “2013/3/31” indicating the date and “123” indicating the line drawing 200. Note that communication when the stroke data file is transmitted from the reading device 2 to the smartphone 19 is not limited to wireless communication, and may be wired communication.

図5を参照して、CPU21によるインク消費量の算出方法を、具体例を挙げて説明する。先述したように、線画は、インク収納部32からペン先31に供給されたインクが、ペン先31から用紙111に滲み出ることにより、用紙111に筆記される。以下、電子ペン3によって用紙111に点A0から点A3まで線画が筆記された場合について説明する。なお、図5では、点A0、点A1、点A2、および点A3は、電子ペン3によって点A0から点A3まで線画が筆記された場合に、CPU21によって座標データが取得された位置を示す。CPU21は、点A0、点A1、点A2、点A3の順番で座標データを取得する。   With reference to FIG. 5, a method of calculating the ink consumption amount by the CPU 21 will be described with a specific example. As described above, the line drawing is written on the paper 111 as the ink supplied from the ink storage unit 32 to the pen tip 31 oozes out from the pen tip 31 onto the paper 111. Hereinafter, a case where a line drawing is written on the paper 111 from the point A0 to the point A3 with the electronic pen 3 will be described. In FIG. 5, points A 0, A 1, A 2, and A 3 indicate positions where coordinate data is acquired by the CPU 21 when a line drawing is written from the point A 0 to the point A 3 with the electronic pen 3. The CPU 21 acquires coordinate data in the order of point A0, point A1, point A2, and point A3.

また、CPU21は座標データを一定周期で取得するため、点A0が取得されてから点A1が取得されるまでの時間、点A1が取得されてから点A2が取得されるまでの時間、および点A2が取得されてから点A3が取得されるまでの時間はいずれも所定時間(すなわち、本実施形態では、10ms)である。以下、CPU21によって取得された電子ペン3の位置を第一位置といい、第一位置が取得されてから所定時間の経過後にCPU21によって取得された電子ペン3の位置を第二位置という。例えば、点A0が第一位置の場合は点A1が第二位置であり、点A1が第一位置の場合は点A2が第二位置である。   Further, since the CPU 21 acquires the coordinate data at a constant cycle, the time from the point A0 acquisition until the point A1 is acquired, the time from the point A1 acquisition until the point A2 is acquired, and the point The time from when A2 is acquired until the point A3 is acquired is a predetermined time (that is, 10 ms in this embodiment). Hereinafter, the position of the electronic pen 3 acquired by the CPU 21 is referred to as a first position, and the position of the electronic pen 3 acquired by the CPU 21 after a predetermined time has elapsed since the acquisition of the first position is referred to as a second position. For example, when the point A0 is the first position, the point A1 is the second position, and when the point A1 is the first position, the point A2 is the second position.

また、第一位置から第二位置まで電子ペン3によって線画が筆記された距離を、筆記距離Xという。図5では、点A0から点A1までの筆記距離X、点A1から点A2までの筆記距離X、および点A2から点A3までの筆記距離Xは、それぞれ、距離X1、距離X2、および距離X3である。   The distance at which the line drawing is written with the electronic pen 3 from the first position to the second position is referred to as a writing distance X. In FIG. 5, the writing distance X from the point A0 to the point A1, the writing distance X from the point A1 to the point A2, and the writing distance X from the point A2 to the point A3 are the distance X1, the distance X2, and the distance X3, respectively. It is.

点P0および点P1は、後述する基準消費量M0を説明するために用いる。点P0から点P1までは、電子ペン3によって所定時間で筆記される。点P0から点P1までの距離は、所定距離X0である。   The points P0 and P1 are used to explain a reference consumption M0 described later. The points P0 to P1 are written in a predetermined time by the electronic pen 3. The distance from the point P0 to the point P1 is a predetermined distance X0.

本実施形態では、電子ペン3によって所定時間で所定距離X0の線画が筆記されたときのインク消費量として予め定められた基準消費量M0がフラッシュROM23に記憶されている。CPU21は、基準消費量M0と所定時間における筆記距離Xとに基づき、特定消費量Mを算出する。特定消費量Mは、第一位置から第二位置まで所定時間の間に電子ペン3によって線画が筆記されたときのインク消費量である。詳細には、所定時間に電子ペン3によって筆記距離Xだけ線画が筆記された場合の特定消費量Mは、本実施形態における水性インクの場合、例えば以下に示す式(1)に基づいて算出される。
M=M0×X0/X・・・(1)
In the present embodiment, a reference consumption M0 that is predetermined as an ink consumption when a line drawing at a predetermined distance X0 is written in a predetermined time by the electronic pen 3 is stored in the flash ROM 23. The CPU 21 calculates the specific consumption amount M based on the reference consumption amount M0 and the writing distance X at a predetermined time. The specific consumption M is an ink consumption when a line drawing is written with the electronic pen 3 during a predetermined time from the first position to the second position. Specifically, the specific consumption M when the line drawing is written by the writing distance X with the electronic pen 3 at a predetermined time is calculated based on, for example, the following formula (1) in the case of the water-based ink in the present embodiment. The
M = M0 × X0 / X (1)

ゆえに、例えば点A0から点A1までの特定消費量M、点A1から点A2までの特定消費量M、および点A2から点A3までの特定消費量Mは、それぞれ、M0×X0/X1、M0×X0/X2、およびM0×X0/X3となる。   Therefore, for example, the specific consumption M from point A0 to point A1, the specific consumption M from point A1 to point A2, and the specific consumption M from point A2 to point A3 are M0 × X0 / X1, M0, respectively. × X0 / X2 and M0 × X0 / X3.

したがって、例えば、A0からA2までのインク消費量は(M0×X0/X1)+(M0×X0/X2)である。図5に示すように、A0からA2までの距離がP0からP1までの距離と等しい場合(すなわち、X1+X2=X0)であっても、インク消費量は異なる場合がある(すなわち、(M0×X0/X1)+(M0×X0/X2)≠M0)。   Therefore, for example, the ink consumption amount from A0 to A2 is (M0 × X0 / X1) + (M0 × X0 / X2). As shown in FIG. 5, even when the distance from A0 to A2 is equal to the distance from P0 to P1 (that is, X1 + X2 = X0), the ink consumption may be different (that is, (M0 × X0). / X1) + (M0 × X0 / X2) ≠ M0).

本実施形態では、読取装置2は、複数の電子ペン3がある場合に、現在使用している電子ペン3を特定できる。詳細には、読取装置2は、基板36に搭載されたICチップを読み取ることで電子ペン3を特定する。これにより、読取装置2は、特定された電子ペン3に対応させてインク消費量を算出し、電子ペン3のインク残量を推定できる。   In the present embodiment, when there are a plurality of electronic pens 3, the reading device 2 can specify the electronic pen 3 currently used. Specifically, the reading device 2 specifies the electronic pen 3 by reading an IC chip mounted on the substrate 36. Accordingly, the reading device 2 can calculate the ink consumption amount corresponding to the specified electronic pen 3 and estimate the ink remaining amount of the electronic pen 3.

また、本実施形態では、インク収納部32に予め収納されているインクの量である初期インク量が予めフラッシュROM23に記憶されている。CPU21は、電子ペン3のインクが交換された場合等に、フラッシュROM23に記憶されたインク残量を初期化できる。インク残量が初期化された場合、インク残量として初期インク量がフラッシュROM23に記憶される。CPU21は、初期インク量から特定消費量Mを減算していくことにより、電子ペン3に現在搭載されているインクの量であるインク残量を推定できる。   In the present embodiment, an initial ink amount that is the amount of ink stored in advance in the ink storage portion 32 is stored in the flash ROM 23 in advance. The CPU 21 can initialize the remaining amount of ink stored in the flash ROM 23 when the ink of the electronic pen 3 is replaced. When the ink remaining amount is initialized, the initial ink amount is stored in the flash ROM 23 as the ink remaining amount. The CPU 21 can estimate the ink remaining amount that is the amount of ink currently mounted on the electronic pen 3 by subtracting the specific consumption amount M from the initial ink amount.

フラッシュROM23に記憶されたインク残量を初期化する方法を説明する。ユーザは、インク収納部32を新たなインク収納部32に交換することにより、電子ペン3のインクを交換可能である。ユーザは、例えば電子ペン3のインクを交換した場合、または電子ペン3を新たな電子ペン3に交換した場合、フラッシュROM23に記憶された電子ペン3のインク残量を初期インク残量に初期化する。この場合、ユーザは、基板36に搭載されたICチップを読取装置2に読み取らせることにより、読取装置2に電子ペン3を特定させる。次いで、ユーザは、入力部25を操作してインク残量を初期化させる。   A method for initializing the remaining amount of ink stored in the flash ROM 23 will be described. The user can replace the ink of the electronic pen 3 by replacing the ink storage unit 32 with a new ink storage unit 32. For example, when the user replaces the ink of the electronic pen 3 or when the electronic pen 3 is replaced with a new electronic pen 3, the ink remaining amount of the electronic pen 3 stored in the flash ROM 23 is initialized to the initial ink remaining amount. To do. In this case, the user causes the reading device 2 to identify the electronic pen 3 by causing the reading device 2 to read the IC chip mounted on the substrate 36. Next, the user operates the input unit 25 to initialize the ink remaining amount.

図6を参照し、CPU21によって実行されるメイン処理を説明する。CPU21は、電源がONされた場合に、フラッシュROM23に記憶されたプログラムに基づいて動作することで、メイン処理を開始する。   The main process executed by the CPU 21 will be described with reference to FIG. When the power is turned on, the CPU 21 starts the main process by operating based on the program stored in the flash ROM 23.

CPU21は、用紙111に電子ペン3によって線画が筆記されている状態であるか判断する(S11)。用紙111に電子ペン3によって線画が筆記されている場合、検出スイッチ33がON状態になるため、CPU21は用紙111に電子ペン3によって線画が筆記されている状態であることを検出できる。CPU21は、用紙111に電子ペン3によって線画が筆記されている状態であると判断した場合(S11:YES)、基板36に搭載されたICチップに記憶されている個別情報を取得し、RAM22に記憶する(S12)。個別情報は、少なくとも電子ペン3を特定可能な情報を含む。また、CPU21は、個別情報に基づき、フラッシュROM23に記憶されている電子ペン3のインク残量をRAM22に記憶する。   The CPU 21 determines whether a line drawing is written on the paper 111 with the electronic pen 3 (S11). When the line drawing is written on the paper 111 with the electronic pen 3, the detection switch 33 is turned on, so that the CPU 21 can detect that the line drawing is written on the paper 111 with the electronic pen 3. When the CPU 21 determines that the line drawing is written on the paper 111 with the electronic pen 3 (S11: YES), the CPU 21 acquires the individual information stored in the IC chip mounted on the substrate 36 and stores it in the RAM 22. Store (S12). The individual information includes at least information that can identify the electronic pen 3. Further, the CPU 21 stores the ink remaining amount of the electronic pen 3 stored in the flash ROM 23 in the RAM 22 based on the individual information.

CPU21は、電子ペン3の座標データを取得し、RAM22に記憶する(S13)。なお、S13の処理は、電子ペン3による用紙111への線画の筆記が開始されてから終了されるまで(すなわち、検出スイッチ33がON状態の間)、一定周期で実行される。CPU21は、第一位置から第二位置までの筆記距離Xを算出する(S14)。詳細には、CPU21は、S13の処理で取得された第一位置の座標データと、第一位置の座標データが取得されてから所定時間経過(一定周期)後にS13の処理で取得された第二位置の座標データとに基づき、筆記距離Xを算出する。   CPU21 acquires the coordinate data of the electronic pen 3, and memorize | stores it in RAM22 (S13). Note that the process of S13 is executed at a constant cycle from the start of writing of a line drawing on the paper 111 by the electronic pen 3 to the end thereof (that is, while the detection switch 33 is in the ON state). The CPU 21 calculates a writing distance X from the first position to the second position (S14). Specifically, the CPU 21 obtains the first position coordinate data acquired in the process of S13 and the second position acquired in the process of S13 after a lapse of a predetermined time (fixed period) after the coordinate data of the first position is acquired. The writing distance X is calculated based on the position coordinate data.

CPU21は、所定時間における筆記距離Xと基準消費量M0とに基づき、式(1)により特定消費量Mを算出する(S15)。CPU21は、S15の処理で算出された特定消費量Mに基づき、S12の処理でRAM22に記憶された電子ペン3のインク残量を更新する(S16)。詳細には、CPU21は、RAM22に記憶されている電子ペン3のインク残量から特定消費量Mを減算してRAM22に記憶する。   The CPU 21 calculates the specific consumption amount M by the equation (1) based on the writing distance X and the reference consumption amount M0 in a predetermined time (S15). The CPU 21 updates the ink remaining amount of the electronic pen 3 stored in the RAM 22 in the process of S12 based on the specific consumption M calculated in the process of S15 (S16). Specifically, the CPU 21 subtracts the specific consumption amount M from the ink remaining amount of the electronic pen 3 stored in the RAM 22 and stores it in the RAM 22.

CPU21は、電子ペン3による用紙111への線画の筆記が終了されたか判断する(S17)。電子ペン3による用紙111への線画の筆記が終了している場合、検出スイッチ33はOFF状態になるため、CPU21は電子ペン3による用紙111への線画の筆記が終了されたことを検出できる。CPU21は、電子ペン3による用紙111への線画の筆記が終了されていないと判断した場合(S17:NO)、まだ電子ペン3はON状態であるため、S13の処理が実行されてから所定時間経過後に処理をS13の処理に戻す。これにより、CPU21は、電子ペン3によって用紙111に線画が筆記されている間、座標データを一定周期で繰り返し取得できる。   The CPU 21 determines whether or not the writing of the line drawing on the paper 111 by the electronic pen 3 has been completed (S17). When the writing of the line drawing on the paper 111 by the electronic pen 3 has been completed, the detection switch 33 is turned off, so that the CPU 21 can detect that the writing of the line drawing on the paper 111 by the electronic pen 3 has been completed. If the CPU 21 determines that the writing of the line drawing on the paper 111 by the electronic pen 3 has not been completed (S17: NO), the electronic pen 3 is still in the ON state, and therefore a predetermined time after the process of S13 is executed. After the elapse, the process returns to the process of S13. Thereby, the CPU 21 can repeatedly acquire the coordinate data at a constant period while the line drawing is written on the paper 111 by the electronic pen 3.

CPU21は、電子ペン3による用紙111への線画の筆記が終了されたと判断した場合(S17:YES)、RAM22に記憶されている電子ペン3のインク残量に基づき、所定条件を満たしているか判断する(S21)。所定条件は、電子ペン3のインク残量が、予め定められた値である警告基準量以下であることである。   When the CPU 21 determines that the writing of the line drawing on the paper 111 by the electronic pen 3 has been completed (S17: YES), the CPU 21 determines whether a predetermined condition is satisfied based on the ink remaining amount of the electronic pen 3 stored in the RAM 22. (S21). The predetermined condition is that the ink remaining amount of the electronic pen 3 is equal to or less than a warning reference amount that is a predetermined value.

CPU21は、RAM22に記憶されている電子ペン3のインク残量が警告基準量以下でないと判断した場合(S21:NO)、電子ペン3のインク残量をフラッシュROM23に記憶し、RAM22に記憶された電子ペン3のインク残量をクリアして処理をS31の処理に移行する。   When the CPU 21 determines that the ink remaining amount of the electronic pen 3 stored in the RAM 22 is not less than or equal to the warning reference amount (S21: NO), the CPU 21 stores the ink remaining amount of the electronic pen 3 in the flash ROM 23 and is stored in the RAM 22. The remaining ink level of the electronic pen 3 is cleared, and the process proceeds to S31.

CPU21は、RAM22に記憶されている電子ペン3のインク残量が警告基準量以下であると判断した場合(S21:YES)、電子ペン3のインク残量に関する報知を行う(S22)。詳細には、CPU21は、インク残量低下を示す予め定められた態様でLED5を発光させる。また、CPU21は、無線通信部24を介してスマートフォン19に電子ペン3のインク残量に関する報知を実行させる指示を送信する。指示は、例えば図7に示すように、所定画像301をディスプレイ192に表示させる指示である。所定画像301は、「ペンのインク残量の低下を検知しました。インクを交換してください。」を含む。なお、CPU21は、S22の処理において、電子ペン3のインク残量をフラッシュROM23に記憶し、RAM22に記憶されたインク残量をクリアする。   When the CPU 21 determines that the ink remaining amount of the electronic pen 3 stored in the RAM 22 is equal to or less than the warning reference amount (S21: YES), the CPU 21 performs notification regarding the ink remaining amount of the electronic pen 3 (S22). Specifically, the CPU 21 causes the LED 5 to emit light in a predetermined manner indicating a decrease in the remaining ink amount. In addition, the CPU 21 transmits an instruction for causing the smartphone 19 to perform notification regarding the remaining ink amount of the electronic pen 3 via the wireless communication unit 24. The instruction is an instruction to display the predetermined image 301 on the display 192 as shown in FIG. The predetermined image 301 includes “A decrease in the ink level of the pen has been detected. Replace the ink.” In step S22, the CPU 21 stores the ink remaining amount of the electronic pen 3 in the flash ROM 23 and clears the ink remaining amount stored in the RAM 22.

CPU21は、保存指示を検出したか判断する(S31)。詳細には、CPU21、チェックボックス111Bに線画が筆記された場合、S13の処理で取得された座標データに基づき、保存指示を検出する。   The CPU 21 determines whether a save instruction has been detected (S31). Specifically, when a line drawing is written in the CPU 21 and the check box 111B, a save instruction is detected based on the coordinate data acquired in the process of S13.

CPU21は、保存指示を検出していないと判断した場合(S31:NO)、筆記領域111Aに対して線画が筆記されたと判断する。CPU21は、S13の処理で取得された座標データに基づき、ストロークデータを生成してRAM22に記憶する(S32)。CPU21は処理をS11の処理に戻す。CPU21は、保存指示を検出したと判断した場合(S31:YES)、S32の処理でRAM22に記憶された複数のストロークデータを含むストロークデータファイルを生成してフラッシュROM23に記憶する(S33)。CPU21は、RAM22に記憶されたストロークデータをクリアし、処理をS11の処理に戻す。   If the CPU 21 determines that a save instruction has not been detected (S31: NO), the CPU 21 determines that a line drawing has been written in the writing area 111A. CPU21 produces | generates stroke data based on the coordinate data acquired by the process of S13, and memorize | stores it in RAM22 (S32). CPU21 returns a process to the process of S11. When the CPU 21 determines that a save instruction has been detected (S31: YES), the CPU 21 generates a stroke data file including a plurality of stroke data stored in the RAM 22 in the process of S32 and stores it in the flash ROM 23 (S33). CPU21 clears the stroke data memorize | stored in RAM22, and returns a process to the process of S11.

CPU21は、用紙111に電子ペン3によって線画が筆記されている状態でないと判断した場合(S11:NO)、無線通信部24を介してスマートフォン19からデータ要求コマンドを受信したか判断する(S41)。   When determining that the line drawing is not written on the paper 111 with the electronic pen 3 (S11: NO), the CPU 21 determines whether a data request command has been received from the smartphone 19 via the wireless communication unit 24 (S41). .

CPU21は、無線通信部24を介してスマートフォン19からデータ要求コマンドを受信していないと判断した場合(S41:NO)、処理をS11の処理に戻す。CPU21は、無線通信部24を介してスマートフォン19からデータ要求コマンドを受信したと判断した場合(S41:YES)、無線通信部24を介してスマートフォン19にS33の処理でフラッシュROM23に記憶されたストロークデータファイルを送信する(S42)。CPU21は、フラッシュROM23に記憶されたストロークデータファイルをクリアし、処理をS11の処理に戻す。   CPU21 returns a process to the process of S11, when it is judged that the data request command is not received from the smart phone 19 via the wireless communication part 24 (S41: NO). If the CPU 21 determines that a data request command has been received from the smartphone 19 via the wireless communication unit 24 (S41: YES), the stroke stored in the flash ROM 23 in the process of S33 on the smartphone 19 via the wireless communication unit 24 The data file is transmitted (S42). The CPU 21 clears the stroke data file stored in the flash ROM 23, and returns the process to the process of S11.

以上説明したように、本実施形態によれば、CPU21は、第一位置の座標データを取得する(S13)。CPU21は、S13の処理で第一位置の座標データを取得してから所定時間の経過後に第二位置の座標データを取得する(S13)。CPU21は、S13の処理で取得された第一位置および第二位置の座標データに基づき、第一位置から第二位置までの筆記距離Xを算出する(S14)。CPU21は、所定時間における筆記距離Xと基準消費量M0とに基づき、式(1)により第一位置から第二位置まで線画を筆記した電子ペン3の特定消費量Mを算出する(S15)。基準消費量M0は、電子ペン3によって所定時間で所定距離X0の線画が筆記されたときのインク消費量として予め定められた基準量である。ゆえに、読取装置2は、インク消費量を精度よく推定できる。   As described above, according to the present embodiment, the CPU 21 acquires the coordinate data of the first position (S13). CPU21 acquires the coordinate data of a 2nd position after progress of predetermined time, after acquiring the coordinate data of a 1st position by the process of S13 (S13). The CPU 21 calculates the writing distance X from the first position to the second position based on the coordinate data of the first position and the second position acquired in the process of S13 (S14). The CPU 21 calculates a specific consumption amount M of the electronic pen 3 in which a line drawing is written from the first position to the second position according to the formula (1) based on the writing distance X and the reference consumption M0 in a predetermined time (S15). The reference consumption amount M0 is a reference amount that is predetermined as an ink consumption amount when a line drawing at a predetermined distance X0 is written by the electronic pen 3 for a predetermined time. Therefore, the reading device 2 can estimate the ink consumption with high accuracy.

CPU21は、基板36に搭載されたICチップに記憶されている個別情報を取得し(S12)、フラッシュROM23に記憶されているインク残量のうち、電子ペン3のインク残量をRAM22に記憶する。CPU21は、式(1)に基づき、特定消費量Mを算出する(S15)。CPU21は、S15の処理で算出された特定消費量Mに基づき、S12の処理でRAM22に記憶された電子ペン3のインク残量を更新する(S16)。これにより、読取装置2は、電子ペン3の個別情報に対応させてインク消費量を算出し、インク残量を更新できる。ゆえに、読取装置2は、電子ペン3が複数種類あった場合でも、それぞれに応じてインク消費量を推定できる。   The CPU 21 acquires individual information stored in the IC chip mounted on the substrate 36 (S12), and stores the ink remaining amount of the electronic pen 3 in the RAM 22 out of the ink remaining amount stored in the flash ROM 23. . CPU21 calculates specific consumption M based on Formula (1) (S15). The CPU 21 updates the ink remaining amount of the electronic pen 3 stored in the RAM 22 in the process of S12 based on the specific consumption M calculated in the process of S15 (S16). Accordingly, the reading device 2 can calculate the ink consumption amount corresponding to the individual information of the electronic pen 3 and can update the remaining ink amount. Therefore, even when there are a plurality of types of electronic pens 3, the reading device 2 can estimate the ink consumption amount according to each of them.

CPU21は、電子ペン3のインク残量に関する報知を行う(S22)。したがって、読取装置2は、電子ペン3のインク残量をユーザに報知できる。これにより、ユーザは、電子ペン3のインク残量を把握できる。   The CPU 21 performs notification regarding the ink remaining amount of the electronic pen 3 (S22). Therefore, the reading device 2 can notify the user of the ink remaining amount of the electronic pen 3. Thereby, the user can grasp the ink remaining amount of the electronic pen 3.

CPU21は、RAM22に記憶されている電子ペン3のインク残量が警告基準量以下であると判断した場合(S21:YES)、電子ペン3のインク残量に関する報知を行う(S22)。したがって、読取装置2は、電子ペン3のインク残量に基づき、所定条件を満たしていることをユーザに報知できる。これにより、ユーザは、電子ペン3のインク残量が例えば残りわずかであることを把握できる。よって、読取装置2は、ユーザが電子ペン3で線画を筆記している途中にインクが切れてしまうことを抑制できる。   When the CPU 21 determines that the ink remaining amount of the electronic pen 3 stored in the RAM 22 is equal to or less than the warning reference amount (S21: YES), the CPU 21 performs notification regarding the ink remaining amount of the electronic pen 3 (S22). Therefore, the reading device 2 can notify the user that the predetermined condition is satisfied based on the ink remaining amount of the electronic pen 3. Thereby, the user can grasp that the remaining amount of ink of the electronic pen 3 is, for example, a small amount. Therefore, the reading device 2 can suppress the ink from running out while the user is writing a line drawing with the electronic pen 3.

読取装置2は、発光可能なLED5を備える。CPU21は、インク残量低下を示す予め定められた態様でLED5を発光させることにより、電子ペン3のインク残量に関する報知を行う(S22)。したがって、読取装置2は、LED5を発光させることにより、電子ペン3のインク残量をユーザに報知できる。ユーザは、インク残量低下を示す予め定められた態様でLED5が発光することを視認することにより、電子ペン3のインク残量低下を把握できる。   The reading device 2 includes an LED 5 that can emit light. The CPU 21 notifies the ink remaining amount of the electronic pen 3 by causing the LED 5 to emit light in a predetermined manner indicating a decrease in the ink remaining amount (S22). Therefore, the reading device 2 can notify the user of the ink remaining amount of the electronic pen 3 by causing the LED 5 to emit light. The user can grasp the decrease in the ink remaining amount of the electronic pen 3 by visually recognizing that the LED 5 emits light in a predetermined manner indicating the decrease in the ink remaining amount.

読取装置2は、外部の電子機器と通信可能な無線通信部24を備える。CPU21は、無線通信部24を介してスマートフォン19に電子ペン3のインク残量に関する報知を実行させる指示を送信する(S22)。したがって、読取装置2は、スマートフォン19にて電子ペン3のインク残量をユーザに報知できる。ユーザは、外部の電子機器であるスマートフォン19側で、電子ペン3のインク残量を把握できる。   The reading device 2 includes a wireless communication unit 24 that can communicate with an external electronic device. CPU21 transmits the instruction | indication which performs the alerting | reporting regarding the ink residual amount of the electronic pen 3 to the smart phone 19 via the wireless communication part 24 (S22). Therefore, the reading device 2 can notify the user of the ink remaining amount of the electronic pen 3 using the smartphone 19. The user can grasp the ink remaining amount of the electronic pen 3 on the smartphone 19 side which is an external electronic device.

CPU21は、所定画像301をディスプレイ192に表示させる指示を、無線通信部24を介してスマートフォン19に送信する(S22)。したがって、読取装置2は、所定画像301をディスプレイ192に表示させることにより、電子ペン3のインク残量をユーザに報知できる。ユーザは、ディスプレイ192に表示された所定画像301を視認することにより、電子ペン3のインク残量を把握できる。   The CPU 21 transmits an instruction to display the predetermined image 301 on the display 192 to the smartphone 19 via the wireless communication unit 24 (S22). Therefore, the reading device 2 can notify the user of the ink remaining amount of the electronic pen 3 by displaying the predetermined image 301 on the display 192. The user can grasp the ink remaining amount of the electronic pen 3 by visually recognizing the predetermined image 301 displayed on the display 192.

上記実施形態において、読取装置2が本発明の「情報入力装置」に相当する。電子ペン3が本発明の「筆記具」に相当する。紙媒体100が本発明の「記録媒体」に相当する。センサ基板7L,7Rおよびセンサ制御基板28,29が本発明の「検出手段」に相当する。図6のS13の処理を実行するCPU21が本発明の「第一取得手段」に相当する。図6のS14の処理を実行するCPU21が本発明の「第一算出手段」に相当する。特定消費量Mが本発明の「インク消費量」に相当する。図6のS15の処理を実行するCPU21が本発明の「第二算出手段」に相当する。図6のS12の処理を実行するCPU21が本発明の「第二取得手段」に相当する。図6のS22の処理を実行するCPU21が本発明の「報知手段」に相当する。図6のS21の処理を実行するCPU21が本発明の「判断手段」に相当する。LED5が本発明の「発光部」に相当する。無線通信部24が本発明の「通信手段」に相当する。ストロークデータファイルが本発明の「線画データ」に相当する。図6のS33の処理を実行するCPU21が本発明の「生成手段」に相当する。図6のS42の処理を実行するCPU21が本発明の「送信手段」に相当する。   In the above embodiment, the reading device 2 corresponds to the “information input device” of the present invention. The electronic pen 3 corresponds to the “writing instrument” of the present invention. The paper medium 100 corresponds to the “recording medium” of the present invention. The sensor boards 7L and 7R and the sensor control boards 28 and 29 correspond to the “detecting means” of the present invention. CPU21 which performs the process of S13 of FIG. 6 is equivalent to the "first acquisition means" of this invention. The CPU 21 that executes the process of S14 in FIG. 6 corresponds to the “first calculation means” of the present invention. The specific consumption M corresponds to the “ink consumption” of the present invention. The CPU 21 that executes the process of S15 in FIG. 6 corresponds to the “second calculating means” of the present invention. CPU21 which performs the process of S12 of FIG. 6 corresponds to the "second acquisition means" of the present invention. CPU21 which performs the process of S22 of FIG. 6 is equivalent to the "notification means" of this invention. The CPU 21 that executes the process of S21 in FIG. 6 corresponds to the “determination means” of the present invention. The LED 5 corresponds to the “light emitting portion” of the present invention. The wireless communication unit 24 corresponds to “communication means” of the present invention. The stroke data file corresponds to “line drawing data” of the present invention. The CPU 21 that executes the process of S33 in FIG. 6 corresponds to the “generating means” of the present invention. The CPU 21 that executes the processing of S42 in FIG. 6 corresponds to the “transmission means” of the present invention.

図6のS13の処理が本発明の「第一取得ステップ」に相当する。図6のS14の処理が本発明の「第一算出ステップ」に相当する。図6のS15の処理が本発明の「第二算出ステップ」に相当する。   The process of S13 in FIG. 6 corresponds to the “first acquisition step” of the present invention. The process of S14 in FIG. 6 corresponds to the “first calculation step” of the present invention. The process of S15 in FIG. 6 corresponds to the “second calculation step” of the present invention.

なお、本発明は上記実施形態に限定されず、種々の変更が可能である。上記実施形態における電子ペン3の位置の検出方法は、他の方法に変更できる。例えば読取装置2は、上面にタッチパネルを備えていてもよい。この場合、電子ペン3によって筆記された位置は、タッチパネルが押下された位置に相当する。したがって、読取装置2のCPU21は、タッチパネルが押下された位置を示す座標データを、タッチパネルから取得できる。   In addition, this invention is not limited to the said embodiment, A various change is possible. The method for detecting the position of the electronic pen 3 in the above embodiment can be changed to another method. For example, the reading device 2 may include a touch panel on the upper surface. In this case, the position written by the electronic pen 3 corresponds to the position where the touch panel is pressed. Therefore, the CPU 21 of the reading device 2 can acquire coordinate data indicating the position where the touch panel is pressed from the touch panel.

読取装置2のCPU21は、用紙111のチェックボックス111Bに線画が筆記されたと判断した場合に、チェックボックス111Bに線画が筆記されたタイミングで、生成されたストロークデータファイルをスマートフォン19に送信してもよい。   When the CPU 21 of the reading device 2 determines that a line drawing has been written in the check box 111B of the paper 111, the CPU 21 may transmit the generated stroke data file to the smartphone 19 at the timing when the line drawing is written in the check box 111B. Good.

読取装置2は、電子ペン3の個別情報を基板36に搭載されたICチップから取得しなくてもよい。この場合、読取装置2は、例えば入力部25を介してユーザによって入力されることにより、電子ペン3の個別情報を取得し、電子ペン3を特定してもよい。読取装置2は、個別情報として電子ペン3が発信する電磁誘導の周波数に基づき、電子ペン3を特定してもよい。   The reading device 2 may not acquire the individual information of the electronic pen 3 from the IC chip mounted on the substrate 36. In this case, the reading device 2 may acquire the individual information of the electronic pen 3 and specify the electronic pen 3 by being input by the user via the input unit 25, for example. The reading device 2 may specify the electronic pen 3 based on the frequency of electromagnetic induction transmitted by the electronic pen 3 as individual information.

また、電子ペン3は、QRコード(登録商標)を備えてもよい。読取装置2は、QRコード(登録商標)を読取可能なコード読取手段を備えてもよい。この場合、読取装置2のコード読取手段で電子ペン3のQRコード(登録商標)を読み取ることによって個別情報を取得してもよい。また、読取装置2は、読み取ったQRコード(登録商標)がまだ読み取ったことのないQRコード(登録商標)であった場合、インク残量を初期化してもよい。なお、読取装置2が電子ペン3の個別情報を取得する方法は上記方法に限定されない。   The electronic pen 3 may include a QR code (registered trademark). The reading device 2 may include a code reading unit capable of reading a QR code (registered trademark). In this case, the individual information may be acquired by reading the QR code (registered trademark) of the electronic pen 3 by the code reading unit of the reading device 2. Further, when the read QR code (registered trademark) is a QR code (registered trademark) that has not yet been read, the reading device 2 may initialize the remaining amount of ink. Note that the method by which the reading device 2 acquires the individual information of the electronic pen 3 is not limited to the above method.

特定消費量Mを算出する式は、式(1)に限定されない。また、特定消費量Mを算出する式と、電子ペン3に搭載されたインクの種類とを対応付けてフラッシュROM23に複数記憶されてもよい。特定消費量Mを算出する式は、電子ペン3に搭載されたインクの種類によって異なる。この場合、例えば、個別情報は電子ペン3に搭載されたインクの種類に関する情報を含んでもよい。CPU21は、S12の処理において、取得された個別情報に基づき、電子ペン3に搭載されたインクの種類に対応する式をフラッシュROM23から読み出し、RAM22に記憶する。この場合、CPU21は、S15の処理において、フラッシュROM23から読み出した式に基づき、特定消費量Mを算出できる。これにより、読取装置2は、電子ペン3に搭載されたインクの種類に基づき、インク消費量を推定できる。   The formula for calculating the specific consumption M is not limited to the formula (1). A plurality of equations for calculating the specific consumption M and the types of ink mounted on the electronic pen 3 may be stored in the flash ROM 23 in association with each other. The formula for calculating the specific consumption M differs depending on the type of ink mounted on the electronic pen 3. In this case, for example, the individual information may include information on the type of ink mounted on the electronic pen 3. In the process of S <b> 12, the CPU 21 reads an expression corresponding to the type of ink mounted on the electronic pen 3 from the flash ROM 23 based on the acquired individual information, and stores it in the RAM 22. In this case, the CPU 21 can calculate the specific consumption M based on the formula read from the flash ROM 23 in the process of S15. Accordingly, the reading device 2 can estimate the ink consumption based on the type of ink mounted on the electronic pen 3.

さらに、読取装置2は、電子ペン3に搭載されたインクの種類に対応する基準消費量M0をフラッシュROM23に複数記憶きてもよい。基準消費量M0は、電子ペン3に搭載されたインクの種類によって異なる。この場合、CPU21は、S12の処理において、取得された個別情報に基づき、電子ペン3に搭載されたインクの種類に対応する基準消費量M0をフラッシュROM23から読み出し、RAM22に記憶する。CPU21は、S15の処理において、フラッシュROM23から読み出した基準消費量M0に基づき、特定消費量Mを算出できる。これにより、読取装置2は、電子ペン3に搭載されたインクの種類に基づき、インク消費量を推定できる。   Further, the reading device 2 may store a plurality of reference consumption amounts M0 corresponding to the types of ink mounted on the electronic pen 3 in the flash ROM 23. The reference consumption amount M0 varies depending on the type of ink mounted on the electronic pen 3. In this case, the CPU 21 reads the reference consumption M0 corresponding to the type of ink mounted on the electronic pen 3 from the flash ROM 23 and stores it in the RAM 22 based on the acquired individual information in the process of S12. In the process of S15, the CPU 21 can calculate the specific consumption M based on the reference consumption M0 read from the flash ROM 23. Accordingly, the reading device 2 can estimate the ink consumption based on the type of ink mounted on the electronic pen 3.

読取装置2は、電子ペン3のインク残量をフラッシュROM23に記憶しなくてもよい。この場合、電子ペン3のインク残量は、例えば電子ペン3の基板36に搭載されたICチップに記憶されてもよい。この場合、CPU21は、S12の処理において、電子ペン3のインク残量に関する情報を含む個別情報を取得し、RAM22に記憶する。CPU21は、S16の処理において、更新された電子ペン3のインク残量をRAM22に記憶すると共に、電子ペン3に送信する。電子ペン3は、受信した電子ペン3のインク残量を基板36に搭載されたICチップに記憶する。また、電子ペン3は、ICチップの代わりに電子ペン3のインク残量を記憶する記憶手段を他に備えてもよい。読取装置2と電子ペン3との通信方法は、例えば近距離無線通信である。   The reading device 2 may not store the remaining ink amount of the electronic pen 3 in the flash ROM 23. In this case, the remaining ink amount of the electronic pen 3 may be stored in, for example, an IC chip mounted on the substrate 36 of the electronic pen 3. In this case, the CPU 21 acquires individual information including information related to the ink remaining amount of the electronic pen 3 and stores it in the RAM 22 in the process of S12. In the process of S <b> 16, the CPU 21 stores the updated ink remaining amount of the electronic pen 3 in the RAM 22 and transmits it to the electronic pen 3. The electronic pen 3 stores the received ink remaining amount of the electronic pen 3 in an IC chip mounted on the substrate 36. Further, the electronic pen 3 may further include storage means for storing the remaining ink amount of the electronic pen 3 instead of the IC chip. A communication method between the reading device 2 and the electronic pen 3 is, for example, short-range wireless communication.

CPU21は、S33の処理において、複数のストロークデータの他に、画像300としてディスプレイ192において表示される第一色の情報を含むストロークデータファイルを生成してもよい。CPU21は、S22の処理において、第一色に代えて第一色とは異なる第二色の画像300をディスプレイ192に表示させる指示を、無線通信部24を介してスマートフォン19に送信し、電子ペン3のインク残量に関する報知を行ってもよい。この場合、CPU41は、第一色の画像300(図4参照)に代えて、第二色の画像300(図8参照)をディスプレイ192に表示する。第一色は、例えば黒色であり、第二色は、例えば赤色である。また、第一色および第二色は、これに限定されない。例えば、第一色は、電子ペン3に搭載されたインクと同じ色であり、第二色は、電子ペン3に搭載されたインクとは異なる色であってもよい。   In the process of S33, the CPU 21 may generate a stroke data file including information on the first color displayed on the display 192 as the image 300 in addition to the plurality of stroke data. In the process of S22, the CPU 21 transmits an instruction to display the second color image 300 different from the first color on the display 192 to the smartphone 19 via the wireless communication unit 24 instead of the first color, and the electronic pen Notification regarding the remaining amount of ink 3 may be performed. In this case, the CPU 41 displays the second color image 300 (see FIG. 8) on the display 192 instead of the first color image 300 (see FIG. 4). The first color is, for example, black, and the second color is, for example, red. The first color and the second color are not limited to this. For example, the first color may be the same color as the ink mounted on the electronic pen 3 and the second color may be a different color from the ink mounted on the electronic pen 3.

以上の場合、読取装置2は、画像300がディスプレイ192に表示される色を第一色から第二色に代えて表示されることで、電子ペン3のインク残量をユーザに報知できる。なお、この場合、線画に対応する部分の色を第一色から第二色に代えてもよいし、線画に対応していない部分の色を第一色から第二色に代えてもよい。また、画像300の一部分の色を第一色から第二色に代えてもよい。   In the above case, the reading apparatus 2 can notify the user of the ink remaining amount of the electronic pen 3 by displaying the image 300 on the display 192 by changing the color displayed from the first color to the second color. In this case, the color of the part corresponding to the line drawing may be changed from the first color to the second color, or the color of the part not corresponding to the line drawing may be changed from the first color to the second color. Further, the color of a part of the image 300 may be changed from the first color to the second color.

読取装置2は、音を発生可能なスピーカを備えてもよい。CPU21は、S22の処理において、読取装置2のスピーカによって音を発生させることにより、電子ペン3のインク残量に関する報知を行ってもよい。また、読取装置2は、電子ペン3のインク残量を示す表示部を備えてもよい。CPU21は、S22の処理において、読取装置2の表示部にインク残量を表示させることにより、電子ペン3のインク残量に関する報知を行ってもよい。スマートフォン19は、警告音を発生可能なスピーカを備えてもよい。CPU21は、S22の処理において、スマートフォン19のスピーカによって警告音を発生させる指示を、無線通信部24を介してスマートフォン19に送信し、電子ペン3のインク残量に関する報知を行ってもよい。この場合、CPU41は、スマートフォン19のスピーカに警告音を発生させる。   The reading device 2 may include a speaker that can generate sound. In the process of S <b> 22, the CPU 21 may notify the remaining amount of ink of the electronic pen 3 by generating a sound through the speaker of the reading device 2. Further, the reading device 2 may include a display unit that indicates the remaining ink amount of the electronic pen 3. In the process of S <b> 22, the CPU 21 may notify the ink remaining amount of the electronic pen 3 by displaying the ink remaining amount on the display unit of the reading device 2. The smartphone 19 may include a speaker that can generate a warning sound. In the process of S <b> 22, the CPU 21 may transmit an instruction to generate a warning sound from the speaker of the smartphone 19 to the smartphone 19 via the wireless communication unit 24 and perform notification regarding the ink remaining amount of the electronic pen 3. In this case, the CPU 41 generates a warning sound on the speaker of the smartphone 19.

電子ペン3は、光を発光する発光部を備えてもよい。CPU21は、S22の処理において、電子ペン3の発光部を発光させる指示を電子ペン3に送信し、電子ペン3のインク残量に関する報知を行ってもよい。この場合、電子ペン3は、電子ペン3の発光部を発光させる。電子ペン3は、警告音を発生するスピーカを備えてもよい。CPU21は、S22の処理において、電子ペン3のスピーカによって警告音を発生させる指示を電子ペン3に送信し、電子ペン3のインク残量に関する報知を行ってもよい。この場合、電子ペン3は、電子ペン3のスピーカによって警告音を発生させる。   The electronic pen 3 may include a light emitting unit that emits light. In the process of S <b> 22, the CPU 21 may transmit an instruction for causing the light emitting unit of the electronic pen 3 to emit light to the electronic pen 3 and notify the remaining amount of ink of the electronic pen 3. In this case, the electronic pen 3 causes the light emitting unit of the electronic pen 3 to emit light. The electronic pen 3 may include a speaker that generates a warning sound. In the process of S <b> 22, the CPU 21 may transmit an instruction for generating a warning sound from the speaker of the electronic pen 3 to the electronic pen 3 and notify the ink remaining amount of the electronic pen 3. In this case, the electronic pen 3 generates a warning sound through the speaker of the electronic pen 3.

なお、本実施形態において、電子ペン3のインク残量に関する報知を行う方法は上記方法に限定されない。また、電子ペン3のインク残量に関する報知を行う方法は、1つでもよいし、複数の方法を用いてもよい。   In the present embodiment, the method for notifying the ink remaining amount of the electronic pen 3 is not limited to the above method. Further, the number of methods for notifying the remaining ink amount of the electronic pen 3 may be one, or a plurality of methods may be used.

上記実施形態において、所定条件は、インク残量が警告基準量以下であることであるが、これに限定されない。所定条件は、例えば、インク残量が警告基準量であることであってもよい。この場合、インク残量が警告基準量になった場合に、一度だけ報知される。   In the above embodiment, the predetermined condition is that the remaining amount of ink is equal to or less than the warning reference amount, but is not limited thereto. The predetermined condition may be, for example, that the remaining amount of ink is a warning reference amount. In this case, when the remaining ink amount reaches the warning reference amount, the notification is made only once.

また、CPU21は、S16の処理において、初期インク量から特定消費量Mを減算しながらインク残量を推定するが、インク残量を推定しなくてもよい。例えば、CPU21は、S16の処理において、S15の処理で算出された特定消費量Mをインク消費量として0から加算していってもよい。この場合、CPU21は、電子ペン3のインクが交換された場合等に、フラッシュROM23に加算されて記憶されたインク消費量を0に初期化してもよい。この場合、所定条件は、例えば、インク消費量として特定消費量Mが0から加算されていくことによりRAM22に記憶されたインク消費量が、予め定められた警告基準量以上であることであってもよい。   In the process of S16, the CPU 21 estimates the ink remaining amount while subtracting the specific consumption amount M from the initial ink amount, but the ink remaining amount may not be estimated. For example, in the process of S16, the CPU 21 may add the specific consumption amount M calculated in the process of S15 from 0 as the ink consumption amount. In this case, the CPU 21 may initialize the ink consumption amount added and stored in the flash ROM 23 to 0, for example, when the ink of the electronic pen 3 is replaced. In this case, the predetermined condition is, for example, that the ink consumption stored in the RAM 22 is greater than or equal to a predetermined warning reference amount by adding the specific consumption M from 0 as the ink consumption. Also good.

電子ペン3は、サインペンに限定されず、ボールペン等でもよい。インク収納部32に収納されるインクは、水性のインクに限定されず、油性のインク等でもよい。   The electronic pen 3 is not limited to a sign pen, and may be a ballpoint pen or the like. The ink stored in the ink storage unit 32 is not limited to water-based ink, and may be oil-based ink or the like.

1 手書入力システム
2 読取装置
3 電子ペン
7L,7R センサ基板
19 スマートフォン
21 CPU
22 RAM
23 フラッシュROM
24 無線通信部
28,29 センサ制御基板
100 紙媒体
301 所定画像
M 特定消費量
M0 基準消費量
X 筆記距離
X0 所定距離
1 Handwriting input system 2 Reading device 3 Electronic pen 7L, 7R Sensor board 19 Smartphone 21 CPU
22 RAM
23 Flash ROM
24 Wireless communication units 28, 29 Sensor control board 100 Paper medium 301 Predetermined image M Specific consumption M0 Reference consumption X Writing distance X0 Predetermined distance

Claims (9)

インクによって記録媒体に線画を筆記可能な筆記具の位置を検出可能な検出手段と、
前記検出手段によって検出された前記筆記具の位置を取得する第一取得手段と、
前記第一取得手段によって取得された前記筆記具の位置である第一位置と、前記第一位置が取得されてから所定時間の経過後に前記第一取得手段によって取得された前記筆記具の位置である第二位置とに基づき、前記筆記具によって前記第一位置から前記第二位置まで線画が筆記された距離である筆記距離を算出する第一算出手段と、
前記第一算出手段によって算出された前記筆記距離と、前記筆記具によって前記所定時間で所定距離の線画が筆記されたときに消費される前記インクの量として予め定められた基準消費量とに基づき、前記第一位置から前記第二位置まで線画を筆記するのに消費された前記インクの量であるインク消費量を算出する第二算出手段と
を備えたことを特徴とする情報入力装置。
Detection means capable of detecting the position of a writing instrument capable of writing a line drawing on a recording medium with ink;
First acquisition means for acquiring the position of the writing instrument detected by the detection means;
The first position, which is the position of the writing instrument acquired by the first acquisition means, and the position of the writing instrument acquired by the first acquisition means after a lapse of a predetermined time from the acquisition of the first position. Based on two positions, a first calculation means for calculating a writing distance that is a distance by which a line drawing is written from the first position to the second position by the writing tool;
Based on the writing distance calculated by the first calculation means and a reference consumption amount that is predetermined as the amount of the ink that is consumed when the line drawing of the predetermined distance is written by the writing instrument at the predetermined time, An information input device comprising: a second calculation unit that calculates an ink consumption amount that is an amount of the ink consumed to write a line drawing from the first position to the second position.
前記筆記具を特定可能な個別情報を取得する第二取得手段を備え、
前記第二算出手段は、前記第二取得手段によって取得された前記個別情報に対応させて前記インク消費量を算出することを特徴とする請求項1に記載の情報入力装置。
Comprising second acquisition means for acquiring individual information capable of specifying the writing instrument;
The information input apparatus according to claim 1, wherein the second calculation unit calculates the ink consumption amount corresponding to the individual information acquired by the second acquisition unit.
前記第二算出手段によって算出された前記インク消費量に基づき、前記筆記具に現在搭載されている前記インクの量であるインク残量に関する報知を行う報知手段を備えたことを特徴とする請求項1または2に記載の情報入力装置。   2. An informing means for informing about an ink remaining amount which is an amount of the ink currently mounted on the writing instrument based on the ink consumption calculated by the second calculating means. Or the information input device of 2. 前記第二算出手段によって算出された前記インク消費量に基づき、所定条件を満たしているか判断する判断手段を備え、
前記報知手段は、前記判断手段によって前記所定条件を満たしていると判断された場合に、前記インク残量に関する報知を行うことを特徴とする請求項3に記載の情報入力装置。
Determination means for determining whether a predetermined condition is satisfied based on the ink consumption calculated by the second calculation means;
The information input device according to claim 3, wherein the notification unit notifies the remaining amount of ink when the determination unit determines that the predetermined condition is satisfied.
発光可能な発光部を備え、
前記報知手段は、前記発光部を発光させることによって、前記インク残量に関する報知を行うことを特徴とする請求項3または4に記載の情報入力装置。
It has a light emitting part that can emit light,
5. The information input device according to claim 3, wherein the notification unit notifies the remaining amount of ink by causing the light emitting unit to emit light.
外部の電子機器と通信可能な通信手段を備え、
前記報知手段は、前記通信手段を介して前記外部の電子機器に対して、前記インク残量に関する報知を実行させる指示を送信することを特徴とする請求項3から5のいずれかに記載の情報入力装置。
With communication means capable of communicating with external electronic devices,
6. The information according to claim 3, wherein the notification unit transmits an instruction to execute a notification regarding the remaining amount of ink to the external electronic device via the communication unit. Input device.
前記指示は、前記外部の電子機器に所定画像を表示させる指示であることを特徴とする請求項6に記載の情報入力装置。   The information input device according to claim 6, wherein the instruction is an instruction to display a predetermined image on the external electronic device. 前記第一取得手段によって取得された前記筆記具の位置に基づき、前記筆記具によって前記記録媒体に筆記された前記線画に対応するデータであり、かつ、第一色で表示される線画データを生成する生成手段と、
前記生成手段によって生成された前記線画データを、前記通信手段を介して前記外部の電子機器に送信する送信手段と
を備え、
前記指示は、前記送信手段によって送信された前記線画データを、前記第一色に代えて前記第一色とは異なる第二色で表示させる指示であることを特徴とする請求項6または7に記載の情報入力装置。
Generation for generating line drawing data that is data corresponding to the line drawing written on the recording medium by the writing tool and displayed in the first color based on the position of the writing tool acquired by the first acquisition means Means,
Transmitting means for transmitting the line drawing data generated by the generating means to the external electronic device via the communication means;
8. The instruction according to claim 6, wherein the instruction is an instruction to display the line drawing data transmitted by the transmission unit in a second color different from the first color instead of the first color. The information input device described.
インクによって記録媒体に線画を筆記可能な筆記具の位置を検出可能な検出手段を備えた情報入力装置のコンピュータに、
前記検出手段によって検出された前記筆記具の位置を取得する第一取得ステップと、
前記第一取得ステップによって取得された前記筆記具の位置である第一位置と、前記第一位置が取得されてから所定時間の経過後に前記第一取得ステップによって取得された前記筆記具の位置である第二位置とに基づき、前記筆記具によって前記第一位置から前記第二位置まで線画が筆記された距離である筆記距離を算出する第一算出ステップと、
前記第一算出ステップによって算出された前記筆記距離と、前記筆記具によって前記所定時間で所定距離の線画が筆記されたときに消費される前記インクの量として予め定められた基準消費量とに基づき、前記第一位置から前記第二位置まで線画を筆記するのに消費された前記インクの量であるインク消費量を算出する第二算出ステップと
を実行させるプログラム。
In the computer of the information input device provided with the detecting means capable of detecting the position of the writing tool capable of writing a line drawing on the recording medium with ink,
A first acquisition step of acquiring the position of the writing instrument detected by the detection means;
The first position, which is the position of the writing instrument acquired by the first acquisition step, and the position of the writing instrument acquired by the first acquisition step after elapse of a predetermined time after the first position is acquired. Based on two positions, a first calculation step of calculating a writing distance, which is a distance at which a line drawing is written from the first position to the second position by the writing tool;
Based on the writing distance calculated by the first calculating step and a reference consumption amount that is predetermined as the amount of the ink that is consumed when the line drawing of the predetermined distance is written by the writing tool at the predetermined time, A second calculation step of calculating an ink consumption amount that is an amount of the ink consumed for writing a line drawing from the first position to the second position.
JP2015090302A 2015-04-27 2015-04-27 Information input device and program Pending JP2016207067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015090302A JP2016207067A (en) 2015-04-27 2015-04-27 Information input device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015090302A JP2016207067A (en) 2015-04-27 2015-04-27 Information input device and program

Publications (1)

Publication Number Publication Date
JP2016207067A true JP2016207067A (en) 2016-12-08

Family

ID=57489976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015090302A Pending JP2016207067A (en) 2015-04-27 2015-04-27 Information input device and program

Country Status (1)

Country Link
JP (1) JP2016207067A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112513868A (en) * 2018-05-25 2021-03-16 深圳市柔宇科技股份有限公司 Data processing method, handwriting pen and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112513868A (en) * 2018-05-25 2021-03-16 深圳市柔宇科技股份有限公司 Data processing method, handwriting pen and storage medium

Similar Documents

Publication Publication Date Title
US10963115B2 (en) Position indicator and writing information processing apparatus
US9195326B2 (en) Input apparatus
US10409415B2 (en) Information input device
JP6424506B2 (en) Data processing apparatus and data processing program
JP2015109053A (en) Written data processing system
JP6331816B2 (en) Information input device, control method, and control program
JP2016207067A (en) Information input device and program
JP6171676B2 (en) Input device
WO2016158023A1 (en) Information input device, and control program
JP6123597B2 (en) Written data processing device
CN109313513A (en) Writing pencil
JP6380205B2 (en) Information input device and control program
JP6160400B2 (en) Input device
JP2015114751A (en) Writing data processor
JP2015194920A (en) Write data processor and paper medium
JP2017068707A (en) Writing data processing program, writing data processor and writing data processing system
JP6268056B2 (en) WRITING DATA PROCESSING PROGRAM AND WRITING DATA PROCESSING DEVICE
JP2015111366A (en) Information input device and information input program
US9513800B2 (en) Information processing apparatus and medium for correcting the start and end time data based on handwriting user input
JP2015141481A (en) Writing data processing device
JP2015109052A (en) Written data processing system
JP2016218970A (en) Information input device
JP2017174149A (en) Writing data processing program, writing data processing method, and writing data processing system
JP2015056052A (en) Handwritten data processing apparatus
JP2015215823A (en) Writing data processor