JP2003110535A - Data communication device - Google Patents

Data communication device

Info

Publication number
JP2003110535A
JP2003110535A JP2001304560A JP2001304560A JP2003110535A JP 2003110535 A JP2003110535 A JP 2003110535A JP 2001304560 A JP2001304560 A JP 2001304560A JP 2001304560 A JP2001304560 A JP 2001304560A JP 2003110535 A JP2003110535 A JP 2003110535A
Authority
JP
Japan
Prior art keywords
sampling
data
error
code
received
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
JP2001304560A
Other languages
Japanese (ja)
Inventor
Atsuhisa Nishimura
篤久 西村
謙之 ▲土▼井
Kaneyuki Doi
Masaru Hashimoto
勝 橋本
Masaki Koyama
正樹 小山
Yoshiko Suzuki
佳子 鈴木
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP2001304560A priority Critical patent/JP2003110535A/en
Publication of JP2003110535A publication Critical patent/JP2003110535A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data communication device, in which exact communication can be implemented by detecting an error without lowering efficiency in the transmission of communication data. SOLUTION: When data D of a fixed quantity are communicated by a decoding method, in which the number of times of sampling per unit time is known and at least two kinds of codes are discriminated by code lengths, the total number of times of sampling N1 is calculated from a data quantity B0 of the data D, codes contained in the data D and the number of times of sampling N per unit time and is compared with the total number of times of receiving sampling N2 in the case of real receiving, so that the error can be detected.

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 device, and more particularly to error detection during data communication.

【0002】[0002]

【従来の技術】データ通信を行う際、誤ったデータを受
信することを防ぐために誤りを検出する方法が検討され
ている。一般的にはパリティチェック、チェックSU
M、CRC等、予め定めた集合に属するように、データ
に誤り検出符号を付加してデータ送信機は通信データを
送信している。一方、データ受信機では、受信した通信
データが予め定めた集合に属するか判断し、データの誤
りを検出する方法が用いられている。
2. Description of the Related Art A method for detecting an error in data communication is being studied in order to prevent reception of erroneous data. Generally, parity check, check SU
The data transmitter transmits communication data by adding an error detection code to the data so that it belongs to a predetermined set such as M and CRC. On the other hand, in the data receiver, a method of determining whether the received communication data belongs to a predetermined set and detecting a data error is used.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
データ通信装置における誤り検出方法では、通信データ
のデータ部に加えて誤りを検出するための符号を付加し
なければならず、通信データの伝送効率が低下するとい
う問題があった。
However, in the error detecting method in the conventional data communication apparatus, a code for detecting an error must be added in addition to the data part of the communication data, and the transmission efficiency of the communication data is high. There was a problem that it decreased.

【0004】本発明は、上記事由に鑑みてなしたもの
で、その目的とするところは、通信データの伝送効率を
低下させずに誤りを検出し、正確な通信ができるデータ
通信装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a data communication device capable of detecting an error and performing accurate communication without lowering the transmission efficiency of communication data. Especially.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に、請求項1記載の発明は、単位時間当たりのサンプリ
ング回数が既知であり少なくとも2種類の符号を符号長
によって判別する符号判別手段と、一定量のデータが通
信されたときに、前記データのデータ量と前記データに
含まれる符号と単位時間当たりのサンプリング回数から
総サンプリング回数を算出する手段と、受信時の受信総
サンプリング回数を取得する手段と、前記算出した総サ
ンプリング回数と前記受信総サンプリング回数とを比較
する比較手段を有して、該比較手段の結果から誤りを検
出することを特徴とするものである。
In order to achieve the above object, the invention according to claim 1 is a code discriminating means for discriminating at least two kinds of codes by a code length, the number of samplings per unit time is known. A means for calculating the total number of samplings from the data amount of the data, the code contained in the data, and the number of samplings per unit time when a certain amount of data is communicated, and the total number of receptions sampling at the time of reception Means and a comparing means for comparing the calculated total sampling number and the received total sampling number, and detecting an error from the result of the comparing means.

【0006】請求項2記載の発明は、請求項1記載のデ
ータ通信装置において、前記算出した総サンプリング回
数と前記受信総サンプリング回数とが一致しないときに
誤りを検出することを特徴とするものである。
According to a second aspect of the present invention, in the data communication apparatus according to the first aspect, an error is detected when the calculated total sampling number and the received total sampling number do not match. is there.

【0007】請求項3記載の発明は、請求項1記載のデ
ータ通信装置において、前記算出した総サンプリング回
数と前記受信総サンプリング回数との差の絶対値が所定
の値以上のときに誤りを検出することを特徴とするもの
である。
According to a third aspect of the present invention, in the data communication apparatus according to the first aspect, an error is detected when the absolute value of the difference between the calculated total sampling number and the received total sampling number is a predetermined value or more. It is characterized by doing.

【0008】請求項4記載の発明は、請求項3記載のデ
ータ通信装置において、誤りを検出したいビット数に応
じて、前記所定の値を決定するようにしたことを特徴と
するものである。
According to a fourth aspect of the present invention, in the data communication apparatus according to the third aspect, the predetermined value is determined according to the number of bits for which an error is desired to be detected.

【0009】[0009]

【発明の実施の形態】以下、本発明の実施の形態に係る
データ通信装置の誤り検出方法について図1乃至図11
にもとづき説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, an error detecting method for a data communication apparatus according to an embodiment of the present invention will be described with reference to FIGS.
I will explain based on this.

【0010】図1は、本発明のデータ通信装置の適用の
一例である。ここでは、人体3を伝送路とするデータ通
信装置をあげる。図1はデータ送信装置1からデータ受
信装置2へ人体3を伝送路として通信データを伝送する
様子を示している。
FIG. 1 is an example of application of the data communication apparatus of the present invention. Here, a data communication device using the human body 3 as a transmission path will be exemplified. FIG. 1 shows a state in which communication data is transmitted from the data transmission device 1 to the data reception device 2 using the human body 3 as a transmission path.

【0011】図2はデータとして伝送する信号の時間的
形状を示す。データ通信装置において、データ通信を行
う際、信号4に情報を持たせる必要があるが、ここで、
予めデータ送信装置1とデータ受信装置2とにおいて信
号4の時間的形状(以降、符号フォーマットと称する)
を決める必要がある。本発明の実施の形態での符号フォ
ーマットの成分はHighとLowとからなり、その符
号フォーマットで表現される情報を「0」及び「1」と
している。ここで、図2(a)は「0」の符号フォーマ
ットを示し、図2(b)は「1」の符号フォーマットを
示している。ここで、単位時間長をTとすると、「0」
の符号フォーマットの長さ(時間)はT、「1」の符号
フォーマットの長さ(時間)は2Tである。
FIG. 2 shows a temporal shape of a signal transmitted as data. In the data communication device, it is necessary to give information to the signal 4 when performing data communication. Here,
The temporal shape of the signal 4 in the data transmitter 1 and the data receiver 2 in advance (hereinafter referred to as a code format)
Need to decide. The components of the code format according to the embodiment of the present invention consist of High and Low, and the information represented by the code format is "0" and "1". Here, FIG. 2A shows a code format of “0”, and FIG. 2B shows a code format of “1”. Here, when the unit time length is T, "0"
The length (time) of the code format of 1 is T, and the length (time) of the code format of "1" is 2T.

【0012】図3はデータ通信装置並びにそれを構成す
るデータ送信装置及びデータ受信装置のブロック図と、
そのブロック間のデータ通信信号の流れを示す。
FIG. 3 is a block diagram of a data communication device, and a data transmission device and a data reception device constituting the data communication device,
The flow of the data communication signal between the blocks is shown.

【0013】ここで、例えば、「01」という情報を伝
送する場合、データ送信装置11で、図2の符号フォー
マットに基づくデジタル信号波形を生成し、変調部11
1において変調し、人体に面する送信電極112を介し
て人体31に信号(通信データ)を送信する。データ受
信装置21では、人体31に接触する受信電極211を
介して通信データを受信して、その受信信号を復調部2
12で復調しデジタル信号波形を得て、信号処理部21
3においてデジタル信号波形から「01」を復号する。
Here, for example, when transmitting information "01", the data transmitter 11 generates a digital signal waveform based on the code format of FIG.
1, and transmits a signal (communication data) to the human body 31 via the transmission electrode 112 facing the human body. In the data receiving device 21, the communication data is received via the receiving electrode 211 that is in contact with the human body 31, and the received signal is demodulated by the demodulation unit 2.
The signal processing unit 21 obtains a digital signal waveform by demodulating at 12.
In "3", "01" is decoded from the digital signal waveform.

【0014】以下、この事例をもとに本発明のデータ通
信装置の誤り検出について説明する。
The error detection of the data communication apparatus of the present invention will be described below based on this case.

【0015】図4は、データ受信装置21の信号処理部
213に入力されるデジタル信号波形と、信号処理部2
13で信号をサンプリングする際のサンプリングポイン
トを示す。ここで、デジタル信号波形の中の「○」がサ
ンプリングポイントを示す。ここでは、サンプリング間
隔がT/4、単位時間長さあたりのサンプリング回数N
が4の場合を示す。
FIG. 4 shows the digital signal waveform input to the signal processing unit 213 of the data receiving device 21 and the signal processing unit 2.
13 shows sampling points when the signal is sampled. Here, “◯” in the digital signal waveform indicates a sampling point. Here, the sampling interval is T / 4, and the number of sampling times N per unit time length
Shows the case of 4.

【0016】図4(a)は「0」を受信したときのデジ
タル信号波形とサンプリングポイントを示し、図4
(b)は「1」を受信したときのデジタル信号波形とサ
ンプリングポイントを示す。信号処理部213では、単
位時間長さ当たりのサンプリング回数N(ここではN=
4)であり、立ち下がり間のサンプリング回数をカウン
トしている。またサンプリング間隔はT/Nである。そ
して、立ち下がり間でカウントされたサンプリング回数
Nによって受信信号が符号フォーマットであるか否かを
判別するとともに、符号フォーマットであれば「0」か
「1」かを判別している。つまり、データ受信装置21
は符号長により符号を判別する手段を有している。
FIG. 4A shows a digital signal waveform and a sampling point when "0" is received.
(B) shows a digital signal waveform and a sampling point when "1" is received. In the signal processing unit 213, the number of sampling times N per unit time length (here, N =
4), which counts the number of samplings during the falling edge. The sampling interval is T / N. Then, it is determined whether or not the received signal is in the code format based on the sampling number N counted during the falling edge, and it is also determined whether it is "0" or "1" in the case of the code format. That is, the data receiving device 21
Has a means for discriminating the code based on the code length.

【0017】以下サンプリング間隔をT/4、単位時間
長さ当たりのサンプリング回数Nを4として、本発明の
実施の形態を示す。
Hereinafter, an embodiment of the present invention will be described, where the sampling interval is T / 4 and the sampling number N per unit time length is 4.

【0018】図5は、通信データ内のデータDのデータ
量B0(ビット数)、データD中の「1」の数、データ
D中の総サンプリング回数N1、単位時間長さ当たりの
サンプリング回数Nの関係を表す表である。この表から
データ量B0と、データD中の「1」の数、総サンプリ
ング回数N1、単位時間長さ当たりのサンプリング回数
Nとの間に次式の関係がある。
FIG. 5 shows the data amount B0 (the number of bits) of the data D in the communication data, the number of "1" in the data D, the total number of sampling times N1 in the data D, and the number of sampling times N per unit time length. It is a table showing the relationship of. From this table, there is a relation of the following equation between the data amount B0, the number of "1" s in the data D, the total number of times of sampling N1, and the number of times of sampling N per unit time length.

【0019】式1: N1=B0×N+(データD中の
「1」の数)×N ここで、データ量B0及び単位時間長さ当たりのサンプ
リング回数Nが既知である場合、式1より算出したデー
タD中の総サンプリング回数N1と、実際に受信したデ
ータD中でカウントする総サンプリング回数N2を比較
することにより誤りを検出することができる。
Formula 1: N1 = B0 × N + (the number of “1” in the data D) × N Here, when the data amount B0 and the sampling number N per unit time length are known, it is calculated from Formula 1. An error can be detected by comparing the total number of sampling times N1 in the received data D with the total number of sampling times N2 counted in the actually received data D.

【0020】図6は符号「0」、「1」をそれぞれ10
000回送信したとき、信号処理部213において、信
号の立ち下がり間でカウントするサンプリング回数Nの
ばらつきの一例を示す図である。図6(a)は理想的に
通信が行われた状態で、信号の立ち下がり間でカウント
するサンプリング回数Nにばらつきがない。「0」を受
信したときにはサンプリング回数Nが4、「1」を受信
したときにはサンプリング回数Nが8となっている。こ
れに対して図6(b)はデータ受信装置21の性能、ノ
イズの影響、通信量の低下等さまざまな要因によって、
信号の立ち下がり間でカウントするサンプリング回数N
にばらつきが存在する場合である。このようにばらつき
が存在する場合には、信号処理部213における符号の
判断条件を緩和する方策をとる。例えば、信号の立ち下
がり間でカウントするサンプリング回数Nが3から5で
あれば「0」、7から9であれば「1」と判断すること
とする。つまり理想的に通信が行われた場合、サンプリ
ング回数Nから1つのずれは許容して符号判断を行うも
のとする。
In FIG. 6, reference numerals “0” and “1” are respectively assigned to 10
FIG. 6 is a diagram showing an example of variations in the number of sampling times N counted between the falling edges of signals in the signal processing unit 213 when transmitted 000 times. FIG. 6A shows a state in which ideal communication is performed, and there is no variation in the sampling number N counted between the falling edges of signals. When "0" is received, the sampling number N is 4, and when "1" is received, the sampling number N is 8. On the other hand, FIG. 6B shows that due to various factors such as the performance of the data receiving device 21, the influence of noise, and the decrease in communication volume.
Sampling count N that counts between falling edges of signals
This is the case when there is variation in. When such variations exist, measures are taken to relax the code determination conditions in the signal processing unit 213. For example, if the number of sampling times N counted between the falling edges of the signal is 3 to 5, it is determined to be "0", and if it is 7 to 9, it is determined to be "1". That is, when the communication is ideally performed, the code determination is performed by allowing one deviation from the sampling number N.

【0021】図7及び図8は、信号の立ち下がり間でカ
ウントするサンプリング回数Nのばらつきを1つ許容し
て判断する場合の信号処理部213への入力波形と、そ
のサンプリングポイントのパターンを示すものである。
図7は、データDを「0」として受信する場合のパター
ンである。サンプリング回数Nは3から5で、パターン
は9種類存在する。図8は、データDを「1」として受
信する場合のパターンである。サンプリング回数Nは7
から9で、パターンは21種類存在する。
FIGS. 7 and 8 show the input waveform to the signal processing unit 213 and the pattern of the sampling points in the case of allowing one variation in the number of sampling times N to be counted between the falling edges of signals. It is a thing.
FIG. 7 shows a pattern when the data D is received as “0”. The number of sampling times N is 3 to 5, and there are 9 types of patterns. FIG. 8 shows a pattern when the data D is received as “1”. The number of sampling times N is 7
From 9 to 9, there are 21 types of patterns.

【0022】図9は、第1の実施の形態のデータ通信装
置の誤り検出の事例を示すものである。誤り検出の事例
を示すものである。4ビットのデータ毎に誤り検出処理
を行い、「0000」を送信したにもかかわらず、誤っ
て「0001」を受信した場合の例である。1ビット目
の立ち下がり間のサンプリング回数Nは5で符号「0」
を読み取ったと判断している。次に2ビット目の立ち下
がり間のサンプリング回数Nは3で符号「0」を読み取
ったと判断している。以降、3ビット目のサンプリング
回数Nは4で符号「0」と判断、4ビット目のサンプリ
ング回数Nは7で符号「1」と判断している。このよう
にして信号処理部213では「0001」を受信したと
判断される。
FIG. 9 shows an example of error detection in the data communication apparatus according to the first embodiment. It shows an example of error detection. This is an example in which error detection processing is performed for each 4-bit data, and “0001” is erroneously received even though “0000” is transmitted. The sampling number N between the falling edges of the first bit is 5 and the code is "0".
I have read. Next, the sampling number N between the trailing edges of the second bit is 3, and it is determined that the code "0" has been read. Thereafter, the sampling number N of the third bit is 4 and is determined to be a code "0", and the sampling number N of the fourth bit is 7 and is determined to be a code "1". In this way, the signal processing unit 213 determines that "0001" has been received.

【0023】ここで、式1を適用する。図9で示したも
のである場合、受信データ「0001」から算出される
総サンプリング回数N1は20である。一方、1ビット
目から4ビット目までに実際に受信する総サンプリング
回数N2は19である。式1より算出される総サンプリ
ング回数N1と実際に受信する総サンプリング回数N2
が同じ値でないため誤りがあったと判断する。
Equation 1 is applied here. In the case shown in FIG. 9, the total sampling number N1 calculated from the received data “0001” is 20. On the other hand, the total number of sampling times N2 actually received from the 1st bit to the 4th bit is 19. The total number of sampling times N1 calculated by Equation 1 and the total number of sampling times N2 actually received
Since it is not the same value, it is judged that there was an error.

【0024】このようにサンプリング回数N1と実際に
受信する総サンプリング回数N2を比較することにより
誤りを厳密に検出することができる。
By comparing the number of times of sampling N1 and the total number of times of sampling N2 actually received in this way, it is possible to detect the error strictly.

【0025】図10は、第2の実施の形態のデータ通信
装置の誤り検出の事例を示すものである。第1の実施の
形態と同様4ビットのデータ毎に誤り検出処理を行うも
のであるが、本実施形態では4ビットのデータ毎に2つ
のサンプリング回数Nのばらつきを許容するものであ
る。図10(a)は「0000」を送信したにもかかわ
らず、誤って「0100」を受信した場合の例である。
1ビット目の立ち下がり間のサンプリング回数Nは3で
符号「0」を読み取ったと判断している。次に2ビット
目の立ち下がり間のサンプリング回数Nは7で符号
「1」を読み取ったと判断している。以降、3ビット目
のサンプリング回数Nは3で符号「0」と判断、4ビッ
ト目のサンプリング回数Nは4で符号「0」と判断して
いる。このようにして信号処理部213では「010
0」を受信したと判断される。
FIG. 10 shows an example of error detection in the data communication apparatus according to the second embodiment. Although error detection processing is performed for each 4-bit data as in the first embodiment, in the present embodiment, a variation in two sampling times N is allowed for each 4-bit data. FIG. 10A shows an example in which “0100” is erroneously received even though “0000” is transmitted.
The sampling number N between the falling edges of the first bit is 3, and it is determined that the code “0” has been read. Next, the sampling number N between the trailing edges of the second bit is 7, and it is determined that the code "1" has been read. Thereafter, the sampling number N of the third bit is 3 and is determined to be a code "0", and the sampling number N of the fourth bit is 4 and is determined to be a code "0". In this way, the signal processing unit 213 outputs “010
It is determined that "0" has been received.

【0026】ここで、式1を適用する。図10(a)で
示した例である場合、受信データ「0100」で算出さ
れる総サンプリング回数N1は20である。一方、1ビ
ット目から4ビット目までに実際に受信する総サンプリ
ング回数N2は17である。式1より算出される総サン
プリング回数N1と実際に受信する総サンプリング回数
N2との差の絶対値M1が3となり、誤りがあったと判
断される。
Equation 1 is applied here. In the case of the example shown in FIG. 10A, the total sampling number N1 calculated with the received data “0100” is 20. On the other hand, the total number of sampling times N2 actually received from the 1st bit to the 4th bit is 17. The absolute value M1 of the difference between the total number of sampling times N1 calculated by the equation 1 and the total number of sampling times N2 actually received is 3, and it is determined that there is an error.

【0027】次に図10(b)に「0000」を送信
し、正しく「0000」を受信した場合の例を示す。1
ビット目の立ち下がり間のサンプリング回数Nは3で符
号「0」を読み取ったと判断している。次に2ビット目
の立ち下がり間のサンプリング回数Nは4で符号「0」
を読み取ったと判断している。以降、3ビット目のサン
プリング回数Nは4で符号「0」と判断、4ビット目の
サンプリング回数Nは4で符号「0」と判断している。
このようにして信号処理部213では「0000」を受
信したと判断される。
Next, FIG. 10B shows an example in which "0000" is transmitted and "0000" is correctly received. 1
The number of sampling times N between the trailing edges of the bit is 3, and it is determined that the code “0” is read. Next, the sampling number N between the falling edges of the second bit is 4 and the code is "0".
I have read. Thereafter, the sampling number N of the third bit is 4 and is determined to be a code "0", and the sampling number N of the fourth bit is 4 and is determined to be a code "0".
In this way, the signal processing unit 213 determines that “0000” has been received.

【0028】ここで、式1を適用する。図10(b)で
示した例である場合、受信データ「0000」で算出さ
れる総サンプリング回数N1は16である。一方、1ビ
ット目から4ビット目までに実際に受信する総サンプリ
ング回数N2は15である。式1より算出される総サン
プリング回数N1と実際に受信する総サンプリング回数
N2との差の絶対値M1は1となり、誤りはなかったと
判断する。
Equation 1 is applied here. In the case of the example shown in FIG. 10B, the total sampling number N1 calculated with the received data “0000” is 16. On the other hand, the total number of sampling times N2 actually received from the 1st bit to the 4th bit is 15. The absolute value M1 of the difference between the total number of sampling times N1 calculated by the formula 1 and the total number of sampling times N2 actually received is 1, and it is determined that there is no error.

【0029】このように、式1より算出される総サンプ
リング回数N1と実際に受信する総サンプリング回数N
2との差の絶対値M1がある定数M0(ここでは2)以
上であるときに誤りがあると判断するようにしたので、
データD全体でのサンプリング回数Nのばらつきを許容
した上で精度よく効率的に誤りを検出することができる
という効果を奏する。
As described above, the total number of sampling times N1 calculated by the equation 1 and the total number of sampling times N actually received are
Since the absolute value M1 of the difference from 2 is greater than or equal to a constant M0 (here, 2), it is determined that there is an error.
There is an effect that an error can be detected accurately and efficiently while allowing a variation in the number of sampling times N in the entire data D.

【0030】図11は、第3の実施の形態のデータ通信
装置の誤り検出の事例を示すものであり、8ビットのデ
ータ毎に5つのサンプリング回数Nのばらつきを許容す
るものである。図11(a)は「00000000」を
送信したにもかかわらず、誤って「00000100」
を受信した場合の例である。1ビット目の立ち下がり間
のサンプリング回数Nは4で符号「0」を読み取ったと
判断している。次に2ビット目の立ち下がり間のサンプ
リング回数Nは4で符号「0」を読み取ったと判断して
いる。以降、3ビット目のサンプリング回数Nは4で符
号「0」と判断、4ビット目のサンプリング回数Nは3
で符号「0」と判断、5ビット目のサンプリング回数N
は3で符号「0」と判断、6ビット目のサンプリング回
数Nは7で符号「1」と判断、7ビット目のサンプリン
グ回数Nは3で符号「0」と判断、8ビット目のサンプ
リング回数Nは4で符号「0」と判断している。このよ
うにして信号処理部213では「00000100」を
受信したと判断される。
FIG. 11 shows an example of error detection in the data communication apparatus according to the third embodiment, which allows five variations in the sampling number N for each 8-bit data. In FIG. 11A, although "00000000" is transmitted, "0000100" is erroneously transmitted.
This is an example of the case where is received. The number of sampling times N between the falling edges of the first bit is 4, and it is determined that the code “0” is read. Next, the number of sampling times N between the trailing edges of the second bit is 4, and it is determined that the code "0" is read. Thereafter, the sampling number N of the 3rd bit is 4 and it is determined that the code is "0".
Is judged as the code "0", and the number of samplings N of the 5th bit
Is 3 and the code is “0”, the sixth bit sampling number N is 7 and the code is “1”, the seventh bit sampling number N is 3 and the code is “0”, and the eighth bit sampling number N is 4 and is determined to be a code "0". In this way, the signal processing unit 213 determines that “00000100” has been received.

【0031】ここで、式1を適用する。図11(a)で
示した例である場合、受信データ「00000100」
で算出される総サンプリング回数N1は36である。一
方、1ビット目から8ビット目までに実際に受信する総
サンプリング回数N2は32である。式1より算出され
る総サンプリング回数N1と実際に受信する総サンプリ
ング回数N2との差の絶対値M1が4となり、誤りがな
かったと判断される。つまりこれは1ビット誤りが検出
されなかった例である。
Equation 1 is applied here. In the case of the example shown in FIG. 11A, the received data “0000100”
The total number of sampling times N1 calculated in step 3 is 36. On the other hand, the total number of sampling times N2 actually received from the 1st bit to the 8th bit is 32. The absolute value M1 of the difference between the total number of sampling times N1 calculated by the equation 1 and the total number of sampling times N2 actually received is 4, and it is determined that there is no error. That is, this is an example in which a 1-bit error is not detected.

【0032】次に図11(b)は「00000000」
を送信したにもかかわらず、誤って「0000010
0」を受信した場合の例である。1ビット目の立ち下が
り間のサンプリング回数Nは3で符号「0」を読み取っ
たと判断している。次に2ビット目の立ち下がり間のサ
ンプリング回数Nは7で符号「1」を読み取ったと判断
している。以降、3ビット目のサンプリング回数Nは3
で符号「0」と判断、4ビット目のサンプリング回数N
は3で符号「0」と判断、5ビット目のサンプリング回
数Nは3で符号「0」と判断、6ビット目のサンプリン
グ回数Nは7で符号「1」と判断、7ビット目のサンプ
リング回数Nは3で符号「0」と判断8ビット目のサン
プリング回数Nは3で符号「0」と判断している。この
ようにして信号処理部213では「01000100」
を受信したと判断される。
Next, FIG. 11B shows "00000000".
Erroneously sent "00000010"
This is an example when "0" is received. The sampling number N between the falling edges of the first bit is 3, and it is determined that the code “0” has been read. Next, the sampling number N between the trailing edges of the second bit is 7, and it is determined that the code "1" has been read. Thereafter, the sampling number N of the third bit is 3
Is judged as the code "0", and the number of samplings N of the 4th bit
Is 3 and the code is “0”, the fifth bit sampling number N is 3 and the code is “0”, the 6th bit sampling number N is 7 and the code is “1”, and the 7th bit sampling number N is 3 and is judged to be a code "0". The number of sampling times N of the 8th bit is 3 and is judged to be a code "0". In this way, the signal processing unit 213 outputs “01000100”.
Is judged to have been received.

【0033】ここで、式1を適用する。図11(b)で
示した例である場合、受信データ「0000」で算出さ
れる総サンプリング回数N1は40である。一方、1ビ
ット目から8ビット目までに実際に受信する総サンプリ
ング回数N2は32である。式1より算出される総サン
プリング回数N1と実際に受信する総サンプリング回数
N2との差の絶対値は8となり、誤りがあったと判断す
る。つまり2ビットの誤りが検出されたことになる。こ
こで、許容するサンプリング回数Nのばらつきの個数と
しての定数M0によって、誤り検出されるビット数B1
に影響することがわかる。
Equation 1 is applied here. In the case of the example shown in FIG. 11B, the total sampling number N1 calculated with the received data “0000” is 40. On the other hand, the total number of sampling times N2 actually received from the 1st bit to the 8th bit is 32. The absolute value of the difference between the total number of sampling times N1 calculated by the equation 1 and the total number of sampling times N2 actually received is 8, and it is determined that there is an error. That is, a 2-bit error has been detected. Here, the number of error-detected bits B1 is determined by a constant M0 as the number of variations in the allowable number of times of sampling N.
It can be seen that

【0034】このように、データDのデータ量B0と、
ここで、許容するサンプリング回数Nのばらつきの個数
としての定数M0とを調整することによって、検出され
る誤りビット数を調整することができるという効果を奏
する。
Thus, the data amount B0 of the data D,
Here, the number of error bits to be detected can be adjusted by adjusting the constant M0 as the number of variations in the allowable number of times of sampling N.

【0035】以上、本発明の実施の形態について示した
が、データ通信装置の一例として人体3を伝送路とする
データ通信装置をあげたが、これに限定されるものでは
ない。
Although the embodiments of the present invention have been described above, the data communication apparatus using the human body 3 as a transmission path has been described as an example of the data communication apparatus, but the present invention is not limited to this.

【0036】[0036]

【発明の効果】上述の如く、本発明の請求項1記載の発
明によれば、単位時間当たりのサンプリング回数が既知
であり少なくとも2種類の符号を符号長によって判別す
る符号判別手段と、一定量のデータが通信されたとき
に、前記データのデータ量と前記データに含まれる符号
と単位時間当たりのサンプリング回数から総サンプリン
グ回数を算出する手段と、受信時の受信総サンプリング
回数を取得する手段と、前記算出した総サンプリング回
数と前記受信総サンプリング回数とを比較する比較手段
を有して、該比較手段の結果から誤りを検出するように
したので、通信データの伝送効率を低下させずに誤りを
検出し、正確な通信ができるデータ通信装置を提供する
ことができた。
As described above, according to the first aspect of the present invention, the number of sampling times per unit time is known, the code discriminating means for discriminating at least two kinds of codes by the code length, and a fixed amount. Means for calculating the total number of times of sampling from the data amount of the data, the code contained in the data and the number of times of sampling per unit time, and means for obtaining the total number of times of sampling at the time of reception Since the comparison means for comparing the calculated total sampling number with the received total sampling number is provided and the error is detected from the result of the comparing means, the error can be made without lowering the transmission efficiency of the communication data. It has been possible to provide a data communication device capable of detecting an error and performing accurate communication.

【0037】請求項2記載の発明においては、請求項1
記載のデータ通信装置において、前記算出した総サンプ
リング回数と前記受信総サンプリング回数とが一致しな
いときに誤りを検出するようにしたので、データ全体で
のサンプリング回数のばらつきを厳密に検知して、誤り
を検出することができるという効果を奏する。
In the invention described in claim 2, claim 1
In the data communication device described above, an error is detected when the calculated total sampling number and the received total sampling number do not match. Therefore, the variation in the sampling number in the entire data is strictly detected, and the error is detected. The effect of being able to detect is produced.

【0038】請求項3記載の発明においては、請求項1
記載のデータ通信装置において、前記算出した総サンプ
リング回数と前記受信総サンプリング回数との差の絶対
値が所定の値以上のときに誤りを検出するようにしたの
で、サンプリング回数のばらつきを許容し効率的に誤り
を検出することができるという効果を奏する。
According to the invention of claim 3, claim 1
In the data communication device described above, an error is detected when the absolute value of the difference between the calculated total sampling number and the received total sampling number is equal to or greater than a predetermined value. This has the effect of being able to detect an error.

【0039】請求項4記載の発明においては、請求項3
記載のデータ通信装置において、誤りを検出したいビッ
ト数に応じて、前記所定の値を決定するようにしたの
で、サンプリング回数のばらつきの検知レベルを調整し
て、検出される誤りビット数を調節することができると
いう効果を奏する。
According to the invention of claim 4, claim 3
In the data communication device described above, since the predetermined value is determined according to the number of bits for which an error is desired to be detected, the detection level of the variation in the sampling number is adjusted to adjust the number of detected error bits. There is an effect that can be.

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

【図1】本発明の実施の形態の適用例を示す図である。FIG. 1 is a diagram showing an application example of an embodiment of the present invention.

【図2】本発明の実施の形態に係わる通信符号の時間的
形状を示す図である。
FIG. 2 is a diagram showing a temporal shape of a communication code according to the embodiment of the present invention.

【図3】本発明の実施の形態に係わる通信装置内部の構
成を示すブロック図及び信号の流れを示す図である。
FIG. 3 is a block diagram showing an internal configuration of a communication device according to an embodiment of the present invention and a diagram showing a signal flow.

【図4】データ受信装置の信号処理部における入力波形
及びサンプリングポイントを示す図である。
FIG. 4 is a diagram showing an input waveform and sampling points in a signal processing unit of the data receiving device.

【図5】データ量,データ中の符号「1」の数,データ
中の総サンプリング回数,サンプリング間隔の関係を示
す表である。
FIG. 5 is a table showing the relationship among the data amount, the number of codes “1” in the data, the total number of sampling times in the data, and the sampling interval.

【図6】立ち下がり間のサンプリング回数のばらつきの
例を示す図である。
FIG. 6 is a diagram showing an example of variations in the number of sampling times between falling edges.

【図7】入力波形と、サンプリングポイントのパターン
を示す図である。
FIG. 7 is a diagram showing an input waveform and a pattern of sampling points.

【図8】入力波形と、サンプリングポイントのパターン
を示す図である。
FIG. 8 is a diagram showing an input waveform and a sampling point pattern.

【図9】本発明の第1の実施の形態のデータ通信装置の
誤り検出の事例を示す図である。
FIG. 9 is a diagram showing an example of error detection in the data communication device according to the first embodiment of this invention.

【図10】本発明の第2の実施の形態のデータ通信装置
の誤り検出の事例を示す図である。
FIG. 10 is a diagram showing an example of error detection in the data communication device according to the second embodiment of this invention.

【図11】本発明の第3の実施の形態のデータ通信装置
の誤り検出の事例を示す図である。
FIG. 11 is a diagram showing an example of error detection in the data communication device according to the third embodiment of this invention.

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

1 データ送信装置 2 データ受信装置 3 人体 11 データ送信装置(ブロック図) 21 データ受信装置(ブロック図) 213 信号処理部 1 Data transmitter 2 Data receiving device 3 human body 11 Data transmitter (block diagram) 21 Data receiver (block diagram) 213 Signal processing unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 橋本 勝 大阪府門真市大字門真1048番地松下電工株 式会社内 (72)発明者 小山 正樹 大阪府門真市大字門真1048番地松下電工株 式会社内 (72)発明者 鈴木 佳子 大阪府門真市大字門真1048番地松下電工株 式会社内 Fターム(参考) 5K014 AA01 BA00 EA01 EA08    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Masaru Hashimoto             1048, Kadoma, Kadoma-shi, Osaka Matsushita Electric Works Co., Ltd.             Inside the company (72) Inventor Masaki Koyama             1048, Kadoma, Kadoma-shi, Osaka Matsushita Electric Works Co., Ltd.             Inside the company (72) Inventor Yoshiko Suzuki             1048, Kadoma, Kadoma-shi, Osaka Matsushita Electric Works Co., Ltd.             Inside the company F term (reference) 5K014 AA01 BA00 EA01 EA08

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 単位時間当たりのサンプリング回数が既
知であり少なくとも2種類の符号を符号長によって判別
する符号判別手段と、一定量のデータが通信されたとき
に、前記データのデータ量と前記データに含まれる符号
と単位時間当たりのサンプリング回数から総サンプリン
グ回数を算出する手段と、受信時の受信総サンプリング
回数を取得する手段と、前記算出した総サンプリング回
数と前記受信総サンプリング回数とを比較する比較手段
を有して、該比較手段の結果から誤りを検出することを
特徴とするデータ通信装置。
1. A data amount of the data and the data when a certain amount of data is communicated with a code determining means that determines the number of samplings per unit time and determines at least two types of codes based on the code length. Means for calculating the total number of sampling times from the code included in and the number of sampling times per unit time, means for acquiring the total number of received sampling times at the time of reception, and comparing the calculated total number of sampling times with the total number of received sampling times A data communication device comprising a comparing means and detecting an error from a result of the comparing means.
【請求項2】 前記算出した総サンプリング回数と前記
受信総サンプリング回数とが一致しないときに誤りを検
出することを特徴とする請求項1記載のデータ通信装
置。
2. The data communication device according to claim 1, wherein an error is detected when the calculated total sampling number and the received total sampling number do not match.
【請求項3】 前記算出した総サンプリング回数と前記
受信総サンプリング回数との差の絶対値が所定の値以上
のときに誤りを検出することを特徴とする請求項1記載
のデータ通信装置。
3. The data communication device according to claim 1, wherein an error is detected when an absolute value of a difference between the calculated total sampling number and the received total sampling number is equal to or larger than a predetermined value.
【請求項4】 誤りを検出したいビット数に応じて、前
記所定の値を決定するようにしたことを特徴とする請求
項3記載のデータ通信装置。
4. The data communication apparatus according to claim 3, wherein the predetermined value is determined according to the number of bits for which an error is desired to be detected.
JP2001304560A 2001-09-28 2001-09-28 Data communication device Pending JP2003110535A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001304560A JP2003110535A (en) 2001-09-28 2001-09-28 Data communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001304560A JP2003110535A (en) 2001-09-28 2001-09-28 Data communication device

Publications (1)

Publication Number Publication Date
JP2003110535A true JP2003110535A (en) 2003-04-11

Family

ID=19124462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001304560A Pending JP2003110535A (en) 2001-09-28 2001-09-28 Data communication device

Country Status (1)

Country Link
JP (1) JP2003110535A (en)

Similar Documents

Publication Publication Date Title
US5727004A (en) Method and apparatus for data encoding and communication over noisy media
EP0950301B1 (en) Transmitter method and transmission system using adaptive coding based on channel characteristics
JP3553547B2 (en) Apparatus and method for detecting data rate in mobile communication system
US20040161052A1 (en) Encoding and decoding ultra-wideband information
AU717697B2 (en) A method for frame quality detection and a receiver
JP2006074335A (en) Transmission method, transmission system, and transmitter
WO1995008152A1 (en) Method and apparatus for detecting bad frames of information in a communication system
WO2002045326A1 (en) Decoder and decoding method
JP3059133B2 (en) Bit error rate measurement device using Viterbi decoder
KR960013301B1 (en) Modem and data communication system
JP3248715B2 (en) Quality evaluation device for Viterbi decoded data using zero state evaluation amount
KR100224386B1 (en) Radio station and signal transceiving method
AU2001294308B2 (en) Apparatus and method for detecting transmitting rate of turbo decoder
US6004028A (en) Device and method for receiving and reconstructing signals with improved perceived signal quality
KR20090043705A (en) Method and apparatus for control of iterative decodingin a mobile communication system
US20060198371A1 (en) Method and apparatus for analyzing reliability of a flag value
JPS602812B2 (en) Error correction code data decoder
JP2003110535A (en) Data communication device
TW200307401A (en) Digital wireless receiver
JP2884650B2 (en) Bit error rate measurement device for traffic channel
EP1387516A1 (en) Blind transport format detection in spread spectrum receivers
JPH0918461A (en) Data receiver
CN109286533B (en) Error checking method and device for voice data packet, storage medium and terminal
US7434117B1 (en) Method and apparatus of determining bad frame indication for speech service in a wireless communication system
JP2003134071A (en) Method of blind transport format detection based on power transition