[go: up one dir, main page]

JP2012014411A - Electric writing device - Google Patents

Electric writing device Download PDF

Info

Publication number
JP2012014411A
JP2012014411A JP2010150004A JP2010150004A JP2012014411A JP 2012014411 A JP2012014411 A JP 2012014411A JP 2010150004 A JP2010150004 A JP 2010150004A JP 2010150004 A JP2010150004 A JP 2010150004A JP 2012014411 A JP2012014411 A JP 2012014411A
Authority
JP
Japan
Prior art keywords
writing
writing direction
calculated
stroke data
coil
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
JP2010150004A
Other languages
Japanese (ja)
Inventor
Kenichi Murakami
健一 村上
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 JP2010150004A priority Critical patent/JP2012014411A/en
Publication of JP2012014411A publication Critical patent/JP2012014411A/en
Pending legal-status Critical Current

Links

Images

Abstract

【課題】表紙と背表紙とがほぼ近接した裏返し状態で被筆記体が使用される場合であっても、正しいストロークデータを確実に生成する。
【解決手段】折り曲げ部10Tを備えたシート体10、電子ペン2、及び、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnを有し、電子ペン2による筆記方向に関する設定入力を行い、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき算出された座標データを用いて、電子ペン2がノート30に記載した文字列に対応したストロークデータを生成し、生成されたストロークデータの時系列変化に基づき算出された算出筆記方向と、設定された設定筆記方向とが、一致するか否かを判定し、算出筆記方向と設定筆記方向とが一致すると判定された場合、算出筆記方向に対応したストロークデータを保存する。
【選択図】図9
Correct stroke data is reliably generated even when a writing material is used in an inverted state in which a cover and a spine are almost close to each other.
SOLUTION: A sheet body 10 having a bent portion 10T, an electronic pen 2, and sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, RY1 to RYn, and a setting input relating to a writing direction by the electronic pen 2. The electronic pen 2 corresponds to the character string described in the note 30 using the coordinate data calculated based on the magnetic field reception results of the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, RY1 to RYn. Generated stroke data, and determines whether or not the calculated writing direction calculated based on the time-series change of the generated stroke data matches the set writing direction, and the calculated writing direction and the setting writing direction are determined. If it is determined that the direction matches, the stroke data corresponding to the calculated writing direction is stored.
[Selection] Figure 9

Description

本発明は、使用者の手書きによる筆記内容に対応したデータを入力可能な電子筆記装置に関する。   The present invention relates to an electronic writing apparatus capable of inputting data corresponding to a user's handwritten writing content.

従来、使用者の手書きによる筆記内容に対応したデータを入力可能な技術が、例えば特許文献1に開示されている。   Conventionally, for example, Patent Literature 1 discloses a technique capable of inputting data corresponding to user-written handwritten content.

この従来技術のタブレットには、ループコイル群が設けられている。このループコイル群により位置指示器の位置検出エリアが構成されている。電子筆記具としての位置指示器がタブレット上の位置検出エリア内に置かれていると、タブレットのCPUは、送受信動作をループコイル群の中から位置指示器が置かれている近傍の複数本のループコイルについて行い、検出されたこれらの信号レベル分布より、位置指示器の位置情報である指示位置の座標値を求める。   This prior art tablet is provided with a loop coil group. The loop coil group constitutes a position detection area of the position indicator. When the position indicator as an electronic writing instrument is placed in the position detection area on the tablet, the CPU of the tablet performs a transmission / reception operation in a plurality of loops in the vicinity where the position indicator is placed from the loop coil group. The coordinate value of the indicated position, which is the position information of the position indicator, is obtained from these detected signal level distributions.

特開2009−69898号公報JP 2009-69898 A

ところで、折り曲げ可能な折り曲げ部を備え、略ノート形状の被筆記体を覆うように所定の方向に見開き可能な形状に構成されたシート体を用いた電子筆記装置においては、上記略ノート形状の被筆記体に対し、使用者は、通常の見開き状態よりもさらに上記所定の方向に開いていき、表紙と裏表紙とがほぼ近接した裏返し状態として使用する場合があり得る。   By the way, in the electronic writing apparatus using a sheet body that is provided with a foldable folding part and is configured to be spread in a predetermined direction so as to cover the substantially notebook-shaped writing object, the above-described substantially notebook-shaped object is provided. The user may open the cursive body in the predetermined direction further than the normal spread state, and may be used as an inverted state in which the front cover and the back cover are substantially close to each other.

この裏返し状態では、上記シート体のうち、上記折り曲げ部を挟んで上記所定の方向の一方側の領域と他方側の領域とは、裏側同士を背中合わせにする形で、比較的近い距離に位置することとなる。そのため、使用者が被筆記体の上記一方側の領域に対して筆記動作を行ったとき、上記従来技術のようにコイルの信号の受信結果に基づき電子筆記具の位置情報を取得し、使用者が筆記した文字列に対応したストロークデータを生成すると、上記一方側の領域に備えられるコイルのみならず、反対側である上記他方側の領域に備えられるコイルが信号を受信するおそれがあり、誤って当該他方側の領域のコイルの信号の受信結果に対応してストロークデータが生成される場合がある。この場合には、当該ストロークデータに基づく文字列データは、本来使用者が筆記した文字列の鏡像文字のデータとなるおそれがある。以上のように、表紙と背表紙とがほぼ近接した裏返し状態で被筆記体が使用される場合には、正しいストロークデータを生成することができないおそれがあった。   In this inverted state, the one side region and the other side region in the predetermined direction across the bent portion of the sheet body are located at a relatively close distance so that the back sides are back to back. It will be. Therefore, when the user performs a writing operation on the one side area of the writing object, the position information of the electronic writing instrument is acquired based on the reception result of the coil signal as in the above-described conventional technique, and the user When the stroke data corresponding to the written character string is generated, not only the coil provided in the one side region but also the coil provided in the other side region on the opposite side may receive a signal, Stroke data may be generated corresponding to the reception result of the coil signal in the other region. In this case, the character string data based on the stroke data may be mirror image character data of the character string originally written by the user. As described above, there is a possibility that correct stroke data cannot be generated when the writing body is used with the front cover and the spine cover turned upside down.

本発明の目的は、表紙と背表紙とがほぼ近接した裏返し状態で被筆記体が使用される場合であっても、正しいストロークデータを確実に生成することができる電子筆記装置を提供することにある。   An object of the present invention is to provide an electronic writing apparatus capable of reliably generating correct stroke data even when a writing object is used in an inverted state in which a cover and a back cover are in close proximity. is there.

上記目的を達成するために、第1の発明は、略ノート形状の被筆記体を覆うように所定の第1方向に見開き可能な形状に構成されるとともに、前記第1方向の中央部に位置し前記第1方向と直交する第2方向に沿った折り曲げ中心線を有する折り曲げ部、を備えたシート体と、前記被筆記体への筆記内容に対応したデータ入力を行うための、位置検出用の筆記信号を生成して送信する電子筆記具と、前記電子筆記具による筆記方向に関する設定入力を行うための筆記方向設定手段と、前記電子筆記具から送信された前記筆記信号を受信可能な複数のコイルと、前記複数のコイルでの所定値以上の前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得する位置取得手段と、前記位置取得手段で取得された前記位置情報を用いて、前記電子筆記具による前記被筆記体への記載に対応したストロークデータを生成するストロークデータ生成手段と、前記ストロークデータ生成手段により生成された前記ストロークデータの時系列変化に基づき、前記電子筆記具による筆記方向を算出する筆記方向算出手段と、前記筆記方向算出手段により算出された算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定する筆記方向判定手段と、前記筆記方向判定手段により、前記算出筆記方向と前記設定筆記方向とが一致すると判定された場合、前記算出筆記方向に対応したストロークデータを蓄積する、データ記憶手段とを有することを特徴とする。   In order to achieve the above object, the first invention is configured in a shape that can be spread in a predetermined first direction so as to cover a substantially notebook-shaped writing body, and is positioned at a central portion in the first direction. And a sheet body having a folding portion having a folding center line along a second direction orthogonal to the first direction, and for position detection for performing data input corresponding to the writing content to the writing body. An electronic writing instrument for generating and transmitting a writing signal, a writing direction setting means for performing setting input relating to a writing direction by the electronic writing instrument, and a plurality of coils capable of receiving the writing signal transmitted from the electronic writing instrument, The position acquisition means for acquiring the position information of the electronic writing instrument based on the reception result of the writing signal equal to or greater than a predetermined value in the plurality of coils, and the position information acquired by the position acquisition means, Stroke data generation means for generating stroke data corresponding to the writing on the writing object by the electronic writing instrument, and the writing direction by the electronic writing instrument based on the time series change of the stroke data generated by the stroke data generation means Writing direction calculation means for calculating the writing direction, writing direction determination means for determining whether or not the calculated writing direction calculated by the writing direction calculation means matches the set writing direction set by the writing direction setting means And a data storage means for accumulating stroke data corresponding to the calculated writing direction when it is determined by the writing direction determining means that the calculated writing direction matches the set writing direction. To do.

本願第1発明においては、電子筆記具から送信される筆記信号が複数のコイルで受信され、その受信結果に基づき位置取得手段が電子筆記具の位置情報を取得する。使用者が電子筆記具を用いて被筆記体に対し所望の文字の筆記を行うと、その使用者の筆記動作により電子筆記具の位置が変化し、その変化に応じた電子筆記具の位置情報が位置取得手段により取得される。ストロークデータ生成手段は、取得された位置情報を用いて、ストロークデータを生成する。これにより、使用者が被筆記体に記載した文字列に対応したストロークデータが生成される。   In the first invention of this application, the writing signal transmitted from the electronic writing instrument is received by the plurality of coils, and the position acquisition means acquires the position information of the electronic writing instrument based on the reception result. When the user writes a desired character on the writing object using the electronic writing instrument, the position of the electronic writing instrument changes due to the user's writing operation, and the position information of the electronic writing instrument corresponding to the change is acquired. Obtained by means. The stroke data generation means generates stroke data using the acquired position information. Thereby, the stroke data corresponding to the character string described by the user in the script is generated.

ここで、本願第1発明の対象となる被筆記体は略ノート形状となっており、これに対応して被筆記体を覆うシート体は、折り曲げ部を備え第1方向に見開き可能な形状となっている。このような被筆記体に対し、使用者は、通常の見開き状態よりもさらに第1方向に開いていき、表紙と背表紙とがほぼ近接した裏返し状態として使用する場合があり得る。この裏返し状態では、シート体のうち、折り曲げ部を挟んで第1方向一方側の領域と第1方向他方側の領域とは、裏側同士を背中合わせにする形で、比較的近い距離に位置することとなる。そのため、使用者が上記一方側領域に対して筆記動作を行ったとき、当該シート体の一方側領域に備えられるコイルのみならず、反対側である上記他方側領域に備えられるコイルが所定値以上のレベルの筆記信号を受信するおそれがある。この場合に、例えば、誤って当該他方側領域のコイルの筆記信号の受信結果に対応したストロークデータにより文字列データが作成されると、当該文字列データは、本来使用者が筆記した文字列の鏡像文字のデータとなるおそれがある。   Here, the writing object which is the object of the first invention of the present application has a substantially notebook shape, and the sheet body covering the writing object correspondingly has a bent portion and a shape that can be spread in the first direction. It has become. With respect to such a writing object, the user may use it in a reversed state in which the cover and spine cover are almost close to each other by opening further in the first direction than the normal spread state. In this inverted state, in the sheet body, the region on one side in the first direction and the region on the other side in the first direction across the bent portion are positioned at a relatively close distance so that the back sides are back to back. It becomes. Therefore, when the user performs a writing operation on the one side region, not only the coil provided in the one side region of the sheet body but also the coil provided in the other side region on the opposite side is a predetermined value or more. There is a risk of receiving a writing signal of a level of. In this case, for example, when the character string data is erroneously created by the stroke data corresponding to the reception result of the writing signal of the coil on the other side region, the character string data is the character string originally written by the user. There is a risk of mirror image character data.

そこで本願第1発明においては、筆記方向設定手段を設け、使用者が、当該筆記方向設定手段を用いて、電子筆記具による筆記方向に関する設定入力を行う。上記のようにしてコイルの筆記信号の受信結果に基づくストロークデータがストロークデータ生成手段によって順次生成されたら、そのストロークデータの時系列変化に基づき、筆記方向算出手段が電子筆記具の筆記方向を算出する。そして、筆記方向判定手段が、上記のようにして算出された算出筆記方向と、上述のようにして設定入力された設定筆記方向とが一致するか否かを判定する。   Therefore, in the first invention of the present application, a writing direction setting means is provided, and the user uses the writing direction setting means to perform setting input related to the writing direction using the electronic writing instrument. When the stroke data based on the reception result of the coil writing signal is sequentially generated by the stroke data generating means as described above, the writing direction calculating means calculates the writing direction of the electronic writing instrument based on the time series change of the stroke data. . Then, the writing direction determination means determines whether or not the calculated writing direction calculated as described above matches the set writing direction set and input as described above.

算出筆記方向と設定筆記方向とが一致しないと判定された場合には、本来の側とは反対側のコイルにおける受信結果に基づき、誤ったストロークデータが生成されたことになる。一方、算出筆記方向と設定筆記方向とが一致すると判定された場合には、本来の側のコイルにおける受信結果に基づき、正しいストロークデータが生成されたことになる。したがって、データ記憶手段が、このときのストロークデータを蓄積する。   If it is determined that the calculated writing direction and the set writing direction do not match, incorrect stroke data is generated based on the reception result in the coil on the opposite side to the original side. On the other hand, when it is determined that the calculated writing direction matches the set writing direction, correct stroke data is generated based on the reception result in the original coil. Therefore, the data storage means stores the stroke data at this time.

以上のように、本願第1発明においては、表紙と背表紙とがほぼ近接した裏返し状態で被筆記体が使用される場合であっても、正しいストロークデータを確実に生成することができる。   As described above, in the first invention of the present application, correct stroke data can be reliably generated even when the writing body is used with the front cover and the spine cover turned upside down substantially in close proximity.

第2の発明は、上記第1発明において、前記シート体は、前記第1方向に沿って前記折り曲げ部の一方側に設けられた第1シート部と、前記第1方向に沿って前記折り曲げ部の他方側に設けられた第2シート部と、を備え、前記複数のコイルは、前記第1シート部に設けられた第1コイルと、前記第2シート部に設けられた第2コイルとを含み、前記位置取得手段は、前記第1コイル及び前記第2コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報をそれぞれ取得し、前記ストロークデータ生成手段は、前記第1コイル及び前記第2コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報をそれぞれ用いて、前記第1コイルに対応した第1ストロークデータと前記第2コイルに対応した第2ストロークデータとを生成し、前記筆記方向算出手段は、前記ストロークデータ生成手段により生成された前記第1ストロークデータ及び前記第2ストロークデータにそれぞれ対応した第1算出筆記方向及び第2算出筆記方向を算出し、前記筆記方向判定手段は、前記筆記方向算出手段により算出された前記第1算出筆記方向及び前記第2算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かをそれぞれ判定し、前記データ記憶手段は、前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを蓄積し、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを蓄積し、かつ、前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを消去処理するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを消去処理する、データ消去手段を設けたことを特徴とする。   According to a second invention, in the first invention, the sheet body includes a first sheet portion provided on one side of the bent portion along the first direction, and the bent portion along the first direction. A second sheet part provided on the other side of the first sheet part, wherein the plurality of coils include a first coil provided on the first sheet part and a second coil provided on the second sheet part. The position acquisition means acquires position information of the electronic writing instrument based on the reception result of the writing signal at the first coil and the second coil, and the stroke data generation means includes the first coil. And the first stroke data corresponding to the first coil and the second stroke corresponding to the second coil using the position information acquired by the position acquisition means based on the reception of the writing signal by the second coil. 2 And the writing direction calculation means generates a first calculation writing direction and a second calculation writing direction respectively corresponding to the first stroke data and the second stroke data generated by the stroke data generation means. The writing direction determination means calculates and the first calculated writing direction and the second calculated writing direction calculated by the writing direction calculation means match the set writing direction set by the writing direction setting means. Each of the data storage means accumulates the first stroke data when the writing direction determination means determines that the first calculated writing direction matches the set writing direction; When the writing direction determination means determines that the second calculated writing direction matches the set writing direction, the second stroke data And when the writing direction determination means determines that the first calculated writing direction matches the set writing direction, the second stroke data is erased, and the writing direction determination means A data erasure unit is provided for erasing the first stroke data when it is determined that the second calculated writing direction coincides with the set writing direction.

本願第2発明に備えられたシート体は、第1シート部、折り曲げ部、第2シート部を備えている。被筆記体が裏返し状態として使用される場合、第1シート部と第2シート部とが近接する。このため、例えば本来第1シート部の第1コイルで受信されるべき信号が第2シート部の第2コイルで受信されたり、第2コイルで受信されるべき信号が第1コイルで受信されるおそれがある。   The sheet body provided in the second invention of the present application includes a first sheet portion, a bent portion, and a second sheet portion. When the writing object is used in an inverted state, the first sheet portion and the second sheet portion are close to each other. For this reason, for example, a signal that should originally be received by the first coil of the first sheet portion is received by the second coil of the second sheet portion, or a signal that should be received by the second coil is received by the first coil. There is a fear.

本願第2発明においては、上記に対応し、第1コイル及び第2コイルでの受信結果に対応してそれぞれ生成された第1ストロークデータ及び第2ストロークデータのうち、算出筆記方向が設定筆記方向と一致したストロークデータを、データ記憶手段が記憶する。第1ストロークデータ及び第2ストロークデータのうち、算出筆記方向が設定筆記方向と一致しないストロークデータを、データ消去手段が消去処理する。   In the second invention of the present application, the calculated writing direction is the set writing direction out of the first stroke data and the second stroke data generated in response to the reception results of the first coil and the second coil, respectively. The data storage means stores the stroke data that coincides with. Of the first stroke data and the second stroke data, the data erasing means erases the stroke data whose calculated writing direction does not match the set writing direction.

このように、本願第2発明においては、正しいストロークデータと誤ったストロークデータとの両方を生成した後、誤ったストロークデータを消去する。これにより、正しいストロークデータを確実に生成することができる。また、誤ったストロークデータを修正して用いる場合に比べ、信頼性の高い処理を行うことができる。   As described above, in the second invention of the present application, after generating both correct stroke data and incorrect stroke data, the incorrect stroke data is deleted. Thereby, correct stroke data can be generated reliably. In addition, it is possible to perform highly reliable processing as compared to the case where erroneous stroke data is corrected and used.

第3の発明は、上記第1発明において、前記シート体は、前記第1方向に沿って前記折り曲げ部の一方側に設けられた第1シート部と、前記第1方向に沿って前記折り曲げ部の他方側に設けられた第2シート部と、を備え、前記複数のコイルは、前記第1シート部に設けられた第1コイルと、前記第2シート部に設けられた第2コイルとを含み、前記位置取得手段は、前記第1コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得するか、若しくは、前記第2コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得し、前記ストロークデータ生成手段は、前記第1コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報を用いて、前記第1コイルに対応した第1ストロークデータを生成するか、若しくは、前記第2コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報を用いて、前記第2コイルに対応した第2ストロークデータを生成し、前記筆記方向算出手段は、前記ストロークデータ生成手段により生成された前記第1ストロークデータに対応した第1算出筆記方向を算出するか、若しくは、前記ストロークデータ生成手段により生成された前記第2ストロークデータに対応した第2算出筆記方向を算出し、前記筆記方向判定手段は、前記筆記方向算出手段により算出された前記第1算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定するか、若しくは、前記筆記方向算出手段により算出された前記第2算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定し、かつ、前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記第1ストロークデータを前記第1算出筆記方向のうち前記第1方向に係わる前記第1算出筆記方向に沿って反転する鏡像変換処理を行うとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記第2ストロークデータを前記第2算出筆記方向のうち前記第1方向に係わる前記第2算出筆記方向に沿って反転する鏡像変換処理を行う、変換手段を設け、前記データ記憶手段は、前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを蓄積するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを蓄積し、前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記変換手段による鏡像変換処理後の前記第1ストロークデータを蓄積するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記変換手段による鏡像変換処理後の前記第2ストロークデータを蓄積することを特徴とする。   According to a third invention, in the first invention, the sheet body includes a first sheet portion provided on one side of the bent portion along the first direction, and the bent portion along the first direction. A second sheet part provided on the other side of the first sheet part, wherein the plurality of coils include a first coil provided on the first sheet part and a second coil provided on the second sheet part. The position acquisition means acquires position information of the electronic writing instrument based on the reception result of the writing signal in the first coil, or based on the reception result of the writing signal in the second coil. The position information of the electronic writing instrument is acquired, and the stroke data generation means uses the position information acquired by the position acquisition means based on the reception of the writing signal by the first coil, and the first coil The first corresponding to Generate troke data, or generate second stroke data corresponding to the second coil using the position information acquired by the position acquisition means based on reception of the writing signal at the second coil The writing direction calculation means calculates a first calculated writing direction corresponding to the first stroke data generated by the stroke data generation means, or the second direction generated by the stroke data generation means. A second calculated writing direction corresponding to the stroke data is calculated, and the writing direction determining means is the first calculated writing direction calculated by the writing direction calculating means and the setting writing direction set by the writing direction setting means. Or the second calculated writing direction calculated by the writing direction calculation means It is determined whether or not the set writing direction set by the writing direction setting means matches, and the writing direction determining means determines that the first calculated writing direction does not match the set writing direction. The first stroke data is subjected to mirror image conversion processing for inverting the first calculated writing direction along the first calculated writing direction in relation to the first direction, and the writing direction determining means performs the second When it is determined that the calculated writing direction does not match the set writing direction, the second stroke data is mirror-image-transformed so as to be reversed along the second calculated writing direction related to the first direction among the second calculated writing directions. When the conversion means is provided for performing processing, and the data storage means determines that the first calculated writing direction matches the set writing direction by the writing direction determination means The first stroke data is accumulated, and when the writing direction determination means determines that the second calculated writing direction matches the set writing direction, the second stroke data is stored, and the writing direction determination means When it is determined that the first calculated writing direction does not match the set writing direction, the first stroke data after the mirror image conversion process by the converting unit is accumulated, and the second calculation is performed by the writing direction determining unit. When it is determined that the writing direction does not coincide with the set writing direction, the second stroke data after mirror image conversion processing by the converting means is stored.

前述したように、第1コイルでの受信結果に対応して生成された設定筆記方向と一致しない第1ストロークデータ、若しくは、第2コイルでの受信結果に対応して生成された設定筆記方向と一致しない第2ストロークデータは、本来使用者が筆記した文字列の鏡像文字のデータとなっている。本願第3発明は、上記に対応し、変換手段が、算出筆記方向が設定筆記方向と一致しないストロークデータを、鏡像変換処理する。これにより、誤ったストロークデータを削除せず正しく修正する形で、正しいストロークデータを確実に生成することができる。   As described above, the first stroke data not corresponding to the setting writing direction generated corresponding to the reception result in the first coil, or the setting writing direction generated corresponding to the reception result in the second coil The second stroke data that does not match is mirror image character data of a character string originally written by the user. The third invention of the present application corresponds to the above, and the conversion means performs a mirror image conversion process on the stroke data whose calculated writing direction does not coincide with the set writing direction. Thus, correct stroke data can be reliably generated in the form of correct correction without deleting erroneous stroke data.

第4の発明は、上記第1又は第2発明において、前記筆記方向判定手段は、前記筆記方向算出手段により算出された前記算出筆記方向のうち前記第1方向に係わる前記算出筆記方向と、前記設定筆記方向とが、一致するか否かを判定することを特徴とする。   According to a fourth aspect of the present invention, in the first or second aspect of the invention, the writing direction determining means includes the calculated writing direction related to the first direction among the calculated writing directions calculated by the writing direction calculating means, It is characterized by determining whether a setting writing direction corresponds.

前述したように、誤った文字列生成が行われうるのは、表紙と背表紙とが折り曲げ線を介した裏返し状態で近接していることが原因である。この場合、電子筆記具及び第1コイル間の距離と、電子筆記具及び第2コイル間の距離との違いが少なく、使用者が筆記している被筆記体の領域に対応したコイルが、第1コイル及び第2コイルのいずれであるのかわからない。   As described above, the generation of an erroneous character string can be caused by the fact that the front cover and the back cover are close to each other through the folding line. In this case, the difference between the distance between the electronic writing instrument and the first coil and the distance between the electronic writing instrument and the second coil is small, and the coil corresponding to the area of the writing object being written by the user is the first coil. And I do not know which is the second coil.

ここで、第1方向に沿って第1シート部、折り曲げ部、第2シート部の順で配列された見開き可能な形状の場合、第1シート部と第2シート部とは、折り曲げ部の折り曲げ線に関して、線対称な位置関係となる。したがって、使用者の筆記動作に基づき筆記方向算出手段により算出される筆記方向のうち、折り曲げ線の方向すなわち第1方向と直交する方向に係わる筆記方向は、第1コイルの受信結果に基づき算出される場合でも第2コイルの受信結果に基づき算出される場合でも同じ方向となる。これに対して、筆記方向算出手段により算出される算出筆記方向のうち、折り曲げ線に直交する方向すなわち第1方向に係わる算出筆記方向は、第1コイルの受信結果に基づき算出される場合と第2コイルの受信結果に基づき算出される場合とで、互いに逆方向となる。   Here, in the case where the first sheet portion, the bent portion, and the second sheet portion are arranged in the order of the first sheet portion, the bent portion, and the second sheet portion, the first sheet portion and the second sheet portion are bent at the bent portion. With respect to the line, the positional relationship is axisymmetric. Therefore, among the writing directions calculated by the writing direction calculation means based on the writing operation of the user, the writing direction related to the direction of the folding line, that is, the direction orthogonal to the first direction is calculated based on the reception result of the first coil. The same direction is obtained even when calculated based on the reception result of the second coil. On the other hand, among the calculated writing directions calculated by the writing direction calculating means, the direction perpendicular to the folding line, that is, the calculated writing direction related to the first direction is calculated based on the reception result of the first coil. When calculated based on the reception result of two coils, the directions are opposite to each other.

そこで本願第4発明においては、筆記方向判定手段は、上記第1方向における算出筆記方向と、設定筆記方向とが一致するか否かを判定する。これにより、正しい文字列の生成に係わるコイルがいずれのコイルであるのかを、確実に識別することができる。   Therefore, in the fourth invention of the present application, the writing direction determination means determines whether or not the calculated writing direction in the first direction matches the set writing direction. As a result, it is possible to reliably identify which coil is related to generation of a correct character string.

第5の発明は、上記第4発明において、前記ストロークデータ生成手段により生成される前記ストロークデータに対し、ページ番号を付与するページ付与手段と、前記筆記方向算出手段により算出された、前記第1方向に係わる前記筆記方向が変化したか否かを判定する筆記変化判定手段と、前記筆記変化判定手段により前記第1方向に係わる筆記方向が変化したと判定された場合、前記付与されるページ番号を切り替えるように、前記ページ付与手段を制御する、ページ切替手段と、を有することを特徴とする。   According to a fifth invention, in the fourth invention, the page assigning means for assigning a page number to the stroke data generated by the stroke data generating means, and the first direction calculated by the writing direction calculating means. A writing change determining means for determining whether or not the writing direction related to the direction has changed, and the page number to be given when the writing change determining means determines that the writing direction related to the first direction has changed. And a page switching means for controlling the page giving means so as to switch the page.

使用者が被筆記体に対し文字列の筆記を行う際には、例えば、略ノート形状の見開きの一方側のページにおいて文字列を記載していき、当該ページが文字列で埋まり記載箇所がなくなった場合には、他方側のページに文字列を新たに記載していくのが通常である。したがって、ストロークデータ生成手段により順次生成されデータ記憶手段に蓄積されるストロークデータも、上記被筆記体と同様に、ページごとに整理可能な態様とすると使用者にとって便利である。   When a user writes a character string on a script, for example, the character string is described on one side of a substantially notebook spread, the page is filled with the character string, and there is no description portion. In such a case, it is normal to newly write a character string on the other page. Therefore, it is convenient for the user that the stroke data sequentially generated by the stroke data generation means and stored in the data storage means can be arranged for each page, as in the case of the above-described writing body.

本願第5発明では、上記に対応してページ付与手段が設けられており、このページ付与手段がストロークデータに対しページ番号を付与する。ここで、使用者が上記裏返し状態として使用しつつ実際の筆記が1つのページから次のページに移った場合、ストロークデータの上記第1方向に係わる筆記方向は、当該ページ以降時に逆方向に切り替わる。そこで、本願第5発明では、このような挙動に対応し、筆記方向算出手段により算出された第1方向に係わる筆記方向が変化したか否かを筆記変化判定手段が判定する。第1方向に係わる筆記方向が変化したと判定された場合には、上記のような実際の筆記におけるページ移行が行われたとみなし、ページ切替手段がページ付与手段を制御する。これにより、ストロークデータに付与するページ番号が切り替えられる。   In the fifth invention of the present application, page assigning means is provided corresponding to the above, and this page assigning means assigns a page number to the stroke data. Here, when an actual writing moves from one page to the next page while being used as the flipped state, the writing direction related to the first direction of the stroke data is switched to the reverse direction after the page. . Therefore, in the fifth invention of this application, the writing change determination means determines whether or not the writing direction related to the first direction calculated by the writing direction calculation means has changed in response to such a behavior. When it is determined that the writing direction related to the first direction has changed, it is considered that the page transition in the actual writing as described above has been performed, and the page switching unit controls the page providing unit. As a result, the page number assigned to the stroke data is switched.

以上のようにして、本願第5発明においては、筆記動作に伴うストロークデータの変化挙動を利用し、ストロークデータに付与されるページ番号を自動的に切り替えることができる。   As described above, in the fifth invention of the present application, the page number given to the stroke data can be automatically switched using the change behavior of the stroke data accompanying the writing operation.

第6の発明は、上記第5発明において、前記ページ切替手段により前記ページ番号の切り替えの制御が行われたとき、前記筆記方向算出手段は、当該筆記方向が変化する前までの前記ストロークデータについて、前記筆記方向の算出を行い、前記筆記方向判定手段は、前記筆記方向算出手段により算出された、当該筆記方向が変化する前までの前記ストロークデータの算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定し、前記データ記憶手段は、前記筆記方向判定手段により、前記算出筆記方向と前記設定筆記方向とが一致すると判定された場合、前記算出筆記方向に対応した、前記筆記方向が変化する前までのストロークデータを蓄積することを特徴とする。   In a sixth aspect based on the fifth aspect, when the page switching unit is controlled by the page switching unit, the writing direction calculating unit is configured to determine the stroke data before the writing direction is changed. The writing direction is calculated, and the writing direction determination means is calculated by the writing direction calculation means, the calculated writing direction of the stroke data until the writing direction is changed, and the writing direction setting means. It is determined whether or not the set writing direction that is set matches, and the data storage means, when the writing direction determination means determines that the calculated writing direction and the set writing direction match, Stroke data corresponding to the calculated writing direction is accumulated until the writing direction is changed.

これにより、ストロークデータに付与するページ番号が切り替えられるごと、すなわちいわゆる改ページ動作がされるごとに、正しいストロークデータを生成して蓄積することができる。また、これにより、全ページ分のストロークデータを一度に処理する場合と異なり、あるページと次のページとで筆記方向が異なる場合、すなわち、筆記方向が互いに異なるページが被筆記体中に混在する場合であっても、各ページごとにストロークデータを正しい向きで処理することができる。   Thus, every time the page number assigned to the stroke data is switched, that is, every time a so-called page break operation is performed, correct stroke data can be generated and stored. In addition, by this, unlike the case where stroke data for all pages is processed at once, when the writing direction is different between one page and the next page, that is, pages with different writing directions are mixed in the cursive body. Even in this case, the stroke data can be processed in the correct direction for each page.

第7の発明は、上記第1乃至第6発明のいずれかにおいて、前記ストロークデータ生成手段により生成された前記ストロークデータを、当該ストロークデータに含まれる文字データごとに区別して認識する文字認識手段を有し、前記筆記方向算出手段は、前記文字認識手段により認識される前記文字データの追加挙動に基づき、前記電子筆記具による筆記方向を算出することを特徴とする。   According to a seventh invention, in any one of the first to sixth inventions, the character recognition means for recognizing the stroke data generated by the stroke data generation means for each character data included in the stroke data. And the writing direction calculation means calculates the writing direction by the electronic writing instrument based on the additional behavior of the character data recognized by the character recognition means.

本願第7発明においては、ストロークデータに含まれる文字データを切り出し、新たな文字データがどの向きに追加されていくかを認識することにより、筆記方向を確実に算出することができる。   In the seventh invention of this application, the writing direction can be reliably calculated by cutting out the character data included in the stroke data and recognizing in which direction new character data is added.

本発明によれば、表紙と背表紙とがほぼ近接した裏返し状態で被筆記体が使用される場合であっても、正しいストロークデータを確実に生成することができる。   According to the present invention, it is possible to reliably generate correct stroke data even when the writing body is used in a state in which the front cover and the back cover are almost turned upside down.

本発明の一実施の形態の手書き入力装置の使用時の様子を表す、外観斜視図、概念的平面図、及び概念的側面図である。It is an external appearance perspective view, a conceptual top view, and a conceptual side view showing the mode at the time of use of the handwriting input device of one embodiment of the present invention. 手書き入力装置の機能的構成を表す機能ブロック図である。It is a functional block diagram showing the functional structure of a handwriting input device. 左側コイルシート及び右側コイルシートの内部構成を表す概念的平面図である。It is a notional top view showing internal composition of a left coil sheet and a right coil sheet. 座標検出装置の縦置き状態及び横置き状態を表す概念的平面図である。It is a conceptual top view showing the vertical installation state and horizontal installation state of a coordinate detection apparatus. 縦置きでの右縦書きの筆記方向、及び、縦置きでの左縦書きの筆記方向を説明する説明図である。It is explanatory drawing explaining the writing direction of the right vertical writing in vertical setting, and the writing direction of the left vertical writing in vertical setting. 縦置きでの左横書きの筆記方向、及び、縦置きでの右横書きの筆記方向を説明する説明図である。It is explanatory drawing explaining the writing direction of the left horizontal writing in vertical setting, and the writing direction of the right horizontal writing in vertical setting. 横置きでの右縦書きの筆記方向、及び、横置きでの左縦書きの筆記方向を説明する説明図である。It is explanatory drawing explaining the writing direction of the right vertical writing in landscape orientation, and the writing direction of the left vertical writing in landscape orientation. 横置きでの左横書きの筆記方向、及び、横置きでの右横書きの筆記方向を説明する説明図である。It is explanatory drawing explaining the writing direction of the left horizontal writing in landscape orientation, and the writing direction of the right horizontal writing in landscape orientation. 裏返し状態で使用されるときの、使用態様を表す説明図である。It is explanatory drawing showing a use aspect when used in an inverted state. 裏返し状態で使用されるときの、生成されるストロークデータを表す説明図である。It is explanatory drawing showing the stroke data produced | generated when used in an inverted state. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. コイルシートを用いて電子ペンの座標を検出する原理を説明する説明図及びグラフである。It is explanatory drawing and a graph explaining the principle which detects the coordinate of an electronic pen using a coil sheet. 電子ペンの座標を検出する原理を説明するためのグラフ及びテーブルである。It is the graph and table for demonstrating the principle which detects the coordinate of an electronic pen. 電子ペン2による筆記方向を算出する原理を説明する説明図である。It is explanatory drawing explaining the principle which calculates the writing direction with the electronic pen. 誤ったストロークデータを反転して蓄積する変形例において、座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed in CPU of a coordinate detection apparatus in the modification which reverses and accumulates incorrect stroke data. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. ページ切り替えを自動で行う変形例において、座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed by CPU of a coordinate detection apparatus in the modification which performs a page switching automatically. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus. 座標検出装置のCPUで行われる制御処理の内容を表すフローチャートである。It is a flowchart showing the content of the control processing performed with CPU of a coordinate detection apparatus.

以下、本発明の一実施の形態を図面を参照しつつ説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本実施形態の電子筆記装置である手書き入力装置1は、図1(a)に示すように、電子筆記具である電子ペン2と、座標検出装置3とを有する。手書き入力装置1では、使用者が電子ペン2を持つ。電子ペン2は、筆記具としての機能に加え、入力される位置情報すなわち座標データの入力手段として機能する。   A handwriting input device 1 that is an electronic writing device according to the present embodiment includes an electronic pen 2 that is an electronic writing tool and a coordinate detection device 3 as shown in FIG. In the handwriting input device 1, the user has an electronic pen 2. In addition to the function as a writing instrument, the electronic pen 2 functions as input means for input positional information, that is, coordinate data.

図1(a)、図1(b)、及び図1(c)に示すように、座標検出装置3は、ノート30を略覆うように所定の第1方向(図1(b)中左右方向)に見開き可能な形状に構成されたシート体10を有している。なお、以下の説明においては、上記の見開き形状にシート体10が設置された状態(図1(b)の状態)を基準として、第1方向(図1(b)中左右方向)を第1方向4と定義し、第1方向と直行する第2方向(図1(b)中上下方向)を第2方向5と定義する。   As shown in FIGS. 1 (a), 1 (b), and 1 (c), the coordinate detection device 3 has a predetermined first direction (left and right direction in FIG. 1 (b)) so as to substantially cover the notebook 30. ) Has a sheet body 10 configured to be spreadable. In the following description, the first direction (the left-right direction in FIG. 1B) is the first based on the state in which the sheet body 10 is installed in the above-described spread shape (the state in FIG. 1B). A direction 4 is defined, and a second direction (vertical direction in FIG. 1B) perpendicular to the first direction is defined as a second direction 5.

シート体10は、第1シート部である左側シート部10Lと、第2シート部である右側シート部10Rと、上記第1方向4の中央部に位置する折り曲げ部10Tとを備えている。左側シート部10Lは、上記第1方向4に沿って折り曲げ部10Tの一方側(図1(b)中左側)に設けられ、左側コイルシート100Lを備えている。右側シート部10Rは、上記第1方向4に沿って折り曲げ部10Tの他方側(図1(b)中右側)に設けられ、右側コイルシート100Rを備えている。折り曲げ部10Tは、使用者により折り曲げ可能な部分であり、図1(b)に示すように、上記第2方向5に沿った折り曲げ中心線Tを有している。   The sheet body 10 includes a left sheet portion 10 </ b> L that is a first sheet portion, a right sheet portion 10 </ b> R that is a second sheet portion, and a bent portion 10 </ b> T that is positioned at the central portion in the first direction 4. The left sheet portion 10L is provided on one side (left side in FIG. 1B) of the bent portion 10T along the first direction 4 and includes a left coil sheet 100L. The right sheet portion 10R is provided on the other side (the right side in FIG. 1B) of the bent portion 10T along the first direction 4 and includes a right coil sheet 100R. The bent portion 10T is a portion that can be bent by the user, and has a bent center line T along the second direction 5 as shown in FIG.

そして、略ノート形状の被筆記体である上記第1方向4に見開き可能な形状のノート30が、上記シート体10に重なるように配置されている。なお、上記左側シート部10L及び右側シート部10Rに、図1(a)に示すようなノート保持部11をそれぞれ設けてもよい。これにより、座標検出装置3を容易かつ確実にノート30と一体化することができ、使用者による取り扱い性を向上することができる。   A notebook 30 having a shape that can be spread in the first direction 4, which is a substantially notebook-shaped writing body, is disposed so as to overlap the sheet body 10. Note that a notebook holding section 11 as shown in FIG. 1A may be provided on each of the left sheet section 10L and the right sheet section 10R. Thereby, the coordinate detection apparatus 3 can be integrated with the notebook 30 easily and reliably, and the handleability by the user can be improved.

使用者は、電子ペン2を用いてノート30の左筆記面31Lや右筆記面31Rに手書きの所望の文字列等を筆記する。この筆記動作に対応した電子ペン2の移動により、筆記された文字列等に対応した後述のペン位置データ列Dに基づくストロークデータが電子ファイルに保存される。その際、実際にインクを用いてノート30の左筆記面31Lや右筆記面31R等にページを切り替えながら筆記が行われるのと同様、使用者が図示しないページ切替ボタンを操作することにより、電子ファイルのページを切り替えながら保存することができる(後述)。   The user writes a desired handwritten character string or the like on the left writing surface 31 </ b> L or the right writing surface 31 </ b> R of the notebook 30 using the electronic pen 2. By the movement of the electronic pen 2 corresponding to the writing operation, stroke data based on a pen position data string D described later corresponding to the written character string or the like is stored in the electronic file. At that time, the user operates a page switching button (not shown) by switching the page to the left writing surface 31L, the right writing surface 31R, etc. of the notebook 30 by actually operating the page switching button (not shown). It can be saved while switching the page of the file (described later).

使用者が手書き入力装置1を使用する際には、電子ペン2に備えられた図示しない電源スイッチがオンされる。電子ペン2は、筆記面31への筆記内容に対応したデータ入力を行うための、位置検出用の筆記信号として、この例では所定の周波数の交番磁界を生成して送信する、すなわち発生する。この電子ペン2は、図2に示すように、先端スイッチ42と、LC発振回路41と、電池43とを有する。   When the user uses the handwriting input device 1, a power switch (not shown) provided in the electronic pen 2 is turned on. In this example, the electronic pen 2 generates and transmits an alternating magnetic field having a predetermined frequency as a writing signal for position detection for inputting data corresponding to the writing content on the writing surface 31. As shown in FIG. 2, the electronic pen 2 includes a tip switch 42, an LC oscillation circuit 41, and a battery 43.

先端スイッチ42は、使用者が、電子ペン2を用いて、文字等を筆記するために電子ペン2の先端2aを筆記面31に押しつけたときにオンとなり、LC発振回路41に対して指令信号S0を出力する。一方、先端スイッチ42は、使用者が、文字等の筆記を止め、電子ペン2の先端2aを筆記面31から離したときにオフとなる。この場合には、上記指令信号S0は出力されない。   The tip switch 42 is turned on when the user presses the tip 2 a of the electronic pen 2 against the writing surface 31 to write a character or the like using the electronic pen 2, and sends a command signal to the LC oscillation circuit 41. S0 is output. On the other hand, the tip switch 42 is turned off when the user stops writing of characters or the like and separates the tip 2 a of the electronic pen 2 from the writing surface 31. In this case, the command signal S0 is not output.

LC発振回路41は、先端スイッチ42から上記指令信号S0が入力されることによって、上記所定の周波数の交番磁界(以下適宜、単に「磁界」と称する)を発生する回路である。このLC発振回路41は、図示しないコンデンサ及びコイルを含む。   The LC oscillation circuit 41 is a circuit that generates an alternating magnetic field having the predetermined frequency (hereinafter, simply referred to as “magnetic field” as appropriate) when the command signal S0 is input from the front end switch. The LC oscillation circuit 41 includes a capacitor and a coil (not shown).

電池43は、電子ペン2の電源スイッチがオンにされることで、LC発振回路41に電力を供給する。   The battery 43 supplies power to the LC oscillation circuit 41 when the power switch of the electronic pen 2 is turned on.

座標検出装置3は、図2に示すように、上記左側コイルシート100L及び右側コイルシート100Rと、マイコン80と、マルチプレクサ62(以下適宜、「MUX62」と称する)と、増幅回路64と、整流回路66と、フラッシュメモリ72と、通信インターフェース74と、表示部76と、電池21とを有する。   As shown in FIG. 2, the coordinate detection device 3 includes a left coil sheet 100L and a right coil sheet 100R, a microcomputer 80, a multiplexer 62 (hereinafter referred to as “MUX 62” as appropriate), an amplifier circuit 64, and a rectifier circuit. 66, flash memory 72, communication interface 74, display unit 76, and battery 21.

上記左側シート部10Lに設けられた左側コイルシート100Lは、図3(a)に示すように、左側センスコイル部110Lを含む。すなわち、図3(a)に示すように配置された左側センスコイル部110Lが、例えば外形が長方形の薄板状に樹脂成形されて、左側コイルシート100Lが構成されている。   The left coil sheet 100L provided on the left sheet portion 10L includes a left sense coil portion 110L as shown in FIG. That is, the left-side sense coil portion 110L arranged as shown in FIG. 3A is resin-molded into, for example, a thin plate shape having a rectangular outer shape to constitute the left-side coil sheet 100L.

左側センスコイル部110Lは、図3(a)に示すように、電子ペン2から発生された磁界を受信可能な、上記第1方向4に対応したx軸方向に配列されたm個のループ状の左側センスコイルLX1〜LXmと、上記第2方向5に対応したy軸方向に配列されたn個のループ状の左側センスコイルLY1〜LYnとによって構成されている。左側センスコイルLX1〜LXmと、左側センスコイルLY1〜LYnとは、直交した位置関係で配置されている。左側センスコイルLX1〜LXm,LY1〜LYnは、例えば表面に絶縁被膜層が形成された銅線によって形成されている。   As shown in FIG. 3A, the left sense coil unit 110L is capable of receiving a magnetic field generated from the electronic pen 2, and is arranged in m loops arranged in the x-axis direction corresponding to the first direction 4. Left-side sense coils LX1 to LXm and n loop-shaped left-side sense coils LY1 to LYn arranged in the y-axis direction corresponding to the second direction 5 described above. The left sense coils LX1 to LXm and the left sense coils LY1 to LYn are arranged in an orthogonal positional relationship. The left-side sense coils LX1 to LXm and LY1 to LYn are formed of, for example, a copper wire having an insulating coating layer formed on the surface.

左側センスコイルLX1〜LXmは、それぞれ、x軸方向の幅P1の辺とP1より長いy軸方向の長さP2の辺とを備えた、略長方形状に形成されている。左側センスコイルLX1〜LXmのそれぞれは、所定の一定ピッチでx軸方向に連続して配列されている。例えば、隣接する左側センスコイルLX1〜LXmは、P1の2分の1のピッチでそれぞれ重ねられている。   The left-side sense coils LX1 to LXm are each formed in a substantially rectangular shape including a side having a width P1 in the x-axis direction and a side having a length P2 in the y-axis direction longer than P1. Each of the left sense coils LX1 to LXm is continuously arranged in the x-axis direction at a predetermined constant pitch. For example, the adjacent left-side sense coils LX1 to LXm are overlapped at a pitch of 1/2 of P1.

左側センスコイルLY1〜LYnは、それぞれ、x軸方向の幅P3の辺とP3より短いy軸方向の長さP1の辺とを備えた、略長方形状に形成されている。左側センスコイルLY1〜LYnのそれぞれは、所定の一定ピッチでy軸方向に連続して配列されている。例えば、隣接する左側センスコイルLY1〜LYnは、P1の2分の1のピッチでそれぞれ重ねられている。   The left-side sense coils LY1 to LYn are each formed in a substantially rectangular shape including a side having a width P3 in the x-axis direction and a side having a length P1 in the y-axis direction shorter than P3. Each of the left sense coils LY1 to LYn is arranged continuously in the y-axis direction at a predetermined constant pitch. For example, the adjacent left-side sense coils LY1 to LYn are overlapped with each other at a half pitch of P1.

上記右側シート部10Rに設けられた右側コイルシート100Rは、図3(b)に示すように、右側センスコイル部110Rを含む。すなわち、図3(b)に示すように配置された右側センスコイル部110Rが、上記左側センスコイル部110Lと同様、例えば外形が長方形の薄板状に樹脂成形されて、右側コイルシート100Rが構成されている。   The right coil sheet 100R provided on the right sheet portion 10R includes a right sense coil portion 110R as shown in FIG. That is, the right sense coil portion 110R arranged as shown in FIG. 3B is resin-molded, for example, into a thin plate having a rectangular outer shape, like the left sense coil portion 110L, so that the right coil sheet 100R is configured. ing.

右側センスコイル部110Rは、図3(b)に示すように、電子ペン2から発生された磁界を受信可能な、上記第1方向4に対応したx軸方向に配列されたm個のループ状の右側センスコイルRX1〜RXmと、上記第2方向5に対応したy軸方向に配列されたn個のループ状の右側センスコイルRY1〜RYnとによって構成されている。右側センスコイルRX1〜RXmと、右側センスコイルRY1〜RYnとは、直交した位置関係で配置されている。右側センスコイルRX1〜RXmは、上記左側センスコイルLX1〜LXmと同一の構造ある。右側センスコイルRY1〜RYnは、上記左側センスコイルLY1〜LYnと同一の構造ある。   As shown in FIG. 3B, the right sense coil unit 110R is capable of receiving a magnetic field generated from the electronic pen 2, and is arranged in m loops arranged in the x-axis direction corresponding to the first direction 4. Right-side sense coils RX1 to RXm and n loop-shaped right-side sense coils RY1 to RYn arranged in the y-axis direction corresponding to the second direction 5 described above. The right sense coils RX1 to RXm and the right sense coils RY1 to RYn are arranged in an orthogonal positional relationship. The right sense coils RX1 to RXm have the same structure as the left sense coils LX1 to LXm. The right sense coils RY1 to RYn have the same structure as the left sense coils LY1 to LYn.

なお、図3(a)及び図3(b)では、視覚的にわかりやすくするため、便宜上、左側センスコイルLX1〜LXmと左側センスコイルLY1〜LYnとの各辺、及び、右側センスコイルRX1〜RXmと右側センスコイルRY1〜RYnとの各辺が、それぞれ重ならないようにしており、上記ピッチで配列された状態では図示されていない。   In FIG. 3A and FIG. 3B, for the sake of clarity, each side of the left sense coils LX1 to LXm and the left sense coils LY1 to LYn and the right sense coils RX1 to RX1 are shown for convenience. The sides of RXm and right-side sense coils RY1 to RYn are not overlapped, and are not shown in the state of being arranged at the above pitch.

また、これらセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnは、電子ペン2によって発生された磁界に対応して、電子ペン2から座標検出装置3に信号S1(図2参照)を発生する。また、これらセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnは、MUX62に接続されている。   The sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn correspond to the magnetic field generated by the electronic pen 2, and the signal S1 is sent from the electronic pen 2 to the coordinate detection device 3 (see FIG. 2). ). The sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn are connected to the MUX62.

なお、左側センスコイルLX1〜LXm,LY1〜LYnのそれぞれ、及び、右側センスコイルRX1〜RXm,RY1〜RYnのそれぞれは、各請求項記載のコイルに相当する。そのうち、左側センスコイルLX1〜LXm,LY1〜LYnのそれぞれは、第1コイルに相当し、右側センスコイルRX1〜RXm,RY1〜RYnのそれぞれは、第2コイルに相当する。   Note that each of the left sense coils LX1 to LXm, LY1 to LYn and each of the right sense coils RX1 to RXm, RY1 to RYn correspond to the coils described in the claims. Among them, each of the left side sense coils LX1 to LXm, LY1 to LYn corresponds to a first coil, and each of the right side sense coils RX1 to RXm, RY1 to RYn corresponds to a second coil.

図2に戻り、マイコン80は、CPU80aと、ROM80bと、RAM80cと、その他のA/D変換機能部や割り込み機能部等とを、一つの集積回路として構成したものである。マイコン80は、座標検出装置3で実行される各種の処理を制御する。   Returning to FIG. 2, the microcomputer 80 comprises a CPU 80a, a ROM 80b, a RAM 80c, and other A / D conversion function units, interrupt function units, and the like as one integrated circuit. The microcomputer 80 controls various processes executed by the coordinate detection device 3.

MUX62は、マイコン80からのコイル選択信号S3に基づき、左側センスコイルLX1〜LXm,LY1〜LYn、及び、右側センスコイルRX1〜RXm,RY1〜RYnのうち、1つのセンスコイルを順番に選択する。そして、MUX62は、選択されたセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnにおいて、電子ペン2のLC発振回路41から発生される磁界との磁気誘導によって発生した上記信号S1を入力し、対応する信号S11を増幅回路64へ出力する。なお、電子ペン2から発生された磁界と磁気誘導することが、実質的には、磁界を受信することに相当する。   Based on the coil selection signal S3 from the microcomputer 80, the MUX 62 sequentially selects one sense coil among the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm and RY1 to RYn. The MUX 62 receives the signal S1 generated by magnetic induction with the magnetic field generated from the LC oscillation circuit 41 of the electronic pen 2 in the selected sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn. And the corresponding signal S11 is output to the amplifier circuit 64. Note that magnetic induction with the magnetic field generated from the electronic pen 2 substantially corresponds to reception of the magnetic field.

増幅回路64は、MUX62から入力される信号S11を増幅する。増幅回路64で増幅された信号S13は、整流回路66に入力される。   The amplifier circuit 64 amplifies the signal S11 input from the MUX 62. The signal S13 amplified by the amplifier circuit 64 is input to the rectifier circuit 66.

整流回路66は、増幅回路64から入力された信号S13を振幅検波した後、平滑化して直流信号に変換する。整流回路66で振幅検波された信号S14は、マイコン80に入力される。   The rectifier circuit 66 amplitude-detects the signal S13 input from the amplifier circuit 64, smoothes it, and converts it into a DC signal. The signal S14 subjected to amplitude detection by the rectifier circuit 66 is input to the microcomputer 80.

マイコン80は、前述したようにA/D変換機能を備えており、上記入力された振幅検波後の信号S14をデジタル信号に変換する。このとき、マイコン80の上記ROM80bには、後述の位置座標テーブルが記憶されている。マイコン80は、上記デジタル信号に対し、位置座標テーブルを適用することにより、電子ペン2の座標データ、すなわち、x軸方向のx座標及びy軸方向のy座標を算出する。なお、算出された座標データはフラッシュメモリ72に記憶される。この座標データの算出手法の詳細は、後述する。   As described above, the microcomputer 80 has an A / D conversion function, and converts the input signal S14 after amplitude detection into a digital signal. At this time, the ROM 80b of the microcomputer 80 stores a position coordinate table described later. The microcomputer 80 calculates the coordinate data of the electronic pen 2, that is, the x coordinate in the x axis direction and the y coordinate in the y axis direction, by applying a position coordinate table to the digital signal. The calculated coordinate data is stored in the flash memory 72. Details of this coordinate data calculation method will be described later.

フラッシュメモリ72には、電子ファイルが予め用意されており、マイコン80で算出された座標データ等が、上記電子ファイルに書き込まれ、保存される。   An electronic file is prepared in advance in the flash memory 72, and coordinate data calculated by the microcomputer 80 is written and stored in the electronic file.

通信インターフェース74は、フラッシュメモリ72に保存された複数の座標データを含む後述のペン位置データ列Dに基づくストロークデータを、パーソナルコンピュータなどの外部装置に提供するためのインターフェースである。具体的には、通信インターフェース74は、例えばUniversal Serial Bus(USB)接続のためのUSBインターフェースや、SDカードなどのメモリカードスロットや、無線又は有線のネットワークインターフェースである。   The communication interface 74 is an interface for providing stroke data based on a later-described pen position data string D including a plurality of coordinate data stored in the flash memory 72 to an external device such as a personal computer. Specifically, the communication interface 74 is, for example, a USB interface for Universal Serial Bus (USB) connection, a memory card slot such as an SD card, or a wireless or wired network interface.

表示部76は、例えばLiquid Crystal Display(LCD)によって構成され、所定の情報を表示する(詳細は後述)。   The display unit 76 is configured by, for example, a Liquid Crystal Display (LCD), and displays predetermined information (details will be described later).

電池21は、座標検出装置3に備えられた図示しない電源スイッチがオンにされることで、マイコン80等に電力を供給する。   The battery 21 supplies power to the microcomputer 80 and the like when a power switch (not shown) provided in the coordinate detection device 3 is turned on.

上記構成の本実施形態の特徴は、マイコン80により算出された電子ペン2による筆記方向と、予め設定された電子ペン2による筆記方向とが一致するか否かを判定し、一致すると判定された場合、上記マイコン80により算出された電子ペン2による筆記方向に対応したストロークデータを蓄積すること、にある。   The feature of the present embodiment having the above-described configuration is that it is determined whether or not the writing direction by the electronic pen 2 calculated by the microcomputer 80 matches the writing direction by the electronic pen 2 set in advance. In this case, stroke data corresponding to the writing direction by the electronic pen 2 calculated by the microcomputer 80 is accumulated.

ここで、本実施形態の対象となる被筆記体は、前述したように、略ノート形状のノート30であるので、使用者は、ノート30を縦置きで使用したり横置きで使用したりすることができる。図4(a)に示すように、使用者がノート30を縦置きで使用する場合、すなわち座標検出装置3が縦置きで使用される場合には、上記第1方向4は図示左右方向となり、上記第2方向5は図示上下方向となる。なお、以下適宜、座標検出装置3が縦置きで使用される場合の、第1方向4(図示左右方向)を「縦置きの第1方向4」と称し、第2方向5(図示上下方向)を「縦置きの第2方向5」と称する。一方、図4(b)に示すように、使用者がノート30を横置きで使用する場合、すなわち座標検出装置3が横置きで使用される場合には、上記第1方向4は図示上下方向となり、上記第2方向5は図示左右方向となる。なお、以下適宜、座標検出装置3が横置きで使用される場合の、第1方向4(図示上下方向)を「横置きの第1方向4」と称し、第2方向5(図示左右方向)を「横置きの第2方向5」と称する。   Here, as described above, the writing object that is the target of the present embodiment is the notebook 30 having a substantially notebook shape, and therefore the user uses the notebook 30 in a vertical position or in a horizontal position. be able to. As shown in FIG. 4A, when the user uses the notebook 30 in a vertical position, that is, when the coordinate detection device 3 is used in a vertical position, the first direction 4 is the horizontal direction in the figure, The second direction 5 is the vertical direction in the figure. In the following, the first direction 4 (left-right direction in the figure) when the coordinate detection device 3 is used in the vertical position will be referred to as “vertical first direction 4” and the second direction 5 (up-down direction in the figure). Is referred to as “vertical second direction 5”. On the other hand, as shown in FIG. 4B, when the user uses the notebook 30 in a horizontal position, that is, when the coordinate detection device 3 is used in a horizontal position, the first direction 4 is the vertical direction in the figure. Thus, the second direction 5 is the horizontal direction in the figure. Hereinafter, when the coordinate detection device 3 is used in the horizontal orientation, the first direction 4 (vertical direction in the figure) is referred to as “horizontal first direction 4” and the second direction 5 (horizontal direction in the figure). Is referred to as “horizontal second direction 5”.

また、一般に、ノート30の筆記面31に対し文字を筆記する場合、その筆記態様は、右縦書き、左縦書き、右横書き、及び、左横書きの4つの態様が考えられる。以下、縦置きで使用されるノート30の筆記面31、及び、横置きで使用されるノート30の筆記面31に対し、上記4つの筆記態様で文字が筆記される場合の、電子ペン2による筆記方向を順次説明する。なお、本実施形態においては、電子ペン2による筆記方向を、文字を書き進む方向である書字方向と、行の進行する方向である行進行方向との総称として定義している。   In general, when writing characters on the writing surface 31 of the notebook 30, there are four possible writing modes: right vertical writing, left vertical writing, right horizontal writing, and left horizontal writing. Hereinafter, with the electronic pen 2 in the case where characters are written in the above-described four writing modes on the writing surface 31 of the notebook 30 used vertically and the writing surface 31 of the notebook 30 used horizontally. The writing direction will be explained sequentially. In the present embodiment, the writing direction by the electronic pen 2 is defined as a generic term of a writing direction that is a direction in which a character is written and a line advancing direction that is a direction in which the line proceeds.

まず、座標検出装置3が縦置きで使用される場合の筆記方向を説明する。   First, the writing direction when the coordinate detection device 3 is used in a vertical position will be described.

図5(a)に示すように、縦置きのノート30の筆記面31に対して右縦書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の右上隅から下へ向かって筆記を行う。そして、当該筆記面31の下端近くまで到達したら、使用者は、次の行、すなわち左側に隣接する行の上隅から再度下へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記縦置きの第2方向5(図示上下方向)に沿って上から下へ書き進む方向となり、行進行方向LDは、上記縦置きの第1方向4(図示左右方向)に沿って右から左へ進行する方向となる。   As shown in FIG. 5A, when writing in the right vertical writing direction with respect to the writing surface 31 of the vertically placed notebook 30, the user moves downward from the upper right corner of one writing surface 31. Write to the front. Then, when reaching the lower end of the writing surface 31, the user writes down again from the upper corner of the next line, that is, the line adjacent to the left side. Accordingly, in this case, the writing direction WD is a direction in which writing proceeds from top to bottom along the vertical second direction 5 (vertical direction in the figure), and the row traveling direction LD is the first vertical direction. 4 (the left-right direction in the figure), the direction proceeds from right to left.

図5(b)に示すように、縦置きのノート30の筆記面31に対して左縦書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の左上隅から下へ向かって筆記を行う。そして、当該筆記面31の下端近くまで到達したら、使用者は、次の行、すなわち右側に隣接する行の上隅から再度下へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記縦置きの第2方向5(図示上下方向)に沿って上から下へ書き進む方向となり、行進行方向LDは、上記縦置きの第1方向4(図示左右方向)に沿って左から右へ進行する方向となる。   As shown in FIG. 5 (b), when writing in the left vertical writing direction on the writing surface 31 of the vertically placed notebook 30, the user moves downward from the upper left corner of one writing surface 31. Write to the front. When the user reaches near the lower end of the writing surface 31, the user writes down again from the upper corner of the next line, that is, the line adjacent to the right side. Accordingly, in this case, the writing direction WD is a direction in which writing proceeds from top to bottom along the vertical second direction 5 (vertical direction in the figure), and the row traveling direction LD is the first vertical direction. 4 (the left-right direction in the figure), the direction proceeds from left to right.

図6(a)に示すように、縦置きのノート30の筆記面31に対して左横書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の左上隅から右へ向かって筆記を行う。そして、当該筆記面31の右端近くまで到達したら、使用者は、次の行、すなわち当該筆記面31の一段下に下がった領域における左端から再度右へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記縦置きの第1方向4(図示左右方向)に沿って左から右へ書き進む方向となり、行進行方向LDは、上記縦置きの第2方向5(図示上下方向)に沿って上から下へ進行する方向となる。   As shown in FIG. 6A, when writing in the left horizontal writing direction with respect to the writing surface 31 of the vertically placed notebook 30, the user goes from the upper left corner of one writing surface 31 to the right. To write. Then, when reaching the right end of the writing surface 31, the user performs writing toward the right again from the left end in the next line, that is, the region that is one step below the writing surface 31. Accordingly, in this case, the writing direction WD is a direction in which writing is performed from left to right along the first vertical direction 4 (the left-right direction in the drawing), and the row traveling direction LD is the second vertical direction. 5 (the up-down direction in the figure), the direction proceeds from top to bottom.

図6(b)に示すように、縦置きのノート30の筆記面31に対して右横書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の右上隅から左へ向かって筆記を行う。そして、当該筆記面31の左端近くまで到達したら、使用者は、次の行、すなわち当該筆記面31の一段下に下がった領域における右端から再度左へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記縦置きの第1方向4(図示左右方向)に沿って右から左へ書き進む方向となり、行進行方向LDは、上記縦置きの第2方向5(図示上下方向)に沿って上から下へ進行する方向となる。   As shown in FIG. 6B, when writing in the right horizontal writing direction on the writing surface 31 of the vertically placed notebook 30, the user moves from the upper right corner of one writing surface 31 to the left. To write. When the user reaches near the left end of the writing surface 31, the user performs writing toward the left again from the right end in the next line, that is, the region lowered by one step in the writing surface 31. Accordingly, in this case, the writing direction WD is a direction in which writing is performed from right to left along the first vertical direction 4 (left-right direction in the drawing), and the row traveling direction LD is the second vertical direction. 5 (the up-down direction in the figure), the direction proceeds from top to bottom.

次に、座標検出装置3が横置きで使用される場合の筆記方向を説明する。   Next, the writing direction when the coordinate detection device 3 is used in the horizontal orientation will be described.

図7(a)に示すように、横置きのノート30の筆記面31に対して右縦書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の右上隅から下へ向かって筆記を行う。そして、当該筆記面31の下端近くまで到達したら、使用者は、次の行、すなわち左側に隣接する行の上隅から再度下へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記横置きの第1方向4(図示上下方向)に沿って上から下へ書き進む方向となり、行進行方向LDは、上記横置きの第2方向5(図示左右方向)に沿って右から左へ進行する方向となる。   As shown in FIG. 7A, when writing in the right vertical writing direction on the writing surface 31 of the horizontally placed notebook 30, the user moves downward from the upper right corner of one writing surface 31. Write to the front. Then, when reaching the lower end of the writing surface 31, the user writes down again from the upper corner of the next line, that is, the line adjacent to the left side. Therefore, in this case, the writing direction WD is a direction in which writing proceeds from top to bottom along the horizontal first direction 4 (vertical direction in the figure), and the row traveling direction LD is the horizontal second direction. 5 (the left-right direction in the figure), the direction proceeds from right to left.

図7(b)に示すように、横置きのノート30の筆記面31に対して左縦書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の左上隅から下へ向かって筆記を行う。そして、当該筆記面31の下端近くまで到達したら、使用者は、次の行、すなわち右側に隣接する行の上隅から再度下へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記横置きの第1方向4(図示上下方向)に沿って上から下へ書き進む方向となり、行進行方向LDは、上記横置きの第2方向5(図示左右方向)に沿って左から右へ進行する方向となる。   As shown in FIG. 7B, when writing in the left vertical writing direction on the writing surface 31 of the horizontally placed notebook 30, the user moves downward from the upper left corner of one writing surface 31. Write to the front. When the user reaches near the lower end of the writing surface 31, the user writes down again from the upper corner of the next line, that is, the line adjacent to the right side. Therefore, in this case, the writing direction WD is a direction in which writing proceeds from top to bottom along the horizontal first direction 4 (vertical direction in the figure), and the row traveling direction LD is the horizontal second direction. 5 (the left-right direction in the figure), the direction proceeds from left to right.

図8(a)に示すように、横置きのノート30の筆記面31に対して左横書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の左上隅から右へ向かって筆記を行う。そして、当該筆記面31の右端近くまで到達したら、使用者は、次の行、すなわち当該筆記面31の一段下に下がった領域における左端から再度右へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記横置きの第2方向5(図示左右方向)に沿って左から右へ書き進む方向となり、行進行方向LDは、上記横置きの第1方向4(図示上下方向)に沿って上から下へ進行する方向となる。   As shown in FIG. 8A, when writing in the left horizontal writing direction with respect to the writing surface 31 of the horizontally placed notebook 30, the user moves from the upper left corner of one writing surface 31 to the right. To write. Then, when reaching the right end of the writing surface 31, the user performs writing toward the right again from the left end in the next line, that is, the region that is one step below the writing surface 31. Accordingly, in this case, the writing direction WD is a direction in which writing proceeds from left to right along the horizontal second direction 5 (the left-right direction in the figure), and the row traveling direction LD is the first horizontal direction. 4 (the up-down direction in the figure) is a direction that proceeds from top to bottom.

図8(b)に示すように、横置きのノート30の筆記面31に対して右横書きの筆記方向にて筆記を行う場合、使用者は、1つの筆記面31の右上隅から左へ向かって筆記を行う。そして、当該筆記面31の左端近くまで到達したら、使用者は、次の行、すなわち当該筆記面31の一段下に下がった領域における右端から再度左へ向かって筆記を行う。したがって、この場合の、書字方向WDは、上記横書きの第2方向5(図示左右方向)に沿って右から左へ書き進む方向となり、行進行方向LDは、上記横書きの第1方向4(図示上下方向)に沿って上から下へ進行する方向となる。   As shown in FIG. 8B, when writing in the right horizontal writing direction on the writing surface 31 of the horizontally placed notebook 30, the user moves from the upper right corner of one writing surface 31 to the left. To write. When the user reaches near the left end of the writing surface 31, the user performs writing toward the left again from the right end in the next line, that is, the region lowered by one step in the writing surface 31. Accordingly, in this case, the writing direction WD is a direction in which writing is performed from right to left along the horizontal writing second direction 5 (the horizontal direction in the drawing), and the row traveling direction LD is the horizontal writing first direction 4 ( (The vertical direction in the figure), the direction proceeds from top to bottom.

ここで、座標検出装置3が備えるシート体10は、前述したように、第1方向4に見開き可能な形状となっているので、使用者は、シート体10すなわちノート30を見開き状態(図1(b)及び図1(c)の状態)とすることができる。そして、このようなノート30に対し、使用者は、通常の見開き状態(図1(b)及び図1(c)の状態)よりもさらに第1方向4(図1(b)及び図1(c)中左右方向)に開いていき、図9(a)及び図9(b)に示すような、左側シート部10L及び右側シート部10Rが近接した裏返し状態として使用する場合があり得る。   Here, as described above, since the sheet body 10 included in the coordinate detection device 3 has a shape that can be spread in the first direction 4, the user opens the sheet body 10, that is, the notebook 30 (see FIG. 1). (B) and FIG. 1C). And with respect to such a notebook 30, the user is further in the first direction 4 (FIG. 1B and FIG. 1) than the normal spread state (the state of FIG. 1B and FIG. 1C). c) It opens in the middle left-right direction), and as shown in FIGS. 9A and 9B, there may be a case where the left seat portion 10L and the right seat portion 10R are used in an inverted state.

ノート30が上記裏返し状態で使用される場合、シート体10の左側シート部10L及び右側シート部10Rが近接する。この場合には、電子ペン2及び左側シート部10Lに設けられた左側コイルシート100Lの間の距離と、電子ペン2及び右側シート部10Rに設けられた右側コイルシート100Rの間の距離との違いが少なくなる。そのため、使用者が電子ペン2を用いて一方の筆記面31に対し文字列を筆記したとき、電子ペン2から発生される磁界が、上記左側コイルシート100L側の左側センスコイル部110Lと、上記右側コイルシート100R側の右側センスコイル部110Rとの両方で受信される場合がある。   When the notebook 30 is used in the inverted state, the left sheet portion 10L and the right sheet portion 10R of the sheet body 10 are close to each other. In this case, the difference between the distance between the electronic pen 2 and the left coil sheet 100L provided on the left sheet portion 10L and the distance between the electronic pen 2 and the right coil sheet 100R provided on the right sheet portion 10R are different. Less. Therefore, when the user writes a character string on one writing surface 31 using the electronic pen 2, the magnetic field generated from the electronic pen 2 is changed to the left sense coil portion 110L on the left coil sheet 100L side and the above In some cases, the signal is received by both the right-side sense coil unit 110R on the right-side coil sheet 100R side.

上記のように、左側センスコイル部110Lと右側センスコイル部110R、との両方で磁界が受信される場合、使用者が筆記している筆記面31に対応したセンスコイル部110が、どちらであるのかわかならない。このため、使用者が筆記している筆記面31に対応したセンスコイル部110とは反対のセンスコイル部110での磁界の受信結果に対応してストロークデータが作成されると、当該ストロークデータは、誤ったストロークデータとなってしまう。具体的には、当該ストロークデータは、本来使用者が筆記した文字列を第1方向4に沿って反転した鏡像文字のデータとなってしまう。   As described above, when the magnetic field is received by both the left sense coil unit 110L and the right sense coil unit 110R, which is the sense coil unit 110 corresponding to the writing surface 31 written by the user. I don't know. For this reason, when stroke data is created corresponding to the reception result of the magnetic field in the sense coil unit 110 opposite to the sense coil unit 110 corresponding to the writing surface 31 written by the user, the stroke data is Incorrect stroke data. Specifically, the stroke data is mirror image character data obtained by inverting the character string originally written by the user along the first direction 4.

図9(a)及び図9(b)に示す例では、上記裏返し状態として使用される縦置きのノート30の左筆記面31Lに対し、上述した左横書きの筆記方向にて、1行目に「あ」「い」「う」「え」「お」の文字列が筆記され、2行目に「か」「き」「く」「け」「こ」の文字列が筆記されている。そして、当該文字列の筆記動作に対応し電子ペン2から発生される磁界が、上記文字列が筆記された左筆記面31Lに対応した左側コイルシート100L側の左側センスコイル部110Lと、反対側の右側コイルシート100R側の右側センスコイル部110Rとの両方で受信されている場合を示している。   In the example shown in FIG. 9A and FIG. 9B, the first writing line in the left horizontal writing direction described above with respect to the left writing surface 31L of the vertically placed notebook 30 used as the inside-out state is shown in the first line. The character strings “A”, “I”, “U”, “E”, “O” are written, and the character strings “KA”, “KI”, “KU”, “KE”, and “KO” are written on the second line. Then, the magnetic field generated from the electronic pen 2 corresponding to the writing operation of the character string is opposite to the left sense coil portion 110L on the left coil sheet 100L side corresponding to the left writing surface 31L on which the character string is written, and the opposite side. The case where it is received by both the right side sense coil part 110R of the right side coil sheet 100R side is shown.

このような場合、上記文字列が筆記された左筆記面31Lに対応した左側センスコイル部110Lでの磁界の受信結果に基づき生成されるストロークデータは、図10(a)に示すように、正しいストロークデータとなる。これに対し、上記文字列が筆記された左筆記面31Lに対応した左側センスコイル部110Lとは反対の右側センスコイル部110Rでの磁界の受信結果に基づき生成されるストロークデータは、図10(b)に示すように、誤ったストロークデータとなる。具体的には、上記筆記された文字列を上記縦置きの第1方向4(図9(a)中左右方向)に沿って反転した鏡像文字のデータとなる。   In such a case, the stroke data generated based on the reception result of the magnetic field at the left sense coil unit 110L corresponding to the left writing surface 31L on which the character string is written is correct as shown in FIG. It becomes stroke data. On the other hand, stroke data generated based on the reception result of the magnetic field in the right sense coil portion 110R opposite to the left sense coil portion 110L corresponding to the left writing surface 31L on which the character string is written is shown in FIG. As shown in b), the stroke data is incorrect. Specifically, it is mirror image character data obtained by inverting the written character string along the vertical first direction 4 (the left-right direction in FIG. 9A).

そこで、本実施形態においては、上記に対応し、手書き入力装置1を使用する際に、電子ペン2による筆記方向に関する設定入力を行う。その後、左側センスコイル部110Lでの磁界の受信結果に基づき生成されたストロークデータ、すなわち後述の第1ストロークデータに対応した筆記方向、すなわち後述の第1算出筆記方向と、右側センスコイル部110Rでの磁界の受信結果に基づき生成されたストロークデータ、すなわち後述の第2ストロークデータに対応した筆記方向、すなわち後述の第2算出筆記方向とを算出する。そして、それら算出された第1算出筆記方向及び第2算出筆記方向と、上記設定された筆記方向、すなわち後述の設定筆記方向とが、一致するか否かをそれぞれ判定して、上記設定筆記方向と一致すると判定された算出筆記方向に対応したストロークデータを蓄積し、上記設定筆記方向と一致しないと判定された算出筆記方向に対応したストロークデータをクリアする。このような機能を実現するために、座標検出装置3のCPU80aで行われる制御処理の内容を、図11〜図16により順を追って説明する。   Therefore, in the present embodiment, in response to the above, when the handwriting input device 1 is used, setting input regarding the writing direction by the electronic pen 2 is performed. Thereafter, the stroke data generated based on the magnetic field reception result in the left sense coil unit 110L, that is, the writing direction corresponding to the first stroke data described later, that is, the first calculated writing direction described later, and the right sense coil unit 110R. Stroke data generated based on the received magnetic field, that is, a writing direction corresponding to second stroke data described later, that is, a second calculated writing direction described later. Then, it is determined whether or not the calculated first calculated writing direction and second calculated writing direction match the set writing direction, that is, a set writing direction described later, and the set writing direction. Is stored, and stroke data corresponding to the calculated writing direction determined not to match the set writing direction is cleared. The contents of the control process performed by the CPU 80a of the coordinate detection device 3 in order to realize such a function will be described in order with reference to FIGS.

図11、図12、及び図13において、この処理は、使用者が座標検出装置3の電源をオンした場合に開始される。まず、図11に示すように、CPU80aは、ステップSS10で、後述のエラーとしてみなされた回数を表すエラー変数Ceを0に初期化する。   11, 12, and 13, this process is started when the user turns on the power of the coordinate detection device 3. First, as shown in FIG. 11, in step SS10, the CPU 80a initializes an error variable Ce representing the number of times regarded as an error described later to 0.

その後、ステップSS20で、CPU80aは、使用者による適宜の操作手段を介した入力操作に基づき、ノート30への筆記態様を、右縦書き、左縦書き、右横書き、及び、左横書きの中から設定入力する。これは実質的には、電子ペン2による筆記方向、すなわち上述の書字方向WD及び行進行方向LDに関する設定入力を行うことに相当する。なお、このステップSS20の手順が、各請求項記載の筆記方向設定手段として機能する。また、本実施形態においては、予め、座標検出装置3の縦置き(図4(a)の置き方)による使用がデフォルトとして設定されている。なお、このステップSS20で、使用者による操作手段を介した入力操作に基づき、座標検出装置3を縦置きで使用するのか横置き(図4(b)の置き方)で使用するかを設定入力するようにしてもよい。   Thereafter, in step SS20, the CPU 80a selects a writing mode for the notebook 30 from among right vertical writing, left vertical writing, right horizontal writing, and left horizontal writing based on an input operation by a user through an appropriate operation means. Enter the settings. This substantially corresponds to performing setting input related to the writing direction by the electronic pen 2, that is, the above-described writing direction WD and line progression direction LD. In addition, the procedure of this step SS20 functions as a writing direction setting means described in each claim. In the present embodiment, the use of the coordinate detection device 3 in a vertical position (how to place FIG. 4A) is preset as a default. In step SS20, based on the input operation by the user via the operation means, setting input is performed to determine whether the coordinate detection device 3 is used in the vertical position or in the horizontal position (how to place in FIG. 4B). You may make it do.

そして、ステップSS30に移り、CPU80aは、左側シート部10Lに対応した左側センスコイル部110L、及び、右側シート部10Rに対応した右側センスコイル部110Rのスキャン処理を開始する。センスコイル部110L,110Rのスキャン処理が実行されている間は、CPU80aは、左側センスコイルLX1〜LXm,LY1〜LYnのいずれか1つのセンスコイルと、右側センスコイルRX1〜RXm,RY1〜RYnのいずれか1つのセンスコイルとを、交互に選択するコイル選択信号S3(図2参照)を、MUX62に出力する。これにより、電子ペン2の先端スイッチ42がオンの状態でLC発振回路41から発生された所定の周波数の磁界と、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnとの磁気誘導によって信号S1(図2参照)が発生される。そして、信号S1が発生している状態においてMUX62により選択されたセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnからの信号S1は、増幅回路64で増幅され、整流回路66で振幅検波され、信号S14(図2参照)となってマイコン80に入力される。   Then, the process proceeds to Step SS30, and the CPU 80a starts scanning processing of the left sense coil unit 110L corresponding to the left sheet unit 10L and the right sense coil unit 110R corresponding to the right sheet unit 10R. While the scan processing of the sense coil units 110L and 110R is being executed, the CPU 80a determines whether any one of the left sense coils LX1 to LXm and LY1 to LYn, and the right sense coils RX1 to RXm and RY1 to RYn. A coil selection signal S3 (see FIG. 2) for alternately selecting any one of the sense coils is output to the MUX 62. As a result, the magnetic field of the predetermined frequency generated from the LC oscillation circuit 41 with the tip switch 42 of the electronic pen 2 turned on and the magnetism between the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn. Signal S1 (see FIG. 2) is generated by induction. Then, the signal S1 from the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn selected by the MUX 62 in a state where the signal S1 is generated is amplified by the amplifier circuit 64, and is amplified by the rectifier circuit 66. Amplitude detection is performed and the signal S14 (see FIG. 2) is input to the microcomputer 80.

その後、ステップSS40で、CPU80aは、電子ペン2から発生された磁界と、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnとの磁気誘導に基づく信号S14から、一定値以上のコイル出力が得られたかどうかを判定する。一定値以上のコイル出力が得られるまで、ステップSS40の判定が満たされず、ループして待機し、一定値以上のコイル出力が得られたら、ステップSS40の判定が満たされて、ステップSS50に移る。   After that, in step SS40, the CPU 80a detects a signal S14 based on the magnetic field generated from the electronic pen 2 and the magnetic induction between the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn. It is determined whether a coil output is obtained. Until the coil output of a certain value or more is obtained, the determination at Step SS40 is not satisfied, and loops and waits. When the coil output of a certain value or more is obtained, the determination of Step SS40 is satisfied, and the process proceeds to Step SS50.

ステップSS50では、CPU80aは、電子ペン2から発生された磁界と左側センスコイルLX1〜LXm,LY1〜LYnとの磁気誘導に基づく信号S14から一定値以上のコイル出力が得られ、かつ、電子ペン2から発生された磁界と右側センスコイルRX1〜RXm,RY1〜RYnとの磁気誘導に基づく信号S14から一定値以上のコイル出力が得られたかどうかを判定する。言い換えれば、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとの両方で、電子ペン2から発生された磁界が受信されたかどうかを判定する。すなわち、このステップSS50では、ノート30が上記裏返し状態(図9(a)及び図9(b)の状態)で使用されているかどうかを判定している。   In step SS50, the CPU 80a obtains a coil output of a certain value or more from the signal S14 based on the magnetic field generated from the electronic pen 2 and the magnetic induction of the left sense coils LX1 to LXm, LY1 to LYn, and the electronic pen 2 It is determined whether a coil output of a certain value or more has been obtained from the signal S14 based on the magnetic field generated from the magnetic field induction and the magnetic induction between the right-side sense coils RX1 to RXm and RY1 to RYn. In other words, it is determined whether the magnetic field generated from the electronic pen 2 is received by both the left sense coils LX1 to LXm and LY1 to LYn and the right sense coils RX1 to RXm and RY1 to RYn. That is, in this step SS50, it is determined whether or not the notebook 30 is used in the above-mentioned inverted state (the state shown in FIGS. 9A and 9B).

ステップSS50において、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとのうち、どちらか一方のみで、電子ペン2から発生された磁界が受信された場合には、ノート30が上記裏返し状態で使用されていない、すなわち上記見開き状態(図1(a)及び図1(b)の状態)で使用されているとみなされ、ステップSS50の判定が満たされず、ステップSS60に移る。   In Step SS50, when a magnetic field generated from the electronic pen 2 is received by only one of the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm, RY1 to RYn. Is considered not to be used in the flipped state, that is, used in the spread state (the state of FIG. 1 (a) and FIG. 1 (b)), the determination of step SS50 is not satisfied, Move on to step SS60.

ステップSS60では、CPU80aは、左側シート部10L側の左筆記面31L、及び、右側シート部10R側の右筆記面31Rうち、電子ペン2から発生された磁界が受信されたセンスコイル側の筆記面31を、使用者により筆記が行われているページ、すなわちアクティブページとして認識する。そして、後述のステップSS190に移る。   In step SS60, the CPU 80a writes the left writing surface 31L on the left sheet portion 10L side and the right writing surface 31R on the right sheet portion 10R side on the sense coil side where the magnetic field generated from the electronic pen 2 has been received. 31 is recognized as a page on which writing is performed by the user, that is, an active page. Then, the process proceeds to Step SS190 described later.

一方、ステップSS50において、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとの両方で、電子ペン2から発生された磁界が所定値以上のレベルで受信された場合には、ノート30が上記裏返し状態で使用されているとみなされ、ステップSS50の判定が満たされて、ステップSS70に移る。   On the other hand, in step SS50, the magnetic field generated from the electronic pen 2 is received at a level equal to or higher than a predetermined value in both the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm, RY1 to RYn. If it is determined that the notebook 30 has been used in the inverted state, the determination at Step SS50 is satisfied, and the routine goes to Step SS70.

ステップSS70では、CPU80aは、上記ステップSS30で開始されたセンスコイル部110L,110Rのスキャン結果に基づく電子ペン2の座標データの取得すなわち算出を行う。この座標データの算出の詳細を、以下、順を追って説明する。   In step SS70, the CPU 80a acquires, that is, calculates the coordinate data of the electronic pen 2 based on the scan results of the sense coil units 110L and 110R started in step SS30. Details of the calculation of the coordinate data will be described below in order.

(1)位置座標テーブル
前述したように、座標データの算出には、マイコン80のROM80bに記憶された位置座標テーブルを用いる。この位置座標テーブルについて、図14(a)、図14(b)、図14(c)、図15(a)、及び図15(b)を参照して説明する。なお、図14(a)では、左側センスコイルLX1〜LX3の配置を分かり易くするために、左側センスコイルLX1〜LX3の各辺が重ならないように図示している。
(1) Position Coordinate Table As described above, the coordinate data is calculated using the position coordinate table stored in the ROM 80b of the microcomputer 80. The position coordinate table will be described with reference to FIGS. 14 (a), 14 (b), 14 (c), 15 (a), and 15 (b). In FIG. 14A, in order to facilitate understanding of the arrangement of the left sense coils LX1 to LX3, each side of the left sense coils LX1 to LX3 is illustrated so as not to overlap.

図14(a)において、3つの左側センスコイルLX1,LX2,LX3の中心線をそれぞれC1,C2,C3とする。これら左側センスコイルLX1,LX2,LX3にそれぞれ発生する電圧値ex1,ex2,ex3は、図14(b)に示すように、左側センスコイルLX1〜LX3の中心C1〜C3においてそれぞれ最大になる。このとき、左側センスコイルLX1〜LX3は、自己のヌル点が隣接するセンスコイルの中心の外側となるように、前述したように、x軸方向の幅P1の2分の1の幅で重ねられている。   In FIG. 14A, the center lines of the three left-side sense coils LX1, LX2, and LX3 are C1, C2, and C3, respectively. The voltage values ex1, ex2, and ex3 generated in the left sense coils LX1, LX2, and LX3 are maximized at the centers C1 to C3 of the left sense coils LX1 to LX3, respectively, as shown in FIG. 14B. At this time, as described above, the left-side sense coils LX1 to LX3 are overlapped with a width that is one-half of the width P1 in the x-axis direction so that the null point of the left-side sense coil is outside the center of the adjacent sense coil. ing.

このとき、図14(c)に示すように、左側センスコイルLX1〜LX3の相互に隣接するセンスコイル間の電圧差は、左側センスコイルLX1〜LX3の中心C1〜C3上においてそれぞれ最大値となる。また、当該電圧差は、左側センスコイルLX1〜LX3の中心と、隣接する左側センスコイルLX1〜LX3が重なった部分との中間点において、それぞれ最小値となる。例えば、図14(c)において、(ex1−ex2)のグラフの右半分つまり実線で示す部分は、左側センスコイルLX1の中心C1から、左側センスコイルLX2が重ねられた部分の中間点Q1までの距離、すなわち重ねピッチの2分の1であるP1の4分の1における、ex1−ex2の挙動を示している。   At this time, as shown in FIG. 14C, the voltage difference between the sense coils adjacent to the left sense coils LX1 to LX3 becomes maximum on the centers C1 to C3 of the left sense coils LX1 to LX3, respectively. . In addition, the voltage difference becomes a minimum value at the midpoint between the center of the left sense coils LX1 to LX3 and the portion where the adjacent left sense coils LX1 to LX3 overlap each other. For example, in FIG. 14C, the right half of the graph of (ex1-ex2), that is, the portion indicated by the solid line, is from the center C1 of the left sense coil LX1 to the middle point Q1 of the portion where the left sense coil LX2 is overlapped. It shows the behavior of ex1-ex2 at a distance, that is, a quarter of P1, which is a half of the overlapping pitch.

仮に電子ペン2が中間点Q2に存在したとすると、(ex1−ex2)を検出すれば、中心C1から中間点Q2点までの距離△X1を検出でき、その結果中間点Q2のx座標が求められる。仮に左側センスコイルLX1〜LX3の幅P1が50mmであるとすれば、△X=P1/4=12.5mmである。したがって、例えば、図14(c)における上記(ex1−ex2)の特性を示す実線部分を8bitのデジタルデータに変換すると、図15(a)に示すグラフが得られる。このグラフをテーブル形式に変換することにより、図15(b)に示す位置座標テーブルが得られる。   Assuming that the electronic pen 2 exists at the intermediate point Q2, if (ex1-ex2) is detected, the distance ΔX1 from the center C1 to the intermediate point Q2 can be detected, and as a result, the x coordinate of the intermediate point Q2 is obtained. It is done. If the width P1 of the left sense coils LX1 to LX3 is 50 mm, ΔX = P1 / 4 = 12.5 mm. Therefore, for example, when the solid line portion indicating the characteristics of (ex1-ex2) in FIG. 14C is converted into 8-bit digital data, the graph shown in FIG. 15A is obtained. By converting this graph into a table format, a position coordinate table shown in FIG. 15B is obtained.

(2)コイル電圧値を用いた座標決定
前述したように、電子ペン2から発生された磁界とセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnとの磁気誘導によって発生した信号S1は、増幅回路64で増幅され、整流回路66で振幅検波され、信号S14(図2参照)となってマイコン80に入力される。マイコン80は、入力された信号S14を、振幅つまり電圧値に対応したデジタル信号に変換する。CPU80aは、このデジタル信号の表す電圧値を用いて、前述の位置座標テーブルを用いて電子ペン2の座標を決定する。以下、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnのうち、左側センスコイルLX1〜LXmを例にとって上記座標決定の詳細手順を説明する。
(2) Coordinate determination using coil voltage value As described above, signals generated by magnetic induction between the magnetic field generated from the electronic pen 2 and the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, RY1 to RYn S1 is amplified by the amplifier circuit 64, subjected to amplitude detection by the rectifier circuit 66, and input to the microcomputer 80 as a signal S14 (see FIG. 2). The microcomputer 80 converts the input signal S14 into a digital signal corresponding to the amplitude, that is, the voltage value. The CPU 80a uses the voltage value represented by the digital signal to determine the coordinates of the electronic pen 2 using the position coordinate table described above. Hereinafter, the detailed procedure for determining the coordinates will be described taking the left-side sense coils LX1 to LXm as an example among the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn.

まず、CPU80aは、上記信号S14から変換されたデジタル信号によって示される電圧値e1〜emを、左側センスコイルLX1〜LXmのコイル番号と対応付けて、RAM80cの電圧値記憶エリアに順次記憶する。   First, the CPU 80a sequentially stores the voltage values e1 to em indicated by the digital signal converted from the signal S14 in the voltage value storage area of the RAM 80c in association with the coil numbers of the left sense coils LX1 to LXm.

その後、CPU80aは、左側センスコイルLX1〜LXmのコイル番号に対応付けて、電圧値記憶エリアに記憶されている電圧値e1〜emの中で最大の電圧値emaxを選択する。そして、CPU80aは、電圧値emaxを発生した左側センスコイルX1〜Xmのコイル番号XmaxをRAM80cに記憶する。   Thereafter, the CPU 80a selects the maximum voltage value emax among the voltage values e1 to em stored in the voltage value storage area in association with the coil numbers of the left sense coils LX1 to LXm. Then, the CPU 80a stores the coil number Xmax of the left sense coils X1 to Xm that have generated the voltage value emax in the RAM 80c.

次に、CPU80aは、電圧値emaxを発生した左側センスコイルLX1〜LXmの両隣の左側センスコイルLX1〜LXmの電圧値e1〜emのうちいずれか大きい方を決定する。そして、CPU80aは、決定された電圧値e1〜emを発生した左側センスコイルLX1〜LXmのコイル番号を、コイル番号Xmax2としてRAM80cに記憶する。例えば、電圧値emaxが左側センスコイルLX2によって発生されていた場合、CPU80aは、その両隣の左側センスコイルLX1の電圧値e1及び左側センスコイルLX3の電圧値e3を比較し、大きい電圧値e1又は電圧値e3を決定する。そして、CPU80aは、決定された電圧値e1を発生した左側センスコイルLX1のコイル番号又は電圧値e3を発生した左側センスコイルLX3のコイル番号を、コイル番号Xmax2としてRAM80cに記憶する。   Next, the CPU 80a determines the larger one of the voltage values e1 to em of the left sense coils LX1 to LXm adjacent to the left sense coils LX1 to LXm that have generated the voltage value emax. Then, the CPU 80a stores the coil numbers of the left sense coils LX1 to LXm that have generated the determined voltage values e1 to em as the coil number Xmax2 in the RAM 80c. For example, when the voltage value emax is generated by the left side sense coil LX2, the CPU 80a compares the voltage value e1 of the left side sense coil LX1 on both sides thereof with the voltage value e3 of the left side sense coil LX3, and the large voltage value e1 or voltage The value e3 is determined. Then, the CPU 80a stores the coil number of the left sense coil LX1 that has generated the determined voltage value e1 or the coil number of the left sense coil LX3 that has generated the voltage value e3 in the RAM 80c as the coil number Xmax2.

その後、CPU80aは、RAM80cに記憶されたコイル番号max及びコイル番号max2を比較して、コイル番号max2はコイル番号maxからx軸の+方向又は−方向のどちらに存在しているかを判定する。なお、x軸の+方向とは図3(a)のx軸を示す矢印の方向であり、x軸の−方向とはその逆の方向である。判定の結果、コイル番号Xmax2がコイル番号Xmaxに対して+方向である場合、CPU80aは、変数SIDEを1に設定する。一方、コイル番号Xmax2がコイル番号Xmaxに対して−方向である場合、CPU80aは、変数SIDEを−1に設定する。例えば、電圧値emaxが左側センスコイルLX2で発生され、コイル番号Xmaxとして左側センスコイルLX2を示すコイル番号がRAM80cに記憶され、左側センスコイルLX3のコイル番号がコイル番号Xmax2として記憶されていた場合、CPU80aは、変数SIDEを1に設定する。一方、電圧値emaxが左側センスコイルLX2で発生され、コイル番号Xmaxとして左側センスコイルLX2を示すコイル番号がRAM80cに記憶され、左側センスコイルLX1のコイル番号がコイル番号Xmax2として記憶されていた場合、CPU80aは、変数SIDEを−1に設定する。   Thereafter, the CPU 80a compares the coil number max and the coil number max2 stored in the RAM 80c, and determines whether the coil number max2 is present in the + or − direction of the x axis from the coil number max. Note that the + direction of the x axis is the direction of the arrow indicating the x axis in FIG. 3A, and the opposite direction is the negative direction of the x axis. As a result of the determination, when the coil number Xmax2 is in the + direction with respect to the coil number Xmax, the CPU 80a sets the variable SIDE to 1. On the other hand, when the coil number Xmax2 is in the negative direction with respect to the coil number Xmax, the CPU 80a sets the variable SIDE to -1. For example, when the voltage value emax is generated by the left sense coil LX2, the coil number indicating the left sense coil LX2 is stored in the RAM 80c as the coil number Xmax, and the coil number of the left sense coil LX3 is stored as the coil number Xmax2. The CPU 80a sets the variable SIDE to 1. On the other hand, when the voltage value emax is generated by the left sense coil LX2, the coil number indicating the left sense coil LX2 is stored in the RAM 80c as the coil number Xmax, and the coil number of the left sense coil LX1 is stored as the coil number Xmax2. The CPU 80a sets the variable SIDE to -1.

そして、変数SIDEを設定したCPU80aは、下記(式1)により、変数DIFFを算出する。
DIFF=e(max)−e(max2)・・・(式1)
CPU80aは、算出されたDIFFに最も近い位置座標を、ROM80bに予め記憶されている前述の位置座標テーブル(図15(b)参照)から読み出す。そして、CPU80aは、位置座標テーブルから読み出した位置座標を、変数OFFSETとする。
And CPU80a which set the variable SIDE calculates the variable DIFF by the following (Formula 1).
DIFF = e (max) −e (max2) (Formula 1)
The CPU 80a reads the position coordinate closest to the calculated DIFF from the position coordinate table (see FIG. 15B) stored in advance in the ROM 80b. Then, the CPU 80a sets the position coordinates read from the position coordinate table as a variable OFFSET.

その後、CPU80aは、上記のようにして算出された変数SIDE及び変数OFFSETを用いて、下記(式2)により、電子ペン2のx軸方向の位置を示すx座標を求める。
X1=(P1/2)×max+OFFSET×SIDE・・・(式2)
ここで、(P1/2)×maxは、コイル番号maxの中心のx座標を示す。
Thereafter, the CPU 80a uses the variable SIDE and the variable OFFSET calculated as described above to obtain an x coordinate indicating the position of the electronic pen 2 in the x-axis direction according to the following (Equation 2).
X1 = (P1 / 2) × max + OFFSET × SIDE (Expression 2)
Here, (P1 / 2) × max indicates the x coordinate of the center of the coil number max.

なお、以上は、x軸方向の左側センスコイルLX1〜LXmでの磁気誘導に基づく信号S14による電子ペン2のx座標の算出を例に説明した。電子ペン2のy座標についても、y軸方向の左側センスコイルLY1〜LYnでの磁気誘導に基づく信号S14により、同様の手法により算出される。また、右側センスコイルRX1〜RXm,RY1〜RYnでの磁気誘導に基づく信号S14による電子ペン2のx座標及びy座標についても、同様の手法により算出される。   In the above description, the calculation of the x coordinate of the electronic pen 2 by the signal S14 based on the magnetic induction in the left sense coils LX1 to LXm in the x-axis direction has been described as an example. The y coordinate of the electronic pen 2 is also calculated by a similar method using the signal S14 based on the magnetic induction in the left sense coils LY1 to LYn in the y-axis direction. Further, the x coordinate and the y coordinate of the electronic pen 2 by the signal S14 based on the magnetic induction in the right sense coils RX1 to RXm, RY1 to RYn are also calculated by the same method.

以上説明したように、ステップSS70においては、CPU80aは、センスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき、上記(1)(2)の手法により電子ペン2の座標データ(x,y)を算出する。具体的には、CPU80aは、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとでの磁界の受信結果に基づき、電子ペン2の座標データ(x,y)をそれぞれ算出する。このようにしてステップSS70が終了した後、ステップSS80に移る。   As described above, in step SS70, the CPU 80a performs the above methods (1) and (2) based on the reception results of the magnetic fields in the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn. The coordinate data (x, y) of the electronic pen 2 is calculated. Specifically, the CPU 80a determines the coordinate data (x, y) of the electronic pen 2 based on the reception results of the magnetic fields of the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm, RY1 to RYn. ) Respectively. After step SS70 is completed in this way, the process proceeds to step SS80.

ステップSS80では、CPU80aは、上記ステップSS70で算出された座標データ(x,y)を用いてペン位置データ列D1,D2を生成する。詳細には、左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に基づき算出された複数の座標データ(x,y)により構成される第1ペン位置データ列D1の最後に、左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に基づき算出された座標データ(x,y)を追加し、新たな第1ペン位置データ列D1とする。なお、左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に基づき算出された座標データ(x,y)が最初の座標データであった場合には、当該1つの座標データにより新規に第1ペン位置データ列D1を生成する。またこれと共に、右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき算出された複数の座標データ(x,y)により構成される第2ペン位置データ列D2の最後に、右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき算出された座標データ(x,y)を追加し、新たな第2ペン位置データ列D2とする。なお、右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき算出された座標データ(x,y)が最初の座標データであった場合には、当該1つの座標データにより新規に第2ペン位置データ列D2を生成する。このようにして生成したペン位置データ列D1,D2は、それぞれ、マイコン80のRAM80cに一時的に保存される。   In step SS80, the CPU 80a generates pen position data strings D1, D2 using the coordinate data (x, y) calculated in step SS70. Specifically, at the end of the first pen position data sequence D1 composed of a plurality of coordinate data (x, y) calculated based on the reception results of the magnetic fields in the left sense coils LX1 to LXm, LY1 to LYn, the left side Coordinate data (x, y) calculated based on the magnetic field reception results in the sense coils LX1 to LXm and LY1 to LYn is added to obtain a new first pen position data string D1. In addition, when the coordinate data (x, y) calculated based on the reception result of the magnetic field in the left sense coils LX1 to LXm and LY1 to LYn is the first coordinate data, a new one is generated by the one coordinate data. A first pen position data string D1 is generated. At the same time, at the end of the second pen position data sequence D2 composed of a plurality of coordinate data (x, y) calculated based on the reception results of the magnetic fields at the right sense coils RX1 to RXm, RY1 to RYn, Coordinate data (x, y) calculated based on the magnetic field reception results in the sense coils RX1 to RXm and RY1 to RYn is added to obtain a new second pen position data string D2. If the coordinate data (x, y) calculated based on the magnetic field reception results in the right sense coils RX1 to RXm, RY1 to RYn is the first coordinate data, a new one is generated by the one coordinate data. A second pen position data string D2 is generated. The pen position data sequences D1 and D2 generated in this way are temporarily stored in the RAM 80c of the microcomputer 80, respectively.

なお、ペン位置データ列Dによって、電子ペン2が筆記面31に記載した文字列に対応したストロークデータを取得可能である。すなわち、ペン位置データ列Dの生成は、言い換えれば、ストロークデータの生成と同等である。具体的には、第1ペン位置データ列D1によって、電子ペン2が左筆記面31Lに記載した文字列に対応したストロークデータ、すなわち左側センスコイルLX1〜LXm,LY1〜LYnに対応した第1ストロークデータを取得可能である。すなわち、第1ペン位置データ列D1の生成は、言い換えれば、第1ストロークデータの生成と同等である。また、第2ペン位置データ列D2によって、電子ペン2が右筆記面31Rに記載した文字列に対応したストロークデータ、すなわち右側センスコイルRX1〜RXm,RY1〜RYnに対応した第2ストロークデータを取得可能である。すなわち、第2ペン位置データ列D2の生成は、言い換えれば、第2ストロークデータの生成と同等である。   The pen position data string D enables the electronic pen 2 to acquire stroke data corresponding to the character string written on the writing surface 31. That is, the generation of the pen position data string D is equivalent to the generation of the stroke data in other words. Specifically, according to the first pen position data string D1, the electronic pen 2 corresponds to the stroke data corresponding to the character string described on the left writing surface 31L, that is, the first stroke corresponding to the left sense coils LX1 to LXm, LY1 to LYn. Data can be acquired. In other words, the generation of the first pen position data string D1 is equivalent to the generation of the first stroke data. Further, the second pen position data string D2 obtains stroke data corresponding to the character string written on the right writing surface 31R by the electronic pen 2, that is, second stroke data corresponding to the right sense coils RX1 to RXm, RY1 to RYn. Is possible. In other words, the generation of the second pen position data sequence D2 is equivalent to the generation of the second stroke data.

そして、ステップSS90に移り、CPU80aは、上記ステップSS80でペン位置データ列D1,D2が生成されてから所定時間が経過したかどうかを判定する。所定時間が経過するまではステップSS90の判定が満たされず、上記ステップSS70及びステップSS80を繰り返し実行し、ペン位置データ列D1,D2をRAM80cに蓄積する。そして、所定時間が経過したら、ステップSS90の判定が満たされて、ステップSS100に移る。   Then, the process proceeds to step SS90, and the CPU 80a determines whether or not a predetermined time has elapsed since the pen position data strings D1 and D2 were generated in step SS80. Until the predetermined time elapses, the determination in step SS90 is not satisfied, and step SS70 and step SS80 are repeatedly executed, and pen position data strings D1 and D2 are stored in the RAM 80c. And when predetermined time passes, the determination of step SS90 is satisfy | filled and it moves to step SS100.

ステップSS100では、CPU80aは、上記ステップSS80で生成されRAM80cに蓄積された第1ペン位置データ列D1に基づく第1ストロークデータを、公知の適宜の手法を用いて、当該第1ストロークデータに含まれる文字データごとに区別して認識する。またこれと共に、CPU80aは、上記ステップSS80で生成されRAM80cに蓄積された第2ペン位置データ列D2に基づく第2ストロークデータを、公知の適宜の手法を用いて、当該第2ストロークデータに含まれる文字データごとに区別して認識する。なお、このステップSS100の手順が、各請求項記載の文字認識手段として機能する。   In step SS100, the CPU 80a includes the first stroke data based on the first pen position data string D1 generated in step SS80 and stored in the RAM 80c, using the known appropriate technique. Each character data is recognized separately. At the same time, the CPU 80a includes the second stroke data based on the second pen position data string D2 generated in step SS80 and stored in the RAM 80c by using a known appropriate method. Each character data is recognized separately. The procedure of step SS100 functions as character recognition means described in each claim.

その後、ステップSS110で、CPU80aは、上記ステップSS80で生成されRAM80cに蓄積されたペン位置データ列Dに基づくストロークデータの時系列変化、具体的には上記ステップSS100で認識される文字データの追加挙動に基づき、電子ペン2による筆記方向を算出する。さらに具体的に言うと、CPU80aは、上記ステップSS100で認識される複数の文字データの、新たに文字データとして追加される方向に基づき、電子ペン2による筆記方向、すなわち上述の書字方向WD及び行進行方向LDを算出する。以下、その算出手法の一例を、図16(a)及び図16(b)により説明する。   Thereafter, in step SS110, the CPU 80a changes the time series of stroke data based on the pen position data sequence D generated in step SS80 and stored in the RAM 80c, specifically, the additional behavior of character data recognized in step SS100. Based on the above, the writing direction by the electronic pen 2 is calculated. More specifically, the CPU 80a determines the writing direction by the electronic pen 2, that is, the above-described writing direction WD and the above-described writing direction WD based on the direction newly added as character data of the plurality of character data recognized in step SS100. The line progression direction LD is calculated. Hereinafter, an example of the calculation method will be described with reference to FIGS. 16 (a) and 16 (b).

CPU80aは、まず、上記ステップSS100で認識された複数の文字データのうち、1文字目に対応した文字データの中心座標と、2文字目に対応した文字データの中心座標とを比較する。これにより、2文字目に対応した文字データの中心座標が、1文字目に対応した文字データの中心座標から、x軸の+方向又は−方向のどちらに存在しているか、及び、y軸の+方向又は−方向のどちらに存在しているかを検出する。そして、その検出結果に基づき、書字方向WD及び行進行方向LDを算出する。すなわち、前述したように、x軸方向は第1方向4に対応し、y軸方向は第2方向5に対応しているので、1文字目に対応した文字データに対する2文字目に対応した文字データの追加挙動により、上述の書字方向WD及び行進行方向LDを算出することができる。   First, the CPU 80a compares the center coordinates of the character data corresponding to the first character and the center coordinates of the character data corresponding to the second character among the plurality of character data recognized in step SS100. Thereby, whether the center coordinate of the character data corresponding to the second character exists in the + direction or the − direction of the x axis from the center coordinate of the character data corresponding to the first character, and the y axis It detects whether it exists in + direction or-direction. Then, based on the detection result, the writing direction WD and the line progression direction LD are calculated. That is, as described above, since the x-axis direction corresponds to the first direction 4 and the y-axis direction corresponds to the second direction 5, the character corresponding to the second character with respect to the character data corresponding to the first character. The writing direction WD and the line progression direction LD can be calculated based on the additional behavior of the data.

図16(a)では、使用者がノート30のある筆記面31に左縦書きの筆記方向にて「本日は晴天なり」の文字列を筆記したことに対応し、RAM80cに蓄積された対応するストロークデータ「本日は晴天なり」が、公知の適宜の手法によって、当該ストロークデータに含まれる文字データ「本」「日」「は」「晴」「天」「な」「り」ごとに区別され認識された状態を図示している。なお、認識された7つの文字データ「本」「日」「は」「晴」「天」「な」「り」の中心座標を、それぞれ(x1,y1)(x2,y2)(x3,y3)(x4,y4)(x5,y5)(x6,y6)(x7,y7)としている。   In FIG. 16A, this corresponds to the user writing the character string “Today is sunny” on the writing surface 31 with the notebook 30 in the left vertical writing direction, and the corresponding information stored in the RAM 80c. Stroke data “Today is sunny” is distinguished for each character data “Book”, “Day”, “Ha”, “Sunny”, “Ten”, “N” and “Ri” included in the stroke data by a known appropriate method. The recognized state is illustrated. The center coordinates of the recognized seven character data “book”, “day”, “ha”, “sunny”, “heaven”, “na”, “ri” are respectively (x1, y1) (x2, y2) (x3, y3). ) (X4, y4) (x5, y5) (x6, y6) (x7, y7).

このような場合には、CPU80aは、まず、上記認識された7つの文字データ「本」「日」「は」「晴」「天」「な」「り」のうち、1文字目の文字データに対応した文字データ「本」の中心座標(x1,y1)と、2文字目に対応した文字データ「日」の中心座標(x2,y2)とを取得する。そして、文字データ「日」の中心座標(x2,y2)が、文字データ「本」の中心座標(x1,y1)から、x軸の+方向又は−方向のどちらに存在しているか、及び、y軸の+方向又は−方向のどちらに存在しているかを検出する。   In such a case, the CPU 80a firstly sets the character data of the first character among the recognized seven character data “book”, “day”, “ha”, “sunny”, “heaven”, “na”, and “ri”. The center coordinates (x1, y1) of the character data “book” corresponding to “2” and the center coordinates (x2, y2) of the character data “day” corresponding to the second character are acquired. Then, whether the center coordinates (x2, y2) of the character data “day” are present in the + direction or the − direction of the x axis from the center coordinates (x1, y1) of the character data “book”, and It detects whether it exists in the + direction or the − direction of the y-axis.

例えば、図14(b)では、文字データ「本」の中心座標(x1,y1)を点aとし、文字データ「日」の中心座標(x2,y2)を点bとして、それら点a及び点bのxy座標系での位置関係を図示している。なお、この例では、座標検出装置3の縦置きによる使用を前提としているため、x軸方向(図示左右方向)は上記縦置きの第1方向4に対応し、y軸方向(図示上下方向)は上記縦置きの第2方向5に対応している。この例では、点bは点aからx軸の+方向(図示右方向)に存在するので、文字データの追加挙動は、左から右へ文字データが追加される挙動となっている。すなわち、左横書きとなっている。このような場合には、CPU80aは、電子ペン2の筆記方向を、縦置きでの左横書きに対応した、上記縦置きの第1方向4に沿って左から右へ進む書字方向WD、及び、上記縦置きの第2方向5(図示上下方向)に沿って上から下へ進行する行進行方向LDとして算出する。   For example, in FIG. 14B, the central coordinates (x1, y1) of the character data “book” are point a, the central coordinates (x2, y2) of the character data “day” are the point b, and the point a and the point The positional relationship of b in the xy coordinate system is illustrated. In this example, since the coordinate detector 3 is assumed to be used vertically, the x-axis direction (left-right direction in the figure) corresponds to the first vertical direction 4 and y-axis direction (up-down direction in the figure). Corresponds to the second direction 5 in the vertical position. In this example, since the point b exists from the point a in the + direction of the x-axis (right direction in the drawing), the character data addition behavior is a behavior in which character data is added from left to right. That is, it is left horizontal writing. In such a case, the CPU 80a changes the writing direction of the electronic pen 2 from the left to the right along the first vertical direction 4 corresponding to the left horizontal writing in the vertical position, and , And calculated as a row traveling direction LD that travels from top to bottom along the second vertical direction 5 (vertical direction in the figure).

以上説明したように、ステップSS110においては、CPU80aは、上記のような手法により電子ペン2による筆記方向、すなわち算出筆記方向を算出する。具体的には、CPU80aは、上記ステップSS80で生成されRAM80cに蓄積された、上記第1ペン位置データ列D1に基づく第1ストロークデータに対応した算出筆記方向、すなわち第1算出筆記方向を算出すると共に、上記第2ペン位置データ列D2に基づく第2ストロークデータに対応した算出筆記方向、すなわち第2算出筆記方向を算出する。このようにしてステップSS110が終了した後、ステップSS120に移る。なお、このステップSS110の手順が、各請求項記載の筆記方向算出手段として機能する。   As described above, in step SS110, the CPU 80a calculates the writing direction by the electronic pen 2, that is, the calculated writing direction, by the method described above. Specifically, the CPU 80a calculates a calculated writing direction corresponding to the first stroke data based on the first pen position data sequence D1 generated in step SS80 and stored in the RAM 80c, that is, the first calculated writing direction. At the same time, a calculated writing direction corresponding to the second stroke data based on the second pen position data string D2, that is, a second calculated writing direction is calculated. After step SS110 is completed in this way, the process proceeds to step SS120. In addition, the procedure of this step SS110 functions as a writing direction calculation means described in each claim.

ステップSS120では、CPU80aは、上記ステップSS110で算出された第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが、上記第1方向4に沿った方向であるかどうかを判定する。第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが第1方向4に沿った方向である場合には、ステップSS120の判定が満たされて、ステップSS130に移る。   In step SS120, the CPU 80a determines whether or not the writing direction WD related to the first calculated writing direction and the second calculated writing direction calculated in step SS110 is a direction along the first direction 4. When the writing direction WD related to the first calculated writing direction and the second calculated writing direction is the direction along the first direction 4, the determination in step SS120 is satisfied, and the process proceeds to step SS130.

ステップSS130では、CPU80aは、上記ステップSS110で算出された、第1算出筆記方向に係わる書字方向WD、及び、第2算出筆記方向に係わる書字方向WDをそれぞれ判別する。すなわち、このステップSS130では、上記ステップSS110で算出された第1算出筆記方向及び第2算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向及び第2算出筆記方向である書字方向WDをそれぞれ判別しているのである。その後、後述のステップSS150に移る。   In step SS130, the CPU 80a determines the writing direction WD related to the first calculated writing direction and the writing direction WD related to the second calculated writing direction calculated in step SS110. That is, in step SS130, the first calculated writing direction and the second calculated writing direction related to the first direction 4 out of the first calculated writing direction and the second calculated writing direction calculated in step SS110. Each direction WD is determined. Thereafter, the process proceeds to Step SS150 described later.

一方、ステップSS120において、第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが第1方向4に沿った方向でなかった場合、すなわち第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが上記第2方向5に沿った方向であった場合には、ステップSS120の判定が満たされず、ステップSS140に移る。   On the other hand, in step SS120, when the writing direction WD related to the first calculated writing direction and the second calculated writing direction is not the direction along the first direction 4, that is, in the first calculated writing direction and the second calculated writing direction. If the writing direction WD concerned is a direction along the second direction 5, the determination at step SS120 is not satisfied, and the routine goes to step SS140.

ステップSS140では、CPU80aは、上記ステップSS110で算出された、第1算出筆記方向に係わる行進行方向LD、及び、第2算出筆記方向に係わる行進行方向LDをそれぞれ判別する。すなわち、このステップSS140では、CPU80aは、上記ステップSS110で算出された第1算出筆記方向及び第2算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向及び第2算出筆記方向である行進行方向LDをそれぞれ判別しているのである。   In step SS140, the CPU 80a determines the line progression direction LD related to the first calculated writing direction and the line progression direction LD related to the second calculated writing direction, respectively, calculated in step SS110. That is, in step SS140, the CPU 80a uses the first calculated writing direction and the second calculated writing direction related to the first direction 4 out of the first calculated writing direction and the second calculated writing direction calculated in step SS110. Each line traveling direction LD is discriminated.

そして、ステップSS150に移り、CPU80aは、上記ステップSS110で算出された第1算出筆記方向と、上記ステップSS20で設定された筆記方向、すなわち設定筆記方向とが、一致するか否かを判定する。具体的には、CPU80aは、上記第1算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向と、上記設定筆記方向とが、一致するか否かを判定する。第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致する場合には、ステップSS150の判定が満たされて、ステップSS160に移る。   Then, the process proceeds to step SS150, and the CPU 80a determines whether or not the first calculated writing direction calculated in step SS110 and the writing direction set in step SS20, that is, the set writing direction match. Specifically, the CPU 80a determines whether or not the first calculated writing direction related to the first direction 4 and the set writing direction among the first calculated writing directions match. If the first calculated writing direction related to the first direction 4 matches the set writing direction, the determination at step SS150 is satisfied, and the routine goes to step SS160.

ステップSS160では、CPU80aは、左側シート部10L側の左筆記面31Lを、前述のアクティブページとして認識する。その後、後述のステップSS190に移る。   In step SS160, the CPU 80a recognizes the left writing surface 31L on the left sheet portion 10L side as the aforementioned active page. Thereafter, the process proceeds to Step SS190 described later.

一方、ステップSS150において、第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致しない場合には、ステップSS150の判定が満たされず、ステップSS170に移る。   On the other hand, if the first calculated writing direction and the set writing direction related to the first direction 4 do not match in step SS150, the determination in step SS150 is not satisfied, and the process proceeds to step SS170.

ステップSS170では、CPU80aは、上記ステップSS110で算出された第2算出筆記方向と、上記ステップSS20で設定された設定筆記方向とが、一致するか否かを判定する。具体的には、CPU80aは、上記第2算出筆記方向のうち、上記第1方向4に係わる第2算出筆記方向と、上記設定筆記方向とが、一致するか否かを判定する。第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致する場合には、ステップSS170の判定が満たされて、ステップSS180に移る。   In Step SS170, the CPU 80a determines whether or not the second calculated writing direction calculated in Step SS110 matches the set writing direction set in Step SS20. Specifically, the CPU 80a determines whether or not the second calculated writing direction related to the first direction 4 and the set writing direction among the second calculated writing directions match. If the second calculated writing direction related to the first direction 4 matches the set writing direction, the determination at Step SS170 is satisfied, and the routine goes to Step SS180.

ステップSS180では、CPU80aは、右側シート部10R側の右筆記面31Rを、前述のアクティブページとして認識する。   In step SS180, the CPU 80a recognizes the right writing surface 31R on the right sheet portion 10R side as the above-described active page.

その後、ステップSS190で、CPU80aは、この時点でRAM80cに蓄積されているペン位置データ列D1,D2のうち、上記ステップSS60、ステップSS160、又はステップSS180でアクティブページとして認識されなかった筆記面31、すなわちノンアクティブページ側のセンスコイルに対応したペン位置データ列Dを消去処理、すなわちクリアする。具体的には、上記ステップSS150において上記第1方向4に係わる第1算出筆記方向が設定筆記方向と一致すると判定され、左筆記面31Lがアクティブページとして認識された場合には、CPU80aは、反対側の右筆記面31R側の右側センスコイルRX1〜RXm,RY1〜RYnに対応した第2ペン位置データ列D2をクリアする。一方、上記ステップSS170において上記第1方向4に係わる第2算出筆記方向が設定筆記方向と一致すると判定され、右筆記面31Rがアクティブページとして認識された場合には、CPU80aは、反対側の左筆記面31L側の左側センスコイルLX1〜LXm,LY1〜LYnに対応した第1ペン位置データ列D1をクリアする。なお、第2ペン位置データ列D2をクリアすることは、言い換えれば、第2ストロークデータをクリアすることと同等である。また、第1ペン位置データ列D1をクリアすることは、言い換えれば、第1ストロークデータをクリアすることと同等である。すなわち、このステップSS190の手順が、各請求項記載のデータ消去手段として機能する。そして、このステップSS190が終了したら、図12に示すステップSS200に移る。   Thereafter, in step SS190, the CPU 80a, among the pen position data strings D1 and D2 stored in the RAM 80c at this time, the writing surface 31, which has not been recognized as the active page in step SS60, step SS160, or step SS180, That is, the pen position data string D corresponding to the sense coil on the non-active page side is erased, that is, cleared. Specifically, when it is determined in step SS150 that the first calculated writing direction related to the first direction 4 coincides with the set writing direction and the left writing surface 31L is recognized as an active page, the CPU 80a is reversed. The second pen position data string D2 corresponding to the right sense coils RX1 to RXm and RY1 to RYn on the right writing surface 31R side is cleared. On the other hand, if it is determined in step SS170 that the second calculated writing direction related to the first direction 4 matches the set writing direction and the right writing surface 31R is recognized as the active page, the CPU 80a determines that the left side on the opposite side The first pen position data string D1 corresponding to the left-side sense coils LX1 to LXm and LY1 to LYn on the writing surface 31L side is cleared. Note that clearing the second pen position data string D2 is equivalent to clearing the second stroke data in other words. In addition, clearing the first pen position data string D1 is equivalent to clearing the first stroke data. That is, the procedure of step SS190 functions as data erasing means described in each claim. When step SS190 is completed, the process proceeds to step SS200 shown in FIG.

図12に示すように、ステップSS200では、CPU80aは、上記ステップSS60、ステップSS160、又はステップSS180でアクティブページとして認識されなかった筆記面31側のセンスコイル部110のスキャン処理を停止し、上記ステップSS60、ステップSS160、又はステップSS180でアクティブページとして認識された筆記面31側のセンスコイル部110のスキャン処理のみ継続する。   As shown in FIG. 12, in step SS200, the CPU 80a stops the scanning process of the sense coil unit 110 on the writing surface 31 side that has not been recognized as an active page in step SS60, step SS160, or step SS180, and the above step Only the scanning process of the sense coil unit 110 on the writing surface 31 side recognized as the active page in SS60, step SS160, or step SS180 is continued.

その後、ステップSS210で、CPU80aは、上記ステップSS60、ステップSS160、又はステップSS180でアクティブページとして認識された筆記面31側のセンスコイル部110のスキャン結果、すなわち当該センスコイル部110のセンスコイルでの磁界の受信結果に基づき、上述した(1)(2)の手法により電子ペン2の座標データ(x,y)を算出する。   Thereafter, in step SS210, the CPU 80a scans the sense coil unit 110 on the writing surface 31 side recognized as the active page in step SS60, step SS160, or step SS180, that is, the sense coil of the sense coil unit 110. Based on the reception result of the magnetic field, the coordinate data (x, y) of the electronic pen 2 is calculated by the above-described methods (1) and (2).

そして、ステップSS220に移り、CPU80aは、上記ステップSS210で算出された座標データ(x,y)を用いてペン位置データ列Dを生成する。詳細には、上記アクティブページとして認識された筆記面31側のセンスコイルでの磁界の受信結果に基づき算出された複数の座標データ(x,y)により構成されるペン位置データ列Dの最後に、当該筆記面31側のセンスコイルでの磁界の受信結果に基づき算出された座標データ(x,y)を追加し、新たなペン位置データ列Dとして、RAM80cに一時的に保存する。   Then, the process proceeds to step SS220, and the CPU 80a generates a pen position data string D using the coordinate data (x, y) calculated in step SS210. Specifically, at the end of the pen position data sequence D composed of a plurality of coordinate data (x, y) calculated based on the reception result of the magnetic field in the sense coil on the writing surface 31 side recognized as the active page. Then, coordinate data (x, y) calculated based on the reception result of the magnetic field by the sense coil on the writing surface 31 side is added, and temporarily stored in the RAM 80c as a new pen position data string D.

その後、ステップSS230で、CPU80aは、使用者により前述のページ切替ボタンを用いたページ送り操作がなされたかどうかを判定する。使用者によるページ切り替え操作がなされない間はステップSS230の判定が満たされず、上記ステップSS210及びステップSS220を繰り返し実行し、ペン位置データ列DをRAM80cに蓄積する。そして、使用者によるページ切り替え操作がなされたら、ステップSS230の判定が満たされて、ステップSS240に移る。   Thereafter, in step SS230, the CPU 80a determines whether or not the user has performed a page turning operation using the above-described page switching button. While the page switching operation by the user is not performed, the determination at Step SS230 is not satisfied, and Step SS210 and Step SS220 are repeatedly executed, and the pen position data string D is stored in the RAM 80c. If the user performs a page switching operation, the determination at Step SS230 is satisfied, and the routine goes to Step SS240.

ステップSS240では、CPU80aは、この時点で生成済みでかつ上記RAM80cに保存されたペン位置データ列Dを、前述のフラッシュメモリ72(図2参照)に蓄積すなわち保存する。具体的には、上記ステップSS150において上記第1方向4に係わる第1算出筆記方向が設定筆記方向と一致すると判定され、左筆記面31Lがアクティブページとして認識された場合には、CPU80aは、当該第1算出筆記方向に対応した、すなわち当該左筆記面31L側の左側センスコイルLX1〜LXm,LY1〜LYnに対応した第1ペン位置データ列D1をフラッシュメモリ72に保存する。一方、上記ステップSS170において上記第1方向4に係わる第2算出筆記方向が設定筆記方向と一致すると判定され、右筆記面31Rがアクティブページとして認識された場合には、CPU80aは、当該第2算出筆記方向に対応した、すなわち当該右筆記面31R側の右側センスコイルRX1〜RXm,RY1〜RYnに対応した第2ペン位置データ列D2をフラッシュメモリ72に保存する。このように、連続的な複数の座標データ(x,y)からなるペン位置データ列Dを保存することにより、結果的に、当該ペン位置データ列Dに対応したストロークデータを電子ファイルに保存することができる。すなわち、第1ペン位置データ列D1を保存することにより、結果的に、当該第1ペン位置データ列D1に対応した第1ストロークデータを電子ファイルに保存することができ、第2ペン位置データ列D2を保存することにより、結果的に、当該第2ペン位置データ列D2に対応した第2ストロークデータを電子ファイルに保存することができる。そして、上記図11に示すステップSS30に戻り、同様の手順を繰り返す。なお、このステップSS240の手順が、各請求項記載のデータ記憶手段として機能する。   In step SS240, the CPU 80a accumulates, that is, stores the pen position data string D generated at this time and stored in the RAM 80c in the flash memory 72 (see FIG. 2). Specifically, when it is determined in step SS150 that the first calculated writing direction related to the first direction 4 matches the set writing direction, and the left writing surface 31L is recognized as an active page, the CPU 80a The first pen position data string D1 corresponding to the first calculated writing direction, that is, corresponding to the left sense coils LX1 to LXm and LY1 to LYn on the left writing surface 31L side is stored in the flash memory 72. On the other hand, if it is determined in step SS170 that the second calculated writing direction related to the first direction 4 matches the set writing direction, and the right writing surface 31R is recognized as an active page, the CPU 80a performs the second calculation. The second pen position data string D2 corresponding to the writing direction, that is, corresponding to the right sense coils RX1 to RXm and RY1 to RYn on the right writing surface 31R side is stored in the flash memory 72. In this way, by storing the pen position data sequence D composed of a plurality of continuous coordinate data (x, y), the stroke data corresponding to the pen position data sequence D is stored in the electronic file as a result. be able to. That is, by storing the first pen position data string D1, as a result, the first stroke data corresponding to the first pen position data string D1 can be stored in the electronic file, and the second pen position data string By saving D2, as a result, the second stroke data corresponding to the second pen position data string D2 can be saved in the electronic file. And it returns to step SS30 shown in the said FIG. 11, and repeats the same procedure. The procedure of step SS240 functions as data storage means described in each claim.

なお、上記ステップSS240においてフラッシュメモリ72の電子ファイルに保存されたペン位置データ列D(ストロークデータ)は、使用者による適宜の操作によって、前述の表示部76(図2参照)において、使用者が筆記した文字列として表示し、利用することができる。あるいは、前述の通信インターフェース74(図2参照)を介してパーソナルコンピュータなどの外部装置に提供され、当該外部装置によって、使用者が筆記した文字列として表示し、利用することができる。   The pen position data string D (stroke data) stored in the electronic file of the flash memory 72 in step SS240 is displayed on the display unit 76 (see FIG. 2) by the user through an appropriate operation by the user. It can be displayed and used as a written character string. Alternatively, it is provided to an external device such as a personal computer via the communication interface 74 (see FIG. 2), and can be displayed and used as a character string written by the user by the external device.

図11に戻り、ステップSS170において、第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致しない場合には、ステップSS170の判定が満たされず、図13に示すステップSS250に移る。   Returning to FIG. 11, when the second calculated writing direction and the set writing direction related to the first direction 4 do not match in step SS170, the determination in step SS170 is not satisfied, and the process proceeds to step SS250 shown in FIG.

図13に示すように、ステップSS250では、CPU80aは、ノート30すなわち座標検出装置3を縦置き(図4(a)の置き方)で使用しているかどうかを確認する確認画面用の表示信号を生成し、表示部76へ出力する。これにより、表示部76において、上記確認画面が表示され、使用者に対し確認が促される。そして、CPU80aは、表示部76に表示された上記確認画面を見た使用者による適宜の操作手段を介した操作に基づき、座標検出装置3が縦置きで使用されているかどうかを判定する。座標検出装置3が縦置きで使用されていない場合、すなわち座標検出装置3が横置き(図4(b)の置き方)で使用されている場合には、ステップSS250の判定が満たされず、ステップSS260に移る。   As shown in FIG. 13, in step SS250, the CPU 80a generates a display signal for a confirmation screen for confirming whether or not the notebook 30, that is, the coordinate detection device 3 is used vertically (placement as shown in FIG. 4A). Generate and output to the display unit 76. As a result, the confirmation screen is displayed on the display unit 76, and the user is prompted to confirm. Then, the CPU 80a determines whether or not the coordinate detection device 3 is being used in a vertical orientation based on an operation through an appropriate operation means by a user who has viewed the confirmation screen displayed on the display unit 76. When the coordinate detection device 3 is not used in the vertical position, that is, when the coordinate detection device 3 is used in the horizontal position (how to place in FIG. 4B), the determination in step SS250 is not satisfied, and the step Move on to SS260.

ステップSS260では、CPU80aは、座標検出装置3を横置きによる使用に設定変更し、上記図11に示すステップSS20に戻り、同様の手順を繰り返す。   In step SS260, the CPU 80a changes the setting of the coordinate detection device 3 to use in landscape orientation, returns to step SS20 shown in FIG. 11, and repeats the same procedure.

一方、ステップSS250において、座標検出装置3が縦置きで使用されている場合には、エラーとみなされ、ステップSS250の判定が満たされて、ステップSS270に移る。   On the other hand, when the coordinate detection device 3 is used in the vertical position in step SS250, it is regarded as an error, the determination in step SS250 is satisfied, and the process proceeds to step SS270.

ステップSS270では、CPU80aは、前述のエラー変数Ceの値に1を加え、ステップSS280に移る。   In step SS270, the CPU 80a adds 1 to the value of the error variable Ce described above, and proceeds to step SS280.

ステップSS280では、CPU80aは、この時点でのエラー変数Ceの値が3であるかどうかを判定する。Ce<3である場合には、ステップSS280の判定が満たされず、上記図11のステップSS30に戻り、同様の手順を繰り返す。一方、Ce=3となっている場合には、ステップSS280の判定が満たされて、ステップSS290に移る。   In step SS280, the CPU 80a determines whether or not the value of the error variable Ce at this time is 3. If Ce <3, the determination in step SS280 is not satisfied, and the process returns to step SS30 in FIG. 11 and the same procedure is repeated. On the other hand, if Ce = 3, the determination at step SS280 is satisfied, and the routine goes to step SS290.

ステップSS290では、CPU80aは、所定のエラー画面用の表示信号を生成し、表示部76へ出力する。これにより、表示部76において、所定のエラー画面が表示される。   In step SS290, the CPU 80a generates a display signal for a predetermined error screen and outputs it to the display unit 76. As a result, a predetermined error screen is displayed on the display unit 76.

そして、ステップSS300に移り、CPU80aは、センスコイル部110L,110Rのスキャン結果、すなわち当該センスコイル部110L,110RのセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき、上述した(1)(2)の手法により電子ペン2の座標データ(x,y)を算出する。   Then, in step SS300, the CPU 80a scans the sense coil units 110L and 110R, that is, the magnetic field in the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn of the sense coil units 110L and 110R. Based on the reception result, the coordinate data (x, y) of the electronic pen 2 is calculated by the above-described methods (1) and (2).

その後、ステップSS310で、CPU80aは、上記ステップSS300で算出された座標データ(x,y)を用いて上述のペン位置データ列D1,D2を生成して、RAM80cに一時的に保存する。   Thereafter, in step SS310, the CPU 80a generates the above-described pen position data strings D1, D2 using the coordinate data (x, y) calculated in step SS300, and temporarily stores them in the RAM 80c.

そして、ステップSS320に移り、CPU80aは、使用者により上記ページ切替ボタンを用いたページ送り操作がなされたかどうかを判定する。使用者によるページ切り替え操作がなされない間はステップSS320の判定が満たされず、上記ステップSS300及びステップSS310を繰り返し実行し、ペン位置データ列D1,D2をRAM80cに蓄積する。そして、使用者によるページ切り替え操作がなされたら、ステップSS320の判定が満たされて、ステップSS330に移る。   Then, proceeding to step SS320, the CPU 80a determines whether or not the user has performed a page turning operation using the page switching button. While the page switching operation by the user is not performed, the determination in step SS320 is not satisfied, and step SS300 and step SS310 are repeatedly executed, and pen position data strings D1 and D2 are stored in the RAM 80c. If the user performs a page switching operation, the determination at step SS320 is satisfied, and the routine goes to step SS330.

ステップSS330では、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列D1,D2を、フラッシュメモリ72に保存する。このように、連続的な複数の座標データ(x,y)からなるペン位置データ列D1,D2を保存することにより、結果的に、当該ペン位置データ列D1,D2に対応した第1ストロークデータ及び第2ストロークデータを電子ファイルに保存することができる。その後、上記図11に示すステップSS30に戻り、同様の手順を繰り返す。   In step SS330, the CPU 80a stores the pen position data strings D1 and D2 that have been generated and stored in the RAM 80c at this time in the flash memory 72. In this way, by storing the pen position data sequences D1 and D2 composed of a plurality of continuous coordinate data (x, y), the first stroke data corresponding to the pen position data sequences D1 and D2 is consequently obtained. And the second stroke data can be stored in an electronic file. Then, it returns to step SS30 shown in the said FIG. 11, and repeats the same procedure.

なお、上記ステップSS330においてフラッシュメモリ72の電子ファイルに保存されたペン位置データ列D1,D2(第1ストロークデータ及び第2ストロークデータ)のうち、一方のペン位置データ列Dに基づくストロークデータは、誤ったストロークデータとなっている。しかしながら、使用者による適宜の操作によって、表示部76において、これら第1ストロークデータ及び第2ストロークデータを表示し、使用者に筆記した文字列等に対応した正しいストロークデータを選択させることで、使用者は当該正しいストロークデータを利用することができる。あるいは、通信インターフェース74を介してパーソナルコンピュータなどの外部装置に提供され、当該外部装置によって、これら第1ストロークデータ及び第2ストロークデータを表示し、使用者に筆記した文字列等に対応した正しいストロークデータを選択させることで、使用者は当該正しいストロークデータを利用することができる。なお、このフローは、例えば使用者が座標検出装置3の電源をオフにした場合に終了する。   Of the pen position data sequences D1 and D2 (first stroke data and second stroke data) stored in the electronic file of the flash memory 72 in step SS330, stroke data based on one pen position data sequence D is: Incorrect stroke data. However, it is possible to display the first stroke data and the second stroke data on the display unit 76 by an appropriate operation by the user and to select the correct stroke data corresponding to the character string written by the user. The person can use the correct stroke data. Alternatively, it is provided to an external device such as a personal computer via the communication interface 74, and the external device displays the first stroke data and the second stroke data, and the correct stroke corresponding to the character string written to the user. By selecting the data, the user can use the correct stroke data. This flow ends when, for example, the user turns off the power of the coordinate detection device 3.

なお、上記において、図11のステップSS30及びステップSS70と、図12のステップSS210と、図13のステップSS300との手順が、各請求項記載の位置取得手段として機能する。また、図11のステップSS80と、図12のステップSS220と、図13のステップSS310との手順が、ストロークデータ生成手段として機能する。さらに、図11のステップSS150及びステップSS170の手順が、筆記方向判定手段として機能する。   In the above, the procedures of Step SS30 and Step SS70 in FIG. 11, Step SS210 in FIG. 12, and Step SS300 in FIG. 13 function as the position acquisition means described in each claim. Further, the procedure of Step SS80 in FIG. 11, Step SS220 in FIG. 12, and Step SS310 in FIG. 13 functions as a stroke data generation unit. Furthermore, the procedure of step SS150 and step SS170 of FIG. 11 functions as a writing direction determination means.

以上説明したように、本実施形態の手書き入力装置1においては、使用者による適宜の操作手段を介した入力操作に基づき、電子ペン2による筆記方向に関する設定入力が行われる(図11のステップSS20を参照)。その後、使用者が電子ペン2を用いて筆記面31に対し所望の文字の筆記を行うと、その使用者の筆記動作により電子ペン2の位置が変化し、電子ペン2から発生される磁界とセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnとの磁気誘導に基づき、上記の変化に応じた電子ペンの座標データが算出される。そして、その取得された座標データを用いて、使用者が筆記面31に記載した文字列に対応したペン位置データ列Dに基づくストロークデータが順次生成されたら、そのストロークデータの時系列変化に基づき、電子ペン2の筆記方向が算出される(図11のステップSS110を参照)。そして、上記のようにして算出された算出筆記方向と、上述のようにして設定入力された設定筆記方向とが一致するか否かが判定される(図11のステップSS150及びステップSS170を参照)。算出筆記方向と設定筆記方向とが一致しないと判定された場合には、本来のシート部側とは反対側のセンスコイルにおける受信結果に基づき、誤ったストロークデータが生成されたことになる。一方、算出筆記方向と設定筆記方向とが一致すると判定された場合には、本来のシート部側のセンスコイルにおける受信結果に基づき、正しいストロークデータが生成されたことになるので、このときのストロークデータがフラッシュメモリ72に蓄積される(図12のステップSS240を参照)。   As described above, in the handwriting input device 1 of the present embodiment, setting input related to the writing direction by the electronic pen 2 is performed based on the input operation by the user via an appropriate operation means (step SS20 in FIG. 11). See). Thereafter, when the user writes a desired character on the writing surface 31 using the electronic pen 2, the position of the electronic pen 2 is changed by the writing operation of the user, and the magnetic field generated from the electronic pen 2 is changed. Based on the magnetic induction with the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, and RY1 to RYn, coordinate data of the electronic pen corresponding to the change is calculated. Then, when stroke data based on the pen position data sequence D corresponding to the character string written on the writing surface 31 is sequentially generated by using the acquired coordinate data, based on the time series change of the stroke data. The writing direction of the electronic pen 2 is calculated (see step SS110 in FIG. 11). Then, it is determined whether or not the calculated writing direction calculated as described above matches the set writing direction set and input as described above (see step SS150 and step SS170 in FIG. 11). . If it is determined that the calculated writing direction does not match the set writing direction, erroneous stroke data is generated based on the reception result in the sense coil on the side opposite to the original sheet side. On the other hand, if it is determined that the calculated writing direction and the set writing direction match, the correct stroke data is generated based on the reception result in the sense coil on the original sheet side, so the stroke at this time Data is accumulated in the flash memory 72 (see step SS240 in FIG. 12).

以上のように、本実施形態においては、表紙と背表紙とがほぼ近接した裏返し状態でノート30が使用される場合であっても、正しいストロークデータを確実に生成することができる。   As described above, in the present embodiment, correct stroke data can be reliably generated even when the notebook 30 is used in an inverted state in which the front cover and the back cover are substantially close to each other.

また、本実施形態では特に、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnと磁界との磁気誘導に対応してそれぞれ生成された、ペン位置データ列D1,D2のうち、算出筆記方向が設定筆記方向と一致したペン位置データ列Dがフラッシュメモリ72に記憶される。またこれと共に、ペン位置データ列D1,D2のうち、算出筆記方向が設定筆記方向と一致しないペン位置データ列Dがクリアされる(図11のステップSS190を参照)。すなわち、正しいストロークデータと誤ったストロークデータとの両方を生成した後、誤ったストロークデータが消去される。これにより、正しいストロークデータを確実に生成することができる。また、誤ったストロークデータを修正して用いる場合に比べ、信頼性の高い処理を行うことができる。   In the present embodiment, in particular, the pen position data string D1 respectively generated corresponding to the magnetic induction of the left sense coils LX1 to LXm, LY1 to LYn, the right sense coils RX1 to RXm, RY1 to RYn, and the magnetic field. , D2, the pen position data string D whose calculated writing direction matches the set writing direction is stored in the flash memory 72. At the same time, the pen position data string D in which the calculated writing direction does not match the set writing direction is cleared from the pen position data strings D1 and D2 (see step SS190 in FIG. 11). That is, after generating both correct stroke data and incorrect stroke data, the incorrect stroke data is deleted. Thereby, correct stroke data can be generated reliably. In addition, it is possible to perform highly reliable processing as compared to the case where erroneous stroke data is corrected and used.

また、前述したように、誤ったストロークデータの生成が行われうるのは、表紙と背表紙とが折り曲げ線Tを介した裏返し状態(図9(a)及び図9(b)の状態)で近接していることが原因である。この場合、電子ペン2及び左側センスコイルLX1〜LXm,LY1〜LYn間の距離と、電子ペン2及び右側センスコイルRX1〜RXm,RY1〜RYn間の距離との違いが少なく、使用者が筆記しているノート30の筆記面31に対応したセンスコイルが、左側センスコイルLX1〜LXm,LY1〜LYn及び右側センスコイルRX1〜RXm,RY1〜RYnのいずれであるのかわからない。   Further, as described above, erroneous stroke data can be generated when the cover and the back cover are turned upside down via the folding line T (the states of FIGS. 9A and 9B). This is due to the proximity. In this case, there is little difference between the distance between the electronic pen 2 and the left side sense coils LX1 to LXm, LY1 to LYn and the distance between the electronic pen 2 and the right side sense coils RX1 to RXm, RY1 to RYn. It is not known which sense coil corresponding to the writing surface 31 of the note 30 is the left sense coil LX1 to LXm, LY1 to LYn or the right sense coil RX1 to RXm, RY1 to RYn.

ここで、上記第1方向4に沿って左側シート部10L、折り曲げ部10T、右側シート部10Rの順で配列された見開き可能な形状の場合、左側シート部10Lと右側シート部10Rとは、折り曲げ部10Tの折り曲げ線Tに関して、線対称な位置関係となる。したがって、使用者の筆記動作に基づき算出される筆記方向のうち、折り曲げ線Tの方向すなわち上記第1方向Tと直交する方向に係わる筆記方向は、左側センスコイルLX1〜LXm,LY1〜LYnの受信結果に基づき算出される場合でも、右側センスコイルRX1〜RXm,RY1〜RYnの受信結果に基づき算出される場合でも同じ方向となる。これに対して、使用者の筆記動作に基づき算出される算出筆記方向のうち、折り曲げ線Tに直交する方向すなわち上記第1方向4に係わる算出筆記方向は、左側センスコイルLX1〜LXm,LY1〜LYnの受信結果に基づき算出される場合と、右側センスコイルRX1〜RXm,RY1〜RYnの受信結果に基づき算出される場合とで、互いに逆方向となる。   Here, in the case where the left sheet portion 10L, the bent portion 10T, and the right sheet portion 10R are arranged in this order along the first direction 4, the left sheet portion 10L and the right sheet portion 10R are bent. With respect to the bending line T of the portion 10T, the positional relationship is axisymmetric. Accordingly, among the writing directions calculated based on the writing operation of the user, the writing direction related to the direction of the folding line T, that is, the direction orthogonal to the first direction T is received by the left sense coils LX1 to LXm, LY1 to LYn. Even when calculated based on the result, the same direction is obtained even when calculated based on the reception results of the right-side sense coils RX1 to RXm, RY1 to RYn. On the other hand, among the calculated writing directions calculated based on the user's writing operation, the direction perpendicular to the folding line T, that is, the calculated writing direction related to the first direction 4 is the left sense coils LX1 to LXm, LY1. The calculation is based on the reception result of LYn, and the calculation is based on the reception results of the right sense coils RX1 to RXm, RY1 to RYn.

そこで本実施形態では特に、図11のステップSS150及びステップSS170で、上記第1方向4における算出筆記方向と、設定筆記方向とが一致するか否かを判定する。これにより、正しい文字列の生成に係わるセンスコイルがいずれのセンスコイルであるのかを、確実に識別することができる。   Therefore, in this embodiment, in particular, in step SS150 and step SS170 in FIG. 11, it is determined whether or not the calculated writing direction in the first direction 4 matches the set writing direction. Thereby, it is possible to reliably identify which sense coil is a sense coil related to generation of a correct character string.

また、本実施形態では特に、上記のようにして生成されたペン位置データ列Dに基づくストロークデータを、当該ストロークデータに含まれる文字データごとに区別して認識する(図11のステップSS100を参照)。そして、このようにして認識される文字データの追加挙動に基づき、電子ペン2による筆記方向を算出する。すなわち、ストロークデータに含まれる文字データを切り出し、新たな文字データがどの向きに追加されていくかを認識することにより、筆記方向を確実に算出することができる。   In the present embodiment, in particular, stroke data based on the pen position data string D generated as described above is recognized separately for each character data included in the stroke data (see step SS100 in FIG. 11). . Then, the writing direction by the electronic pen 2 is calculated based on the additional behavior of the character data recognized in this way. That is, the writing direction can be reliably calculated by cutting out character data included in the stroke data and recognizing in which direction new character data is added.

なお、本発明は、上記実施形態に限られるものではなく、その趣旨及び技術的思想を逸脱しない範囲内で、種々の変形が可能である。以下、そのような変形例を説明する。   The present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit and technical idea of the present invention. Hereinafter, such modifications will be described.

(A)誤ったストロークデータを反転して蓄積する場合
上記実施形態においては、算出筆記方向が設定筆記方向と一致しない誤ったストロークデータについては保存せずクリアしていたが、これに限られない。すなわち、誤ったストロークデータを鏡像変換処理して正しく修正する形で保存するようにしてもよい。
(A) When erroneous stroke data is inverted and stored In the above embodiment, erroneous stroke data whose calculated writing direction does not match the set writing direction is cleared without being saved, but is not limited thereto. . In other words, incorrect stroke data may be stored in a form of correct correction by mirror image conversion.

本変形例において、座標検出装置3のCPU80aで行われる制御処理の内容を、図17、図18、及び図19により順を追って説明する。なお、前述の図11〜図13と同等の手順には同一の符号を付し、適宜説明を省略する。   In the present modification, the contents of the control process performed by the CPU 80a of the coordinate detection device 3 will be described in order with reference to FIG. 17, FIG. 18, and FIG. In addition, the same code | symbol is attached | subjected to the procedure equivalent to above-mentioned FIGS. 11-13, and description is abbreviate | omitted suitably.

図17、図18、及び図19において、この処理は、使用者が座標検出装置3の電源をオンした場合に開始される。まず、図17に示すように、CPU80aは、前述の図11と同様のステップSS10及びステップSS20を経て電子ペン2による筆記方向に関する設定入力を行った後、ステップSS25に移る。   17, 18, and 19, this process is started when the user turns on the coordinate detection device 3. First, as illustrated in FIG. 17, the CPU 80 a performs setting input related to the writing direction with the electronic pen 2 through the same step SS10 and step SS20 as in FIG. 11 described above, and then proceeds to step SS25.

ステップSS25では、CPU80aは、後述の鏡像フラグFmを0に初期化する。その後のステップSS30及びステップSS40は、前述の図11と同様であり、前述の信号S14(図2参照)から一定値以上のコイル出力得られたら、ステップSS55に移る。   In step SS25, the CPU 80a initializes a mirror image flag Fm described later to 0. Subsequent steps SS30 and SS40 are the same as those in FIG. 11 described above, and when a coil output of a predetermined value or more is obtained from the signal S14 (see FIG. 2), the process proceeds to step SS55.

ステップSS55では、CPU80aは、前述のステップSS30でセンスコイル部110L,110Rのスキャン処理を開始してから、最初に、一定値以上のコイル出力を得られた上記信号S14に対応したセンスコイル、言い換えれば、最初に、電子ペン2から発生された磁界を受信したセンスコイル、を含むセンスコイル部110が、左側センスコイル部110L及び右側センスコイル部110Rのうち、どちらであるかを検出する。そして、磁界を受信したセンスコイルを含むセンスコイル部110とは反対側のセンスコイル部110のスキャン処理を停止し、磁界を受信したセンスコイルを含むセンスコイル部110のスキャン処理のみ継続する。   In step SS55, the CPU 80a starts the scan processing of the sense coil units 110L and 110R in the above-described step SS30, and first, the sense coil corresponding to the signal S14 that has obtained a coil output of a certain value or more, in other words, For example, first, the sense coil unit 110 including the sense coil that has received the magnetic field generated from the electronic pen 2 detects which of the left sense coil unit 110L and the right sense coil unit 110R is. Then, the scan process of the sense coil unit 110 opposite to the sense coil unit 110 including the sense coil that has received the magnetic field is stopped, and only the scan process of the sense coil unit 110 that includes the sense coil that has received the magnetic field is continued.

その後、ステップSS72で、CPU80aは、この時点でスキャン処理が実行されているセンスコイル部110のスキャン結果、すなわち当該センスコイル部110のセンスコイルでの磁界の受信結果に基づき、前述した(1)(2)の手法により電子ペン2の座標データ(x,y)を算出する。具体的には、左側センスコイル部110Lのスキャン処理が継続されている場合には、CPU80aは、当該左側センスコイル部110Lの左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に基づき、電子ペン2の座標データ(x,y)を算出する。一方、右側センスコイル部110Rのスキャン処理が継続されている場合には、CPU80aは、当該右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき、電子ペン2の座標データ(x,y)を算出する。   Thereafter, in step SS72, the CPU 80a, based on the scan result of the sense coil unit 110 for which the scan process is being executed at this time, that is, the reception result of the magnetic field in the sense coil of the sense coil unit 110, is described above (1). The coordinate data (x, y) of the electronic pen 2 is calculated by the method (2). Specifically, when the scanning process of the left sense coil unit 110L is continued, the CPU 80a is based on the reception result of the magnetic field in the left sense coils LX1 to LXm and LY1 to LYn of the left sense coil unit 110L. The coordinate data (x, y) of the electronic pen 2 is calculated. On the other hand, when the scanning process of the right sense coil unit 110R is continued, the CPU 80a, based on the reception result of the magnetic field in the right sense coils RX1 to RXm, RY1 to RYn, the coordinate data (x , Y).

そして、ステップSS82に移り、CPU80aは、上記ステップSS72で算出された座標データ(x,y)を用いてペン位置データ列Dを生成する。具体的には、左側センスコイル部110Lのスキャン処理が継続されている場合には、左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に基づき算出された座標データ(x,y)を用いて、前述の第1ペン位置データ列D1を生成する。一方、右側センスコイル部110Rのスキャン処理が継続されている場合には、右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に基づき算出された座標データ(x,y)を用いて、前述の第2ペン位置データ列D2を生成する。このようにして生成した第1ペン位置データ列D1若しくは第2ペン位置データ列D2は、マイコン80のRAM80cに一時的に保存される。   Then, the process proceeds to step SS82, and the CPU 80a generates a pen position data string D using the coordinate data (x, y) calculated in step SS72. Specifically, when the scanning process of the left sense coil unit 110L is continued, the coordinate data (x, y) calculated based on the reception results of the magnetic fields in the left sense coils LX1 to LXm and LY1 to LYn. Is used to generate the first pen position data sequence D1 described above. On the other hand, when the scanning process of the right sense coil unit 110R is continued, the coordinate data (x, y) calculated based on the magnetic field reception results of the right sense coils RX1 to RXm and RY1 to RYn are used. The second pen position data sequence D2 is generated. The first pen position data string D1 or the second pen position data string D2 generated in this way is temporarily stored in the RAM 80c of the microcomputer 80.

その後、ステップSS92で、CPU80aは、上記ステップSS82でペン位置データ列Dが生成されてから所定時間が経過したかどうかを判定する。所定時間が経過するまではステップSS92の判定が満たされず、上記ステップSS72及びステップSS82を繰り返し実行し、第1ペン位置データ列D1若しくは第2ペン位置データ列D2をRAM80cに蓄積する。そして、所定時間が経過したら、ステップSS92の判定が満たされて、ステップSS102に移る。   Thereafter, in step SS92, the CPU 80a determines whether or not a predetermined time has elapsed since the pen position data string D was generated in step SS82. Until the predetermined time elapses, the determination in step SS92 is not satisfied, and step SS72 and step SS82 are repeatedly executed, and the first pen position data string D1 or the second pen position data string D2 is stored in the RAM 80c. When the predetermined time has elapsed, the determination at Step SS92 is satisfied, and the routine goes to Step SS102.

ステップSS102では、CPU80aは、上記ステップSS82で生成されRAM80cに蓄積されたペン位置データ列Dに基づくストロークデータを、公知の適宜の手法を用いて、当該ストロークデータに含まれる文字データごとに区別して認識する。なお、このステップSS102の手順が、各請求項記載の文字認識手段として機能する。   In step SS102, the CPU 80a distinguishes the stroke data based on the pen position data string D generated in step SS82 and stored in the RAM 80c for each character data included in the stroke data using a known appropriate method. recognize. In addition, the procedure of this step SS102 functions as the character recognition means described in each claim.

そして、ステップSS112に移り、CPU80aは、前述した手法により、上記ステップSS82で生成されRAM80cに蓄積されたペン位置データ列Dに基づくストロークデータに対応した算出筆記方向を算出する。具体的には、左側センスコイル部110Lのスキャン処理が継続されている場合には、CPU80aは、第1ペン位置データ列D1に基づく第1ストロークデータに対応した第1算出筆記方向を算出する。一方、右側センスコイル部110Rのスキャン処理が継続されている場合には、CPU80aは、第2ペン位置データ列D2に基づく第2ストロークデータに対応した第2算出筆記方向を算出する。なお、このステップSS112の手順が、各請求項記載の筆記方向算出手段として機能する。   Then, the process proceeds to Step SS112, and the CPU 80a calculates the calculated writing direction corresponding to the stroke data based on the pen position data string D generated in Step SS82 and stored in the RAM 80c by the method described above. Specifically, when the scanning process of the left sense coil unit 110L is continued, the CPU 80a calculates the first calculated writing direction corresponding to the first stroke data based on the first pen position data string D1. On the other hand, when the scan processing of the right sense coil unit 110R is continued, the CPU 80a calculates the second calculated writing direction corresponding to the second stroke data based on the second pen position data sequence D2. In addition, the procedure of this step SS112 functions as a writing direction calculation means described in each claim.

その後、ステップSS122で、CPU80aは、上記ステップSS112で算出された算出筆記方向に係わる書字方向WDが、上記第1方向4に沿った方向であるかどうかを判定する。算出筆記方向に係わる書字方向WDが第1方向4に沿った方向である場合には、ステップSS122の判定が満たされて、ステップSS132に移る。   Thereafter, in step SS122, the CPU 80a determines whether or not the writing direction WD related to the calculated writing direction calculated in step SS112 is a direction along the first direction 4. If the writing direction WD related to the calculated writing direction is the direction along the first direction 4, the determination at Step SS122 is satisfied, and the routine goes to Step SS132.

ステップSS132では、CPU80aは、上記ステップSS112で算出された算出筆記方向に係わる書字方向WDを判別する。すなわち、このステップSS132では、CPU80aは、上記ステップSS112で算出された算出筆記方向のうち、上記第1方向4に係わる算出筆記方向である書字方向WDを判別しているのである。その後、後述のステップSS152に移る。   In step SS132, the CPU 80a determines the writing direction WD related to the calculated writing direction calculated in step SS112. That is, in step SS132, the CPU 80a determines the writing direction WD that is the calculated writing direction related to the first direction 4 among the calculated writing directions calculated in step SS112. Thereafter, the process proceeds to Step SS152 described later.

一方、ステップSS122において、算出筆記方向に係わる書字方向WDが第1方向4に沿った方向でなかった場合、すなわち算出筆記方向係わる書字方向WDが上記第2方向5に沿った方向であった場合には、ステップSS122の判定が満たされず、ステップSS142に移る。   On the other hand, in step SS122, when the writing direction WD related to the calculated writing direction is not the direction along the first direction 4, that is, the writing direction WD related to the calculated writing direction is the direction along the second direction 5. If YES in step SS122, the determination in step SS122 is not satisfied, and the process proceeds to step SS142.

ステップSS142では、CPU80aは、上記ステップSS112で算出された算出筆記方向に係わる行進行方向LDを判別する。すなわち、このステップSS142では、CPU80aは、上記ステップSS112で算出された算出筆記方向のうち、上記第1方向4に係わる算出筆記方向である行進行方向LDを判別しているのである。   In step SS142, the CPU 80a determines the line progression direction LD related to the calculated writing direction calculated in step SS112. That is, in this step SS142, the CPU 80a determines the line progression direction LD that is the calculated writing direction related to the first direction 4 among the calculated writing directions calculated in step SS112.

そして、ステップSS152に移り、CPU80aは、上記ステップSS112で算出された算出筆記方向のうち、上記第1方向4に係わる算出筆記方向と、前述のステップSS20で設定された設定筆記方向とが、一致するか否かを判定する。具体的には、左側センスコイル部110Lのスキャン処理が継続されている場合には、CPU80aは、上記第1方向4に係わる第1算出筆記方向と、前述の設定筆記方向とが、一致するか否かを判定する。一方、右側センスコイル部110Rのスキャン処理が継続されている場合には、CPU80aは、上記第1方向4に係わる第2算出筆記方向と、前述の設定筆記方向とが、一致するか否かを判定する。第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致する場合、若しくは、第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致する場合には、ステップSS152の判定が満たされて、後述のステップSS212に移る。一方、第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致しない場合、若しくは、第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致しない場合には、ステップSS152の判定が満たされず、ステップSS172に移る。   Then, the process proceeds to Step SS152, and the CPU 80a matches the calculated writing direction related to the first direction 4 among the calculated writing directions calculated in Step SS112 and the set writing direction set in Step SS20 described above. It is determined whether or not to do. Specifically, when the scanning process of the left sense coil unit 110L is continued, the CPU 80a determines whether the first calculated writing direction related to the first direction 4 matches the set writing direction described above. Determine whether or not. On the other hand, when the scanning process of the right sense coil unit 110R is continued, the CPU 80a determines whether or not the second calculated writing direction related to the first direction 4 matches the above-described set writing direction. judge. If the first calculated writing direction related to the first direction 4 matches the set writing direction, or if the second calculated writing direction related to the first direction 4 matches the set writing direction, the determination in step SS152 Is satisfied, and the routine goes to Step SS212 described later. On the other hand, if the first calculated writing direction related to the first direction 4 does not match the set writing direction, or if the second calculated writing direction related to the first direction 4 does not match the set writing direction, step SS152. This determination is not satisfied, and the routine goes to Step SS172.

ステップSS172では、CPU80aは、上記ステップSS112で算出された算出筆記方向のうち、上記第1方向4に係わる算出筆記方向の反対方向と、前述のステップSS20で設定された設定筆記方向とが、一致するか否かを判定する。具体的には、左側センスコイル部110Lのスキャン処理が継続されている場合には、CPU80aは、上記第1方向4に係わる第1算出筆記方向の反対方向と、前述の設定筆記方向とが、一致するか否かを判定する。一方、右側センスコイル部110Rのスキャン処理が継続されている場合には、CPU80aは、上記第1方向4に係わる第2算出筆記方向の反対方向と、前述の設定筆記方向とが、一致するか否かを判定する。   In Step SS172, the CPU 80a matches the calculated writing direction related to the first direction 4 among the calculated writing directions calculated in Step SS112 and the set writing direction set in Step SS20 described above. It is determined whether or not to do. Specifically, when the scan processing of the left sense coil unit 110L is continued, the CPU 80a determines that the opposite direction of the first calculated writing direction related to the first direction 4 and the above-described set writing direction are It is determined whether or not they match. On the other hand, when the scanning process of the right sense coil unit 110R is continued, the CPU 80a determines whether the opposite direction of the second calculated writing direction related to the first direction 4 matches the set writing direction described above. Determine whether or not.

ステップSS172において、第1方向4に係わる第1算出筆記方向の反対方向と設定筆記方向とが一致する場合、若しくは、第1方向4に係わる第2算出筆記方向の反対方向と設定筆記方向とが一致する場合には、ステップSS172の判定が満たされて、ステップSS174に移る。   In step SS172, when the opposite direction of the first calculated writing direction related to the first direction 4 matches the set writing direction, or the opposite direction of the second calculated writing direction related to the first direction 4 and the set writing direction are If they match, the determination at step SS172 is satisfied, and the routine goes to step SS174.

ステップSS174では、CPU80aは、生成されるストロークデータが鏡像文字のデータとなっていることを表す鏡像フラグFmを1とする。その後、図18に示すステップSS212に移る。   In step SS174, the CPU 80a sets the mirror image flag Fm indicating that the generated stroke data is mirror image character data to 1. Thereafter, the process proceeds to step SS212 shown in FIG.

図18に示すように、ステップSS212では、CPU80aは、上記ステップSS72と同様に、この時点でスキャン処理が実行されているセンスコイル部110のスキャン結果に基づき、電子ペン2の座標データ(x,y)を算出する。   As shown in FIG. 18, in step SS212, as in step SS72, the CPU 80a, based on the scan result of the sense coil unit 110 that is executing the scan process at this time, coordinates data (x, y) is calculated.

そして、ステップSS222に移り、CPU80aは、上記ステップSS82と同様に、上記ステップSS212で算出された座標データ(x,y)を用いてペン位置データ列Dを生成する。   Then, the process proceeds to step SS222, and the CPU 80a generates the pen position data sequence D using the coordinate data (x, y) calculated in step SS212, similarly to step SS82.

その後のステップSS230は、前述の図12とほぼ同様であり、CPU80aは、使用者により前述のページ切替ボタンを用いたページ送り操作がなされたかどうかを判定する。使用者によるページ切り替え操作がなされない間はステップSS230の判定が満たされず、上記ステップSS212及びステップSS222を繰り返し実行し、第1ペン位置データ列D1若しくは第2ペン位置データ列D2をRAM80cに蓄積する。そして、使用者によるページ切り替え操作がなされたら、ステップSS230の判定が満たされて、ステップSS235に移る。   Subsequent Step SS230 is substantially the same as that in FIG. 12 described above, and the CPU 80a determines whether or not the user has performed a page turning operation using the above-described page switching button. While the page switching operation by the user is not performed, the determination at Step SS230 is not satisfied, and Step SS212 and Step SS222 are repeatedly executed, and the first pen position data string D1 or the second pen position data string D2 is stored in the RAM 80c. . If the user performs a page switching operation, the determination at step SS230 is satisfied, and the routine goes to step SS235.

ステップSS235では、CPU80aは、上記鏡像フラグFmが1であるかどうかを判定する。Fm=0である場合には、ステップSS235の判定が満たされず、ステップSS240Aに移る。   In step SS235, the CPU 80a determines whether or not the mirror image flag Fm is 1. If Fm = 0, the determination at step SS235 is not satisfied, and the routine goes to step SS240A.

ステップSS240Aでは、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列Dを、フラッシュメモリ72に保存する。具体的には、左側センスコイル部110Lのスキャン処理が継続され、上記ステップSS152において第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致すると判定された場合には、CPU80aは、この時点で生成済みでかつRAM80cに保存された第1ペン位置データ列D1を、フラッシュメモリ72に保存する。一方、右側センスコイル部110Rのスキャン処理が継続され、上記ステップSS152において第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致すると判定された場合には、CPU80aは、この時点で生成済みでかつRAM80cに保存された第2ペン位置データ列D2を、フラッシュメモリ72に保存する。その後、上記図17のステップSS30に戻り、同様の手順を繰り返す。   In Step SS240A, the CPU 80a stores the pen position data string D that has been generated at this time and stored in the RAM 80c in the flash memory 72. Specifically, the scanning process of the left sense coil unit 110L is continued, and if it is determined in step SS152 that the first calculated writing direction and the set writing direction related to the first direction 4 match, the CPU 80a The first pen position data string D1 that has been generated and stored in the RAM 80c at this time is stored in the flash memory 72. On the other hand, if the scan processing of the right sense coil unit 110R is continued and it is determined in step SS152 that the second calculated writing direction and the set writing direction related to the first direction 4 match, the CPU 80a at this time The second pen position data string D2 that has been generated and saved in the RAM 80c is saved in the flash memory 72. Thereafter, the process returns to step SS30 in FIG. 17 and the same procedure is repeated.

一方、ステップSS235において、Fm=1である場合には、ステップSS235の判定が満たされて、ステップSS237に移る。   On the other hand, if Fm = 1 in Step SS235, the determination in Step SS235 is satisfied, and the routine goes to Step SS237.

ステップSS237では、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列Dに基づくストロークデータを、上記ステップSS112で算出された算出筆記方向のうち、上記第1方向4に係わる算出筆記方向に沿って反転する鏡像変換処理を行う。具体的には、左側センスコイル部110Lのスキャン処理が継続され、上記ステップSS172において第1方向4に係わる第1算出筆記方向の反対方向と設定筆記方向とが一致すると判定された場合には、CPU80aは、この時点で生成済みでかつRAM80cに保存された第1ペン位置データ列D1に基づく第1ストロークデータを、上記第1方向4に係わる第1算出筆記方向に沿って反転する鏡像変換処理を行う。一方、右側センスコイル部110Rのスキャン処理が継続され、上記ステップSS172において第1方向4に係わる第2算出筆記方向の反対方向と設定筆記方向とが一致すると判定された場合には、CPU80aは、この時点で生成済みでかつRAM80cに保存された第2ペン位置データ列D2に基づく第2ストロークデータを、上記第1方向4に係わる第2算出筆記方向に沿って反転する鏡像変換処理を行う。なお、このステップSS237の手順が、各請求項記載の変換手段として機能する。   In step SS237, the CPU 80a relates the stroke data based on the pen position data string D that has been generated at this time and stored in the RAM 80c to the first direction 4 among the calculated writing directions calculated in step SS112. Mirror image conversion processing that is reversed along the calculated writing direction is performed. Specifically, the scanning process of the left sense coil unit 110L is continued, and when it is determined in step SS172 that the opposite direction of the first calculated writing direction with respect to the first direction 4 matches the set writing direction, The CPU 80a mirrors the first stroke data based on the first pen position data string D1 generated at this time and stored in the RAM 80c along the first calculated writing direction related to the first direction 4. I do. On the other hand, when the scanning process of the right sense coil unit 110R is continued and it is determined in step SS172 that the direction opposite to the second calculated writing direction related to the first direction 4 matches the set writing direction, the CPU 80a A mirror image conversion process for inverting the second stroke data based on the second pen position data string D2 that has been generated at this time and stored in the RAM 80c along the second calculated writing direction related to the first direction 4 is performed. In addition, the procedure of this step SS237 functions as the conversion means described in each claim.

そして、ステップSS240Bに移り、CPU80aは、上記ステップSS237で鏡像変換処理後の第1ストロークデータ若しくは第2ストロークデータを、フラッシュメモリ72に保存する。その後、上記図17のステップSS30に戻り、同様の手順を繰り返す。   Then, the process proceeds to Step SS240B, and the CPU 80a stores the first stroke data or the second stroke data after the mirror image conversion process in Step SS237 in the flash memory 72. Thereafter, the process returns to step SS30 in FIG. 17 and the same procedure is repeated.

図17に戻り、ステップSS172において、第1方向4に係わる第1算出筆記方向の反対方向と設定筆記方向とが一致しない場合、若しくは、第1方向4に係わる第2算出筆記方向の反対方向と設定筆記方向とが一致しない場合には、ステップSS172の判定が満たされず、図19に示すステップSS250に移る。   Returning to FIG. 17, in step SS 172, when the opposite direction of the first calculated writing direction in the first direction 4 does not match the set writing direction, or the opposite direction of the second calculated writing direction in the first direction 4. If the set writing direction does not match, the determination at step SS172 is not satisfied, and the routine goes to step SS250 shown in FIG.

図19に示すように、ステップSS250、ステップSS260、ステップSS270、ステップSS280、ステップSS290は、前述の図13と同様である。ステップSS290において、CPU80aが所定のエラー画面用の表示信号を生成し、表示部76へ出力したら、ステップSS295に移る。   As shown in FIG. 19, Step SS250, Step SS260, Step SS270, Step SS280, and Step SS290 are the same as those in FIG. In step SS290, when the CPU 80a generates a display signal for a predetermined error screen and outputs it to the display unit 76, the process proceeds to step SS295.

ステップSS295では、CPU80aは、前述のステップSS30と同様に、センスコイル部110L,110Rのスキャン処理を開始すなわち再開する。   In Step SS295, the CPU 80a starts, that is, restarts the scan processing of the sense coil units 110L and 110R, similarly to Step SS30 described above.

その後のステップSS300、ステップSS310、ステップSS320、及びステップSS330は、前述の図13と同様であるので、説明を省略する。なお、このフローは、例えば使用者が座標検出装置3の電源をオフにした場合に終了する。   Subsequent Step SS300, Step SS310, Step SS320, and Step SS330 are the same as those in FIG. This flow ends when, for example, the user turns off the power of the coordinate detection device 3.

なお、上記において、図17のステップSS30及びステップSS72と、図18のステップSS212と、図19のステップSS295及びステップSS300との手順が、各請求項記載の位置取得手段として機能する。また、図17のステップSS82と、図16のステップSS222と、図19のステップSS310との手順が、ストロークデータ生成手段として機能する。さらに、図17のステップSS152及びステップSS172の手順が、筆記方向判定手段として機能する。またさらに、図18のステップSS240A及びステップSS240Bの手順が、データ記憶手段として機能する。   In the above, the procedures of Step SS30 and Step SS72 in FIG. 17, Step SS212 in FIG. 18, Step SS295 and Step SS300 in FIG. 19 function as the position acquisition means described in each claim. Further, the procedure of Step SS82 in FIG. 17, Step SS222 in FIG. 16, and Step SS310 in FIG. 19 functions as a stroke data generation unit. Furthermore, the procedure of step SS152 and step SS172 of FIG. 17 functions as a writing direction determination unit. Furthermore, the procedure of step SS240A and step SS240B of FIG. 18 functions as a data storage unit.

ここで、前述したように、左側センスコイルLX1〜LXm,LY1〜LYnでの磁界の受信結果に対応して生成された上記設定筆記方向と一致しない第1ペン位置データ列D1(第1ストロークデータ)、若しくは、右側センスコイルRX1〜RXm,RY1〜RYnでの磁界の受信結果に対応して生成された上記設定筆記方向と一致しない第2ペン位置データ列D2(第2ストロークデータ)は、本来使用者が筆記した文字列の鏡像文字のデータとなっている。本変形例においては、上記に対応し、上記のように算出筆記方向が設定筆記方向と一致しないペン位置データ列を、鏡像変換処理する(図18のステップSS237を参照)。これにより、誤ったストロークデータを削除せず正しく修正する形で、正しいストロークデータを確実に生成することができる。   Here, as described above, the first pen position data sequence D1 (first stroke data) that does not match the set writing direction generated corresponding to the reception results of the magnetic fields in the left sense coils LX1 to LXm, LY1 to LYn. ) Or the second pen position data sequence D2 (second stroke data) that does not coincide with the set writing direction generated corresponding to the magnetic field reception results of the right-side sense coils RX1 to RXm, RY1 to RYn, This is mirror image character data of a character string written by the user. In this modified example, the pen position data string corresponding to the above and whose calculated writing direction does not match the set writing direction as described above is subjected to mirror image conversion processing (see step SS237 in FIG. 18). Thus, correct stroke data can be reliably generated in the form of correct correction without deleting erroneous stroke data.

(B)ページ切り替えを自動で行う場合
以上においては、使用者によりページ切替ボタンを用いたページ送り操作がなされることによって、電子ファイルのページを切り替えていたが、これに限られず、ページ移行を検出して、電子ファイルのページを切り替えるようにしてもよい。
(B) When switching pages automatically In the above description, the page of the electronic file has been switched by the page turning operation using the page switching button by the user. However, the present invention is not limited to this. It may be detected and the page of the electronic file may be switched.

本変形例において、座標検出装置3のCPU80aで行われる制御処理の内容を、図20、図21、図22、及び図23により順を追って説明する。なお、前述の図11〜図13と同等の手順には同一の符号を付し、適宜説明を省略する。   In the present modification, the contents of the control process performed by the CPU 80a of the coordinate detection device 3 will be described in order with reference to FIG. 20, FIG. 21, FIG. 22, and FIG. In addition, the same code | symbol is attached | subjected to the procedure equivalent to above-mentioned FIGS. 11-13, and description is abbreviate | omitted suitably.

図20、図21、図22、及び図23において、この処理は、使用者が座標検出装置3の電源をオンした場合に開始される。まず、図20に示すように、CPU80aは、ステップSS10′で、前述のエラー変数Ceを0に初期化するとともに、電子ファイルのページ番号を表す変数Pn(以下適宜、単に「ページ番号Pn」と称する)を1に初期化する。   20, 21, 22, and 23, this process is started when the user turns on the coordinate detection device 3. First, as shown in FIG. 20, in step SS10 ′, the CPU 80a initializes the error variable Ce described above to 0, and also sets a variable Pn representing the page number of the electronic file (hereinafter simply referred to as “page number Pn” as appropriate). Is initialized to 1.

その後のステップSS20、ステップSS30、及びステップSS40は、前述の図11と同様である。ステップSS40において、前述の信号S14から一定値以上のコイル出力が得られたら、ステップSS50に移る。   Subsequent Step SS20, Step SS30, and Step SS40 are the same as those in FIG. In step SS40, if a coil output of a certain value or more is obtained from the signal S14, the process proceeds to step SS50.

ステップSS50は、前述の図11と同様であり、CPU80aは、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとの両方で、電子ペン2から発生された磁界が受信されたかどうかを判定する。ステップSS50において、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとのうち、どちらか一方のみで、電子ペン2から発生された磁界が受信された場合には、ステップSS50の判定が満たされず、ステップSS60に移る。   Step SS50 is the same as that in FIG. 11 described above, and the CPU 80a is generated from the electronic pen 2 in both the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm, RY1 to RYn. Determine whether a magnetic field has been received. In Step SS50, when a magnetic field generated from the electronic pen 2 is received by only one of the left sense coils LX1 to LXm, LY1 to LYn and the right sense coils RX1 to RXm, RY1 to RYn. Is not satisfied in step SS50, and the process proceeds to step SS60.

ステップSS60は、前述の図11と同様であり、CPU80aは、電子ペン2から発生された磁界が受信されたセンスコイル側の筆記面31を、前述のアクティブページとして認識する。そして、図21に示すステップSS62に移る。   Step SS60 is the same as that in FIG. 11 described above, and the CPU 80a recognizes the writing surface 31 on the sense coil side that has received the magnetic field generated from the electronic pen 2 as the active page described above. Then, the process proceeds to step SS62 shown in FIG.

図21に示すように、ステップSS62では、CPU80aは、上記ステップSS60でアクティブページとして認識されなかった筆記面31側のセンスコイル部110のスキャン処理を停止し、上記ステップSS60でアクティブページとして認識された筆記面31側のセンスコイル部110のスキャン処理のみ継続する。   As shown in FIG. 21, in step SS62, the CPU 80a stops the scanning process of the sense coil unit 110 on the writing surface 31 side that has not been recognized as an active page in step SS60, and is recognized as an active page in step SS60. Only the scanning process of the sense coil unit 110 on the writing surface 31 side is continued.

その後、ステップSS64で、CPU80aは、上記ステップSS60でアクティブページとして認識された筆記面31側のセンスコイル部110のスキャン結果、すなわち当該センスコイル部110のセンスコイルでの磁界の受信結果に基づき、前述した(1)(2)の手法により電子ペン2の座標データ(x,y)を算出する。   Thereafter, in step SS64, the CPU 80a, based on the scan result of the sense coil unit 110 on the writing surface 31 side recognized as the active page in step SS60, that is, the reception result of the magnetic field in the sense coil of the sense coil unit 110, The coordinate data (x, y) of the electronic pen 2 is calculated by the methods (1) and (2) described above.

そして、ステップSS66に移り、CPU80aは、上記ステップSS64で算出された座標データ(x,y)を用いて、前述のペン位置データ列Dを生成して、RAM80cに一時的に保存する。   Then, the process proceeds to Step SS66, and the CPU 80a generates the above-described pen position data string D using the coordinate data (x, y) calculated in Step SS64, and temporarily stores it in the RAM 80c.

ステップSS68では、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列Dを、フラッシュメモリ72に保存する。その後、上記図20に示すステップSS30に戻り、同様の手順を繰り返す。   In step SS68, the CPU 80a stores the pen position data string D generated at this time and stored in the RAM 80c in the flash memory 72. Then, it returns to step SS30 shown in the said FIG. 20, and repeats the same procedure.

図20に戻り、ステップSS50において、左側センスコイルLX1〜LXm,LY1〜LYnと、右側センスコイルRX1〜RXm,RY1〜RYnとの両方で、電子ペン2から発生された磁界が受信された場合には、ステップSS50の判定が満たされて、ステップSS70に移る。   Returning to FIG. 20, when the magnetic field generated from the electronic pen 2 is received by both the left sense coils LX1 to LXm and LY1 to LYn and the right sense coils RX1 to RXm and RY1 to RYn in step SS50. If the determination at step SS50 is satisfied, the process proceeds to step SS70.

ステップSS70及びステップSS80は、前述の図11と同様である。ステップSS80において、前述のステップSS70で算出された座標データ(x,y)を用いてペン位置データ列D1,D2を生成して、マイコン80のRAM80cに一時的に保存したら、ステップSS85に移る。   Step SS70 and step SS80 are the same as those in FIG. In step SS80, the pen position data strings D1, D2 are generated using the coordinate data (x, y) calculated in step SS70 described above and temporarily stored in the RAM 80c of the microcomputer 80. Then, the process proceeds to step SS85.

ステップSS85では、CPU80aは、上記ステップSS80で生成されたペン位置データ列D1,D2、言い換えれば、第1ストロークデータ及び第2ストロークデータに対し、電子ファイルの各ページに対応したページ番号Pnを付与する。なお、このステップSS85の手順が、各請求項記載のページ付与手段として機能する。   In step SS85, the CPU 80a assigns a page number Pn corresponding to each page of the electronic file to the pen position data strings D1 and D2 generated in step SS80, in other words, the first stroke data and the second stroke data. To do. In addition, the procedure of this step SS85 functions as a page providing means described in each claim.

その後のステップSS90、ステップSS100、ステップSS110は、前述の図11と同様である。ステップSS110において、第1算出筆記方向及び第2算出筆記方向を算出したら、ステップSS113に移る。   Subsequent Step SS90, Step SS100, and Step SS110 are the same as those in FIG. If the first calculated writing direction and the second calculated writing direction are calculated in step SS110, the process proceeds to step SS113.

ステップSS113では、CPU80aは、上記ステップSS110で算出された算出筆記方向に係わる書字方向WDが、上記第1方向4に沿った方向であるかどうかを判定する。算出筆記方向に係わる書字方向WDが第1方向4に沿った方向である場合には、ステップSS113の判定が満たされて、ステップSS114に移る。   In Step SS113, the CPU 80a determines whether the writing direction WD related to the calculated writing direction calculated in Step SS110 is a direction along the first direction 4. If the writing direction WD related to the calculated writing direction is the direction along the first direction 4, the determination at Step SS113 is satisfied, and the routine goes to Step SS114.

ステップSS114では、CPU80aは、今回のステップSS110で算出された算出筆記方向に係わる書字方向WDが、前回のステップSS110で算出された算出筆記方向に係わる書字方向WDと逆方向であるか否かを判定する。これは実質的には、ステップSS110で算出された第1方向4に係わる筆記方向が変化したか否かを判定することに相当する。今回の算出筆記方向に係わる書字方向WDが前回の算出筆記方向に係わる書字方向WDと同一の方向である場合には、筆記面31すなわちページ移行が行われていないとみなされ、ステップSS114の判定が満たされず、上記ステップSS70に戻り、同様の手順を繰り返す。一方、今回の算出筆記方向に係わる書字方向WDが前回の算出筆記方向に係わる書字方向WDと逆方向である場合には、ページ移行が行われたとみなされ、ステップSS114の判定が満たされて、後述のステップSS117に移る。   In step SS114, the CPU 80a determines whether or not the writing direction WD related to the calculated writing direction calculated in the current step SS110 is opposite to the writing direction WD related to the calculated writing direction calculated in the previous step SS110. Determine whether. This substantially corresponds to determining whether or not the writing direction related to the first direction 4 calculated in step SS110 has changed. When the writing direction WD related to the current calculated writing direction is the same direction as the writing direction WD related to the previous calculated writing direction, it is considered that the writing surface 31, that is, the page is not shifted, and step SS 114. Is not satisfied, the process returns to step SS70 and the same procedure is repeated. On the other hand, if the writing direction WD related to the current calculated writing direction is opposite to the writing direction WD related to the previous calculated writing direction, it is considered that the page has been shifted, and the determination in step SS114 is satisfied. Then, the process proceeds to Step SS117 described later.

一方、ステップSS113において、算出筆記方向に係わる書字方向WDが第1方向4に沿った方向でなかった場合には、ステップSS113の判定が満たされず、ステップSS115に移る。   On the other hand, when the writing direction WD related to the calculated writing direction is not the direction along the first direction 4 in step SS113, the determination in step SS113 is not satisfied, and the process proceeds to step SS115.

ステップSS115では、CPU80aは、上記ステップSS110で算出された算出筆記方向に係わる行進行方向LDが、上記第1方向4に沿った方向であるかどうかを判定する。算出筆記方向に係わる行進行方向LDが第1方向4に沿った方向でない場合には、ステップSS115の判定が満たされず、後述の図23のステップSS250に移る。一方、算出筆記方向に係わる行進行方向LDが第1方向4に沿った方向である場合には、ステップSS115の判定が満たされて、ステップSS116に移る。   In step SS115, the CPU 80a determines whether or not the line traveling direction LD related to the calculated writing direction calculated in step SS110 is a direction along the first direction 4. If the line advancing direction LD related to the calculated writing direction is not the direction along the first direction 4, the determination at step SS115 is not satisfied, and the routine goes to step SS250 in FIG. On the other hand, when the line advancing direction LD related to the calculated writing direction is the direction along the first direction 4, the determination at Step SS115 is satisfied, and the routine goes to Step SS116.

ステップSS116では、CPU80aは、今回のステップSS110で算出された算出筆記方向に係わる行進行方向LDが、前回のステップSS110で算出された算出筆記方向に係わる行進行方向LDと逆方向であるか否かを判定する。これは実質的には、ステップSS110で算出された第1方向4に係わる筆記方向が変化したか否かを判定することに相当する。今回の算出筆記方向に係わる行進行方向LDが前回の算出筆記方向に係わる行進行方向LDと同一の方向である場合には、ページ移行が行われていないとみなされ、ステップSS116の判定が満たされず、上記ステップSS70に戻り、同様の手順を繰り返す。一方、今回の算出筆記方向に係わる行進行方向LDが前回の算出筆記方向に係わる行進行方向LDと逆方向である場合には、ページ移行が行われたとみなされ、ステップSS116の判定が満たされて、ステップSS117に移る。   In step SS116, the CPU 80a determines whether or not the line progress direction LD related to the calculated writing direction calculated in the current step SS110 is opposite to the line progress direction LD related to the calculated writing direction calculated in the previous step SS110. Determine whether. This substantially corresponds to determining whether or not the writing direction related to the first direction 4 calculated in step SS110 has changed. If the line progression direction LD related to the current calculated writing direction is the same direction as the line progression direction LD related to the previous calculated writing direction, it is considered that page transition has not been performed, and the determination in step SS116 is satisfied. If not, the process returns to step SS70 and the same procedure is repeated. On the other hand, if the line progress direction LD related to the current calculated writing direction is opposite to the line progress direction LD related to the previous calculated writing direction, it is considered that the page has been shifted, and the determination in step SS116 is satisfied. Then, the process proceeds to step SS117.

ステップSS117では、CPU80aは、上記ページ番号Pnに1を加える。これは実質的には、上記ステップSS85で付与されるページ番号を切り替えるように、制御することに相当する。これにより、この後に生成されるペン位置データ列Dは、電子ファイルにおける次のページへ記録される。その後、図22に示すステップSS118に移る。なお、このステップSS117の手順が、各請求項記載のページ切替手段に相当する。   In step SS117, the CPU 80a adds 1 to the page number Pn. This substantially corresponds to control so as to switch the page number assigned in step SS85. As a result, the pen position data string D generated thereafter is recorded on the next page in the electronic file. Thereafter, the process proceeds to step SS118 shown in FIG. The procedure of step SS117 corresponds to page switching means described in each claim.

図22に示すように、ステップSS118では、CPU80aは、前述した手法により、上記ステップSS114又はステップSS116で筆記方向が変化したと判定される前までに、上記ステップSS80で生成されRAM80cに蓄積されたペン位置データ列D1,D2、すなわち当該筆記方向が変化する前までのペン位置データ列D1,D2について、当該第1ペン位置データ列D1に基づく第1ストロークデータに対応した第1算出筆記方向を算出すると共に、当該第2ペン位置データ列D2に基づく第2ストロークデータに対応した第2算出筆記方向を算出する。   As shown in FIG. 22, in step SS118, the CPU 80a is generated in step SS80 and stored in the RAM 80c by the above-described method before it is determined that the writing direction is changed in step SS114 or SS116. For the pen position data strings D1 and D2, that is, the pen position data strings D1 and D2 before the writing direction is changed, the first calculated writing direction corresponding to the first stroke data based on the first pen position data string D1 is set. While calculating, the 2nd calculation writing direction corresponding to the 2nd stroke data based on the said 2nd pen position data sequence D2 is calculated.

そして、ステップSS124に移り、CPU80aは、上記ステップSS118で算出された第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが、上記第1方向4に沿った方向であるかどうかを判定する。第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが第1方向4に沿った方向である場合には、ステップSS124の判定が満たされて、ステップSS134に移る。   Then, the process proceeds to step SS124, and the CPU 80a determines whether or not the writing direction WD related to the first calculated writing direction and the second calculated writing direction calculated in step SS118 is a direction along the first direction 4. judge. If the writing direction WD related to the first calculated writing direction and the second calculated writing direction is a direction along the first direction 4, the determination in step SS124 is satisfied, and the process proceeds to step SS134.

ステップSS134では、CPU80aは、上記ステップSS118で算出された、第1算出筆記方向に係わる書字方向WD、及び、第2算出筆記方向に係わる書字方向WDをそれぞれ判別する。すなわち、このステップSS134では、上記ステップSS118で算出された第1算出筆記方向及び第2算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向及び第2算出筆記方向である書字方向WDをそれぞれ判別しているのである。その後、後述のステップSS154に移る。   In step SS134, the CPU 80a determines the writing direction WD related to the first calculated writing direction and the writing direction WD related to the second calculated writing direction calculated in step SS118. That is, in step SS134, the first calculated writing direction and the second calculated writing direction related to the first direction 4 out of the first calculated writing direction and the second calculated writing direction calculated in step SS118. Each direction WD is determined. Thereafter, the process proceeds to Step SS154 described later.

一方、ステップSS124において、第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが第1方向4に沿った方向でなかった場合、すなわち第1算出筆記方向及び第2算出筆記方向に係わる書字方向WDが上記第2方向5に沿った方向であった場合には、ステップSS124の判定が満たされず、ステップSS144に移る。   On the other hand, in step SS124, when the writing direction WD related to the first calculated writing direction and the second calculated writing direction is not the direction along the first direction 4, that is, in the first calculated writing direction and the second calculated writing direction. If the writing direction WD concerned is a direction along the second direction 5, the determination at step SS124 is not satisfied, and the routine goes to step SS144.

ステップSS144では、CPU80aは、上記ステップSS118で算出された、第1算出筆記方向に係わる行進行方向LD、及び、第2算出筆記方向に係わる行進行方向LDをそれぞれ判別する。すなわち、このステップSS144では、上記ステップSS118で算出された第1算出筆記方向及び第2算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向及び第2算出筆記方向である行進行方向LDをそれぞれ判別しているのである。   In step SS144, the CPU 80a determines the line progression direction LD related to the first calculated writing direction and the line progression direction LD related to the second calculated writing direction, respectively, calculated in step SS118. That is, in this step SS144, among the first calculated writing direction and the second calculated writing direction calculated in step SS118, the line progress is the first calculated writing direction and the second calculated writing direction related to the first direction 4. Each direction LD is discriminated.

そして、ステップSS154に移り、CPU80aは、上記ステップSS118で算出された第1算出筆記方向のうち、上記第1方向4に係わる第1算出筆記方向と、前述のステップSS20で設定された設定筆記方向とが、一致するか否かを判定する。第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致する場合には、ステップSS154の判定が満たされて、ステップSS164に移る。   Then, the process proceeds to Step SS154, and the CPU 80a, among the first calculated writing directions calculated in Step SS118, the first calculated writing direction related to the first direction 4 and the set writing direction set in Step SS20 described above. Are in agreement with each other. If the first calculated writing direction related to the first direction 4 matches the set writing direction, the determination at step SS154 is satisfied, and the routine goes to step SS164.

ステップSS164では、CPU80aは、左側シート部10L側の左筆記面31Lを、前述のアクティブページとして認識する。その後、後述のステップSS194に移る。   In step SS164, the CPU 80a recognizes the left writing surface 31L on the left sheet portion 10L side as the above-described active page. Thereafter, the process proceeds to Step SS194 described later.

一方、ステップSS154において、第1方向4に係わる第1算出筆記方向と設定筆記方向とが一致しない場合には、ステップSS154の判定が満たされず、ステップSS174に移る。   On the other hand, if the first calculated writing direction and the set writing direction related to the first direction 4 do not match in step SS154, the determination in step SS154 is not satisfied, and the process proceeds to step SS174.

ステップSS174では、CPU80aは、上記ステップSS118で算出された第2算出筆記方向のうち、上記第1方向4に係わる第2算出筆記方向と、前述のステップSS20で設定された設定筆記方向とが、一致するか否かを判定する。第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致する場合には、ステップSS174の判定が満たされて、ステップSS184に移る。   In step SS174, the CPU 80a determines that the second calculated writing direction related to the first direction 4 among the second calculated writing directions calculated in step SS118 and the set writing direction set in step SS20 described above are: It is determined whether or not they match. If the second calculated writing direction related to the first direction 4 matches the set writing direction, the determination at Step SS174 is satisfied, and the routine goes to Step SS184.

ステップSS184では、CPU80aは、右側シート部10R側の右筆記面31Rを、前述のアクティブページとして認識する。   In step SS184, the CPU 80a recognizes the right writing surface 31R on the right sheet portion 10R side as the above-described active page.

その後、ステップSS194で、CPU80aは、この時点でRAM80cに蓄積されているペン位置データ列D1,D2のうち、上記ステップSS164又はステップSS184でアクティブページとして認識されなかったノンアクティブページ側のセンスコイルに対応したペン位置データ列Dをクリアする。具体的には、上記ステップSS154において上記第1方向4に係わる第1算出筆記方向が設定筆記方向と一致すると判定され、左筆記面31Lがアクティブページとして認識された場合には、CPU80aは、反対側の右筆記面31R側の右側センスコイルRX1〜RXm,RY1〜RYnに対応した第2ペン位置データ列D2をクリアする。一方、上記ステップSS174において上記第1方向4に係わる第2算出筆記方向が設定筆記方向と一致すると判定され、右筆記面31Rがアクティブページとして認識された場合には、CPU80aは、反対側の左筆記面31L側の左側センスコイルLX1〜LXm,LY1〜LYnに対応した第1ペン位置データ列D1をクリアする。このステップSS194の手順が、各請求項記載のデータ消去手段として機能する。   After that, in step SS194, the CPU 80a applies the sense coil on the non-active page side that has not been recognized as the active page in step SS164 or step SS184 among the pen position data strings D1 and D2 stored in the RAM 80c at this time. The corresponding pen position data string D is cleared. Specifically, when it is determined in step SS154 that the first calculated writing direction related to the first direction 4 matches the set writing direction, and the left writing surface 31L is recognized as an active page, the CPU 80a is opposite. The second pen position data string D2 corresponding to the right sense coils RX1 to RXm and RY1 to RYn on the right writing surface 31R side is cleared. On the other hand, when it is determined in step SS174 that the second calculated writing direction related to the first direction 4 matches the set writing direction and the right writing surface 31R is recognized as an active page, the CPU 80a determines that the left side on the opposite side The first pen position data string D1 corresponding to the left-side sense coils LX1 to LXm and LY1 to LYn on the writing surface 31L side is cleared. The procedure of step SS194 functions as data erasing means described in each claim.

そして、ステップSS244に移り、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列D、すなわち上記ステップSS114又はステップSS116で筆記方向が変化したと判定される前までにRAM80cに保存されたペン位置データ列Dを、フラッシュメモリ72に保存する。具体的には、上記ステップSS154において上記第1方向4に係わる第1算出筆記方向が設定筆記方向と一致すると判定され、左筆記面31Lがアクティブページとして認識された場合には、CPU80aは、当該第1算出筆記方向に対応した、すなわち当該左筆記面31L側の左側センスコイルLX1〜LXm,LY1〜LYnに対応した第1ペン位置データ列D1をフラッシュメモリ72に保存する。一方、上記ステップSS174において上記第1方向4に係わる第2算出筆記方向が設定筆記方向と一致すると判定され、右筆記面31Rがアクティブページとして認識された場合には、CPU80aは、当該第2算出筆記方向に対応した、すなわち当該右筆記面31R側の右側センスコイルRX1〜RXm,RY1〜RYnに対応した第2ペン位置データ列D2をフラッシュメモリ72に保存する。そして、上記図20に示すステップSS30に戻り、同様の手順を繰り返す。なお、このステップSS244の手順が、各請求項記載のデータ記憶手段として機能する。   Then, the process proceeds to step SS244, and the CPU 80a stores the pen position data string D generated at this time and stored in the RAM 80c, that is, before the writing direction is determined to have changed in step SS114 or step SS116. The stored pen position data string D is stored in the flash memory 72. Specifically, when it is determined in step SS154 that the first calculated writing direction related to the first direction 4 matches the set writing direction and the left writing surface 31L is recognized as an active page, the CPU 80a The first pen position data string D1 corresponding to the first calculated writing direction, that is, corresponding to the left sense coils LX1 to LXm and LY1 to LYn on the left writing surface 31L side is stored in the flash memory 72. On the other hand, if it is determined in step SS174 that the second calculated writing direction related to the first direction 4 matches the set writing direction, and the right writing surface 31R is recognized as an active page, the CPU 80a performs the second calculation. The second pen position data string D2 corresponding to the writing direction, that is, corresponding to the right sense coils RX1 to RXm and RY1 to RYn on the right writing surface 31R side is stored in the flash memory 72. And it returns to step SS30 shown in the said FIG. 20, and repeats the same procedure. The procedure of step SS244 functions as data storage means described in each claim.

一方、ステップSS174において、第1方向4に係わる第2算出筆記方向と設定筆記方向とが一致する場合には、ステップSS174の判定が満たされず、図23に示すステップSS250に移る。   On the other hand, when the second calculated writing direction in the first direction 4 matches the set writing direction in step SS174, the determination in step SS174 is not satisfied, and the process proceeds to step SS250 shown in FIG.

ステップSS250、ステップSS260、ステップSS270、ステップSS280、ステップSS290、ステップSS300、ステップSS310は、前述の図13と同様である。ステップSS310において、前述のステップSS300で算出された座標データ(x,y)を用いてペン位置データ列D1,D2を生成し、RAM80cに一時的に保存したら、ステップSS334に移る。   Step SS250, step SS260, step SS270, step SS280, step SS290, step SS300, and step SS310 are the same as those in FIG. In step SS310, the pen position data strings D1 and D2 are generated using the coordinate data (x, y) calculated in step SS300 described above, and temporarily stored in the RAM 80c. Then, the process proceeds to step SS334.

ステップSS334では、CPU80aは、この時点で生成済みでかつRAM80cに保存されたペン位置データ列D1,D2を、フラッシュメモリ72に保存する。その後、上記図20に示すステップSS30に戻り、同様の手順を繰り返す。   In step SS334, the CPU 80a stores the pen position data strings D1 and D2 generated at this time and stored in the RAM 80c in the flash memory 72. Then, it returns to step SS30 shown in the said FIG. 20, and repeats the same procedure.

なお、上記において、図20のステップSS30及びステップSS70と、図21のステップSS64と、図23のステップSS300との手順が、各請求項記載の位置取得手段として機能する。また、図20のステップSS80と、図21のステップSS66と、図23のステップSS310との手順が、ストロークデータ生成手段として機能する。さらに、図20のステップSS110と、図22のステップSS118との手順が、筆記方向算出手段として機能する。またさらに、図22のステップSS154及びステップSS174の手順が、筆記方向判定手段として機能する。そして、図20のステップSS114及びステップSS116の手順が、筆記変化判定手段として機能する。   In the above, the procedures of Step SS30 and Step SS70 in FIG. 20, Step SS64 in FIG. 21, and Step SS300 in FIG. 23 function as position acquisition means described in each claim. Further, the procedure of Step SS80 in FIG. 20, Step SS66 in FIG. 21, and Step SS310 in FIG. 23 functions as a stroke data generation unit. Furthermore, the procedure of step SS110 of FIG. 20 and step SS118 of FIG. 22 functions as a writing direction calculation unit. Furthermore, the procedure of step SS154 and step SS174 of FIG. 22 functions as a writing direction determination unit. And the procedure of step SS114 of FIG. 20 and step SS116 functions as a writing change determination means.

ここで、使用者がノート30の筆記面31に対し文字列の筆記を行う際には、例えば、左筆記面31Lのページにおいて文字列を記載していき、当該ページが文字列で埋まり記載箇所がなくなった場合には、右筆記面31Rのページに文字列を新たに記載していくのが通常である。したがって、順次生成されフラッシュメモリ72に保存されるペン位置データ列D(ストロークデータ)も、上記ノート30と同様に、ページごとに整理可能な態様とすると使用者にとって便利である。   Here, when the user writes a character string on the writing surface 31 of the notebook 30, for example, the character string is described on the page of the left writing surface 31L, and the page is filled with the character string, and the description portion When there is no more, it is normal to write a new character string on the page of the right writing surface 31R. Accordingly, the pen position data sequence D (stroke data) that is sequentially generated and stored in the flash memory 72 is also convenient for the user if the pen position data sequence D (stroke data) can be organized for each page, as in the above note 30.

本変形例では、上記に対応して、ペン位置データ列Dに対しページ番号Pnを付与する。ここで、使用者が上記裏返し状態として使用しつつ実際の筆記が1つのページから次のページに移った場合、ペン位置データ列Dの上記第1方向4に係わる筆記方向は、当該ページ以降時に逆方向に切り替わる。そこで、本変形例では、図20のステップSS114及びステップSS116で、このような挙動に対応し、第1方向4に係わる算出筆記方向が変化したか否かを判定する。第1方向4に係わる筆記方向が変化したと判定された場合には、上記のような実際の筆記におけるページ移行が行われたとみなし、ペン位置データ列Dに付与するページ番号Pnが切り替えられる。   In this modification, a page number Pn is assigned to the pen position data string D in correspondence with the above. Here, when an actual writing moves from one page to the next page while the user is using the flipped state, the writing direction related to the first direction 4 of the pen position data string D is the time after the page. Switch in the opposite direction. Therefore, in this modification, it is determined in step SS114 and step SS116 in FIG. 20 whether or not the calculated writing direction related to the first direction 4 has changed corresponding to such behavior. When it is determined that the writing direction related to the first direction 4 has changed, it is considered that the page transition in the actual writing as described above has been performed, and the page number Pn assigned to the pen position data string D is switched.

以上のようにして、本変形例においては、筆記動作に伴うペン位置データ列Dの変化挙動を利用し、ペン位置データ列Dに付与されるページ番号を自動的に切り替えることができる。   As described above, in this modification, the page number assigned to the pen position data string D can be automatically switched using the change behavior of the pen position data string D accompanying the writing operation.

また特に、図20のステップSS117でページ番号の切り替えの制御が行われたときに、上記筆記方向が変化する前までのペン位置データ列D(ストロークデータ)について、筆記方向の算出を行う(図22のステップSS118を参照)。その後、その算出された、上記筆記方向が変化する前までのペン位置データ列Dの算出筆記方向と、前述の設定筆記方向とが一致するか否かを判定する。そして、算出筆記方向と設定筆記方向とが一致すると判定された場合に、当該算出筆記方向に対応した、上記筆記方向が変化する前までのペン位置データ列Dをフラッシュメモリ72に保存する。これにより、ペン位置データ列Dに付与するページ番号が切り替えられるごと、すなわちいわゆる改ページ動作がされるごとに、正しいストロークデータを生成して保存することができる。またこの結果、全ページ分のストロークデータを一度に処理する場合と異なり、あるページと次のページとで筆記方向が異なる場合、すなわち、筆記方向が互いに異なるページがノート30中に混在する場合であっても、各ページごとにストロークデータを正しい向きで処理することができる。   In particular, when the page number switching control is performed in step SS117 in FIG. 20, the writing direction is calculated for the pen position data string D (stroke data) before the writing direction is changed (FIG. 20). 22 step SS118). Thereafter, it is determined whether or not the calculated writing direction of the pen position data sequence D before the writing direction is changed matches the set writing direction. When it is determined that the calculated writing direction matches the set writing direction, the pen position data string D corresponding to the calculated writing direction and before the writing direction is changed is stored in the flash memory 72. Thereby, every time the page number assigned to the pen position data string D is switched, that is, every time a so-called page break operation is performed, correct stroke data can be generated and stored. As a result, unlike the case where stroke data for all pages is processed at once, the writing direction is different between one page and the next page, that is, when pages with different writing directions are mixed in the notebook 30. Even so, the stroke data can be processed in the correct orientation for each page.

(C)その他
なお、以上においては、ペン位置データ列Dに基づくストロークデータに含まれる文字データを切り出して、最初に切り出された文字データの中心座標と、次に切り出された文字データの中心座標とを比較して、電子ペン2の筆記方向を算出していたが、これに限られない。すなわち、最初に切り出された文字データの中心座標と、直前の文字データの中心座標からx座標又はy座標が大きく変化した文字データ(2行目の最初の文字に対応した文字データ)の、直前の文字データ(1行目の最後の文字に対応した文字データ)の中心座標とを比較して、電子ペン2の筆記方向を算出するようにしてもよい。この場合も同様の効果を得る。
(C) Others In the above, the character data included in the stroke data based on the pen position data string D is cut out, and the center coordinates of the character data cut out first and the center coordinates of the character data cut out next. And the writing direction of the electronic pen 2 was calculated, but is not limited thereto. That is, immediately before the character data (character data corresponding to the first character in the second line) whose x-coordinate or y-coordinate has greatly changed from the center coordinate of the character data that was cut out first The writing direction of the electronic pen 2 may be calculated by comparing the center coordinates of the character data (character data corresponding to the last character in the first line). In this case, the same effect is obtained.

なお、以上においては、算出された電子ペン2の座標データに基づき生成されたペン位置データ列Dを、座標検出装置3が、電子ファイルにおける各ページに記録したが、これに限られない。すなわち、電子ファイルの生成は行わず、単にペン位置データ列Dに対し、ページ番号のみを割り当てて付与し、フラッシュメモリ72に記憶するようにしてもよい。この場合は、電子ファイルの生成は、座標検出装置3に接続される適宜の外部装置によって行えば足りる。   In the above description, the coordinate detection device 3 records the pen position data sequence D generated based on the calculated coordinate data of the electronic pen 2 on each page in the electronic file. However, the present invention is not limited to this. That is, the electronic file may not be generated, and only the page number may be assigned and assigned to the pen position data string D and stored in the flash memory 72. In this case, the generation of the electronic file may be performed by an appropriate external device connected to the coordinate detection device 3.

また、以上においては、電子ペン2が自己電源としての電池43を備え、この電池43の起電力によりLC発振回路41が発生した磁界をセンスコイルLX1〜LXm,LY1〜LYn,RX1〜RXm,RY1〜RYnで受信し、電子ペン2の座標データの算出を行ったが、これに限られない。すなわち、電子ペン側に自己電源を設けず、装置側のコイルからの磁気誘導により電子ペンの共振回路に起電力を誘起して電子ペンのコンデンサに電荷を蓄積し、その蓄積した電荷を用いて電子ペンが発生した磁界を装置側のコイルで受信し、座標データの算出すなわち位置検出を行ってもよい。この場合も同様の効果を得る。   Further, in the above, the electronic pen 2 includes the battery 43 as a self-power source, and the magnetic fields generated by the LC oscillation circuit 41 by the electromotive force of the battery 43 are detected as the sense coils LX1 to LXm, LY1 to LYn, RX1 to RXm, RY1. Although it was received by RYn and the coordinate data of the electronic pen 2 was calculated, it is not limited to this. That is, the self-power supply is not provided on the electronic pen side, the electromotive force is induced in the resonance circuit of the electronic pen by magnetic induction from the coil on the device side, and the electric charge is accumulated in the capacitor of the electronic pen. The magnetic field generated by the electronic pen may be received by a coil on the apparatus side, and coordinate data calculation, that is, position detection may be performed. In this case, the same effect is obtained.

なお、以上において、図3中に示す矢印は信号の流れの一例を示すものであり、信号の流れ方向を限定するものではない。   In addition, in the above, the arrow shown in FIG. 3 shows an example of the signal flow, and does not limit the signal flow direction.

また、図11、図12、図13等に示すフローチャートは本発明を上記フローに示す手順に限定するものではなく、発明の趣旨及び技術的思想を逸脱しない範囲内で手順の追加・削除又は順番の変更等をしてもよい。   Further, the flowcharts shown in FIG. 11, FIG. 12, FIG. 13 and the like do not limit the present invention to the procedure shown in the above-mentioned flow, and the addition / deletion or order of the procedures within the scope of the gist and technical idea of the invention. May be changed.

また、以上既に述べた以外にも、上記実施形態や各変形例による手法を適宜組み合わせて利用しても良い。   In addition to those already described above, the methods according to the above-described embodiments and modifications may be used in appropriate combination.

その他、一々例示はしないが、本発明は、その趣旨を逸脱しない範囲内において、種々の変更が加えられて実施されるものである。   In addition, although not illustrated one by one, the present invention is implemented with various modifications within a range not departing from the gist thereof.

1 手書き入力装置(電子筆記装置)
2 電子ペン(電子筆記具)
3 座標検出装置
4 第1方向
5 第2方向
10 シート体
10L 左側シート部
10M 折り曲げ部
10R 右側シート部
30 ノート(被筆記体)
31L 左筆記面
31R 右筆記面
LX1〜LXm,LY1〜LYn 左側センスコイル(第1コイル、コイル)
LD 行進行方向
RX1〜RXm,RY1〜RYn 右側センスコイル(第2コイル、コイル)
T 折り曲げ中央線
WD 書字方向
1 Handwriting input device (electronic writing device)
2 Electronic pen (electronic writing instrument)
DESCRIPTION OF SYMBOLS 3 Coordinate detection apparatus 4 1st direction 5 2nd direction 10 Sheet | seat body 10L Left side sheet | seat part 10M Bending part 10R Right side sheet | seat part 30 Notes (writing body)
31L Left writing surface 31R Right writing surface LX1 to LXm, LY1 to LYn Left sense coil (first coil, coil)
LD Row traveling direction RX1 to RXm, RY1 to RYn Right side sense coil (second coil, coil)
T Folding center line WD Writing direction

Claims (7)

略ノート形状の被筆記体を覆うように所定の第1方向に見開き可能な形状に構成されるとともに、前記第1方向の中央部に位置し前記第1方向と直交する第2方向に沿った折り曲げ中心線を有する折り曲げ部、を備えたシート体と、
前記被筆記体への筆記内容に対応したデータ入力を行うための、位置検出用の筆記信号を生成して送信する電子筆記具と、
前記電子筆記具による筆記方向に関する設定入力を行うための筆記方向設定手段と、
前記電子筆記具から送信された前記筆記信号を受信可能な複数のコイルと、
前記複数のコイルでの所定値以上の前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得する位置取得手段と、
前記位置取得手段で取得された前記位置情報を用いて、前記電子筆記具による前記被筆記体への記載に対応したストロークデータを生成するストロークデータ生成手段と、
前記ストロークデータ生成手段により生成された前記ストロークデータの時系列変化に基づき、前記電子筆記具による筆記方向を算出する筆記方向算出手段と、
前記筆記方向算出手段により算出された算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定する筆記方向判定手段と、
前記筆記方向判定手段により、前記算出筆記方向と前記設定筆記方向とが一致すると判定された場合、前記算出筆記方向に対応したストロークデータを蓄積する、データ記憶手段と
を有することを特徴とする電子筆記装置。
It is configured in a shape that can be spread in a predetermined first direction so as to cover a substantially notebook-shaped writing body, and is located in the center of the first direction and along a second direction orthogonal to the first direction. A sheet body provided with a folding portion having a folding center line;
An electronic writing instrument that generates and transmits a writing signal for position detection for performing data input corresponding to writing contents to the writing body;
A writing direction setting means for performing a setting input related to a writing direction by the electronic writing instrument;
A plurality of coils capable of receiving the writing signal transmitted from the electronic writing instrument;
Position acquisition means for acquiring position information of the electronic writing instrument based on a reception result of the writing signal equal to or greater than a predetermined value in the plurality of coils;
Using the position information acquired by the position acquisition means, stroke data generation means for generating stroke data corresponding to the description on the writing object by the electronic writing instrument;
A writing direction calculating means for calculating a writing direction by the electronic writing instrument based on a time-series change of the stroke data generated by the stroke data generating means;
A writing direction determining means for determining whether or not the calculated writing direction calculated by the writing direction calculating means and the set writing direction set by the writing direction setting means match;
An electronic device comprising: a data storage unit that accumulates stroke data corresponding to the calculated writing direction when the writing direction determining unit determines that the calculated writing direction matches the set writing direction. Writing device.
前記シート体は、
前記第1方向に沿って前記折り曲げ部の一方側に設けられた第1シート部と、
前記第1方向に沿って前記折り曲げ部の他方側に設けられた第2シート部と、
を備え、
前記複数のコイルは、
前記第1シート部に設けられた第1コイルと、
前記第2シート部に設けられた第2コイルと
を含み、
前記位置取得手段は、
前記第1コイル及び前記第2コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報をそれぞれ取得し、
前記ストロークデータ生成手段は、
前記第1コイル及び前記第2コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報をそれぞれ用いて、前記第1コイルに対応した第1ストロークデータと前記第2コイルに対応した第2ストロークデータとを生成し、
前記筆記方向算出手段は、
前記ストロークデータ生成手段により生成された前記第1ストロークデータ及び前記第2ストロークデータにそれぞれ対応した第1算出筆記方向及び第2算出筆記方向を算出し、
前記筆記方向判定手段は、
前記筆記方向算出手段により算出された前記第1算出筆記方向及び前記第2算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かをそれぞれ判定し、
前記データ記憶手段は、
前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを蓄積し、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを蓄積し、
かつ、
前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを消去処理するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを消去処理する、データ消去手段
を設けたことを特徴とする請求項1記載の電子筆記装置。
The sheet body is
A first sheet portion provided on one side of the bent portion along the first direction;
A second sheet portion provided on the other side of the bent portion along the first direction;
With
The plurality of coils are:
A first coil provided in the first sheet portion;
A second coil provided on the second sheet portion,
The position acquisition means includes
Based on the reception result of the writing signal in the first coil and the second coil, respectively, to acquire the position information of the electronic writing instrument,
The stroke data generating means includes
The first stroke data and the second coil corresponding to the first coil using the position information acquired by the position acquisition unit based on the reception of the writing signal by the first coil and the second coil, respectively. 2nd stroke data corresponding to
The writing direction calculating means includes:
Calculating a first calculated writing direction and a second calculated writing direction respectively corresponding to the first stroke data and the second stroke data generated by the stroke data generating means;
The writing direction determination means includes
Determining whether or not the first calculated writing direction and the second calculated writing direction calculated by the writing direction calculating means match the set writing direction set by the writing direction setting means;
The data storage means is
When the writing direction determining means determines that the first calculated writing direction matches the set writing direction, the first stroke data is accumulated, and the writing direction determining means determines that the second calculated writing direction is the set writing direction. If it is determined that the direction matches, the second stroke data is accumulated,
And,
When the writing direction determination means determines that the first calculated writing direction matches the set writing direction, the second stroke data is erased and the second calculated writing direction is determined by the writing direction determination means. 2. The electronic writing apparatus according to claim 1, further comprising a data erasing means for erasing the first stroke data when it is determined that the direction coincides with the set writing direction.
前記シート体は、
前記第1方向に沿って前記折り曲げ部の一方側に設けられた第1シート部と、
前記第1方向に沿って前記折り曲げ部の他方側に設けられた第2シート部と、
を備え、
前記複数のコイルは、
前記第1シート部に設けられた第1コイルと、
前記第2シート部に設けられた第2コイルと
を含み、
前記位置取得手段は、
前記第1コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得するか、若しくは、前記第2コイルでの前記筆記信号の受信結果に基づき、前記電子筆記具の位置情報を取得し、
前記ストロークデータ生成手段は、
前記第1コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報を用いて、前記第1コイルに対応した第1ストロークデータを生成するか、若しくは、前記第2コイルでの前記筆記信号の受信に基づき前記位置取得手段で取得された前記位置情報を用いて、前記第2コイルに対応した第2ストロークデータを生成し、
前記筆記方向算出手段は、
前記ストロークデータ生成手段により生成された前記第1ストロークデータに対応した第1算出筆記方向を算出するか、若しくは、前記ストロークデータ生成手段により生成された前記第2ストロークデータに対応した第2算出筆記方向を算出し、
前記筆記方向判定手段は、
前記筆記方向算出手段により算出された前記第1算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定するか、若しくは、前記筆記方向算出手段により算出された前記第2算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定し、
かつ、
前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記第1ストロークデータを前記第1算出筆記方向のうち前記第1方向に係わる前記第1算出筆記方向に沿って反転する鏡像変換処理を行うとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記第2ストロークデータを前記第2算出筆記方向のうち前記第1方向に係わる前記第2算出筆記方向に沿って反転する鏡像変換処理を行う、変換手段
を設け、
前記データ記憶手段は、
前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第1ストロークデータを蓄積するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致すると判定された場合、前記第2ストロークデータを蓄積し、
前記筆記方向判定手段により前記第1算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記変換手段による鏡像変換処理後の前記第1ストロークデータを蓄積するとともに、前記筆記方向判定手段により前記第2算出筆記方向が前記設定筆記方向と一致しないと判定された場合、前記変換手段による鏡像変換処理後の前記第2ストロークデータを蓄積する
ことを特徴とする請求項1記載の電子筆記装置。
The sheet body is
A first sheet portion provided on one side of the bent portion along the first direction;
A second sheet portion provided on the other side of the bent portion along the first direction;
With
The plurality of coils are:
A first coil provided in the first sheet portion;
A second coil provided on the second sheet portion,
The position acquisition means includes
The position information of the electronic writing instrument is acquired based on the reception result of the writing signal in the first coil, or the position information of the electronic writing instrument is acquired based on the reception result of the writing signal in the second coil. Acquired,
The stroke data generating means includes
Generating the first stroke data corresponding to the first coil using the position information acquired by the position acquisition means based on the reception of the writing signal by the first coil, or the second coil; Generating the second stroke data corresponding to the second coil, using the position information acquired by the position acquisition means based on the reception of the writing signal at
The writing direction calculating means includes:
A first calculated writing direction corresponding to the first stroke data generated by the stroke data generating means is calculated, or a second calculated writing corresponding to the second stroke data generated by the stroke data generating means Calculate the direction,
The writing direction determination means includes
It is determined whether or not the first calculated writing direction calculated by the writing direction calculating means matches the set writing direction set by the writing direction setting means, or by the writing direction calculating means Determining whether the calculated second calculated writing direction and the set writing direction set by the writing direction setting means match;
And,
When the writing direction determination means determines that the first calculated writing direction does not coincide with the set writing direction, the first calculation related to the first direction among the first calculated writing directions is used as the first stroke data. In addition to performing mirror image conversion processing that reverses along the writing direction, and when the writing direction determination means determines that the second calculated writing direction does not match the set writing direction, the second calculation is performed on the second stroke data. A conversion means is provided for performing mirror image conversion processing that is reversed along the second calculated writing direction related to the first direction in the writing direction,
The data storage means is
When the writing direction determination means determines that the first calculated writing direction matches the set writing direction, the first stroke data is accumulated, and the second calculated writing direction is set by the writing direction determination means. If it is determined that the writing direction matches, the second stroke data is accumulated,
When the writing direction determination means determines that the first calculated writing direction does not match the set writing direction, the writing direction determination means stores the first stroke data after mirror image conversion processing by the conversion means. 2. The electronic writing according to claim 1, wherein when the second calculated writing direction is determined not to match the set writing direction, the second stroke data after mirror image conversion processing by the converting unit is accumulated. apparatus.
前記筆記方向判定手段は、
前記筆記方向算出手段により算出された前記算出筆記方向のうち前記第1方向に係わる前記算出筆記方向と、前記設定筆記方向とが、一致するか否かを判定する
ことを特徴とする請求項2又は請求項3記載の電子筆記装置。
The writing direction determination means includes
3. It is determined whether or not the calculated writing direction related to the first direction and the set writing direction match among the calculated writing directions calculated by the writing direction calculation unit. Or the electronic writing apparatus of Claim 3.
前記ストロークデータ生成手段により生成される前記ストロークデータに対し、ページ番号を付与するページ付与手段と、
前記筆記方向算出手段により算出された、前記第1方向に係わる前記筆記方向が変化したか否かを判定する筆記変化判定手段と、
前記筆記変化判定手段により前記第1方向に係わる筆記方向が変化したと判定された場合、前記付与されるページ番号を切り替えるように、前記ページ付与手段を制御する、ページ切替手段と、
を有することを特徴とする請求項4記載の電子筆記装置。
Page giving means for giving a page number to the stroke data generated by the stroke data generating means;
A writing change determining means for determining whether or not the writing direction related to the first direction is calculated by the writing direction calculating means;
A page switching means for controlling the page giving means to switch the assigned page number when the writing change judging means determines that the writing direction related to the first direction has changed;
The electronic writing apparatus according to claim 4, further comprising:
前記ページ切替手段により前記ページ番号の切り替えの制御が行われたとき、前記筆記方向算出手段は、当該筆記方向が変化する前までの前記ストロークデータについて、前記筆記方向の算出を行い、
前記筆記方向判定手段は、
前記筆記方向算出手段により算出された、当該筆記方向が変化する前までの前記ストロークデータの算出筆記方向と、前記筆記方向設定手段により設定された設定筆記方向とが、一致するか否かを判定し、
前記データ記憶手段は、
前記筆記方向判定手段により、前記算出筆記方向と前記設定筆記方向とが一致すると判定された場合、前記算出筆記方向に対応した、前記筆記方向が変化する前までのストロークデータを蓄積する
ことを特徴とする請求項5記載の電子筆記装置。
When the page switching control is performed by the page switching unit, the writing direction calculation unit calculates the writing direction for the stroke data before the writing direction is changed,
The writing direction determination means includes
It is determined whether the calculated writing direction of the stroke data before the change of the writing direction and the set writing direction set by the writing direction setting unit calculated by the writing direction calculation unit match. And
The data storage means is
When it is determined by the writing direction determination means that the calculated writing direction and the set writing direction match, stroke data corresponding to the calculated writing direction until the writing direction is changed is accumulated. The electronic writing apparatus according to claim 5.
前記ストロークデータ生成手段により生成された前記ストロークデータを、当該ストロークデータに含まれる文字データごとに区別して認識する文字認識手段を有し、
前記筆記方向算出手段は、
前記文字認識手段により認識される前記文字データの追加挙動に基づき、前記電子筆記具による筆記方向を算出する
ことを特徴とする請求項1乃至請求項6のいずれか1項記載の電子筆記装置。
Character recognition means for recognizing the stroke data generated by the stroke data generation means for each character data included in the stroke data;
The writing direction calculating means includes:
The electronic writing apparatus according to claim 1, wherein a writing direction by the electronic writing instrument is calculated based on an additional behavior of the character data recognized by the character recognition unit.
JP2010150004A 2010-06-30 2010-06-30 Electric writing device Pending JP2012014411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010150004A JP2012014411A (en) 2010-06-30 2010-06-30 Electric writing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010150004A JP2012014411A (en) 2010-06-30 2010-06-30 Electric writing device

Publications (1)

Publication Number Publication Date
JP2012014411A true JP2012014411A (en) 2012-01-19

Family

ID=45600769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010150004A Pending JP2012014411A (en) 2010-06-30 2010-06-30 Electric writing device

Country Status (1)

Country Link
JP (1) JP2012014411A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2730997A2 (en) 2012-11-09 2014-05-14 Brother Kogyo Kabushiki Kaisha Information input device
JP2014099116A (en) * 2012-11-15 2014-05-29 Brother Ind Ltd Information input device
WO2014192344A1 (en) * 2013-05-28 2014-12-04 シャープ株式会社 Touch panel device and touch-panel-equipped display device
EP2854011A3 (en) * 2013-09-17 2015-04-29 Brother Kogyo Kabushiki Kaisha Paper medium, input device, and computer-readable medium storing computer-readable instructions for input device
EP2854046A3 (en) * 2013-07-25 2015-04-29 Brother Kogyo Kabushiki Kaisha Paper medium, input device, and a non-transitory computer-readable medium for input device
US9423892B2 (en) 2012-11-15 2016-08-23 Brother Kogyo Kabushiki Kaisha Information input device
JPWO2015079861A1 (en) * 2013-11-27 2017-03-16 株式会社ワコム Electronics
KR20170138036A (en) * 2016-06-06 2017-12-14 가부시키가이샤 재팬 디스프레이 Display device
CN109643188A (en) * 2016-08-25 2019-04-16 斯达德勒火星两合公司 input system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2730997A2 (en) 2012-11-09 2014-05-14 Brother Kogyo Kabushiki Kaisha Information input device
JP2014099116A (en) * 2012-11-15 2014-05-29 Brother Ind Ltd Information input device
US9423892B2 (en) 2012-11-15 2016-08-23 Brother Kogyo Kabushiki Kaisha Information input device
WO2014192344A1 (en) * 2013-05-28 2014-12-04 シャープ株式会社 Touch panel device and touch-panel-equipped display device
EP2854046A3 (en) * 2013-07-25 2015-04-29 Brother Kogyo Kabushiki Kaisha Paper medium, input device, and a non-transitory computer-readable medium for input device
EP2854011A3 (en) * 2013-09-17 2015-04-29 Brother Kogyo Kabushiki Kaisha Paper medium, input device, and computer-readable medium storing computer-readable instructions for input device
JPWO2015079861A1 (en) * 2013-11-27 2017-03-16 株式会社ワコム Electronics
US10013125B2 (en) 2013-11-27 2018-07-03 Wacom Co., Ltd. Electronic apparatus
KR20170138036A (en) * 2016-06-06 2017-12-14 가부시키가이샤 재팬 디스프레이 Display device
KR101980962B1 (en) 2016-06-06 2019-05-21 가부시키가이샤 재팬 디스프레이 Display device
CN109643188A (en) * 2016-08-25 2019-04-16 斯达德勒火星两合公司 input system

Similar Documents

Publication Publication Date Title
JP2012014411A (en) Electric writing device
JP5361159B2 (en) Image display control device, control method therefor, program, and recording medium
JP6862072B2 (en) Indicator detector and its signal processing method
CN104808923B (en) A kind of screen control method and electronic equipment
JP2012203643A (en) Display object management device and display object management program
JP6584084B2 (en) Display control apparatus, control method therefor, program, and storage medium
CN104808836A (en) Electronic Device, Method, and Program for Supporting Touch Panel Operation
JP2014139759A (en) Information device and information processing method
JP6119366B2 (en) Correction device
CN107077265A (en) Detection means, input unit and detection method
JP2012198798A (en) Display object input display system and display object input display program
KR101399401B1 (en) Electronic signature system and method using touch screen device
US9811177B2 (en) Electronic writing device
JP4510892B2 (en) Electronic device with position sensor
US20150020024A1 (en) Zoom control of screen image in electronic device
JP6315271B2 (en) Electronic writing apparatus, electronic writing processing program, and data processing method
JP2012208593A (en) Display object input operation terminal, display object management apparatus, display object input and display system, display object input and display method, and display object management program
CN114546155A (en) Method, sensor controller and electronic device
JP2015215840A (en) Information processing apparatus and input method
JP6331816B2 (en) Information input device, control method, and control program
JP2008515036A5 (en)
EP2725461B1 (en) Information management apparatus and storage medium storing information management program
JP2024051138A (en) Position detection device and position detection method
JP6171676B2 (en) Input device
JP6314761B2 (en) Input device, input program, and input method