JPH1075234A - Transmitter/receiver - Google Patents

Transmitter/receiver

Info

Publication number
JPH1075234A
JPH1075234A JP8229668A JP22966896A JPH1075234A JP H1075234 A JPH1075234 A JP H1075234A JP 8229668 A JP8229668 A JP 8229668A JP 22966896 A JP22966896 A JP 22966896A JP H1075234 A JPH1075234 A JP H1075234A
Authority
JP
Japan
Prior art keywords
transmission
data
bit
information
transmission 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.)
Granted
Application number
JP8229668A
Other languages
Japanese (ja)
Other versions
JP3334121B2 (en
Inventor
Manabu Yamamoto
学 山元
Takeshi Shiba
武史 芝
Shintaro Ueno
真太郎 上野
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
Omron Tateisi Electronics Co
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, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP22966896A priority Critical patent/JP3334121B2/en
Publication of JPH1075234A publication Critical patent/JPH1075234A/en
Application granted granted Critical
Publication of JP3334121B2 publication Critical patent/JP3334121B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a transmitter/receiver with which handling is facilitated in the case of transmitting/receiving and decoding data and efficiency in encoding is improved when the same code bit is prevented from being generated continuously more than a prescribed number in the case of encoding. SOLUTION: When transmission data are formed from the transmission information of characters, etc., an encoding part 1 compares the signal levels of 4th and 5th bits in the data and when these signal level are equal, this encoding part forms transmission data inverting all the bits from the next bit of the 5th bit to the 8th bit and forms inversion information data having inversion information showing whether the bits of the formed transmission data are inverted or not. A decoding part 7 reproduces transmission information on the side of transmission from the inversion information data from the transmission side and the transmission data having that inversion information.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、文字等の送信情報
を符号化および復号化することで、データ転送する送受
信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmitting / receiving apparatus for transmitting data by encoding and decoding transmission information such as characters.

【0002】[0002]

【従来の技術】従来、データを無線通信で送受信する複
数チャネルの送受信装置は、データを送信する際には、
図6に示すように、符号化部51が文字等の送信情報
(デジタル信号)を所定の規則に従って符号化して送信
データを形成し、変調部52が符号化された送信データ
をアナログ信号に変調し、その後、RF(Radio Freqen
cy) ユニット53がアナログ信号に変調した送信データ
を増幅し、さらに、これを搬送波に重畳してアンテナ5
8から発信するように構成されている。
2. Description of the Related Art Conventionally, a transmission / reception device of a plurality of channels for transmitting / receiving data by wireless communication, when transmitting data,
As shown in FIG. 6, an encoding unit 51 encodes transmission information (digital signal) such as characters according to a predetermined rule to form transmission data, and a modulation unit 52 modulates the encoded transmission data into an analog signal. And then RF (Radio Freqen
cy) The unit 53 amplifies the transmission data modulated into an analog signal, and further superimposes the transmission data on a carrier wave to form an antenna 5
8.

【0003】一方、上述の送受信装置は、データを受信
する際には、RFユニット53がアンテナ58で受信し
た受信周波数(アナログ信号)を増幅した後、所定の周
波数帯域に変換し、この所定の周波数帯域に変換した信
号を復調部54が復調信号(デジタル信号)に変換し、
その後、復号化部57が、ACコンデンサ55およびア
ンプ部56を介して入力された復調信号をCPU(図示
しない)が処理できるように復号化するように構成され
ている。
On the other hand, in the transmitting / receiving apparatus described above, when receiving data, the RF unit 53 amplifies a reception frequency (analog signal) received by the antenna 58, converts the signal into a predetermined frequency band, and converts the signal into a predetermined frequency band. The demodulation unit 54 converts the signal converted to the frequency band into a demodulated signal (digital signal),
Thereafter, the decoding unit 57 is configured to decode the demodulated signal input via the AC capacitor 55 and the amplifier unit 56 so that the CPU (not shown) can process the demodulated signal.

【0004】しかしながら、このような従来の送受信装
置では、復調部54で形成された復調信号がACコンデ
ンサ55を経由するに際し、このACコンデンサ55が
直流成分を遮断するため、に示すように、同符号が連
続した信号波形の場合には、に示すように、信号波形
がなまり、このため、復号化部57がなまった信号波形
を復号化すると、ビットばけが生じてしまい、正確な送
信データを再現することが困難であるいう不都合があっ
た。
However, in such a conventional transmission / reception device, when the demodulated signal formed by the demodulation section 54 passes through the AC capacitor 55, the AC capacitor 55 cuts off the DC component. In the case of a signal waveform having a continuous code, the signal waveform is distorted as shown in (1). For this reason, when the decoding unit 57 decodes the distorted signal waveform, bit blur occurs, and accurate transmission data cannot be obtained. There was an inconvenience that it was difficult to reproduce.

【0005】そこで、このような不都合を解決するた
め、従来の送受信装置では、ビットばけが生じ易い同符
号が連続した信号を送信しないように、符号化するに際
し、符号化部51が同符号ビットが所定数連続した送信
データを受けた場合には、連続する同符号ビットの中
に、反転ビットを挿入する方式が採用されている。
Therefore, in order to solve such inconvenience, in a conventional transmitting / receiving apparatus, when encoding is performed so that a signal in which the same code which is apt to cause bit blurring is continuous is not transmitted, the encoding unit 51 uses the same code bit. When a predetermined number of consecutive transmission data are received, a method of inserting an inversion bit into the consecutive same sign bits is adopted.

【0006】この方式を具体的に説明すると、図7に示
すように、符号化部51は、符号化前において同符号が
6ビット連続した送信データを受けた場合には、6ビッ
ト目に反転ビットを挿入して符号化した信号を送信する
ようになっている。
More specifically, as shown in FIG. 7, if the encoding unit 51 receives transmission data in which the same code continues for 6 bits before encoding, as shown in FIG. A signal encoded by inserting bits is transmitted.

【0007】また、反転ビットを挿入する方法以外で
は、図8に示すように、符号化するに際し、符号化部5
1は、ハイレベルビットおよびローレベルビットのそれ
ぞれを、ハイレベルビットとローレベルビットとでなる
2ビットの信号で変換する、いわゆるマンチェスタ符号
変換方式が採用されている。
[0007] In addition to the method of inserting the inverted bit, as shown in FIG.
No. 1 employs a so-called Manchester code conversion system in which each of a high-level bit and a low-level bit is converted by a 2-bit signal consisting of a high-level bit and a low-level bit.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
たように、符号化前において同符号が連続し送信データ
を受けた場合には、反転ビットを挿入する方式を採用す
る送受信装置では、符号化されたデータの総ビット数が
元信号に対して規則性が無いため、総ビットを算出する
ことができず、データの送受信および復号化における取
扱が複雑になるという問題点があった。
However, as described above, in the case where the same code is continuously received before transmission and transmission data is received, the transmission / reception apparatus adopting the method of inserting an inverted bit is not encoded. Since the total number of bits of the data does not have regularity with respect to the original signal, the total bits cannot be calculated, and there is a problem that handling in data transmission / reception and decoding becomes complicated.

【0009】また、符号化後の総ビット数が8ビットの
倍数にならないため、特に調歩同期方式を用いた送受信
装置では、取扱ができないという問題点があった。
In addition, since the total number of bits after encoding does not become a multiple of 8 bits, there is a problem that a transmission / reception apparatus using a start-stop synchronization method cannot be handled.

【0010】マンチェスタ符号化方式を採用する送受信
装置では、上述した反転ビットを挿入した方式のものと
異なり、符号化された総ビット数は算出可能であるが、
符号化された総ビット数が元の信号の2倍となり、符号
化効率が悪いという問題点があった。
In a transmitting / receiving apparatus adopting the Manchester encoding method, unlike the above-described method in which the inverted bit is inserted, the total number of encoded bits can be calculated.
There is a problem that the total number of encoded bits is twice that of the original signal, and the encoding efficiency is poor.

【0011】本発明は上述の問題点に鑑み、符号化する
に際し、同符号ビットが所定数以上、連続して発生しな
いようした場合において、データの送受信および復号化
における取扱が容易で、かつ、符号化効率がよい送受信
装置を提供することを目的とする。
The present invention has been made in view of the above-described problems, and when encoding is performed so that the same code bit does not continuously occur more than a predetermined number, handling in data transmission / reception and decoding is easy, and An object of the present invention is to provide a transmission / reception device with high encoding efficiency.

【0012】[0012]

【課題を解決するための手段】上述の目的を達成するた
めに、請求項1記載の発明は、文字等の送信情報を符号
化して送信データを形成する符号化手段と、送られてき
た受信データから文字等の送信情報を再現する復号化手
段を備える送受信装置において、上記符号化手段が、上
記文字等の送信情報から送信データを形成すると、デー
タ中の所定ビットと次のビットとの信号レベルを比較
し、同一信号レベルである場合には、最初のビットから
上記所定ビットまでのすべてのビットを反転するか、ま
たは、上記所定ビットの次のビットから最終ビットまで
のすべてのビットを反転した送信データを形成するとと
もに、形成した送信データがビット反転したか否かの反
転情報を有する反転情報データを形成し、上記復号化手
段が、送信側から上記反転情報データと、その反転情報
を有する送信データとから、送信側の送信情報を再現す
ることを特徴とする。
In order to achieve the above-mentioned object, according to the present invention, there is provided an encoding means for encoding transmission information such as characters to form transmission data; In a transmitting / receiving apparatus provided with decoding means for reproducing transmission information such as characters from data, when the encoding means forms transmission data from the transmission information such as characters, a signal between a predetermined bit and the next bit in the data is transmitted. Compare the levels, and if they are the same signal level, invert all bits from the first bit to the above-mentioned predetermined bit, or invert all bits from the next bit to the above-mentioned predetermined bit to the last bit Forming the transmission data, and forming inversion information data having inversion information indicating whether or not the formed transmission data is bit-inverted. And inverting the information data, and a transmission data having the inverted information, characterized in that it reproduces the transmitted information on the transmission side.

【0013】請求項2記載の発明は、請求項1記載の発
明において、上記符号化手段が、送信データのビットを
反転させる場合には、送信データを形成するビットの半
分、または略半分とすることを特徴とする。
According to a second aspect of the present invention, in the first aspect of the present invention, when the encoding means inverts the bits of the transmission data, the encoding means makes half or almost half the bits forming the transmission data. It is characterized by the following.

【0014】請求項3記載の発明は、請求項1記載の発
明において、上記符号化手段が、所定数の上記送信デー
タを形成するとともに、それに応じた反転情報を有する
反転情報データを形成することを特徴とする。
According to a third aspect of the present invention, in the first aspect of the present invention, the encoding means forms a predetermined number of the transmission data and forms inversion information data having inversion information corresponding thereto. It is characterized by.

【0015】請求項4記載の発明は、請求項3記載の発
明において、上記符号化手段が、所定数の上記送信デー
タを形成しない場合には、上記反転情報データにダミー
を格納することを特徴とする。
According to a fourth aspect of the present invention, in the third aspect of the present invention, when the encoding means does not form a predetermined number of the transmission data, a dummy is stored in the inversion information data. And

【0016】請求項5記載の発明は、請求項1乃至4記
載の発明において、送受信装置同期方式が調歩同期方式
でなることを特徴とする。
A fifth aspect of the present invention is characterized in that, in the first to fourth aspects of the present invention, the transmission / reception device synchronization system is a start-stop synchronization system.

【0017】本発明によれば、文字等の送信情報から送
信データが形成されると、データ中の所定ビットと次の
ビットとの信号レベルを比較し、同一信号レベルである
場合には、最初のビットから所定ビットまでのすべての
ビットを反転するか、または、所定ビットの次のビット
から最終ビットまでのすべてのビットを反転した送信デ
ータが形成されるため、この形成された送信データが同
符号が連続して発生することが減少する。
According to the present invention, when transmission data is formed from transmission information such as characters, the signal level of a predetermined bit in the data is compared with the signal level of the next bit. The transmission data is formed by inverting all the bits from the predetermined bit to the predetermined bit or by inverting all the bits from the next bit to the last bit of the predetermined bit. The occurrence of consecutive codes is reduced.

【0018】[0018]

【発明の実施の形態】以下、本発明に係る送受信装置の
実施形態を図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a transmitting / receiving apparatus according to the present invention will be described below with reference to the drawings.

【0019】図1は本発明に係る送受信装置の一実施形
態の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a transmitting / receiving apparatus according to the present invention.

【0020】この実施形態の送受信装置は、同期方式が
調歩同期方式が採用されており、後に詳述するように文
字等の送信情報を符号化して送信データを形成する符号
化部1と、送信データブロック形成部2で形成された送
信データをアナログ信号に変調する変調部2と、後に詳
述するRFユニット3と、RFユニット3を介して得た
他の送受信装置からの受信データをデジタル信号に復調
する復調部4と、この復調部4から出力されたデジタル
信号のバラツキを減少させるACコンデンサ5と、信号
を増幅するアンプ部6と、後に詳述する復号化部7と、
アンテナ9とを備えている。
The transmission / reception apparatus of this embodiment employs a start-stop synchronization method, and as described in detail later, an encoding unit 1 for encoding transmission information such as characters to form transmission data; A modulation unit 2 for modulating transmission data formed by the data block formation unit 2 into an analog signal, an RF unit 3 described later in detail, and a reception signal from another transmission / reception device obtained via the RF unit 3 are converted into a digital signal. A demodulation unit 4, an AC capacitor 5 for reducing the variation of the digital signal output from the demodulation unit 4, an amplifier unit 6 for amplifying the signal, and a decoding unit 7 described in detail below.
An antenna 9 is provided.

【0021】符号化部1は、標準化、圧縮等された送信
情報を、図2(a)に示すように、2元符号化した1バ
イトからなる送信データAに形成するように構成されて
いる。
As shown in FIG. 2A, the encoding unit 1 is configured to form standardized and compressed transmission information into transmission data A consisting of binary encoded one byte. .

【0022】また、符号部1は、図2(b)に示すよう
に、形成した送信データA中の第4ビットの信号レベル
(図中のD)と,第5ビットの信号レベル(図中のE)
とを比較し、同一信号レベル(D=E)である場合に
は、第5ビットから最終ビットである第8ビットまで
(図中のE,F,G,H)のすべてのビットを反転した
新たな送信データAを形成する一方、同一信号レベル
(D≠E)でない場合には、元の送信データAのままと
するように構成されている。
As shown in FIG. 2 (b), the encoding unit 1 generates a signal level of the fourth bit (D in the figure) and a signal level of the fifth bit (the figure) in the formed transmission data A. E)
And when the signal level is the same (D = E), all the bits from the fifth bit to the last bit, the eighth bit (E, F, G, H in the figure), are inverted. While the new transmission data A is formed, if the signal level is not the same (D ≠ E), the original transmission data A is left as it is.

【0023】ここで、D=Eの場合において、新たに形
成された送信データA中の第5ビットから第8ビットに
記載されている“e,f,g,h”は、元の送信データ
A中の“E,F,G,H”を反転したものであることを
示している。
Here, in the case of D = E, “e, f, g, h” described in the fifth to eighth bits in the newly formed transmission data A is the original transmission data. This indicates that "E, F, G, H" in A is inverted.

【0024】さらに、符号化部1は、送信データAを形
成すると、バッファに格納していき、送信データAがな
くて格納することができない場合を除き、送信データA
が4つバッファに格納され次第、これら4つの送信デー
タAのそれぞれがビット反転しているものか否かを示し
情報(以下、反転情報という)を格納する反転情報デー
タBを形成するように構成されている。
Further, after forming the transmission data A, the encoding unit 1 stores the transmission data A in a buffer.
Is stored in the four buffers, and it is configured to form inverted information data B for storing information (hereinafter referred to as inverted information) indicating whether or not each of the four transmission data A is bit-inverted. Have been.

【0025】ここで、反転情報データBをさらに詳しく
説明すると、反転情報データBは、図3(a)に示すよ
うに、第1ビットおよび第2ビットでは#1の送信デー
タの反転情報を、第3ビットおよび第4ビットでは#2
の送信データの反転情報を、第5ビットおよび第6ビッ
トでは#3の送信データの反転情報を、第7ビットおよ
び第8ビットでは#4の送信データの反転情報を格納し
ている。
Here, the inversion information data B will be described in more detail. As shown in FIG. 3A, the inversion information data B includes inversion information of the transmission data of # 1 in the first bit and the second bit. # 2 in the third and fourth bits
The fifth bit and the sixth bit store the inverted information of the # 3 transmission data, and the seventh and eighth bits store the inverted information of the # 4 transmission data.

【0026】そして、反転情報として、“1,0”の場
合には該当する送信データA中の第5ビットから第8ビ
ットがすべて反転していることを示し、“0,1”の場
合にはそれらが反転していないこと、または、所定バイ
ト位置に送信データが存在しないことを示すダミーを表
示していることを示している。
When the inversion information is "1, 0", it indicates that all the fifth to eighth bits in the corresponding transmission data A are inverted, and when the information is "0, 1", Indicates that they are not inverted, or that a dummy indicating that there is no transmission data at a predetermined byte position is displayed.

【0027】さらにまた、符号化部1は、反転情報デー
タBを形成すると、図3(b)に示すように、反転情報
データBを先頭にし、形成した送信データA順に(#1
〜#4)、それぞれのデータのビット列の最初のビット
位置を示すスタートビットと、最後のビット位置を示す
ストップビットとを付加して変調部2に出力するように
構成されている。
Further, when the encoding unit 1 forms the inverted information data B, as shown in FIG. 3B, the encoding unit 1 places the inverted information data B at the top, and in the order of the formed transmission data A (# 1).
To # 4), a start bit indicating the first bit position of the bit string of each data and a stop bit indicating the last bit position are added and output to the modulation unit 2.

【0028】なお、符号化部1は、送信データAが4バ
イトに満たない場合、例えば、図3(c)に示すよう
に、#1と#2との送信データAしかない場合には、こ
れらの送信データAの反転情報を、前詰めにし(第1ビ
ットから順に)格納し、その後にダミーを格納した反転
情報データを形成するように構成されている。
When the transmission data A is less than 4 bytes, for example, when there is only transmission data A of # 1 and # 2 as shown in FIG. The inversion information of the transmission data A is stored left-justified (in order from the first bit) and then stored to form inverted information data in which a dummy is stored.

【0029】RFユニット3は、送信データを送信する
場合には、変調部2でアナログ信号に変調した送信デー
タを増幅してアンテナ8から送信し、また、受信データ
を受信した場合には、アンテナ8で受信した受信周波数
(アナログ信号)を増幅した後、所定の周波数帯域に変
換するように構成されている。
When transmitting the transmission data, the RF unit 3 amplifies the transmission data modulated into an analog signal by the modulation unit 2 and transmits the amplified data from the antenna 8. 8 is configured to amplify the reception frequency (analog signal) received and convert it to a predetermined frequency band.

【0030】復号化部7は、RFユニット3,復調部
4,ACコンデンサ5およびアンプ部6を介して得た他
の送信装置からの受信データ列を受けると、反転情報デ
ータBに格納されている反転情報に基づき、以下につな
がるそれぞれの送信データAについての第5ビット〜第
8ビットを反転させることで、符号化部1が反転させた
状態を反転させない元の状態に戻すように構成されてい
る。
When receiving a data string received from another transmitting apparatus via the RF unit 3, demodulation unit 4, AC capacitor 5 and amplifier unit 6, the decoding unit 7 stores the received data string in the inverted information data B. Based on the inversion information, the fifth to eighth bits of each of the following transmission data A are inverted so that the state in which the encoding unit 1 has been inverted is returned to the original state in which it is not inverted. ing.

【0031】次に、この実施形態の送受信装置の動作
を、送信動作および受信動作に分けて説明する。
Next, the operation of the transmitting / receiving apparatus of this embodiment will be described separately for a transmitting operation and a receiving operation.

【0032】(1)送信動作について 以下、送信動作を具体的に説明するため、図4に示すよ
うに、“11110000”,“00000111”,
“00000011”および“00110100”でな
る4つの送信情報を送信する場合を例にとり説明する。
(1) Transmission Operation Hereinafter, in order to specifically describe the transmission operation, as shown in FIG. 4, "11110000", "00000111",
A case will be described as an example where four pieces of transmission information consisting of “00000111” and “00110100” are transmitted.

【0033】始めに、符号化化部1は、“111100
00”の送信情報を形成すると、この送信情報がビット
反転するか否かを判断する。
First, the encoding unit 1 sets "111100
When the transmission information of "00" is formed, it is determined whether or not the transmission information is bit-inverted.

【0034】すなわち、符号化部1は、形成した送信情
報の第4ビットの内容と、第5ビットの内容が同一でな
いため、この送信情報“11110000”をそのまま
送信データAとして、バッファに格納する。
That is, since the content of the fourth bit and the content of the fifth bit of the formed transmission information are not the same, the encoding unit 1 stores the transmission information “11110000” as it is as the transmission data A in the buffer. .

【0035】符号化部1は、続いて形成した2番目の送
信情報“00000111”についても、送信データA
を形成する際に、ビット反転べきか否かを判断する。
The encoding unit 1 transmits the transmission data A to the second transmission information “00000111” formed subsequently.
Is formed, it is determined whether or not the bit should be inverted.

【0036】この場合には、送信情報の第4ビットの内
容と、第5ビットの内容が同一であるため、符号化部1
は、第5ビットから第8ビットのすべてのビット内容を
反転すべきであると判断し、送信情報中の第5ビットか
ら第8ビットをビット反転させた“00001000”
を送信データとしてバッファに格納する。
In this case, since the content of the fourth bit and the content of the fifth bit of the transmission information are the same, the encoding unit 1
Determines that all the bit contents from the fifth bit to the eighth bit should be inverted, and “00001000” is obtained by inverting the fifth bit to the eighth bit in the transmission information.
Is stored in the buffer as transmission data.

【0037】続いて、符号化部1は、同様にして3番目
の送信情報“00000011”および4番目の送信情
報“00110100”についても、順次、送信データ
A“0001100”の送信データAおよび“0011
0100”の送信データAを形成し、バッファに格納す
る。
Subsequently, the encoding unit 1 similarly sequentially transmits the third transmission information “00000011” and the fourth transmission information “00110100” to the transmission data A and “0011100” of the transmission data A “0001100”.
The transmission data A of 0100 ″ is formed and stored in the buffer.

【0038】因みに、3番目の送信データAは、送信情
報中の第5ビットから第8ビットの内容を反転して形成
されたものであり、4番目の送信データAは、送信情報
の内容そのままのものである。
By the way, the third transmission data A is formed by inverting the contents of the fifth to eighth bits in the transmission information, and the fourth transmission data A is the content of the transmission information as it is. belongs to.

【0039】このようにして、バッファに4つの送信デ
ータAが格納されると、次に、符号化部1は、1番目の
送信データA“11110000”から4番目の送信デ
ータA“00110100”を形成するに際して必要と
なったビット反転の情報に基づき、反転情報データBを
形成する。
When the four pieces of transmission data A are stored in the buffer in this way, the encoding unit 1 next converts the fourth transmission data A “00110100” from the first transmission data A “11110000”. The inversion information data B is formed based on the information of the bit inversion required for the formation.

【0040】つまり、符号化部1は、1番目の送信デー
タAを形成する際しては“非反転”、2番目の送信デー
タAを形成する際しては“反転”、3番目の送信データ
Aを形成する際しては“反転”、4番目の送信データA
を形成する際しては“非反転”であるという判断に基づ
き、“01101001”という反転情報データBを形
成する。
That is, the encoding unit 1 is “non-inverted” when forming the first transmission data A, “inverted” when forming the second transmission data A, and the third transmission data. When forming the data A, “inverted” and the fourth transmission data A
Is formed, the inverted information data B of "011101001" is formed based on the determination of "non-inverted".

【0041】符号化部1は、反転情報データB“011
01001”を形成すると、反転情報データBから順
に、第1の送信データAから第4の送信データAを、ス
タートビットとストップビットを付加して変調部2に送
信する。
The encoding unit 1 outputs the inversion information data B “011
When 01001 ″ is formed, the first to fourth transmission data A to the fourth transmission data A are transmitted to the modulating unit 2 with the start bit and the stop bit added in order from the inverted information data B.

【0042】ここで、各データA,Bにスタートビット
およびストップビットを付加するのは、このデータを受
信した側が、この受信データから復号化する際の同期タ
イミングとして調歩同期を取る必要があるためである。
The reason why the start bit and the stop bit are added to each of the data A and B is that the receiving side of the data needs to perform start-stop synchronization as a synchronization timing when decoding from the received data. It is.

【0043】すなわち、符号化部1は、図5に示すよう
に、“01101001”でなる反転情報データBで
は、スタートビットとして“1”を先頭に、ストップビ
ットとして“0”を最後に付加した“10110100
10”を、1番目の“11110000”でなる送信デ
ータAでは、“1111100000”を、2番目の
“00001000”でなる送信データAでは、“10
00010000”を、3番目の“00001100”
でなる送信データAでは、“1000011000”
を、4番目の“00110100”でなる送信データA
では、“1001101000”を変調部2に出力す
る。
That is, as shown in FIG. 5, the encoding unit 1 adds “1” as the start bit at the beginning and “0” as the stop bit at the end in the inverted information data B composed of “011101001”. "10110100
10 in the first transmission data A consisting of "1111100000", and "11111100000" in the transmission data A consisting of the second "00001000".
0000000 "to the third" 000001100 "
In the transmission data A consisting of “1000011000”
Is the transmission data A consisting of the fourth "00110100"
Then, “1001101000” is output to the modulation unit 2.

【0044】変調部2は、スタートビットおよびストッ
プビットが付加された反転情報データや1番目〜4番目
の送信データを符号化部1から受けると、これらをアナ
ログ信号に変調して、これをRFユニット3に出力す
る。
Upon receiving the inverted information data to which the start bit and the stop bit are added and the first to fourth transmission data from the encoder 1, the modulator 2 modulates these into analog signals and converts them to RF signals. Output to unit 3.

【0045】その後、RFユニット3は、変調信号を電
波で送信できるように増幅し、それを搬送波に重畳して
アンテナ8を介して送信して、送信動作を終了する。
Thereafter, the RF unit 3 amplifies the modulated signal so that it can be transmitted by radio waves, superimposes the modulated signal on a carrier wave, transmits the signal via the antenna 8, and ends the transmission operation.

【0046】(2)受信動作について 以下、受信動作を具体的に説明するため、図5に示した
“1011010010”,“111110000
0”,“1000010000”、“10000110
00”および“1001101000”でなる受信デー
タの場合を例に取り説明する。
(2) Reception Operation Hereinafter, in order to specifically describe the reception operation, “1011010010” and “111110000” shown in FIG.
0 "," 10000100000 "," 100000110 "
The case of received data consisting of “00” and “1001101000” will be described as an example.

【0047】RFユニット3は、受信周波数をアンテナ
8から受けると、受信した受信周波数を増幅した後、搬
送波成分を除去して、所定の周波数帯域に変換した受信
データ(アナログ信号)を復調器4に出力する。
When receiving the received frequency from the antenna 8, the RF unit 3 amplifies the received frequency, removes the carrier component, and converts the received data (analog signal) converted to a predetermined frequency band into a demodulator 4. Output to

【0048】復調器4は、RFユニット3を介して得た
他の送受信装置からの受信データをデジタル信号に復調
する。
The demodulator 4 demodulates the data received from another transmitting / receiving device via the RF unit 3 into a digital signal.

【0049】すると、復調された信号は、“10110
10010”,“1111100000”,“1000
010000”、“1000011000”および“1
001101000”となるデジタル信号となる。
Then, the demodulated signal is "10110
10010 "," 11111100000 "," 1000
010000 "," 1000011000 "and" 1
It becomes a digital signal of "0011101000".

【0050】復号化部7は、復調器4からACコンダン
サ5およびアンプ部6を介して得た、他の送受信装置か
らの受信データを復号化する。
The decoding section 7 decodes data received from another transmitting / receiving apparatus, obtained from the demodulator 4 via the AC conductor 5 and the amplifier section 6.

【0051】すなわち、復号化部7は、スタートビット
を認識すると、このスタートビットを除去するととも
に、ストップビットを除去し、データを取り出す。
That is, when recognizing the start bit, the decoding section 7 removes the start bit and the stop bit, and extracts the data.

【0052】つまり、復号化部7は、“0110100
1”,“11110000”,“00001000”、
“00001100”および“00110100”とな
るデータを取り出し、これらをバッファに格納する。
That is, the decoding unit 7 outputs “0110100
1 "," 11110000 "," 00001000 ",
The data "000001100" and "00110100" are extracted and stored in a buffer.

【0053】その後、復号化部7は、最初のデータ“0
1101001”の内容を検査し、これ以降のデータが
ビット反転する必要があるか否かを判断し、ビット反転
の必要があるものは、ビット反転を行って送信先からの
送信情報を再現し、受信動作を終了する。
Thereafter, the decoding unit 7 outputs the first data “0”.
1101001 "is inspected, and it is determined whether or not the subsequent data needs to be bit-inverted. If the data needs to be bit-inverted, bit inversion is performed to reproduce the transmission information from the transmission destination. The receiving operation ends.

【0054】この実施形態の送受信装置よれば、符号化
部1が文字等の送信情報から送信データを形成すると、
データ中の所定ビットと次のビットとの信号レベルを比
較し、同一信号レベルである場合には、最初のビットか
ら所定ビットまでのすべてのビットを反転するか、また
は、所定ビットの次のビットから最終ビットまでのすべ
てのビットを反転した送信データが形成されるため、こ
の形成された送信データAが同符号が連続して発生する
ことが減少する。
According to the transmitting and receiving apparatus of this embodiment, when the encoding unit 1 forms transmission data from transmission information such as characters,
The signal level of a predetermined bit in the data is compared with the signal level of the next bit. If the signal level is the same, all bits from the first bit to the predetermined bit are inverted, or the bit next to the predetermined bit is Since the transmission data in which all the bits from the first bit to the last bit are inverted is formed, the occurrence of the same code in the formed transmission data A continuously decreases.

【0055】従って、符号化されたデータの総ビット数
が元信号に対して規則性を有し、総ビットを算出するこ
とができず、データの送受信および復号化における取扱
が容易である。
Therefore, the total number of bits of the encoded data has regularity with respect to the original signal, the total bits cannot be calculated, and the handling in data transmission / reception and decoding is easy.

【0056】また、特に、符号化後の総ビット数が8ビ
ットの倍数にすることができ、特に調歩同期方式を採用
することができる。
In particular, the total number of bits after encoding can be a multiple of 8 bits, and in particular, the start-stop synchronization method can be employed.

【0057】本発明は上述の問題点に鑑み、符号化する
に際し、同符号ビットが所定数以上、連続して発生しな
いようした場合において、データの送受信および復号化
における取扱が容易で、かつ、符号化効率がよい送受信
装置を提供することを目的とする。
The present invention has been made in view of the above-described problems, and when encoding is performed such that a predetermined number or more of the same code bits are not continuously generated, handling in data transmission / reception and decoding is easy, and An object of the present invention is to provide a transmission / reception device with high encoding efficiency.

【0058】この実施形態の送受信装置は、ビット同期
方式における調歩同期方式を採用しているが、これ以外
でもブロック同期における調歩同期方式,キャラクタ同
期方式およびフラグ同期方式を採用して良いことはいう
までもない。
The transmission / reception apparatus of this embodiment employs the start-stop synchronization method in the bit synchronization method. However, it is also possible to adopt the start-stop synchronization method, the character synchronization method, and the flag synchronization method in the block synchronization. Not even.

【0059】また、この実施形態の送受信装置は、無線
通信を持ちいての送受信を行うようになっているが、有
線通信においても使用可能である。
The transmitting / receiving apparatus of this embodiment performs transmission / reception with wireless communication, but can also be used for wired communication.

【0060】さらに、この実施形態の送受信装置は、反
転ビットが第5ビットから第8ビットであるが、第1ビ
ットから第4ビットでもよいことはいうまでもない。
Further, in the transmitting / receiving apparatus of this embodiment, the inverted bits are the fifth to eighth bits, but it goes without saying that the inverted bits may be the first to fourth bits.

【0061】[0061]

【発明の効果】以上本発明によれば、文字等の送信情報
から送信データを形成すると、データ中の所定ビットと
次のビットとの信号レベルを比較し、同一信号レベルで
ある場合には、最初のビットから所定ビットまでのすべ
てのビットを反転するか、または、所定ビットの次のビ
ットから最終ビットまでのすべてのビットを反転した送
信データが形成されるため、この形成された送信データ
Aが同符号が連続して発生することが減少する。
As described above, according to the present invention, when transmission data is formed from transmission information such as characters, the signal level of a predetermined bit in the data is compared with the signal level of the next bit. Since transmission data is formed by inverting all bits from the first bit to a predetermined bit or by inverting all bits from the next bit to the last bit of the predetermined bit, the formed transmission data A That the same sign occurs successively is reduced.

【0062】従って、符号化されたデータの総ビット数
が元信号に対して規則性を有し、総ビットを算出するこ
とができず、データの送受信および復号化における取扱
が容易である。
Accordingly, the total number of bits of the encoded data has a regularity with respect to the original signal, the total bits cannot be calculated, and the handling in data transmission / reception and decoding is easy.

【0063】また、特に、符号化後の総ビット数が8ビ
ットの倍数にすることができ、特に調歩同期方式を採用
することができる。
In particular, the total number of bits after encoding can be a multiple of 8 bits, and in particular, the start-stop synchronization method can be employed.

【0064】さらに、従来のようにマンチャエスタ符号
変換方式を採用する必要がなくなり、符号化効率が向上
することができる。
Further, it is not necessary to adopt the Mancha-Esta code conversion method as in the prior art, and the coding efficiency can be improved.

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

【図1】本発明に係る送受信装置の一実施形態の構成を
示すブロック図。
FIG. 1 is a block diagram showing a configuration of an embodiment of a transmitting / receiving apparatus according to the present invention.

【図2】図1中の符号化部が形成する送信データについ
ての説明図。
FIG. 2 is an explanatory diagram of transmission data formed by an encoding unit in FIG. 1;

【図3】図1中の符号化部が形成する反転情報データお
よび送信送信データについての説明図。
FIG. 3 is an explanatory diagram of inversion information data and transmission transmission data formed by an encoding unit in FIG. 1;

【図4】この実施形態の送受信装置の動作説明をについ
ての説明図。
FIG. 4 is an explanatory diagram for explaining the operation of the transmission / reception device of the embodiment.

【図5】この実施形態の送受信装置の動作説明をについ
ての説明図。
FIG. 5 is an explanatory diagram for explaining the operation of the transmitting / receiving device of the embodiment.

【図6】従来の送受信装置の構成を示すブロック図。FIG. 6 is a block diagram showing a configuration of a conventional transmitting / receiving apparatus.

【図7】従来の送受信装置で採用されているビット挿入
方式を説明するタイミングチャート。
FIG. 7 is a timing chart for explaining a bit insertion method employed in a conventional transmitting / receiving apparatus.

【図8】従来の送受信装置で採用されているマンチャス
タ方式を説明するタイミングチャート。
FIG. 8 is a timing chart for explaining a manchastor method employed in a conventional transmitting / receiving apparatus.

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

1 符号化部 2 変調部 3 RFユニット 4 復調部 5 ACコンデンサ 6 アンプ部 7 復号化部 8 アンテナ DESCRIPTION OF SYMBOLS 1 Encoding part 2 Modulation part 3 RF unit 4 Demodulation part 5 AC capacitor 6 Amplifier part 7 Decoding part 8 Antenna

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 文字等の送信情報を符号化して送信デー
タを形成する符号化手段と、送られてきた受信データか
ら文字等の送信情報を再現する復号化手段を備える送受
信装置において、 上記符号化手段が、上記文字等の送信情報から送信デー
タを形成すると、データ中の所定ビットと次のビットと
の信号レベルを比較し、同一信号レベルである場合に
は、最初のビットから上記所定ビットまでのすべてのビ
ットを反転するか、または、上記所定ビットの次のビッ
トから最終ビットまでのすべてのビットを反転した送信
データを形成するとともに、形成した送信データがビッ
ト反転したか否かの反転情報を有する反転情報データを
形成し、 上記復号化手段が、送信側から上記反転情報データと、
その反転情報を有する送信データとから、送信側の送信
情報を再現することを特徴とする送受信装置。
1. A transmission / reception apparatus comprising: an encoding unit that encodes transmission information such as characters to form transmission data; and a decoding unit that reproduces transmission information such as characters from received transmission data. When the conversion means forms transmission data from the transmission information such as the characters, the predetermined bit in the data is compared with the signal level of the next bit. Or inverts all bits up to, or forms transmission data in which all bits from the next bit to the last bit of the predetermined bit are inverted, and inverts whether the formed transmission data has been bit inverted. Forming inverted information data having information, wherein the decoding means transmits the inverted information data from the transmitting side;
A transmission / reception device that reproduces transmission information on the transmission side from transmission data having the inverted information.
【請求項2】 上記符号化手段が、送信データのビット
を反転させる場合には、送信データを形成するビットの
半分、または略半分とすることを特徴とする請求項1記
載の送受信装置。
2. The transmission / reception apparatus according to claim 1, wherein when the encoding means inverts the bits of the transmission data, the encoding means sets the transmission data to half or substantially half of the bits forming the transmission data.
【請求項3】 上記符号化手段が、所定数の上記送信デ
ータを形成するとともに、それに応じた反転情報を有す
る反転情報データを形成することを特徴とする請求項1
記載の送受信装置。
3. The apparatus according to claim 1, wherein said encoding means forms a predetermined number of said transmission data and forms inversion information data having inversion information corresponding thereto.
The transmitting / receiving device according to any one of the preceding claims.
【請求項4】 上記符号化手段が、所定数の上記送信デ
ータを形成しない場合には、上記反転情報データにダミ
ーを格納することを特徴とする請求項3記載の送受信装
置。
4. The transmission / reception apparatus according to claim 3, wherein said encoding means stores a dummy in said inverted information data when a predetermined number of said transmission data is not formed.
【請求項5】 同期方式が調歩同期方式でなる請求項1
乃至4記載の送受信装置。
5. The synchronous system according to claim 1, wherein the synchronous system is a start-stop synchronous system.
5. The transmitting / receiving device according to any one of claims 1 to 4.
JP22966896A 1996-08-30 1996-08-30 Transceiver Expired - Fee Related JP3334121B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22966896A JP3334121B2 (en) 1996-08-30 1996-08-30 Transceiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22966896A JP3334121B2 (en) 1996-08-30 1996-08-30 Transceiver

Publications (2)

Publication Number Publication Date
JPH1075234A true JPH1075234A (en) 1998-03-17
JP3334121B2 JP3334121B2 (en) 2002-10-15

Family

ID=16895812

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22966896A Expired - Fee Related JP3334121B2 (en) 1996-08-30 1996-08-30 Transceiver

Country Status (1)

Country Link
JP (1) JP3334121B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012507927A (en) * 2008-10-30 2012-03-29 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Bit inversion in communication interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012507927A (en) * 2008-10-30 2012-03-29 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Bit inversion in communication interface

Also Published As

Publication number Publication date
JP3334121B2 (en) 2002-10-15

Similar Documents

Publication Publication Date Title
US5640160A (en) Pulse modulation method
KR100667739B1 (en) Apparatus for transmitting/receiving wireless data and method thereof
JP2005514805A5 (en)
CN105743616A (en) Long message segmentation and reliable communication method based on Beidou short message communication
EP1278318A2 (en) Wireless audio transmission system
JP2001506448A (en) Multi-level coding
CN111914970A (en) Two-dimensional code-based large-data-volume data transmission method
JP3334121B2 (en) Transceiver
JPH04259135A (en) Digital radio communication equipment
US6332208B1 (en) Data transmitting apparatus and data transmitting method
US8583985B2 (en) Transmission apparatus, transmission method, reception apparatus, reception method, program and transmission system
JP2001024516A (en) Method and device for transmitting variable length coded data in low s/n ratio environment
JP2003513521A (en) Method and apparatus for communicating using pulse decoding
JPH05344162A (en) Data transmitter
CN114449500B (en) Near field communication method, device and chip
US20120263302A1 (en) Voice communication apparatus and method
JP4195759B2 (en) Intercom transmission system
JP2652398B2 (en) Data transmission method
US6308002B1 (en) Image receiver, image reception method, image transmitter, image transmission method, image transmitter/receiver, and image transmission/reception method
JPH0681131B2 (en) Sync detection circuit for digital broadcasting receiver
JPH07183815A (en) Data encoding method and data decoding method
JPS61230525A (en) modified haffman code converter
JP3166952B2 (en) Encoding / decoding device
JPS5814104B2 (en) Information transmission method
CN116708601A (en) Data transmission method based on intelligent ammeter and concentrator

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: 20020701

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080802

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090802

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100802

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100802

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110802

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110802

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120802

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130802

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees