JP2007049477A - Decoder - Google Patents

Decoder Download PDF

Info

Publication number
JP2007049477A
JP2007049477A JP2005232249A JP2005232249A JP2007049477A JP 2007049477 A JP2007049477 A JP 2007049477A JP 2005232249 A JP2005232249 A JP 2005232249A JP 2005232249 A JP2005232249 A JP 2005232249A JP 2007049477 A JP2007049477 A JP 2007049477A
Authority
JP
Japan
Prior art keywords
edge
counter
clock
pulse
circuit
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
JP2005232249A
Other languages
Japanese (ja)
Inventor
Ikuya Honda
本田  育哉
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2005232249A priority Critical patent/JP2007049477A/en
Publication of JP2007049477A publication Critical patent/JP2007049477A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a decoder capable of detecting an error even when an odd number of edge detecting pulses are generated. <P>SOLUTION: The decoder has an edge detector 9 detecting each varying point of the rise and fall of an input encoding signal, and a clock generator 3 generating clock pulses. The decoder further has a counter 5 counting the clock pulses of the clock generator 3, imparting a count output frequency-divided up to the transmission rate of the encoding signal to the encoding signal as sampling pulses, and inputting edge detecting pulses output from the edge detector 2 as clear pulses. The decoder further has a gate circuit 4 opening a gate to the edge detecting pulses applied to the counter 5 from the edge detector 2 at constant timings, in accordance with the encoding rule of the encoding signal on the basis of a count output from the counter 5. Such a decoder has an edge counter circuit 8 inputting the edge detecting pulses and the sampling pulses as an output from the counter 5, and detecting the contravention of the encoding rule. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、自己同期式の符号化信号をNRZ符号化信号に変換するデコード装置に関する。   The present invention relates to a decoding apparatus that converts a self-synchronized encoded signal into an NRZ encoded signal.

一般に、情報を含む信号を符号化してデータ伝送する場合の符号化方式として、NRZ(Non Return Zero)方式が通常使用される。このNRZ方式は、符号“0”を電圧のローレベルに、符号“1”をハイレベルに対応させて伝送するもので、符号化規則が比較的単純である。しかし、クロック情報を含まないので、データ伝送に際しては送信側と受信側との間でビット同期をとる必要がある。このため、同期回線を別途設けねばならず、コスト高になる。これに対して、符号化信号にクロック情報を含ませてデータ伝送を行なういわゆる自己同期式の符号化方式が提案されている。その自己同期式の符号化方式の1つとして提案され、自己同期式の符号化信号をNRZ符号化信号に変換するデコード装置は図3のようになっている(例えば、許文献1を参照)。
図3は従来のデコード装置の回路構成を示したブロック図である。
図3において、1はローパスフィルタ、2はエッジ検出回路、3はクロック発生器、4はゲート回路、5はカウンタ、6は遅延回路、7はフリップフロップである。
デコード回路は、入力された符号化信号の立ち下がりと立ち上がりの各変化点を検出するエッジ検出回路2と、クロックパルスを発生するクロック発生器3と、このクロック発生器3のクロックパルスをカウントして符号化信号の伝送速度まで分周されたカウント出力を該符号化信号に対するサンプリングパルスとして与えるとともに、エッジ検出回路2から出力されるエッジ検出パルスをクリアパルスとして入力するカウンタ5と、このカウンタ5のカウント出力に基づいて該符号化信号の符号化規則に従う一定のタイミングでエッジ検出回路2からカウンタ5に加わるエッジ検出パルスに対してゲートを開くゲート回路4とを備えている。
図4は図3のデコード装置の動作を示すタイミングチャートである。
図4における符号a〜fは、図3の回路中の符号a〜fの各点に相当する波形を示したものである。
このような構成において、デコード装置はエッジ検出パルスを符号化規則に従ったタイミングの期間(エッジが有る期間)にだけゲート信号dを開き、その信号をクリアパルスとして使用するカウンタのカウント出力によって、符号化信号のサンプリングとエラー検出を行うものである。また、ゲート信号が閉じているときのエッジを無視することで、その期間でのノイズ等での信号変化の影響を排除している。
特許第2627890号(明細書第4頁、第1図)
In general, an NRZ (Non Return Zero) system is usually used as an encoding system when a signal including information is encoded and transmitted. In this NRZ system, the code “0” is transmitted in correspondence with the low level of the voltage and the code “1” is associated with the high level, and the encoding rule is relatively simple. However, since the clock information is not included, it is necessary to synchronize the bit between the transmitting side and the receiving side when transmitting data. For this reason, a separate synchronization line must be provided, which increases costs. On the other hand, a so-called self-synchronous encoding method for transmitting data by including clock information in an encoded signal has been proposed. A decoding apparatus which is proposed as one of the self-synchronous encoding methods and converts a self-synchronized encoded signal into an NRZ encoded signal is as shown in FIG. 3 (see, for example, Permissible Document 1). .
FIG. 3 is a block diagram showing a circuit configuration of a conventional decoding device.
In FIG. 3, 1 is a low-pass filter, 2 is an edge detection circuit, 3 is a clock generator, 4 is a gate circuit, 5 is a counter, 6 is a delay circuit, and 7 is a flip-flop.
The decode circuit counts the edge detection circuit 2 that detects each change point of the falling and rising of the input encoded signal, the clock generator 3 that generates a clock pulse, and the clock pulse of the clock generator 3. The counter 5 that outputs the count output divided to the transmission speed of the encoded signal as a sampling pulse for the encoded signal and inputs the edge detection pulse output from the edge detection circuit 2 as a clear pulse, and the counter 5 And a gate circuit 4 that opens a gate with respect to an edge detection pulse applied from the edge detection circuit 2 to the counter 5 at a constant timing in accordance with the encoding rule of the encoded signal based on the count output of.
FIG. 4 is a timing chart showing the operation of the decoding apparatus of FIG.
Symbols a to f in FIG. 4 indicate waveforms corresponding to the respective points of symbols a to f in the circuit of FIG.
In such a configuration, the decoding device opens the gate signal d only in a timing period (period in which there is an edge) of the edge detection pulse according to the encoding rule, and count output of a counter that uses the signal as a clear pulse, It performs sampling of an encoded signal and error detection. Further, by ignoring the edge when the gate signal is closed, the influence of the signal change due to noise or the like during that period is eliminated.
Japanese Patent No. 2627890 (Specification, page 4, FIG. 1)

従来のデコード装置は、エラー検出としてはゲートを開く期間内にエッジが検出されなかったことを、カウンタの最下位ビットが“0”の値であることもって判断しているだけなので、奇数回のエッジ検出パルスが発生するとエラーを検出できないという問題があった。
本発明はこのような問題点に鑑みてなされたものであり、奇数回のエッジ検出パルスが発生した場合でもエラー検出することができるデコード装置を提供することを目的とする。
The conventional decoding apparatus only determines that the edge is not detected within the period when the gate is opened as the error detection because the least significant bit of the counter is a value of “0”. There is a problem that an error cannot be detected when an edge detection pulse is generated.
The present invention has been made in view of such problems, and an object of the present invention is to provide a decoding device capable of detecting an error even when an odd number of edge detection pulses are generated.

上記問題を解決するため、本発明は次のような構成したものである。
請求項1の発明は、入力された符号化信号の立ち上がりと降下の各変化点を検出するエッジ検出回路と、クロックパルスを発生するクロック発生器と、このクロック発生器のクロックパルスをカウントして符号化信号の伝送速度まで分周されたカウント出力を前記符号化信号に対するサンプリングパルスとして与えるとともに、前記エッジ検出回路から出力されるエッジ検出パルスをクリアパルスとして入力するカウンタと、このカウンタのカウント出力に基づいて前記符号化信号の符号化規則に従う一定のタイミングで前記エッジ検出回路からカウンタに加わるエッジ検出パルスに対してゲートを開くゲート回路と、を備え、マンチェスタ符号等の自己同期式の符号化信号をNRZ符号化信号に変換するデコード装置において、前記クロック発生器のクロックパルスをクロックとして使用すると共に、前記エッジ検出パルスと前記カウンタの出力となるサンプリングパルスを入力することでエラー検出信号を生成し、符号規則違反を検出するエッジカウント回路を備えたことを特徴としている。
また、請求項2の発明は、請求項1記載のデコード装置において、前記エッジカウント回路は、前記サンプリングパルスの1周期の間に規定のエッジ数以外のエッジを検出した場合に、符号規則違反としてエラー検出信号をセットすることを特徴としている。
In order to solve the above problems, the present invention is configured as follows.
According to the first aspect of the present invention, an edge detection circuit for detecting each change point of the rising and falling of the input encoded signal, a clock generator for generating a clock pulse, and counting the clock pulses of the clock generator A counter that outputs the count output divided to the transmission speed of the encoded signal as a sampling pulse for the encoded signal, and inputs the edge detection pulse output from the edge detection circuit as a clear pulse, and the count output of this counter And a gate circuit that opens a gate with respect to an edge detection pulse applied to the counter from the edge detection circuit at a constant timing according to the encoding rule of the encoded signal based on the self-synchronous encoding such as Manchester code In the decoding device for converting a signal into an NRZ encoded signal, the clock The clock pulse of the generator is used as a clock, and an edge count circuit for detecting a code rule violation by generating an error detection signal by inputting the edge detection pulse and a sampling pulse as an output of the counter is provided. It is characterized by.
According to a second aspect of the present invention, in the decoding device according to the first aspect, when the edge count circuit detects an edge other than a prescribed number of edges during one cycle of the sampling pulse, the code rule is violated. It is characterized by setting an error detection signal.

請求項1に記載の発明によると、入力された符号化信号の立ち上がりと降下の各変化点を検出するエッジ検出回路と、クロックパルスを発生するクロック発生器と、このクロック発生器のクロックパルスをカウントして符号化信号の伝送速度まで分周されたカウント出力を該符号化信号に対するサンプリングパルスとして与えるとともに、該エッジ検出回路から出力されるエッジ検出パルスをクリアパルスとして入力するカウンタと、このカウンタのカウント出力に基づいて該符号化信号の符号化規則に従う一定のタイミングで該エッジ検出回路からカウンタに加わるエッジ検出パルスに対してゲートを開くゲート回路と、を備えたデコード装置において、該クロック発生器のクロックパルスをクロックとして使用すると共に、該エッジ検出パルスと該カウンタの出力となるサンプリングパルスを入力することでエラー検出信号を生成し、符号規則違反を検出するエッジカウント回路を設けたので、奇数回のエッジ検出パルスであっても符号違反を検出することができる。
また、請求項2の発明によると、該エッジカウント回路は、該サンプリングパルスの1周期の間に規定のエッジ数以外のエッジを検出した場合に符号規則違反としてエラー検出信号をセットするようにしたので、本来符号違反とするべき信号を検出することでデコード結果の品質を上げることができる。
According to the first aspect of the present invention, an edge detection circuit for detecting each change point of the rising and falling of the input encoded signal, a clock generator for generating a clock pulse, and a clock pulse of the clock generator A counter that counts and divides the encoded signal to the transmission speed is provided as a sampling pulse for the encoded signal, and an edge detection pulse output from the edge detection circuit is input as a clear pulse, and the counter And a gate circuit that opens a gate with respect to an edge detection pulse applied from the edge detection circuit to the counter at a constant timing according to a coding rule of the coded signal based on a count output of the clock signal. Edge detection using the clock pulse of the instrument as the clock An error detection signal is generated by inputting a sampling pulse that is an output of the counter and the counter, and an edge count circuit is provided to detect a code rule violation. Therefore, even if an odd number of edge detection pulses are detected, a code violation is detected. can do.
According to a second aspect of the invention, the edge count circuit sets an error detection signal as a code rule violation when an edge other than the prescribed number of edges is detected during one period of the sampling pulse. Therefore, the quality of the decoding result can be improved by detecting the signal that should be regarded as a code violation.

以下、本発明の実施例を図に基づいて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明の実施例を示すデコード装置の回路構成を示したブロック図である。なお、本発明の構成要素が従来技術と同じものついてはその説明を省略し、異なる点について説明する。
図1において、8はエッジカウント回路、9は受信クロックである。
本発明の構成要素が従来技術と異なる点は以下のとおりである。
すなわち、従来、エラー検出信号をカウンタ5で生成した構成に替えて、該カウンタ5とは別体に、クロック発生器3のクロックパルスをクロックとして使用すると共に、エッジ検出パルスとカウンタ5の出力となるサンプリングパルスを入力することでエラー検出信号を生成し、符号規則違反を検出する、エッジカウント回路8を設けた点である。
また、エッジカウント回路8は、サンプリングパルスの1周期の間に規定のエッジ数以外のエッジを検出した場合に符号規則違反としてエラー検出信号をセットするようになっている。
FIG. 1 is a block diagram showing a circuit configuration of a decoding apparatus showing an embodiment of the present invention. Note that the description of the same constituent elements of the present invention as those of the prior art will be omitted, and different points will be described.
In FIG. 1, 8 is an edge count circuit, and 9 is a reception clock.
The components of the present invention are different from the prior art as follows.
That is, instead of the conventional configuration in which the error detection signal is generated by the counter 5, the clock pulse of the clock generator 3 is used as a clock separately from the counter 5, and the edge detection pulse and the output of the counter 5 are An edge count circuit 8 is provided for generating an error detection signal by inputting a sampling pulse to detect a code rule violation.
The edge count circuit 8 sets an error detection signal as a code rule violation when an edge other than the prescribed number of edges is detected during one cycle of the sampling pulse.

次に、動作について説明する。
図1において、エッジカウント回路8ではエッジ検出回路2の出力をカウントする。このとき、カウンタ5の出力であり、データ出力のためのサンプリング信号である受信クロック9の立ちあがりエッジで、エッジカウント回路8のリセットを行う。従って、正常な符号入力であれば、エッジカウント値は[1]もしくは[2]である。カウント値が[0]のままであれば、前回の立ちあがりエッジからその時点までに変化点が無いということでエラー検出信号をセットする。
さらに、[3]以上であれば、ノイズによる誤ったエッジが入力されているということであり、この場合もエラー検出信号をセットする。
Next, the operation will be described.
In FIG. 1, an edge count circuit 8 counts the output of the edge detection circuit 2. At this time, the edge count circuit 8 is reset at the rising edge of the reception clock 9 which is an output of the counter 5 and is a sampling signal for data output. Accordingly, if the code is normal, the edge count value is [1] or [2]. If the count value remains [0], an error detection signal is set because there is no change point from the previous rising edge to that point.
Furthermore, if it is [3] or more, it means that an erroneous edge due to noise has been input. In this case as well, an error detection signal is set.

図2は図1のデコード装置の動作を示すタイミングチャートである。
図2において、データD1、データD2、データD3はデータ出力として正しくデコードされているが、データD4は、元の値が“0”であるにもかかわらず、網掛けで示したノイズのために“1”とデコードされている。ゲート回路通過後の波形cを用いた特許文献1でのエラー検出では、この場合、エラーと判断されない。
FIG. 2 is a timing chart showing the operation of the decoding apparatus of FIG.
In FIG. 2, data D1, data D2, and data D3 are correctly decoded as data outputs, but the data D4 is due to noise shown by shading even though the original value is “0”. Decoded as “1”. In the error detection in Patent Document 1 using the waveform c after passing through the gate circuit, it is not determined as an error in this case.

エッジカウント回路でエラーと判断するエッジの数を可変に設定することによってノイズの付加される程度によるエラー検出基準を変更することができるので、伝送路の品質に応じてノイズ許容度を可変にするという用途にも適用できる。   By setting the number of edges that are judged to be errors by the edge count circuit to be variable, the error detection standard according to the degree of noise addition can be changed, so that the noise tolerance can be made variable according to the quality of the transmission path. It can also be used for such purposes.

本発明の実施例を示すデコード装置の回路構成を示したブロック図The block diagram which showed the circuit structure of the decoding apparatus which shows the Example of this invention 図1のデコード装置の動作を示すタイミングチャートTiming chart showing the operation of the decoding device of FIG. 従来のデコード装置の回路構成を示したブロック図The block diagram which showed the circuit structure of the conventional decoding apparatus 図3のデコード装置の動作を示すタイミングチャートTiming chart showing the operation of the decoding device of FIG.

符号の説明Explanation of symbols

1 ローパスフィルタ
2 エッジ検出回路
3 クロック発生器
4 ゲート回路
5 カウンタ
6 遅延回路
7 フリップフロップ
8 エッジカウント回路
9 受信クロック
DESCRIPTION OF SYMBOLS 1 Low pass filter 2 Edge detection circuit 3 Clock generator 4 Gate circuit 5 Counter 6 Delay circuit 7 Flip-flop 8 Edge count circuit 9 Reception clock

Claims (2)

入力された符号化信号の立ち上がりと降下の各変化点を検出するエッジ検出回路と、
クロックパルスを発生するクロック発生器と、
このクロック発生器のクロックパルスをカウントして符号化信号の伝送速度まで分周されたカウント出力を前記符号化信号に対するサンプリングパルスとして与えるとともに、前記エッジ検出回路から出力されるエッジ検出パルスをクリアパルスとして入力するカウンタと、
このカウンタのカウント出力に基づいて前記符号化信号の符号化規則に従う一定のタイミングで前記エッジ検出回路からカウンタに加わるエッジ検出パルスに対してゲートを開くゲート回路と、
を備え、マンチェスタ符号等の自己同期式の符号化信号をNRZ符号化信号に変換するデコード装置において、
前記クロック発生器のクロックパルスをクロックとして使用すると共に、前記エッジ検出パルスと前記カウンタの出力となるサンプリングパルスを入力することでエラー検出信号を生成し、符号規則違反を検出するエッジカウント回路を備えたことを特徴とするデコード装置。
An edge detection circuit for detecting each change point of the rising and falling of the input encoded signal;
A clock generator for generating clock pulses; and
The clock pulse of this clock generator is counted and the count output divided to the transmission speed of the encoded signal is given as a sampling pulse for the encoded signal, and the edge detection pulse output from the edge detection circuit is cleared. And a counter to enter as
A gate circuit that opens a gate with respect to an edge detection pulse applied to the counter from the edge detection circuit at a constant timing according to the encoding rule of the encoded signal based on the count output of the counter;
And a decoding device that converts a self-synchronized encoded signal such as Manchester code into an NRZ encoded signal,
An edge count circuit that uses a clock pulse of the clock generator as a clock, generates an error detection signal by inputting the edge detection pulse and a sampling pulse that is an output of the counter, and detects a code rule violation. A decoding device characterized by that.
前記エッジカウント回路は、前記サンプリングパルスの1周期の間に規定のエッジ数以外のエッジを検出した場合に符号規則違反としてエラー検出信号をセットすることを特徴とする請求項1記載のデコード装置。   2. The decoding apparatus according to claim 1, wherein the edge count circuit sets an error detection signal as a code rule violation when an edge other than a prescribed number of edges is detected during one cycle of the sampling pulse.
JP2005232249A 2005-08-10 2005-08-10 Decoder Pending JP2007049477A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005232249A JP2007049477A (en) 2005-08-10 2005-08-10 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005232249A JP2007049477A (en) 2005-08-10 2005-08-10 Decoder

Publications (1)

Publication Number Publication Date
JP2007049477A true JP2007049477A (en) 2007-02-22

Family

ID=37851942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005232249A Pending JP2007049477A (en) 2005-08-10 2005-08-10 Decoder

Country Status (1)

Country Link
JP (1) JP2007049477A (en)

Similar Documents

Publication Publication Date Title
JP5896602B2 (en) Communication circuit and sampling adjustment method
US7133482B2 (en) Decoding method and Manchester decoder
US7844020B2 (en) Transmission system, transmitter, receiver, and transmission method
US8384568B2 (en) Decoder circuit for down-sampling a differential manchester encoding
JP2010109974A (en) Digital signal transmitting apparatus and digital signal transmitting method
US6772021B1 (en) Digital audio data receiver without synchronized clock generator
US4567604A (en) Biphase signal receiver
JP2007049477A (en) Decoder
JP4486871B2 (en) Signal decoding apparatus and signal decoding method
JP2005210695A (en) Data transmission method and data transmission circuit
US5510786A (en) CMI encoder circuit
US8023594B1 (en) Asynchronous biphase mark signal receivers and methods of operating same
JP2005142615A (en) Manchester code data receiver
JP2627890B2 (en) Decoding circuit
JP5383856B2 (en) Transmitter circuit
KR101122242B1 (en) decoder for Manchester Coded Signal
JP2004328174A (en) Code decision apparatus, method thereof, and program
CN104242950A (en) Synchronous decoder for low-speed BPSK signal
JPH04329721A (en) Data reception method
JPH01292927A (en) Data transmitting system
KR0149720B1 (en) Manchester decoder
RU2522978C1 (en) Method of converting phase-shift keyed code to binary code
JP2017103548A (en) Transmitting device, receiving device, communication system and communication method
RU2453991C1 (en) Phase-modulated signal decoder
JPH0831848B2 (en) CMI signal timing extraction circuit