JPH03184114A - Pulse counting communication system - Google Patents

Pulse counting communication system

Info

Publication number
JPH03184114A
JPH03184114A JP1324328A JP32432889A JPH03184114A JP H03184114 A JPH03184114 A JP H03184114A JP 1324328 A JP1324328 A JP 1324328A JP 32432889 A JP32432889 A JP 32432889A JP H03184114 A JPH03184114 A JP H03184114A
Authority
JP
Japan
Prior art keywords
data
pulse
circuit
phase
pair
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
JP1324328A
Other languages
Japanese (ja)
Inventor
Azuma Murakami
東 村上
Hiroki Morii
裕樹 森井
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.)
Wacom Co Ltd
Original Assignee
Wacom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wacom Co Ltd filed Critical Wacom Co Ltd
Priority to JP1324328A priority Critical patent/JPH03184114A/en
Priority to EP19910900377 priority patent/EP0457922A4/en
Priority to US07/730,830 priority patent/US5325398A/en
Priority to PCT/JP1990/001613 priority patent/WO1991009362A1/en
Publication of JPH03184114A publication Critical patent/JPH03184114A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To transfer data to a bus mouse interface (BMI) of a reception part by providing a pulse circuit on a transmission part to output a 2-phase pulse train and using a counting circuit and a reading circuit of the reception part to constitute BMI. CONSTITUTION:The X and Y pulse circuits of a pulse circuit 11 of a pulse data transmission part 9 output the X and Y 2-phase pulse trains and transfer four pieces of data, for example, in the transfer processing of a single time divided into the former and latter halves. A CPU 27 of a pulse data reception part 10 reads sequentially the data on the X and Y counters via BMI when two pieces of data of the former half are selected. Then the CPU 27 carries on the addition processing until the counted values of both X and Y counters are equal to 0 respectively. Similarly, two pieces of data of the latter half are received. These operations are repeated to carry out the communication of data at every four pieces.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はバイナリ−ビット列からなるデータを送信部か
ら受信部へ転送する通信方式に関し、特に周辺端末入力
データをホストコンピュータへ送信し処理する為の通信
方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a communication method for transferring data consisting of a binary bit string from a transmitting section to a receiving section, and in particular, for transmitting peripheral terminal input data to a host computer for processing. Regarding communication methods.

〔従来の技術〕[Conventional technology]

従来から知られているデータ通信方式はビットパラレル
データをビットシリアルデータに変換して受信部から送
信部へのデータ転送を行なう非同期式調歩同期方式と呼
ばれるものであった。
A conventionally known data communication system is an asynchronous start-stop synchronization system in which bit-parallel data is converted into bit-serial data and data is transferred from a receiving section to a transmitting section.

この方式をデジタイザからホストコンピュータにデータ
の転送を行なう場合を例にとって説明する。第1O図は
デジタイザとホストコンピュータ間の通信方式の概要を
示す斜視図である。デジタイザ1は二次元座標面を規定
するタブレット平面センサ部により構成されている。適
当な入力器具例えばスタイラスペン3を用いてタブレッ
ト平面センサ部2の表面上に存する所望の位置を指定し
てやると、センサ部2は指定された位置に応じたアナロ
グ検出信号を発生する。デジタ゛イザ1はさらに演算処
理回路を内蔵し、アナログ検出信号に基いて指定された
位置の二次元座標値等を表わすデータを算出する。算出
されたデータは信号ケーブル4を介してホストコンピュ
ータ5に送られる。
This method will be explained using an example in which data is transferred from a digitizer to a host computer. FIG. 1O is a perspective view showing an outline of a communication system between a digitizer and a host computer. The digitizer 1 is composed of a tablet plane sensor section that defines a two-dimensional coordinate plane. When a desired position on the surface of the tablet flat sensor section 2 is specified using a suitable input device such as the stylus pen 3, the sensor section 2 generates an analog detection signal corresponding to the specified position. The digitizer 1 further includes an arithmetic processing circuit, and calculates data representing two-dimensional coordinate values of a specified position based on the analog detection signal. The calculated data is sent to the host computer 5 via the signal cable 4.

ホストコンピュータ5は周辺の入出力端末装置と接続す
る為に、複数のインターフェースを内蔵しており送受信
される信号の形式に従って使い分けられる。
The host computer 5 has a plurality of built-in interfaces for connection with peripheral input/output terminal devices, which can be used depending on the format of signals to be sent and received.

第11図はデジタイザから送信される出力信号の波形を
示す。デジタイザで作成される座標値データは例えば8
ビツトからなるパラレルデータとして表わされる。8ビ
ツトパラレルデータはパラレル/シリアル変換され第1
1図に示す様に8ビツトのシリアルデータ信号として出
力される。例えば(10110101)の8ビツトパラ
レルデータはl−0−1−i−o−t−o−tの8ビツ
トシリアルデ一タ信号に変換される。この様なビットデ
ータ送信方法が非同期式調歩同期方式と呼ばれるもので
ある。非同期式調歩同期方式に従うデータ信号を受入れ
る為にホストコンピュータは通常R5−232C規格に
基くインターフェースを内蔵している。従って一般に周
辺端末装置はR3−232Cインターフエースを通じて
ホストコンピュータに接続されていた。
FIG. 11 shows the waveform of the output signal transmitted from the digitizer. For example, the coordinate value data created with a digitizer is 8
It is expressed as parallel data consisting of bits. The 8-bit parallel data is converted from parallel to serial and sent to the first
As shown in Figure 1, it is output as an 8-bit serial data signal. For example, 8-bit parallel data (10110101) is converted into an 8-bit serial data signal of l-0-1-iot-o-t. Such a bit data transmission method is called an asynchronous start-stop synchronization method. In order to accept data signals according to the asynchronous start-stop synchronization method, the host computer usually incorporates an interface based on the R5-232C standard. Therefore, peripheral terminal devices were generally connected to the host computer through an R3-232C interface.

〔発明が解決すべき問題点〕[Problems to be solved by the invention]

しかしながらホストコンピュータに内蔵されているR 
S −232Cインターフエースは極めて汎用性が高く
非同期式調歩同期方式を採用する種々の周辺端末装置の
接続に用いられるが接続台数に限りがある。従ってホス
トコンピュータに内蔵されているR5−232Cインタ
ーフエース以外のインターフェースを利用してデータの
転送が可能な通信方式が要求されていた。
However, the R built in the host computer
Although the S-232C interface is extremely versatile and is used to connect various peripheral terminal devices that employ an asynchronous start-stop synchronization method, there is a limit to the number of devices that can be connected. Therefore, there has been a need for a communication system that can transfer data using an interface other than the R5-232C interface built into the host computer.

例えば通常のホストコンピュータにはバスマウスと接続
する為のバスマウス専用インターフェースが内蔵されて
いる。ここで本発明の理解を容易にする為にバスマウス
について簡単に説明する。
For example, a typical host computer has a built-in bus mouse dedicated interface for connecting to a bus mouse. Here, the bus mouse will be briefly explained in order to facilitate understanding of the present invention.

バスマウスは広くコンピュータの座標入力端末装置とし
て用いられているが相対移動量しか扱えない。加えてバ
スマウス自体がデジタイザの入力器具に用いられるスタ
イラスペン等に比べて寸法的に大きい事から文字の入力
やメニュー選択が困難である。これに対してデジタイザ
は絶対座標が扱え文字入力が容易である。しかしバスマ
ウスは価格が安く簡単なインターフェースを利用できる
為に近年のコンピュータにはバスマウスインターフェー
スが標準装備されているのである。第12図にバスマウ
スの模式的構造を示す。バスマウスはその本体を移動さ
せる事により、その移動量をホストコンピュータに入力
するものである。その為本体を移動できる様に底部に回
転可能なボール6が装着されている。そのボール6にX
軸方向とY軸方向の移動量を別個に検出する為の一対の
センサ7及び8が当接している。
A bus mouse is widely used as a coordinate input terminal device for computers, but it can only handle relative movement amounts. In addition, the bus mouse itself is larger in size than a stylus pen or the like used as an input device for a digitizer, making it difficult to input characters and select menus. On the other hand, digitizers can handle absolute coordinates and can easily input characters. However, because the bus mouse is cheap and provides a simple interface, modern computers are equipped with a bus mouse interface as standard equipment. Figure 12 shows the schematic structure of a bass mouse. A bus mouse is used to input the amount of movement into the host computer by moving its main body. Therefore, a rotatable ball 6 is attached to the bottom so that the main body can be moved. X on that ball 6
A pair of sensors 7 and 8 are in contact with each other to separately detect the amount of movement in the axial direction and the Y-axis direction.

第13図はバスマウスセンサの動作説明図である。FIG. 13 is an explanatory diagram of the operation of the bus mouse sensor.

ボール6にはX軸センサ7の回転軸が当接している。な
お図示しないがY軸センサ8の回転軸もX軸センサ7の
回転軸と直交する様にボール6に接触している。バスマ
ウスの移動によりボール6が回転するとそのX軸方向移
動量に応じてX軸センサ7の回転軸が回転し出力信号X
A及びXBを出カスる。同時にバスマウスのスイッチ状
態を示すスイッチング信号S1及びS2もバスマウスか
ら出力される。
The rotation axis of the X-axis sensor 7 is in contact with the ball 6 . Although not shown, the rotation axis of the Y-axis sensor 8 is also in contact with the ball 6 so as to be orthogonal to the rotation axis of the X-axis sensor 7. When the ball 6 rotates due to the movement of the bus mouse, the rotation axis of the X-axis sensor 7 rotates according to the amount of movement in the X-axis direction, and the output signal
Discard A and XB. At the same time, switching signals S1 and S2 indicating the switch state of the bus mouse are also output from the bus mouse.

第14図はバスマウスの出力信号波形図である。FIG. 14 is an output signal waveform diagram of the bus mouse.

図示する様に出力信号は二相のパルス列からなる。As shown in the figure, the output signal consists of a two-phase pulse train.

バスマウスがX軸のプラス方向に移動するときはパルス
列XAはパルス列XBに対して90度進相であり、他方
バスマウスがX軸のマイナス方向に移動するときはパル
ス列XAはパルス列XBに対して90度遅相である。こ
の様にして出力信号に含まれる単位時間当りのパルスエ
ツジの個数によりバスマウスの171位時間当りの相対
移動量を示し、出力信号の位相状態によりバスマウスの
移動方向を表わす。
When the bus mouse moves in the positive direction of the X-axis, pulse train XA is 90 degrees ahead of pulse train XB, and on the other hand, when the bus mouse moves in the negative direction of the The phase is delayed by 90 degrees. In this way, the number of pulse edges included in the output signal per unit time indicates the amount of relative movement of the bass mouse per unit time, and the phase state of the output signal indicates the direction of movement of the bass mouse.

通常ホストコンピュータはバスマウスからの出力信号及
びスイッチング信号を受入れる為にバスマウスインター
フェースを内蔵している。バスマウスインターフェース
はX座標及びY座標に対応して8ビツトカウンタを2つ
内蔵しており出力信号のパルスエツジ個数を計測する。
Typically, the host computer includes a bus mouse interface to accept output signals and switching signals from the bus mouse. The bus mouse interface has two built-in 8-bit counters corresponding to the X and Y coordinates and measures the number of pulse edges of the output signal.

この計算結果はホストコンピュータのマウス用タイマに
より任意の一定期間(例えば8 ass)毎に8ビツト
カウンタから読み取られ該一定期間におけるバスマウス
の相対移動量及びスイッチ状態を検出する。
This calculation result is read from an 8-bit counter every fixed period (for example, 8 ass) by the mouse timer of the host computer, and the relative movement amount and switch state of the bus mouse during the fixed period are detected.

ところで第11図に示す様に従来のデジタイザの出力信
号は非同期式調歩同期方式に従ってノくイナリービット
列からなる。これに対して第14図に示す様にバスマウ
スの出力信号は二相のノくルス列からなる。従って従来
のデジタイザとバスマウスでは出力信号形式が互いに異
なり、デジタイザを直接ホストコンピュータのバスマウ
スインターフェースに接続する事ができなかった。
By the way, as shown in FIG. 11, the output signal of the conventional digitizer consists of a binary bit string according to the asynchronous start-stop synchronization method. On the other hand, as shown in FIG. 14, the output signal of the bus mouse consists of a two-phase Norse train. Therefore, conventional digitizers and bus mice have different output signal formats, making it impossible to directly connect a digitizer to a bus mouse interface of a host computer.

以上の説明から理解される様に、ノくイナリービット列
からなるデータを非同期式調歩同期方式によってホスト
コンピュータのバスマウスインターフェースに入力する
事ができなかった。しかるにバスマウスインターフェー
スはR5−232Cインターフエースに比べて使用頻度
が少なく、バスマウスインターフェースを利用してデー
タを転送したいとする市場の要求が増している。しかし
従来のデータ通信方式ではこの市場の要求に答える事が
できず問題となっていた。
As can be understood from the above explanation, it has not been possible to input data consisting of an binary bit string to a bus mouse interface of a host computer using the asynchronous start-stop synchronization method. However, the bus mouse interface is used less frequently than the R5-232C interface, and there is an increasing demand in the market for data transfer using the bus mouse interface. However, conventional data communication systems have been unable to meet the demands of this market, creating a problem.

〔問題点を解決する為の手段〕[Means for solving problems]

上述した従来のデータ通信方式の問題点に鑑み、本発明
は周辺端末装置等の送信部からデータをホストコンピュ
ータ等の受信部が有するバスマウスインターフェースに
転送可能な通信方式を提供する事を目的とする。
In view of the above-mentioned problems with the conventional data communication method, an object of the present invention is to provide a communication method that can transfer data from a transmitter of a peripheral terminal device to a bus mouse interface of a receiver of a host computer or the like. do.

第1図により問題点を解決する為の手段を説明する。第
1図は本発明にかかるパルスカウント通信方式の全体構
成を示すブロック図である。本通信方式はパルスデータ
送信部9とパルスデータ受信部lOとから構成されてい
る。送信部9は転送すべきデータを構成するバイナリ−
ピット列が表わす整数に従って、対応する個数のパルス
エツジを含む二相パルス列を所定の転送期間内に出力す
るパルス回路11を有している。
A means for solving the problem will be explained with reference to FIG. FIG. 1 is a block diagram showing the overall configuration of a pulse count communication system according to the present invention. This communication system is composed of a pulse data transmitting section 9 and a pulse data receiving section IO. The transmitter 9 transmits binary data constituting the data to be transferred.
It has a pulse circuit 11 that outputs a two-phase pulse train including a corresponding number of pulse edges within a predetermined transfer period according to the integer represented by the pit train.

他方受信部IOは二相パルス列に含まれるパルスエツジ
を計数するリセット可能な計数回路12と、転送期間内
において所定の読み取り間隔で逐次計数回路12の計数
分の読み取り及びリセットを行ない読み取られた計数分
が○になった時各計数分の合算を行ない受け入れたパル
スエツジの個数の確定を行なう読み取り回路13とを有
している。即ちパルスデータ受信部10の計数回路12
及び読み取り回路13はいわゆるバスマウスインターフ
ェースを構成している。
On the other hand, the receiving unit IO includes a resettable counting circuit 12 that counts pulse edges included in a two-phase pulse train, and reads and resets the counts of the counting circuit 12 sequentially at predetermined reading intervals within the transfer period. It has a reading circuit 13 which adds up each count when the value becomes ○, and determines the number of accepted pulse edges. That is, the counting circuit 12 of the pulse data receiving section 10
and the reading circuit 13 constitute a so-called bus mouse interface.

好ましくは、送信部9は複数の一連のデータを相互に識
別する為に正負の符号を各データに付する符号回路14
を有し、パルス回路11は該符号に応じて二相パルス列
の位相を選択する様になっている。加えてパルスデータ
受信部10は該位相に従って、時系列的に転送されてく
る一連のデータを相互に識別できる様になっている。符
号回路14は例えば一連のデータに対して交互に正負の
符号を付する様になっており、前後のデータを識別して
いる。あるいは符号回路14は一連のデータのうち先頭
のデータに対して他と異なる符号を付する事により、一
連のデータの送信開始時点を受信側において検出できる
様になっている。
Preferably, the transmitter 9 includes a code circuit 14 that attaches a positive or negative sign to each data in order to mutually identify a plurality of series of data.
The pulse circuit 11 selects the phase of the two-phase pulse train according to the sign. In addition, the pulse data receiving section 10 is capable of mutually identifying a series of data transferred in chronological order according to the phase. The code circuit 14 is configured to, for example, alternately assign positive and negative codes to a series of data, thereby identifying preceding and succeeding data. Alternatively, the code circuit 14 assigns a different code to the first data in the series of data, so that the receiving side can detect the start point of transmission of the series of data.

好ましくはパルス回路1(は一対のXパルス回路及びY
パルス回路から構成されており、一対のデータを同時に
送信できる様になっている。これと対応して受信側にお
いても計数回路12は一対のX計数回路及びY計数回路
から構成されており一対のデータを同時に受信できる様
になっている。
Preferably, the pulse circuit 1 (includes a pair of X pulse circuits and a Y pulse circuit)
It is composed of a pulse circuit and can transmit a pair of data at the same time. Correspondingly, the counting circuit 12 on the receiving side is also composed of a pair of X counting circuit and Y counting circuit, so that it can receive a pair of data simultaneously.

そして一対のX及びYパルス回路は前半の転送期間内に
一対のデータを送信し、後半の転送期間内に他の一対の
データを送信できる様になっており、1回の転送処理に
より4個のデータの送信を行なう。この様な通信方式は
デジタイザの入力座標を表わすデータを送信する場合に
最適である。
The pair of X and Y pulse circuits can transmit one pair of data during the first half of the transfer period, and the other pair of data during the second half of the transfer period. data is sent. Such a communication method is most suitable for transmitting data representing input coordinates of a digitizer.

〔作  用〕[For production]

バスマウスインターフェースを利用した本発明にかかる
通信方式の作用を4個のデータの転送を例にとって説明
する。各データは送信部により二相パルス列の形で出力
される。他方ホストコンピュータ等の受信部に内蔵され
るバスマウスインターフェースは次の機能を持っている
The operation of the communication method according to the present invention using a bus mouse interface will be explained using the transfer of four pieces of data as an example. Each piece of data is output by the transmitter in the form of a two-phase pulse train. On the other hand, a bus mouse interface built into a receiving section of a host computer or the like has the following functions.

1、二相パルス列に含まれるパルスエツジの個数を計測
する機能。
1. Function to measure the number of pulse edges included in a two-phase pulse train.

2、二相パルス列の位相が進相か遅相かを検出しデータ
の正負を識別する機能。
2. A function that detects whether the phase of the two-phase pulse train is leading or lagging and distinguishing whether the data is positive or negative.

3、一対の二相パルス列のパルスエツジ個数を同時に計
数できる機能。
3. A function that can simultaneously count the number of pulse edges in a pair of two-phase pulse trains.

上述した3つの機能は受信部に内蔵された専用のハード
ウェア(マウスカウンタ)によって実行される。受信部
の例として、受入れた二相パルス列を−128から+1
27の8ビツト2の補数表現に変換するものがある。送
信部は受信部における上記3つの機能を利用して各デー
タを二相パルス列の形で受信部に送信する。
The three functions described above are executed by dedicated hardware (mouse counter) built into the receiving section. As an example of the receiving section, the received two-phase pulse train is converted from -128 to +1.
There is one that converts to 8-bit 2's complement representation of 27. The transmitting section uses the above three functions of the receiving section to transmit each data to the receiving section in the form of a two-phase pulse train.

1個のデータが7個のバイナリ−ビット列から構成され
ている場合には、バイナリ−ビット列が表わす整数は0
から127の値をとり得る。送信部はデータをOないし
127のパルスエツジを含む二相パルス列として出力す
る。例えば第2図に示す様にデータが18Hならばその
バイナリ−ビット列は整数24を表わしているので24
個のパルスエツジを含む二相パルス列を出力する。二相
パルス列は2つの相成分XA及びXBを含んでいる。デ
ータの符号により周成分の位相関係が決定される。例え
ばデータの符号が正である場合には成分XAは成分XB
に比べて90度進相となり、逆にデータの符号が負であ
る場合には成分XAは成分XBに比べて90度遅相とな
る。なおパルスエツジとは二相パルス列に含まれるパル
スの立ち上がり及び立ち下がり個所を示しパルスエツジ
の個数は二相のパルス列に含まれる全てのパルスエツジ
を計数して得られるものである。受信部の計数回路即ち
マウスカウンタはパルスエツジを計数し1個のデータと
してレジスタに設定する。受信部の読み取り回PUがマ
ウスカウンタを読み込む事に ぶが出力したデータ18Hを得る事ができる。  Uが
マウスカウンタを読込むとマウスカウンタはクリアされ
る。
If one piece of data consists of seven binary bit strings, the integer represented by the binary bit string is 0.
It can take a value of 127 from . The transmitter outputs the data as a two-phase pulse train including O to 127 pulse edges. For example, as shown in Figure 2, if the data is 18H, the binary bit string represents the integer 24, so 24
Outputs a two-phase pulse train containing pulse edges. The biphasic pulse train includes two phase components XA and XB. The phase relationship of the circumferential components is determined by the sign of the data. For example, if the sign of the data is positive, component XA is component XB.
When the sign of the data is negative, the component XA is 90 degrees in phase compared to the component XB. Note that a pulse edge refers to the rising and falling points of a pulse included in a two-phase pulse train, and the number of pulse edges is obtained by counting all pulse edges included in a two-phase pulse train. A counting circuit, ie, a mouse counter, in the receiving section counts the pulse edges and sets them in a register as one piece of data. The reading time PU of the receiving section reads the mouse counter to obtain the data 18H output by Nibu. When U reads the mouse counter, the mouse counter is cleared.

マウスカウンタは、二相パルス列が送られているにもか
かわらずCPUが計数値を読み取らないとオーバーフロ
ーを起こす。例えば送信部がデータFFを送信した後、
受信部がマウスカウンタを読み取らないうちに次のデー
タ5を送信するとマウスカウンタの値は04となってし
まう。この様にマウスカウンタがオーバーフローを起こ
すと送信部から出力されたデータが正しく受信部に転送
されない。この為に送信部の二相パルス列出力タイミン
グと受信部におけるマウスカウンタ読み取りタイミング
を調整しなければならない。本発明にかかるパルスカウ
ント通信方式においては第3図に示す転送方式を採用す
る事によりマウスカウンタのオーバーフローを防止して
いる。
The mouse counter overflows if the CPU does not read the counted value even though a biphasic pulse train is being sent. For example, after the transmitter transmits the data FF,
If the receiving section transmits the next data 5 before reading the mouse counter, the value of the mouse counter will become 04. If the mouse counter overflows in this way, the data output from the transmitter will not be correctly transferred to the receiver. For this reason, it is necessary to adjust the two-phase pulse train output timing of the transmitting section and the mouse counter reading timing of the receiving section. In the pulse count communication method according to the present invention, overflow of the mouse counter is prevented by adopting the transfer method shown in FIG.

第3図のデータ転送タイミングチャートに示す様に、送
信部は所定の転送期間ごと(2,5m5)に送信ずべき
データが表わす整数に応じた個数のパルスエツジを含む
二相パルス列XA、XBを出力する。受信部は1回の転
送期間よりも短い読み取り間隔(1ff1s)ごとにマ
ウスカウンタを読み取る。
As shown in the data transfer timing chart in Figure 3, the transmitter outputs a two-phase pulse train XA, XB containing the number of pulse edges according to the integer represented by the data to be transmitted every predetermined transfer period (2,5 m5). do. The receiving unit reads the mouse counter at every reading interval (1ff1s) shorter than one transfer period.

即ち二相パルス列の出力中にマウスカウンタを逐次読み
取り且つリセットする事によりマウスカウンタのオーバ
ーフローを防止するとともに、二相パルス列の出力停止
状態を認識できる様にし、順次送られてくるデータを分
離する。第3図のタイミングチャートは例として整数4
0と整数35に対応する2個のデータを順次転送する動
作を示している。送信部が第一のデータを転送する為に
40個のパルスエツジを含む二相パルス列の出力を開始
すると、受信部のCPUがタイミング■においてマウス
カウンタを読み込む。この時CPUは既に出力されたパ
ルスエツジの計数性例えば15を読み取る。この時マウ
スカウンタはリセットされるがパルスエツジの計数は継
続される。次の読み取りタイミング■では残りの計数性
z5が読み取られる。
That is, by sequentially reading and resetting the mouse counter while the two-phase pulse train is being output, an overflow of the mouse counter is prevented, and the state in which the output of the two-phase pulse train is stopped can be recognized, and data sent sequentially is separated. The timing chart in Figure 3 shows the integer 4 as an example.
It shows the operation of sequentially transferring two pieces of data corresponding to 0 and the integer 35. When the transmitting section starts outputting a two-phase pulse train including 40 pulse edges in order to transfer the first data, the CPU of the receiving section reads the mouse counter at timing (3). At this time, the CPU reads the count value of the already output pulse edge, for example, 15. At this time, the mouse counter is reset, but pulse edge counting continues. At the next reading timing ■, the remaining countability z5 is read.

受信部は2回の読み取りによって得られた計数性を合算
して保持し受入れたパルスエツジの個数の確定を行なう
。続くタイミング■においても送信部のCPUはマウス
カウンタの読み取りを行なうが、既にパルス列の出力は
終了しており且つマウスカウンタは先の読み取りタイミ
ング■においてリセットされているので、読み取り結果
はOになる。受信部はマウスカウンタからOを読み取る
事により送信部の1回のデータ転送が終了した事を認識
し、合算して得られた計数値15+25−40が転送さ
れたデータの整数表現である事を認識する。
The receiving section adds up and holds the countability obtained by the two readings, and determines the number of accepted pulse edges. At the following timing (2), the CPU of the transmitter also reads the mouse counter, but the output of the pulse train has already been completed and the mouse counter has been reset at the previous reading timing (2), so the reading result is O. The receiving unit recognizes that one data transfer by the transmitting unit has been completed by reading O from the mouse counter, and recognizes that the total count value 15+25-40 is an integer representation of the transferred data. recognize.

続いて第二の転送期間において、第二の送信すべきデー
タが表わす整数35に対応したパルスエツジ数を含むパ
ルス列を出力する。この時、受信部は読み取りタイミン
グ■、■及び■において逐次マウスカウンタの読み取り
を行ない同様にして送信されたパルスエツジの個数を計
測し確定する。
Subsequently, in the second transfer period, a pulse train including the number of pulse edges corresponding to the integer 35 represented by the second data to be transmitted is output. At this time, the receiving section sequentially reads the mouse counter at reading timings ①, ②, and ②, and similarly measures and determines the number of transmitted pulse edges.

次に第3図を用いて説明したデータの連続的転送方式を
用いて、4個のデータを1回の転送処理により送信する
方式を説明する。この方式においてはマウスカウンタを
構成する一対のX及びYカウンタを用いて同時に2個の
データを転送する事ができる。前半の転送期間内に一対
のデータを転送し後半の転送期間内に他の一対のデータ
を転送する事により1回の転送処理により合計4個のデ
ータの転送を完了する。
Next, a method for transmitting four pieces of data in one transfer process using the continuous data transfer method explained using FIG. 3 will be described. In this method, two pieces of data can be transferred simultaneously using a pair of X and Y counters that constitute a mouse counter. By transferring one pair of data within the first half transfer period and transferring another pair of data within the second half transfer period, a total of four data transfers are completed in one transfer process.

1回の転送処理により4個のデータを転送する為、受信
部は個々のデータに区切って認識しなければならない。
Since four pieces of data are transferred in one transfer process, the receiving section must recognize each piece of data separately.

即ち、一対のデータXとYが4個のデータのうち前半の
転送期間に送られたものなのか後半の転送期間に送られ
たものなのかをも識別しなければならない。この識別を
行なう為に転送すべきデータに正負の符号を付与する。
That is, it is also necessary to identify whether the pair of data X and Y is sent during the first half or the second half of the four data. In order to perform this identification, a positive or negative sign is assigned to the data to be transferred.

即ち同時に転送される一対のデータXとYのうちデータ
Xに対して送信ごとに反転する符号を付与する。
That is, out of a pair of data X and Y that are transferred at the same time, data X is given a sign that is inverted each time it is transmitted.

この正負の符号の付与は対応する二相パルス列の位相を
選択する事により行なう。これにより受信部は選択され
た位相を検出し受入れたデータの正負を判断する。そし
て正ならば受入れた一対のデータが前半のものであり逆
に負ならば後半のデータであると判断し4個のデータを
各々識別する事ができる。
This assignment of positive and negative signs is performed by selecting the phase of the corresponding two-phase pulse train. As a result, the receiving section detects the selected phase and determines whether the received data is positive or negative. If it is positive, it is determined that the received pair of data is the first half, and if it is negative, it is determined that it is the second half, and each of the four pieces of data can be identified.

上記識別を行なう為にデータXは1回の転送処理に付き
必ず一度は負の符号を付されたデータとならなければな
らない。もし負のデータを出力するタイミングの時デー
タが○であれば受信部はそれが前半のデータであるか後
半のデータであるかを識別する事ができない。この烏貝
の符号を付すべきデータが0である場合は、送信部はそ
のデータに−128の整数を与え出力する。受信部は受
入れたデータが−128であった場合には、そのデータ
は実際には0であると認識する。
In order to carry out the above-mentioned identification, the data X must be given a negative sign at least once per transfer process. If the data is ○ at the timing to output negative data, the receiving section cannot identify whether it is the first half data or the second half data. If the data to be given the Ugai code is 0, the transmitter gives the data an integer of -128 and outputs it. If the received data is -128, the receiver recognizes that the data is actually 0.

上記に述べた通信方式により1回の転送処理により4個
のデータの通信が可能となる。さらに受信部におけるデ
ータの識別及び読み取りの信頼性を向上させる為に第4
図に示す転送方式も可能である。送信部は4個のデータ
のうち前半の転送期間に送られる一対のデータに対して
、データXに正の符号を付しデータYに負の符号を付す
る。
The communication method described above allows communication of four pieces of data through one transfer process. Furthermore, in order to improve the reliability of data identification and reading in the receiving section, a fourth
The transfer method shown in the figure is also possible. The transmitter assigns a positive sign to data X and a negative sign to data Y for a pair of data sent in the first half transfer period among the four pieces of data.

又後半の転送期間に送られる一対のデータのうちデータ
Xに負の符号を付しデータYに正の符号を付する。そし
て受信部は前半に受入れたデータXが正でありデータY
が負であり且つ後半のデータXが負でありデータYが正
であれば受入れた4個のデータが正常であると認識しそ
れ以外の符号の組合せであればエラーと見做す。これに
より転送されてくるデータに対して常にチエツクを行な
う事ができる。
Also, of the pair of data sent in the latter transfer period, data X is given a negative sign and data Y is given a positive sign. Then, the receiving section accepts the data X received in the first half as positive, and the data Y
is negative, and the latter half data This makes it possible to constantly check the transferred data.

本発明にかかる通信方式は1回の転送処理に4個のデー
タを転送する場合に限られるものではなく、例えば以下
の表1に示す様に1回の転送処理により8個のデータを
転送する事もできる。
The communication method according to the present invention is not limited to the case where four pieces of data are transferred in one transfer process, but for example, eight pieces of data are transferred in one transfer process as shown in Table 1 below. I can also do things.

表    1 データX  +0−0+0−0+0−  、、。Table 1 Data X +0-0+0-0+0-,,.

データy  −o+o+o+o−o+ この例においても、一対のパルス回路X及びYを用いて
一対のデータX及びYごとに転送を行なう。データXに
ついては転送ごとにその符号を反転する事により前後の
データの対を互いに識別する様にしている。又1回の転
送処理により最初に出力されるデータYに負の符号を付
し、残りのデータYに正の符号を付する。受信部は受入
れたデータYの符号が負であった場合にはそのデータが
1回の転送処理における先頭のデータである事を認識す
る。この様に送信部と受信部が互いに同期をとりながら
多数のデータを転送する事ができる。なお、1回の転送
処理における最終データのチエツクサム又はCRCによ
り転送されたデータの信頼性を知る事ができる。
Data y -o+o+o+o-o+ In this example as well, a pair of pulse circuits X and Y are used to transfer each pair of data X and Y. The sign of data X is inverted every time it is transferred, so that pairs of data before and after it can be identified from each other. Also, a negative sign is attached to the data Y that is output first in one transfer process, and a positive sign is attached to the remaining data Y. If the received data Y has a negative sign, the receiving unit recognizes that the received data is the first data in one transfer process. In this way, the transmitting section and the receiving section can transfer a large amount of data while being synchronized with each other. Note that the reliability of the transferred data can be known from the checksum or CRC of the final data in one transfer process.

〔実 施 例〕〔Example〕

以下第5図ないし第9図を参照して本発明にかかるパル
スカウントデータ通信方式の好適な実施例を詳細に説明
する。第5図は送信部に内蔵されるハードウェアの構成
図である。このノ\−ドウエアは、受信部の内蔵する一
対のXマウスカウンタ及びYマウスカウンタに対応する
一対のXA7レス回路15及びYパルス回路16と、パ
ルス列の送出タイミングを規定するタイミング発生回路
17とから構成されている。Xパルス回路15とYノく
ルス回路16は同一の構成を有し、各々Xパルス列(X
A。
A preferred embodiment of the pulse count data communication system according to the present invention will be described in detail below with reference to FIGS. 5 to 9. FIG. 5 is a configuration diagram of hardware built into the transmitter. This node software consists of a pair of XA7 reply circuits 15 and a Y pulse circuit 16 that correspond to a pair of X mouse counters and Y mouse counters built into the receiving section, and a timing generation circuit 17 that defines the sending timing of the pulse train. It is configured. The X pulse circuit 15 and the Y pulse circuit 16 have the same configuration, and each generates an X pulse train (X
A.

XB)とYパルス列(YA、YB)を出力する。XB) and Y pulse train (YA, YB).

図示する様にXパルス回路i5はデータバスDBから送
られてきた8ビット配列のデータに基いてその数値に対
応したパルス列を発生するパルス列発生回路18と、該
パルス列に基いて二相のパルス列XA及びXBを発生す
る位相回路19とから構成されている。パルス列発生回
路i8はデータバスから順次データを取込む為のラッチ
回路20.及びラッチ回路20に取込まれたデータのバ
イナリ表現数値に従ってクロック信号CKを計測する8
ビットバイナリ−カウンタ21を有する。所定の個数分
だけ計数されたパルス列がアンド回路21を介して位相
回路19に送られる。位相回路19は一対のDフリップ
フロラプ回路22.23を有しており、ラッチ回路20
に取込まれたデータの正負符号に応じて進相若しくは遅
相の二相パルス列XA及びXBを出力する。
As shown in the figure, the X pulse circuit i5 includes a pulse train generation circuit 18 that generates a pulse train corresponding to the numerical value based on the 8-bit array data sent from the data bus DB, and a two-phase pulse train XA based on the pulse train. and a phase circuit 19 that generates XB. The pulse train generation circuit i8 includes a latch circuit 20 for sequentially fetching data from the data bus. and measuring the clock signal CK according to the binary representation value of the data taken into the latch circuit 20 8
It has a bit binary counter 21. The pulse train counted by a predetermined number is sent to the phase circuit 19 via the AND circuit 21. The phase circuit 19 has a pair of D flip-flop circuits 22 and 23, and a latch circuit 20.
It outputs a two-phase pulse train XA and XB of leading or lagging phase according to the positive or negative sign of the data taken in.

第6図は第5図に示す回路の動作を説明する為のタイミ
ングチャートである。本実施例においては二相パルス列
のパルスエツジの配列間隔を指定するクロックCKは2
μsとする。従って二相パルス列の一対のパルス列成分
XAとXBの周期は8μsとなる。二相パルス列の出力
タイミングは信号T1とT2によって決まる。信号T2
は1回の転送処理に付き出力される4個のデータの出力
タイミングを規定しここではT2−5msに設定する。
FIG. 6 is a timing chart for explaining the operation of the circuit shown in FIG. In this embodiment, the clock CK that specifies the pulse edge arrangement interval of the two-phase pulse train is 2.
Let it be μs. Therefore, the period of the pair of pulse train components XA and XB of the two-phase pulse train is 8 μs. The output timing of the two-phase pulse train is determined by the signals T1 and T2. Signal T2
defines the output timing of four pieces of data that are output per one transfer process, and is set to T2-5ms here.

この場合転送レートは1秒当り200回の転送処理とな
る。
In this case, the transfer rate is 200 transfer processes per second.

信号T1の立ち下がりタイミング■によって送信部のC
PUに割込みをかけ(INT)、これによりCPUはC
PUボートから信号T2の論理レベルを読み取る。信号
T2のレベルがLであるならば前半のデータを8ビツト
ラッチ回路20に書き込み、レベルがHであるならば後
半のデータを8ビツトラッチ回路20に書き込む。ラッ
チされたデータは8ビットバイナリ−カウンタ2工にロ
ードされる。タイミング信号T1がレベルHになるタイ
ミング■においてカウンタ21はクロックCKの計数を
開始し、カウンタ21に設定された整数値に対応するク
ロック数の計数を行なう。そして計数終了のタイミング
■において信号CYを立てる。
The C of the transmitting section is determined by the falling timing of the signal T1.
Interrupts the PU (INT), which causes the CPU to
Read the logic level of signal T2 from the PU boat. If the level of the signal T2 is L, the first half of the data is written to the 8-bit latch circuit 20, and if the level of the signal T2 is H, the second half of the data is written to the 8-bit latch circuit 20. The latched data is loaded into two 8-bit binary counters. At timing (3) when the timing signal T1 becomes level H, the counter 21 starts counting the clocks CK, and counts the number of clocks corresponding to the integer value set in the counter 21. Then, the signal CY is raised at the timing (3) when the counting ends.

8ビットバイナリ−カウンタ21の動作中にタイミング
■において位相回路19を動作させるクロック信号CK
を出力しX二相パルス列(XA、XB)を発生させる。
Clock signal CK that operates the phase circuit 19 at timing ■ during the operation of the 8-bit binary counter 21
is output to generate an X two-phase pulse train (XA, XB).

Yパルス回路16はXパルス回路15と同様な構成を有
するが、インバータ24によりY二相パルス列(YA、
YB)の位相をX二相パルス列に対して反転させている
The Y pulse circuit 16 has the same configuration as the X pulse circuit 15, but the inverter 24 generates a Y two-phase pulse train (YA,
The phase of YB) is inverted with respect to the X two-phase pulse train.

第7図はこの様にして合成されたX二相パルス列及びY
二相パルス列の波形を示す。第7図の波形はXデータの
表わす整数値が13であり、Yデータの表わす整数値が
−7の場合の例を示す。
Figure 7 shows the X two-phase pulse train and Y phase pulse train synthesized in this way.
The waveform of a two-phase pulse train is shown. The waveform in FIG. 7 shows an example where the integer value represented by the X data is 13 and the integer value represented by the Y data is -7.

次に受信部のハードウェア構成を第8図に示す。Next, the hardware configuration of the receiving section is shown in FIG.

ホストコンピュータ等からなる受信部はマウスインター
フェースを含んでいる。マウスインターフェースはマウ
スカウンタ25とポート26を具備している。マウスカ
ウンタ25はX二相パルス列(XA、XB)を計数する
為のXカウンタと、Y二相パルス列(YA、YB)を計
数する為のYカウンタを備えている。ポート26はマウ
スから送られてくるスイッチング信号S1及びS2を受
入れる為のものである。本発明にかかる通信方式におい
てはポート26は使用しない。しかしながらスイッチン
グ信号S1及びS2を利用して転送データの読み取りタ
イミングを制御する事は可能である。出願人はポート2
6を利用するデータ通信方式について、既に特願平1−
181483号として出願している。しかしながらポー
ト26には通常スイッチング信号S1及びS2のチャタ
リングを防止する為に遅延回路が備えられておりこの為
データの高速転送を行なう事が難しい。さて受信部を構
成するホストコンピュータはさらにCPU27を備えて
おりマウスカウンタ25によって計数された計数値の読
み取りを行なっている。
The receiving section, which is a host computer or the like, includes a mouse interface. The mouse interface includes a mouse counter 25 and a port 26. The mouse counter 25 includes an X counter for counting the X two-phase pulse train (XA, XB) and a Y counter for counting the Y two-phase pulse train (YA, YB). Port 26 is for receiving switching signals S1 and S2 sent from the mouse. Port 26 is not used in the communication system according to the present invention. However, it is possible to control the read timing of transfer data using the switching signals S1 and S2. Applicant is port 2
A patent application has already been filed regarding a data communication method using 6.
It has been filed as No. 181483. However, the port 26 is usually equipped with a delay circuit to prevent chattering of the switching signals S1 and S2, and therefore it is difficult to transfer data at high speed. The host computer constituting the receiving section further includes a CPU 27 and reads the count counted by the mouse counter 25.

第9図は受信部のホストコンピュータによって行なわれ
るマウスカウンタ読み取り処理を示すフローチャートで
ある。本実施例においては、1回の転送処理により4個
のデータを前半と後半に分けて転送を行なう例を示す。
FIG. 9 is a flowchart showing the mouse counter reading process performed by the host computer of the receiving section. In this embodiment, an example will be shown in which four pieces of data are divided into the first half and the second half and transferred in one transfer process.

4個のデータのうち、前半の2個のデータか後半の2個
のデータかを選択するが、前半の2個のデータが選択さ
れた場合、CPU27はXカウンタを読み取り、Xデー
タが正ならばXカウンタの計数性が0になるまで加算処
理を行なう。逆にXデータが負の場合はエラー処理ヘジ
ャンブする。次にYカウンタのデータを読み取り、デー
タが負であるならばYカウンタの計数性がOになるまで
加算処理を行なう。正の場合はエラー処理ヘジャンプす
る。XカウンタとYカウンタの計数性が0になると、送
信部からの前半データの転送が終了した事を判定して次
に後半データの受信処理に移る。
Out of the four data, the first two data or the latter two data are selected. If the first two data are selected, the CPU 27 reads the X counter, and if the X data is positive, For example, addition processing is performed until the countability of the X counter becomes 0. Conversely, if the X data is negative, jump to error processing. Next, the data of the Y counter is read, and if the data is negative, addition processing is performed until the countability of the Y counter becomes O. If positive, jump to error processing. When the countability of the X counter and the Y counter becomes 0, it is determined that the transfer of the first half data from the transmitter has been completed, and the process moves on to receiving the second half data.

後半の2個のデータが選択された場合、Xカウンタを読
み取りXデータが負であるならばXカウンタの計数性が
Oになるまで加算処理を行なう。
When the latter two data are selected, the X counter is read and if the X data is negative, addition processing is performed until the countability of the X counter becomes O.

Xデータが正の場合にはエラー処理ヘジャンブする。次
にYカウンタの計数性を読み取り、Yデータが正ならば
Yカウンタの計数性がOになるまで加算処理を行なう。
If the X data is positive, jump to error processing. Next, the countability of the Y counter is read, and if the Y data is positive, addition processing is performed until the countability of the Y counter becomes O.

負の場合にはエラー処理ヘジャンプする。Xカウンタと
Yカウンタの計数性が○になれば、送信部からの後半デ
ータの転送が終了した事を判定して転送された4個のデ
ータの確定を行なう。そして読み取り処理は前半データ
の受信処理に移行する。
If it is negative, jump to error processing. When the countability of the X counter and the Y counter becomes ◯, it is determined that the transfer of the second half data from the transmitter has been completed, and the four transferred data are determined. The reading process then shifts to the receiving process of the first half data.

次に本発明にかかるパルスカウント通信方式の転送レー
トを、1回の転送処理に付き4個のデータの通信を行な
う場合を例にとって説明する。転送レートは送信部のパ
ルス列出力タイミング時間と受信部のマウスカウンタ読
み取りタイミング時間によって決まる。受信部の例とし
てインターバルタイマーの時間を2msとすると1回の
処理における4個のデータの転送時間は、5 X 2−
 logsで、転送レートは1秒に付き100回の転送
となる。送信部のパルス列出力タイミングと受信部の読
み取りタイミングが短い程転送レートが速くなるので、
両者のタイミングを可変とすれば任意の転送レートを実
現する事ができる。インターバルタイマーと転送レート
の関係を以下の表2に示す。
Next, the transfer rate of the pulse count communication method according to the present invention will be explained using an example in which four pieces of data are communicated in one transfer process. The transfer rate is determined by the pulse train output timing of the transmitter and the mouse counter reading timing of the receiver. As an example of the receiving section, if the interval timer time is 2 ms, the transfer time for 4 pieces of data in one process is 5 x 2-
logs, the transfer rate is 100 transfers per second. The shorter the pulse train output timing of the transmitter and the read timing of the receiver, the faster the transfer rate.
By making both timings variable, any transfer rate can be achieved. The relationship between the interval timer and transfer rate is shown in Table 2 below.

表 2 最後に本発明にかかるデータ転送方式によって転送され
るデータフォーマットの例を示す。ここではデジタイザ
によって入力される座標位置を示すデジタルデータのホ
ストコンピュータに対する転送を説明する。
Table 2 Finally, examples of data formats transferred by the data transfer method according to the present invention are shown. Here, a description will be given of the transfer of digital data indicating a coordinate position input by a digitizer to a host computer.

デジタルデータはデジタイザのサイズにより2バイト以
上のビット及びバイト構成になる。−例として表3に、
各々8ビツトからなる第1なLSL第4バイトで構成さ
れるデジタルデータのビ・ソト及びバイト構成を示す。
Digital data consists of two or more bytes of bits and bytes depending on the size of the digitizer. - For example, in Table 3,
The bit and byte configuration of digital data consisting of the first LSL fourth byte each consisting of 8 bits is shown.

表 表3の左側に示す数字工ないし4は第1ないし第4バイ
トを意味し、上側の数字7ないしOは各バイトにおける
8ビット配列を示す。ただし、本例においては、各バイ
トの最上位ビットは空けである。従って1個の座標位置
に関する情報は4×7−28のビット配列によって表現
される。これら28ビット配列は第1ないし第4バイト
に分割されているわけである。ここでビットXOないし
XlOはX座標を表わし0〜2047のX座標値を指定
する事ができ、ビットYOないしY9はY座標を表わし
同じく0〜1023のY座標値を指定する事ができる。
The numbers 7 to 4 on the left side of Table 3 indicate the first to fourth bytes, and the numbers 7 to O on the upper side indicate the 8-bit array in each byte. However, in this example, the most significant bit of each byte is empty. Therefore, information regarding one coordinate position is expressed by a 4x7-28 bit array. These 28-bit arrays are divided into first to fourth bytes. Here, bits XO to XlO represent the X coordinate and can specify an X coordinate value of 0 to 2047, and bits YO to Y9 represent a Y coordinate and can similarly specify a Y coordinate value of 0 to 1023.

またビットSOないしS5は1個の指定位置に対する入
力器具の種類あるいは階調等に関するスイッチ信号を表
わす。ビットRDYは座標指示器が平面センサ部の有効
エリア内にある事を示す。
Further, bits SO to S5 represent switch signals related to the type of input device, gradation, etc. for one specified position. Bit RDY indicates that the coordinate indicator is within the effective area of the flat sensor section.

上述した実施例においては、デジタイザの入力座標デー
タをホストコンピュータに転送する例を説明した。しか
しながら本発明にかかるパルスカウント通信方式は種々
の入力端末機器や計測器等とホストコンピュータの間の
データ転送に適用できる。従って本発明の技術的範囲は
何らデジタイザのデータ転送に限られるものではない。
In the embodiments described above, an example has been described in which input coordinate data of a digitizer is transferred to a host computer. However, the pulse count communication method according to the present invention can be applied to data transfer between various input terminal devices, measuring instruments, etc. and a host computer. Therefore, the technical scope of the present invention is not limited to digitizer data transfer in any way.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に、本発明にかかるパルスカウント通信
方式によれば、データはバスマウスインターフェースを
介してホストコンピュータに転送する事ができるので、
従来の様にRS −232Cインターフエースを用いる
必要がなく、全体としてホストコンピュータのマルチ端
末処理能力を有効に利用する事ができるとともに、比較
的使用頻度の少ないバスマウスインターフェースを有効
に活用する事ができるという効果がある。
As explained above, according to the pulse count communication method according to the present invention, data can be transferred to the host computer via the bus mouse interface.
There is no need to use the RS-232C interface as in the past, and the host computer's multi-terminal processing capacity can be effectively utilized as a whole, as well as the bus mouse interface, which is relatively infrequently used. There is an effect that it can be done.

【図面の簡単な説明】[Brief explanation of drawings]

第1図はパルスカウント通信方式の全体構成図、第2図
は二相パルス列の波形図、第3図は転送タイミングチャ
ート、第4図は他の転送タイミングチャート、第5図は
送信部の回路構成図、第6図は送信部の動作タイミング
チャート、第7図はXY二相パルス列の波形図、第8図
は受信部のブロック図、第9図は受信部の読み取り処理
フローチャート、第1O図は従来の通信方式の概要を示
す斜視図、第11図は従来の転送方式の転送信号を示す
波形図、第12図はバスマウスの構造模式図、第13図
はバスマウスセンサの動作説明図、及び第14図はバス
マウスの出力信号波形図である。 9・・・パルスデータ送信部 10・・・パルスデータ受信部 11・・・パルス回路
12・・・計数回路      13・・・読み取り回
路14・・・符号回路 二末BバセスタIの兜す形4の 第2図 ■ ■ ■ ■ ■ ■ 訂敷儂 it数儂 転よ乱りイ々ング子〒−ト 第 図 XY二二本ツノルス列の沖e杉4a 第7図 堡イ言吉pのフ゛ロツフ(2) 第8図 1賢イ占音pの含たみ1文り怨理フD−ナヤート第9 図 4疋来の通イ宮7y式の宋洗」d乞示↑凛1視躬第10
図 形E9!、の鞍雫塚刀式の転之イ言号液形穐第11図
Figure 1 is an overall configuration diagram of the pulse count communication system, Figure 2 is a waveform diagram of a two-phase pulse train, Figure 3 is a transfer timing chart, Figure 4 is another transfer timing chart, and Figure 5 is the transmitter circuit. Configuration diagram, Figure 6 is an operation timing chart of the transmitter, Figure 7 is a waveform diagram of the XY two-phase pulse train, Figure 8 is a block diagram of the receiver, Figure 9 is a flowchart of the reading process of the receiver, and Figure 1O. is a perspective view showing an overview of a conventional communication method, FIG. 11 is a waveform diagram showing a transfer signal of a conventional transfer method, FIG. 12 is a schematic diagram of the structure of a bus mouse, and FIG. 13 is an explanatory diagram of the operation of a bus mouse sensor. , and FIG. 14 are output signal waveform diagrams of the bus mouse. 9...Pulse data transmitting section 10...Pulse data receiving section 11...Pulse circuit 12...Counting circuit 13...Reading circuit 14...Code circuit 2-end B bassester I helmet shape 4 2nd figure ■ ■ ■ ■ ■ ■ Edited by a number of people who are confused by the number of changes. Figure 7. (2) Fig. 8 1 Ken'i divination p's inclusion 1 monri enrifu D-Nayat 9 Fig. 4 Hikira no Tsui'i Palace 7 Y-style Sung wash'd shoji↑Rin 1 observation pt. 10
Figure E9! Figure 11 of the Kurashizuka sword style's change of words, liquid form, and

Claims (1)

【特許請求の範囲】 1、バイナリービット列からなるデータを送信部から受
信部へ転送する通信方式において、 送信部は転送すべきデータを構成するバイナリービット
列が表わす整数に従って、対応する個数のパルスエッジ
を含む二相パルス列を所定の転送期間内に出力するパル
ス回路を有し、 受信部は該二相パルス列に含まれるパルスエッジを計数
するリセット可能な計数回路と、転送期間内において所
定の読み取り間隔で逐次該計数回路の計数分の読み取り
及びリセットを行ない読み取られた計数分がゼロになっ
た時各計数分の合算を行ない受け入れたパルスエッジの
個数の確定を行なう読み取り回路とを有する事を特徴と
する通信方式。 2、送信部は複数の一連のデータを相互に識別する為に
正負の符号を各データに付する符号回路を有し、該パル
ス回路は該符号に応じて二相パルス列の位相を選択する
とともに、 受信部は該位相に従って、時系列的に転送されてくる一
連のデータを相互に識別する事を特徴とする請求項1に
記載の通信方式。 3、該符号回路は一連のデータに対して交互に正負の符
号を付する事を特徴とする請求項2に記載の通信方式。 4、該符号回路は一連のデータの内先頭のデータに対し
て他と異なる符号を付する事を特徴とする請求項2に記
載の通信方式。 5、送信部は一対のデータを同時に送信する為に一対の
パルス回路を有し、受信部は一対のデータを同時に受信
する為に一対の計数回路を有している事を特徴とする請
求項1に記載の通信方式。 6、該一対のパルス回路は前半の転送期間内に一対のデ
ータを送信し、後半の転送期間内に他の一対のデータを
送信する事により、一回の転送処理により4個のデータ
の送信を行なう事を特徴とする請求項5に記載の通信方
式。 7、受信部の計数回路及び読み取り回路はバスマウスイ
ンターフェースから構成されている事を特徴とする請求
項1に記載の通信方式。 8、送信部はデジタイザなどの入力データを送信する事
を特徴とする請求項1に記載の通信方式。
[Claims] 1. In a communication system that transfers data consisting of a binary bit string from a transmitting section to a receiving section, the transmitting section transmits a corresponding number of pulse edges according to an integer represented by the binary bit string constituting the data to be transferred. The receiver has a pulse circuit that outputs a two-phase pulse train containing the pulse edges within a predetermined transfer period, and the receiver includes a resettable counting circuit that counts the pulse edges included in the two-phase pulse train, and It is characterized by having a reading circuit that sequentially reads and resets the counts of the counting circuit, and when the read counts become zero, adds up each count to determine the number of accepted pulse edges. communication method. 2. The transmitter has a code circuit that assigns a positive or negative sign to each data in order to mutually identify a plurality of series of data, and the pulse circuit selects the phase of the two-phase pulse train according to the code, and 2. The communication system according to claim 1, wherein the receiving section mutually identifies a series of data transferred in chronological order according to the phase. 3. The communication system according to claim 2, wherein the code circuit alternately assigns positive and negative codes to the series of data. 4. The communication system according to claim 2, wherein the code circuit assigns a different code to the first data in the series of data. 5. Claim characterized in that the transmitting section has a pair of pulse circuits for simultaneously transmitting a pair of data, and the receiving section has a pair of counting circuits for simultaneously receiving a pair of data. The communication method described in 1. 6. The pair of pulse circuits transmits one pair of data during the first half transfer period and the other pair of data during the second half transfer period, thereby transmitting four pieces of data in one transfer process. 6. The communication method according to claim 5, wherein: 7. The communication system according to claim 1, wherein the counting circuit and the reading circuit of the receiving section are constituted by a bus mouse interface. 8. The communication system according to claim 1, wherein the transmitter transmits input data from a digitizer or the like.
JP1324328A 1989-12-13 1989-12-13 Pulse counting communication system Pending JPH03184114A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP1324328A JPH03184114A (en) 1989-12-13 1989-12-13 Pulse counting communication system
EP19910900377 EP0457922A4 (en) 1989-12-13 1990-12-11 Pulse count type communication system.
US07/730,830 US5325398A (en) 1989-12-13 1990-12-11 Pulse count mode communication system
PCT/JP1990/001613 WO1991009362A1 (en) 1989-12-13 1990-12-11 Pulse count type communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1324328A JPH03184114A (en) 1989-12-13 1989-12-13 Pulse counting communication system

Publications (1)

Publication Number Publication Date
JPH03184114A true JPH03184114A (en) 1991-08-12

Family

ID=18164563

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1324328A Pending JPH03184114A (en) 1989-12-13 1989-12-13 Pulse counting communication system

Country Status (1)

Country Link
JP (1) JPH03184114A (en)

Similar Documents

Publication Publication Date Title
CA1315008C (en) System permitting peripheral interchangeability
CN106406616B (en) Master/slave control of touch sensing
US4628446A (en) Multichannel interface
CN1009893B (en) Method and device for determination of data transmission speed
EP0303991B1 (en) Method of packetizing data
US4860292A (en) Communication protocol
CN107957811A (en) Touch display device, touch system, touch master device and communication means
WO1991009362A1 (en) Pulse count type communication system
US5230071A (en) Method for controlling the variable baud rate of peripheral devices
CN1934558A (en) Signaling arrangement and approach therefor
EP0564118A1 (en) Serial data transfer apparatus and method
JPH03184114A (en) Pulse counting communication system
JPS592107A (en) Interface apparatus
JPH04169923A (en) Communication system for coordinate input device
EP0303288B1 (en) Peripheral repeater box
US4896288A (en) Programmable controller input module
CN1321382C (en) Serial/parallel data converting module and relative computer system
CN220252568U (en) Signal acquisition circuit, sensing device and interaction system of sensor array
CN112486247B (en) Coincidence controller, realization method thereof and positron emission tomography system
SU868741A1 (en) Device for interfacing two computers
EP4242860A1 (en) A device for decoding the data communication under universal serial bus standard
CN104635578B (en) Sonar audible presentation circuit
WO2022073606A1 (en) Device, preferably usb device, corresponding computer device and method
JPH01221043A (en) Keyboard control system
CN1031417A (en) Digitally indicating recorder for measuring length