JP3518330B2 - Data communication method and receiving device - Google Patents

Data communication method and receiving device

Info

Publication number
JP3518330B2
JP3518330B2 JP11823298A JP11823298A JP3518330B2 JP 3518330 B2 JP3518330 B2 JP 3518330B2 JP 11823298 A JP11823298 A JP 11823298A JP 11823298 A JP11823298 A JP 11823298A JP 3518330 B2 JP3518330 B2 JP 3518330B2
Authority
JP
Japan
Prior art keywords
level
threshold
detection pattern
average value
data
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.)
Expired - Lifetime
Application number
JP11823298A
Other languages
Japanese (ja)
Other versions
JPH11313115A (en
Inventor
一洋 工藤
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.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP11823298A priority Critical patent/JP3518330B2/en
Publication of JPH11313115A publication Critical patent/JPH11313115A/en
Application granted granted Critical
Publication of JP3518330B2 publication Critical patent/JP3518330B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はデジタルデータの通
信をするデータ通信方法及び受信装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method and a receiving device for communicating digital data.

【0002】[0002]

【従来の技術】図8は従来のASK変調された信号を受
信し、復調するための受信装置の一例を示すブロック図
である。本図に示すように受信装置はASK変調信号を
受信部101で受信し、包絡線検波部102によって包
絡線検波し、検波出力を比較部103,基準レベル発生
部104に与える。基準レベル発生部104は包絡線検
波出力を長い時定数にわたって積分することにより、A
SK変調される信号の中間値を基準レベルとして生成
し、基準レベルを比較部103に与えるものである。比
較部103はこうして得られた基準レベルによって包絡
線出力を弁別し、データ信号を復調して出力するもので
ある。
2. Description of the Related Art FIG. 8 is a block diagram showing an example of a conventional receiver for receiving and demodulating an ASK-modulated signal. As shown in the figure, in the receiving device, the ASK modulated signal is received by the receiving unit 101, envelope detection is performed by the envelope detection unit 102, and the detection output is given to the comparison unit 103 and the reference level generation unit 104. The reference level generator 104 integrates the envelope detection output over a long time constant to obtain A
The intermediate value of the SK-modulated signal is generated as a reference level and the reference level is given to the comparison unit 103. The comparison unit 103 discriminates the envelope output based on the reference level thus obtained, demodulates the data signal, and outputs the demodulated data signal.

【0003】しかしながらこのような従来の受信装置に
あっては、基準レベルの決定を包絡線検波出力によって
逐次行っているため、図9(a),(c)に示すように
所定の論理レベル「0」や「1」が連続すると基準レベ
ルが変化してしまい、適切な基準レベルを設定すること
ができなくなる。そこで従来のASK変調方式では、符
号化を行っている。例えば図9(b),(d)に示すよ
うに、NRZの論理「0」に対して「01」、論理
「1」に対して「10」となるマンチェスタ符号化を行
い、「0」及び「1」の発生確率を同一としていた。こ
うすれば基準レベル発生部104で適切な基準レベルを
設定することができ、正確に元の信号を復調することが
できる。
However, in such a conventional receiving apparatus, since the reference level is sequentially determined by the envelope detection output, as shown in FIGS. 9 (a) and 9 (c), a predetermined logical level " If "0" or "1" continues, the reference level changes, and it becomes impossible to set an appropriate reference level. Therefore, in the conventional ASK modulation method, encoding is performed. For example, as shown in FIGS. 9B and 9D, Manchester encoding is performed so that the logical "0" of the NRZ is "01" and the logical "1" is "10", and the "0" and The occurrence probability of "1" was the same. In this way, the reference level generator 104 can set an appropriate reference level, and the original signal can be accurately demodulated.

【0004】[0004]

【発明が解決しようとする課題】しかしながらこのよう
なマンチェスタ符号化した信号を用いる場合には、正確
な基準レベルを得ることができるが、伝送データ量が元
のNRZでのデータ量に比べて2倍となり、データの伝
送速度が1/2に低下してしまうという問題点があっ
た。
However, when such a Manchester-coded signal is used, an accurate reference level can be obtained, but the amount of transmitted data is less than that of the original NRZ. There has been a problem that the data transmission speed is reduced to 1/2.

【0005】本発明はこのような従来の問題点に着目し
てなされたものであって、送出するデータをマンチェス
タ符号化せず、データ伝送速度を落とすことなく正確に
信号を復調できるようにすることを目的とする。
The present invention has been made in view of the above-mentioned conventional problems, and makes it possible to accurately demodulate a signal without Manchester encoding the data to be transmitted and without lowering the data transmission rate. The purpose is to

【0006】[0006]

【課題を解決するための手段】本願の請求項1の発明
は、デジタルデータを伝送するデータ通信方法であっ
て、送信装置より論理0及び1が交互に連続するレベル
検出パターンに続いて送信データ列に応じて変調された
信号を送出し、受信装置で前記レベル検出パターンの受
信によって0レベル及び1レベルの平均値を算出し、前
記0レベル及び1レベルの夫々の平均値から所定の条件
により閾値レベルを設定し、設定された前記閾値に基づ
いて前記レベル検出パターンに引き続くデータ列を弁別
することを特徴とするものである。ここで、前記閾値レ
ベルの設定を、受信装置で前記レベル検出パターンの受
信によって0レベル及び1レベルの平均値を夫々算出
し、前記2つの平均値の中間値を閾値レベルとするよう
にしてもよい。
According to a first aspect of the present invention, there is provided a data communication method for transmitting digital data, wherein a transmission device follows a level detection pattern in which logic 0's and 1's are alternately consecutive to each other. A signal modulated according to a column is transmitted, a receiving device receives the level detection pattern to calculate an average value of 0 level and 1 level , and the average value of each of the 0 level and 1 level is calculated according to a predetermined condition. A threshold level is set, and a data string following the level detection pattern is discriminated based on the set threshold. Here, the threshold level
Set the bell to the receiving device to receive the level detection pattern.
Calculate the average value of 0 level and 1 level respectively
Then, set the intermediate value of the two average values as the threshold level.
You may

【0007】本願の請求項の発明は、デジタルデータ
を伝送するデータ通信方法であって、送信装置より論理
0及び1が交互に連続するレベル検出パターンに続いて
送信データ列に応じて変調された信号を送出し、受信装
置で前記レベル検出パターンの受信によって0レベル及
び1レベルの平均値を算出し、前記0レベル及び1レベ
の夫々の平均値から所定の条件により閾値レベルを設
定し、設定された前記閾値に基づいて前記レベル検出パ
ターンに引き続くデータ列を弁別し、弁別されたデータ
列に基づいて前記閾値レベルを順次変更することを特徴
とするものである。ここで、前記閾値レベルの設定を、
受信装置で前記レベル検出パターンの受信によって0レ
ベル及び1レベルの平均値を夫々算出し、前記2つの平
均値の中間値を閾値レベルとするようにしてもよい。
A third aspect of the present invention is a data communication method for transmitting digital data, which is modulated by a transmitter according to a transmission data string following a level detection pattern in which logic 0s and 1s are alternately continuous. Signal is transmitted, the receiving device calculates the average value of 0 level and 1 level by receiving the level detection pattern, and sets the threshold level according to a predetermined condition from the average value of each of the 0 level and 1 level, The data string following the level detection pattern is discriminated based on the set threshold value, and the threshold level is sequentially changed based on the discriminated data sequence. Here, the setting of the threshold level,
The receiving device receives 0 level by receiving the level detection pattern.
Calculate the average value of the bell and 1 level respectively, and
The mean value of the average values may be set as the threshold level.

【0008】本願の請求項の発明は、0レベル及び1
レベルを交互に連続させるレベル検出パターンに続いて
データ列を送信する送信装置からの信号を受信する受信
装置において、前記送信装置からの信号を受信する受信
部と、前記受信部より得られる信号を包絡線検波する包
絡線検波部と、前記レベル検出パターンの送信時に得ら
れる0レベル及び1レベルの平均値を算出する平均値算
出手段と、前記0レベル及び1レベルの平均値から閾値
を算出する閾値算出手段と、前記閾値算出手段によって
算出された閾値によって包絡線検波出力を弁別する比較
手段と、を有することを特徴とするものである。
According to the invention of claim 5 of the present application, 0 level and 1
In a receiving device that receives a signal from a transmitting device that transmits a data string following a level detection pattern in which levels are alternately continuous, a receiving unit that receives the signal from the transmitting device and a signal obtained from the receiving unit are provided. An envelope detecting section for performing envelope detection, an average value calculating means for calculating an average value of 0 level and 1 level obtained at the time of transmitting the level detection pattern, and a threshold value from the average value of 0 level and 1 level. It is characterized by comprising a threshold value calculating means and a comparing means for discriminating the envelope detection output by the threshold value calculated by the threshold value calculating means.

【0009】本願の請求項の発明は、請求項記載の
受信装置において、前記受信装置は、データ列の受信時
に受信レベルに応じてその閾値を連続して変化させる閾
値変更手段を有することを特徴とするものである。
According to a sixth aspect of the present invention, in the receiving device according to the fifth aspect , the receiving device has threshold changing means for continuously changing the threshold according to a reception level when receiving a data string. It is characterized by.

【0010】[0010]

【発明の実施の形態】図1は本発明の第1の実施の形態
によるデータ通信装置の全体構成を示すブロック図であ
る。本図に示すように送信装置1はASK変調を行い信
号を送信する送信装置であって、NRZのデータ列の送
出前に一定周期で「01」を複数回、例えば「0101
0101」のレベル検出パターンを送信し、その後NR
ZによるASK変調されたデータ列を送信するものとす
る。受信装置2Aはこの信号を受信する受信部11,受
信された信号の包絡線検波を行う包絡線検波部12を有
しており、包絡線検波出力はサンプルホールド回路(S
/H回路)13を介してA/D変換器14に与えられ
る。A/D変換器14は入力信号をデジタル値に変換し
てマイクロコンピュータ15に与えるものである。マイ
クロコンピュータ15は、レベル検出パターンを受信し
たときに0レベル及び1レベルの平均値を算出する平均
値算出手段15a、平均値に基づいて閾値を算出する閾
値算出手段15b、及び算出された閾値によってデータ
列のデータを比較する比較手段15cの機能を有してい
る。比較手段15cで比較された出力はデータ列として
外部に出力される。
1 is a block diagram showing the overall configuration of a data communication apparatus according to a first embodiment of the present invention. As shown in the figure, the transmitting device 1 is a transmitting device that performs ASK modulation and transmits a signal. Before transmitting the NRZ data string, “01” is repeated a plurality of times, for example, “0101”.
0101 ”level detection pattern and then NR
It is assumed that an ASK-modulated data string according to Z is transmitted. The receiver 2A has a receiver 11 that receives this signal, and an envelope detector 12 that performs envelope detection of the received signal. The envelope detection output is a sample hold circuit (S).
/ H circuit) 13 to the A / D converter 14. The A / D converter 14 converts an input signal into a digital value and gives it to the microcomputer 15. The microcomputer 15 uses the average value calculating means 15a for calculating the average value of the 0 level and the 1 level when receiving the level detection pattern, the threshold calculating means 15b for calculating the threshold value based on the average value, and the calculated threshold value. It has a function of a comparison means 15c for comparing the data in the data string. The output compared by the comparison means 15c is output to the outside as a data string.

【0011】次にこの実施の形態のデータ通信装置の動
作について図2のタイムチャート及び図3のフローチャ
ートを用いて説明する。図2(a)は送信装置1から送
出される送信データ列を示しており、データフレームの
最初に前述したレベル検出パターンが送出され、次いで
NRZのデータ列が続いて送出される。図2(b)はこ
の信号を受信する受信装置2の検波出力のうち、レベル
検出パターン部分を時間軸上で拡大して示している。受
信を開始するとまず図3に示すステップS1において0
レベルと1レベルの値をリセットし、S2においてデー
タ受信を行う。レベル検出パターンでは前述したように
「01010101」が送出されるため、受信信号をあ
らかじめ定められた既定値のレベルで弁別し、「0」の
場合にはステップS4に進んで0レベルに加算する。受
信信号が1の場合にはステップS5に進んで1レベルに
加算する。そしてステップS6においてレベル検出パタ
ーンの検出期間が終了したかどうかを待受け、終了して
いなければステップS2に戻って同様の処理を繰り返
す。こうすれば検出期間をレベル検出パターンの送出期
間と一致させておくことにより、検出期間内で0レベル
と1レベルとの加算値を得ることができる。そして検出
期間外となればステップS6からステップS7に進ん
で、0レベル,1レベルの加算値と夫々の受信した回数
に基づいて0レベルの平均値及び1レベルの平均値を算
出すると共に、その間、例えばその中間を閾値レベルと
して算出する。そしてステップS8に進んで、以後A/
D変換器14より送られてきた検波レベルを決定した閾
値によって比較し復調する。そしてその受信が終了した
かどうかをチェックし、終了するまでこの処理を繰り返
す。
Next, the operation of the data communication apparatus of this embodiment will be described with reference to the time chart of FIG. 2 and the flowchart of FIG. FIG. 2A shows a transmission data sequence transmitted from the transmission device 1. The above-described level detection pattern is transmitted at the beginning of the data frame, and then the NRZ data sequence is subsequently transmitted. FIG. 2B shows the level detection pattern portion of the detection output of the receiving device 2 which receives this signal in an enlarged manner on the time axis. When reception is started, first, 0 is set in step S1 shown in FIG.
The level and the value of the first level are reset, and the data is received in S2. Since "01010101" is sent out in the level detection pattern as described above, the received signal is discriminated at the level of a predetermined preset value, and if it is "0", the process proceeds to step S4 and is added to the 0 level. If the received signal is 1, the process proceeds to step S5 and is added to 1 level. Then, in step S6, it is awaited whether or not the detection period of the level detection pattern has ended, and if not ended, the process returns to step S2 and the same processing is repeated. In this way, by making the detection period coincide with the transmission period of the level detection pattern, the added value of 0 level and 1 level can be obtained within the detection period. If it is outside the detection period, the process proceeds from step S6 to step S7 to calculate the average value of 0 level and the average value of 1 level based on the added value of 0 level and 1 level and the number of times of reception, respectively, and For example, the intermediate value is calculated as the threshold level. Then, the process proceeds to step S8, and thereafter A /
The detection level sent from the D converter 14 is compared with the determined threshold and demodulated. Then, it is checked whether or not the reception is completed, and this process is repeated until it is completed.

【0012】こうすればNRZの送出の前にレベル検出
パターンを付加するだけで、その通信状態での正確な基
準レベルを決定することができ、マンチェスタ符号を用
いることなく通信時間を短縮することができる。又正確
な閾値レベルとすることができるため、受信レベルが低
い場合等、送信装置1と受信装置2とが離れている場合
にも通信が行える。そのため通信距離を延長することが
できるという効果が得られる。
In this way, the accurate reference level in the communication state can be determined only by adding the level detection pattern before sending the NRZ, and the communication time can be shortened without using the Manchester code. it can. Further, since the threshold level can be set accurately, communication can be performed even when the transmission device 1 and the reception device 2 are separated from each other, such as when the reception level is low. Therefore, the effect that the communication distance can be extended can be obtained.

【0013】図4は本発明の第2の実施の形態によるデ
ータ通信装置の構成を示すブロック図である。この実施
の形態では復調部の主要部分をハードウェアによって構
成したものである。受信装置2Bは第1の実施の形態と
同様に受信部11,包絡線検波部12を有しており、包
絡線検波出力は図示のようにサンプルホールド回路2
1,22に与えられる。サンプルホールド回路21,2
2にはマイクロコンピュータ23からサンプルホールド
のタイミングを与えるホールド信号が入力され、ホール
ド信号によって0レベル及び1レベルを受信したタイミ
ングで検波出力をホールドするものであり、その出力は
積分回路24,25に与えられる。積分回路24,25
はホールドされた出力を積分するものであり、その出力
はサンプルホールド回路26,27に与えられている。
サンプルホールド回路26,27はレベル検出パターン
の受信の終了時にCPU23よりホールド信号が出力さ
れ、この時点で積分出力をホールドするものであり、そ
の出力は抵抗R1,R2から成る分圧回路に与えられ
る。抵抗R1,R2は同一の抵抗値を有するものとし、
その中点が閾値として比較器28に与えられる。比較器
28はこの閾値を用いて包絡線検波出力を弁別するもの
である。
FIG. 4 is a block diagram showing the configuration of a data communication apparatus according to the second embodiment of the present invention. In this embodiment, the main part of the demodulation section is configured by hardware. The receiver 2B has a receiver 11 and an envelope detector 12 as in the first embodiment, and the envelope detection output is as shown in the figure.
1,22. Sample and hold circuits 21 and 2
A hold signal for giving a sample hold timing is input to the microcomputer 2 from the microcomputer 23, and the detection output is held at the timing when the 0 level and the 1 level are received by the hold signal, and the output is input to the integrating circuits 24 and 25. Given. Integrating circuits 24, 25
Is for integrating the held output, and its output is given to the sample hold circuits 26 and 27.
The sample-and-hold circuits 26 and 27 output a hold signal from the CPU 23 at the end of reception of the level detection pattern, hold the integrated output at this point, and the output is given to the voltage dividing circuit composed of the resistors R1 and R2. . The resistors R1 and R2 have the same resistance value,
The midpoint is given to the comparator 28 as a threshold value. The comparator 28 uses this threshold value to discriminate the envelope detection output.

【0014】次にこの実施の形態の動作について説明す
る。送信装置1より送出される送信データ列は図2
(a)と同様に、レベル検出パターン及びこれに引き続
くNRZのデータ列とする。送信を開始すると受信装置
2BではまずCPU23からのリセット信号によって積
分回路24,25がリセットされ、次いで0及び1の送
信タイミング毎にサンプルホールド回路21,22が交
互にホールドされる。このためサンプルホールド回路2
1では0レベル、サンプルホールド回路22では1レベ
ルの送信毎に検波出力がホールドされることとなる。こ
の出力は夫々積分回路24,25で積分される。そして
レベル検出パターンの送出終了後にCPU23よりホー
ルド信号がサンプルホールド回路26,27に出力され
るため、積分出力が保持される。この状態で0レベル及
び1レベルの平均値の演算が終了したこととなり、夫々
の平均値の中間値が抵抗分圧回路によって閾値として保
持される。この閾値が比較器28に与えられるため、以
後のNRZのデータ列を復調することができる。この場
合にも前述した第1の実施の形態と同様に、正確な閾値
レベルが設定できるため、マンチェスタ符号化を用いる
ことなく、通信速度を向上させ、しかも通信距離を長く
することができる。
Next, the operation of this embodiment will be described. The transmission data string sent from the transmitter 1 is shown in FIG.
Similar to (a), the level detection pattern and the subsequent NRZ data string are used. When transmission is started, in the receiving device 2B, the integrating circuits 24 and 25 are first reset by the reset signal from the CPU 23, and then the sample hold circuits 21 and 22 are alternately held at each transmission timing of 0 and 1. Therefore, the sample hold circuit 2
The detection output is held for each transmission of 1 level at 0 level and the sample hold circuit 22 at 1 level. This output is integrated by integrating circuits 24 and 25, respectively. After the level detection pattern has been transmitted, the CPU 23 outputs a hold signal to the sample hold circuits 26 and 27, so that the integrated output is held. In this state, the calculation of the average value of the 0 level and the 1 level is completed, and the intermediate value of each average value is held as the threshold value by the resistance voltage dividing circuit. Since this threshold value is given to the comparator 28, the subsequent NRZ data string can be demodulated. In this case as well, as in the first embodiment described above, since an accurate threshold level can be set, the communication speed can be improved and the communication distance can be lengthened without using Manchester encoding.

【0015】この実施の形態においてはサンプルホール
ド回路21,22、CPU23及び積分回路24,25
は平均値算出手段を構成しており、サンプルホールド回
路26,27、抵抗R1,R2から成る抵抗分圧回路は
閾値算出手段を構成している。
In this embodiment, the sample hold circuits 21 and 22, the CPU 23 and the integrating circuits 24 and 25.
Constitutes an average value calculating means, and the resistance voltage dividing circuit comprising the sample and hold circuits 26 and 27 and the resistors R1 and R2 constitutes a threshold value calculating means.

【0016】図5は本発明の第3の実施の形態によるデ
ータ通信装置の構成を示すブロック図である。この実施
の形態では受信装置2Cは第1の実施の形態と同様に、
平均値算出手段15a,閾値算出手段15b,比較回路
15cに加えて、閾値変更手段15dを有している。閾
値変更手段15dはNRZのデータ列の受信時に、受信
レベルの変動に応じて閾値レベルを修正し、適切な閾値
に設定するものである。
FIG. 5 is a block diagram showing the configuration of a data communication apparatus according to the third embodiment of the present invention. In this embodiment, the receiving device 2C is similar to that of the first embodiment,
In addition to the average value calculation means 15a, the threshold value calculation means 15b, and the comparison circuit 15c, it has a threshold value change means 15d. The threshold changing means 15d corrects the threshold level according to the fluctuation of the reception level when the NRZ data string is received, and sets it to an appropriate threshold.

【0017】次にこの実施の形態の動作についてタイム
チャート及びフローチャートを参照しつつ説明する。レ
ベル検出パターンの送出時に閾値を算出する処理につい
ては第1の実施の形態と同様であり、これに続いてNR
Zのデータ列が送信されると、ステップS11において
データを受信する。そしてステップS12において設定
されている閾値によって0又は1の判別を行う。受信デ
ータが0であればステップS13に進んで0レベルの平
均値を変更する。この変更は既に検出されている0レベ
ルの平均値演算の元となった0レベルのデータのうち、
最も古いものを最新の0レベルと判別された検波レベル
に置き換えて、再度0レベル平均値演算を行うことで変
更する。又ステップS12において1レベルと判別され
た場合には、ステップS14に進んで1レベルの平均値
を同様にして変更する。そしてステップS15に進んで
新たな0レベル及び1レベルの平均値から閾値の再計算
を行う。図7においてAはこうして変更される1の平均
値レベル、Bは0の平均値レベルを示しており、Cはそ
の間に設定される変更された閾値レベルを示している。
そしてステップS16において受信データが終了したか
どうかを判別し、終了していなければこの新たな閾値を
用いて受信データを弁別する。こうすれば0レベルや1
レベルが送信装置又は受信装置の距離によって変動する
場合にも、常に最適な閾値を設定することができ、レベ
ルの変動時にも信頼性を確保することができるという効
果が得られる。
Next, the operation of this embodiment will be described with reference to a time chart and a flow chart. The process of calculating the threshold value at the time of transmitting the level detection pattern is the same as that of the first embodiment.
When the Z data string is transmitted, the data is received in step S11. Then, 0 or 1 is determined according to the threshold value set in step S12. If the received data is 0, the process proceeds to step S13 to change the 0 level average value. This change is based on the 0 level data that has already been detected and is the source of the 0 level average calculation.
The oldest one is replaced with the latest detection level determined to be the 0 level, and the 0 level average value is calculated again to change the level. When it is determined that the level is 1 level in step S12, the process proceeds to step S14 to similarly change the average value of 1 level. Then, in step S15, the threshold value is recalculated from the new average values of 0 level and 1 level. In FIG. 7, A indicates the average value level of 1 thus changed, B indicates the average value level of 0, and C indicates the changed threshold level set during the period.
Then, in step S16, it is determined whether or not the reception data has ended. If not, the new threshold value is used to discriminate the reception data. This way, 0 level and 1
Even when the level changes depending on the distance between the transmitting device and the receiving device, an optimum threshold value can always be set, and reliability can be secured even when the level changes.

【0018】尚上記の各実施の形態は一般的なデータ通
信装置について説明しているが、本発明は非接触識別シ
ステムにおけるリードライトヘッドとデータを保持する
データキャリアとのデータ通信方法に適用することがで
きる。この場合にはデータキャリアの位置によって通信
可能な領域内でも受信レベルの変動が大きいため、その
通信状態に応じた閾値を設定することにより安定した通
信ができる。又データキャリアの位置が通信領域内で変
化する場合には、第3の実施の形態のように閾値を順次
変更していくことによって受信レベルの変化にかかわら
ず安定した通信が確保できる。
Although each of the above embodiments describes a general data communication device, the present invention is applied to a data communication method between a read / write head and a data carrier holding data in a contactless identification system. be able to. In this case, the fluctuation of the reception level is large even within the communicable area depending on the position of the data carrier, so that stable communication can be performed by setting a threshold value according to the communication state. Further, when the position of the data carrier changes within the communication area, stable communication can be secured regardless of changes in the reception level by sequentially changing the threshold value as in the third embodiment.

【0019】[0019]

【発明の効果】以上詳細に説明したように本願の請求項
1〜の発明によれば、データ送信の最初にレベル検出
パターンを付加することによって、ほとんどデータ伝送
速度を低下させることなくデータ通信を行うことができ
る。そのためデータ通信速度を向上させるだけでなく、
遠距離でのデータ通信が可能となる。更に請求項3,
4,6の発明によれば、受信レベルが変化する場合にも
適切な閾値を設定することができ、通信の信頼性を向上
させることができるという効果が得られる。
As described above in detail, according to the inventions of claims 1 to 6 of the present application, by adding the level detection pattern at the beginning of the data transmission, the data communication can be performed with almost no decrease in the data transmission rate. It can be performed. Therefore, not only improve the data communication speed,
It enables data communication over a long distance. Further claim 3,
According to the inventions 4 and 6 , it is possible to set an appropriate threshold value even when the reception level changes, and it is possible to improve the reliability of communication.

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

【図1】本発明の第1の実施の形態によるデータ通信装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data communication device according to a first embodiment of the present invention.

【図2】本実施の形態によるデータ通信装置の送信デー
タ列と受信レベル検出パターンの受信レベルを示すタイ
ムチャートである。
FIG. 2 is a time chart showing a transmission data string and a reception level of a reception level detection pattern of the data communication device according to the present embodiment.

【図3】本実施の形態による受信装置の動作を示すフロ
ーチャートである。
FIG. 3 is a flowchart showing an operation of the receiving device according to the present embodiment.

【図4】本発明の第2の実施の形態によるデータ通信装
置の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a data communication device according to a second embodiment of the present invention.

【図5】本発明の第3の実施の形態によるデータ通信装
置の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a data communication device according to a third embodiment of the present invention.

【図6】第3の実施の形態によるデータ通信装置の動作
を示すフローチャートである。
FIG. 6 is a flowchart showing an operation of the data communication device according to the third embodiment.

【図7】本実施の形態によるデータ通信装置の受信レベ
ルの変化と閾値を示すタイムチャートである。
FIG. 7 is a time chart showing changes in reception level and thresholds of the data communication apparatus according to the present embodiment.

【図8】従来の受信装置の一例を示すブロック図であ
る。
FIG. 8 is a block diagram showing an example of a conventional receiving device.

【図9】従来のデータ通信装置で伝送される信号と基準
値の変化を示すタイムチャートである。
FIG. 9 is a time chart showing a change in a signal transmitted by a conventional data communication device and a reference value.

【符号の説明】[Explanation of symbols]

1 送信装置 2A,2B,2C 受信装置 11 受信部 12 包絡線検波部 13,21,22,26,27 サンプルホールド回路 14 A/D変換器 15,23 マイクロコンピュータ 15a 平均値算出手段 15b 閾値算出手段 15c 比較手段 15d 閾値変更手段 24,25 積分回路 28 比較器 1 transmitter 2A, 2B, 2C receiver 11 Receiver 12 Envelope detector 13, 21, 22, 26, 27 Sample and hold circuit 14 A / D converter 15,23 Microcomputer 15a Average value calculation means 15b Threshold calculation means 15c Comparison means 15d threshold changing means 24,25 integrating circuit 28 Comparator

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 デジタルデータを伝送するデータ通信方
法であって、 送信装置より論理0及び1が交互に連続するレベル検出
パターンに続いて送信データ列に応じて変調された信号
を送出し、 受信装置で前記レベル検出パターンの受信によって0レ
ベル及び1レベルの平均値を算出し、 前記0レベル及び1レベルの夫々の平均値から所定の条
件により閾値レベルを設定し、 設定された前記閾値に基づいて前記レベル検出パターン
に引き続くデータ列を弁別することを特徴とするデータ
通信方法。
1. A data communication method for transmitting digital data, wherein a signal modulated according to a transmission data string is transmitted and received from a transmitter following a level detection pattern in which logic 0s and 1s are alternately continuous. The device calculates an average value of 0 level and 1 level by receiving the level detection pattern, sets a threshold level based on a predetermined condition from the average value of each of the 0 level and 1 level , and based on the set threshold value. And a data string following the level detection pattern is discriminated.
【請求項2】 前記閾値レベルの設定は、2. The setting of the threshold level is 受信装置で前記レベル検出パターンの受信によって0レThe receiving device receives 0 level by receiving the level detection pattern.
ベル及び1レベルの平均値を夫々算出し、前記2つの平Calculate the average value of the bell and 1 level respectively, and
均値の中間値を閾値レベルとすることを特徴とする請求Claims characterized in that the median of the average values is used as the threshold level
項1記載のデータ通信方法。The data communication method according to item 1.
【請求項3】 デジタルデータを伝送するデータ通信方
法であって、 送信装置より論理0及び1が交互に連続するレベル検出
パターンに続いて送信データ列に応じて変調された信号
を送出し、 受信装置で前記レベル検出パターンの受信によって0レ
ベル及び1レベルの平均値を算出し、 前記0レベル及び1レベルの夫々の平均値から所定の条
件により閾値レベルを設定し、 設定された前記閾値に基づいて前記レベル検出パターン
に引き続くデータ列を弁別し、 弁別されたデータ列に基づいて前記閾値レベルを順次変
更することを特徴とするデータ通信方法。
3. A data communication method for transmitting digital data, wherein a signal modulated according to a transmission data string is transmitted and received from a transmitter following a level detection pattern in which logic 0 and 1 are alternately continuous. The device calculates an average value of 0 level and 1 level by receiving the level detection pattern, sets a threshold level based on a predetermined condition from the average value of each of the 0 level and 1 level , and based on the set threshold value. A data string following the level detection pattern is discriminated, and the threshold level is sequentially changed based on the discriminated data string.
【請求項4】 前記閾値レベルの設定は、 受信装置で前記レベル検出パターンの受信によって0レ
ベル及び1レベルの平均値を夫々算出し、前記2つの平
均値の中間値を閾値レベルとする ことを特徴とする請求
項3記載のデータ通信方法。
4. The setting of the threshold level is set to 0 when the receiving device receives the level detection pattern.
Calculate the average value of the bell and 1 level respectively, and
The data communication method according to claim 3, wherein an intermediate value of the average values is set as the threshold level .
【請求項5】 0レベル及び1レベルを交互に連続させ
るレベル検出パターンに続いてデータ列を送信する送信
装置からの信号を受信する受信装置において、 前記送信装置からの信号を受信する受信部と、 前記受信部より得られる信号を包絡線検波する包絡線検
波部と、 前記レベル検出パターンの送信時に得られる0レベル及
び1レベルの平均値を算出する平均値算出手段と、 前記0レベル及び1レベルの平均値から閾値を算出する
閾値算出手段と、 前記閾値算出手段によって算出された閾値によって包絡
線検波出力を弁別する比較手段と、を有することを特徴
とする受信装置。
5. A receiving device that receives a signal from a transmitting device that transmits a data sequence following a level detection pattern in which 0 level and 1 level are alternately continuous, and a receiving unit that receives the signal from the transmitting device. An envelope detection unit that performs envelope detection of a signal obtained from the reception unit; an average value calculation unit that calculates an average value of 0 level and 1 level obtained during transmission of the level detection pattern; A receiving device, comprising: a threshold value calculating means for calculating a threshold value from an average value of the levels; and a comparing means for discriminating the envelope detection output by the threshold value calculated by the threshold value calculating means.
【請求項6】 前記受信装置は、データ列の受信時に受
信レベルに応じてその閾値を連続して変化させる閾値変
更手段を有するものであることを特徴とする請求項
載の受信装置。
Wherein said receiving apparatus, receiving apparatus according to claim 5, wherein the one having the threshold value changing means for changing continuously the threshold value according to the reception level during reception of the data sequence.
JP11823298A 1998-04-28 1998-04-28 Data communication method and receiving device Expired - Lifetime JP3518330B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11823298A JP3518330B2 (en) 1998-04-28 1998-04-28 Data communication method and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11823298A JP3518330B2 (en) 1998-04-28 1998-04-28 Data communication method and receiving device

Publications (2)

Publication Number Publication Date
JPH11313115A JPH11313115A (en) 1999-11-09
JP3518330B2 true JP3518330B2 (en) 2004-04-12

Family

ID=14731506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11823298A Expired - Lifetime JP3518330B2 (en) 1998-04-28 1998-04-28 Data communication method and receiving device

Country Status (1)

Country Link
JP (1) JP3518330B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5572117B2 (en) * 2011-03-25 2014-08-13 旭化成エレクトロニクス株式会社 Receiver circuit

Also Published As

Publication number Publication date
JPH11313115A (en) 1999-11-09

Similar Documents

Publication Publication Date Title
US6434194B1 (en) Combined OOK-FSK/PPM modulation and communication protocol scheme providing low cost, low power consumption short range radio link
KR20120101570A (en) Definition of wakeup bus messages for partial networking
US4271523A (en) Contention interference detection in data communication receiver
US8654818B2 (en) Transmitter device, receiver device, and communication system
US6456831B1 (en) Amplitude change time activated phase locked controller in a selective call receiver
JP5238369B2 (en) Data receiving apparatus, data receiving method, and data receiving program
JP2002542670A (en) Method and apparatus for receiving and decoding modulated signals using different modulation schemes
JP3504119B2 (en) Demodulation device, clock recovery device, demodulation method, and clock recovery method
JP3518330B2 (en) Data communication method and receiving device
JPH05153174A (en) Method of demodulating and synchronizing digital-modulated signal
JP2653284B2 (en) Data synchronization detection device
JP3006089B2 (en) Method of determining signal reception time by correlation technique
JP5136670B2 (en) Signal detection device, radio device, and signal detection method
JPH0918461A (en) Data receiver
JP2000505974A (en) Method and apparatus for improved phase shift keying (PSK) signal demodulation
JP2002368829A (en) Modulation system identification device and receiver
JPH098671A (en) Bus transmission system
JPH04287423A (en) Data demodulation circuit
JP2679474B2 (en) Data synchronization detection method
US20070189422A1 (en) Radio demodulation circuit
JP2004521584A (en) Method and apparatus for recognizing time-varying data rates
JP3679356B2 (en) Detection circuit
JPS6011862B2 (en) signal detection circuit
JPH0712164B2 (en) Frame synchronizer
US8643514B1 (en) Method for decoding data

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040106

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040119

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090206

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100206

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110206

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120206

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130206

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140206

Year of fee payment: 10

EXPY Cancellation because of completion of term