JPH0723064A - Encoding and decoding method and modem - Google Patents
Encoding and decoding method and modemInfo
- Publication number
- JPH0723064A JPH0723064A JP15914193A JP15914193A JPH0723064A JP H0723064 A JPH0723064 A JP H0723064A JP 15914193 A JP15914193 A JP 15914193A JP 15914193 A JP15914193 A JP 15914193A JP H0723064 A JPH0723064 A JP H0723064A
- Authority
- JP
- Japan
- Prior art keywords
- code
- state
- change
- state change
- unit
- 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
Links
- 238000000034 method Methods 0.000 title claims description 35
- 238000005070 sampling Methods 0.000 claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims description 16
- 238000001514 detection method Methods 0.000 claims description 16
- 238000000605 extraction Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 6
- 238000011084 recovery Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Dc Digital Transmission (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、入力データの変調信号
周波数と搬送波周波数とが整数比になっていないデータ
伝送方式の非同期パルス変復調方式に利用される。本発
明は、変調信号周波数と搬送波周波数とが整数比でない
場合に、変調信号を多点サンプリングにより符号化して
データ伝送するデータ伝送方式において、ジッタを抑圧
するとともに、復号化部において自己同期および同期復
帰が可能な符号化および復号化方法ならびにそのための
変復調装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used in an asynchronous pulse modulation / demodulation system of a data transmission system in which a modulated signal frequency of input data and a carrier frequency are not an integer ratio. The present invention suppresses jitter in a data transmission system in which a modulation signal is encoded and data is transmitted by multipoint sampling when the modulation signal frequency and the carrier frequency are not an integer ratio, and self-synchronization and synchronization are performed in a decoding unit. The present invention relates to a recoverable encoding / decoding method and a modulation / demodulation device therefor.
【0002】[0002]
【従来の技術】ディジタル通信系のディジタル信号の伝
送において、変調信号周波数と伝送路の搬送波周波数と
が等しいかまたはその整数倍に等しい場合には、変調信
号の論理値、1,0が直接搬送波パルスの有無に変換可
能であり、効率のよい変調方式を実現できる。2. Description of the Related Art In the transmission of digital signals in a digital communication system, when the modulation signal frequency and the carrier frequency of the transmission line are equal to each other or equal to an integral multiple thereof, the logical value 1, 0 of the modulation signal is the direct carrier wave. It can be converted into the presence or absence of pulse, and an efficient modulation method can be realized.
【0003】しかし、変調信号周波数と搬送波周波数と
が等しくなく、またはその整数倍になり得ない場合に
は、変調信号の論理値1,0を直接搬送波パルスの有無
に変換することはできない。このような非同期信号のパ
ルス変調方法として従来知られた方法は、搬送波周波数
をサンプリングパルスとして変調信号のサンプリングを
行い、変調信号の1パルスを複数の搬送波パルスに対応
させる方法である。However, if the modulation signal frequency and the carrier frequency are not equal to each other or cannot be an integral multiple thereof, the logical values 1 and 0 of the modulation signal cannot be directly converted into the presence or absence of the carrier pulse. A conventionally known method of pulse-modulating an asynchronous signal is a method of sampling a modulation signal by using a carrier frequency as a sampling pulse and making one pulse of the modulation signal correspond to a plurality of carrier pulses.
【0004】[0004]
【発明が解決しようとする課題】まず、変調信号周波数
と搬送波周波数とが非同期の場合には、変調信号の変化
点がサンプリング間隔TSの間にランダムに生起すると
考えられるので、復調時には最大TS間隔の誤差、すな
わちジッタを時間軸上で生じてしまう問題がある。First, when the modulation signal frequency and the carrier frequency are asynchronous, it is considered that the change points of the modulation signal occur randomly during the sampling interval TS, so that the maximum TS interval is available at the time of demodulation. However, there is a problem in that the error, that is, the jitter is generated on the time axis.
【0005】この問題を改善するためには、サンプリン
グ間隔を整数分の1に小さくする必要がある。前述した
従来の非同期パルス変調方式では、このことは直接搬送
波周波数が整数倍になることを意味するので、変調信号
を伝送する際の伝送効率の低下をまねく問題がある。In order to improve this problem, it is necessary to reduce the sampling interval to an integer fraction. In the above-mentioned conventional asynchronous pulse modulation method, this means that the carrier frequency is directly multiplied by an integer, and thus there is a problem in that the transmission efficiency at the time of transmitting the modulated signal decreases.
【0006】また、この問題を解決するために、搬送波
周波数の整数倍をサンプリング周波数にとり、サンプリ
ング結果を基に変調信号の変化点位置、変調信号の値な
どを符号化した信号を搬送パルスとして伝送する方式も
考えられる。この方式では、符号化と復号化の同期、す
なわち、復号器で現在何を意味している信号を受信して
いるかを正しく認識していることを前提としている。し
かし、伝送開始時の符号化器と復号化器間での同期確立
や、伝送路上で発生したエラーなどにより同期が外れた
場合の再同期の確立を行う場合の問題があり、また、同
期確立をどのように簡易に行うかの問題がある。In order to solve this problem, a sampling frequency is set to an integral multiple of the carrier frequency, and a signal obtained by encoding the changing point position of the modulation signal, the value of the modulation signal, etc. based on the sampling result is transmitted as a carrier pulse. A method of doing is also possible. In this method, it is premised that the encoding and the decoding are synchronized, that is, the decoder correctly recognizes what the current signal is being received. However, there is a problem in establishing synchronization between the encoder and decoder at the start of transmission and resynchronization when synchronization is lost due to an error on the transmission path. There is a problem of how to do it easily.
【0007】本発明は、上述の問題を解決するもので、
非同期信号を多点サンプリングにより符号化してデータ
伝送を行うデータ伝送方式において、ジッタを抑圧する
とともに、復号化器において、自己同期および同期復帰
が可能でありその伝送効率がよい符号化および復号化方
法ならびにそのための変復調装置を提供することを目的
とする。The present invention solves the above-mentioned problems.
In a data transmission method in which an asynchronous signal is encoded by multipoint sampling for data transmission, jitter is suppressed, and a decoder is capable of self-synchronization and synchronization recovery, and its transmission efficiency is high. Another object of the present invention is to provide a modulation / demodulation device therefor.
【0008】[0008]
【課題を解決するための手段】本発明の第一の観点は、
非同期パルス変調方式での符号化方法に係り、搬送波周
波数が入力データの変調周波数と非同期である場合の入
力データの符号化方法において、入力データをサンプリ
ングクロックによりサンプリングした標本値が前記搬送
波周波数の1周期内で変化しない場合は1時系列前の入
力データが1か0かの状態を示す状態符号(cn-1 )を
出力し、前記入力データの標本値が前記搬送波周波数の
1周期内で変化した場合は入力データが0から1へ変化
したか1から0へ変化したかを示す状態変化符号
(an )を出力し、続いてその変化時点が前記搬送波周
波数の1周期の前半であるか後半であるかを示す状態変
化位置符号(bn )を出力することを特徴とする。The first aspect of the present invention is to:
The present invention relates to an encoding method using an asynchronous pulse modulation method, and in the encoding method of input data when the carrier frequency is asynchronous with the modulation frequency of the input data, a sample value obtained by sampling the input data with a sampling clock is 1 of the carrier frequency. If it does not change within the cycle, a status code (c n-1 ) indicating whether the input data one time series before is 1 or 0 is output, and the sample value of the input data is within one cycle of the carrier frequency. If it changed outputs the input data state change code indicating whether it has changed from 1 or changes from 0 to 1 to 0 (a n), followed by the change time point is set in the first half of one cycle of the carrier frequency It is characterized in that the state change position code (b n ) indicating whether it is the latter half or the latter half is output.
【0009】本発明の第二の観点は、この符号化された
信号の復号化方法に係り、受信データ符号のn(nは時
系列を示す)の時点での状態符号(cn )と状態変化符
号(an )とは同じであり、nの時点の状態符号
(cn )とn+1の時点の状態変化符号(an+1 )とは
異なる規則に基づいて自己同期を確立し、当該時系列で
の状態符号および状態変化符号ならびに状態変化位置符
号に基づいて符号判定を行って受信データを復号するこ
とを特徴とする。A second aspect of the present invention relates to the method of decoding the coded signal, which is the state code (c n ) and the state code (c n ) at the time of n (n is a time series) of the received data code. The change code (a n ) is the same, and the state code (c n ) at the time point n and the state change code (a n + 1 ) at the time point n + 1 establish self-synchronization based on a different rule. It is characterized in that the received data is decoded by performing code determination based on the time-series state code, state change code, and state change position code.
【0010】なお、受信データについて、変化点を検出
すると、その変化点以降の3ビットについて、状態変化
符号と状態符号とが等しいかを判定する検出後判定処理
を行い、状態変化符号と状態符号とが等しい場合には、
状態変化符号と状態変化位置符号と状態符号とに基づい
て符号判定して受信データを復号し、状態変化符号と状
態符号とが等しくない場合には現状出力を保持すること
ができる。When a change point is detected in the received data, post-detection determination processing for determining whether the state change code and the state code are the same for the three bits after the change point is performed. If and are equal,
It is possible to determine the code based on the state change code, the state change position code, and the state code, decode the received data, and hold the current output when the state change code and the state code are not equal.
【0011】本発明の第三の観点は、上述の符号化復号
化方法に用いられる変復調装置に係り、入力データをサ
ンプリングクロックに基づいてサンプリングする標本化
器と、この標本化器によりサンプリングされた標本値に
基づいて符号化する符号化部と、この符号化部で符号化
された信号を搬送パルスとして送信する送信部と、伝送
路から受信した信号を等化しタイミング抽出および再生
を行いサンプリングクロックおよび識別信号を出力する
受信部と、この受信部で再生した信号を復号する復号化
部とを備えた変復調装置において、前記受信部の出力す
るサンプリングクロックを分周して搬送波周波数の基本
クロックを生成する分周器を備え、前記符号化部は、前
記分周器の出力する基本クロックを入力して、前記標本
化器の標本値が前記基本クロックの1周期内で変化した
かを判定し、変化しないならば1周期間の値を状態符号
として出力し、変化したならばその値が一の論理値から
他方の論理値へ変化したか他方の論理値から一の論理値
へ変化したかを示す状態変化符号と、その変化が基本ク
ロックの前半であるか後半であるかを示す状態変化位置
符号とを出力する手段を備え、前記復号化部は、前記分
周器の出力する基本クロックを入力して、前記受信部で
再生した受信信号について、n(nは時系列を示す)の
時点での状態符号と状態変化符号とは等しく、次のn+
1の時点の状態変化符号とnの時点の状態符号とは等し
くない規則に基づいて自己同期を確立し、前記状態符
号、前記状態変化符号、前記状態変化位置符号を判定し
て受信データの復号化を行う手段を備えたことを特徴と
する。A third aspect of the present invention relates to a modulation / demodulation apparatus used in the above-mentioned coding / decoding method, and a sampling device for sampling input data on the basis of a sampling clock, and sampling by this sampling device. An encoding unit that encodes based on a sample value, a transmitting unit that transmits the signal encoded by this encoding unit as a carrier pulse, and a sampling clock that equalizes the signal received from the transmission line and performs timing extraction and reproduction. In a modulation / demodulation device including a receiving unit that outputs the identification signal and a decoding unit that decodes the signal reproduced by the receiving unit, the sampling clock output from the receiving unit is divided to obtain the basic clock of the carrier frequency. The encoder includes a frequency divider for generating the basic clock output from the frequency divider, and the sampling value of the sampler It is determined whether the value has changed within one cycle of the basic clock. If it does not change, the value for one cycle is output as a status code. If it changes, whether the value changes from one logical value to the other logical value. Decoding means provided with means for outputting a state change code indicating whether the other logic value has changed to one logic value and a state change position code indicating whether the change is the first half or the second half of the basic clock. The converting unit inputs the basic clock output from the frequency divider, and the received signal reproduced by the receiving unit has the same state code and state change code at the time point n (n is a time series). , Next n +
Decoding the received data by establishing self-synchronization based on the rule that the state change code at time point 1 is not equal to the state code at time point n and determining the state code, the state change code, and the state change position code. It is characterized in that it is provided with a means for performing the conversion.
【0012】なお、復号化部は、受信データの論理が変
化したことを検出する手段と、その変化点以降から3ビ
ットにおいて、状態符号と状態変化符号とが等しいこと
を検出する手段と、状態符号と状態変化符号とが等しい
場合に、状態変化符号および状態変化位置符号ならびに
状態符号に基づいて当該時点での受信データの論理値を
判定して復号する手段とを備えることができる。The decoding unit detects a change in the logic of the received data, a unit that detects that the status code and the status change code are equal in three bits after the change point, and a status. When the code and the state change code are the same, a unit for determining and decoding the logical value of the received data at the time based on the state change code, the state change position code, and the state code can be provided.
【0013】また、符号化部および復号化部は、内部に
シフトレジスタを備え、入力データの標本値および受信
信号を前記シフトレジスタに入力してシフトする手段を
備えることができる。Further, the encoding unit and the decoding unit may include a shift register therein, and a unit for inputting the sample value of the input data and the received signal to the shift register for shifting.
【0014】[0014]
【作用】まず、符号化を説明する。搬送波周波数の1周
期を基本周期とするとき、多点サンプリングされた入力
データ(変調信号)がその基本周期間で変化がなかった
ときには、そのまま前の周期の値を示す状態信号cn-1
を出力する。基本周期内で変化したときには、0から1
へ変化したか、1から0へ変化したかのいずれかを示す
状態変化符号an を出力する。そして、その変化が基本
周期の前半で生じたか後半で生じたかを示す状態変化位
置符号bn を状態変化符号an に続けて出力する。First, the encoding will be described. When one cycle of the carrier wave frequency is used as a basic cycle, when the input data (modulated signal) sampled at multiple points does not change between the basic cycles, the state signal c n-1 indicating the value of the previous cycle as it is.
Is output. 0 to 1 when changing within the basic period
The state change code a n indicating either the change to 1 or the change from 1 to 0 is output. Then, the state change position code b n indicating whether the change occurs in the first half or the latter half of the basic cycle is output following the state change code a n .
【0015】この符号化データには次の規則が成り立
つ。The following rules apply to this encoded data.
【0016】 規則1 an =cn 規則2 cn ≠an+1 復号化部での復号においては、上記規則1および規則2
に基づいて自己同期を確立する。そして、前記の状態符
号cn-1 、状態変化符号an 、状態変化位置符号bn を
判定し、受信データを復号化する。Rule 1 a n = c n Rule 2 c n ≠ a n + 1 In the decoding by the decoding unit, the above Rule 1 and Rule 2
Establish self-synchronization based on. Then, the state code c n-1 , the state change code a n , and the state change position code b n are determined and the received data is decoded.
【0017】この復号化手順は、まず、変化点検出処理
で符号化データの変化点を検出すると、検出変化点以降
の3ビットで規則1が成立しているかの確認を行い、成
立している場合には 状態符号c、状態変化符号a、状
態変化位置符号bにより復号を行って出力データを作成
し、状態符号c以降から再び変化点検出処理に移行す
る。一方、規則1が不成立である場合、出力データは現
状出力を保持し、変化点の直後から変化点検出処理に移
行する。In this decoding procedure, first, when the change point of the encoded data is detected by the change point detection process, it is confirmed whether Rule 1 is satisfied by the 3 bits after the detected change point, and it is established. In this case, the output data is created by decoding with the state code c, the state change code a, and the state change position code b, and the change point detection process is started again from the state code c and thereafter. On the other hand, when the rule 1 is not satisfied, the output data holds the current output and shifts to the change point detection processing immediately after the change point.
【0018】[0018]
【実施例】以下、図面を参照して本発明の実施例を説明
する。Embodiments of the present invention will be described below with reference to the drawings.
【0019】図1は本発明一実施例の変復調装置の構成
を示すブロックである。FIG. 1 is a block diagram showing the configuration of a modulation / demodulation device according to an embodiment of the present invention.
【0020】入力データをサンプリングクロックに基づ
いてサンプリングする標本化器1と、この標本化器1に
よりサンプリングされた標本値に基づいて符号化する符
号化部2と、この符号化部で符号化された信号を搬送パ
ルスとして送信する送信部3と、受信した信号を等化し
タイミング抽出および再生を行いサンプリングクロック
および識別信号を出力する受信部4と、この受信部4で
再生した信号を復号する復号化部6とを備えた変復調装
置において、本実施例として、受信部4の出力するサン
プリングクロックを分周して搬送波周波数の基本クロッ
クを生成する分周器5を備え、前記符号化部2は、分周
器5の出力する基本クロックを入力して、前記標本化器
の標本値が前記基本クロックの1周期内で変化したかを
判定し、変化しないならば1周期間の値、1か0を状態
符号として出力し、変化したならばその値が1から0へ
変化したか、0から1へ変化したかを示す状態変化符号
と、その変化が基本クロックの前半であるか後半である
かを示す状態変化位置符号とを出力する手段を備え、復
号化部6は、分周器5の出力する基本クロックを入力し
て、受信部4で再生した受信信号について、n(nは時
系列を示す)の時点での状態符号と状態変化符号とは等
しく、次の時系列のn+1の時点の状態変化符号とnの
時点の状態符号とは等しくない規則に基づいて自己同期
を確立し、前記状態符号、前記状態変化符号、前記状態
変化位置符号を判定して受信データの復号化を行う手段
を備えている。A sampling device 1 for sampling input data based on a sampling clock, a coding unit 2 for coding based on sample values sampled by the sampling device 1, and a coding unit for coding by this coding unit. A transmitting unit 3 for transmitting the received signal as a carrier pulse, a receiving unit 4 for equalizing the received signal, performing timing extraction and reproduction, and outputting a sampling clock and an identification signal, and a decoding unit for decoding the signal reproduced by the receiving unit 4. In the modulation / demodulation apparatus including the encoding unit 6, a frequency divider 5 that divides the sampling clock output from the receiving unit 4 to generate a basic clock of the carrier frequency is provided as the present embodiment, and the encoding unit 2 includes , The basic clock output from the frequency divider 5 is input, it is determined whether the sampled value of the sampler has changed within one cycle of the basic clock, and it is not changed. If so, the value for one cycle, 1 or 0, is output as the state code, and if it changes, the state change code indicating whether the value has changed from 1 to 0 or 0 to 1, and the change is The decoding unit 6 is provided with means for outputting a state change position code indicating whether it is the first half or the second half of the basic clock, and the decoding unit 6 inputs the basic clock output from the frequency divider 5 and reproduces it in the receiving unit 4. For the received signal, the state code and the state change code at the time point n (n indicates a time series) are equal, and the state change code at the time point n + 1 and the state code at the time point n in the next time series are equal. Means is provided for establishing self-synchronization based on a rule that does not exist, determining the status code, the status change code, and the status change position code and decoding the received data.
【0021】図2は、符号化部2の構成を示し、図3は
復号化部6の構成を示すブロック図である。FIG. 2 is a block diagram showing the configuration of the encoding unit 2, and FIG. 3 is a block diagram showing the configuration of the decoding unit 6.
【0022】符号化部2は、シフトレジスタ回路11お
よび符号化回路12を備え、このシフトレジスタ回路1
1に標本化器1でサンプリングクロックによって標本化
された入力データの標本値を入力し、その標本値が基本
クロックのどの時点でどの状態に変化したかを判定して
符号化を行っている。また、復号化部6も同様にシフト
レジスタ回路13および復号化回路14を備えており、
受信データの変化点を検出して自己同期を確立するとと
もに、その変化点の検出に基づいて復号化処理を行って
いる。The encoding unit 2 comprises a shift register circuit 11 and an encoding circuit 12, and the shift register circuit 1
The sampling value of the input data sampled by the sampling clock in the sampling unit 1 is input to the input terminal 1, and the coding is performed by determining at which point in the basic clock the sampling value has changed to which state. Similarly, the decoding unit 6 also includes a shift register circuit 13 and a decoding circuit 14,
The change point of the received data is detected to establish self-synchronization, and the decoding process is performed based on the detection of the change point.
【0023】図4の入力データの符号化および復号化を
説明するタイミングチャートを用いて本発明実施例の符
号化ならびに復号化の動作を説明する。The encoding and decoding operations of the embodiment of the present invention will be described with reference to the timing chart for explaining the encoding and decoding of the input data in FIG.
【0024】まず、本実施例の符号化においては、入力
データを搬送波周波数21の2倍のサンプリングクロッ
ク22で標本化する。First, in the encoding of this embodiment, the input data is sampled by the sampling clock 22 which is twice the carrier frequency 21.
【0025】その標本値が搬送波周波数(分周器5の出
力する基本クロック21)の1周期間で変化しないなら
ば、符号化データ24として入力データ23の値をその
まま状態符号cn-1 として分周器5より出力された基本
クロック21にしたがって出力する。If the sampled value does not change during one cycle of the carrier frequency (the basic clock 21 output from the frequency divider 5), the value of the input data 23 as the encoded data 24 is used as it is as the state code c n-1. It outputs according to the basic clock 21 output from the frequency divider 5.
【0026】その標本値が基本クロック21の1周期間
で変化した場合には、“0から1への変化”か“1から
0への変化”かを判定し、0→1ならば、“1”を、1
→0ならば“0”を状態変化符号an として分周器5よ
り出力された基本クロック21にしたがって符号化デー
タ24として出力する。さらに、その変化が基本周期の
前半か後半で生じたかを判定し、前半で生じたなら
“0”を、後半で生じたなら“1”を状態変化位置符号
bn として、状態変化符号an に続けて基本クロック2
1に従って出力する。When the sampled value changes during one cycle of the basic clock 21, it is judged whether it is "change from 0 to 1" or "change from 1 to 0". 1 "to 1
If it is → 0, "0" is output as encoded data 24 according to the basic clock 21 output from the frequency divider 5 as the state change code a n . Further, it is determined whether the change has occurred in the second half of the first half of the fundamental period, was if "0" occurs in the first half, was if "1" occurs in the second half as a state change position code b n, the state change code a n Followed by basic clock 2
Output according to 1.
【0027】この図4の入力データ23のn時点での
“0”から“1”への変化は基本クロックの前半で生じ
ているため、n時点の状態符号an は“1”となり、続
く状態変化位置符号bn は“0”となり、状態符号cn
は“1”となる。また、この入力データ23が“1”か
ら“0”へ変化した時点n+1は基本クロックの後半で
生じているので、状態変化符号an+1 は“0”、状態変
化位置符号bn+1 は“1”、状態符号cn+1 は“0”と
なる。Since the change from "0" to "1" of the input data 23 of FIG. 4 at the time n occurs in the first half of the basic clock, the status code a n at the time n becomes "1" and continues. The state change position code b n becomes “0”, and the state code c n
Becomes "1". Further, since the time point n + 1 when the input data 23 changes from "1" to "0" occurs in the latter half of the basic clock, the state change code a n + 1 is "0" and the state change position code b n + 1. Is "1" and the state code cn + 1 is "0".
【0028】この符号化データには次の規則が成立す
る。The following rules are established for this encoded data.
【0029】 規則1 an =cn 規則2 cn ≠an+1 復号化においては、この規則を用いて自己同期を確立
し、状態変化符号a、状態変化位置符号b、状態符号c
の各符号を判定する。Rule 1 a n = c n Rule 2 c n ≠ a n + 1 In decoding, self-synchronization is established using this rule, and the state change code a, the state change position code b, and the state code c
Each sign of is determined.
【0030】復号化手順は、変化点検出処理と、検出後
判定処理、復号化処理の各処理の繰り返しである。The decoding procedure is a repetition of the change point detection process, the post-detection determination process, and the decoding process.
【0031】まず、変化点検出処理で、符号化データの
変化点を検出すると、検出後判定処理に移行する。検出
後判定処理では、変化点以降の3ビットを見て、規則1
が成立しているかの確認を行う。First, when the change point of the encoded data is detected in the change point detection processing, the process proceeds to the post-detection determination processing. In the post-detection determination process, the rule 1
Check whether is satisfied.
【0032】ここで、規則1が成立している場合には、
復号化処理に移行し、状態変化符号a、状態変化位置符
号b、状態符号cの各値により復号を行って出力データ
を作成し、状態符号c以降から次の変化点検出処理に移
行する。一方、規則1が成立しない場合には、出力デー
タは現状出力を保持し、次の変化点の直後から変化点検
出処理に移行する。Here, when the rule 1 is established,
The process shifts to the decoding process, the output data is created by decoding with the respective values of the state change code a, the state change position code b, and the state code c, and the process proceeds to the next change point detection process from the state code c and thereafter. On the other hand, when the rule 1 is not established, the output data holds the current output, and shifts to the change point detection processing immediately after the next change point.
【0033】この本実施例の出力データ25と従来方式
の出力データ26とを比較して示す。本実施例の符号化
により従来方式に比べて搬送波パルス幅の1/2にジッ
タを抑圧できることが分かる。The output data 25 of this embodiment and the output data 26 of the conventional method are shown in comparison. It can be seen that the encoding of the present embodiment can suppress the jitter to 1/2 of the carrier pulse width as compared with the conventional method.
【0034】次に図5に、入力データとしてノイズが混
入した場合の復号化を説明する。この場合、基本周期内
で“0”から“1”になり、すぐに“1”から“0”に
戻るノイズが発生し、符号化データとして、状態変化符
号an は“1”、状態変化位置符号は“1”、状態符号
cn は“0”となる符号が発生しても、an ≠cn+1な
ので復号出力データ33は、状態を変化させない。した
がって、ノイズの影響は除去される。Next, the decoding when noise is mixed in as input data will be described with reference to FIG. In this case, noise that changes from “0” to “1” within the basic cycle and immediately returns from “1” to “0” occurs, and the state change code a n is “1”, state change as encoded data. position code is "1", even if the state code c n generates a code to be "0", a n ≠ c n + 1 since the decoded output data 33 does not change state. Therefore, the influence of noise is eliminated.
【0035】次に図6にデータ伝送中にエラーが発生
し、同期外れが生じた場合のタイミングを示してその同
期復帰動作を説明する。Next, FIG. 6 shows the timing in the case where an error occurs during data transmission and a loss of synchronization occurs, and the synchronization recovery operation will be described.
【0036】伝送されるべき入力データ34が図6に示
す状態であったとして、復号化部6に入力された符号化
データ35の状態符号an がエラーで欠落した場合、変
化点検出は状態変化位置符号bn で変化点を検出する
が、変化点以降の3ビットについてみると上述の規則1
は成立しないので、現状出力を保持する。次のn+1の
時点での変化点検出により検出後判定処理を行うと規則
1が成立しており、復号化処理が行われる。また同様に
n+2の時点でも規則1が成立しており、復号化処理が
行われる。このため、データ伝送中にエラーが生じ、同
期外れが生じた場合でも復号処理を行うだけで同期復帰
が可能である。Assuming that the input data 34 to be transmitted is in the state shown in FIG. 6, if the state code a n of the encoded data 35 input to the decoding unit 6 is missing due to an error, the change point detection is in the state. The change point is detected by the change position code b n , but regarding the 3 bits after the change point, the above-mentioned rule 1 is used.
Holds, the current output is retained. When the determination processing after detection is performed by the change point detection at the next time of n + 1, Rule 1 is established and the decoding processing is performed. Similarly, at the time of n + 2, the rule 1 is established and the decoding process is performed. Therefore, even if an error occurs during data transmission and the synchronization is lost, the synchronization can be restored only by performing the decoding process.
【0037】[0037]
【発明の効果】以上説明したように、本発明において
は、非同期変調方式の多点サンプリングによる符号化に
おいてジッタを抑圧できる。また、伝送効率が向上す
る。さらに復号化器における自己同期確立および同期復
帰が容易にできる。As described above, according to the present invention, jitter can be suppressed in the encoding by the multipoint sampling of the asynchronous modulation system. Also, the transmission efficiency is improved. Further, the self-synchronization establishment and the synchronization recovery in the decoder can be facilitated.
【図1】本発明が適用される変復調装置の構成を示すブ
ロック図。FIG. 1 is a block diagram showing a configuration of a modulation / demodulation device to which the present invention is applied.
【図2】本発明実施例の変調部の構成を示すブロック
図。FIG. 2 is a block diagram showing the configuration of a modulator according to the embodiment of the present invention.
【図3】実施例実施例の復調部の構成を示すブロック
図。FIG. 3 is a block diagram showing a configuration of a demodulation unit according to an embodiment.
【図4】本発明実施例の符号化復号化を説明するタイミ
ングチャート。FIG. 4 is a timing chart for explaining encoding / decoding according to the embodiment of the present invention.
【図5】本発明実施例での異常動作時の符号化復号化を
説明するタイミングチャート。FIG. 5 is a timing chart for explaining coding / decoding during abnormal operation in the embodiment of the present invention.
【図6】本発明実施例での異常動作時の符号化復号化を
説明するタイミングチャート。FIG. 6 is a timing chart for explaining encoding / decoding during abnormal operation in the embodiment of the present invention.
1 標本化器 2 符号化部 3 送信部 4 受信部 5 分周器 6 復号化部 11、13 シフトレジスタ回路 12 符号化回路 14 復号化回路 DESCRIPTION OF SYMBOLS 1 sampler 2 encoding part 3 transmitting part 4 receiving part 5 frequency divider 6 decoding part 11, 13 shift register circuit 12 encoding circuit 14 decoding circuit
Claims (6)
と非同期である場合の入力データの符号化方法におい
て、 入力データをサンプリングクロックによりサンプリング
した標本値が前記搬送波周波数の1周期内で変化しない
場合は1時系列前の入力データが1か0かの状態を示す
状態符号(cn-1 )を出力し、 前記入力データの標本値が前記搬送波周波数の1周期内
で変化した場合は入力データが0から1へ変化したか1
から0へ変化したかを示す状態変化符号(an)を出力
し、続いてその変化時点が前記搬送波周波数の1周期の
前半であるか後半であるかを示す状態変化位置符号(b
n )を出力することを特徴とする符号化方法。1. A coding method of input data in the case where a carrier frequency is asynchronous with a modulation frequency of input data, when a sample value obtained by sampling the input data with a sampling clock does not change within one cycle of the carrier frequency. A state code (cn -1 ) indicating whether the input data one time series before is 1 or 0 is output, and when the sample value of the input data changes within one cycle of the carrier frequency, the input data is Change from 0 to 1 1
A state change code (a n ) indicating whether the carrier frequency has changed from 0 to 0, and then a state change position code (b) indicating whether the change time point is the first half or the second half of one cycle of the carrier frequency.
A coding method characterized by outputting n ).
を復号化する復号方法において、 受信データ符号のn(nは時系列を示す)の時点での状
態符号(cn )と状態変化符号(an )とは同じであ
り、nの時点の状態符号(cn )とn+1の時点の状態
変化符号(an+1 )とは異なる規則に基づいて自己同期
を確立し、 当該時系列での状態符号および状態変化符号ならびに状
態変化位置符号に基づいて符号判定を行って受信データ
を復号する復号化方法。2. A decoding method for decoding received data encoded according to claim 1, wherein a state code (c n ) and a state change code at a point of n (n is a time series) of the received data code. (A n ), the state code (c n ) at the time point of n and the state change code (a n + 1 ) at the time point of n + 1 establish self-synchronization based on a different rule. A decoding method for decoding received data by performing code determination based on the state code, the state change code, and the state change position code in.
と、その変化点以降の3ビットについて、状態変化符号
と状態符号とが等しいかを判定する検出後判定処理を行
い、 状態変化符号と状態符号とが等しい場合には、状態変化
符号と状態変化位置符号と状態符号とに基づいて符号判
定して受信データを復号し、状態変化符号と状態符号と
が等しくない場合には現状出力を保持する請求項2記載
の復号化方法。3. When a change point is detected in the received data, post-detection determination processing for determining whether or not the state change code and the state code are the same for the three bits after the change point is performed. If and are equal, the code is determined based on the state change code, the state change position code, and the state code to decode the received data, and if the state change code and the state code are not equal, the current output is held. The decoding method according to claim 2.
づいてサンプリングする標本化器と、 この標本化器によりサンプリングされた標本値に基づい
て符号化する符号化部と、 この符号化部で符号化された信号を搬送パルスとして送
信する送信部と、 伝送路から受信した信号を等化しタイミング抽出および
再生を行いサンプリングクロックおよび識別信号を出力
する受信部と、 この受信部で再生した信号を復号する復号化部とを備え
た変復調装置において、 前記受信部の出力するサンプリングクロックを分周して
搬送波周波数の基本クロックを生成する分周器を備え、 前記符号化部は、 前記分周器の出力する基本クロックを入力して、前記標
本化器の標本値が前記基本クロックの1周期内で変化し
たかを判定し、変化しないならば1周期間の値を状態符
号として出力し、変化したならばその値が一の論理値か
ら他方の論理値へ変化したか他方の論理値から一の論理
値へ変化したかを示す状態変化符号と、その変化が基本
クロックの前半であるか後半であるかを示す状態変化位
置符号とを出力する手段を備え、 前記復号化部は、 前記分周器の出力する基本クロックを入力して、前記受
信部で再生した受信信号について、n(nは時系列を示
す)の時点での状態符号と状態変化符号とは等しく、次
のn+1の時点の状態変化符号とnの時点の状態符号と
は等しくない規則に基づいて自己同期を確立し、前記状
態符号、前記状態変化符号、前記状態変化位置符号を判
定して受信データの復号化を行う手段を備えた変復調装
置。4. A sampling device for sampling input data based on a sampling clock, a coding unit for coding based on sample values sampled by the sampling device, and a coding unit for coding by this coding unit. A transmission unit that transmits the signal as a carrier pulse, a reception unit that equalizes the signal received from the transmission path, outputs a sampling clock and an identification signal by performing timing extraction and reproduction, and a decoding unit that decodes the signal reproduced by this reception unit. A modulation / demodulation device including a frequency division unit, a frequency divider that generates a basic clock of a carrier frequency by dividing a sampling clock output from the reception unit, and the encoding unit includes a basic frequency output from the frequency divider. Input a clock to determine whether the sampled value of the sampler has changed within one cycle of the basic clock, and if it does not change, one cycle The value of is output as a state code, and if it changes, the state change code indicating whether the value has changed from one logical value to the other logical value or from the other logical value to one logical value, and A unit for outputting a state change position code indicating whether the change is the first half or the second half of the basic clock, the decoding unit inputs the basic clock output from the frequency divider, and the receiving unit. With respect to the received signal reproduced in step 1, the state code at the time point n (n indicates a time series) and the state change code are equal, and the state change code at the next point n + 1 and the state code at the time point n are not equal. A modulator / demodulator provided with means for establishing self-synchronization based on a rule, determining the status code, the status change code, and the status change position code to decode received data.
変化符号とが等しいことを検出する手段と、 状態符号と状態変化符号とが等しい場合に、状態変化符
号および状態変化位置符号ならびに状態符号に基づいて
当該時点での受信データの論理値を判定して復号する手
段とを備える請求項4記載の変復調装置。5. The decoding unit includes means for detecting that the logic of the received data has changed, and means for detecting that the status code and the status change code are equal in 3 bits after the change point. The modulation / demodulation according to claim 4, further comprising means for determining and decoding the logical value of the received data at the time based on the state change code, the state change position code, and the state code when the code and the state change code are equal. apparatus.
トレジスタを備え、入力データの標本値および受信信号
を前記シフトレジスタに入力してシフトする手段を備え
た請求項4または5記載の変復調装置。6. The encoding unit and the decoding unit include a shift register therein, and a unit for inputting a sample value of input data and a received signal to the shift register to shift the sample value and the received signal. Modulator / demodulator.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5159141A JP2600575B2 (en) | 1993-06-29 | 1993-06-29 | Modem |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5159141A JP2600575B2 (en) | 1993-06-29 | 1993-06-29 | Modem |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0723064A true JPH0723064A (en) | 1995-01-24 |
| JP2600575B2 JP2600575B2 (en) | 1997-04-16 |
Family
ID=15687152
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5159141A Expired - Fee Related JP2600575B2 (en) | 1993-06-29 | 1993-06-29 | Modem |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2600575B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5347648A (en) * | 1976-10-07 | 1978-04-28 | Eicher Josef | Cart that can be received in luggage room of automobile |
| JPS61116446A (en) * | 1984-06-30 | 1986-06-03 | Nec Corp | Changing point encoding circuit for employing memory |
-
1993
- 1993-06-29 JP JP5159141A patent/JP2600575B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5347648A (en) * | 1976-10-07 | 1978-04-28 | Eicher Josef | Cart that can be received in luggage room of automobile |
| JPS61116446A (en) * | 1984-06-30 | 1986-06-03 | Nec Corp | Changing point encoding circuit for employing memory |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2600575B2 (en) | 1997-04-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6933866B1 (en) | Variable data rate receiver | |
| US6772021B1 (en) | Digital audio data receiver without synchronized clock generator | |
| US4740998A (en) | Clock recovery circuit and method | |
| CN108156557B (en) | Clock and data recovery circuit and recovery method of digital audio interface | |
| JPS60145745A (en) | System and circuit for extracting biphase code clock | |
| JP2600575B2 (en) | Modem | |
| US4928289A (en) | Apparatus and method for binary data transmission | |
| JPH11252187A (en) | Relative self-synchronous frequency divider with decoding and non-integer ratio of binary modulated bit stream | |
| US5046073A (en) | Signal processing apparatus for recovering a clock signal and a data signal from an encoded information signal | |
| CN112073151A (en) | Telemetry PCM decoding and frame synchronization method based on FPGA | |
| KR100285538B1 (en) | Frequency Adjustable Manchester Coding System | |
| US4809301A (en) | Detection apparatus for bi-phase signals | |
| JP3478290B2 (en) | DUTY correction circuit | |
| JP4320414B2 (en) | Code determination apparatus, method thereof, and program | |
| JP4195759B2 (en) | Intercom transmission system | |
| JP3561595B2 (en) | RDS receiver | |
| JP3746232B2 (en) | CMI code encoding and decoding method, CMI encoding circuit, and CMI decoding circuit | |
| JP2751271B2 (en) | Digital transceiver | |
| RU2232474C2 (en) | Method and device for synchronizing communication system signals and eliminating their phase ambiguity | |
| JP2621717B2 (en) | Receive burst synchronization circuit | |
| KR100257372B1 (en) | Signal Restoration Circuit Using Differential Code | |
| JP3458782B2 (en) | DUTY correction circuit | |
| JPH0265318A (en) | Signal transmitter-receiver | |
| US5870437A (en) | Apparatus and method for detecting end of serial bit stream | |
| JPH02155332A (en) | Phase information transmission system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 11 Free format text: PAYMENT UNTIL: 20080129 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090129 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 13 Free format text: PAYMENT UNTIL: 20100129 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 14 Free format text: PAYMENT UNTIL: 20110129 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110129 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 15 Free format text: PAYMENT UNTIL: 20120129 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130129 Year of fee payment: 16 |
|
| LAPS | Cancellation because of no payment of annual fees |